/* =========================================================
   AURIFEX — black + gold. Layout and motion language modeled
   on a dark HUD-style landing page: Chakra Petch display type,
   Share Tech Mono labels, outlined pill buttons, glowing rings.
   ========================================================= */

:root {
  --bg: #050403;
  --bg-2: #0b0906;
  --panel: rgba(18, 14, 8, 0.55);
  --panel-solid: #0e0b07;
  --ink: #f3ebdd;
  --ink-2: #c9bfad;
  --muted: #9a8f7b;
  --dim: #6f6656;
  --gold: #d4af37;
  --gold-hi: #f7e3a1;
  --gold-mid: #e2be55;
  --gold-lo: #9c7a2b;
  --line: rgba(212, 175, 55, 0.22);
  --line-strong: rgba(226, 190, 85, 0.55);
  --glow: rgba(226, 190, 85, 0.35);
  --grad: linear-gradient(92deg, #f7e3a1 0%, #e2be55 45%, #b8902f 100%);
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, Menlo, monospace;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }
:focus-visible { outline: 1px solid var(--gold-mid); outline-offset: 4px; border-radius: 6px; }

/* ---------- background ---------- */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 72% 18%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(156, 122, 43, 0.08), transparent 60%),
    radial-gradient(140% 100% at 50% 0%, transparent 55%, rgba(0, 0, 0, 0.7) 100%);
}
.vignette::after { /* faint grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
main, .footer, .nav { position: relative; z-index: 1; }

.container {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.email { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; color: var(--ink-2); margin: 22px 0 0; user-select: all; }
.gold {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 18px max(var(--gutter), env(safe-area-inset-left, 0px));
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(226, 190, 85, .35)); }
.brand-word {
  font-weight: 600; font-size: 19px; letter-spacing: 5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links {
  margin-left: auto; display: flex; gap: 6px;
  padding: 6px; border: 1px solid var(--line); border-radius: 40px;
  background: rgba(10, 8, 5, 0.5);
}
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--muted); padding: 8px 16px; border-radius: 40px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-hi); background: rgba(212, 175, 55, 0.08); }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: 2.6px; text-transform: uppercase;
  padding: 16px 30px; border-radius: 40px;
  border: 1px solid var(--line-strong); color: var(--gold-hi);
  background: rgba(10, 8, 5, 0.4);
  transition: box-shadow .3s, border-color .3s, transform .3s, color .3s, background .3s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold-hi); box-shadow: 0 0 24px var(--glow), inset 0 0 18px rgba(226, 190, 85, .12); transform: translateY(-1px); }
.btn-sm { padding: 11px 20px; font-size: 11px; }
.btn-glow { box-shadow: 0 0 18px rgba(226, 190, 85, .22), inset 0 0 14px rgba(226, 190, 85, .10); }
.btn-ghost { border-color: rgba(243, 235, 221, 0.22); color: var(--ink); }
.btn-ghost:hover { color: var(--gold-hi); }

/* ---------- type ---------- */
.eyebrow, .kicker, .micro, .pill, .hud, .chip, .co-idx, .step-num, .mini-n, .status, .fine, .orbit-label, .marquee, .ledger-head, .founder-role, .footer h4, .footer-base {
  font-family: var(--mono); text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 3px; color: var(--gold-mid); margin: 0 0 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-mid); box-shadow: 0 0 10px var(--gold-mid); animation: pulse 2.4s infinite; }
.kicker { font-size: 12px; letter-spacing: 3px; color: var(--muted); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.tag { color: var(--gold-mid); border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 4px; }
.display {
  font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; margin: 0 0 22px;
}
.display.sm { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 6px; }
.sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 680px; margin: 0 0 56px; font-weight: 300; }
.micro { font-size: 11px; letter-spacing: 2.6px; color: var(--dim); line-height: 1.9; margin: 28px 0 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px;
  padding-block: 130px 110px; max-width: 1400px; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.hero-title { font-size: clamp(36px, 5.3vw, 80px); line-height: .95; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 30px; }
.hero-title .line { display: block; }
.hero-title .dim { color: #8a8170; }
.lede { font-size: clamp(16px, 1.35vw, 18px); color: var(--ink-2); max-width: 560px; margin: 0 0 36px; font-weight: 300; line-height: 1.8; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }

.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; left: var(--x); top: var(--y);
  font-size: 11px; letter-spacing: 2px; color: rgba(226, 190, 85, .55);
  border: 1px solid rgba(212, 175, 55, .18); border-radius: 4px; padding: 6px 12px;
  background: rgba(10, 8, 5, .45); text-transform: lowercase;
  animation: float 9s ease-in-out infinite; animation-delay: var(--d);
  white-space: nowrap;
}
.hud { position: absolute; font-size: 10px; letter-spacing: 3px; color: var(--dim); line-height: 1.8; }
.hud-tl { top: 108px; left: var(--gutter); display: none; }
.hud-bl { bottom: 34px; left: var(--gutter); }
.hud-br { bottom: 34px; right: var(--gutter); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue::before { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s infinite; }

/* orbit visual */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.r1 { inset: 0; border-color: rgba(212, 175, 55, .28); box-shadow: 0 0 60px rgba(212, 175, 55, .08) inset, 0 0 40px rgba(212, 175, 55, .06); }
.r1::before { /* rotating arc */
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid transparent; border-top-color: var(--gold-hi); border-right-color: rgba(226, 190, 85, .4);
  filter: drop-shadow(0 0 6px var(--gold-mid));
  animation: spin 14s linear infinite;
}
.r2 { inset: 12%; border-style: dashed; border-color: rgba(212, 175, 55, .22); animation: spin 60s linear infinite reverse; }
.r3 { inset: 27%; border-color: rgba(212, 175, 55, .35); background: radial-gradient(circle, rgba(212, 175, 55, .10), rgba(5, 4, 3, .2) 70%); }
.orbit-glow { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 190, 85, .28), transparent 70%); filter: blur(20px); animation: breathe 5s ease-in-out infinite; }
.orbit-mark { position: absolute; inset: 36%; width: 28%; height: 28%; filter: drop-shadow(0 0 14px rgba(226, 190, 85, .55)); }
.satellites { position: absolute; inset: 0; animation: spin 48s linear infinite; }
.sat { position: absolute; inset: 0; transform: rotate(var(--a)); }
.sat i {
  position: absolute; top: 12%; left: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--gold-hi);
  border: 1px solid var(--line-strong); background: rgba(8, 6, 4, .9);
  box-shadow: 0 0 18px rgba(212, 175, 55, .25);
  transform: rotate(calc(-1 * var(--a)));
  animation: counter 48s linear infinite;
}
.orbit-label { position: absolute; bottom: -2px; left: 50%; translate: -50% 0; font-size: 10px; letter-spacing: 3px; color: var(--dim); white-space: nowrap; background: var(--bg); padding: 2px 10px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: rgba(10, 8, 5, .55); padding: 16px 0; font-size: 13px; letter-spacing: 3px; color: var(--muted); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee b { color: var(--gold); font-weight: 400; }
.marquee.small { font-size: 11px; padding: 12px 0; }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 13vw, 170px) 0; position: relative; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose p { color: var(--ink-2); font-size: 17px; font-weight: 300; margin: 0 0 20px; line-height: 1.85; }
.arrows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.arrows li {
  display: flex; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); color: var(--ink-2); font-size: 14.5px; line-height: 1.6;
}
.arrows b { display: block; color: var(--gold-hi); font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin-bottom: 4px; }
.arr { color: var(--gold-mid); font-family: var(--mono); }

/* cards */
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 17, 9, .65), rgba(8, 6, 4, .65));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .35s, box-shadow .35s, transform .35s;
}
.card::before { /* corner brackets */
  content: ""; position: absolute; inset: 10px; pointer-events: none; border-radius: 10px;
  background:
    linear-gradient(var(--gold-mid), var(--gold-mid)) top left / 14px 1px no-repeat,
    linear-gradient(var(--gold-mid), var(--gold-mid)) top left / 1px 14px no-repeat,
    linear-gradient(var(--gold-mid), var(--gold-mid)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--gold-mid), var(--gold-mid)) bottom right / 1px 14px no-repeat;
  opacity: .0; transition: opacity .35s;
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 0 40px rgba(212, 175, 55, .10), inset 0 0 30px rgba(212, 175, 55, .04); transform: translateY(-3px); }
.card:hover::before { opacity: .9; }
.card h3 { font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin: 0 0 12px; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 15px; font-weight: 300; margin: 0 0 16px; line-height: 1.75; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.co { padding: 34px 34px 28px; display: flex; flex-direction: column; }
.co-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.co-idx { font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-mid); letter-spacing: 2px; }
.pill { display: inline-block; font-size: 10.5px; letter-spacing: 2.2px; color: var(--gold-mid); border: 1px solid var(--line-strong); border-radius: 30px; padding: 6px 12px; }
.co h3 { font-size: 30px; }
.co-line { color: var(--gold-hi) !important; font-weight: 400 !important; font-size: 16px !important; margin-bottom: 14px !important; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 14px; }
.stats div { border-top: 1px solid var(--line); padding-top: 14px; }
.stats dt { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.fine { font-size: 10.5px !important; letter-spacing: 1.6px; color: var(--dim) !important; line-height: 1.7 !important; }
.co-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 2px; color: var(--muted); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-mid); box-shadow: 0 0 8px var(--gold-mid); animation: pulse 2.4s infinite; }
.link { font-family: var(--mono); font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-hi); border-bottom: 1px solid transparent; transition: border-color .25s; }
.link:hover { border-bottom-color: var(--gold-hi); }
.muted-link { color: var(--ink-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { padding: 34px 30px; }
.step-num { display: block; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-mid); margin-bottom: 26px; opacity: .85; }
.pipeline { display: flex; align-items: center; gap: 14px; margin-top: 56px; font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.pipe { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.pipe i { position: absolute; top: 0; left: -30%; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); animation: flow 2.8s linear infinite; }
.pipe-node { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 20px rgba(212, 175, 55, .25); }
.pipe-node svg { width: 22px; height: 22px; }

/* principles (pinned) */
.principles { position: relative; height: 340vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pin-inner { position: relative; }
.pin-title { font-size: clamp(30px, 4vw, 54px); margin-bottom: 40px; }
.pin-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 60px; align-items: center; min-height: 340px; }
.pin-slides { position: relative; min-height: 320px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 600; text-transform: uppercase; margin: 0 0 20px; }
.slide p { color: var(--ink-2); font-weight: 300; font-size: 16.5px; line-height: 1.8; max-width: 520px; margin: 0 0 22px; }
.pin-numeral { display: grid; place-items: center; }
.pin-numeral span {
  font-size: clamp(160px, 24vw, 340px); font-weight: 600; line-height: .8; letter-spacing: -6px;
  color: transparent; -webkit-text-stroke: 1.2px rgba(226, 190, 85, .45);
  text-shadow: 0 0 60px rgba(212, 175, 55, .12);
  transition: opacity .4s;
}
.pin-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--dim); justify-items: end; }
.pin-index li { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.pin-index li::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .3s; }
.pin-index li.is-active { color: var(--gold-hi); }
.pin-index li.is-active::before { width: 28px; }
.pin-progress { margin-top: 40px; height: 1px; background: var(--line); position: relative; }
.pin-progress i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--grad); box-shadow: 0 0 10px var(--gold-mid); }

/* studio grid */
.grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini { padding: 28px 26px; }
.mini-n { display: block; font-size: 12px; letter-spacing: 2px; color: var(--gold-mid); margin-bottom: 16px; }
.mini h3 { font-size: 18px; }
.mini p { font-size: 14px; margin: 0; }

.ledger { margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(10, 8, 5, .5); }
.ledger-row { display: grid; grid-template-columns: 1.1fr 1.5fr 1.4fr .9fr; gap: 18px; padding: 18px 26px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.ledger-row:first-child { border-top: 0; }
.ledger-row > span:first-child { color: var(--ink); font-weight: 600; letter-spacing: .5px; }
.ledger-head { font-size: 10.5px; letter-spacing: 2.4px; color: var(--dim); background: rgba(212, 175, 55, .04); }
.ledger-head > span:first-child { color: var(--dim) !important; font-weight: 400 !important; }
.st { font-family: var(--mono); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-mid); }

/* founder */
.founder { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 44px; padding: 44px; align-items: center; }
.founder-mark { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative; box-shadow: 0 0 40px rgba(212, 175, 55, .15) inset; }
.founder-mark::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed var(--line); animation: spin 40s linear infinite; }
.founder-mark span { font-size: 54px; font-weight: 600; letter-spacing: 3px; color: transparent; -webkit-text-stroke: 1px var(--gold-mid); }
.founder-role { font-size: 11px; letter-spacing: 2.2px; color: var(--gold-mid) !important; margin: 0 0 18px !important; font-weight: 400 !important; }
.founder-body p { font-size: 16px; }
.founder-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }

/* CTA */
.cta { padding: clamp(110px, 14vw, 190px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(700px 400px at 50% 50%, rgba(212, 175, 55, .09), transparent 70%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(44px, 7vw, 104px); line-height: .98; font-weight: 600; text-transform: uppercase; margin: 0 0 26px; }
.cta .sub { margin-bottom: 40px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: rgba(5, 4, 3, .85); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer h4 { font-size: 11px; letter-spacing: 2.6px; color: var(--gold-mid); font-weight: 400; margin: 6px 0 18px; }
.footer-grid a:not(.brand) { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-grid a:not(.brand):hover { color: var(--gold-hi); }
.footer-note { color: var(--muted); font-size: 14px; max-width: 320px; margin: 18px 0 0; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: 2.4px; color: var(--dim); }

/* ---------- reveal ---------- */
/* Everything is visible at rest. Script hides only what starts below the
   fold (.pre) and fades it in on scroll; the hero only slides, never hides. */
.reveal { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.pre { opacity: 0; transform: translateY(26px); }
.hero .reveal { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; } .hero .reveal:nth-child(3) { animation-delay: .16s; } .hero .reveal:nth-child(4) { animation-delay: .24s; } .hero .reveal:nth-child(5) { animation-delay: .32s; }

/* ---------- keyframes ---------- */
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { from { transform: rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(-1 * var(--a) - 360deg)); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-12px); opacity: .55; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { to { left: 100%; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-btn {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(10, 8, 5, .5); cursor: pointer;
  }
  .menu-btn span { width: 18px; height: 1px; background: var(--gold-hi); transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 6px; position: fixed; z-index: 49; top: 72px; left: var(--gutter); right: var(--gutter);
    padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 6, 4, .96); backdrop-filter: blur(14px);
  }
  .mobile-menu a:not(.btn) { padding: 14px 10px; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: left; }
  .orbit { width: min(80%, 440px); order: -1; margin-top: 10px; }
  .chips { display: none; }
  .steps, .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .brand-word { font-size: 17px; letter-spacing: 4px; }
  .hero { padding-bottom: 90px; }
  .orbit { width: min(78%, 320px); }
  .sat i { width: 40px; height: 40px; font-size: 10px; }
  .hud-br { display: none; }
  .cards, .steps, .grid6 { grid-template-columns: 1fr; }
  .co { padding: 26px 22px 22px; }
  .co h3 { font-size: 25px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats dt { font-size: 20px; }
  .pipeline { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .pipeline .pipe { display: none; }
  .ledger-head { display: none !important; }
  .ledger-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .founder { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .founder-mark { width: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .btn { padding: 15px 24px; }
}

/* principles: stacked list on small screens and reduced motion */
@media (max-width: 900px) {
  .principles { height: auto; padding: 100px 0; }
  .pin { position: static; height: auto; display: block; }
  .pin-stage { display: block; min-height: 0; }
  .pin-slides { min-height: 0; display: grid; gap: 18px; }
  .slide { position: static; opacity: 1; transform: none; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
  .slide p { font-size: 15px; }
  .pin-numeral, .pin-index, .pin-progress { display: none; }
}

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

/* =========================================================
   v4: holding-company sections, company logos, company pages
   ========================================================= */

/* company logos */
.co-logo { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line-strong); background: #0c0a07; padding: 9px; object-fit: contain; flex: none; box-shadow: 0 0 18px rgba(212, 175, 55, .12); }
.co-logo.lg { width: 84px; height: 84px; border-radius: 20px; padding: 13px; }
.co-logo.sm { width: 36px; height: 36px; border-radius: 10px; padding: 6px; }
.co-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.co-brand h3 { margin: 0; }
.co-brand .co-line { margin: 4px 0 0 !important; }
.sat i img { width: 60%; height: 60%; object-fit: contain; }
.co .btn-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* logo strip */
.logo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 40px; }
.logo-strip a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .3s, box-shadow .3s; min-width: 0; }
.logo-strip a:hover { border-color: var(--line-strong); box-shadow: 0 0 24px rgba(212, 175, 55, .12); }
.logo-strip span { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); line-height: 1.4; }

/* facts row */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; background: rgba(10, 8, 5, .5); }
.facts div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts dd { margin: 8px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { padding: 28px 26px; }
.pillar svg { width: 34px; height: 34px; margin-bottom: 18px; stroke: var(--gold-mid); fill: none; stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(226, 190, 85, .35)); }
.pillar h3 { font-size: 18px; }
.pillar p { font-size: 14px; margin: 0; }

/* markets */
.markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.market { padding: 30px; }
.market .pill { margin-bottom: 18px; }
.market .src { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; color: var(--dim); text-transform: uppercase; margin: 14px 0 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold-mid), var(--line) 70%, transparent); }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 36px; padding: 0 0 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 136px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold-mid); box-shadow: 0 0 10px rgba(226, 190, 85, .5); }
.timeline li.next::before { background: var(--gold-mid); animation: pulse 2.4s infinite; }
.timeline time { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-mid); padding-top: 2px; }
.timeline h3 { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 6px; }
.timeline p { color: var(--ink-2); font-weight: 300; font-size: 15px; margin: 0; max-width: 640px; }

/* contact tiles */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 10px 0 34px; text-align: left; }
.contact-tile { padding: 24px 22px; }
.contact-tile h3 { font-size: 16px; margin-bottom: 8px; }
.contact-tile p { font-size: 13.5px; margin: 0; }

/* ---------- company pages ---------- */
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; margin: 0 0 26px; flex-wrap: wrap; }
.crumb a { color: var(--gold-mid); }
.crumb a:hover { color: var(--gold-hi); }
.page-hero { padding-top: 150px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.1vw, 62px); overflow-wrap: break-word; line-height: .98; font-weight: 600; text-transform: uppercase; margin: 22px 0 22px; letter-spacing: .5px; }
.page-hero .lede { margin-bottom: 30px; }
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.release { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 40px; border: 1px solid var(--gold-mid); background: rgba(212, 175, 55, .08); font-family: var(--mono); font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-hi); box-shadow: 0 0 22px rgba(212, 175, 55, .18); }
.release i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 10px var(--gold-hi); animation: pulse 2.4s infinite; }

.frame { position: relative; border: 1px solid var(--line-strong); border-radius: 16px; background: #0a0806; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(212, 175, 55, .10); max-width: 100%; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(212, 175, 55, .04); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); }
.frame-bar span { margin-left: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img, .frame video { display: block; width: 100%; height: auto; background: #0a0806; }
.frame.tall img { max-height: 620px; object-fit: cover; object-position: top; }
.caption { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); margin: 12px 2px 0; line-height: 1.7; }

.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); background: rgba(10, 8, 5, .55); }
.stat-band div { padding: 30px 26px; border-left: 1px solid var(--line); }
.stat-band div:first-child { border-left: 0; }
.stat-band dt { font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-band dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.stat-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); padding: 14px 0 0; }

.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 46px 0; border-top: 1px dashed var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip > .feature-copy { order: 2; }
.feature-copy .step-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-mid); }
.feature-copy h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; text-transform: uppercase; line-height: 1.1; margin: 12px 0 16px; }
.feature-copy p { color: var(--ink-2); font-weight: 300; font-size: 16px; line-height: 1.8; margin: 0 0 14px; }
.feature-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature-copy li { color: var(--ink-2); font-size: 14.5px; padding-left: 22px; position: relative; }
.feature-copy li::before { content: "→"; position: absolute; left: 0; color: var(--gold-mid); font-family: var(--mono); }

.decisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.decision { padding: 28px 26px; }
.decision h3 { font-size: 18px; }
.decision p { font-size: 14px; }
.decision dl { margin: 14px 0 0; display: grid; gap: 10px; }
.decision dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-mid); }
.decision dd { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 8, 5, .5); }
.results { width: 100%; border-collapse: collapse; min-width: 640px; }
.results th, .results td { text-align: left; padding: 16px 22px; border-top: 1px solid var(--line); vertical-align: top; font-size: 14px; color: var(--ink-2); }
.results thead th { border-top: 0; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--dim); background: rgba(212, 175, 55, .04); }
.results td:first-child { color: var(--ink); font-weight: 600; }
.results td.num { font-size: 20px; font-weight: 600; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.next-cos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.next-co { display: flex; align-items: center; gap: 14px; padding: 20px; }
.next-co b { display: block; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.next-co span { font-size: 13px; color: var(--muted); }

@media (max-width: 1080px) {
  .page-hero { grid-template-columns: 1fr; padding-top: 130px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > .feature-copy { order: 0; }
  .decisions, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-strip, .facts, .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3), .stat-band div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3), .stat-band div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .decisions, .pillars, .markets, .media-grid, .next-cos, .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .co-logo.lg { width: 68px; height: 68px; }
}
@media (max-width: 460px) {
  .logo-strip, .facts, .stat-band { grid-template-columns: 1fr; }
  .facts div, .stat-band div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts div:first-child, .stat-band div:first-child { border-top: 0; }
}

/* mission and vision statements */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0 0 64px; }
.mv-card { padding: 38px 36px; }
.mv-card .pill { margin-bottom: 22px; }
.statement { font-size: clamp(22px, 2.3vw, 31px) !important; line-height: 1.32 !important; font-weight: 500 !important; color: var(--ink) !important; letter-spacing: .2px; margin: 0 !important; text-wrap: balance; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } .mv-card { padding: 28px 24px; } }

.creds { text-transform: none; font-weight: 500; color: var(--gold-hi); }

.co-logo.tight { padding: 6px; } .co-logo.sm.tight { padding: 4px; } .co-logo.lg.tight { padding: 10px; }

.ledger-row { grid-template-columns: 1fr 1.3fr 1.4fr 1.3fr .9fr; }
@media (max-width: 760px) { .ledger-row { grid-template-columns: 1fr; } }

/* gold standard lines and blocks */
.gs-line { font-size: 13.5px !important; color: var(--ink-2) !important; border-left: 2px solid var(--gold-mid); padding: 2px 0 2px 12px; margin: 4px 0 18px !important; line-height: 1.6 !important; }
.gs-line b { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 2px; }
.std-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.std { padding: 24px 22px; }
.std .std-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 12px; }
.std .std-k::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--grad); }
.std p { font-size: 14px; margin: 0; }
@media (max-width: 1080px) { .std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .std-grid { grid-template-columns: 1fr; } }

.nowrap { white-space: nowrap; }

.logo-strip small { display: block; font-size: 9.5px; letter-spacing: 1.6px; color: var(--gold-mid); margin-top: 2px; }

