/* Hallmark · shape: dossier (own) · genre: editorial · theme: brand · redesign: full · job: hire · hero: Split, the founder's portrait full height on the right half, name and one line on ink at left · nav: the home page's bar · footer: the home page's two link columns, no photograph band · imagery: the founder's own portrait · signature: the career line, five years on one gold line that draws in; hover, focus or click a stop to read it, Acoyda lit by default
 * axes: warm off-white/high-contrast serif/gold · posture: committed (ink hero, route and close; paper profile and experience) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, thirteen experience lines are the owner's; set them as two numbered columns rather than thirteen cards */
/* Hallmark · dropped the cutout portrait and its glow, the four hero chips, CIRA and the ALPFA line (owner asked), the footer photograph band (owner asked to end on the close), the 9 / 12 / 4 / 3 figure band, the eyebrow labels, the timeline scroll fill, the second bio paragraph (every fact is in At a glance) and the long career texts, cut to one line each · the owner removed the same figures from the home page and asked for a stronger profile; every fact survives in the hero, At a glance or the route */
/* Hallmark · reworded the hero name: the italic AJ became roman · 38i, never one italic word inside a roman heading */
/* Hallmark · dismissed 19 · "All rights reserved" sits in the owner's legal line, kept as found */
/* Hallmark · dismissed F4 · .stop__btn is a quiet text button; its only fill is the 14px gold dot on the career line, not a second primary */
/* Hallmark · copy: owner's words kept; 58 reports as a note on this redesign */
@import url("./home.css?v=51");

.ph, .route, .pclose { --color-focus: var(--color-focus-on-ink); }

/* ---------- hero: split, portrait on the right half ---------- */
.ph { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 900px); padding-block: calc(var(--nav-h) + var(--space-2xl)) var(--space-2xl); background: var(--color-ink); color: var(--color-on-ink); }
.ph__photo { position: absolute; top: var(--nav-h); right: 0; bottom: 0; width: 46%; margin: 0; z-index: -1; }
.ph__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ph__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, var(--color-ink) 0%, transparent 28%); }
.ph__inner { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.ph__copy { grid-column: 1 / span 6; }
.ph__role { font-size: var(--text-sm); color: var(--color-accent-soft); }
.ph h1 { margin-top: var(--space-md); font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.015em; }
.ph .lead { margin-top: var(--space-lg); max-width: 44ch; color: var(--color-on-ink-2); }
.ph .actions { margin-top: var(--space-xl); }

/* ---------- profile ---------- */
.pf { padding-block: var(--section-gap); }
.pf__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.pf__text { grid-column: 1 / span 5; }
abbr[title] { text-decoration: underline dotted; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; cursor: help; }
.pf__lede { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.3; color: var(--color-ink); }
.pf__body { margin-top: var(--space-xl); display: grid; gap: var(--space-md); max-width: 62ch; color: var(--color-text-2); }
.glance { grid-column: 7 / span 6; padding-top: var(--space-md); border-top: 2px solid var(--color-accent); }
.glance h3 { font-size: var(--text-xl); }
.glance dl { margin: var(--space-sm) 0 0; }
.glance dl > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.glance dt { font-size: var(--text-sm); color: var(--color-accent-deep); }
.glance dd { margin: 0; font-size: var(--text-sm); }
@media (min-width: 80.01rem) { .glance dd { white-space: nowrap; } }

/* ---------- the route: one line, five stops, one detail at a time ---------- */
.route { background: var(--color-ink-2); color: var(--color-on-ink); padding-block: var(--section-gap); }
.route h2 { max-width: 20ch; }
.route__line { position: relative; margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.route__line::before, .route__line::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--color-rule-ink); }
.route__line::after { background: var(--color-accent); transform-origin: left center; }
.route__line.is-ready::after { transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.route__line.is-ready.is-in::after { transform: scaleX(1); }
.stop { display: contents; }
.stop__btn { grid-row: 1; grid-column: calc(var(--i) + 1); position: relative; display: grid; gap: var(--space-2xs); justify-items: start; min-height: 44px; padding: var(--space-lg) 0 0; border: 0; background: transparent; color: var(--color-on-ink-3); text-align: left; cursor: pointer; }
.stop__btn::before { content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: var(--radius-pill); border: 2px solid var(--color-accent); background: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.stop__year { font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); line-height: 1; font-variant-numeric: lining-nums; transition: color var(--dur-short) var(--ease-out); }
.stop__org { font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out); }
.stop__btn:hover .stop__year { color: var(--color-on-ink-2); }
.stop__btn:active { transform: translateY(1px); }
.stop__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.stop.is-on .stop__btn::before { background: var(--color-accent); transform: scale(1.3); }
.stop.is-on .stop__year { color: var(--color-accent-soft); }
.stop.is-on .stop__org { color: var(--color-on-ink); }
.stop__detail { grid-column: 1 / -1; margin-top: var(--space-xl); max-width: 46ch; font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.3; color: var(--color-on-ink); }
.route__line.is-ready .stop__detail { grid-row: 2; }
.route__line.is-ready .stop:not(.is-on) .stop__detail { display: none; }
.route__line.is-ready .stop.is-on .stop__detail { animation: stop-in 320ms var(--ease-out); }
@keyframes stop-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .route__line.is-ready::after { transform: none; transition: none; }
  .route__line.is-ready .stop.is-on .stop__detail { animation: none; }
}

