/* Evodos site — shared styles. Built on the CMB design system tokens. */
/* Layout: one dark instrument page over a faint contour field; content sits in a 1200px column, sections breathe with tall vertical space. */
:root {
  --obsidian: #0a0c0f;
  --carbon: #12161b;
  --graphite: #262c33;
  --graphite-strong: #3a424c;
  --pure-black: #000000;
  --cream: #f1e9e0;
  --text-2: #b9b2a8;
  --steel: #8b96a3;
  --gold: #bb8a04;
  --topo-rgb: 241, 233, 224;           /* cream, drawn at ~7% for the contour lines */
  --nav-bg: rgba(10, 12, 15, 0.86);
  --dot: rgba(241, 233, 224, 0.06);

  --f-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1200px;
  --gut: 24px;
  --sec: clamp(96px, 13vw, 176px);
  --navh: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root.sub { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
html, body { overflow-anchor: none; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--cream);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--obsidian);
}
a { color: inherit; }
::selection { background: var(--gold); color: var(--obsidian); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) { :root { --gut: 20px; } }

main, footer { position: relative; z-index: 1; }
section { scroll-margin-top: 84px; }

/* ---------- Topography ---------- */
#topo {
  position: fixed; left: 0; top: 0; z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.6s ease;
  will-change: transform;
}
#topo.ready { opacity: 1; }

/* HOME: a muted gold dot rides one contour line down the page and lands on an X beside the call to action.
   The layer moves with the topography (site.js keeps its transform in step with #topo). */
#goldTrail { position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 2.6s ease; will-change: transform; }
#goldTrail.ready { opacity: 1; }
#goldTrail .gt-line { fill: none; stroke: var(--gold); stroke-opacity: .42; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#goldTrail .gt-glow { fill: var(--gold); opacity: .13; }
#goldTrail .gt-dot { fill: var(--gold); opacity: .78; }
#goldTrail .gt-pulse { fill: none; stroke: var(--gold); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: gtPulse 1.9s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes gtPulse { from { transform: scale(1); opacity: .55; } to { transform: scale(3.6); opacity: 0; } }
#goldTrail .gt-x { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; opacity: .28; transition: opacity .6s ease; }
#goldTrail.arrived .gt-x { opacity: .9; }

/* ---------- Type ---------- */
.display {
  font-weight: 800; font-stretch: 115%;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
.display.sm { font-size: clamp(2.4rem, 5.8vw, 4.75rem); }
.h2 {
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04; letter-spacing: -0.015em;
  margin: 0; text-wrap: balance;
}
.title { font-weight: 700; font-stretch: 108%; font-size: 1.45rem; line-height: 1.12; margin: 0; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.36rem); line-height: 1.5; color: var(--text-2); margin: 0; max-width: 34em; text-wrap: pretty; }
.body { color: var(--text-2); margin: 0; max-width: 36em; text-wrap: pretty; }
.gold { color: var(--gold); }

.readout, .readout-sm { font-family: var(--f-mono); text-transform: uppercase; margin: 0; }
.readout { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.2em; color: var(--gold); }
.readout-sm { font-weight: 500; font-size: 0.84rem; letter-spacing: 0.18em; color: var(--steel); }

.readout-label { display: inline-flex; flex-direction: column; gap: 10px; }
.readout-label .rule { display: block; width: 132px; height: 2px; background: var(--gold); transform-origin: left; }

/* Draft marker: copy written by Claude that still needs confirming. */
.draft {
  display: inline-block; vertical-align: middle;
  font: 500 0.62rem/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel); border: 1px dashed var(--graphite-strong); border-radius: 2px;
  padding: 4px 6px; margin-left: 10px;
}
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.eyebrow .draft { margin-left: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px; border-radius: 3px;
  font: 700 0.98rem/1 var(--f-display); font-stretch: 105%;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s, background-color .3s, color .3s;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--obsidian); border: 1px solid var(--gold); }
