/* ============================================================================
   ORALGEVITY — V2 "The Hidden Marker"
   Cinematic-editorial longevity site. Static, no build, no dependencies.
   Movements: dark (hero, reveal) → paper (science) → dark (chain, score)
              → paper (method, principles, practices) → dark (future, cta)
   ========================================================================= */

@import url('fonts/oralgevity-fonts.css');

/* ----------------------------------------------------------------- tokens */
:root {
  /* surfaces */
  --night:    #070D0B;   /* cinematic near-black green */
  --night2:   #0B1512;   /* raised dark surface */
  --pine:     #0E2A21;   /* deep pine, gradients only */
  --paper:    #F6F3EB;   /* bone */
  --paper2:   #EFEADE;
  --cream:    #FBF9F3;
  /* ink */
  --ink:      #141D18;
  --ink2:     #57625B;
  --bone:     #F6F3EB;
  --boneDim:  rgba(246,243,235,.66);
  --boneFaint:rgba(246,243,235,.42);
  /* hairlines */
  --line:     #E1DBCB;
  --lineD:    rgba(246,243,235,.13);
  /* brand */
  --forest:   #0F5C4A;
  --forestBright: #1C8E70;
  --brass:    #C9A35E;
  --brassDeep:#B0823A;
  --vital:    #3BAE86;
  /* type */
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Archivo', -apple-system, 'Helvetica Neue', sans-serif;
  --mono:  ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
  --maxw: 1240px;
  --pad: clamp(22px, 4.5vw, 56px);
}

/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--bone);
  font-family: var(--sans); font-size: 17px; line-height: 1.66;
  font-weight: 400; letter-spacing: .004em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[id] { scroll-margin-top: 92px; }
::selection { background: rgba(201,163,94,.3); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--paper); color: var(--ink); padding: 12px 20px; font-size: 14px;
}
.skip:focus { left: 12px; top: 12px; }

/* film grain — fixed, extremely subtle */
.grain::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 1500;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* type utilities */
.disp { font-family: var(--serif); }
.mono {
  font-family: var(--mono); font-size: 11px; letter-spacing: .19em;
  text-transform: uppercase; font-weight: 500;
}

/* ----------------------------------------------------- folio apparatus
   Each act opens with a hairline + left label + right index — like a
   chapter head in a journal. */