/* ---------- experience: two numbered columns ---------- */
.xp { padding-block: var(--section-gap); }
.xp h2 { max-width: 20ch; }
.xp__cols { margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto repeat(6, 1fr); column-gap: var(--gap-columns); }
.xp__col { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
.xp__list { display: contents; }
.xp__col h3 { padding-bottom: var(--space-sm); border-bottom: 2px solid var(--color-accent); font-size: var(--text-xl); }
.xp__list { list-style: none; }
.xp__col { counter-reset: xp; }
.xp__list li { counter-increment: xp; display: grid; align-items: center; grid-template-columns: var(--space-xl) minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.xp__list li::before { content: counter(xp); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.1; color: var(--color-accent-deep); }
.xp__list p { color: var(--color-text-2); }
.xp__more { padding-top: var(--space-lg); }

/* ---------- recommendations: two quotes side by side ---------- */

.quotes .q-card blockquote { font-size: var(--text-2xl); }
.quotes__body { grid-column: 1 / -1; }
.quotes { padding-block: var(--section-gap); }

/* ---------- close ---------- */
.pclose { position: relative; isolation: isolate; overflow: hidden; background: var(--color-ink); color: var(--color-on-ink); padding-block: var(--section-gap-s); }
.pclose__media { position: absolute; inset: 0; z-index: -2; }
.pclose__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.pclose::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to right, color-mix(in oklab, var(--color-scrim) 85%, transparent) 0%, color-mix(in oklab, var(--color-scrim) 60%, transparent) 45%, color-mix(in oklab, var(--color-scrim) 90%, transparent) 62%, color-mix(in oklab, var(--color-scrim) 92%, transparent) 100%); }
.foot { padding-top: var(--space-3xl); }
.pclose__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.pclose h2 { grid-column: 1 / span 6; max-width: none; text-wrap: balance; }
.pclose__side { grid-column: 8 / span 5; }
.pclose__side p { max-width: 46ch; }
.pclose__side p { color: var(--color-on-ink); }
.pclose .actions { margin-top: var(--space-lg); }

/* ---------- responsive ---------- */
@media (max-width: 80rem) {
  .glance, .pf__text { grid-column: 1 / -1; }
}
@media (max-width: 60rem) {
  .ph { display: block; min-height: 0; padding-top: var(--nav-h); }
  .ph__photo { position: relative; top: auto; width: 100%; aspect-ratio: 4 / 3; }
  .ph__photo::after { background: linear-gradient(to top, var(--color-ink) 0%, transparent 35%); }
  .ph__inner { margin-top: calc(-1 * var(--space-2xl)); }
  .ph__copy, .pf__text, .glance, .pclose h2, .pclose__side { grid-column: 1 / -1; }
  .xp__cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-2xl); }
  .xp__col { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 40rem) {
  .ph__photo { aspect-ratio: 4 / 5; }
  .route__line { display: block; margin-left: var(--space-2xs); border-left: 2px solid var(--color-accent); }
  .route__line::before, .route__line::after { display: none; }
  .stop { display: block; position: relative; padding: 0 0 var(--space-lg) var(--space-lg); }
  .stop__btn { padding-top: 0; cursor: default; }
  .stop__btn::before { top: 4px; left: calc(-1 * var(--space-lg) - 8px); }
  .stop__year { font-size: var(--text-2xl); color: var(--color-accent-soft); }
  .stop__org { color: var(--color-on-ink); }
  .stop__detail, .route__line.is-ready .stop__detail { display: block !important; margin-top: var(--space-xs); font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-on-ink-2); animation: none !important; }
}