.btn-line { background: transparent; color: var(--cream); border: 1px solid var(--graphite-strong); }
.btn-line:hover { border-color: var(--cream); }
.btn-sm { padding: 11px 16px; font-size: 0.88rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s;
}
.nav.scrolled { background: var(--nav-bg); border-bottom-color: var(--graphite); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { display: block; height: 50px; width: auto; } /* fills the bar: 12px above and below, same 75px nav height */
.brand span { font-weight: 800; font-stretch: 115%; font-size: 1.6rem; letter-spacing: -0.01em; white-space: nowrap; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; color: var(--text-2); font-size: 0.95rem; position: relative; padding-block: 4px; transition: color .25s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.links a:hover, .links a[aria-current="page"] { color: var(--cream); }
.links a:hover::after, .links a[aria-current="page"]::after { transform: scaleX(1); }
.links a[aria-current="page"]::after { background: var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--graphite-strong); color: var(--cream); border-radius: 3px; padding: 9px 12px; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--graphite); background: var(--obsidian); }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-block: 12px 20px; }
.mobile-menu a { text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--graphite); font-weight: 600; }
.mobile-menu a[aria-current="page"] { color: var(--gold); }
@media (max-width: 860px) {
  .links, .nav .btn-sm { display: none; }
  .menu-btn { display: inline-block; }
  .brand img { height: 44px; }
  .brand span { font-size: 1.4rem; }
}