.folio {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: clamp(48px, 7vw, 88px);
  color: var(--ink2);
}
.folio .mono b { color: var(--brassDeep); font-weight: 600; }
.dark .folio, .dark2 .folio { border-top-color: var(--lineD); color: var(--boneFaint); }
.dark .folio .mono b, .dark2 .folio .mono b { color: var(--brass); }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 17px 30px; min-height: 48px; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; line-height: 1; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .25s;
}
.btn:active { transform: translateY(1px); }
.btn-bone  { background: var(--bone); color: var(--night); }
.btn-bone:hover { background: #fff; }
.btn-ink   { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--forest); }
.btn-line  { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }
.tlink {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding: 2px 1px; border-radius: 0;
  align-self: center; transition: color .25s, border-color .25s;
}
.tlink:hover { color: var(--brassDeep); }
.dark .tlink:hover, .dark2 .tlink:hover { color: var(--brass); }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad);
  padding-top: calc(18px + env(safe-area-inset-top));
  padding-left: calc(var(--pad) + env(safe-area-inset-left));
  padding-right: calc(var(--pad) + env(safe-area-inset-right));
  color: var(--bone);
  transition: background .45s ease, color .45s ease, padding .45s ease,
              border-color .45s ease, backdrop-filter .45s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(9,16,13,.74);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--lineD);
  padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 12px;
}
.nav-brand {
  font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .015em;
  display: inline-flex; align-items: center; gap: 11px; min-height: 44px;
}
.nav-brand svg { width: 21px; height: 21px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13.5px; letter-spacing: .02em; }
.nav-links > a { opacity: .76; transition: opacity .2s; padding: 10px 0; }
.nav-links > a:hover { opacity: 1; }
.nav-lang { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }
.nav-lang a { opacity: .5; padding: 10px 2px; transition: opacity .2s; }
.nav-lang a.on, .nav-lang a:hover { opacity: 1; }
.nav-lang i { font-style: normal; opacity: .3; }
.nav-links > .nav-cta, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; box-sizing: border-box; opacity: 1;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(246,243,235,.4); border-radius: 2px;
  /* trailing letter-spacing sits after the last glyph — balance it on the left */
  padding: 0 17px 0 calc(17px + .16em);
  transition: border-color .3s, background .3s, color .3s;
}
.nav-cta:hover { border-color: var(--brass); color: var(--brass); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--night); color: var(--bone); text-align: center;
}
.hero-media { position: absolute; inset: 0; }
.hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; background: var(--night);
}
.hero-wash { position: absolute; inset: 0; background:
  radial-gradient(130% 90% at 50% 8%, rgba(7,13,11,.18), transparent 55%),
  radial-gradient(120% 90% at 50% 110%, rgba(7,13,11,.92), rgba(7,13,11,.32) 58%),
  linear-gradient(180deg, rgba(7,13,11,.62), rgba(7,13,11,.38) 40%, rgba(7,13,11,.66));
}
.hero-in { position: relative; z-index: 2; padding: 120px var(--pad) 140px; max-width: 1040px; }
.hero-eyebrow { color: var(--brass); margin: 0 0 30px; }
.hero-h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04; letter-spacing: -.022em; margin: 0; text-wrap: balance;
}
.hero-h1 em { font-style: italic; font-weight: 400; }
.hero-not {
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 2.2em; row-gap: 8px;
  margin: 44px 0 0; padding: 0; list-style: none;
  font-size: clamp(15px, 1.7vw, 18px); color: var(--boneDim); letter-spacing: .01em;
}
.hero-where {
  margin: 34px 0 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2.1vw, 23px); color: var(--brass);
}
/* staged entrance */
.st { opacity: 0; transform: translateY(16px); }
html.js .st { animation: stIn 1.15s cubic-bezier(.2,.66,.18,1) forwards; }
html.js .st-1 { animation-delay: .15s; } html.js .st-2 { animation-delay: .55s; }
html.js .st-3 { animation-delay: 1.5s; } html.js .st-4 { animation-delay: 1.9s; }
html.js .st-5 { animation-delay: 2.3s; } html.js .st-6 { animation-delay: 3.1s; }
html.no-js .st, html.rm .st { opacity: 1; transform: none; animation: none; }
@keyframes stIn { to { opacity: 1; transform: none; } }
.scrollcue {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 2;
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--boneFaint); padding: 10px;
}
.scrollcue .ln { width: 1px; height: 64px; background: linear-gradient(var(--brass), transparent); }
html.js .scrollcue .ln { animation: cueDrop 2.6s ease-in-out infinite; transform-origin: top; }
@keyframes cueDrop { 0%,100% { transform: scaleY(.55); opacity:.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* --------------------------------------------------- reveal sequence (rv)
   Three beats. JS + motion → sticky cinematic sequence; otherwise a calm
   static fall-back. */
.rv { position: relative; background: var(--night); }
.rv-stage {
  min-height: 100svh; display: grid; place-items: center;
  padding: 110px var(--pad); position: relative; overflow: hidden;
}
.rv-beat { max-width: 860px; margin: 0 auto; text-align: center; }
.rv-beat p.big {
  font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 4vw, 50px);
  line-height: 1.22; letter-spacing: -.015em; margin: 0; color: var(--bone); text-wrap: balance;
}
.rv-beat p.big .dim { color: var(--boneFaint); }
.rv-kicker { color: var(--brass); margin: 0 0 30px; }
.rv-word {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(64px, 15vw, 190px); line-height: 1; letter-spacing: -.03em; margin: 0;
}
.rv-after { margin: 36px 0 0; font-size: 15px; color: var(--boneDim); letter-spacing: .02em; }
/* static fallback layout */
html.no-js .rv-stage, html.rm .rv-stage { min-height: 0; }
.rv-beat + .rv-beat { margin-top: clamp(70px, 12vh, 130px); }
/* sequence mode (set by JS when motion is allowed) */
.rv.seq-on { height: 400vh; }
.rv.seq-on .rv-stage {
  position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100svh;
  min-height: 0;
}
.rv.seq-on .rv-beat {
  position: absolute; left: var(--pad); right: var(--pad); top: 50%;
  margin: 0 auto; transform: translateY(-50%); opacity: 0; will-change: opacity, transform;
}

/* ------------------------------------------------------------- act shells */
.act { padding: clamp(96px, 13vw, 170px) 0; position: relative; }
.act.paper { background: var(--paper); color: var(--ink); }
.act.dark  { background: var(--night); color: var(--bone); }
.act.dark2 { background: var(--night2); color: var(--bone); }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--brassDeep); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.dark .eyebrow, .dark2 .eyebrow { color: var(--brass); }
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.04; letter-spacing: -.022em; margin: 0; text-wrap: balance;
}
.h2 em { font-style: italic; font-weight: 400; }
.lead { font-size: clamp(17px, 1.9vw, 19.5px); line-height: 1.66; color: var(--ink2); max-width: 56ch; }
.dark .lead, .dark2 .lead { color: var(--boneDim); }