/* ---------- interim-seat terms: highlight on hover, definition card on hover or focus ---------- */
.term { position: relative; display: inline-block; padding: 0 .28em; margin: 0 -.06em; border-radius: 3px; border-bottom: 1px dotted var(--color-accent); cursor: help; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.term:hover, .term:focus-visible { background: var(--color-ink); color: var(--color-accent-soft); font-weight: 700; border-bottom-color: transparent; outline: none; }
.term__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20; width: max-content; max-width: 280px; padding: 12px 14px; border-radius: 4px; border-top: 2px solid var(--color-accent); background: var(--color-ink); color: var(--color-on-ink-2); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.term__tip strong { display: block; margin-bottom: 2px; color: var(--color-accent-soft); font-weight: 600; }
.term__tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--color-ink); }
.term:hover .term__tip, .term:focus-visible .term__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.glance .term__tip { left: 0; transform: translate(0, 6px); } .glance .term:hover .term__tip, .glance .term:focus-visible .term__tip { transform: translate(0, 0); } .glance .term__tip::after { left: 22px; }
.pf__lede .term { font-weight: inherit; } .pf__lede .term:hover, .pf__lede .term:focus-visible { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .term__tip { transition: none; } }

/* ---------- career: title on one line, details use the full width ---------- */
@media (min-width: 60.01rem) { .route h2 { max-width: none; white-space: nowrap; } }
.stop__detail { max-width: none; }
.term { padding: 0 .22em; margin: 0 -.22em; }
.term__tip, .glance .term__tip { left: -.22em; transform: translate(0, 6px); }
.term:hover .term__tip, .term:focus-visible .term__tip { transform: translate(0, 0); }
.term__tip::after { left: 22px; }
.pf__grid { align-items: center; }
.glance { align-self: center; }
@media (min-width: 40.01rem) { .stop__detail { max-width: 64ch; text-wrap: balance; } }
@media (min-width: 40.01rem) { .stop__detail { max-width: none; text-wrap: wrap; font-size: clamp(1.25rem, 1.2vw + .75rem, 1.953rem); } }
@media (max-width: 40rem) { .stop__detail .br2 { display: none; } }

/* ---------- subtle diagonal texture: timeline and recommendations ---------- */
.route, .quotes { position: relative; isolation: isolate; }
.route::before, .quotes::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, var(--tex-line) 0 1px, transparent 1px 14px);
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
          mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
}
.route { --tex-line: oklch(69.6% 0.079 77 / 0.16); }
.quotes { background: var(--color-paper-2); --tex-line: oklch(23.9% 0.032 253 / 0.08); }
.quotes::before {
  -webkit-mask-image: linear-gradient(40deg, transparent 45%, #000 100%);
          mask-image: linear-gradient(40deg, transparent 45%, #000 100%);
}

/* ---------- profile hero: uroko in fine lines, uneven tone, bottom-left ---------- */
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    url(../assets/uroko-lines.svg?v=2) 0 100% / 360px 156px repeat,
    radial-gradient(ellipse 45% 55% at 8% 96%, oklch(69.6% 0.079 77 / .10), transparent 70%);
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 62% 75% at 0% 100%, #000 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.15) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 75% at 0% 100%, #000 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.15) 70%, transparent 100%);
}

/* ---------- experience: the gold rule under each heading spans the full column ---------- */
.xp__col h3 { max-width: none; }

/* ---------- phones: portrait closer, text below it on navy ---------- */
@media (max-width: 40rem) {
  .ph__photo { aspect-ratio: 1 / 1; overflow: hidden; }
  .ph__photo img { object-position: 52% 12%; transform: scale(1.45); transform-origin: 52% 18%; }
  .ph__photo::after { background: linear-gradient(to top, var(--color-ink) 0%, transparent 22%); }
  .ph__inner { margin-top: var(--space-lg); }
}
.xp__cols { grid-template-rows: auto repeat(7, auto); }
@media (min-width: 60.01rem) { .route h2 { white-space: normal; text-wrap: balance; } }

/* Second bio paragraph: background and education, in the body face under the lead */
.pf__more { margin: var(--space-lg) 0 0; max-width: 60ch; font-size: var(--text-lg); line-height: 1.6; color: var(--color-text-2); }
.pf__more .nw { white-space: nowrap; }
.pf__lede .nw { white-space: nowrap; }
.pf__lede + .pf__lede { margin-top: var(--space-lg); }