/* ---------- Instrument frame ---------- */
.corners { position: absolute; inset: 0; pointer-events: none; }
.corners i { position: absolute; width: 20px; height: 20px; border: 0 solid var(--gold); }
.corners .tl { top: -3px; left: -3px; border-top-width: 2px; border-left-width: 2px; }
.corners .tr { top: -3px; right: -3px; border-top-width: 2px; border-right-width: 2px; }
.corners .bl { bottom: -3px; left: -3px; border-bottom-width: 2px; border-left-width: 2px; }
.corners .br { bottom: -3px; right: -3px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 72px) clamp(40px, 5vw, 64px); }
.hero-frame { position: absolute; inset: 8px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); border: 1px solid var(--graphite); pointer-events: none; }
@media (min-width: 900px) { .hero-frame { inset: 8px 24px 0 24px; } }
.hero-in { position: relative; display: flex; flex-direction: column; gap: 30px; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.hero.sub .hero-in { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-meta { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue .track { width: 1px; height: 44px; background: var(--graphite-strong); position: relative; overflow: hidden; }
.scroll-cue .track::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cream); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Section heads ---------- */
.sec { padding-block: var(--sec); }
.sec-head { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }

/* ================= HOME ================= */
/* Pieces (pinned) */
.pieces { position: relative; height: 230vh; overflow: clip; }
.pieces.settled { height: auto; }
.pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 96px 48px; }
.pieces-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pieces .copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.status { display: flex; gap: 10px; align-items: center; }
.status b { font-weight: 700; color: var(--steel); transition: color .4s; }
.status.done b { color: var(--gold); }
.stage { position: relative; padding: 26px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile {
  background: var(--carbon); border: 1px solid var(--graphite); border-radius: 4px;
  padding: 16px 16px 18px; min-height: 118px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  will-change: transform;
}
.tile .title { font-size: 1.08rem; }
.stage-frame { position: absolute; inset: 0; pointer-events: none; }
.stage-frame i { position: absolute; background: var(--gold); }
.stage-frame .e0 { top: 0; left: 0; right: 0; height: 1.5px; transform-origin: left; }
.stage-frame .e1 { top: 0; right: 0; bottom: 0; width: 1.5px; transform-origin: top; }
.stage-frame .e2 { bottom: 0; left: 0; right: 0; height: 1.5px; transform-origin: right; }
.stage-frame .e3 { top: 0; left: 0; bottom: 0; width: 1.5px; transform-origin: bottom; }
.stage-label { position: absolute; top: -9px; left: 22px; background: var(--obsidian); padding: 0 10px; transition: opacity .5s, transform .5s var(--ease); }
.anim .stage:not(.done) .stage-label { opacity: 0; transform: translateY(6px); }
@media (max-width: 900px) {
  .pieces { height: 210vh; }
  .pieces-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pin { padding-block: 84px 32px; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { min-height: 92px; padding: 12px; gap: 12px; }
  .tile .title { font-size: 0.98rem; }
  .stage { padding: 18px; }
  .pieces .lead { font-size: 1.05rem; }
}

/* What the map shows */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.three > div { border-top: 1px solid var(--graphite-strong); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) { .three { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.mapcard {
  position: relative; margin-top: 64px;
  background-color: var(--obsidian);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 24px 24px;
  border: 1px solid var(--graphite);
}
.mapcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding: 30px 32px 0; }
.mapcard-head .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.map-scroll { overflow-x: auto; padding: 16px 20px 8px; scrollbar-width: thin; scrollbar-color: var(--graphite-strong) transparent; }
#mapSvg { display: block; width: 100%; min-width: 780px; height: auto; }
#mapSvg .lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; fill: var(--steel); font-weight: 500; }
#mapSvg .flow { fill: none; stroke: var(--steel); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .42; }
#mapSvg .flow.sig { stroke: var(--gold); opacity: .9; }
#mapSvg .node rect { fill: var(--carbon); stroke: var(--graphite-strong); stroke-width: 1; transition: stroke .65s, fill .65s; }
#mapSvg .node text { font-family: var(--f-display); font-size: 15px; font-weight: 600; fill: var(--cream); transition: fill .65s; }
#mapSvg .node { transition: opacity .78s; }
.anim #mapSvg .node { opacity: .3; }
.anim #mapSvg .node.on { opacity: 1; }
#mapSvg .node.big rect { fill: var(--cream); stroke: var(--cream); }
#mapSvg .node.big text { fill: var(--obsidian); font-weight: 800; }
#mapSvg .node.sig rect { stroke: var(--gold); stroke-width: 1.5; fill: var(--obsidian); }
#mapSvg .node.sig text { fill: var(--gold); font-weight: 700; }
#mapSvg .pulse { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
#mapSvg.lit .pulse { animation: pulse 3.1s var(--ease) 1; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25, 1.9); } }
.mapcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 6px 32px 30px; }
.key { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.95rem; max-width: 40em; margin: 0; }
.key i { flex: none; width: 14px; height: 14px; border: 1.5px solid var(--gold); border-radius: 2px; }
.swipe { display: none; }
@media (max-width: 820px) { .swipe { display: inline; } .mapcard-head, .mapcard-foot { padding-left: 20px; padding-right: 20px; } .mapcard-head .right { align-items: flex-start; text-align: left; } }

/* Mission (word light-up) */
.mission .wrap { max-width: 1040px; }
.mission .inner { display: flex; flex-direction: column; gap: 30px; }
.big { font-weight: 700; font-stretch: 108%; font-size: clamp(1.7rem, 3.7vw, 3rem); line-height: 1.22; letter-spacing: -0.01em; margin: 0; text-wrap: pretty; }
.big .w { color: var(--graphite-strong); transition: color .45s ease; }
.big .w.lit { color: var(--cream); }
.big .w.g.lit { color: var(--gold); }

/* Experience preview trail */
.exp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.exp-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (min-width: 901px) { .exp-side { position: sticky; top: 130px; } }
.meter { display: flex; flex-direction: column; gap: 10px; padding-block: 8px; }
.segs { display: flex; gap: 4px; }
.segs i { width: 30px; height: 4px; background: var(--graphite-strong); transition: background-color .4s; }
.segs i.past { background: var(--cream); }
.segs i.cur { background: var(--gold); }
.meter .readout-sm b { color: var(--cream); font-weight: 700; }

.trail { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: clamp(44px, 6vw, 72px); }
.trail .track { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--graphite); }
.trail .fill { position: absolute; inset: 0; background: var(--cream); transform-origin: top; transform: scaleY(1); }
.stop { position: relative; padding-left: 44px; display: flex; flex-direction: column; gap: 8px; }
.stop .dot { position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--graphite-strong); background: var(--obsidian); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.stop .title, .stop .body { transition: color .5s, opacity .5s; }
.anim .stop:not(.on) .title { color: var(--steel); }
.anim .stop:not(.on) .body { opacity: .55; }
.stop.on .dot { background: var(--cream); border-color: var(--cream); }
.stop.cur .dot { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.stop.cur .readout-sm { color: var(--gold); }
@media (max-width: 900px) { .exp-grid { grid-template-columns: minmax(0, 1fr); } }

/* ================= ABOUT ================= */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: flex; flex-direction: column; gap: 22px; }

/* Lanes: each advisor sees one lane; the map sweeps across all of them */
.lanes { position: relative; margin-top: 64px; padding-bottom: 76px; }
.lane-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lane { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.lane .lane-line { width: 1px; height: 120px; margin-left: 18px; background: var(--graphite-strong); transform-origin: top; }
.lane .lane-box { width: 100%; background: var(--carbon); border: 1px solid var(--graphite); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .6s; }
.lanes.joined .lane-box { border-color: var(--graphite-strong); }
.sweep { position: absolute; left: 0; right: 0; bottom: 28px; height: 1.5px; background: var(--gold); transform-origin: left; }
.sweep-label { position: absolute; left: 0; bottom: 0; transition: opacity .6s, transform .6s var(--ease); }
.anim .lanes:not(.joined) .sweep-label { opacity: 0; transform: translateY(6px); }
.lane .drop { width: 1px; height: 0; }
.lanes .tick { position: absolute; bottom: 28px; width: 1.5px; height: 47px; background: var(--gold); transform-origin: bottom; transform: scaleY(1); transition: transform .5s var(--ease); }
.anim .lanes .tick:not(.on) { transform: scaleY(0); }
@media (max-width: 760px) {
  .lane-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .lane .lane-line { height: 56px; }
  .lanes .tick { display: none; }
}

.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; margin-top: 64px; }
.belief { position: relative; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.belief::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--graphite-strong); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .1s); }
.anim .belief:not(.in)::before { transform: scaleX(0); }
.belief .readout-sm { color: var(--gold); }
@media (max-width: 760px) { .beliefs { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.who-card { position: relative; background: var(--carbon); border: 1px solid var(--graphite); border-radius: 4px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.who-card .rings { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; pointer-events: none; opacity: .5; }
.who-card .rings circle, .who-card .rings ellipse { fill: none; stroke: var(--graphite-strong); stroke-width: 1; transition: transform 1.4s var(--ease); transform-origin: 110px 110px; }
.who-card:hover .rings ellipse:nth-child(1) { transform: scale(1.08) rotate(6deg); }
.who-card:hover .rings ellipse:nth-child(2) { transform: scale(1.12) rotate(-8deg); }
.who-card:hover .rings ellipse:nth-child(3) { transform: scale(1.16) rotate(10deg); }
@media (max-width: 760px) { .who { grid-template-columns: minmax(0, 1fr); } }

.typed .c { transition: opacity .01s; }
.anim .typed:not(.in) .c { opacity: 0; }
.anim .typed.in .c { transition-delay: calc(var(--i) * 24ms); }
.caret { display: inline-block; width: .5em; height: .9em; margin-left: .08em; background: var(--gold); vertical-align: -0.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* the caret waits until the last character is typed, then blinks */
.anim .typed .caret { visibility: hidden; }
.anim .typed.in .caret { animation: show 0s linear var(--done, 0s) forwards, blink 1s steps(1) var(--done, 0s) infinite; }
@keyframes show { to { visibility: visible; } }

.teaser { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); padding-block: 40px; }
.teaser .stack { gap: 10px; }

/* ================= TEAM ================= */
.people { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.person:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.person:nth-child(even) .portrait { order: 2; }
.person > * { min-width: 0; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%;
  background-color: var(--obsidian);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
  border: 1px solid var(--graphite);
  display: grid; place-items: center; overflow: hidden;
}
.portrait .scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--cream); opacity: 0; }
.anim .portrait.in .scan { animation: scan 2.2s var(--ease) .4s 1 both; }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: .55; } 90% { opacity: .55; } 100% { top: 100%; opacity: 0; } }
.portrait .cross { position: absolute; inset: 0; pointer-events: none; }
.portrait .cross::before, .portrait .cross::after { content: ""; position: absolute; background: var(--graphite); }
.portrait .cross::before { left: 50%; top: 42%; width: 1px; height: 16%; }
.portrait .cross::after { top: 50%; left: 42%; height: 1px; width: 16%; }
.portrait .readout-sm { position: relative; background: var(--obsidian); padding: 6px 10px; margin-top: 90px; }
/* Portraits are transparent cutouts so the dot field shows behind them; the scan line reveals the photo. */
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anim .portrait img { clip-path: inset(0 0 100% 0); transition: clip-path 2.2s var(--ease) .4s; }
.anim .portrait.in img { clip-path: inset(0); }
.person-info { display: flex; flex-direction: column; gap: 20px; }
.person-info .h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.role-line { display: flex; flex-direction: column; gap: 6px; }
.bio { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--graphite); padding-top: 22px; }
@media (max-width: 900px) {
  .person, .person:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .person:nth-child(even) .portrait { order: 0; }
  .portrait { max-width: 420px; }
}