/* ------------------------------------------------------- science (paper) */
.sci-head { max-width: 880px; }
.sci-body {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.sci-prose { font-size: clamp(17.5px, 1.95vw, 20px); line-height: 1.74; color: var(--ink); max-width: 62ch; }
.sci-prose p { margin: 0 0 1.5em; }
.sci-prose p:last-child { margin-bottom: 0; }
.sci-prose .cap::first-letter {
  font-family: var(--serif); font-weight: 400; float: left;
  font-size: 4.45em; line-height: .82; padding: .06em .12em 0 0; color: var(--forest);
}
.sci-prose sup { font-family: var(--mono); font-size: .58em; color: var(--brassDeep); letter-spacing: 0; }
.sci-pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.4vw, 26px); line-height: 1.4; color: var(--ink);
  border-left: 2px solid var(--brass); padding-left: 26px; margin: 2em 0 0;
}
.stats { display: flex; flex-direction: column; }
.stat { padding: 26px 0; border-top: 1px solid var(--line); }
.stat:last-of-type { border-bottom: 1px solid var(--line); }
.stat .v {
  font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 5.2vw, 66px);
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
  font-variant-numeric: lining-nums;
}
.stat .v sup { font-family: var(--mono); font-size: 12px; color: var(--brassDeep); margin-left: 8px; }
.stat .d { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink2); max-width: 34ch; }
.sources { margin-top: 22px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: none; line-height: 1.9; color: var(--ink2); opacity: .85; }

/* --------------------------------------------------------- chain (dark) */
.chain-head { max-width: 820px; }
.chain { position: relative; margin-top: clamp(60px, 9vw, 110px); padding-left: clamp(58px, 9vw, 120px); }
.chain-spine, .chain-spine-fill {
  position: absolute; left: clamp(11px, 2vw, 31px); top: 10px; bottom: 96px; width: 1px;
}
.chain-spine { background: var(--lineD); }
.chain-spine-fill {
  background: linear-gradient(var(--brass), var(--forestBright));
  transform: scaleY(var(--p, 0)); transform-origin: top;
}
.stop { position: relative; padding-bottom: clamp(72px, 10vw, 120px); }
.stop:last-child { padding-bottom: 0; }
.stop-node {
  position: absolute; top: 8px; width: 23px; height: 23px; border-radius: 50%;
  left: calc(clamp(11px, 2vw, 31px) - clamp(58px, 9vw, 120px) - 11px);
  border: 1px solid var(--lineD); background: var(--night);
  display: grid; place-items: center;
  transition: border-color .6s, box-shadow .6s;
}
.stop-node::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lineD); transition: background .6s, transform .6s;
}
.stop.on .stop-node { border-color: var(--brass); box-shadow: 0 0 22px rgba(201,163,94,.25); }
.stop.on .stop-node::after { background: var(--brass); transform: scale(1.15); }
.stop-fig { color: var(--boneFaint); margin: 0; transition: color .6s; }
.stop.on .stop-fig { color: var(--brass); }
.stop-term {
  font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 6vw, 76px);
  line-height: 1; letter-spacing: -.025em; margin: 14px 0 0;
  color: var(--boneFaint); transition: color .7s;
}
.stop.on .stop-term { color: var(--bone); }
.stop-desc { margin: 18px 0 0; font-size: clamp(16px, 1.8vw, 17.5px); line-height: 1.66; color: var(--boneDim); max-width: 52ch; }
.stop-desc strong { color: var(--bone); font-weight: 500; }