/* approach: centered steps and a centered pipeline with a glowing Au mark */
#approach .kicker, #approach .display, #approach .sub { text-align: center; margin-left: auto; margin-right: auto; justify-content: center; }
#approach .step { text-align: center; }
#approach .step-num { margin-left: auto; margin-right: auto; }
.pipeline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(40px, 1.2fr) auto minmax(40px, 1.2fr) minmax(0, 1fr); align-items: center; gap: 18px; max-width: 980px; margin: 64px auto 0; }
.pipe-label { text-align: center; }
.pipe-node { width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pipe-node svg { width: 64px; height: 64px; filter: drop-shadow(0 0 10px rgba(226, 190, 85, .65)) drop-shadow(0 0 26px rgba(212, 175, 55, .35)); animation: breathe 5s ease-in-out infinite; }
.pipe-node em { font-style: normal; color: var(--gold-hi); white-space: nowrap; }
@media (max-width: 760px) {
  .pipeline { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .pipeline .pipe { display: block; width: 1px; height: 26px; }
  .pipeline .pipe i { display: none; }
}

.founder-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 50%; border: 1px solid var(--line-strong); }

/* ---------- responsive hardening (device audit, Nov 2026) ---------- */
h1, h2, h3, .statement { overflow-wrap: break-word; }
/* grid tracks must be allowed to shrink below their content's width */
@media (max-width: 1080px) { .page-hero { grid-template-columns: minmax(0, 1fr); } .hero { grid-template-columns: minmax(0, 1fr); } }
/* WCAG 2.2 target size: text links at least 24px tall */
.link, .crumb a, .founder-links a { display: inline-block; padding-block: 6px; }
.footer-grid a:not(.brand) { display: block; width: fit-content; max-width: 100%; padding-block: 5px; margin-bottom: 4px; overflow-wrap: anywhere; }
/* small phones */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.4; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .display { font-size: clamp(27px, 8.4vw, 40px); }
  .page-hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .cta-title { font-size: clamp(34px, 11vw, 48px); }
  .stat-band dt, .facts dt { font-size: 26px; }
  .co { padding: 22px 18px; }
  .co-head { margin-bottom: 18px; }
  .card h3 { font-size: 19px; }
  .co h3 { font-size: 22px; }
  .release { font-size: 10.5px; letter-spacing: 1.6px; padding: 9px 14px; }
}
/* short landscape screens: don't pin the standard section */
@media (max-height: 640px) and (min-width: 901px) {
  .principles { height: auto; padding: 100px 0; }
  .pin { position: static; height: auto; display: block; }
  .pin-stage { display: block; min-height: 0; }
  .pin-slides { min-height: 0; display: grid; gap: 18px; }
  .slide { position: static; opacity: 1; transform: none; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
  .pin-numeral, .pin-index, .pin-progress { display: none; }
}
/* very wide screens: keep line lengths and the hero composed */
@media (min-width: 1800px) {
  :root { --max: 1360px; }
  .hero { max-width: 1560px; }
}
@media (max-width: 1080px) { .feature, .feature.flip, .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .cards, .steps, .grid6, .decisions, .pillars, .markets, .media-grid, .next-cos, .contact-grid, .mv, .std-grid, .founder { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .hero-title { font-size: clamp(28px, 9.4vw, 40px); } }

/* =========================================================
   Brand themes for company pages (own colors, Aurifex frame)
   ========================================================= */
body.theme-nightdrive { --gold: #d9343f; --gold-hi: #ef6a72; --gold-mid: #d9343f; --gold-lo: #a3222b; --line: rgba(217, 52, 63, .24); --line-strong: rgba(217, 52, 63, .58); --glow: rgba(217, 52, 63, .34); --grad: linear-gradient(92deg, #f19297 0%, #d9343f 52%, #a3222b 100%); }
body.theme-ranvier { --gold: #2ee6a6; --gold-hi: #8ff5d0; --gold-mid: #2ee6a6; --gold-lo: #1a9e73; --line: rgba(46, 230, 166, .2); --line-strong: rgba(46, 230, 166, .5); --glow: rgba(46, 230, 166, .3); --grad: linear-gradient(92deg, #b6fbe2 0%, #2ee6a6 50%, #1a9e73 100%); --bg: #050807; }
body.theme-bookloft { --gold: #d98a7e; --gold-hi: #f2c2b9; --gold-mid: #d98a7e; --gold-lo: #8c2f2b; --line: rgba(217, 138, 126, .22); --line-strong: rgba(217, 138, 126, .5); --glow: rgba(217, 138, 126, .3); --grad: linear-gradient(92deg, #f6e1d8 0%, #d98a7e 50%, #a8463f 100%); }
body.theme-ranvier { background: var(--bg); }
body[class*="theme-"] .brand-word { background: linear-gradient(92deg, #f7e3a1 0%, #e2be55 45%, #b8902f 100%); -webkit-background-clip: text; background-clip: text; }

/* =========================================================
   Ranvier interface mockups (net new, animated)
   ========================================================= */
.rv { --rv-bg: #0a0e0d; --rv-panel: #0f1614; --rv-line: rgba(46, 230, 166, .16); --rv-g: #2ee6a6; --rv-g2: #1a9e73; --rv-ink: #f2f7f5; --rv-mut: #8fa39b; --rv-warn: #f2c14e;
  background: var(--rv-bg); color: var(--rv-ink); font-family: Inter, "Chakra Petch", system-ui, sans-serif; font-size: 13px; line-height: 1.45; letter-spacing: 0; border-radius: 14px; overflow: hidden; }
.rv * { box-sizing: border-box; }
.rv-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--rv-line); flex-wrap: wrap; }
.rv-top img { width: 22px; height: 22px; }
.rv-top b { font-weight: 600; letter-spacing: .4px; }
.rv-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.rv-tabs span { padding: 5px 10px; border-radius: 20px; color: var(--rv-mut); font-size: 12px; }
.rv-tabs span.on { background: rgba(46, 230, 166, .12); color: var(--rv-g); }
.rv-days { margin-left: auto; font-size: 12px; color: var(--rv-mut); }
.rv-days strong { color: var(--rv-g); font-weight: 600; }
.rv-body { padding: 16px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.rv-card { background: var(--rv-panel); border: 1px solid var(--rv-line); border-radius: 12px; padding: 14px; min-width: 0; }
.rv-label { display: block; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--rv-mut); margin-bottom: 8px; }
.rv-big { font-size: 46px; font-weight: 700; line-height: 1; color: var(--rv-g); font-variant-numeric: tabular-nums; }
.rv-sub { color: var(--rv-mut); font-size: 12px; margin-top: 6px; }
.rv-spark { width: 100%; height: 54px; margin-top: 10px; }
.rv-spark polyline { fill: none; stroke: var(--rv-g); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; animation: rv-draw 3.2s ease-out infinite alternate; }
.rv-spark .tgt { stroke: var(--rv-mut); stroke-dasharray: 3 4; stroke-width: 1; animation: none; }
@keyframes rv-draw { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
.rv-sec { display: grid; grid-template-columns: 74px minmax(0, 1fr) 32px; align-items: center; gap: 8px; margin: 7px 0; font-size: 12px; }
.rv-sec .bar { height: 7px; background: rgba(255, 255, 255, .06); border-radius: 6px; overflow: hidden; }
.rv-sec .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--rv-g2), var(--rv-g)); border-radius: 6px; transform-origin: left; animation: rv-grow 2.4s cubic-bezier(.2,.7,.2,1) infinite alternate; }
.rv-sec .bar i.low { background: linear-gradient(90deg, #b98b1c, var(--rv-warn)); }
.rv-sec b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes rv-grow { from { transform: scaleX(.82); } to { transform: scaleX(1); } }
.rv-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rv-tasks li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; }
.rv-tasks li .ck { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--rv-mut); position: relative; }
.rv-tasks li.done .ck { border-color: var(--rv-g); background: var(--rv-g); }
.rv-tasks li.done .ck::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #062118; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rv-tasks li.now { border-color: var(--rv-line); background: rgba(46, 230, 166, .06); animation: rv-pulse 2.6s ease-in-out infinite; }
.rv-tasks li small { color: var(--rv-mut); font-size: 11px; display: block; }
.rv-tasks li em { font-style: normal; font-size: 11px; color: var(--rv-mut); white-space: nowrap; }
@keyframes rv-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } 50% { box-shadow: 0 0 0 4px rgba(46, 230, 166, .12); } }
.rv-why { margin-top: 10px; font-size: 12px; color: var(--rv-mut); border-top: 1px dashed var(--rv-line); padding-top: 9px; }
.rv-why b { color: var(--rv-ink); font-weight: 600; }
/* question + tutor */
.rv-q { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px; }
.rv-passage p { margin: 0 0 8px; color: #c9d6d1; font-size: 12.5px; }
.rv-passage mark { background: rgba(46, 230, 166, .18); color: var(--rv-ink); border-radius: 3px; padding: 0 2px; }
.rv-opts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.rv-opts li { padding: 8px 10px; border: 1px solid var(--rv-line); border-radius: 8px; font-size: 12.5px; }
.rv-opts li.wrong { border-color: rgba(242, 109, 109, .6); background: rgba(242, 109, 109, .08); }
.rv-opts li.right { border-color: var(--rv-g); background: rgba(46, 230, 166, .1); }
.rv-tutor { background: linear-gradient(180deg, rgba(46, 230, 166, .08), rgba(46, 230, 166, .02)); border: 1px solid var(--rv-line); border-radius: 12px; padding: 12px; }
.rv-tutor .who { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; }
.rv-tutor .who img { width: 18px; height: 18px; }
.rv-tutor p { margin: 0 0 8px; color: #d8e5e0; font-size: 12.5px; min-height: 1.4em; }
.rv-tutor .cite { font-size: 11px; color: var(--rv-mut); }
.rv-type::after { content: "▍"; color: var(--rv-g); animation: rv-blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes rv-blink { 50% { opacity: 0; } }
/* weak-spot map */
.rv-map { padding: 16px; }
.rv-heat { display: grid; grid-template-columns: 70px repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; font-size: 11px; }
.rv-heat span { color: var(--rv-mut); }
.rv-heat i { display: block; height: 22px; border-radius: 5px; background: rgba(46, 230, 166, var(--m)); border: 1px solid rgba(46, 230, 166, .12); }
.rv-heat i.weak { background: rgba(242, 193, 78, .55); border-color: rgba(242, 193, 78, .7); animation: rv-weak 2.2s ease-in-out infinite; }
@keyframes rv-weak { 50% { box-shadow: 0 0 0 3px rgba(242, 193, 78, .18); } }
.rv-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 11px; color: var(--rv-mut); flex-wrap: wrap; }
.rv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
/* pacing */
.rv-pace { padding: 16px; }
.rv-bars { display: flex; align-items: flex-end; gap: 5px; height: 120px; position: relative; padding-top: 6px; border-bottom: 1px solid var(--rv-line); }
.rv-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--rv-g), var(--rv-g2)); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: rv-rise 2.6s cubic-bezier(.2,.7,.2,1) infinite alternate; }
.rv-bars i.slow { background: linear-gradient(180deg, var(--rv-warn), #b98b1c); }
.rv-bars .tline { position: absolute; left: 0; right: 0; bottom: 62%; border-top: 1px dashed var(--rv-mut); }
.rv-bars .tline span { position: absolute; right: 0; top: -16px; font-size: 10px; color: var(--rv-mut); }
@keyframes rv-rise { from { transform: scaleY(.86); } to { transform: scaleY(1); } }
@media (max-width: 760px) { .rv-body, .rv-q { grid-template-columns: minmax(0, 1fr); } .rv-days { margin-left: 0; width: 100%; } .rv-heat { grid-template-columns: 54px repeat(6, minmax(0, 1fr)); } }

/* =========================================================
   Bookloft: scan-a-whole-bookcase animation (net new)
   ========================================================= */
.bl { --bl-bg: #16130f; --bl-panel: #1f1a15; --bl-ink: #f6f1e7; --bl-mut: #a89c8b; --bl-ox: #8c2f2b; --bl-rose: #d98a7e; --bl-line: rgba(246, 241, 231, .1);
  background: var(--bl-bg); color: var(--bl-ink); border-radius: 14px; overflow: hidden; font-family: Georgia, "Times New Roman", serif; }
.bl-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--bl-line); font-family: system-ui, sans-serif; font-size: 12px; color: var(--bl-mut); flex-wrap: wrap; }
.bl-top img { width: 20px; height: 20px; }
.bl-top strong { color: var(--bl-ink); font-family: Georgia, serif; font-size: 14px; }
.bl-top .rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--bl-rose); }
.bl-top .rec i { width: 8px; height: 8px; border-radius: 50%; background: #e5534b; animation: pulse 1.2s infinite; }
.bl-stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; }
.bl-cam { position: relative; padding: 16px 14px 12px; background: radial-gradient(120% 90% at 50% 0%, #2a221a, #120f0c); overflow: hidden; }
.bl-shelf { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 0 6px; border-bottom: 8px solid #4a3524; box-shadow: 0 6px 0 #2e2116; }
.bl-shelf + .bl-shelf { margin-top: 16px; }
.bl-spine { position: relative; flex: 0 0 auto; width: var(--w); height: var(--h); background: var(--c); border-radius: 2px 2px 0 0; box-shadow: inset -3px 0 0 rgba(0,0,0,.25), inset 2px 0 0 rgba(255,255,255,.06);
  writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; letter-spacing: .5px; color: rgba(255,255,255,.82); padding: 6px 0; text-align: center; overflow: hidden; white-space: nowrap; }
.bl-spine::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--bl-rose); border-radius: 3px; opacity: 0; animation: bl-hit 12s linear infinite; animation-delay: var(--t); }
@keyframes bl-hit { 0%, 2% { opacity: 0; } 3%, 7% { opacity: 1; box-shadow: 0 0 12px rgba(217,138,126,.8); } 9%, 100% { opacity: 0; } }
.bl-beam { position: absolute; top: 8px; bottom: 8px; width: 3px; left: 0; background: linear-gradient(180deg, transparent, rgba(217,138,126,.95), transparent); box-shadow: 0 0 18px 4px rgba(217,138,126,.45); animation: bl-sweep 12s linear infinite; }
@keyframes bl-sweep { 0% { left: 2%; } 45% { left: 97%; } 50% { left: 97%; opacity: 0; } 51% { left: 2%; opacity: 0; } 55% { opacity: 1; left: 2%; } 100% { left: 97%; } }
.bl-frame { position: absolute; inset: 8px; border: 1px solid rgba(246,241,231,.18); border-radius: 10px; pointer-events: none; }
.bl-frame::before, .bl-frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--bl-rose); }
.bl-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.bl-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.bl-cap { font-family: system-ui, sans-serif; font-size: 11px; color: var(--bl-mut); margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bl-list { padding: 14px; border-left: 1px solid var(--bl-line); font-family: system-ui, sans-serif; min-width: 0; }
.bl-count { display: flex; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.bl-count div { font-size: 11px; color: var(--bl-mut); }
.bl-count b { display: block; font-family: Georgia, serif; font-size: 22px; color: var(--bl-ink); font-weight: 700; }
.bl-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bl-rows li { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 9px; border-radius: 8px; background: var(--bl-panel); border: 1px solid var(--bl-line); font-size: 12px; opacity: 1; animation: bl-row 12s ease infinite; animation-delay: var(--t); }
.bl-rows li::before { content: ""; width: 6px; height: 26px; border-radius: 2px; background: var(--c); }
.bl-rows li b { display: block; font-family: Georgia, serif; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-rows li span { color: var(--bl-mut); font-size: 11px; }
.bl-rows li em { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 10px; background: rgba(140,47,43,.35); color: #f2c2b9; white-space: nowrap; }
.bl-rows li em.chk { background: rgba(242,193,78,.18); color: #f2c14e; }
@keyframes bl-row { 0%, 2% { background: var(--bl-panel); transform: none; } 3% { background: rgba(217,138,126,.18); transform: translateX(-4px); } 8%, 100% { background: var(--bl-panel); transform: none; } }
@media (max-width: 760px) { .bl-stage { grid-template-columns: minmax(0, 1fr); } .bl-list { border-left: 0; border-top: 1px solid var(--bl-line); } .bl-shelf { height: 120px; } }

/* Nightdrive Highbeam chat (net new animation) */
.hb { font-family: system-ui, sans-serif; }
.hb-line { display: flex; gap: 10px; margin: 0 0 12px; align-items: flex-start; }
.hb-line .who { flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); width: 60px; padding-top: 3px; }
.hb-line .msg { color: var(--ink); font-size: 14px; line-height: 1.55; min-height: 1.55em; }
.hb-line.you .msg { color: var(--gold-hi); font-family: var(--mono); letter-spacing: .4px; }
.hb-chain { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px 70px; }
.hb-chain span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; padding: 4px 9px; border-radius: 20px; border: 1px solid var(--line-strong); color: var(--gold-hi); animation: hb-pop 6s ease infinite; animation-delay: var(--t); }
@keyframes hb-pop { 0%, 30% { box-shadow: none; } 34% { box-shadow: 0 0 14px var(--glow); background: rgba(255,77,87,.12); } 45%, 100% { box-shadow: none; background: transparent; } }
.hb-wave { display: flex; align-items: center; gap: 3px; height: 46px; margin: 4px 0 0 70px; }
.hb-wave i { flex: 1; max-width: 6px; height: var(--h); background: var(--grad); border-radius: 3px; animation: hb-wave 1.4s ease-in-out infinite; animation-delay: var(--t); }
@keyframes hb-wave { 50% { transform: scaleY(.45); } }
@media (max-width: 480px) { .hb-chain, .hb-wave { margin-left: 0; } .hb-line .who { width: 46px; } }
.link-row { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0 0; }
.media-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* v16 polish */
.bl-stage { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
.bl-cam { display: flex; flex-direction: column; justify-content: center; }
.bl-count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bl-count div { font-size: 10px; line-height: 1.3; }
.bl-count b { font-size: 20px; }
.rv-tutor p[data-type] { min-height: 7.2em; }
.hb-line .msg[data-type] { min-height: 3.1em; }
@media (max-width: 760px) { .bl-stage { grid-template-columns: minmax(0, 1fr); } }

/* six companies */
.logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-head { display: flex; align-items: baseline; gap: 16px; margin: 46px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 400; }
.group-head .status { font-size: 12.5px; letter-spacing: 2.6px; color: var(--gold-hi); }
.group-head small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.cards.single { grid-template-columns: minmax(0, 1fr); }
.cards.single .co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; align-items: start; }
.cards.single .co > * { grid-column: 1; }
.cards.single .co > .stats, .cards.single .co > .fine, .cards.single .co > .gs-line, .cards.single .co > .co-foot { grid-column: 2; }
.cards.single .co > .stats { grid-row: 1 / span 2; align-self: end; margin-top: 0; }
.cards.single .co > .fine { grid-row: 3; }
.cards.single .co > .gs-line { grid-row: 4; }
.cards.single .co > .co-foot { grid-row: 5; margin-top: 0; }
.cards.single .co > .co-brand + p { grid-row: 3 / span 3; }
.sat i { width: 46px; height: 46px; }
.bl-spine { flex: 1 1 var(--w); min-width: 0; }
@media (max-width: 1080px) { .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards.single .co { display: flex; } }
@media (max-width: 460px) { .logo-strip { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .sat i { width: 34px; height: 34px; } .group-head { flex-wrap: wrap; gap: 6px; } }
@media (min-width: 1081px) and (max-width: 1250px) { .nav-links a { padding: 8px 10px; letter-spacing: 1.6px; } }

.hero { overflow-x: clip; }
.satellites { clip-path: circle(56%); }

/* ---------- Ranvier round-1 review changes ---------- */
.note { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 14px 0 22px; max-width: 520px; }
.caption { color: var(--muted); }
/* animations play once when the mockup scrolls into view, then hold */
.rv-spark polyline, .rv-sec .bar i, .rv-bars i { animation-iteration-count: 1; animation-direction: normal; animation-fill-mode: both; animation-play-state: paused; }
.rv.live .rv-spark polyline, .rv.live .rv-sec .bar i, .rv.live .rv-bars i { animation-play-state: running; }
.rv-spark .tgt { animation: none; }
.rv-tasks li.now { animation-iteration-count: 3; }
.rv-heat i.weak, .rv-row .cells i.weak { animation-iteration-count: 3; }
.rv-tutor p.next { color: var(--rv-mut); min-height: 0; }
.rv-tutor p[data-type] { min-height: 5.8em; }
.rv-q2 { border-top: 1px solid var(--rv-line); border-radius: 0; }
.rv sub { font-size: .75em; }
/* weak-spot map by AAMC category */
.rv-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; align-items: center; margin: 6px 0; font-size: 11px; }
.rv-row > span { color: var(--rv-mut); }
.rv-row .cells { display: flex; gap: 4px; min-width: 0; }
.rv-row .cells i { flex: 1 1 0; min-width: 0; height: 24px; border-radius: 5px; background: rgba(46, 230, 166, var(--m)); border: 1px solid rgba(46, 230, 166, .12); font-style: normal; font-size: 9.5px; color: rgba(6, 33, 24, .9); display: grid; place-items: center; overflow: hidden; white-space: nowrap; font-weight: 600; }
.rv-row .cells i.weak { background: rgba(242, 193, 78, .7); border-color: rgba(242, 193, 78, .9); animation: rv-weak 2.2s ease-in-out 3; }
.rv-row .cells.wide i { font-size: 10.5px; }
/* weekly plan */
.rv-plan { padding: 16px; }
.rv-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px; }
.rv-week div { display: grid; grid-template-rows: auto 1fr auto; gap: 5px; height: 100%; text-align: center; font-size: 11px; color: var(--rv-mut); }
.rv-week i { align-self: end; display: block; height: var(--h); min-height: 3px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--rv-g), var(--rv-g2)); }
.rv-week b { font-weight: 600; color: var(--rv-ink); font-size: 11px; }
.rv-week .missed i { background: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 4px, transparent 4px 8px); border: 1px dashed var(--rv-mut); }
.rv-week .missed b { color: var(--rv-mut); font-weight: 400; }
.rv-week .moved i { box-shadow: 0 0 0 2px rgba(242, 193, 78, .55); }
.rv-bars i b { position: absolute; top: -16px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--rv-warn); font-weight: 600; }
.rv-bars i { position: relative; }
.rv-bars { margin-top: 18px; }
@media (max-width: 760px) { .rv-row { grid-template-columns: 62px minmax(0, 1fr); } .rv-row .cells i { font-size: 8px; } .rv-row .cells.wide { flex-direction: column; } .rv-row .cells.wide i { flex: none; width: 100%; } }

.rv-tutor .who small { font-weight: 400; font-size: 10.5px; color: var(--rv-mut); letter-spacing: .6px; text-transform: uppercase; margin-left: 2px; }

/* ---------- designer and visitor panel, round 1 ---------- */
/* disclosures: readable size, sentence case, AA contrast */
.caption, .stat-note, .fine, .market .src { font-family: var(--display); text-transform: none; letter-spacing: .2px; font-size: 12.5px !important; line-height: 1.55 !important; color: var(--muted) !important; }
.anim-toggle { font: inherit; font-size: 11.5px; color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 20px; padding: 4px 12px; cursor: pointer; min-height: 26px; }
.anim-toggle:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.bl .anim-toggle { color: var(--bl-mut); border-color: var(--bl-line); }
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
.how3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 28px; }
.how3 b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold-hi); font-family: var(--mono); font-weight: 400; margin-bottom: 12px; }
.how3 h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.how3 p { margin: 0; font-size: 14px; }
@media (max-width: 560px) { .how3 { grid-template-columns: minmax(0, 1fr); } }
/* Bookloft scan: one sweep per 12 s loop; rows appear as their spine is read and stay */
.bl-beam { animation: bl-sweep1 12s linear infinite; }
@keyframes bl-sweep1 { 0% { left: 2%; opacity: 0; } 2% { opacity: 1; } 45% { left: 97%; opacity: 1; } 48%, 100% { left: 97%; opacity: 0; } }
.bl-rows li { animation: bl-row1 12s ease infinite; animation-delay: var(--t); }
@keyframes bl-row1 { 0% { opacity: 0; transform: translateY(6px); background: rgba(217,138,126,.22); } 4% { opacity: 1; transform: none; background: rgba(217,138,126,.22); } 12% { background: var(--bl-panel); } 72% { opacity: 1; } 78%, 100% { opacity: 0; } }
.bl-spine::after { animation: bl-hit1 12s linear infinite; animation-delay: var(--t); }
@keyframes bl-hit1 { 0% { opacity: 1; box-shadow: 0 0 12px rgba(217,138,126,.8); } 5% { opacity: 1; } 8%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bl-rows li { opacity: 1 !important; } }
.hb-chain span { animation: none; }
.hb-chain span.pop { animation: hb-pop1 .9s ease 1; }
@keyframes hb-pop1 { 0% { box-shadow: 0 0 14px var(--glow); background: rgba(255,77,87,.18); transform: scale(1.06); } 100% { box-shadow: none; background: transparent; transform: none; } }