.duo { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; gap: 0; margin-top: 56px; }
.duo .box { background: var(--carbon); border: 1px solid var(--graphite-strong); border-radius: 3px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: opacity .7s, border-color .7s; }
.duo .box.sig { border: 1.5px solid var(--gold); background: var(--obsidian); }
.duo .box.sig .title { color: var(--gold); }
.anim .duo .box:not(.on) { opacity: .3; }
.duo .arrow { display: grid; place-items: center; }
.duo .arrow svg { width: 56px; height: 16px; overflow: visible; }
.duo .arrow.rev svg { transform: scaleX(-1); }
.duo .arrow .ln { fill: none; stroke: var(--steel); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.duo .arrow .hd { fill: none; stroke: var(--steel); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
@media (max-width: 820px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo .arrow { height: 56px; }
  .duo .arrow svg { transform: rotate(90deg); }
  .duo .arrow.rev svg { transform: rotate(90deg) scaleX(-1); }
}

/* ================= EXPERIENCE ================= */
.profile-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--navh)); z-index: 40; background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--graphite); }
.profile-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: center; gap: 24px; padding-block: 12px; }
.profile-in .readout-sm b { color: var(--cream); font-weight: 700; }
.profile-in .readout-sm .nm { color: var(--gold); }
#profileSvg { display: block; width: 100%; height: 54px; overflow: visible; }
#profileSvg .base { fill: none; stroke: var(--graphite-strong); stroke-width: 1.25; }
#profileSvg .prog { fill: none; stroke: var(--cream); stroke-width: 1.75; }
#profileSvg .contour { stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 2 5; }
#profileSvg .wp circle { fill: var(--obsidian); stroke: var(--graphite-strong); stroke-width: 1.25; transition: fill .4s, stroke .4s; }
#profileSvg .wp.on circle { fill: var(--cream); stroke: var(--cream); }
#profileSvg .wp.cur circle { fill: var(--gold); stroke: var(--gold); }
#profileSvg .wp { cursor: pointer; }
#profileSvg .wp text { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; fill: var(--steel); }
#profileSvg .wp.cur text { fill: var(--gold); }
@media (max-width: 760px) {
  .profile-in { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 10px 8px; }
  #profileSvg { height: 40px; }
  #profileSvg .wp text { display: none; }
}