/* --------------------------------------------------------- score (dark2) */
.score { overflow: hidden; }
.score-grid {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(48px, 7vw, 100px); align-items: center;
}
.anaphora { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--lineD); }
.anaphora li {
  padding: 17px 0; border-bottom: 1px solid var(--lineD);
  font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 2.1vw, 23px);
  letter-spacing: -.008em; line-height: 1.35; color: var(--boneDim);
}
.anaphora li b { font-weight: 500; color: var(--bone); }
.anaphora sub { font-size: .58em; line-height: 0; vertical-align: baseline; position: relative; top: .12em; }
.anaphora li.key { color: var(--brass); }
.anaphora li.key b { color: var(--brass); }
.score-copy { margin: 26px 0 0; font-size: 16.5px; line-height: 1.66; color: var(--boneDim); max-width: 50ch; }
.score-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 36px; }

/* the instrument */
.inst { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.gauge { position: relative; width: min(330px, 78vw); }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge .track { stroke: var(--lineD); }
.gauge .ticks { stroke: rgba(246,243,235,.22); }
.gauge text, .seal text { font-family: var(--mono); }
.gauge .fill {
  stroke: var(--brass);
  stroke-dasharray: 396; stroke-dashoffset: 396;
  transition: stroke-dashoffset 1.8s cubic-bezier(.3,.6,.2,1) .25s;
}
.inst.in .fill { stroke-dashoffset: 71.3; }   /* 82 / 100 of the 270° arc */
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num .v {
  font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 8vw, 92px);
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums;
}
.gauge-num .band { margin-top: 12px; color: var(--brass); }
.gauge-num .of { margin-top: 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--boneFaint); }
.meters { width: min(330px, 78vw); display: flex; flex-direction: column; gap: 15px; }
.meter { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; align-items: baseline; }
.meter .lbl { font-size: 12.5px; letter-spacing: .04em; color: var(--boneDim); }
.meter .val { font-family: var(--mono); font-size: 11px; color: var(--brass); }
.meter .bar { grid-column: 1 / -1; height: 1px; background: var(--lineD); position: relative; }
.meter .bar i {
  position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s cubic-bezier(.3,.6,.2,1) .5s;
}
.inst.in .meter .bar i { transform: scaleX(var(--w, .5)); }
.inst-cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--boneFaint); }

/* --------------------------------------------------------- method (paper) */
.method-head { max-width: 760px; }
.moves { margin-top: clamp(50px, 7vw, 84px); border-top: 1px solid var(--line); }
.move {
  display: grid; grid-template-columns: 110px 1fr 1.25fr; gap: clamp(22px, 4vw, 60px);
  padding: clamp(34px, 4.5vw, 52px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.move .ix { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--brassDeep); padding-top: 10px; }
.move h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -.015em; line-height: 1.06; margin: 0;
}
.move p { margin: 0; font-size: 16.5px; line-height: 1.68; color: var(--ink2); max-width: 56ch; }

/* ----------------------------------------------------- principles (paper) */
.prin { background: var(--cream); }
.prin-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 6vw, 96px); align-items: start; }
.prin-pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.6vw, 29px); line-height: 1.38; color: var(--ink);
  margin: 30px 0 0; max-width: 24ch;
}
.prin-rows { border-top: 1px solid var(--line); }
.prin-row {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.prin-row h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: -.008em; margin: 0; }
.prin-row p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink2); max-width: 52ch; }
.grade {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  color: var(--forest); border: 1px solid rgba(15,92,74,.45); border-radius: 2px;
  padding: 5px 9px; white-space: nowrap; margin-top: 3px;
}
.prin-foot { margin-top: 28px; display: flex; gap: 13px; font-size: 12.5px; line-height: 1.65; color: var(--ink2); }
.prin-foot .mk { font-family: var(--mono); color: var(--brassDeep); flex: none; }

/* ------------------------------------------------------ practices (paper) */
.prac-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.prac-rows { margin: 34px 0 0; border-top: 1px solid var(--line); }
.prac-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: baseline;
  padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 16.5px;
}
.prac-row .n { font-family: var(--mono); font-size: 11px; color: var(--brassDeep); }
.prac-cta { margin-top: 34px; }
.seal { display: grid; place-items: center; }
.seal svg { width: min(330px, 64vw); height: auto; }
.ring-rotor { transform-box: view-box; transform-origin: 50% 50%; }
html.js .ring-rotor { animation: sealTurn 70s linear infinite; }
html.rm .ring-rotor { animation: none; }
@keyframes sealTurn { to { transform: rotate(360deg); } }