/* ---------- Bookloft: how the scan works (four animated mockups) ---------- */
.scanflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sf { padding: 18px 18px 22px; display: flex; flex-direction: column; }
.sf-mock { height: 230px; border-radius: 12px; margin-bottom: 18px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 14px; font-family: system-ui, sans-serif; }
.sf-n { font-family: var(--mono); font-size: 12px; color: var(--gold-hi); border: 1px solid var(--line-strong); border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 10px; }
.sf h3 { font-size: 18px; margin-bottom: 8px; }
.sf p { font-size: 14px; margin: 0; }
.bs { display: block; flex: 0 0 auto; width: var(--w); height: var(--h); background: var(--c); border-radius: 2px 2px 0 0; box-shadow: inset -3px 0 0 rgba(0,0,0,.25), inset 2px 0 0 rgba(255,255,255,.07); position: relative; }
/* 1 film */
.sf-phone { width: 128px; height: 204px; border-radius: 20px; border: 2px solid rgba(246,241,231,.35); background: #0d0b09; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.sf-view { position: absolute; inset: 26px 6px 30px; overflow: hidden; border-radius: 6px; background: radial-gradient(120% 90% at 50% 0%, #2a221a, #120f0c); border-bottom: 5px solid #4a3524; }
.sf-pan { display: flex; align-items: flex-end; gap: 2px; height: 100%; width: max-content; padding: 0 4px; animation: sf-pan 9s ease-in-out infinite alternate; }
@keyframes sf-pan { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 116px)); } }
.sf-rec { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-size: 8.5px; letter-spacing: .4px; color: #f2c2b9; }
.sf-rec i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e5534b; margin-right: 4px; animation: pulse 1.2s infinite; }
.sf-guide { position: absolute; inset: 34px 14px 38px; border: 1.5px dashed rgba(217,138,126,.8); border-radius: 5px; }
.sf-hint { position: absolute; bottom: 9px; left: 0; right: 0; text-align: center; font-size: 8px; color: var(--bl-mut); }
/* 2 detect */
.sf-detect { display: flex; align-items: flex-end; gap: 4px; height: 150px; width: 100%; justify-content: center; border-bottom: 6px solid #4a3524; padding: 0 4px; }
.sf-detect .bs { flex: 1 1 var(--w); max-width: 22px; min-width: 0; }
.bs.box::after { content: ""; position: absolute; inset: -3px; border: 1.5px solid var(--bl-rose); border-radius: 3px; opacity: 0; animation: sf-box 8s ease infinite; animation-delay: var(--d); }
@keyframes sf-box { 0% { opacity: 0; transform: scale(1.15); } 4% { opacity: 1; transform: none; box-shadow: 0 0 10px rgba(217,138,126,.7); } 10% { box-shadow: none; } 80% { opacity: 1; } 88%, 100% { opacity: 0; } }
.sf-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 11.5px; color: var(--bl-mut); }
.sf-count b { color: var(--bl-ink); font-family: Georgia, serif; font-size: 15px; margin-right: 3px; }
/* 3 match */
.sf-match { display: grid; gap: 10px; width: 100%; justify-items: center; }
.sf-crop { width: 100%; max-width: 210px; height: 30px; border-radius: 3px; background: linear-gradient(90deg, #5b3a29, #6d4733); display: grid; place-items: center; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); overflow: hidden; position: relative; }
.sf-crop span { font-family: Georgia, serif; font-size: 9.5px; letter-spacing: 1.2px; color: rgba(255,255,255,.88); white-space: nowrap; }
.sf-crop::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26px; background: linear-gradient(90deg, transparent, rgba(217,138,126,.55), transparent); animation: sf-read 3.2s linear infinite; }
@keyframes sf-read { from { left: -30px; } to { left: 100%; } }
.sf-crop.sm { max-width: 120px; height: 26px; background: linear-gradient(90deg, #a0652b, #b3783a); }
.sf-crop.sm::after { display: none; }
.sf-arrow { width: 1.5px; height: 16px; background: var(--bl-rose); position: relative; }
.sf-arrow::after { content: ""; position: absolute; bottom: -1px; left: -4px; border: 5px solid transparent; border-top-color: var(--bl-rose); border-bottom: 0; }
.sf-rec2 { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; width: 100%; background: var(--bl-panel); border: 1px solid var(--bl-line); border-radius: 9px; padding: 9px; text-align: left; }
.sf-cover { height: 46px; border-radius: 3px; background: #5b3a29; display: grid; place-items: center; font-family: Georgia, serif; color: #f6f1e7; font-weight: 700; }
.sf-rec2 b { display: block; font-family: Georgia, serif; font-size: 13px; }
.sf-rec2 span { display: block; font-size: 10.5px; color: var(--bl-mut); line-height: 1.35; }
.sf-rec2 em { display: block; font-style: normal; font-size: 9.5px; color: #f2c2b9; margin-top: 3px; }
.sf-conf { height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 6px; overflow: hidden; }
.sf-conf i { display: block; height: 100%; width: 97%; background: linear-gradient(90deg, var(--bl-ox), var(--bl-rose)); transform-origin: left; animation: sf-conf 3.2s ease infinite; }
@keyframes sf-conf { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
/* 4 check */
.sf-check { display: grid; gap: 12px; width: 100%; }
.sf-q { display: grid; gap: 8px; background: var(--bl-panel); border: 1px solid var(--bl-line); border-radius: 9px; padding: 10px; text-align: left; }
.sf-q b { font-family: Georgia, serif; font-size: 12.5px; display: block; margin-bottom: 7px; }
.sf-btns { display: flex; gap: 6px; }
.sf-btns span { font-size: 10.5px; padding: 3px 10px; border-radius: 12px; border: 1px solid var(--bl-line); color: var(--bl-mut); }
.sf-btns .yes { background: var(--bl-ox); color: #f6f1e7; border-color: transparent; animation: sf-yes 4s ease infinite; }
@keyframes sf-yes { 0%, 40%, 100% { box-shadow: none; transform: none; } 50% { box-shadow: 0 0 0 4px rgba(217,138,126,.3); transform: scale(1.07); } }
.sf-done { font-size: 11px; color: var(--bl-mut); display: flex; align-items: center; gap: 7px; }
.sf-done span { width: 14px; height: 14px; border-radius: 50%; background: var(--bl-rose); position: relative; flex: none; }
.sf-done span::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3.5px; height: 7px; border: solid #16130f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sf-shelves { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.sf-shelves i { font-style: normal; font-size: 10px; color: var(--bl-ink); text-align: center; padding: 6px 0; border-radius: 5px; border: 1px solid var(--bl-line); background: linear-gradient(0deg, rgba(140,47,43,.75) var(--f), transparent var(--f)); }
@media (max-width: 1080px) { .scanflow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .scanflow { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Nightdrive live player mockup (song playing) ---------- */
.nd { --nd-red: #ff4d57; --nd-fill: #d9343f; --nd-ink: #f3eee3; --nd-mut: #9b948a; --nd-line: rgba(243, 238, 227, .1); background: #0b0b0c; color: var(--nd-ink); font-family: Barlow, system-ui, sans-serif; font-size: 12px; padding: 14px; display: grid; gap: 10px; }
.nd-top { display: flex; align-items: center; gap: 9px; }
.nd-top img { width: 22px; height: 22px; }
.nd-top b { font-family: Michroma, "Chakra Petch", sans-serif; font-weight: 400; letter-spacing: 2px; font-size: 11px; }
.nd-modes { margin-left: auto; display: flex; border: 1px solid var(--nd-line); border-radius: 20px; padding: 2px; }
.nd-modes span { padding: 3px 10px; border-radius: 20px; color: var(--nd-mut); font-size: 11px; }
.nd-modes .on { background: var(--nd-fill); color: #fff; }
.nd-card { border: 1px solid var(--nd-line); border-radius: 12px; padding: 12px; background: #111113; min-width: 0; }
.nd-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.nd-step { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--nd-red); color: var(--nd-red); display: grid; place-items: center; font-size: 10px; }
.nd-player { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.nd-play { width: 34px; height: 34px; border-radius: 50%; background: var(--nd-fill); position: relative; flex: none; box-shadow: 0 0 0 0 rgba(255,77,87,.5); animation: nd-beat 1.6s ease-out infinite; }
.nd-play::before, .nd-play::after { content: ""; position: absolute; top: 11px; width: 4px; height: 12px; background: #fff; border-radius: 1px; }
.nd-play::before { left: 11px; } .nd-play::after { right: 11px; }
@keyframes nd-beat { 0% { box-shadow: 0 0 0 0 rgba(255,77,87,.45); } 100% { box-shadow: 0 0 0 10px rgba(255,77,87,0); } }
.nd-meta b { display: block; font-weight: 600; font-size: 13px; }
.nd-meta span { color: var(--nd-mut); font-family: "DM Mono", var(--mono); font-size: 11px; }
.nd-meta em { font-style: normal; color: var(--nd-ink); font-variant-numeric: tabular-nums; }
.nd-wave { position: relative; height: 56px; border-radius: 8px; background: #0b0b0c; border: 1px solid var(--nd-line); overflow: hidden; }
.nd-bars { position: absolute; inset: 6px 8px; display: flex; align-items: center; gap: 2px; }
.nd-bars i { flex: 1; height: var(--h); background: #4a4744; border-radius: 2px; min-width: 1px; }
.nd-bars.played i { background: var(--nd-red); }
.nd-bars.played { clip-path: inset(0 100% 0 0); animation: nd-played 27s linear infinite; }
@keyframes nd-played { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.nd-head { position: absolute; top: 3px; bottom: 3px; width: 2px; background: #fff; border-radius: 2px; left: 8px; box-shadow: 0 0 8px rgba(255,255,255,.7); animation: nd-head 27s linear infinite; }
@keyframes nd-head { from { left: 8px; } to { left: calc(100% - 10px); } }
.nd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nd-tile { border: 1px solid var(--nd-line); border-radius: 8px; padding: 7px 8px; min-width: 0; }
.nd-tile b { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-tile span { display: block; color: var(--nd-mut); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-tile.on { border-color: var(--nd-red); background: rgba(255, 77, 87, .1); }
.nd-tile.on b { color: var(--nd-red); }
.nd-sl { display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; gap: 8px; align-items: center; margin: 6px 0; color: var(--nd-mut); font-size: 11px; }
.nd-sl div { height: 4px; border-radius: 4px; background: #2a2826; position: relative; }
.nd-sl div i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--nd-red); border-radius: 4px; }
.nd-sl div i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.nd-sl b { color: var(--nd-ink); font-family: "DM Mono", var(--mono); font-weight: 400; text-align: right; }
@media (max-width: 480px) { .nd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nd-modes span { padding: 3px 7px; } }
/* Highbeam waveform also plays through */
.hb-wave { position: relative; }
.hb-wave::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.7); left: 0; animation: hb-head 14s linear infinite; }
@keyframes hb-head { from { left: 0; } to { left: 100%; } }

/* ================= Ranvier v2: differentiators ================= */
.diff { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.diff-c { padding: 22px 20px; display: block; }
.diff-c b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--gold-mid); letter-spacing: 2px; }
.diff-c h3 { font-size: 17px; margin: 10px 0 8px; }
.diff-c p { font-size: 13.5px; margin: 0; }
ul.modes { display: grid; gap: 10px; }
ul.modes li { padding-left: 0 !important; font-size: 14.5px; }
ul.modes li::before { display: none; }
ul.modes b { display: inline-block; min-width: 96px; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-hi); }
.rv-diag, .rv-miss, .rv-tune, .rv-node, .rv-stam, .rv-axon { padding: 16px; }
/* adaptive staircase */
.rv-stair { width: 100%; height: 86px; display: block; }
.rv-stair polyline, .rv-curve polyline { fill: none; stroke: var(--rv-g); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 900; stroke-dashoffset: 900; animation: rv-trace 3.6s ease-out 1 forwards; animation-play-state: paused; }
.rv.live .rv-stair polyline, .rv.live .rv-curve polyline { animation-play-state: running; }
@keyframes rv-trace { to { stroke-dashoffset: 0; } }
.rv-stair .tgt, .rv-curve .tgt { stroke: var(--rv-mut); stroke-dasharray: 3 4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rv-settle { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rv-g); margin: 8px 0 14px; }
.rv-settle i { width: 8px; height: 8px; border-radius: 50%; background: var(--rv-g); box-shadow: 0 0 10px var(--rv-g); }
.rv-sig { display: grid; grid-template-columns: 78px repeat(3, minmax(0, 1fr)); gap: 5px 6px; align-items: center; font-size: 11px; }
.rv-sig span { color: var(--rv-mut); }
.rv-sig em { font-style: normal; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--rv-mut); text-align: center; }
.rv-sig i { display: block; height: 20px; border-radius: 5px; background: rgba(46, 230, 166, var(--m)); border: 1px solid rgba(46, 230, 166, .12); }
.rv-sig i.weak { background: rgba(242, 193, 78, .7); border-color: rgba(242, 193, 78, .9); animation: rv-weak 2.2s ease-in-out 3; }
/* miss fingerprint */
.rv-fp { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 38px; gap: 10px; align-items: center; margin: 9px 0; font-size: 12px; }
.rv-fp span { color: #c9d6d1; }
.rv-fp .bar { height: 10px; background: rgba(255, 255, 255, .06); border-radius: 6px; overflow: hidden; }
.rv-fp .bar i { display: block; height: 100%; width: calc(var(--w) * 2.4); max-width: 100%; background: linear-gradient(90deg, var(--rv-g2), var(--rv-g)); border-radius: 6px; transform-origin: left; animation: rv-grow0 1.6s cubic-bezier(.2,.7,.2,1) 1 both; animation-play-state: paused; }
.rv-fp .bar i.low { background: linear-gradient(90deg, #b98b1c, var(--rv-warn)); }
.rv.live .rv-fp .bar i { animation-play-state: running; }
@keyframes rv-grow0 { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rv-fp b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
/* axon path */
.ax { position: relative; display: flex; align-items: flex-start; padding: 34px 6px 8px; }
.ax-node { flex: 0 0 auto; width: 62px; text-align: center; position: relative; z-index: 1; }
.ax-node i { display: block; width: 14px; height: 14px; margin: 0 auto 8px; border-radius: 50%; background: var(--rv-bg); border: 2px solid var(--rv-mut); }
.ax-node.done i { border-color: var(--rv-g); background: var(--rv-g); box-shadow: 0 0 10px rgba(46, 230, 166, .6); }
.ax-node.now i { border-color: var(--rv-g); background: var(--rv-bg); box-shadow: 0 0 0 4px rgba(46, 230, 166, .25), 0 0 16px var(--rv-g); animation: rv-pulse 2.4s ease-in-out infinite; }
.ax-node.goal i { border-color: var(--rv-warn); border-radius: 3px; transform: rotate(45deg); }
.ax-node b { display: block; font-size: 15px; font-weight: 700; color: var(--rv-ink); font-variant-numeric: tabular-nums; }
.ax-node.goal b { color: var(--rv-warn); }
.ax-node span { display: block; font-size: 10px; line-height: 1.3; color: var(--rv-mut); margin-top: 3px; }
.ax-seg { flex: 1 1 0; min-width: 14px; height: 10px; margin-top: 2px; border-radius: 6px; background: linear-gradient(90deg, var(--rv-g2), var(--rv-g)); position: relative; opacity: .9; }
.ax-seg.todo { background: rgba(255, 255, 255, .1); }
.ax-seg.leap { background: none; border-top: 2px dashed var(--rv-g); border-radius: 0; height: 0; margin-top: 6px; }
.ax-seg.leap::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 24px; border: 2px solid var(--rv-g); border-bottom: 0; border-radius: 60px 60px 0 0; opacity: .8; }
.ax-seg em { position: absolute; left: 50%; top: -44px; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 9.5px; color: var(--rv-g); letter-spacing: .3px; }
.ax-pulse { position: absolute; top: 34px; left: 31px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px rgba(46, 230, 166, .9); z-index: 2; opacity: 0; animation: ax-run 7s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes ax-run { 0% { left: 31px; opacity: 0; } 4% { opacity: 1; } 16% { left: calc(31px + (100% - 74px) * .167); } 32% { left: calc(31px + (100% - 74px) * .333); } 48% { left: calc(31px + (100% - 74px) * .5); } 64% { left: calc(31px + (100% - 74px) * .667); opacity: 1; } 72%, 100% { left: calc(31px + (100% - 74px) * .667); opacity: 0; } }
/* tune */
.rv-set { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 10px 0; font-size: 12px; color: var(--rv-mut); }
.rv-set b { color: var(--rv-g); font-size: 15px; font-variant-numeric: tabular-nums; }
.rv-slider { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .1); position: relative; }
.rv-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: 77%; border-radius: 5px; background: linear-gradient(90deg, var(--rv-g2), var(--rv-g)); animation: rv-slide 2.4s cubic-bezier(.2,.7,.2,1) 1 both; animation-play-state: paused; }
.rv-slider i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(46, 230, 166, .8); }
.rv.live .rv-slider i { animation-play-state: running; }
@keyframes rv-slide { from { width: 62%; } to { width: 77%; } }
.rv-seg3 { display: flex; gap: 4px; flex-wrap: wrap; grid-column: 2 / -1; }
.rv-seg3 em { font-style: normal; padding: 5px 11px; border-radius: 20px; border: 1px solid var(--rv-line); color: var(--rv-mut); font-size: 11.5px; }
.rv-seg3 em.on { background: rgba(46, 230, 166, .14); border-color: var(--rv-g); color: var(--rv-g); }
.rv-toggles { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 2px; }
.rv-toggles span { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--rv-ink); padding: 5px 10px 5px 6px; border-radius: 20px; background: rgba(255, 255, 255, .04); }
.rv-toggles i { width: 24px; height: 14px; border-radius: 10px; background: var(--rv-g); position: relative; }
.rv-toggles i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #062118; }
/* node sessions */
.rv-modes { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.rv-modes span { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--rv-line); color: var(--rv-mut); font-size: 12px; }
.rv-modes span.on { background: var(--rv-g); color: #062118; border-color: var(--rv-g); font-weight: 600; }
.rv-session { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; }
.rv-chat { background: linear-gradient(180deg, rgba(46, 230, 166, .08), rgba(46, 230, 166, .02)); border: 1px solid var(--rv-line); border-radius: 12px; padding: 12px; }
.rv-chat .who { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; }
.rv-chat .who img { width: 18px; height: 18px; }
.rv-chat p { margin: 0 0 8px; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; }
.rv-chat p.n { background: rgba(255, 255, 255, .05); color: #d8e5e0; margin-right: 14px; min-height: 0; }
.rv-chat p.y { background: rgba(46, 230, 166, .16); color: var(--rv-ink); margin-left: 34px; text-align: right; }
.rv-chat p[data-type] { min-height: 4.6em; }
/* stamina */
.rv-curve { width: 100%; height: 120px; display: block; }
.rv-curve .dip { fill: rgba(242, 193, 78, .12); }
.rv-curve .brk line { stroke: rgba(255, 255, 255, .12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rv-secs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; font-size: 11px; color: var(--rv-mut); text-align: center; }
.rv-secs b { display: block; color: var(--rv-ink); font-size: 14px; }
.rv-secs .low b { color: var(--rv-warn); }
@media (max-width: 1080px) { .diff { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .diff { grid-template-columns: minmax(0, 1fr); }
  .rv-session { grid-template-columns: minmax(0, 1fr); }
  .ax { flex-direction: column; align-items: stretch; padding: 4px 0; gap: 0; }
  .ax-node { width: auto; display: grid; grid-template-columns: 22px 48px minmax(0, 1fr); align-items: center; text-align: left; gap: 8px; padding: 4px 0; }
  .ax-node i { margin: 0; } .ax-node span { margin: 0; font-size: 11.5px; }
  .ax-seg, .ax-seg.leap { flex: none; width: 4px; height: 22px; margin: 0 0 0 5px; border: 0; border-radius: 3px; }
  .ax-seg.leap { background: repeating-linear-gradient(180deg, var(--rv-g) 0 4px, transparent 4px 8px); }
  .ax-seg.leap::before { display: none; }
  .ax-seg em { left: 22px; top: 3px; transform: none; }
  .ax-pulse { display: none; }
  .rv-set { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .rv-fp { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 34px; }
}

ul.modes li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: baseline; }

/* ===== Portfolio outlook chart ===== */
.outlook { --s-veritas:#9085e9; --s-goldsmith:#c98500; --s-ranvier:#199e70; --s-nightdrive:#e66767; --s-healthcare:#3987e5; --s-bookloft:#d55181; --s-truefill:#d6762e;
  margin-top: 72px; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3.4vw, 40px);
  background: radial-gradient(120% 80% at 0% 0%, rgba(212,175,55,.07), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.015), rgba(0,0,0,0)); position: relative; overflow: hidden; }
.outlook::before { content:""; position:absolute; inset:0; pointer-events:none; background-image: linear-gradient(rgba(212,175,55,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(212,175,55,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(90% 70% at 30% 20%, #000, transparent); }
.outlook > * { position: relative; }
.ol-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.ol-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-mid, #c9a24d); margin: 0 0 10px; }
.ol-title { font-size: clamp(24px, 3vw, 36px); line-height: 1.12; margin: 0; letter-spacing: .3px; }
.ol-sub { color: var(--ink-2); margin: 12px 0 0; max-width: 56ch; }
.ol-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ol-kpis div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; background: rgba(5,4,3,.6); }
.ol-kpis dt { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--gold-hi, #f0d593); font-variant-numeric: tabular-nums; }
.ol-kpis dd { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.ol-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 14px; }
.ol-legend button { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(243,235,221,.14); background: rgba(5,4,3,.5); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.ol-legend button i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.ol-legend button:hover, .ol-legend button[aria-pressed="true"] { border-color: var(--c); color: var(--ink); }
.ol-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.ol-chart { margin: 0; position: relative; border: 1px solid rgba(243,235,221,.08); border-radius: 16px; background: rgba(5,4,3,.55); padding: 12px 8px 6px; min-height: 340px; }
.ol-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.ol-plot .grid line { stroke: rgba(243,235,221,.07); stroke-width: 1; }
.ol-plot .grid line.base { stroke: rgba(212,175,55,.35); }
.ol-plot text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.ol-plot text.yr { fill: var(--ink-2); font-size: 12px; }
.ol-plot text.tot { fill: var(--ink); font-size: 13px; font-family: inherit; font-weight: 600; opacity: 0; transition: opacity .5s ease 1s; }
.ol-plot .seg { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.outlook.live .ol-plot .seg { transform: scaleY(1); }
.outlook.live .ol-plot text.tot { opacity: 1; }
.ol-plot .band { fill: transparent; cursor: crosshair; }
.ol-plot .band.on { fill: rgba(212,175,55,.06); }
.ol-plot .glow { opacity: 0; transition: opacity .6s ease 1.1s; }
.outlook.live .ol-plot .glow { opacity: 1; }
.ol-plot .trend { fill: none; stroke: var(--gold-hi, #f0d593); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .55; }
.outlook.dim .seg:not(.hl) { opacity: .18; }
.outlook.dim .ol-tam-list li:not(.hl) { opacity: .35; }
.ol-tip { position: absolute; z-index: 3; pointer-events: none; min-width: 200px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(8,6,4,.96); box-shadow: 0 12px 40px rgba(0,0,0,.6); font-size: 13px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.ol-tip.show { opacity: 1; transform: none; }
.ol-tip b { display: block; font-family: var(--mono); letter-spacing: 1.5px; color: var(--gold-hi, #f0d593); font-weight: 400; margin-bottom: 6px; }
.ol-tip div { display: flex; align-items: center; gap: 8px; color: var(--ink-2); padding: 2px 0; }
.ol-tip div.hl { color: var(--ink); }
.ol-tip i { width: 9px; height: 9px; border-radius: 2px; background: var(--c); flex: none; }
.ol-tip span { margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; color: var(--ink); }
.ol-tip .t { border-top: 1px solid rgba(243,235,221,.12); margin-top: 6px; padding-top: 6px; color: var(--ink); font-weight: 600; }
.ol-tam { border: 1px solid rgba(243,235,221,.08); border-radius: 16px; background: rgba(5,4,3,.55); padding: 18px 18px 14px; display: flex; flex-direction: column; }
.ol-tam-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.ol-tam-list li { transition: opacity .25s; }
.ol-tam-list .r { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink); }
.ol-tam-list .r strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.ol-tam-list small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ol-tam-list .bar { height: 6px; border-radius: 6px; background: rgba(243,235,221,.06); margin-top: 6px; overflow: hidden; }
.ol-tam-list .bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 35%, transparent), var(--c)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.outlook.live .ol-tam-list .bar i { transform: scaleX(1); }
.ol-axisnote { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; }
.ol-table { margin-top: 16px; }
.ol-table summary { cursor: pointer; color: var(--gold-hi, #f0d593); font-family: var(--mono); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; min-height: 32px; display: inline-flex; align-items: center; }
.ol-table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ol-table th, .ol-table td { padding: 8px 10px; border-bottom: 1px solid rgba(243,235,221,.08); text-align: right; white-space: nowrap; }
.ol-table th:first-child, .ol-table td:first-child { text-align: left; }
.ol-table thead th { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; }
.ol-table tfoot td { color: var(--gold-hi, #f0d593); font-weight: 600; }
.ol-src { margin-top: 14px; }
@media (max-width: 900px) {
  .ol-head, .ol-grid { grid-template-columns: minmax(0, 1fr); }
  .ol-chart { min-height: 0; }
}
@media (max-width: 520px) {
  .ol-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ol-kpis div:last-child { grid-column: 1 / -1; }
  .ol-legend button { font-size: 12px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ol-plot .seg, .ol-tam-list .bar i { transform: none !important; transition: none; }
  .ol-plot text.tot, .ol-plot .glow { opacity: 1; transition: none; }
}

/* Outlook v4: tabs, range view, market range bars */
.ol-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 26px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5,4,3,.6); max-width: 100%; flex-wrap: wrap; }
.ol-tabs button { font: inherit; font-size: 13px; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 8px 16px; min-height: 34px; cursor: pointer; transition: background .2s, color .2s; }
.ol-tabs button[aria-selected="true"] { background: linear-gradient(180deg, #f0d593, #c9a24d); color: #1a1307; font-weight: 600; }
.ol-legend { margin-top: 14px; }
.ol-key { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-right: 18px; }
.ol-key i { display: inline-block; width: 22px; height: 10px; }
.ol-key i.ln { height: 2px; background: #f0d593; box-shadow: 0 0 8px #d4af37; }
.ol-key i.bd { border-radius: 3px; background: linear-gradient(180deg, rgba(240,213,147,.35), rgba(212,175,55,.08)); border: 1px solid rgba(240,213,147,.3); }
.ol-key i.dt { height: 0; border-top: 2px dashed rgba(243,235,221,.45); }
.ol-plot .band-area { opacity: 0; transition: opacity .9s ease .2s; }
.ol-plot .ol-line { fill: none; stroke: #f0d593; stroke-width: 2.25; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(212,175,55,.55)); stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) .3s; }
.ol-plot .ol-dash { fill: none; stroke: rgba(243,235,221,.45); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: 0; transition: opacity .8s ease 1.2s; }
.ol-plot .ol-dot { fill: #0b0906; stroke: #f0d593; stroke-width: 2; opacity: 0; transition: opacity .4s ease; }
.outlook.live .ol-plot .band-area, .outlook.live .ol-plot .ol-dash, .outlook.live .ol-plot .ol-dot { opacity: 1; }
.outlook.live .ol-plot .ol-line { stroke-dashoffset: 0; }
.ol-tam-list .bar { position: relative; }
.ol-tam-list .bar i { position: absolute; top: 0; transform-origin: 0 50%; }
.ol-tam-list .bar.none { background: repeating-linear-gradient(90deg, rgba(243,235,221,.08) 0 6px, transparent 6px 12px); }
.ol-table tr.em td { color: var(--gold-hi, #f0d593); font-weight: 600; }
.ol-table tr.sub td { color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; padding-top: 16px; text-align: left; }
.ol-src b { color: var(--ink-2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ol-plot .ol-line { stroke-dashoffset: 0 !important; transition: none; } .ol-plot .band-area, .ol-plot .ol-dash, .ol-plot .ol-dot { opacity: 1 !important; } }
.ol-kpis dt.sm { font-size: clamp(18px, 1.9vw, 24px); white-space: nowrap; }
.ol-tam-list .bar { height: 8px; }
.ol-tam-list .bar b { position: absolute; left: 0; top: 0; height: 100%; width: var(--w); border-radius: 8px 0 0 8px; background: color-mix(in srgb, var(--c) 22%, transparent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.ol-tam-list .bar i { box-shadow: 0 0 10px var(--c); background: var(--c); border-radius: 8px; }
.outlook.live .ol-tam-list .bar b { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .ol-tam-list .bar b { transform: none !important; } }

/* =========================================================
   TrueFill: brand theme and interface mockups (net new, animated)
   ========================================================= */
body.theme-truefill { --gold: #3ddc97; --gold-hi: #9df0c9; --gold-mid: #3ddc97; --gold-lo: #1f9d6b; --line: rgba(61, 220, 151, .2); --line-strong: rgba(61, 220, 151, .5); --glow: rgba(61, 220, 151, .3); --grad: linear-gradient(92deg, #c9f7e2 0%, #3ddc97 50%, #1f9d6b 100%); --bg: #05090f; background: var(--bg); }
.tf { --tf-bg: #0b1a31; --tf-panel: #10233f; --tf-line: rgba(143, 163, 194, .22); --tf-ink: #f4f6f8; --tf-mut: #a9b8cf; --tf-g: #3ddc97; --tf-g2: #1f9d6b; --tf-amber: #f2b04b; --tf-red: #f07368; --tf-blue: #6f9cf5;
  background: var(--tf-bg); color: var(--tf-ink); font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.45; border-radius: 14px; overflow: hidden; }
.tf * { box-sizing: border-box; }
.tf-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--tf-line); flex-wrap: wrap; }
.tf-top img { width: 24px; height: 24px; }
.tf-top b { font-family: Sora, Inter, sans-serif; font-weight: 600; letter-spacing: .2px; }
.tf-tabs { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.tf-tabs span { padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--tf-mut); }
.tf-tabs span.on { background: rgba(61, 220, 151, .14); color: var(--tf-g); }
.tf-body { padding: 14px 16px; display: grid; gap: 10px; }
.tf-label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--tf-mut); }
.tf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--tf-line); color: var(--tf-ink); }
.tf-chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tf-chip.ok i { background: var(--tf-g); } .tf-chip.need i { background: var(--tf-amber); } .tf-chip.held i { background: var(--tf-red); }
.tf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--tf-line); border-radius: 10px; background: var(--tf-panel); }
.tf-row b { font-weight: 600; font-size: 13px; display: block; }
.tf-row small { color: var(--tf-mut); font-size: 12px; }
.tf-pill { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tf-pill.ok { background: rgba(61, 220, 151, .14); color: var(--tf-g); }
.tf-pill.need { background: rgba(242, 176, 75, .14); color: var(--tf-amber); }
.tf-pill.held { background: rgba(240, 115, 104, .14); color: var(--tf-red); }
.tf-count { font-family: "JetBrains Mono", "Share Tech Mono", monospace; font-size: 12px; color: var(--tf-mut); }
.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: var(--tf-g); color: #062a1b; font-weight: 700; font-size: 13px; }
.tf-btn.ghost { background: none; color: var(--tf-ink); border: 1px solid var(--tf-line); font-weight: 500; }
.tf-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.tf-actions .tf-count { margin-right: auto; }
/* Fill + read back animation */
.tf-fill { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; }
.tf-form { padding: 14px 16px; border-right: 1px solid var(--tf-line); background: #f4f6f8; color: #0b1a31; }
.tf-form .co { font-weight: 700; font-size: 14px; } .tf-form .role { font-size: 12px; color: #4a5a72; margin-bottom: 10px; }
.tf-field { margin-bottom: 9px; }
.tf-field label { display: block; font-size: 11.5px; color: #4a5a72; margin-bottom: 3px; }
.tf-field .in { position: relative; height: 30px; border: 1px solid #c9d3e2; border-radius: 7px; background: #fff; padding: 6px 30px 6px 9px; font-size: 12.5px; overflow: hidden; white-space: nowrap; }
.tf-field .in span { display: inline-block; overflow: hidden; vertical-align: top; max-width: 0; }
.tf-field .in .ck { position: absolute; right: 8px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #1f9d6b; color: #fff; font-size: 10px; display: grid; place-items: center; opacity: 0; transform: scale(.4); }
.tf-field.need .in { border-color: #c9821a; background: #fff8ec; }
.tf-field.need .in .ck { background: #c9821a; }
.tf.live .tf-field .in span { animation: tf-type .55s steps(24) forwards; }
.tf.live .tf-field .in .ck { animation: tf-pop .3s ease forwards; }
.tf.live .tf-field:nth-child(3) .in span { animation-delay: .3s; } .tf.live .tf-field:nth-child(3) .in .ck { animation-delay: 1.9s; }
.tf.live .tf-field:nth-child(4) .in span { animation-delay: .7s; } .tf.live .tf-field:nth-child(4) .in .ck { animation-delay: 2.1s; }
.tf.live .tf-field:nth-child(5) .in span { animation-delay: 1.1s; } .tf.live .tf-field:nth-child(5) .in .ck { animation-delay: 2.3s; }
.tf.live .tf-field:nth-child(6) .in span { animation-delay: 1.5s; } .tf.live .tf-field:nth-child(6) .in .ck { animation-delay: 2.5s; }
.tf.live .tf-field:nth-child(7) .in .ck { animation-delay: 2.7s; }
.tf-side { padding: 14px 14px; display: grid; gap: 8px; align-content: start; }
.tf-rb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--tf-mut); opacity: .35; }
.tf-rb i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--tf-mut); display: grid; place-items: center; font-style: normal; font-size: 9px; }
.tf.live .tf-rb { animation: tf-rb .3s ease forwards; }
.tf.live .tf-rb.ok i { animation: tf-okc .3s ease forwards; animation-delay: inherit; }
.tf.live .tf-rb:nth-child(2) { animation-delay: 1.9s; } .tf.live .tf-rb:nth-child(3) { animation-delay: 2.1s; } .tf.live .tf-rb:nth-child(4) { animation-delay: 2.3s; } .tf.live .tf-rb:nth-child(5) { animation-delay: 2.5s; } .tf.live .tf-rb:nth-child(6) { animation-delay: 2.7s; }
.tf-rb.need { color: var(--tf-amber); } .tf-rb.need i { border-color: var(--tf-amber); }
.tf-hold { margin-top: 4px; padding: 10px; border: 1px solid rgba(242, 176, 75, .45); border-radius: 9px; background: rgba(242, 176, 75, .08); font-size: 12.5px; opacity: 0; }
.tf.live .tf-hold { animation: tf-rb .4s ease 3s forwards; }
.tf-hold b { color: var(--tf-amber); }
/* Find: ranked roles */
.tf-fit { display: grid; grid-template-columns: minmax(0, 1fr) 110px 40px; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--tf-line); border-radius: 10px; background: var(--tf-panel); }
.tf-fit .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.tf-fit .bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--tf-g2), var(--tf-g)); transform-origin: 0 50%; transform: scaleX(0); }
.tf.live .tf-fit .bar i { animation: tf-grow .8s cubic-bezier(.2,.8,.2,1) forwards; }
.tf-fit .pct { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--tf-g); text-align: right; }
/* Tailor: resume diff */
.tf-doc { background: #f4f6f8; color: #0b1a31; border-radius: 10px; padding: 14px 16px; font-size: 12.5px; }
.tf-doc h5 { margin: 0 0 6px; font-size: 13px; }
.tf-doc li { margin: 0 0 6px 16px; }
.tf-doc mark { background: linear-gradient(90deg, rgba(61,220,151,.45), rgba(61,220,151,.45)) no-repeat 0 0 / 0% 100%; color: inherit; padding: 1px 2px; border-radius: 3px; }
.tf.live .tf-doc mark { animation: tf-mark .7s ease forwards; }
.tf.live .tf-doc li:nth-child(2) mark { animation-delay: .5s; } .tf.live .tf-doc li:nth-child(3) mark { animation-delay: 1s; }
/* QC: approval */
.tf-meter { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.tf-meter i { display: block; height: 100%; width: 96%; background: linear-gradient(90deg, var(--tf-g2), var(--tf-g)); transform-origin: 0 50%; transform: scaleX(0); }
.tf.live .tf-meter i { animation: tf-grow 1.2s cubic-bezier(.2,.8,.2,1) .2s forwards; }
.tf-big { font-family: Sora, Inter, sans-serif; font-size: 34px; font-weight: 600; color: var(--tf-g); }
@keyframes tf-type { to { max-width: 100%; } }
@keyframes tf-pop { to { opacity: 1; transform: scale(1); } }
@keyframes tf-rb { to { opacity: 1; } }
@keyframes tf-okc { to { background: var(--tf-g); border-color: var(--tf-g); color: #062a1b; } }
@keyframes tf-grow { to { transform: scaleX(1); } }
@keyframes tf-mark { to { background-size: 100% 100%; } }
@media (max-width: 640px) { .tf-fill { grid-template-columns: minmax(0, 1fr); } .tf-form { border-right: 0; border-bottom: 1px solid var(--tf-line); } .tf-row { grid-template-columns: minmax(0, 1fr) auto; } .tf-row .tf-count { display: none; } .tf-fit { grid-template-columns: minmax(0, 1fr) 70px 36px; } }
@media (prefers-reduced-motion: reduce) { .tf .tf-field .in span { max-width: 100%; } .tf .tf-field .in .ck, .tf .tf-rb, .tf .tf-hold { opacity: 1; transform: none; } .tf .tf-fit .bar i, .tf .tf-meter i { transform: none; } .tf .tf-doc mark { background-size: 100% 100%; } }
.markets > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Phones: results tables stack so the "how it was measured" column stays readable; company animations lead the page */
@media (max-width: 640px) {
  .results { min-width: 0; }
  .results thead { display: none; }
  .results tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .results td { border-top: 0; padding: 0; }
  .results td:nth-child(3) { grid-column: 1 / -1; font-size: 13px; }
  .page-hero > figure { order: -1; margin-top: 8px !important; }
  .page-hero { padding-top: 104px; }
}

/* Launch countdown (company pages and the home page) */
.countdown { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin: 0 0 30px; }
.countdown > div { min-width: 64px; padding: 10px 10px 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(212, 175, 55, .05); text-align: center; }
.countdown b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 400; line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.countdown span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.countdown p { margin: 0 0 4px 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); }
@media (max-width: 640px) { .countdown > div { min-width: 56px; padding: 8px 6px 7px; } .countdown b { font-size: 21px; } .countdown p { flex-basis: 100%; margin: 2px 0 0; } }

/* Outlook stat cards scale with their own width so values never spill out */
.ol-kpis div { container-type: inline-size; min-width: 0; }
.ol-kpis dt { font-size: clamp(18px, 14cqi, 30px); line-height: 1.1; }
.ol-kpis dt.sm { font-size: clamp(15px, 10.5cqi, 24px); white-space: nowrap; }
.ol-kpis dd { font-size: clamp(11.5px, 6.2cqi, 12.5px); }

/* Outlook: market size view */
.ol-plot .vgrid { stroke: rgba(243,235,221,.07); }
.ol-plot .cname { fill: var(--ink-2); font-size: 12.5px; }
.ol-plot .tamb { opacity: .85; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.outlook.live .ol-plot .tamb { transform: scaleX(1); }
.ol-plot .samb { fill: #fff8e6; opacity: .92; }
.ol-plot .tamv { fill: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.ol-key i.tb { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #9085e9, #c98500); }
.ol-key i.sb { height: 5px; border-radius: 3px; background: #fff8e6; }

.ol-caption { grid-column: 1; margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 70ch; }
.ol-caption:empty { display: none; }

.ol-chart .ol-caption { margin: 12px 4px 2px; }
.outlook.view-tam .ol-tam { display: none; }
.outlook.view-tam .ol-grid { grid-template-columns: minmax(0, 1fr); }

/* =========================================================
   Stage: a real app recording on a tinted panel, with small fact chips (TrueFill style)
   ========================================================= */
.stage { position: relative; border-radius: 22px; padding: clamp(14px, 2.4vw, 28px); background: radial-gradient(110% 90% at 0% 0%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 62%), color-mix(in srgb, var(--gold) 12%, #0a0708); border: 1px solid var(--line); }
.stage .win { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); background: #000; box-shadow: 0 28px 70px rgba(0, 0, 0, .55); }
.stage .win video, .stage .win img { display: block; width: 100%; height: auto; }
.chip-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: #141012; border: 1px solid var(--line-strong); color: var(--ink); font-size: 13.5px; line-height: 1; white-space: nowrap; box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
.chip-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 26%, transparent); }
.chip-float.c1 { top: -16px; left: clamp(14px, 4%, 40px); animation: chipFloat 7s ease-in-out infinite; }
.chip-float.c2 { bottom: -14px; right: 28px; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .chip-float { animation: none !important; } }
.stage-fig { margin: 0; }
.stage-fig .caption { margin-top: 24px; }
.stage-split { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); grid-template-areas: "h f" "p f" "s f" "c f"; grid-template-rows: auto auto auto 1fr; column-gap: 56px; align-items: start; margin-top: 18px; }
.stage-split .s-h { grid-area: h; margin: 0; } .stage-split .s-p { grid-area: p; margin: 16px 0 0; } .stage-split .s-s { grid-area: s; } .stage-split .s-c { grid-area: c; } .stage-split .s-f { grid-area: f; align-self: center; }
.bigstat { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 4px; padding-top: 22px; border-top: 1px solid var(--line); }
.bigstat b { font-size: clamp(54px, 6vw, 72px); font-weight: 700; line-height: .9; color: var(--gold); letter-spacing: -2px; }
.bigstat span { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 26ch; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23f3ebdd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }
.feature .stage-fig { min-width: 0; }
@media (max-width: 900px) {
  .stage-split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "f" "p" "s" "c"; grid-template-rows: none; }
  .stage-split .s-f { margin-top: 34px; }
}
@media (max-width: 560px) { .chip-float { font-size: 12px; padding: 7px 12px; } .chip-float.c1 { top: -14px; left: 10px; } .chip-float.c2 { bottom: -14px; right: 10px; } .stage { border-radius: 18px; } }
.stage-split .s-h { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; }
@media (max-width: 900px) { .stage-split .s-h { font-size: clamp(34px, 9vw, 54px); } }
.stage-phone { display: flex; justify-content: center; padding: clamp(22px, 3.4vw, 40px) clamp(14px, 3vw, 36px); }
.stage .win.phone { width: min(100%, 340px); border-radius: 30px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 6px rgba(0, 0, 0, .55); }
.page-hero .stage-fig { min-width: 0; }
.bigstat b small { font-size: .38em; letter-spacing: 0; margin-left: 4px; font-weight: 600; }
/* TrueFill-style check bullets in every feature list */
.feature-copy li { padding-left: 30px; line-height: 1.55; text-wrap: pretty; }
.feature-copy li::before { content: ''; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23f3ebdd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/19px no-repeat; }
/* Bookloft: rose panel, cream screens sit in it instead of glowing */
body.theme-bookloft .stage { background: radial-gradient(110% 90% at 0% 0%, rgba(217, 138, 126, .16), transparent 62%), color-mix(in srgb, #d98a7e 8%, #120c0b); border-color: rgba(217, 138, 126, .25); }
body.theme-bookloft .stage .win { filter: brightness(.94); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.wish-row { max-width: 980px; margin: 46px auto 0; }

/* hero chips: two rows centered on the orbit at every width */
.orbit .chips { inset: auto; left: 50%; translate: -50% 0; width: max-content; max-width: calc(100% + 60px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; z-index: 1; }
.orbit .chips-top { bottom: calc(100% + 26px); flex-wrap: wrap-reverse; }
.orbit .chip { position: static; text-align: center; padding: 6px 10px 6px 12px; }

/* Veritas film: the full story with chapter buttons */
.film-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.film-copy .display { margin-bottom: 14px; font-size: clamp(34px, 3.4vw, 52px); }
.film-fig { margin: 0; }
.film-frame { aspect-ratio: 1; width: min(100%, 640px); margin-left: auto; }
.film-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.chapters { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button { all: unset; box-sizing: border-box; display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 13px 4px; cursor: pointer; color: var(--ink-2); font-size: 15px; transition: color .2s, background .2s; }
.chapters button .t { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--gold-mid); min-width: 44px; }
.chapters button:hover, .chapters button:focus-visible, .chapters button.on { color: var(--ink); background: rgba(212, 175, 55, .05); }
.chapters button:focus-visible { outline: 1px solid var(--gold-mid); outline-offset: 2px; }
.chapters button.on .t { color: var(--gold-hi); }
@media (max-width: 900px) { .film-split { grid-template-columns: minmax(0, 1fr); gap: 30px; } .film-fig { order: -1; } .film-frame { margin: 0 auto; } }
@media (max-width: 1080px) { .orbit .chips { display: none; } }

/* ===== Market size view (panel round 1): HTML rows on a log scale ===== */
.ol-mkt { list-style: none; margin: 0; padding: 10px 16px 0; }
.mk-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; grid-template-rows: 1fr 1fr; grid-template-areas: "n t v" "n t r"; column-gap: 24px; min-height: 64px; border-bottom: 1px solid rgba(243,235,221,.06); border-radius: 6px; outline: none; transition: opacity .2s, background .2s; cursor: default; }
.mk-row:last-child { border-bottom: 0; }
.mk-name { grid-area: n; align-self: center; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); min-width: 0; }
.mk-name i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; box-shadow: none; }
.mk-track { grid-area: t; position: relative; min-height: 26px; }
.mk-g { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(243,235,221,.07); }
.mk-t, .mk-r { position: absolute; display: block; transform-origin: left center; }
.mk-t { top: calc(50% - 11px); height: 12px; border-radius: 3px; background: rgba(212,175,55,.9); box-shadow: inset 0 1px 0 rgba(240,213,147,.5); }
.mk-r { top: calc(50% + 7px); height: 4px; border-radius: 2px; background: rgba(243,235,221,.85); }
.mk-tot { grid-area: v; align-self: end; font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-rch { grid-area: r; align-self: start; margin-top: 3px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-none .mk-tot { color: var(--muted); font-weight: 500; }
.mk-more { display: none; }
.ol-mkt:has(.mk-row:hover, .mk-row:focus-visible) .mk-row:not(:hover):not(:focus-visible) { opacity: .45; }
.mk-row:hover, .mk-row:focus-visible { background: rgba(212,175,55,.06); }
.mk-row:focus-visible { box-shadow: 0 0 0 2px var(--gold-hi, #f0d593); }
.mk-axis { display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; column-gap: 24px; padding: 10px 16px 4px; align-items: center; }
.mk-axl { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.mk-ticks { position: relative; height: 16px; }
.mk-ticks span { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.mk-tp { margin: 2px 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.mk-tp:last-child { margin-bottom: 0; }
.ol-key i.mk-lt { width: 22px; height: 10px; border-radius: 3px; background: rgba(212,175,55,.9); }
.ol-key i.mk-lr { width: 22px; height: 4px; border-radius: 2px; background: rgba(243,235,221,.85); }
.ol-table table.mk-table td.wrap { white-space: normal; text-align: left; min-width: 220px; color: var(--ink-2); }
.ol-table table.mk-table th { text-align: left; }
.ol-table table.mk-table td { text-align: left; }
.ol-mkt.grow .mk-t, .ol-mkt.grow .mk-r { animation: mkGrow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.ol-mkt.grow .mk-tot, .ol-mkt.grow .mk-rch { animation: mkFade .3s ease both; animation-delay: .7s; }
@keyframes mkGrow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes mkFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ol-mkt.grow .mk-t, .ol-mkt.grow .mk-r, .ol-mkt.grow .mk-tot, .ol-mkt.grow .mk-rch { animation: none; } }
@media (max-width: 1099px) {
  .mk-row, .mk-axis { grid-template-columns: 150px minmax(0, 1fr) 180px; column-gap: 20px; }
  .mk-row { min-height: 60px; } .mk-name { font-size: 14px; }
}
@media (max-width: 767px) {
  .ol-mkt, .mk-axis { padding-left: 10px; padding-right: 10px; }
  .mk-row, .mk-axis { grid-template-columns: 130px minmax(0, 1fr) 160px; column-gap: 16px; }
}
@media (max-width: 639px) {
  .ol-mkt { padding: 4px 8px 0; }
  .mk-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; grid-template-areas: "n v" "t t" "r r" "m m"; padding: 10px 6px; min-height: 0; row-gap: 4px; position: relative; }
  .mk-name, .mk-tot { align-self: center; }
  .mk-track { height: 26px; }
  .mk-rch { margin-top: 0; font-size: 12px; }
  .mk-none { grid-template-areas: "n v" "t t"; cursor: default; }
  .mk-row.open .mk-more { display: block; grid-area: m; }
  .mk-more p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
  .mk-more em { display: block; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .mk-axis { grid-template-columns: minmax(0, 1fr); padding: 8px 14px 0; margin-bottom: 4px; row-gap: 4px; order: -1; }
  .mk-axis .mk-axl { order: -1; }
  .mk-axl { font-size: 10.5px; }
}
.mk-none .mk-rch { display: none; }

/* Market size view: panel round 2 fixes */
.mk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mk-hit, .ol-plot svg.mk-chev { display: none; }
.mk-rch { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.outlook.view-tam .ol-plot { display: flex; flex-direction: column; }
@media (min-width: 640px) { .mk-none .mk-tot { grid-row: 1 / span 2; align-self: center; } }
@media (max-width: 639px) {
  .mk-hit { display: block; position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 6px; }
  .mk-hit:focus { outline: none; }
  .mk-row:has(.mk-hit:focus-visible) { box-shadow: 0 0 0 2px var(--gold-hi, #f0d593); background: rgba(212,175,55,.06); }
  .ol-plot svg.mk-chev { display: block; width: 12px; height: 12px; overflow: hidden; color: var(--muted); flex: none; transition: transform .2s; }
  .mk-row.open svg.mk-chev { transform: rotate(180deg); }
  .mk-more { position: relative; z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .ol-plot svg.mk-chev { transition: none; } }

/* Company card tag: industry in gold, type in muted, tied to the index by a fine rule */
.co-head { gap: 16px; }
.co-tag { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.co-tag::before { content: ""; flex: 1; min-width: 18px; height: 1px; margin-right: 6px; background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, .45)); }
.co-tag b { font-weight: 400; color: var(--gold-hi, #f0d593); }
.co-tag i { width: 1px; height: 11px; background: rgba(212, 175, 55, .5); }
@media (max-width: 420px) { .co-tag { font-size: 10px; letter-spacing: 1.8px; gap: 8px; } }

/* ================= Home sections 03-06 (design panel, round 1 spec) ================= */
:root { --s-veritas:#9085e9; --s-goldsmith:#c98500; --s-ranvier:#199e70; --s-nightdrive:#e66767; --s-healthcare:#3987e5; --s-bookloft:#d55181; --s-truefill:#d6762e; --ease: cubic-bezier(.2,.7,.2,1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---- 03 Approach: the assay line ---- */
.assay { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "s f" "b b"; margin-top: 64px; }
.assay-end { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.assay-start { grid-area: s; }
.assay-finish { grid-area: f; justify-self: end; }
.assay-body { grid-area: b; position: relative; padding-top: 72px; }
.assay-rail { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.assay-fill { position: absolute; inset: 0; background: var(--grad); transform-origin: left center; transform: scaleX(var(--p)); }
.assay-tile { position: absolute; top: -28px; left: 0; z-index: 2; width: 56px; height: 56px; border-radius: 8px; background: #0a0806; transform: translateX(calc(var(--p) * (var(--rail-w, 1000px) - 56px))); filter: drop-shadow(0 0 14px rgba(212, 175, 55, .45)); will-change: transform; }
.assay-tile svg { display: block; width: 100%; height: 100%; }
.assay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
.assay-step { position: relative; border-left: 1px solid var(--line); padding: 0 0 0 24px; }
.assay-node { position: absolute; z-index: 1; top: -77px; left: -5.5px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold-mid); background: #0a0806; transition: box-shadow .3s; }
.assay-node::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--gold-hi, #f0d593); opacity: 0; transition: opacity .3s; }
.assay-node.is-lit { box-shadow: 0 0 12px rgba(226, 190, 85, .6); }
.assay-node.is-lit::after { opacity: 1; }
.assay-cap { position: absolute; top: -38px; left: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-hi, #f0d593); white-space: nowrap; }
.assay-n { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--gold-mid); margin-bottom: 14px; }
.assay-step h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.15; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); }
.assay-step p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 760px) {
  .assay { display: flex; flex-direction: column; margin-top: 44px; }
  .assay-body { order: 1; padding-top: 0; }
  .assay-finish { order: 2; justify-self: auto; margin: 6px 0 0 56px; }
  .assay-start { margin-left: 56px; }
  .assay-rail { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .assay-fill { transform-origin: center top; transform: scaleY(var(--p)); }
  .assay-tile { top: 0; left: -22px; width: 44px; height: 44px; transform: translateY(calc(var(--p) * (var(--rail-h, 300px) - 44px))); }
  .assay-steps { display: block; padding-left: 56px; }
  .assay-step { border-left: 0; padding: 4px 0 36px; }
  .assay-node { top: 8px; left: -39px; }
  .assay-cap { display: none; }
}

/* ---- 04 Standard: hallmarks ---- */
.hallmarks { overflow-x: clip; }
.hm-list { margin-top: 56px; }
.hm { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 64px 0; }
.hm::before, .hm:last-child::after { content: ""; position: absolute; left: calc(50% - 50vw); width: 100vw; height: 1px; background: var(--line); }
.hm::before { top: 0; }
.hm:last-child::after { bottom: 0; }
.hm-mark { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; }
.hm-stamp { width: 120px; height: 72px; overflow: visible; transition: transform .38s cubic-bezier(.3, 1.3, .5, 1) .15s, opacity .38s ease .15s; }
.hm.pre .hm-stamp { transform: scale(1.12); opacity: 0; }
.hm-au { font-family: inherit; font-size: 30px; font-weight: 600; fill: url(#gold-a); }
.hm-z { font-family: var(--mono); font-size: 9px; fill: rgba(226, 190, 85, .75); }
.hm-word { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-mid); }
.hm-title { grid-column: 3 / 13; position: relative; margin: 0; font-size: clamp(34px, 6.2vw, 96px); line-height: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.hm-base { color: rgba(243, 235, 221, .42); -webkit-text-stroke: 1px rgba(226, 190, 85, .55); }
.hm-gild { position: absolute; inset: 0; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.hm.is-gilt .hm-gild { clip-path: inset(0 0 0 0); }
@keyframes hmGild { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hm-p { grid-column: 7 / 13; margin: 28px 0 0; font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 1100px) { .hm-p { grid-column: 3 / 13; } }
@media (max-width: 760px) {
  .hm-list { margin-top: 36px; }
  .hm { display: block; padding: 40px 0; }
  .hm-mark { flex-direction: row; align-items: center; gap: 14px; padding: 0; margin-bottom: 18px; }
  .hm-stamp { width: 84px; height: 50px; }
  .hm-title { font-size: clamp(30px, 9vw, 44px); }
  .hm-p { margin-top: 18px; font-size: 16px; }
}

/* ---- 05 What it takes: one foundation ---- */
.fx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; margin-top: 52px; align-items: start; }
.fx-item { display: contents; }
.fx-tab { grid-column: 1; grid-row: var(--r); position: relative; display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 22px 0 22px 18px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink-2); font: inherit; font-size: 19px; line-height: 1.2; text-transform: uppercase; letter-spacing: .5px; text-align: left; cursor: pointer; transition: color .2s; }
.fx-tab::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; background: var(--grad); transform: scaleY(0); transform-origin: center top; transition: transform .3s var(--ease); }
.fx-tab:hover { color: var(--ink); }
.fx-tab:focus-visible { outline: 2px solid var(--gold-hi, #f0d593); outline-offset: 2px; }
.fx-tab[aria-expanded="true"] { color: var(--gold-hi, #f0d593); }
.fx-tab[aria-expanded="true"]::before { transform: scaleY(1); }
.fx-n { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--gold-mid); flex: none; }
.fx-panel { grid-column: 2; grid-row: 1 / 4; padding-top: 18px; animation: fxIn .36s var(--ease) both; }
@keyframes fxIn { from { opacity: 0; transform: translateY(8px); } }
.fx-panel h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.fx-panel p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 46ch; }
.fx-diagram { grid-column: 2; grid-row: 4 / 7; align-self: end; margin: 28px 0 0; }
.fx-diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-slab { fill: rgba(212, 175, 55, .06); stroke: rgba(226, 190, 85, .7); stroke-width: 1; }
.fx-slab-label { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; fill: var(--gold-hi, #f0d593); transition: opacity .16s; }
.fx-name { font-family: var(--mono); font-size: 13px; fill: var(--muted); }
.fx-riser line { stroke: var(--c); stroke-width: 1.5; transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); }
.fx-riser circle { fill: var(--c); opacity: .3; }
.fx-diagram svg.lit .fx-riser line { transform: scaleY(1); transition: transform .28s var(--ease) calc(var(--k) * 40ms); }
.fx-diagram svg.lit .fx-riser circle { opacity: 1; transition: opacity .3s ease calc(var(--k) * 40ms + .26s); }
.fx-legend { display: none; }
@media (max-width: 900px) {
  .fx { display: block; margin-top: 36px; border-top: 1px solid var(--line); }
  .fx-item { display: block; }
  .fx-tab { font-size: 16px; padding: 18px 0 18px 16px; }
  .fx-panel { padding: 4px 0 24px 16px; border-bottom: 1px solid var(--line); }
  .fx-panel h3 { display: none; }
  .fx-panel p { font-size: 15.5px; }
  .fx-diagram { margin-top: 32px; }
  .fx-name { display: none; }
  .fx-legend { display: grid; grid-template-columns: repeat(4, max-content); gap: 8px 16px; margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
  .fx-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .fx-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
}
@media (max-width: 380px) { .fx-legend { grid-template-columns: repeat(3, max-content); } }

/* ---- 05 spec sheet ---- */
.spec-wrap { position: relative; margin-top: 80px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid rgba(243, 235, 221, .07); color: var(--ink-2); font-weight: 400; }
.spec thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.spec tbody th { color: var(--ink); font-weight: 500; white-space: nowrap; }
.spec tbody th i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 10px; vertical-align: 1px; }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec-live { display: inline-block; padding: 3px 9px; border-radius: 3px; background: var(--gold-mid); color: #0a0806; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.spec-launch { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-mid); white-space: nowrap; }
.spec-scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(240, 213, 147, 0), var(--gold-hi, #f0d593), rgba(240, 213, 147, 0)); opacity: 0; pointer-events: none; }
.spec-wrap.scan .spec-scan { animation: specScan 1.2s var(--ease) both; }
@keyframes specScan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } 85% { opacity: .8; } 100% { transform: translateY(var(--scan, 400px)); opacity: 0; } }
@media (max-width: 760px) {
  .spec-wrap { margin-top: 56px; }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .spec, .spec tbody { display: block; }
  .spec tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 10px; padding: 18px 0; border-bottom: 1px solid rgba(243, 235, 221, .07); }
  .spec tbody tr:last-child { border-bottom: 0; }
  .spec th, .spec td { padding: 0; border: 0; }
  .spec tbody th { grid-column: 1; grid-row: 1; align-self: center; white-space: normal; }
  .spec td.spec-st { grid-column: 2; grid-row: 1; align-self: center; text-align: right; }
  .spec td:not(.spec-st) { grid-column: 1 / -1; }
  .spec td:not(.spec-st)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); }
  .spec-launch { white-space: normal; }
}

/* ---- 06 Markets: field notes ---- */
.fn { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 64px; margin-top: 56px; align-items: start; }
.fn-rail { position: sticky; top: 120px; }
.fn-rail ol { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px solid var(--line); }
.fn-rail a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.fn-rail a:hover { color: var(--ink); }
.fn-rail a.on { color: var(--gold-hi, #f0d593); }
.fn-rail a i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }
.fn-n { color: var(--dim); }
.fn-tick { position: absolute; left: -1px; top: 0; width: 2px; height: 24px; background: var(--grad); opacity: 0; transition: transform .42s var(--ease), opacity .3s; }
.fn-tick.show { opacity: 1; }
.fn-entry { position: relative; padding: 52px 0; scroll-margin-top: 110px; }
.fn-entry:first-child { padding-top: 8px; }
.fn-entry:first-child::before { display: none; }
.fn-entry::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(226, 190, 85, .7), rgba(212, 175, 55, .06)); transform-origin: left center; transition: transform .9s var(--ease); }
.fn-entry.pre::before { transform: scaleX(0); }
.fn-tag { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-mid); }
.fn-tag i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.fn-entry h3 { margin: 14px 0 20px; max-width: 22ch; font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; line-height: 1.15; text-transform: none; letter-spacing: 0; color: var(--ink); }
.fn-body { max-width: 64ch; }
.fn-body.has-fig { max-width: none; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 48px; align-items: start; }
.fn-text p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 64ch; }
.fn-text .src { margin-top: 14px; font-family: var(--display); font-size: 12.5px; letter-spacing: .2px; line-height: 1.55; color: var(--muted); }
.fn-fig { margin: 0; }
.fn-fig b { display: block; font-size: clamp(32px, 3.3vw, 52px); font-weight: 600; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease) .12s; }
.fn-entry.pre .fn-fig b { clip-path: inset(100% 0 0 0); }
.fn-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 28ch; }
@media (max-width: 900px) {
  .fn { display: block; margin-top: 36px; }
  .fn-rail { position: static; margin-bottom: 20px; }
  .fn-rail ol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; padding: 0; border-left: 0; }
  .fn-rail a { min-height: 44px; padding: 0; border-bottom: 1px solid rgba(243, 235, 221, .07); }
  .fn-tick { display: none; }
  .fn-entry { padding: 40px 0; }
  .fn-entry:first-child { padding-top: 24px; }
  .fn-entry:first-child::before { display: block; }
  .fn-entry h3 { font-size: 22px; }
  .fn-body.has-fig { display: flex; flex-direction: column-reverse; gap: 18px; }
  .fn-fig b { font-size: clamp(34px, 10vw, 44px); }
}
@media (max-width: 360px) { .fn-rail a { font-size: 10.5px; letter-spacing: 1px; gap: 8px; } }

/* ---- reduced motion: every section shows its final state ---- */
@media (prefers-reduced-motion: reduce) {
  .assay-tile, .assay-fill, .assay-node, .assay-node::after { transition: none; }
  .hm-gild { animation: none; transition: none; clip-path: none; }
  .hm-stamp { transition: none; }
  .fx-panel { animation: none; }
  .fx-tab::before { transition: none; }
  .fx-riser line { transform: none; transition: none !important; }
  .fx-riser circle { opacity: 1; transition: none !important; }
  .fn-entry::before, .fn-fig b, .fn-tick { transition: none; }
  .fn-entry.pre::before { transform: none; }
  .fn-entry.pre .fn-fig b { clip-path: none; }
}

/* Sections 03-06: panel round 2 fixes */
@media (max-width: 900px) {
  .fx-slab-label { font-size: 21px; letter-spacing: 3px; }
  .fn-rail .fn-n { display: none; }
  .fn-rail a { letter-spacing: 1px; }
}
@media (min-width: 761px) { .assay-step h3 { min-height: 2.3em; } }

/* Outlook: strong performance (P75) highlighted over the middle run (P50) */
.ol-plot .ol-line.ol-strong { stroke: #f7e3a1; stroke-width: 3; filter: drop-shadow(0 0 8px rgba(226, 190, 85, .75)); }
.ol-plot .ol-line.ol-mid { stroke: rgba(243, 235, 221, .62); stroke-width: 1.6; filter: none; }
.ol-plot .ol-dot-mid { stroke: rgba(243, 235, 221, .7); stroke-width: 1.5; }
.ol-plot text.tot-strong { fill: #f7e3a1; }
.ol-plot text.tot-mid { fill: var(--muted); font-size: 11.5px; font-weight: 500; }
.ol-key i.st { height: 3px; border-radius: 2px; background: #f7e3a1; box-shadow: 0 0 10px #d4af37; }
.ol-key i.md { height: 2px; background: rgba(243, 235, 221, .62); }
.ol-key-st { color: var(--gold-hi, #f0d593); }
.ol-tip div.st { color: var(--gold-hi, #f0d593); }
.ol-tip div.st span { color: var(--gold-hi, #f0d593); font-weight: 600; }
.ol-plot .seg { opacity: .82; }

/* ================= Hero: Au on top (designer panel, round 1 spec) ================= */
.hero.hero-stack { --orb: clamp(200px, min(42svh, 76vw), 480px); --sat: clamp(34px, calc(var(--orb) * .1), 48px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; min-height: 0;
  padding-top: max(96px, 11svh); padding-bottom: 72px; }
.hero-stack .orbit { position: relative; width: var(--orb); height: var(--orb); aspect-ratio: auto; margin: 0 0 58px; flex: none; }
.hero-stack .r1::before { filter: none; }
.hero-stack .orbit-glow { filter: none; inset: 24%; background: radial-gradient(circle, rgba(226, 190, 85, .26), rgba(226, 190, 85, 0) 68%); animation: glowBreathe 6s ease-in-out infinite; }
@keyframes glowBreathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.hero-stack .station { position: absolute; top: -4px; left: 50%; width: 1px; height: 9px; margin-left: -.5px; background: var(--gold-hi, #f0d593); box-shadow: 0 0 6px rgba(240, 213, 147, .8); }
.hero-stack .tile { position: absolute; inset: 36%; border-radius: 8%; overflow: hidden; }
.hero-stack .orbit-mark { position: static; inset: auto; display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(226, 190, 85, .5)); }
.hero-stack .tile-hl { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(247, 227, 161, .28), rgba(247, 227, 161, 0) 55%); mix-blend-mode: screen; opacity: 0; transition: opacity .3s; pointer-events: none; }
.hero-stack.hl-on .tile-hl { opacity: 1; }
.hero-stack .tile-sheen { position: absolute; inset: -10% -60%; background: linear-gradient(110deg, rgba(247, 227, 161, 0) 40%, rgba(247, 227, 161, .45) 50%, rgba(247, 227, 161, 0) 60%); transform: translateX(-120%); pointer-events: none; }
.hero-stack .satellites { list-style: none; margin: 0; padding: 0; clip-path: none; animation: spin 64s linear infinite; will-change: transform; }
.hero-stack .sat { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }
.hero-stack .sat::before { content: ""; position: absolute; left: 50%; top: calc(12% + var(--sat) / 2); bottom: 64%; width: 1px; margin-left: -.5px; background: linear-gradient(to top, rgba(240, 213, 147, .9), rgba(240, 213, 147, 0)); transform-origin: center bottom; scale: 1 0; transition: scale .32s var(--ease); }
.hero-stack .sat a { pointer-events: auto; position: absolute; top: 12%; left: 50%; translate: -50% -50%; width: var(--sat); height: var(--sat); border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(8, 6, 4, .92); box-shadow: 0 0 18px rgba(212, 175, 55, .22); transform: rotate(calc(-1 * var(--a))); animation: counter 64s linear infinite; transition: scale .26s var(--ease), border-color .26s; outline: none; }
.hero-stack .sat a::before { content: ""; position: absolute; inset: min(0px, calc((var(--sat) - 44px) / 2)); border-radius: 50%; }
.hero-stack .sat a::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold-hi, #f0d593); opacity: 0; transition: opacity .2s; }
.hero-stack .sat img { grid-area: 1 / 1; width: 60%; height: 60%; object-fit: contain; transition: opacity .26s; }
.hero-stack .sat img.mono { filter: grayscale(1) sepia(1) saturate(2.4) brightness(.92); }
.hero-stack .sat img.color { opacity: 0; }
.hero-stack .sat.on a, .hero-stack .sat a:hover, .hero-stack .sat a:focus-visible { scale: 1.15; border-color: var(--gold-hi, #f0d593); }
.hero-stack .sat.on a::after, .hero-stack .sat a:hover::after, .hero-stack .sat a:focus-visible::after { opacity: 1; }
.hero-stack .sat.on img.color, .hero-stack .sat a:hover img.color, .hero-stack .sat a:focus-visible img.color { opacity: 1; }
.hero-stack .sat.on img.mono, .hero-stack .sat a:hover img.mono, .hero-stack .sat a:focus-visible img.mono { opacity: 0; }
.hero-stack .sat.on::before, .hero-stack .sat:has(a:hover)::before, .hero-stack .sat:has(a:focus-visible)::before { scale: 1 1; }
.hero-stack .sat a:focus-visible::after { opacity: 1; inset: -6px; border-width: 2px; }
.hero-stack .orbit:is(:hover, :focus-within) .satellites, .hero-stack .orbit:is(:hover, :focus-within) .sat a { animation-play-state: paused; }
.hero-stack .orbit-label { bottom: -2px; color: #a59a82; }
.hero-stack .orbit-readout { position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 0; margin: 0; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: #a59a82; transition: opacity .2s ease-out; }
.hero-stack .orbit-readout b { font-weight: 400; color: var(--gold-hi, #f0d593); }
.hero-stack .orbit-readout span::before { content: " · "; color: #a59a82; }
.hero-stack .orbit-readout.swap { opacity: 0; transition-duration: .18s; }
.hero-stack .hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 920px; }
.hero-stack .eyebrow { margin-bottom: 14px; }
.hero-stack .hero-title { font-size: clamp(32px, min(6.4vw, 8vh), 76px); line-height: .95; margin: 0 0 20px; }
.hero-stack .hero-title br.m { display: none; }
.hero-stack .lede { max-width: 620px; margin: 0 auto 26px; font-size: 17px; line-height: 1.7; }
.hero-stack .hero-ctas { justify-content: center; }
.hero-stack .countdown { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.hero-stack .countdown > div { display: flex; align-items: baseline; gap: 6px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.hero-stack .countdown b { font-size: 20px; }
.hero-stack .countdown span { margin: 0; font-size: 10px; color: #a59a82; }
.hero-stack .countdown p { margin: 0; font-size: 10px; color: #a59a82; }
.hero-stack .countdown p::before { content: "— "; }
.hero-stack .micro { margin-top: 18px; }
.hero-stack.is-off *, .hero-stack.is-off *::before { animation-play-state: paused !important; }
/* entrance, once per session */
.hero-stack.intro .r3 { animation: introRing .6s cubic-bezier(.2, .8, .2, 1) both; }
.hero-stack.intro .r1 { animation: introRingOut .7s cubic-bezier(.2, .8, .2, 1) .08s both; }
.hero-stack.intro .tile { animation: introTile .6s cubic-bezier(.2, .8, .2, 1) .12s both; }
.hero-stack.intro .sat { animation: introSat .65s cubic-bezier(.2, .9, .25, 1) calc(.32s + var(--i) * 60ms) both; }
.hero-stack.intro .tile-sheen { animation: introSheen .9s cubic-bezier(.6, 0, .2, 1) .82s both; }
.hero-stack.intro .orbit-readout { animation: introFade .3s ease-out 1.15s both; }
.hero-stack.intro .hero-copy { animation: introCopy .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-stack.again .orbit { animation: introFade .3s ease-out both; }
@keyframes introRing { from { scale: .6; opacity: 0; } }
@keyframes introRingOut { from { scale: .88; opacity: 0; } }
@keyframes introTile { from { scale: .92; opacity: 0; } }
@keyframes introSat { from { scale: .3; opacity: 0; } }
@keyframes introSheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes introFade { from { opacity: 0; } }
@keyframes introCopy { from { transform: translateY(12px); } }
@media (max-width: 560px) {
  .hero-stack .eb-co { display: none; }
  .hero-stack .hero-title { font-size: clamp(28px, 9.4vw, 40px); }
  .hero-stack .hero-title br.m { display: inline; }
  .hero-stack .hero-title br.d { display: none; }
  .hero-stack .countdown p { flex-basis: 100%; }
  .hero-stack .countdown p::before { content: ""; }
  .hero-stack .lede { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stack .sat img.mono { opacity: 0; }
  .hero-stack .sat img.color { opacity: 1; }
  .hero-stack .station { display: none; }
}
@media (max-width: 380px) { .hero-stack .eyebrow { font-size: 10.5px; letter-spacing: 2px; } }

/* Outlook: the current trajectory leads; the middle run is a quiet reference line */
.ol-plot .ol-line.ol-mid { stroke: rgba(243, 235, 221, .32); stroke-width: 1.2; stroke-dasharray: 4 5 !important; stroke-dashoffset: 0 !important; transition: opacity .8s ease 1s; opacity: 0; }
.outlook.live .ol-plot .ol-line.ol-mid { opacity: 1; }
.ol-plot .ol-dot-mid { display: none; }
.ol-key i.md { height: 0; background: none; border-top: 1.5px dashed rgba(243, 235, 221, .4); }
@media (prefers-reduced-motion: reduce) { .ol-plot .ol-line.ol-mid { opacity: 1 !important; } }

/* Sections 03-06: panel round 3 (final) */
.fx-big { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: 1px; color: transparent; -webkit-text-stroke: 1px rgba(226, 190, 85, .6); margin: 0 0 18px; animation: fxBig .5s var(--ease) both; }
@keyframes fxBig { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.fn-entry::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); box-shadow: 0 0 12px rgba(226, 190, 85, .45); opacity: 0; transition: opacity .4s var(--ease); }
.fn-entry.is-current::after { opacity: 1; }
.fn-entry.is-current .fn-tag i { box-shadow: 0 0 10px var(--c); }
@media (min-width: 1081px) {
  .fn-deck { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; margin-bottom: 56px; }
  .fn-deck .display { margin: 0; }
  .fn-deck .sub { margin: 0 0 8px; max-width: 44ch; }
}
@media (prefers-reduced-motion: reduce) { .fx-big { animation: none; } .fn-entry::after { transition: none; } }
/* 03: the end labels clear the moving tile (28px above the rail plus air) */
@media (min-width: 761px) { .assay-end { margin-bottom: 46px; } }
/* Hero tile: glow fitted to the tile frame and kept faint (no visible box) */
.hero-stack .tile { overflow: visible; border-radius: 0; }
.hero-stack .tile-hl, .hero-stack .tile-sheen { inset: 7.8%; border-radius: 9%; overflow: hidden; }
.hero-stack .tile-hl { background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(247, 227, 161, .10), rgba(247, 227, 161, 0) 60%); mix-blend-mode: normal; }
.hero-stack .tile-sheen { background: linear-gradient(110deg, rgba(247, 227, 161, 0) 42%, rgba(247, 227, 161, .22) 50%, rgba(247, 227, 161, 0) 58%) no-repeat; background-size: 300% 100%; transform: none; }
.hero-stack.intro .tile-sheen { animation: introSheenBg .9s cubic-bezier(.6, 0, .2, 1) .82s both; }
@keyframes introSheenBg { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.hero-stack .orbit-mark { filter: drop-shadow(0 0 10px rgba(226, 190, 85, .28)); }

/* 05: one figure per capability (replaces the shared seven-company diagram) */
.fx-panel { grid-row: 1 / 7; }
.fx-fig { margin: 30px 0 0; max-width: 600px; }
.fx-fig svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--mono); }
.fx-fig text { font-size: 15px; fill: var(--ink-2); letter-spacing: .5px; }
.fx-fig text.sm { font-size: 12.5px; fill: #a59a82; }
.fx-fig text.l { font-size: 14.5px; fill: var(--ink-2); }
.fx-fig text.cap { font-size: 12.5px; fill: #a59a82; letter-spacing: 1.5px; text-transform: uppercase; }
.fx-fig text.cap.miss { fill: #c98a6a; }
.fx-fig text.gt { font-size: 12.5px; fill: var(--gold-hi, #f0d593); letter-spacing: 1.5px; text-transform: uppercase; }
.fx-fig text.tag { font-size: 13.5px; fill: var(--gold-mid); }
.fx-fig text.op { font-size: 30px; fill: var(--gold-mid); font-family: var(--display); }
.fx-fig .nd rect, .fx-fig .nd circle:not(.dotg):not(.knob) { fill: rgba(212, 175, 55, .05); stroke: rgba(226, 190, 85, .55); stroke-width: 1; }
.fx-fig .nd.hot rect, .fx-fig .nd.hot circle { fill: rgba(212, 175, 55, .14); stroke: var(--gold-hi, #f0d593); }
.fx-fig .nd.hot text { fill: var(--gold-hi, #f0d593); }
.fx-fig .nd rect.fill { fill: rgba(240, 213, 147, .8); stroke: none; }
.fx-fig .nd rect.soft { fill: rgba(243, 235, 221, .25); stroke: none; }
.fx-fig .nd rect.btn { fill: var(--gold-mid); stroke: none; }
.fx-fig .dotg { fill: var(--gold-mid); }
.fx-fig .ln { fill: none; stroke: rgba(226, 190, 85, .7); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: fxDraw .7s var(--ease) both; animation-delay: calc(var(--k) * 90ms); }
.fx-fig .ln.gate { stroke: var(--gold-hi, #f0d593); stroke-dasharray: 6 6; stroke-dashoffset: 0; animation: fxFade .5s ease both; }
.fx-fig .ico, .fx-fig .ok { fill: none; stroke: var(--gold-hi, #f0d593); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-fig .sw { fill: rgba(212, 175, 55, .2); stroke: rgba(226, 190, 85, .6); }
.fx-fig .knob { fill: var(--gold-hi, #f0d593); }
.fx-fig .bar rect { fill: url(#gold-a); opacity: .9; transform-box: fill-box; transform-origin: center bottom; animation: fxGrow .6s var(--ease) both; animation-delay: calc(.15s + var(--k) * 90ms); }
.fx-fig .bar.miss rect { fill: rgba(243, 235, 221, .18); stroke: rgba(201, 138, 106, .7); stroke-dasharray: 4 4; }
.fx-fig .bar text { font-size: 13px; fill: var(--ink-2); }
.fx-fig .nd, .fx-fig .op, .fx-fig .voice { animation: fxFade .45s ease both; animation-delay: calc(var(--k) * 90ms); }
@keyframes fxDraw { to { stroke-dashoffset: 0; } }
@keyframes fxFade { from { opacity: 0; } }
@keyframes fxGrow { from { transform: scaleY(0); } }
@media (max-width: 900px) { .fx-fig { margin-top: 22px; } .fx-fig text { font-size: 17px; } .fx-fig text.sm, .fx-fig text.cap, .fx-fig text.gt { font-size: 15px; } .fx-fig text.l { font-size: 16.5px; } .fx-fig .bar text { font-size: 15.5px; } }
@media (prefers-reduced-motion: reduce) { .fx-fig .ln { stroke-dashoffset: 0; } }

/* ================= Hero stage: the gold atom owns the first screen (designer panel, round 2) ================= */
.stage-track { position: relative; height: 300svh; }
.au-stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; padding-top: 96px; overflow: hidden;
  --atom: clamp(240px, min(calc(100svh - 290px), 94vw), 860px); --sat: clamp(32px, calc(var(--atom) * .072), 50px); }
.atom { position: relative; flex: none; width: var(--atom); height: var(--atom); margin-top: auto; transform-origin: 50% 50%; will-change: transform; }
.atom-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nucleus-glow { position: absolute; inset: 31%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 190, 85, .2), rgba(226, 190, 85, 0) 68%); animation: glowBreathe 6s ease-in-out infinite; pointer-events: none; }
.au-stage .tile { inset: 39%; }
.au-stage .orbit { position: absolute; inset: 0; width: auto; height: auto; margin: 0; }
.au-stage .orbit.gone { visibility: hidden; }
.au-stage .satellites { position: absolute; inset: 0; animation-duration: 96s; }
.au-stage .sat a { top: 4.5%; animation-duration: 96s; }
.au-stage .sat::before { top: calc(4.5% + var(--sat) / 2); bottom: 61%; }
.au-stage .station { top: -9px; height: 8px; }
.gauge { display: none; position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.gauge li { position: absolute; left: calc(50% + var(--f) * 50%); top: calc(50% - 22px); translate: -50% 0; font-family: var(--mono); font-size: 10px; letter-spacing: .5px; color: #a59a82; transition: color .2s; }
.gauge li.lit { color: var(--gold-hi, #f0d593); }
.gauge li.sum { top: calc(50% + 10px); font-size: 11px; color: var(--gold-hi, #f0d593); opacity: 0; transition: opacity .24s; }
.gauge li.sum.lit { opacity: 1; }
.stage-meta { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 16px; text-align: center; flex: none; }
.au-stage .orbit-label { position: static; translate: none; margin: 0; padding: 0; background: none; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: #a59a82; white-space: nowrap; }
.au-stage .orbit-readout { position: static; translate: none; }
.config { display: flex; align-items: baseline; gap: 9px; margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: #a59a82; }
.config i { font-style: normal; transition: color .2s; }
.config i + i::before { content: "·"; margin-right: 9px; color: #6f6656; }
.config i.lit { color: var(--gold-hi, #f0d593); }
.config b { font-weight: 400; color: var(--gold-hi, #f0d593); opacity: 0; transition: opacity .24s; }
.config b::before { content: "= "; }
.config b.lit { opacity: 1; }
.stage-foot { position: relative; flex: none; width: 100%; height: 44px; margin: auto 0 8px; display: flex; align-items: center; justify-content: center; }
.cue { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 64px; min-height: 44px; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #a59a82; text-decoration: none; }
.cue:hover, .cue:focus-visible { color: var(--gold-hi, #f0d593); }
.cue::after { content: ""; width: 1px; height: 18px; background: linear-gradient(var(--gold-mid), rgba(226, 190, 85, 0)); transform-origin: center top; animation: cueDrip 2.4s ease-in-out infinite; }
@keyframes cueDrip { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.motion-toggle { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(8, 6, 4, .6); display: grid; place-items: center; cursor: pointer; padding: 0; }
.motion-toggle::before { content: ""; box-sizing: border-box; width: 10px; height: 12px; border-left: 3px solid var(--gold-hi, #f0d593); border-right: 3px solid var(--gold-hi, #f0d593); }
.motion-toggle[aria-pressed="true"]::before { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-left: 10px solid var(--gold-hi, #f0d593); border-right: 0; }
.motion-toggle:focus-visible, .cue:focus-visible { outline: 2px solid var(--gold-hi, #f0d593); outline-offset: 3px; }
.au-stage .marquee { flex: none; width: 100%; padding: 15px 0 calc(15px + env(safe-area-inset-bottom, 0px)); }
.au-stage .marquee.held .marquee-track { animation-play-state: paused; }
.stage-track.paused .satellites, .stage-track.paused .sat a, .stage-track.paused .marquee-track, .stage-track.paused .cue::after, .stage-track.paused .nucleus-glow { animation-play-state: paused; }
.hero-stack.intro .stage-meta, .hero-stack.intro .gauge { animation: introFade .3s ease-out 1.9s both; }
.hero-stack.intro .stage-foot { animation: introFade .4s ease-out 2.1s both; }
@media (min-width: 468px) and (min-height: 730px) { .gauge { display: block; } .config { display: none; } }
@media (max-height: 500px) {
  .au-stage { padding-top: 78px; --atom: clamp(170px, calc(100svh - 150px), 860px); }
  .stage-meta, .cue { display: none; }
  .au-stage .marquee { font-size: 11px; padding: 10px 0; }
}

/* module 2: the statement screen rises over the pinned atom */
.hero-intro { position: relative; z-index: 2; margin-top: -55svh; padding: 24px var(--gutter) clamp(96px, 14svh, 168px); text-align: center; min-height: 62svh; }
.hero-intro-in { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-intro .eyebrow { margin-bottom: 18px; }
.hero-intro .hero-title { font-size: clamp(36px, 7vw, 104px); line-height: .95; margin: 0 0 24px; }
.hero-intro .lede { font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0 auto 32px; }
.hero-intro .countdown { margin-top: 26px; }
@media (max-width: 560px) {
  .stage-track { height: 220svh; }
  .hero-intro { margin-top: -45svh; }
  .hero-intro .hero-title { font-size: clamp(30px, 10.2vw, 44px); }
  .hero-intro .lede { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-track { height: auto !important; }
  .au-stage { position: relative; }
  .hero-intro { margin-top: 0; padding-top: 72px; min-height: 0; }
  .hero-intro-in { opacity: 1 !important; transform: none !important; }
  .motion-toggle { display: none; }
  .gauge li.sum, .config b { opacity: 1; }
}

/* 04: the hallmarks are gold bars (beveled, stamped, one sheen on reveal) */
.hm-brick { width: clamp(120px, 11.5vw, 172px); height: auto; aspect-ratio: 120 / 72; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(226, 190, 85, .22)); }
.hm-brick .hm-au { font-family: var(--display); font-size: 30px; font-weight: 700; fill: #6e4e10; }
.hm-brick .hm-au.hl { fill: #fff3c2; fill-opacity: .75; }
.hm-brick .hm-z { font-family: var(--mono); font-size: 9px; fill: #6e4e10; }
.hm-brick .hm-z.hl { fill: #fff3c2; fill-opacity: .7; }
.hm-brick .hm-sheen { transform-box: view-box; }
.hm:not(.pre) .hm-brick .hm-sheen { animation: hmSheen 1.2s cubic-bezier(.5, 0, .2, 1) .55s both; }
@keyframes hmSheen { from { translate: 0 0; } to { translate: 210px 0; } }
@media (max-width: 760px) { .hm-brick { width: 104px; } }
@media (prefers-reduced-motion: reduce) { .hm:not(.pre) .hm-brick .hm-sheen { animation: none; } }

/* Market size view, v3: a ranked list. The market is the big gold figure; no log scale. */
.ol-ml { list-style: none; margin: 0; padding: 6px 18px 4px; }
.ml-row { display: grid; grid-template-columns: minmax(0, 1.05fr) auto minmax(220px, .8fr); grid-template-areas: "who big reach" "basis big reach"; column-gap: 36px; row-gap: 6px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(243, 235, 221, .07); }
.ml-row:last-child { border-bottom: 0; }
.ml-who { grid-area: who; align-self: end; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ml-n { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: #a59a82; }
.ml-who i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.ml-who b { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: .3px; }
.ml-basis { grid-area: basis; align-self: start; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.ml-big { grid-area: big; justify-self: end; text-align: right; white-space: nowrap; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; font-size: calc(clamp(26px, 3.3vw, 50px) * (1.3 - var(--rank) * .085)); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ml-big small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: #a59a82; -webkit-text-fill-color: #a59a82; }
.ml-reach-wrap { grid-area: reach; min-width: 0; }
.ml-reach { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 6px; align-items: baseline; }
.ml-rl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #a59a82; }
.ml-reach strong { justify-self: end; font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ml-reach strong.ml-early { font-weight: 500; color: var(--ink-2); }
.ml-meter { grid-column: 1 / -1; display: block; height: 4px; border-radius: 2px; background: rgba(243, 235, 221, .1); overflow: hidden; }
.ml-meter i { display: block; height: 100%; border-radius: 2px; background: var(--grad); transform-origin: left center; }
.ml-rd { grid-column: 1 / -1; font-size: 12px; line-height: 1.45; color: var(--muted); }
.ol-ml.grow .ml-row { animation: mlIn .5s var(--ease) both; animation-delay: var(--d); }
.ol-ml.grow .ml-meter i { animation: mkGrow .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
@keyframes mlIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 1099px) { .ml-row { column-gap: 24px; grid-template-columns: minmax(0, 1fr) auto minmax(190px, .75fr); } }
@media (max-width: 860px) {
  .ol-ml { padding: 2px 10px; }
  .ml-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who big" "basis basis" "reach reach"; row-gap: 10px; padding: 18px 0; }
  .ml-who { align-self: center; }
  .ml-big { font-size: calc(clamp(22px, 6.4vw, 34px) * (1.18 - var(--rank) * .05)); }
  .ml-big small { display: none; }
  .ml-basis { max-width: none; }
}
@media (max-width: 380px) { .ml-who b { font-size: 15px; } .ml-n { display: none; } }
@media (prefers-reduced-motion: reduce) { .ol-ml.grow .ml-row, .ol-ml.grow .ml-meter i { animation: none; } }
/* Market list: aligned columns on desktop; the figure gets its own line on phones */
.ml-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(220px, .8fr); }
@media (max-width: 1099px) { .ml-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(190px, .75fr); } }
@media (max-width: 860px) { .ml-row { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 560px) {
  .ml-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "big" "basis" "reach"; row-gap: 8px; }
  .ml-big { justify-self: start; text-align: left; }
}
/* Logo strip: seven tiles stay symmetrical at every width (the last row is centered) */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-strip > a { flex: 0 1 calc((100% - 42px) / 4); min-width: 0; }
@media (max-width: 1280px) { .logo-strip > a { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 860px) { .logo-strip > a { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 460px) { .logo-strip > a { flex-basis: 100%; } }

/* ===== Shipped and Scaled: past work reads in silver and never pulses ===== */
:root { --silver: #cfcac0; --silver-dim: #8f8a80; --silver-line: rgba(207, 202, 192, .28); }
.status.past { color: var(--silver); }
.status.past i { background: var(--silver-dim); box-shadow: none; animation: none; }
.group-head.past { margin-top: 64px; border-bottom-color: var(--silver-line); }
.group-head.past .status { color: var(--silver); }
.group-sub { margin: -6px 0 22px; max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.co-logo.past { border-color: var(--silver-line); box-shadow: none; }
.release.past { border-color: rgba(207, 202, 192, .45); background: rgba(207, 202, 192, .06); color: var(--silver); box-shadow: none; }
.release.past i { background: var(--silver-dim); box-shadow: none; animation: none; }
/* hero orbit: past work on the outer ring, smaller, dimmer, slower, counter-turning */
.hero-stack .satellites.past { animation: spin 150s linear infinite reverse; }
.hero-stack .satellites.past .sat::before { display: none; }
.hero-stack .satellites.past .sat a { top: 0; --ps: calc(var(--sat) * .72); width: var(--ps); height: var(--ps); border-color: var(--silver-line); background: rgba(8, 7, 6, .9); box-shadow: none; opacity: .62; animation: counter 150s linear infinite reverse; transition: scale .26s var(--ease), opacity .26s, border-color .26s; }
.hero-stack .satellites.past .sat a::after { border-color: var(--silver); }
.hero-stack .satellites.past .sat img { width: 70%; height: 70%; }
.hero-stack .satellites.past .sat a:hover, .hero-stack .satellites.past .sat a:focus-visible { opacity: 1; scale: 1.12; border-color: var(--silver); }
.hero-stack .orbit-readout.past b { color: var(--silver); }
.hero-stack.intro .satellites.past .sat { animation: introSat .65s cubic-bezier(.2, .9, .25, 1) calc(.32s + var(--i) * 60ms) both; }
@media (prefers-reduced-motion: reduce) { .hero-stack .satellites.past, .hero-stack .satellites.past .sat a { animation: none; } }
/* footer + next-co on past pages */
.next-co.past { border-color: var(--silver-line); }
.past-page .page-hero h1 .gold { filter: saturate(.6); }

/* Atom stage: current products ride the inner path; Shipped and Scaled sits on a silver outer ring */
.au-stage .sat a { top: 6.5%; }
.au-stage .sat::before { top: calc(6.5% + var(--sat) / 2); }
.au-stage .station { display: none; }
.au-stage .satellites.past { animation: spin 150s linear infinite reverse; }
.au-stage .satellites.past .sat a { top: .7%; --ps: calc(var(--sat) * .68); width: var(--ps); height: var(--ps); animation: counter 150s linear infinite reverse; }
.stage-track.paused .satellites.past, .stage-track.paused .satellites.past .sat a { animation-play-state: paused; }

/* Orbit: ten marks on one path, evenly spaced; Shipped and Scaled reads in silver */
.au-stage { --atom: clamp(240px, min(calc(100svh - 312px), 94vw), 860px); }
.stage-meta { margin-top: 30px; }
.au-stage .sat.past a { border-color: var(--silver-line); }
.au-stage .sat.past a::after { border-color: var(--silver); }
.au-stage .sat.past.on a, .au-stage .sat.past a:hover, .au-stage .sat.past a:focus-visible { border-color: var(--silver); }
.au-stage .sat.past::before { background: linear-gradient(to top, rgba(207, 202, 192, .85), rgba(207, 202, 192, 0)); }
.au-stage .orbit-readout.past b { color: var(--silver); }
.co-logo.wordmark { width: auto; height: 64px; max-width: min(100%, 300px); padding: 14px 20px; background: #f7f5f0; object-fit: contain; border-radius: 16px; }

/* A gold cursor: arrow by default, a gold ring on anything clickable */
html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1bd'/%3E%3Cstop offset='.55' stop-color='%23e2be55'/%3E%3Cstop offset='1' stop-color='%23a67c1e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 3l17.5 8.2-7.4 2.3-2.5 7.6z' fill='url(%23g)' stroke='%23120d04' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto; }
a, button, summary, [role="tab"], .fx-tab, label, select { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='10.5' fill='rgba(226,190,85,.14)' stroke='%23120d04' stroke-width='3.4'/%3E%3Ccircle cx='16' cy='16' r='10.5' fill='none' stroke='%23f0d593' stroke-width='1.8'/%3E%3Ccircle cx='16' cy='16' r='2.6' fill='%23fff1bd' stroke='%23120d04' stroke-width='1'/%3E%3C/svg%3E") 16 16, pointer; }
input, textarea { cursor: text; }
/* Orbit path for all ten marks */
.au-stage .sat a { top: 4.5%; }
.au-stage .sat::before { top: calc(4.5% + var(--sat) / 2); }
/* Logos read in gold by default and show their true colors on hover or focus (a company's own page keeps true color) */
.logo-strip .co-logo, .co .co-logo, .next-co .co-logo { filter: grayscale(1) sepia(1) saturate(2.4) brightness(.92); transition: filter .35s ease; }
.logo-strip a:hover .co-logo, .logo-strip a:focus-visible .co-logo, .co:hover .co-logo, .co:focus-within .co-logo, .next-co:hover .co-logo, .next-co:focus-visible .co-logo { filter: none; }
@media (prefers-reduced-motion: reduce) { .logo-strip .co-logo, .co .co-logo, .next-co .co-logo { transition: none; } }

/* CODAworx mark: full gold at rest (its own gold file, no filter), true colors on hover */
.co-logo[src$="past/codamarket.svg"], .au-stage .sat img.mono[src$="past/codamarket.svg"] { filter: none; }

/* Shipped and Scaled tiles are the same card as the companies above; an odd last card is centered */
@media (min-width: 1081px) { .cards.past-cards > .co:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); } }

/* UW mark: gold at rest from its own file, official red on hover */
.co-logo[src$="past/uwhealth.svg"], .au-stage .sat img.mono[src$="past/uwhealth.svg"] { filter: none; }

/* Gallify mark: the original ornate frame, redrawn; gold at rest, its magenta on hover */
.co-logo[src$="past/gallify.svg"], .au-stage .sat img.mono[src$="past/gallify.svg"] { filter: none; }

/* ================= Company pages: large media (designer panel) ================= */
/* A. Architecture plate: breaks out of the container to nearly the full screen width */
#how, #system, #practice, #product, #architecture, #more { overflow-x: clip; }
.how-intro .prose { max-width: 68ch; }
@media (min-width: 900px) {
  .how-intro .prose { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
  .how-intro .prose p { margin: 0; }
}
.how-fig { --w: min(1440px, calc(100vw - 2 * var(--gutter)), calc((100svh - 140px) * var(--ar, 1.6))); width: var(--w); margin: 56px 0 0 calc((100% - var(--w)) / 2); }
.how-fig .frame { border-radius: 18px; }
.how-fig video, .how-fig img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .how-fig { --w: calc(100% + 2 * var(--gutter) - 16px); margin-top: 32px; }
  .how-fig .frame { border-radius: 12px; }
}

/* B. Feature rows: media leads. Split rows give media about 62%; rows with large sources stack and span the container */
.feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.feature.flip { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.feature > figure { margin: 0; min-width: 0; }
.feature.feature--stack, .feature.feature--stack.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 72px 0; }
.feature--stack.flip > .feature-copy { order: 0; }
.feature--stack .feature-copy h3 { font-size: clamp(28px, 3.4vw, 48px); }
@media (min-width: 900px) {
  .feature--stack .feature-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; grid-auto-flow: row dense; }
  .feature--stack .feature-copy > .step-tag { grid-column: 1; grid-row: 1; }
  .feature--stack .feature-copy > h3 { grid-column: 1; grid-row: 2 / span 4; margin-top: 12px; align-self: start; }
  .feature--stack .feature-copy > :is(p, ul) { grid-column: 2; }
}
.feature--stack .frame.tall img { max-height: min(78svh, 820px); }
.wish-row { max-width: none; }
@media (min-width: 901px) {
  .stage-split.stage-split--stack { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "h p" "s c" "f f"; grid-template-rows: none; }
  .stage-split--stack .s-f { margin-top: 48px; }
}
.stage .win.phone { width: min(100%, 400px); }
@media (max-width: 1080px) { .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); } .feature.flip > .feature-copy { order: 0; } }
@media (max-width: 760px) {
  .feature > figure, .media-grid > figure, .wish-row > figure { margin-inline: calc(8px - var(--gutter)); }
  .stage { padding: 10px; }
}

/* C. Media grids: fewer, larger tiles */
.media-grid.wide { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.media-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .media-grid.three { grid-template-columns: minmax(0, 1fr); } }
.media-grid:not(.wide) > figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 22px) / 2); }
@media (max-width: 760px) { .media-grid > figure:last-child:nth-child(odd) { width: auto; justify-self: stretch; } }

/* Media settles in as it scrolls into view, one subject at a time */
@supports (animation-timeline: view()) {
  .how-fig > .frame, .feature--stack > figure > :is(.frame, .stage), .media-grid.wide > figure > .frame { animation: mediaIn linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}
@keyframes mediaIn { from { transform: scale(.94); opacity: .5; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .how-fig > .frame, .feature--stack > figure > :is(.frame, .stage), .media-grid.wide > figure > .frame { animation: none; } }

/* D. Enlarge: every product image and recording opens in a full-screen viewer */
.zoom { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 4, 3, .5); color: var(--gold-mid); font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.zoom svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.zoom:hover, .zoom:focus-visible { border-color: var(--line-strong); color: var(--gold-hi); }
.frame-bar .zoom { flex: none; }
.frame-bar span { margin-right: 8px; }
.stage > .zoom { position: absolute; top: 12px; right: 12px; z-index: 3; }
@media (pointer: coarse) { .zoom { min-height: 44px; min-width: 44px; justify-content: center; } .frame-bar .zoom { margin-block: -8px; border-color: transparent; background: none; } }
[data-zoomable] { cursor: zoom-in; }
dialog.viewer { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; padding: 0; border: 0; background: rgba(5, 4, 3, .96); color: var(--ink); }
dialog.viewer::backdrop { background: rgba(5, 4, 3, .96); }
dialog.viewer[open] { display: flex; flex-direction: column; }
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(212, 175, 55, .04); flex: none; }
.viewer-bar h2 { margin: 0 auto 0 0; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-bar button { min-height: 36px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--gold-hi); font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; }
.viewer-bar button:focus-visible, .viewer-stage:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.viewer-stage { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 12px; }
.viewer-stage > :is(img, video) { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; animation: viewerIn .16s ease both; }
.viewer.actual .viewer-stage { display: block; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
.viewer.actual .viewer-stage > :is(img, video) { max-width: none; max-height: none; }
.viewer-cap { margin: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 12.5px; color: var(--muted); text-align: center; flex: none; }
.viewer-cap:empty { display: none; }
@keyframes viewerIn { from { opacity: 0; } }
html:has(dialog.viewer[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .viewer-stage > :is(img, video) { animation: none; } }

/* ===== Company pages: Outlook section (the company's part of the home-page outlook, in its own colors) ===== */
.col-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-top: 36px; }
.col-chart { margin: 0; padding: 22px 22px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5, 4, 3, .55); }
.col-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.col-chart .ol-key i.st { background: var(--gold-hi); box-shadow: 0 0 10px var(--gold); }
.col-chart .ol-key-st { color: var(--gold-hi); }
.col-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.col-plot text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.col-plot text.yr { fill: var(--ink-2); font-size: 12px; }
.col-plot text.val { fill: var(--gold-hi); font-family: var(--display); font-size: 14px; font-weight: 600; }
.col-plot .grid { stroke: rgba(243, 235, 221, .07); stroke-width: 1; }
.col-plot .base { stroke: var(--line); stroke-width: 1; }
.col-plot .area { fill: var(--gold); opacity: .12; }
.col-plot .line { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--glow, rgba(212, 175, 55, .5))); stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1); }
.col-plot .mid { fill: none; stroke: rgba(243, 235, 221, .34); stroke-width: 1.3; stroke-dasharray: 4 5; }
.col-plot .dot { fill: #0b0906; stroke: var(--gold-hi); stroke-width: 2; }
.col-chart.live .line { stroke-dashoffset: 0; }
.col-plot .area, .col-plot .dot, .col-plot text.val { opacity: 0; transition: opacity .6s ease .9s; }
.col-chart.live .area { opacity: .12; } .col-chart.live .dot, .col-chart.live text.val { opacity: 1; }
.col-chart .caption { margin-top: 10px; }
.col-kpis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
.col-kpis > div { display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(5, 4, 3, .6); }
.col-kpis dt { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.1; color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.col-kpis dd { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 980px) { .col-grid { grid-template-columns: minmax(0, 1fr); } .col-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .col-kpis { grid-template-columns: minmax(0, 1fr); } .col-chart { padding: 16px 12px 12px; } }
@media (prefers-reduced-motion: reduce) { .col-plot .line { stroke-dashoffset: 0; transition: none; } .col-plot .area { opacity: .12; } .col-plot .dot, .col-plot text.val { opacity: 1; transition: none; } }

/* Top strip: ten tiles stay symmetrical (4 + 4 + 2, 3 + 3 + 3 + 1, 2 per row, then 1) */
.co-logo.sm.past { filter: none; }

/* Product outlook: the year-by-year table under the chart */
.col-years { margin-top: 22px; }
.col-years table.results td.num, .col-years table.results th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.col-years table.results td b { color: var(--gold-hi); font-weight: 600; }

/* Card grids: an incomplete last row is always centered, at every width */
.decisions, .steps, .std-grid, .next-cos, .contact-grid, .cards:not(.single), .media-grid:not(.wide) { display: flex; flex-wrap: wrap; justify-content: center; --cols: 3; --gap: 18px; gap: var(--gap); }
:is(.decisions, .steps, .std-grid, .next-cos, .contact-grid, .cards:not(.single), .media-grid:not(.wide)) > * { flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; width: auto; }
.steps { --gap: 22px; }
.std-grid, .next-cos, .contact-grid { --gap: 16px; }
.contact-grid { --cols: 4; }
.cards:not(.single), .media-grid:not(.wide) { --cols: 2; --gap: 22px; }
@media (max-width: 1080px) { .decisions, .steps, .std-grid, .next-cos, .contact-grid { --cols: 2; } }
@media (max-width: 760px) { .decisions, .steps, .std-grid, .next-cos, .contact-grid, .cards:not(.single), .media-grid:not(.wide) { --cols: 1; } }
@media (max-width: 900px) { .fn-rail ol li:last-child:nth-child(odd) { grid-column: 1 / -1; } .fn-rail ol li:last-child:nth-child(odd) a { justify-content: center; } }

/* 03: the sliding Au tile is its own compositor layer; its glow is a box-shadow, so moving it costs nothing */
.assay-tile { filter: none; box-shadow: 0 0 22px rgba(212, 175, 55, .42), 0 0 6px rgba(240, 213, 147, .35); will-change: transform; backface-visibility: hidden; }
.assay-fill { will-change: transform; }

/* product pages: the top selector lists all ten products, the three shipped ones after a divider */
.nav-sep { width: 1px; align-self: stretch; margin: 6px 4px; background: var(--line); }
.mobile-menu .nav-sep { width: auto; height: 1px; margin: 6px 0; align-self: auto; }
.company-page .nav-links { gap: 2px; }
.company-page .nav-links a { padding: 8px 11px; letter-spacing: 1.7px; white-space: nowrap; }
@media (max-width: 1500px) { .company-page .nav-links a { padding: 8px 8px; letter-spacing: 1.2px; font-size: 10.5px; } }
@media (max-width: 1220px) {
  .company-page .nav-links { display: none; }
  .company-page .nav-cta { margin-left: auto; }
  .company-page .menu-btn { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(10, 8, 5, .5); cursor: pointer; }
  .company-page .menu-btn span { width: 18px; height: 1px; background: var(--gold-hi); transition: transform .3s; }
  .company-page .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .company-page .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .company-page .mobile-menu:not([hidden]) { display: flex; flex-direction: column; gap: 6px; position: fixed; z-index: 49; top: 72px; left: auto; right: var(--gutter); width: min(420px, calc(100vw - 2 * var(--gutter))); padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 6, 4, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .company-page .mobile-menu a:not(.btn) { padding: 12px 10px; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .company-page .mobile-menu .btn { margin-top: 12px; }
}
/* the open menu never runs off a short screen */
.mobile-menu:not([hidden]) { max-height: calc(100svh - 92px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mobile-menu a.active { color: var(--gold-hi); }

/* Outlook: only the trajectory line, shaded from the line up. By product: each year's stack assembles piece by piece. */
.ol-sub:empty { display: none; }
.ol-plot .seg { transform: translateY(-26px) scaleY(.5); opacity: 0; transition: transform .7s cubic-bezier(.2, .9, .25, 1), opacity .35s ease; }
.outlook.live .ol-plot .seg { transform: none; opacity: .82; }
.outlook.dim .seg:not(.hl) { opacity: .18; }
.outlook.live .ol-plot .ol-line.ol-over { transition-delay: 1.1s; }
.col-plot .area { opacity: 0; transition: opacity .9s ease .5s; }
.col-chart.live .col-plot .area { opacity: .16; }
@media (prefers-reduced-motion: reduce) { .ol-plot .seg { transform: none !important; opacity: .82 !important; transition: none; } .col-plot .area { opacity: .16; transition: none; } }

/* ===== Pinned scenes (Apple-style): the section holds while its animation plays, then releases ===== */
.scene.is-pinned { height: calc(100svh + var(--pin, 120) * 1svh); padding-top: 0; padding-bottom: 0; }
.scene.is-pinned > .scene-pin { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; padding-top: 72px; box-sizing: border-box; }
.scene.is-pinned .assay-step > :is(.assay-n, h3, p) { opacity: .26; transition: opacity .55s ease; }
.scene.is-pinned .assay-step.is-on > :is(.assay-n, h3, p) { opacity: 1; }
.assay-end { transition: color .45s ease, text-shadow .45s ease; }
.assay.is-done .assay-finish { color: var(--gold-hi); text-shadow: 0 0 14px rgba(226, 190, 85, .5); }

/* ===== Scroll text: words rise, gold words gild, lead paragraphs ink in, kickers type on, figures and timelines light in turn ===== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.sda .sx .sxw { display: inline-block; animation: stInk linear both; animation-timeline: view(); animation-range: cover calc(4% + var(--k, 0) * 9%) cover calc(15% + var(--k, 0) * 9%); }
    html.sda .sx-h .sxw { animation-name: stRise; animation-range: cover calc(2% + var(--k, 0) * 8%) cover calc(14% + var(--k, 0) * 8%); }
    html.sda .sx .gold { background: none; color: inherit; }
    html.sda .sx .sxg { background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold-mid) 22%, var(--gold-lo) 44%, #fff6d8 50%, var(--ink) 56%, var(--ink) 100%) 100% 0 / 230% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation-name: stGild; animation-range: cover calc(6% + var(--k, 0) * 9%) cover calc(26% + var(--k, 0) * 9%); }
    html.sda .sx-h .sxg { animation-name: stGildRise; animation-range: cover calc(2% + var(--k, 0) * 8%) cover calc(27% + var(--k, 0) * 8%); }
    html.sda .kicker.sx-k { animation: stType linear both; animation-timeline: view(); animation-range: cover 1% cover 11%; }
    html.sda :is(.facts, .stat-band).sx-f > div { animation: stFig linear both; animation-timeline: view(); animation-range: cover calc(3% + var(--n, 0) * 3.5%) cover calc(14% + var(--n, 0) * 3.5%); }
    html.sda :is(.facts, .stat-band).sx-f > div:nth-child(2) { --n: 1; } html.sda :is(.facts, .stat-band).sx-f > div:nth-child(3) { --n: 2; } html.sda :is(.facts, .stat-band).sx-f > div:nth-child(4) { --n: 3; }
    html.sda .timeline.sx-f::after { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold-hi), var(--gold-mid)); box-shadow: 0 0 10px var(--glow); transform-origin: 50% 0; animation: stLine linear both; animation-timeline: view(); animation-range: cover 38vh cover calc(100% - 62vh); }
    html.sda .timeline.sx-f > li { animation: stStep linear both; animation-timeline: view(); animation-range: cover 28vh cover 40vh; }
  }
}
@media (max-width: 760px) { html.sda .timeline.sx-f::after { left: 4px; } }
@keyframes stInk { from { opacity: .2; } to { opacity: 1; } }
@keyframes stRise { from { opacity: 0; transform: translate3d(0, .55em, 0); } to { opacity: 1; transform: none; } }
@keyframes stGild { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes stGildRise { 0% { opacity: 0; transform: translate3d(0, .55em, 0); background-position: 100% 0; } 45% { opacity: 1; transform: none; background-position: 100% 0; } 100% { opacity: 1; transform: none; background-position: 0 0; } }
@keyframes stType { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes stFig { from { opacity: .1; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes stLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes stStep { from { opacity: .26; } to { opacity: 1; } }

/* Truefill: recordings and line drawings taken from the Truefill site */
.tf-art .frame { background: #fff; }
.tf-art video { display: block; width: 100%; height: auto; }

/* By product: the stacks, their totals and the trajectory line build left to right, year by year */
.ol-plot text.tot-seq { opacity: 0; transition: opacity .4s ease; }
.outlook.live .ol-plot text.tot-seq { opacity: 1; }
.outlook.live .ol-plot .ol-line.ol-over { transition: stroke-dashoffset 2.1s linear .35s; }
@media (prefers-reduced-motion: reduce) { .ol-plot text.tot-seq { opacity: 1; transition: none; } }

/* ===== More pinned scenes: the page holds while a chart draws itself or an architecture plate comes forward, driven by --p ===== */
.scene { --p: 1; }
.scene.is-pinned { --q: clamp(0, calc((var(--p) - .05) / .68), 1); }
div.scene.is-pinned > .scene-pin { padding-top: 76px; }
/* architecture plates (product pages): the plate comes forward and brightens, then the page moves on */
.scene.is-pinned .how-fig { margin-top: 0; }
.scene.is-pinned .how-fig > .frame { animation: none; transform-origin: 50% 50%; transform: scale(calc(.8 + .2 * min(1, var(--p) / .45))); opacity: 1; }
/* home outlook: the trajectory draws with the scroll, year by year */
.scene.is-pinned .outlook { margin-top: 0; margin-bottom: 0; }
.scene.is-pinned .outlook:not(.ol-free) .ol-plot .ol-line.ol-strong { stroke-dashoffset: calc(var(--len, 1000) * (1 - var(--q))); transition: none; }
.scene.is-pinned .outlook:not(.ol-free) .ol-plot .band-area { opacity: var(--q); transition: none; }
.scene.is-pinned .outlook:not(.ol-free) .ol-plot :is(.ol-dot, text.tot-strong, text.tot-seq) { opacity: clamp(0, calc((var(--q) - var(--i, 0) * .93) * 14 + .6), 1); transition: none; }
.scene.is-pinned .outlook .ol-kpis > div { opacity: clamp(.18, calc((var(--q) - var(--n, 0) * .3) * 5), 1); transition: none; }
.scene.is-pinned .outlook .ol-kpis > div:nth-child(2) { --n: 1; } .scene.is-pinned .outlook .ol-kpis > div:nth-child(3) { --n: 2; }
/* product outlook: the same, with the figures arriving in turn */
.scene.is-pinned .col-grid { margin-bottom: 0; }
.scene.is-pinned .col-chart .col-plot .line { stroke-dashoffset: calc(var(--len, 1200) * (1 - var(--q))); transition: none; }
.scene.is-pinned .col-chart .col-plot .area { opacity: calc(.16 * var(--q)); transition: none; }
.scene.is-pinned .col-chart .col-plot :is(.dot, text.val) { opacity: clamp(0, calc((var(--q) - var(--i, 0) * .93) * 14 + .6), 1); transition: none; }
.scene.is-pinned .col-kpis > div { opacity: clamp(.16, calc((var(--q) - var(--n, 0) * .24) * 5), 1); transform: translate3d(0, calc((1 - clamp(0, calc((var(--q) - var(--n, 0) * .24) * 5), 1)) * 14px), 0); }
.scene.is-pinned .col-kpis > div:nth-child(2) { --n: 1; } .scene.is-pinned .col-kpis > div:nth-child(3) { --n: 2; } .scene.is-pinned .col-kpis > div:nth-child(4) { --n: 3; }

/* ===== Product pages: each feature row holds while its text and its recording arrive, then the page moves on ===== */
.scene.is-pinned .feature { padding-top: 0; padding-bottom: 0; border-top: 0; }
.scene.is-pinned .feature-copy > * { opacity: clamp(.14, calc((var(--p) * 1.7 - var(--n, 0) * .2) * 6), 1); transform: translate3d(0, calc((1 - clamp(0, calc((var(--p) * 1.7 - var(--n, 0) * .2) * 6), 1)) * 16px), 0); }
.scene.is-pinned .feature-copy > :nth-child(2) { --n: 1; } .scene.is-pinned .feature-copy > :nth-child(3) { --n: 2; } .scene.is-pinned .feature-copy > :nth-child(4) { --n: 3; } .scene.is-pinned .feature-copy > :nth-child(n+5) { --n: 4; }
.scene.is-pinned .feature > figure > :is(.frame, .stage), .scene.is-pinned .feature--stack > figure > :is(.frame, .stage) { animation: none; transform-origin: 50% 50%; transform: scale(calc(.9 + .1 * min(1, var(--p) / .5))); opacity: 1; }
.scene.is-pinned .stage-split > .s-c > li { opacity: clamp(.16, calc((var(--p) * 1.6 - var(--n, 0) * .22) * 6), 1); }
.scene.is-pinned .stage-split > .s-c > li:nth-child(2) { --n: 1; } .scene.is-pinned .stage-split > .s-c > li:nth-child(3) { --n: 2; } .scene.is-pinned .stage-split > .s-c > li:nth-child(4) { --n: 3; }
/* pause button beside Enlarge */
.vid-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 4, 3, .5); color: var(--gold-mid); font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; flex: none; }
.vid-toggle svg { width: 10px; height: 10px; }
.vid-toggle:hover, .vid-toggle:focus-visible { color: var(--gold-hi); border-color: var(--line-strong); }
.frame-bar .vid-toggle + .zoom { margin-left: 6px; }
.stage > .vid-toggle { position: absolute; top: 12px; right: 118px; z-index: 3; }
@media (pointer: coarse) { .vid-toggle { min-height: 44px; min-width: 44px; justify-content: center; } .frame-bar .vid-toggle { margin-block: -8px; border-color: transparent; background: none; } }
@media (max-width: 520px) { .vid-toggle span { display: none; } }

/* ===== Truefill page in Truefill's own branding: ink navy, signal green, Saira headings and Inter text, as on the Truefill site ===== */
body.theme-truefill { --bg: #0b1a31; --bg-2: #0f2240; --panel: rgba(16, 34, 64, .6); --panel-solid: #10213f; --ink: #f4f8fb; --ink-2: #c7d3e2; --muted: #93a4ba; --dim: #6f8098;
  background: radial-gradient(120% 70% at 50% 0%, #12284a 0%, #0b1a31 55%, #081426 100%) fixed, #0b1a31; font-family: "Inter", "Helvetica Neue", system-ui, sans-serif; letter-spacing: 0; }
body.theme-truefill .vignette { opacity: .35; }
body.theme-truefill :is(h1, h2, h3, .display, .step-num, .bigstat b, .stat-band dt, .facts dt, .col-kpis dt) { font-family: "Saira", "Barlow Semi Condensed", "Arial Narrow", sans-serif; font-weight: 800; letter-spacing: 0; }
body.theme-truefill .page-hero h1 { font-weight: 800; text-transform: uppercase; }
body.theme-truefill :is(.card, .stat-band, .facts, .table-wrap) { background: rgba(16, 34, 64, .55); }
body.theme-truefill .nav.scrolled { background: rgba(8, 20, 38, .86); }
body.theme-truefill .tf-art .frame { background: #fff; border-color: rgba(61, 220, 151, .45); box-shadow: 0 30px 80px rgba(3, 10, 22, .6), 0 0 50px rgba(61, 220, 151, .10); }
body.theme-truefill .tf-art .frame-bar { background: #eaf8f1; border-bottom-color: #cfeede; }
body.theme-truefill .tf-art .frame-bar span { color: #0b1a31; }
body.theme-truefill .tf-art .frame-bar i { border-color: #1f9d6b; }
body.theme-truefill .tf-art :is(.zoom, .vid-toggle) { background: #fff; color: #1f9d6b; border-color: #bfe8d3; }
body.theme-truefill .tf-art img { display: block; width: 100%; height: auto; }

/* scenes scaled to fit a short window keep their centre */
.scene.is-pinned > .scene-pin > * { transform-origin: 50% 50%; }

/* home: the four figures light one at a time while the page holds */
html.sda .scene.is-pinned .facts.sx-f > div, .scene.is-pinned .facts > div { animation: none; opacity: clamp(.12, calc((var(--p) * 1.3 - var(--n, 0) * .26) * 6), 1); transform: translate3d(0, calc((1 - clamp(0, calc((var(--p) * 1.3 - var(--n, 0) * .26) * 6), 1)) * 16px), 0); }
.scene.is-pinned .facts > div:nth-child(2) { --n: 1; } .scene.is-pinned .facts > div:nth-child(3) { --n: 2; } .scene.is-pinned .facts > div:nth-child(4) { --n: 3; }
.scene.is-pinned .facts, .scene.is-pinned .fx { margin-top: 0; margin-bottom: 0; }

/* ===== Home page: every block holds, and its parts arrive in turn with the scroll ===== */
.scene.is-pinned .prog > * { opacity: clamp(.1, calc((var(--p) * 1.5 + .17 - var(--n, 0) * var(--st, .18)) * 6), 1); transform: translate3d(0, calc((1 - clamp(0, calc((var(--p) * 1.5 + .17 - var(--n, 0) * var(--st, .18)) * 6), 1)) * 16px), 0); }
.scene.is-pinned .hm { padding-top: 28px; padding-bottom: 28px; }
.scene-in > .fn-entry, .scene-in > .fn-entry:first-child { padding-top: 52px; }
.scene-in > .fn-entry:first-child::before { display: block; }
.scene.is-pinned .fn-entry { padding-top: 16px; padding-bottom: 16px; }
.cards.cards--rows { display: block; }
.cards--rows > .scene + .scene, .cards--rows > .cards-row + .cards-row { margin-top: 18px; }
.cards-row.reveal, .cards-row { margin: 0; }

/* chart redraw: jump to the start state without a transition, then play */
.outlook.ol-reset .ol-plot * { transition: none !important; }
/* a fast scroll stops at the start of each held scene instead of passing it */

/* a recording that holds on its own (stacked rows, stand-alone figures) comes forward the same way */
.scene.is-pinned .scene-in > figure > :is(.frame, .stage) { animation: none; transform-origin: 50% 50%; transform: scale(calc(.9 + .1 * min(1, var(--p) / .3))); opacity: 1; }
.scene.is-pinned .scene-in > figure { margin-top: 0 !important; margin-bottom: 0 !important; }
.media-grid > .scene { min-width: 0; }

/* card grids split into rows so each row can hold */
.rows--split { display: block !important; }
.rows--split > .scene + .scene, .rows--split > .cards-row + .cards-row { margin-top: 18px; }
.scene.is-pinned .prog.table-wrap, .scene.is-pinned .prog.stat-band, .scene.is-pinned .prog.facts { margin-top: 0; margin-bottom: 0; }

/* ===== The home outlook builds with the scroll: bars rise year by year, bottom product first, then the line and the totals ===== */
.scene.is-pinned .outlook:not(.ol-free) .ol-plot .seg { transition: none; --t: clamp(0, calc((var(--q, 1) * 1.08 - var(--i, 0)) * 26), 1); opacity: calc(.82 * var(--t)); transform: translate3d(0, calc((1 - var(--t)) * -22px), 0) scaleY(calc(.4 + .6 * var(--t))); }
/* cards in a row arrive one at a time, left to right, each card whole */
/* scroll-linked entrances never fight a held scene */
.scene.is-pinned .sx-f, .scene.is-pinned .sx-f > *, .scene.is-pinned .sx-f::after { animation: none !important; }
/* Truefill: the platforms-to-desk drawing opens the page, across the full width */
body.theme-truefill .page-hero.hero-wide { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 40px; }
body.theme-truefill .page-hero.hero-wide > div:not(.scene) { max-width: 920px; }
.tf-tall { margin: 0 auto; }

/* frame bars never push past their frame: the label shortens, the buttons keep their size */
.frame-bar > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-bar > :is(.zoom, .vid-toggle) { flex: none; }
.frame-bar > .vid-toggle { margin-left: 8px; }

/* row entrances: a short rise, cards 110 ms apart from left to right */
.row-in.reveal { transition-duration: .7s; transition-delay: calc(var(--i, 0) * 110ms); }

/* timelines: larger text (owner, 2026-11-13) */
.timeline::before, html.sda .timeline.sx-f::after { left: 176px; }
.timeline li { grid-template-columns: 176px minmax(0, 1fr); gap: 44px; padding-bottom: 42px; }
.timeline li::before { left: 171px; width: 11px; height: 11px; top: 9px; }
.timeline time { font-size: 15px; letter-spacing: 2.4px; padding-top: 4px; }
.timeline h3 { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: .5px; margin-bottom: 10px; }
.timeline p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; max-width: 760px; }
@media (max-width: 760px) {
  .timeline::before, html.sda .timeline.sx-f::after { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 30px; }
  .timeline li::before { left: -1px; }
}

/* outlook act changes cross-fade */
/* market size builds with the scroll: each market slides in and its bar fills, largest first */
.scene.is-pinned .outlook:not(.ol-free) .ol-ml .ml-row { animation: none !important; --t: clamp(0, calc((var(--q, 1) * 1.15 - var(--rank, 0) / 7) * 8), 1); opacity: var(--t); transform: translate3d(calc((1 - var(--t)) * -22px), 0, 0); }
.scene.is-pinned .outlook:not(.ol-free) .ol-ml .ml-meter i { animation: none !important; transform: scaleX(var(--t)); }

/* the outlook fades between its four charts instead of swapping in one frame */
.outlook :is(.ol-plot, .ol-legend, .ol-kpis, .ol-title, .ol-eyebrow, .ol-sub) { transition: opacity .2s ease; }
.outlook .ol-out { opacity: 0 !important; }

/* a scene that rescales between charts does it smoothly, while faded out */
.scene.is-pinned > .scene-pin > .scene-in { transition: transform .2s ease; }

/* while the outlook is held, the market list is one line per market, no taller than the other charts; the notes stay in the table view */
@media (min-width: 900px) {
  .scene.is-pinned .outlook .ol-ml { display: block; padding: 4px 22px; }
  .scene.is-pinned .outlook .ol-ml .ml-row { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "who big reach"; column-gap: 32px; row-gap: 0; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .scene.is-pinned .outlook .ol-ml .ml-row:last-child { border-bottom: 0; }
  .scene.is-pinned .outlook .ol-ml .ml-who { align-self: center; }
  .scene.is-pinned .outlook .ol-ml .ml-basis, .scene.is-pinned .outlook .ol-ml .ml-rd { display: none; }
  .scene.is-pinned .outlook .ol-ml .ml-big { justify-self: end; font-size: clamp(20px, 1.9vw, 28px); display: flex; align-items: baseline; gap: 8px; }
  .scene.is-pinned .outlook .ol-ml .ml-big small { font-size: 10px; }
  .scene.is-pinned .outlook .ol-ml .ml-reach { row-gap: 5px; }
}

/* ===== Product line art (Truefill-style): desk scene at the top of each product page, spot drawings on cards ===== */
.art-scene, .spot-svg { display: block; overflow: visible; }
.art-scene { width: 100%; height: auto; }
:is(.art-scene, .spot-svg) :is(path, rect, circle) { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
:is(.art-scene, .spot-svg) .f-n { fill: none; }
:is(.art-scene, .spot-svg) .f-p { fill: color-mix(in srgb, var(--gold) 9%, #120e0a); }
:is(.art-scene, .spot-svg) .f-a { fill: var(--gold); }
:is(.art-scene, .spot-svg) .f-s { fill: color-mix(in srgb, var(--gold) 38%, transparent); }
:is(.art-scene, .spot-svg) .f-s0 { fill: color-mix(in srgb, var(--gold) 13%, transparent); stroke: none; }
:is(.art-scene, .spot-svg) .f-w { fill: color-mix(in srgb, var(--gold) 50%, #fff6e6); }
:is(.art-scene, .spot-svg) .f-k { fill: var(--ink); stroke: none; }
:is(.art-scene, .spot-svg) .dash { stroke-dasharray: 4 6; }
.art-scene text { stroke: none; fill: var(--ink); font-family: var(--display); }
.art-scene .t-lane { font-size: 17px; font-weight: 600; fill: var(--ink-2); }
.art-scene .t-tile { font-size: 14px; font-weight: 700; }
.art-scene .t-title { font-size: 15px; font-weight: 600; letter-spacing: .4px; }
.art-scene .t-row { font-size: 13px; font-weight: 500; }
.art-scene .t-card { font-size: 20px; font-weight: 700; }
.art-scene .t-cardline { font-size: 13px; fill: var(--ink-2); }
.art-scene .t-btn { font-size: 15px; font-weight: 700; }
.art-scene .t-note { font-size: 12.5px; fill: var(--muted); }
.art-scene .lane-path { stroke: color-mix(in srgb, var(--gold) 55%, transparent); stroke-width: 2.2; stroke-dasharray: 5 9; }
.art-hero .frame { background: radial-gradient(120% 90% at 50% 10%, color-mix(in srgb, var(--gold) 7%, #0d0a07), #090705 70%); }
.art-stage { padding: 18px 10px 6px; overflow: hidden; }
.spot { display: block; width: 84px; height: 84px; margin: 0 0 18px; }
.step .spot { margin-top: 2px; }

/* one-time entrances for spot drawings (and the desk objects), in order */
[data-art] :is(.ax-rise, .ax-pop, .ax-fade, .ax-grow-x, .ax-grow-y, .ax-slide-l, .ax-slide-r) { transform-box: fill-box; }
[data-art] .ax-rise { opacity: 0; transform: translateY(10px); }
[data-art] .ax-pop { opacity: 0; transform: scale(.55); transform-origin: center; }
[data-art] .ax-fade { opacity: 0; }
[data-art] .ax-grow-x { transform: scaleX(0); transform-origin: left center; }
[data-art] .ax-grow-y { transform: scaleY(0); transform-origin: center bottom; }
[data-art] .ax-slide-l { opacity: 0; transform: translateX(-14px); }
[data-art] .ax-slide-r { opacity: 0; transform: translateX(14px); }
[data-art] .ax-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
[data-art].is-in :is(.ax-rise, .ax-pop, .ax-fade, .ax-slide-l, .ax-slide-r) { opacity: 1; transform: none; transition: opacity .42s ease var(--d, 0ms), transform .62s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
[data-art].is-in :is(.ax-grow-x, .ax-grow-y) { transform: none; transition: transform .64s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
[data-art].is-in .ax-draw { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
[data-art].is-in .ax-pop.ax-pop { transition-timing-function: ease, cubic-bezier(.34, 1.56, .64, 1); }
[data-art].is-in .ax-scan { animation: axScan 2.4s ease-in-out var(--d, 0ms) infinite alternate; transform-box: view-box; }
@keyframes axScan { from { transform: translateY(-14px); } to { transform: translateY(14px); } }
[data-art].is-in .ax-steam { animation: axSteam 2.8s ease-in-out var(--d, 0ms) infinite; }
@keyframes axSteam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
[data-art].is-in .ax-sway { animation: axSway 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes axSway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
[data-art].is-in .ax-spin { animation: axSpin 9s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes axSpin { to { transform: rotate(360deg); } }
[data-art].is-in .ax-pulse { animation: axPulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes axPulse { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60%, 100% { transform: scale(1); } }

/* the desk scene loop: inputs travel along the lanes, rows fill and check, the result card arrives (12 s) */
.art-stage :is(.ax-lane, .ax-fill, .ax-rowtext, .ax-check, .ax-card, .ax-conn) { animation-fill-mode: both; animation-delay: var(--d, 0s); animation-play-state: paused; }
.art-stage.is-in :is(.ax-lane, .ax-fill, .ax-rowtext, .ax-check, .ax-card, .ax-conn) { animation-play-state: running; }
.art-stage .ax-lane { animation: axLane 14s linear infinite; }
.art-stage .ax-fill { animation: axFill 12s cubic-bezier(.2, .8, .2, 1) infinite; transform-box: fill-box; transform-origin: left center; }
.art-stage .ax-rowtext { animation: axRowText 12s ease infinite; }
.art-stage .ax-check { animation: axCheck 12s cubic-bezier(.34, 1.56, .64, 1) infinite; transform-box: fill-box; transform-origin: center; }
.art-stage .ax-card { animation: axCard 12s cubic-bezier(.2, .8, .2, 1) infinite; }
.art-stage .ax-conn { animation: axCard 12s ease infinite; }
@keyframes axLane { 0% { transform: translateX(0); opacity: 0; } 5% { opacity: 1; } 72% { opacity: 1; transform: translateX(370px); } 80% { opacity: 0; transform: translateX(400px) scale(.75); } 100% { opacity: 0; transform: translateX(400px); } }
@keyframes axFill { 0%, 3% { transform: scaleX(0); opacity: 1; } 11% { transform: scaleX(1); } 86% { transform: scaleX(1); opacity: 1; } 92%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes axRowText { 0%, 4% { opacity: 0; } 9% { opacity: 1; } 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes axCheck { 0%, 9% { opacity: 0; transform: scale(.4); } 13% { opacity: 1; transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1); } }
@keyframes axCard { 0%, 47% { opacity: 0; transform: translateY(14px); } 53% { opacity: 1; transform: none; } 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
/* held: the scroll plays the scene through */
.scene.is-pinned .art-stage :is(.ax-lane, .ax-fill, .ax-rowtext, .ax-check, .ax-card, .ax-conn) { animation-play-state: paused !important; animation-delay: calc(var(--d, 0s) - var(--ft, 0s)) !important; }
.art-stage.art-paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  [data-art] *, .art-stage * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
}

.has-roadmap > ol.timeline { display: none; }
@media (max-width: 600px) { .rm-item { width: 74vw; } .rm-card p { font-size: 14px; } }


/* held scenes take the page width, never their content's full width (a wide roadmap or table stays inside the screen) */
.scene > .scene-pin { grid-template-columns: minmax(0, 1fr); }
.scene-in { min-width: 0; width: 100%; }

/* the real product playing on the desk-scene laptop */
.art-screen { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #050403; border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); box-sizing: border-box; }
.art-screen :is(video, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-screen .fit-top { object-position: top center; }

/* ===== Product scenes played on a 0-1 timeline (--t): by the scroll while held, by the clock otherwise ===== */
.tl-scene { --t: 1; }
.tl-scene :is(.k-in, .k-pop, .k-grow-x, .k-grow-y, .k-move, .k-win, .k-glow, .k-lit) { transform-box: fill-box; }
.tl-scene .k-in { --v: clamp(0, calc((var(--t) - var(--a)) * 14), 1); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 10px)); }
.tl-scene .k-pop { --v: clamp(0, calc((var(--t) - var(--a)) * 16), 1); opacity: var(--v); transform: scale(calc(.5 + .5 * var(--v))); transform-origin: center; }
.tl-scene .k-draw { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, calc((var(--t) - var(--a)) / var(--len, .12)), 1)); }
.tl-scene .k-grow-x { transform: scaleX(clamp(0, calc((var(--t) - var(--a)) / var(--len, .1)), 1)); transform-origin: left center; }
.tl-scene .k-win { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 14), 1) * clamp(0, calc((var(--b) - var(--t)) * 14), 1)); }
.tl-scene .k-move { --m: clamp(0, calc((var(--t) - var(--a)) / (var(--b) - var(--a))), 1); transform: translate(calc(var(--x0) + (var(--x1) - var(--x0)) * var(--m)), calc(var(--y0) + (var(--y1) - var(--y0)) * var(--m))); opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 30), 1) * clamp(0, calc((1 - var(--m)) * 6), 1)); transform-box: view-box; }
.tl-scene .k-move.k-keep { opacity: clamp(0, calc((var(--t) - var(--a)) * 20), 1); }
.tl-scene .k-glow > rect { transition: none; fill: color-mix(in srgb, var(--gold) calc(clamp(0, calc((var(--t) - var(--a)) * 12), 1) * 45%), #120e0a); }
.tl-scene .k-lit { fill-opacity: calc(.35 + .65 * clamp(0, calc((var(--t) - var(--a)) * 20), 1)); stroke: color-mix(in srgb, var(--gold-hi) calc(clamp(0, calc((var(--t) - var(--a)) * 20), 1) * 100%), var(--ink)); }
.tl-scene .f-sap { fill: #3d63dd; }
.tl-scene .f-bg { fill: #0b0907; stroke: none; }
.tl-scene .f-glow { fill: color-mix(in srgb, var(--gold) 14%, transparent); stroke: var(--gold); }
.tl-scene .beam { opacity: .5; }
.tl-scene .skyline { stroke: color-mix(in srgb, var(--ink) 45%, transparent); }
.tl-scene .lane-dash { stroke: color-mix(in srgb, var(--ink) 60%, transparent); stroke-dasharray: 34 30; animation: axRoad 1.2s linear infinite; }
@keyframes axRoad { to { stroke-dashoffset: -64; } }
.tl-scene .ax-lights { animation: axLights 4s linear infinite; }
@keyframes axLights { to { transform: translateX(-240px); } }
.tl-scene .ax-wheel { animation: axSpin .9s linear infinite; }
.tl-scene .ax-twinkle { animation: axTwinkle 3s ease-in-out infinite; }
@keyframes axTwinkle { 50% { opacity: .25; } }
.tl-scene .ax-steamline { stroke-dasharray: .3 .7; animation: axSteamLine 2.8s linear infinite; }
@keyframes axSteamLine { to { stroke-dashoffset: -1; } }
.tl-scene .ax-sway { animation: axSway 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
.art-scene .t-l { font-size: 15px; font-weight: 600; }
.art-scene .t-s { font-size: 13px; fill: var(--ink-2); }
.art-scene .t-m { font-size: 18px; font-weight: 700; }
.art-scene .t-xl { font-size: 46px; font-weight: 700; fill: var(--gold-hi); }
.art-scene .t-tag { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; fill: var(--gold-hi); }
.art-scene .t-chip { font-size: 13px; font-weight: 600; }
.art-scene .t-btnd { font-size: 14px; font-weight: 700; fill: #120e0a; }
.art-scene .t-cite { font-size: 10px; font-weight: 700; fill: #120e0a; }
@media (prefers-reduced-motion: reduce) { .tl-scene { --t: 1 !important; } .tl-scene * { animation: none !important; } }
.tl-scene .skyline-g { opacity: .28; }

/* ===== Bookloft page: a modern, bookish look (editorial serif headings, soft rose glass), and its two live modules ===== */
body.theme-bookloft { --bl-serif: "Fraunces", "Iowan Old Style", Georgia, serif; background: radial-gradient(120% 60% at 80% 0%, rgba(217, 138, 126, .10), transparent 60%), radial-gradient(90% 50% at 0% 40%, rgba(140, 47, 43, .14), transparent 60%), var(--bg); }
body.theme-bookloft :is(.page-hero h1, h2.display) { font-family: var(--bl-serif); font-weight: 650; text-transform: none; letter-spacing: -.5px; line-height: 1.04; font-variation-settings: "opsz" 144; }
body.theme-bookloft .page-hero h1 { font-size: clamp(44px, 6vw, 92px); }
body.theme-bookloft h2.display .gold, body.theme-bookloft .page-hero h1 .gold { font-style: italic; font-weight: 500; }
body.theme-bookloft :is(.card, .stat-band, .table-wrap) { background: linear-gradient(160deg, rgba(217, 138, 126, .09), rgba(20, 13, 12, .62) 55%); border-color: rgba(217, 138, 126, .2); border-radius: 22px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.theme-bookloft .card h3 { font-family: var(--bl-serif); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 21px; }
body.theme-bookloft .card p, body.theme-bookloft .sub { font-family: "Inter", var(--display); }
body.theme-bookloft .stat-band dt { font-family: var(--bl-serif); font-weight: 600; }

/* Do I own this? live demo */
.bl-try { margin: 8px auto 40px; max-width: 760px; text-align: center; }
.bl-try-label { font-family: var(--mono); font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 16px; }
.bl-search { display: flex; align-items: center; gap: 14px; padding: 0 24px; height: 68px; border-radius: 34px; border: 1.5px solid rgba(217, 138, 126, .45); background: rgba(20, 13, 12, .75); box-shadow: 0 0 0 6px rgba(217, 138, 126, .06), 0 20px 60px rgba(0, 0, 0, .45); transition: box-shadow .3s, border-color .3s; }
.bl-search:focus-within { border-color: var(--gold-hi); box-shadow: 0 0 0 8px rgba(217, 138, 126, .14), 0 20px 60px rgba(0, 0, 0, .5); }
.bl-search svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--gold-hi); stroke-width: 2.2; stroke-linecap: round; }
.bl-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: 500 clamp(17px, 1.6vw, 21px) var(--bl-serif, Georgia, serif); }
.bl-search input::placeholder { color: var(--muted); font-style: italic; }
.bl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }
.bl-chips button { cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(217, 138, 126, .3); background: rgba(217, 138, 126, .06); color: var(--ink-2); font: 500 14px "Inter", var(--display); transition: background .2s, color .2s, border-color .2s; }
.bl-chips button:hover, .bl-chips button:focus-visible { background: rgba(217, 138, 126, .16); color: var(--ink); border-color: var(--gold-hi); }
.bl-verdict { min-height: 96px; margin-top: 20px; }
.bl-verdict .v { display: inline-flex; flex-direction: column; gap: 6px; margin: 0; padding: 18px 26px; border-radius: 20px; text-align: left; animation: blIn .35s cubic-bezier(.2, .8, .2, 1); max-width: 100%; }
.bl-verdict .v b { font: 600 clamp(18px, 1.7vw, 22px) var(--bl-serif, Georgia, serif); color: var(--ink); }
.bl-verdict .v b em { font-style: italic; color: var(--gold-hi); }
.bl-verdict .v span { font: 400 15px "Inter", var(--display); color: var(--ink-2); }
.bl-verdict .v-yes { background: linear-gradient(135deg, rgba(110, 196, 140, .16), rgba(20, 13, 12, .7)); border: 1px solid rgba(110, 196, 140, .45); }
.bl-verdict .v-wish { background: linear-gradient(135deg, rgba(217, 138, 126, .2), rgba(20, 13, 12, .7)); border: 1px solid rgba(217, 138, 126, .5); }
.bl-verdict .v-no { background: rgba(20, 13, 12, .7); border: 1px solid var(--line); }
@keyframes blIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Octavia's real answers, as a conversation that plays once as it comes into view */
.bl-chat { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 8px auto 44px; }
.bl-msg { max-width: 82%; padding: 16px 20px; border-radius: 22px; font: 400 clamp(15px, 1.25vw, 17px)/1.6 "Inter", var(--display); }
.bl-q { align-self: flex-end; background: linear-gradient(135deg, #b9564d, #8c2f2b); color: #fff6f2; border-bottom-right-radius: 6px; }
.bl-a { align-self: flex-start; background: rgba(28, 18, 17, .85); border: 1px solid rgba(217, 138, 126, .28); color: var(--ink); border-bottom-left-radius: 6px; font-family: var(--bl-serif, Georgia, serif); font-size: clamp(16px, 1.35vw, 19px); }
.bl-who { display: block; margin-bottom: 6px; font: 600 11px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-hi); }
.bl-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 0 18px; height: 0; overflow: hidden; background: rgba(28, 18, 17, .85); border: 1px solid rgba(217, 138, 126, .2); }
.bl-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); animation: blDot 1s ease-in-out infinite; }
.bl-typing i:nth-child(2) { animation-delay: .15s; } .bl-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blDot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.bl-chat .bl-msg { opacity: 0; transform: translateY(10px); }
.bl-chat.is-in .bl-q, .bl-chat.is-in .bl-a { animation: blMsg .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.bl-chat.is-in .bl-typing { animation: blTyping 1.2s ease forwards; }
.bl-chat.is-in > :nth-child(1) { animation-delay: .1s; }
.bl-chat.is-in > :nth-child(2) { animation-delay: .7s; }
.bl-chat.is-in > :nth-child(3) { animation-delay: 1.9s; }
.bl-chat.is-in > :nth-child(4) { animation-delay: 3s; }
.bl-chat.is-in > :nth-child(5) { animation-delay: 3.6s; }
.bl-chat.is-in > :nth-child(6) { animation-delay: 4.8s; }
@keyframes blMsg { to { opacity: 1; transform: none; } }
@keyframes blTyping { 0% { opacity: 0; height: 0; padding-block: 0; } 15%, 85% { opacity: 1; height: 38px; padding-block: 15px; } 100% { opacity: 0; height: 0; padding-block: 0; margin-block: -7px; } }
@media (max-width: 600px) { .bl-msg { max-width: 92%; } .bl-search { height: 58px; } }
@media (prefers-reduced-motion: reduce) { .bl-chat .bl-msg { opacity: 1; transform: none; animation: none !important; } .bl-chat .bl-typing { display: none; } }

/* the gold cursor wins at every width: no control falls back to the plain hand (menu button, chart tabs, chapters, pause, chips) */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1bd'/%3E%3Cstop offset='.55' stop-color='%23e2be55'/%3E%3Cstop offset='1' stop-color='%23a67c1e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 3l17.5 8.2-7.4 2.3-2.5 7.6z' fill='url(%23g)' stroke='%23120d04' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto; }
  :is(a, button, summary, label, select, [role="tab"], [role="button"], .fx-tab, .menu-btn, .ol-tabs button, .ol-legend button, .chapters button, .vid-toggle, .zoom, .motion-toggle, .bl-chips button, .mk-hit, [data-seek]),
  :is(a, button, summary, label, select, [role="tab"], [role="button"]) * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='10.5' fill='rgba(226,190,85,.14)' stroke='%23120d04' stroke-width='3.4'/%3E%3Ccircle cx='16' cy='16' r='10.5' fill='none' stroke='%23f0d593' stroke-width='1.8'/%3E%3Ccircle cx='16' cy='16' r='2.6' fill='%23fff1bd' stroke='%23120d04' stroke-width='1'/%3E%3C/svg%3E") 16 16, pointer !important; }
  :is(input, textarea) { cursor: text !important; }
}

/* What it takes: on wide screens the panels cross-fade and the gold marker eases between rows, instead of swapping in one frame */
@media (min-width: 901px) {
  .fx-panel, .fx-panel[hidden] { display: block; grid-row: 1 / 7; animation: none; opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none;
    transition: opacity .4s ease, transform .55s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .55s; }
  .fx-panel:not([hidden]) { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .55s ease .12s, transform .7s cubic-bezier(.2, .8, .2, 1) .12s, visibility 0s; }
  .fx-panel .fx-fig { transition: opacity .6s ease .25s; opacity: 0; }
  .fx-panel:not([hidden]) .fx-fig { opacity: 1; }
  .fx-tab { transition: color .45s ease; }
  .fx-tab::before { transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease; opacity: 0; }
  .fx-tab[aria-expanded="true"]::before { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .fx-panel, .fx-panel .fx-fig, .fx-tab::before { transition: none !important; } }
.art-scene .t-chip-sm { font-size: 11.5px; font-weight: 600; }
.art-scene .t-chip-dk { font-size: 11.5px; font-weight: 700; fill: #120e0a; }

/* without a hold (reduced motion), the roadmap shows complete */
@media (prefers-reduced-motion: reduce) { .rm-bar { opacity: 1; transform: none; } .rm-now { display: none; } }
.tl-scene .k-grow-y { transform: scaleY(clamp(0, calc((var(--t) - var(--a)) / var(--len, .1)), 1)); transform-origin: center; transform-box: fill-box; }
.tl-scene .nd-wave rect { stroke: none; }

/* ===== Product roadmap: two-tier time axis, colour-keyed swimlanes, initiative bars and milestone diamonds, a sweeping Today line ===== */
.rmx { --lane0: var(--gold); --lane1: color-mix(in srgb, var(--gold) 55%, #8fb3ff); --lane2: color-mix(in srgb, var(--gold) 55%, #7fe0b0); margin: 8px 0 40px; }
.rmx .rm-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-bottom: 22px; }
.rmx .rm-top .kicker { margin-bottom: 10px; }
.rmx .rm-title { margin: 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; text-transform: uppercase; letter-spacing: .4px; }
.rmx .rm-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font: 500 12px var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.rmx .rm-key span { display: inline-flex; align-items: center; gap: 8px; }
.rmx .rm-key span::before { content: ""; width: 22px; height: 10px; border-radius: 5px; }
.rmx .rm-key .k-done::before { background: var(--gold); }
.rmx .rm-key .k-next::before { background: color-mix(in srgb, var(--gold) 22%, transparent); box-shadow: inset 0 0 0 1.5px var(--gold); }
.rmx .rm-key .k-later::before { background: none; box-shadow: none; border: 1.5px dashed var(--line-strong); }
.rmx .rm-key .k-ms::before { width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-hi); }
.rmx .rm-view { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(10, 8, 5, .55)); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.rmx .rm-grid { position: relative; display: grid; grid-template-columns: 176px repeat(var(--n), minmax(132px, 1fr)); min-width: calc(176px + var(--n) * 132px); will-change: transform; }
.rmx .rm-corner { grid-column: 1; }
.rmx .rm-year { grid-row: 1; padding: 14px 14px 6px; font: 700 14px var(--display); letter-spacing: 1px; color: var(--ink); border-left: 1px solid color-mix(in srgb, var(--gold) 14%, transparent); }
.rmx .rm-col { grid-row: 2; padding: 4px 14px 14px; font: 500 12px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); border-left: 1px solid color-mix(in srgb, var(--gold) 14%, transparent); border-bottom: 1px solid var(--line); transition: color .4s ease; }
.rmx .rm-corner.rm-c2 { grid-row: 2; border-bottom: 1px solid var(--line); }
.rmx .rm-col.on { color: var(--gold-hi); }
.rmx .rm-lane { grid-column: 1; display: flex; align-items: center; gap: 10px; padding: 18px 16px; font: 600 13.5px var(--display); letter-spacing: .5px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--gold) 10%, transparent); }
.rmx .rm-lane svg { width: 16px; height: 16px; flex: none; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rmx .rm-lane.l0 svg { stroke: var(--lane0); } .rmx .rm-lane.l1 svg { stroke: var(--lane1); } .rmx .rm-lane.l2 svg { stroke: var(--lane2); }
.rmx .rm-track { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(var(--n), minmax(132px, 1fr)); grid-auto-flow: row dense; align-items: center; gap: 10px 0; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 10%, transparent); background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--n) - 1px), color-mix(in srgb, var(--gold) 9%, transparent) calc(100% / var(--n) - 1px) calc(100% / var(--n))); }
.rmx .rm-track:nth-of-type(odd) { background-color: rgba(255, 255, 255, .012); }
.rmx .rm-track:last-of-type, .rmx .rm-lane:last-of-type { border-bottom: 0; }
.rmx .rm-item { position: relative; margin: 0 7px; opacity: .3; transform: translateY(6px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.rmx .rm-item.on { opacity: 1; transform: none; }
.rmx .rm-bar { --c: var(--lane0); padding: 10px 14px 10px 26px; border-radius: 999px; font: 500 13px/1.35 var(--display); color: var(--ink); }
.rmx .l1 .rm-bar { --c: var(--lane1); } .rmx .l2 .rm-bar { --c: var(--lane2); }
.rmx .rm-bar::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--c); }
.rmx .rm-bar.s-done { background: color-mix(in srgb, var(--c) 34%, #120e0a); box-shadow: inset 0 0 0 1px var(--c); }
.rmx .rm-bar.s-next { background: color-mix(in srgb, var(--c) 13%, transparent); box-shadow: inset 0 0 0 1.5px var(--c); }
.rmx .rm-bar.s-later { background: transparent; border: 1.5px dashed color-mix(in srgb, var(--c) 55%, transparent); color: var(--ink-2); }
.rmx .rm-bar.s-later::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.rmx .rm-ms { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 600 12.5px/1.3 var(--display); color: var(--ink); }
.rmx .rm-ms i { width: 16px; height: 16px; border-radius: 3px; transform: rotate(45deg); background: var(--gold-hi); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 16%, transparent), 0 0 16px var(--glow); }
.rmx .rm-ms.s-next i { background: var(--bg); box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 5px color-mix(in srgb, var(--gold) 12%, transparent); }
.rmx .rm-ms.on.s-next i { background: var(--gold-hi); }
.rmx .rm-now { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(var(--gold-hi), color-mix(in srgb, var(--gold) 30%, transparent)); box-shadow: 0 0 14px var(--glow); pointer-events: none; z-index: 2; }
.rmx .rm-now b { position: absolute; top: 10px; left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #120e0a; font: 700 10.5px var(--mono); letter-spacing: 1.4px; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1300px) { .rmx .rm-grid { grid-template-columns: 150px repeat(var(--n), minmax(116px, 1fr)); min-width: calc(150px + var(--n) * 116px); } .rmx .rm-track { grid-template-columns: repeat(var(--n), minmax(116px, 1fr)); } .rmx .rm-bar { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .rmx .rm-item { opacity: 1; transform: none; } .rmx .rm-now { display: none; } }
.rmx .rm-now.flip b { left: auto; right: 8px; }

/* roadmaps with four lanes and year-by-year columns */
.rmx { --lane3: color-mix(in srgb, var(--gold) 50%, #f2a6ff); }
.rmx .rm-lane.l3 svg { stroke: var(--lane3); } .rmx .l3 .rm-bar { --c: var(--lane3); }
.rmx .rm-lane.l1 svg { stroke: var(--lane1); }

/* roadmap: lane names stay in view while the board slides; items never take the old fixed phone width */
.rmx .rm-lane, .rmx .rm-corner { position: relative; z-index: 3; background: var(--bg); will-change: transform; }
.rmx .rm-lane { box-shadow: 1px 0 0 var(--line); }
.rmx .rm-item { width: auto; }
.rmx .rm-now b { z-index: 4; }
@media (max-width: 600px) {
  .rmx .rm-grid { grid-template-columns: 92px repeat(var(--n), minmax(172px, 1fr)); min-width: calc(92px + var(--n) * 172px); }
  .rmx .rm-track { grid-template-columns: repeat(var(--n), minmax(172px, 1fr)); padding: 10px 0; gap: 8px 0; }
  .rmx .rm-lane svg { display: none; }
  .rmx .rm-item { margin: 0 5px; }
  .rmx .rm-lane { padding: 14px 10px; gap: 6px; font-size: 10.5px; letter-spacing: .3px; line-height: 1.25; }
  .rmx .rm-lane svg { width: 12px; height: 12px; }
  .rmx .rm-bar { font-size: 12px; padding: 9px 11px 9px 22px; }
  .rmx .rm-bar::before { left: 9px; }
  .rmx .rm-ms { font-size: 11.5px; }
}

/* a roadmap that is not held shows everything at once */
.scene:not(.is-pinned) .rmx .rm-item { opacity: 1; transform: none; }
.scene:not(.is-pinned) .rmx .rm-now { display: none; }
/* shorter screens: tighter rows and wider columns, so a four-lane roadmap fits and holds */
@media (min-width: 601px) and (max-height: 900px) {
  .rmx .rm-top { margin-bottom: 14px; }
  .rmx .rm-title { font-size: clamp(24px, 2.2vw, 32px); }
  .rmx .rm-year { padding: 10px 12px 4px; }
  .rmx .rm-col { padding: 2px 12px 10px; }
  .rmx .rm-track { padding: 9px 0; gap: 7px 0; }
  .rmx .rm-lane { padding: 10px 14px; }
  .rmx .rm-bar { padding: 7px 12px 7px 24px; line-height: 1.28; }
  .rmx .rm-ms { gap: 6px; }
}
@media (min-width: 601px) and (max-width: 1300px) and (max-height: 900px) {
  .rmx .rm-grid { grid-template-columns: 150px repeat(var(--n), minmax(150px, 1fr)); min-width: calc(150px + var(--n) * 150px); }
  .rmx .rm-track { grid-template-columns: repeat(var(--n), minmax(150px, 1fr)); }
}

/* Bookloft scan: spine titles and the extra spine tone */
.art-scene .t-spine { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; fill: var(--ink); }
.art-scene .t-spine-dk { fill: #2a1512; }
:is(.art-scene, .spot-svg) .f-sp { fill: color-mix(in srgb, var(--gold) 18%, #120e0a); }

/* ================= Careers ================= */
.careers-page .cr-hero { padding: clamp(150px, 20vh, 220px) 0 clamp(60px, 9vh, 110px); }
.cr-h1 { margin: 0; font-size: clamp(46px, 8.2vw, 124px); line-height: .98; letter-spacing: -.5px; text-transform: uppercase; font-weight: 700; }
.cr-lede { max-width: 720px; margin: 30px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); }
.cr-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.cr-stats { margin-top: 64px; }
.cr-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 44px; }
.cr-prod { display: flex; align-items: center; gap: 16px; padding: 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10, 8, 5, .55); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .3s; }
.cr-prod:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.cr-prod img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.cr-prod b { display: block; font: 600 16px var(--display); letter-spacing: .4px; }
.cr-prod small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.cr-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin-top: 44px; }
.cr-value, .cr-benefit, .cr-steps li { padding: 30px 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(10, 8, 5, .55)); }
.cr-value h3, .cr-benefit h3, .cr-steps h3 { margin: 14px 0 10px; font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--display); color: var(--ink); }
.cr-value p, .cr-benefit p, .cr-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.cr-benefit h3 { margin-top: 0; }
.cr-num { font: 500 13px var(--mono); letter-spacing: 2px; color: var(--gold-hi); }
.cr-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 44px; }
.cr-steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.cr-search { display: grid; gap: 16px; margin: 40px 0 26px; }
.cr-q { display: flex; align-items: center; gap: 12px; padding: 0 22px; height: 60px; border: 1px solid var(--line-strong); border-radius: 30px; background: rgba(10, 8, 5, .6); }
.cr-q svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-hi); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.cr-q input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: 400 17px var(--body, inherit); }
.cr-q:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent); }
.cr-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-chips button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2); font: 500 13px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; transition: all .25s; }
.cr-chips button.on { background: var(--gold); border-color: var(--gold); color: #120e0a; }
.cr-count { margin: 0; font: 500 12px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.cr-roles { display: grid; gap: 12px; }
.cr-role { border: 1px solid var(--line); border-radius: 18px; background: rgba(10, 8, 5, .55); transition: border-color .3s; }
.cr-role.open, .cr-role:hover { border-color: var(--line-strong); }
.cr-role-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; padding: 24px 64px 24px 26px; border: 0; background: none; color: var(--ink); text-align: left; }
.cr-role-title { font: 600 clamp(18px, 1.7vw, 22px)/1.25 var(--display); }
.cr-role-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.cr-role-meta span:first-child { color: var(--gold-hi); }
.cr-role-head i { position: absolute; right: 26px; top: 50%; width: 14px; height: 14px; margin-top: -7px; }
.cr-role-head i::before, .cr-role-head i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--gold-hi); transition: transform .3s; }
.cr-role-head i::after { transform: rotate(90deg); }
.cr-role.open .cr-role-head i::after { transform: rotate(0); }
.cr-role-body { padding: 0 26px 28px; }
.cr-role-body > p { max-width: 760px; margin: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.cr-role-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px 36px; margin-bottom: 24px; }
.cr-role-cols h4 { margin: 0 0 10px; font: 500 12px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-hi); }
.cr-role-cols ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.cr-none { color: var(--ink-2); }
.cr-apply-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cr-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-strong); border-radius: 24px; background: rgba(10, 8, 5, .7); }
.cr-form label { display: grid; gap: 8px; font: 500 12px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.cr-form :is(input, select, textarea) { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .35); color: var(--ink); font: 400 16px/1.5 var(--body, inherit); text-transform: none; letter-spacing: 0; }
.cr-form :is(input, select, textarea):focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
.cr-form select option { background: #120e0a; }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cr-form .cr-check { display: flex; align-items: flex-start; gap: 10px; font: 400 14px/1.5 var(--body, inherit); text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.cr-form .cr-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.cr-err { margin: 0; color: #ff9b8a; font-size: 14px; }
.cr-done { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.cr-eeo { padding: 0 0 70px; }
.cr-eeo p { max-width: 900px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
@media (max-width: 860px) { .cr-apply-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cr-row { grid-template-columns: minmax(0, 1fr); } .cr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-stats div:nth-child(3) { border-left: 0; } .cr-stats div:nth-child(n+3) { border-top: 1px solid var(--line); } .cr-role-head { padding: 20px 52px 20px 20px; } .cr-role-head i { right: 20px; } .cr-role-body { padding: 0 20px 24px; } }