.stages { display: flex; flex-direction: column; }
.stg { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(56px, 8vw, 104px); position: relative; scroll-margin-top: 160px; }
.stg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--graphite-strong); transform-origin: left; transition: transform 1.4s var(--ease); }
.anim .stg:not(.in)::before { transform: scaleX(0); }
.stg > * { min-width: 0; }
.num { font-weight: 800; font-stretch: 112%; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--cream); display: inline-flex; overflow: hidden; height: 1em; }
.num .roll { display: flex; flex-direction: column; transform: translateY(calc(var(--t) * -1em)); transition: transform 1.3s var(--ease) .15s; }
.anim .stg:not(.in) .num .roll { transform: none; }
.num .roll span { height: 1em; display: block; }
.stg-main { display: flex; flex-direction: column; gap: 16px; }
.stg-main .h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.getbox { border: 1px solid var(--graphite-strong); border-radius: 3px; padding: 18px; display: flex; flex-direction: column; gap: 10px; align-self: start; background: var(--carbon); }
.getbox .readout-sm { color: var(--gold); }
.getbox p { margin: 0; color: var(--cream); font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .stg { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

.price { position: relative; border: 1px solid var(--graphite); background-color: var(--obsidian); background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 24px 24px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.price > * { min-width: 0; }
.odo { font-weight: 800; font-stretch: 118%; font-size: clamp(3.6rem, 9vw, 8rem); line-height: 1; letter-spacing: -0.03em; color: var(--cream); display: flex; align-items: flex-start; white-space: nowrap; font-variant-numeric: tabular-nums; margin: 0; }
.odo [data-digits] { display: inline-flex; }
.odo .cur { font-size: .5em; margin-top: .12em; margin-right: .06em; color: var(--gold); }
.odo .col { display: inline-block; height: 1em; overflow: hidden; }
.odo .strip { display: flex; flex-direction: column; transform: translateY(calc(var(--t) * -1em)); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
.anim .price:not(.in) .odo .strip { transform: none; }
.odo .strip span { display: block; height: 1em; }
@media (max-width: 760px) { .price { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA ---------- */
.cta-panel { position: relative; border: 1px solid var(--graphite); background: var(--carbon); padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }

/* ---------- Footer ---------- */
footer { background: var(--pure-black); border-top: 1px solid var(--gold); }
.foot-in { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-top .principle { display: flex; flex-direction: column; gap: 12px; max-width: 34rem; min-width: 0; }
.foot-top .principle .title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.foot-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-links a { text-decoration: none; color: var(--text-2); }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--cream); }
.fine { border-top: 1px solid var(--graphite); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; color: var(--steel); font-size: 0.85rem; }
.fine p { margin: 0; max-width: 52em; }

/* ---------- Motion ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-reveal].in { opacity: 1; transform: none; }
.anim [data-reveal="wipe"] { opacity: 1; transform: none; }
.anim [data-reveal="wipe"] .wi { display: block; transform: translateY(.35em); clip-path: inset(0 0 100% 0); transition: transform 1.1s var(--ease), clip-path 1.1s var(--ease); }
.anim [data-reveal="wipe"].in .wi { transform: none; clip-path: inset(-10% -4% -25% -4%); }
.anim [data-reveal="line"] { opacity: 1; transform: none; }
.anim .readout-label .rule { transform: scaleX(0); transition: transform 1.2s var(--ease) .25s; }
.anim .in .rule, .anim .readout-label.in .rule { transform: scaleX(1); }
.anim [data-corners] .corners i { opacity: 0; transition: opacity .5s, transform .9s var(--ease); }
.anim [data-corners] .corners .tl { transform: translate(-14px, -14px); }
.anim [data-corners] .corners .tr { transform: translate(14px, -14px); }
.anim [data-corners] .corners .bl { transform: translate(-14px, 14px); }
.anim [data-corners] .corners .br { transform: translate(14px, 14px); }
.anim [data-corners].in .corners i { opacity: 1; transform: none; }

.anim .hero h1 .line > span { animation: rise 1.25s var(--ease) both; }
.anim .hero h1 .line + .line > span { animation-delay: .14s; }
.anim .hero .lift { animation: lift 1.2s var(--ease) both; animation-delay: var(--d, .4s); }
.anim .hero .readout-label .rule { animation: grow 1.3s var(--ease) .2s both; transform: none; }
.anim .hero-frame { animation: fadein 1.6s ease .2s both; }
.anim .hero .corners i { animation: snap 1.1s var(--ease) .5s both; }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes snap { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