/* --------------------------------------------------------- future (dark) */
.future-head { max-width: 780px; }
.idx { margin-top: clamp(48px, 6vw, 76px); border-top: 1px solid var(--lineD); }
.idx-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: clamp(18px, 3vw, 40px);
  align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--lineD);
}
.idx-row .n { font-family: var(--mono); font-size: 11px; color: var(--brass); letter-spacing: .14em; }
.idx-row .t { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2.6vw, 30px); letter-spacing: -.012em; }
.idx-row .s {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--boneFaint); border: 1px solid var(--lineD); border-radius: 2px; padding: 6px 10px;
}
.future-note { margin-top: 34px; font-size: 16px; line-height: 1.68; color: var(--boneDim); max-width: 58ch; }

/* ------------------------------------------------------------- cta (dark) */
.cta { text-align: center; background:
  radial-gradient(90% 70% at 50% 115%, rgba(14,42,33,.85), transparent 70%), var(--night); }
.cta-in { max-width: 720px; margin: 0 auto; }
.cta .h2 { font-size: clamp(42px, 7vw, 86px); }
.cta p.sub { margin: 26px auto 0; font-size: 17.5px; line-height: 1.6; color: var(--boneDim); max-width: 42ch; }
.wl { margin: 44px auto 0; max-width: 520px; }
.wl-form { display: flex; gap: 10px; }
.wl-input {
  flex: 1; min-width: 0; font-family: var(--sans); font-size: 16px; color: var(--bone);
  background: rgba(246,243,235,.05); border: 1px solid rgba(246,243,235,.26);
  border-radius: 2px; padding: 15px 18px; min-height: 48px; outline: none;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.wl-input:focus { border-color: var(--brass); background: rgba(246,243,235,.08); }
.wl-input::placeholder { color: var(--boneFaint); }
.wl-ok { font-size: 15px; color: var(--brass); display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; margin: 0; }
.wl-note { margin: 18px 0 0; font-size: 12.5px; color: var(--boneFaint); }

/* ----------------------------------------------------------------- footer */
.foot {
  background: var(--night); color: var(--boneDim);
  border-top: 1px solid var(--lineD);
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.foot-pad { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--lineD); }
.foot-links { display: flex; gap: 26px; font-size: 13.5px; flex-wrap: wrap; }
.foot-links a { opacity: .72; transition: opacity .2s; padding: 6px 0; }
.foot-links a:hover { opacity: 1; }
.foot-bot { margin-top: 26px; display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; font-size: 12px; line-height: 1.7; }
.foot-bot strong { color: var(--bone); font-weight: 500; }
.foot-bot p { margin: 0; max-width: 600px; }

/* ----------------------------------------------------------- reveals (fx) */
html.js .fx { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(.2,.66,.18,1), transform 1s cubic-bezier(.2,.66,.18,1); }
html.js .fx.in { opacity: 1; transform: none; }
html.js .fx[data-d="1"] { transition-delay: .1s; }
html.js .fx[data-d="2"] { transition-delay: .2s; }
html.js .fx[data-d="3"] { transition-delay: .3s; }
html.rm .fx { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .nav-links > a { display: none; }
  .sci-body, .score-grid, .prin-grid, .prac-grid { grid-template-columns: 1fr; }
  .move { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .move .ix { padding-top: 0; }
  .move p { max-width: none; }
  .seal { order: -1; }
  .seal svg { width: min(250px, 56vw); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav.solid { padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 10px; }
  .hero-in { padding-top: 100px; padding-bottom: 120px; }
  .hero-not { flex-direction: column; gap: 6px; }
  .act { padding: 88px 0; }
  .folio { margin-bottom: 44px; }
  .folio .mono:last-child { display: none; }
  .chain { padding-left: 46px; }
  .chain-spine, .chain-spine-fill { left: 11px; }
  .stop-node { left: -46px; }
  .stop-desc br { display: none; }
  .idx-row { grid-template-columns: 40px 1fr; }
  .idx-row .s { grid-column: 2; justify-self: start; }
  .wl-form { flex-direction: column; }
  .wl-form .btn { width: 100%; }
  .score-ctas { gap: 18px; }
  .score-ctas .btn { width: 100%; }
  .gauge-num .v { font-size: 60px; }
}
@media (max-width: 380px) {
  .rv-word { font-size: 56px; }
}

/* iOS / touch niceties */
@media (hover: none) {
  .nav-links > a, .foot-links a { opacity: 1; }
}
