/* Self-hosted fonts (SIL Open Font License, see assets/fonts/LICENSE-*). Latin subset only. */
@font-face {
  font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("/assets/fonts/unbounded-latin-wght-normal.22f9b928aa.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-display: swap; font-weight: 100 1000;
  src: url("/assets/fonts/dm-sans-latin-wght-normal.9fea608a94.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: italic; font-display: swap; font-weight: 100 1000;
  src: url("/assets/fonts/dm-sans-latin-wght-italic.f1a235db5b.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/assets/fonts/dm-mono-latin-400-normal.e1896b13b2.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("/assets/fonts/dm-mono-latin-500-normal.9964608a84.woff2") format("woff2");
}

/* Rockforces — first site.
   Layout: full-bleed painted scenes hung on a dark wall. Copy floats in each sky,
   Miso peeks over the hills, and a paper receipt is pinned under every painting. */
:root {
  --wall: #041A1D;
  --wall-2: #0B2A2E;
  --ink: #062A2E;
  --body-ink: #33575A;
  --paper: #FFFCF2;
  --paper-ink: #4C6A6C;
  --teal: #00BCC8;
  --teal-deep: #00737A;
  --lime: #D0FF00;
  --lime-soft: #E9FF8A;
  --mint: #88DCCD;
  --mist: #F3FCFC;
  --mist-dim: #B7D5D3;
  --redact: #020B0C;
  --err: #A21C12;

  --f-display: "Unbounded", "Unbounded Fallback", system-ui, sans-serif;
  --f-body: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gut: clamp(16px, 4vw, 48px);
  --pad-l: max(var(--gut), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--gut), env(safe-area-inset-right, 0px));
  --max: 1200px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.25, 1.45, .4, 1);
  color-scheme: dark;
}

@font-face { font-family: "Unbounded Fallback"; src: local("Arial Black"), local("Arial Bold"), local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 97%; ascent-override: 98%; descent-override: 30%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="off"]) { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--wall);
  color: var(--mist);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 100; left: var(--pad-l); top: calc(env(safe-area-inset-top, 0px) + 10px);
  transform: translateY(-200%); padding: 12px 18px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { transform: none; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 49; background: var(--wall);
}
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; pointer-events: none;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
  padding-left: var(--pad-l); padding-right: var(--pad-r);
}
.hdr__bar {
  pointer-events: auto; max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 8px; border-radius: 999px;
  background: rgba(4, 26, 29, .6);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .6);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding-right: 6px;
  color: #fff; text-decoration: none; border-radius: 999px;
}
.brand__mark { width: 32px; height: 32px; border-radius: 50%; }
.brand__word { font: 700 17px/1 var(--f-display); letter-spacing: -.01em; }
.hdr__nav { display: flex; align-items: center; gap: 14px; margin-left: 6px; min-width: 0; }
.hdr__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .84); text-decoration: none; border-radius: 10px;
}
.hdr__link:hover { color: #fff; }
.hdr__chapter {
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--lime); opacity: 0; transform: translateY(4px);
  transition: opacity .35s ease, transform .35s var(--ease-out);
}
.hdr__chapter.is-on { opacity: 1; transform: none; }
.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.motion-btn {
  width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.motion-btn:hover { background: rgba(255, 255, 255, .14); }
.motion-btn__play { display: none; }
.motion-btn[aria-pressed="true"] .motion-btn__play { display: block; }
.motion-btn[aria-pressed="true"] .motion-btn__pause { display: none; }
@media (max-width: 720px) { .hdr__nav { display: none; } }
@media (max-width: 420px) {
  .brand__word { font-size: 15px; }
  .hdr__bar .btn--sm { padding: 0 14px; font-size: 13px; }
}
@media (max-width: 350px) { .brand__word { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
  font: 700 15px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lime {
  background: var(--lime); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 12px 28px -14px rgba(176, 216, 0, .9);
}
.btn--lime:hover { background: #DCFF3D; transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, .42); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(6, 42, 46, .42);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .7); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow__num {
  display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 7px;
  border-radius: 999px; background: var(--lime); color: var(--ink); letter-spacing: .04em;
}

/* ---------- painted scenes ---------- */
.scene {
  --bleed: 44px;
  --miso-w: clamp(116px, 15vw, 214px);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(640px, 64vw, 900px);
  background: var(--scene-fallback, var(--wall));
  color: var(--scene-ink);
}
.scene--light { --scene-ink: var(--ink); --scene-sub: #1F4448; --eyebrow: var(--teal-deep); }
.scene--dark { --scene-ink: #F7FFFE; --scene-sub: #D3ECEA; --eyebrow: var(--lime-soft); }

.scene__back, .scene__fx {
  position: absolute; left: 0; width: 100%;
  top: calc(-1 * var(--bleed)); height: calc(100% + 2 * var(--bleed));
  transform: translate3d(0, var(--par, 0px), 0);
  pointer-events: none;
}
.scene__back { z-index: 0; }
.scene__fx { z-index: 1; }
.scene__front { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.scene__back, .scene__front { opacity: 0; transition: opacity .8s ease; }
.scene__back.is-painted, .scene__front.is-painted { opacity: 1; }
.scene::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: url("/assets/img/grain.4143700719.png"); background-size: 180px 180px;
  mix-blend-mode: overlay; opacity: var(--grain, .14);
}
.scene__copy {
  position: relative; z-index: 5; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(108px, 12vw, 168px) var(--pad-r) 0 var(--pad-l);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px clamp(28px, 5vw, 72px); align-items: end;
}
.scene__copy .eyebrow { grid-column: 1 / -1; color: var(--eyebrow); }
.scene__copy h2 {
  font: 800 clamp(1.85rem, 3.7vw, 3.1rem)/1.04 var(--f-display); letter-spacing: -.03em;
  text-wrap: balance; color: var(--scene-ink);
}
.scene__copy .lede {
  max-width: 30rem; padding-bottom: .3rem;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.55; font-weight: 500; color: var(--scene-sub);
}
.scene__land { position: relative; flex: 1 0 auto; min-height: clamp(310px, 38vw, 540px); }
@media (max-width: 760px) {
  .scene__copy { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

.miso {
  position: absolute; z-index: 2; width: var(--miso-w); right: 9%; bottom: 14%;
  transform: translate3d(0, var(--peek, 0%), 0) rotate(var(--tilt-m, 0deg)); transform-origin: 50% 100%; will-change: transform; pointer-events: none;
}
.miso img { width: 100%; height: auto; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .miso img { animation: breathe 5.4s ease-in-out infinite; }
}
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.014, .986); } }

.bubble {
  position: absolute; z-index: 7;
  right: calc(9% + var(--miso-w) * .5); bottom: calc(14% + var(--miso-w) * 1.02);
  width: max-content; max-width: min(250px, 64vw);
  padding: 11px 15px; border-radius: 18px;
  background: #fff; color: var(--ink);
  font: 600 15px/1.35 var(--f-body);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .6);
  transform-origin: var(--tail-x, 80%) 115%;
  transform: scale(var(--bub, 1)); opacity: var(--bub-o, 1);
  pointer-events: none;
}
.bubble::after {
  content: ""; position: absolute; bottom: -6px; left: var(--tail-x, 80%);
  width: 14px; height: 14px; background: #fff; border-radius: 3px;
  transform: translateX(-50%) rotate(45deg);
}

/* hero */
.scene--hero {
  --miso-w: clamp(150px, 17vw, 262px);
  min-height: clamp(660px, 94svh, 960px);
  --scene-fallback: linear-gradient(180deg, #86DFE0 0%, #BFEFE8 40%, #E9FBD8 62%, #8ACB49 80%, #2C7A4A 94%, #041A1D 100%);
}
.hero__copy { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: end; }
.hero__title {
  font: 800 clamp(2.7rem, 6.6vw, 6rem)/.96 var(--f-display); letter-spacing: -.04em;
  text-wrap: balance; color: var(--ink);
}
.hero__title .w { display: inline-block; }
.hero__side { display: grid; gap: 14px; max-width: 32rem; padding-bottom: .35rem; }
.hero__lede { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.55; font-weight: 500; color: #1F4448; }
.hero__lede--miso { font-weight: 700; color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.hero__tally {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #234A4E;
}
.hero__tally li { padding: 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(6, 42, 46, .14); }
.hero__tally strong { font-weight: 500; color: var(--teal-deep); }
@media (max-width: 860px) {
  .hero__copy { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .hero__title .w { animation: rise 1s var(--ease-out) both; }
  :root:not([data-motion="off"]) .hero__title .w:nth-child(2) { animation-delay: .08s; }
  :root:not([data-motion="off"]) .hero__title .w:nth-child(3) { animation-delay: .16s; }
  :root:not([data-motion="off"]) .miso--hero img { animation: pop 1s var(--ease-spring) .2s both, breathe 5.4s ease-in-out 1.4s infinite; }
  :root:not([data-motion="off"]) .scene--hero .bubble { animation: bubble-in .55s var(--ease-spring) 1.1s both; }
}
@keyframes rise { from { transform: translateY(.3em); } to { transform: none; } }
@keyframes pop {
  0% { transform: translateY(46%) scale(.94, 1.06); }
  62% { transform: translateY(-5%) scale(1.03, .97); }
  100% { transform: none; }
}
@keyframes bubble-in { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* per-scene fallbacks shown before the painting lands */
[data-scene="stars"] { --scene-fallback: linear-gradient(180deg, #041A1D 0%, #041C24 30%, #0A3140 58%, #0E3644 70%, #082430 86%, #041A1D 100%); --grain: .16; }
[data-scene="candy"] { --scene-fallback: linear-gradient(180deg, #6FCDEF 0%, #AEE6F4 36%, #FFF0D2 56%, #9BD64F 72%, #3E8D44 90%, #041A1D 100%); --grain: .12; }
[data-scene="dunes"] { --scene-fallback: linear-gradient(180deg, #173F9E 0%, #2E5FC8 34%, #F0908C 52%, #2753B8 66%, #163A86 86%, #041A1D 100%); --grain: .22; }
[data-scene="sea"] { --scene-fallback: linear-gradient(180deg, #79B6E6 0%, #BFDDF2 40%, #2C7DCB 56%, #0B4A9E 70%, #3C8A3E 84%, #041A1D 100%); --grain: .13; }
[data-scene="agents"] { --scene-fallback: linear-gradient(180deg, #120A35 0%, #28186B 30%, #5232BE 50%, #2A1772 66%, #110934 84%, #041A1D 100%); --grain: .16; }
[data-scene="sunrise"] { --scene-fallback: linear-gradient(180deg, #7FD9DE 0%, #BDF0E9 40%, #F1FFD2 58%, #93D843 74%, #2C7A4A 92%, #041A1D 100%); --grain: .12; }

/* the drifting boat in the sea chapter */
.boat { position: absolute; z-index: 1; left: 62%; top: 52%; width: clamp(38px, 4vw, 60px); transform: translate3d(0, var(--par, 0px), 0); pointer-events: none; }
.boat svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .boat svg { animation: drift 9s ease-in-out infinite alternate; }
}
@keyframes drift {
  0% { transform: translateX(0) rotate(-2deg); }
  50% { transform: translateX(18px) rotate(2deg); }
  100% { transform: translateX(36px) rotate(-1deg); }
}

/* ---------- evidence: receipts and sealed answers ---------- */
.evidence {
  --overlap: clamp(56px, 7vw, 116px);
  position: relative; z-index: 6; width: 100%; max-width: var(--max);
  margin: calc(-1 * var(--overlap)) auto 0;
  padding: 0 var(--pad-r) clamp(84px, 10vw, 150px) var(--pad-l);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.chapter--flip .receipt { grid-column: 2; grid-row: 1; justify-self: end; }
.chapter--flip .sealed { grid-column: 1; grid-row: 1; }

.receipt {
  --tilt: -1.6deg;
  position: relative; justify-self: start; width: min(100%, 460px); margin-top: 8px;
  padding: 24px 24px 22px;
  background: var(--paper); color: var(--ink);
  font: 400 13.5px/1.5 var(--f-mono);
  transform: rotate(var(--tilt));
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .42));
  transition: transform .6s var(--ease-out);
}
.receipt--tilt-r { --tilt: 1.4deg; }
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background:
    linear-gradient(-45deg, var(--paper) 5.66px, transparent 0) 0 100% / 8px 8px repeat-x,
    linear-gradient(45deg, var(--paper) 5.66px, transparent 0) 0 100% / 8px 8px repeat-x;
}
.receipt::before { top: -8px; }
.receipt::after { bottom: -8px; transform: rotate(180deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .receipt:hover { transform: rotate(0deg) translateY(-4px); }
}
.receipt__head {
  display: grid; gap: 5px; text-align: center;
  padding-bottom: 14px; border-bottom: 1.5px dashed rgba(6, 42, 46, .42);
}
.receipt__no { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-ink); }
.receipt__title { font: 800 17px/1.25 var(--f-display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.receipt__store { font-size: 12px; color: var(--paper-ink); }
.receipt__lines { display: grid; gap: 3px; padding: 12px 0; }
.receipt__line { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.receipt__line dt { flex: 1 1 auto; display: flex; align-items: baseline; min-width: 0; }
.receipt__line dt::after {
  content: ""; flex: 1 1 14px; min-width: 14px; margin: 0 0 0 8px;
  border-bottom: 1.5px dotted rgba(6, 42, 46, .4); transform: translateY(-.28em);
}
.receipt__line dd { flex: 0 0 auto; max-width: 52%; text-align: right; font-weight: 500; }
.hl {
  background: linear-gradient(transparent 50%, var(--lime) 50%, var(--lime) 92%, transparent 92%);
  padding: 0 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.receipt sup { line-height: 0; }
.receipt sup a { padding: 0 2px; color: var(--teal-deep); font-weight: 500; text-decoration: none; }
.receipt sup a:hover { text-decoration: underline; }
.receipt__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-top: 12px; border-top: 2px solid var(--ink);
  font: 500 15px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
}
.receipt__foot { margin-top: 14px; text-align: center; font-size: 12px; color: var(--paper-ink); }
.receipt__barcode {
  width: 74%; height: 34px; margin: 14px auto 0;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
    var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px);
  opacity: .88;
}

.sealed {
  position: relative; align-self: start; margin-top: calc(var(--overlap) + 12px);
  display: grid; gap: 18px; padding: clamp(22px, 3vw, 30px);
  border-radius: 26px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(165deg, #0F3337 0%, #0A2528 100%);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8);
  color: var(--mist);
}
.sealed__top { display: flex; align-items: center; gap: 10px; color: var(--lime); }
.sealed__title { font: 700 clamp(1.08rem, 1.6vw, 1.3rem)/1.2 var(--f-display); letter-spacing: -.01em; color: #fff; }
.sealed__lines { display: grid; gap: 12px; }
.sealed__row { display: flex; align-items: center; gap: 10px; min-height: 18px; }
.bar {
  position: relative; overflow: hidden; height: 15px; border-radius: 4px;
  background: var(--redact); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.bar--s { flex: 0 1 18%; }
.bar--m { flex: 0 1 34%; }
.bar--l { flex: 0 1 56%; }
.bar--xl { flex: 0 1 88%; }
.bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(208, 255, 0, .26) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .bar::after { animation: scan 3.8s var(--ease-out) infinite; }
  :root:not([data-motion="off"]) .sealed__row:nth-child(2) .bar::after { animation-delay: .35s; }
  :root:not([data-motion="off"]) .sealed__row:nth-child(3) .bar::after { animation-delay: .7s; }
}
@keyframes scan { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
.peek { font: 500 14px/1 var(--f-mono); letter-spacing: .02em; white-space: nowrap; color: var(--lime); }
.sealed__code {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(208, 255, 0, .1); border: 1px solid rgba(208, 255, 0, .34);
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime-soft);
}
.sealed__code strong { font: 700 13px/1 var(--f-display); letter-spacing: 0; text-transform: none; color: #fff; }
.sealed__cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--lime); font-weight: 700; text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.sealed__cta svg { transition: transform .25s var(--ease-out); }
.sealed__cta:hover svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .evidence { grid-template-columns: minmax(0, 1fr); }
  .chapter--flip .receipt, .chapter--flip .sealed { grid-column: auto; grid-row: auto; }
  .chapter--flip .receipt { justify-self: start; }
  .sealed { margin-top: 0; }
}

/* ---------- thesis ---------- */
.thesis {
  position: relative; overflow: hidden;
  padding: clamp(96px, 12vw, 176px) var(--pad-r) clamp(96px, 12vw, 168px) var(--pad-l);
  background: radial-gradient(70% 55% at 50% 100%, rgba(0, 188, 200, .2), transparent 70%), var(--wall);
  text-align: center;
}
.thesis__inner { max-width: 1000px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.thesis .eyebrow { color: var(--lime-soft); }
.thesis__title { font: 800 clamp(2.2rem, 6vw, 5rem)/1 var(--f-display); letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.thesis__title span { display: block; color: var(--lime); }
.thesis__lede { max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--mist-dim); }
.converge { width: 100%; margin-top: 26px; display: grid; justify-items: center; }
.converge__names { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.converge__names li {
  padding: 11px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  font: 500 13px/1 var(--f-mono); letter-spacing: .02em; color: #fff; overflow-wrap: anywhere;
}
.converge__lines { width: 100%; height: clamp(72px, 11vw, 150px); overflow: visible; }
.converge__lines path {
  fill: none; stroke: rgba(208, 255, 0, .6); stroke-width: 1.6; stroke-dasharray: 4 7;
  vector-effect: non-scaling-stroke;
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .converge__lines path { animation: flow 1.4s linear infinite; }
  :root:not([data-motion="off"]) .converge__ring { animation: pulse 2.2s ease-out infinite; }
}
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6, 42, 46, .55); } 100% { box-shadow: 0 0 0 12px rgba(6, 42, 46, 0); } }
.converge__dot {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font: 700 15px/1 var(--f-display);
}
.converge__ring { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@media (max-width: 640px) {
  .converge__names { display: flex; flex-wrap: wrap; justify-content: center; }
  .converge__names li { padding: 10px 14px; }
  .converge__lines { display: none; }
  .converge__dot { margin-top: 18px; }
}

/* ---------- waitlist ---------- */
.waitlist { min-height: 0; --miso-w: clamp(112px, 12vw, 160px); }
.wl {
  position: relative; z-index: 5; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(176px, 17vw, 240px) var(--pad-r) clamp(84px, 10vw, 140px) var(--pad-l);
}
.wl__stage { position: relative; width: min(560px, 100%); }
.miso--perch { right: 28px; left: auto; top: auto; bottom: calc(100% - 40px); transform: none; z-index: 0; }
.bubble--perch {
  right: calc(28px + var(--miso-w) * .78); bottom: calc(100% + var(--miso-w) * .5);
  --tail-x: calc(100% - 22px); z-index: 2;
}
.wl__card {
  position: relative; z-index: 1;
  padding: clamp(24px, 4vw, 40px); border-radius: 30px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 40px 80px -40px rgba(4, 26, 29, .6);
  color: var(--ink);
}
.wl__body { display: grid; gap: 14px; }
.wl__body .eyebrow { color: var(--teal-deep); }
.wl__title { font: 800 clamp(1.85rem, 3.4vw, 2.7rem)/1.02 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.wl__lede { font-size: 1.05rem; color: var(--body-ink); }
.wl__form { display: grid; gap: 18px; margin-top: 6px; }
.field { display: grid; gap: 8px; }
.field__label { font: 700 13.5px/1.2 var(--f-body); color: var(--ink); padding: 0; }
.field__input {
  width: 100%; min-height: 54px; padding: 0 18px;
  border: 1.5px solid rgba(6, 42, 46, .24); border-radius: 16px;
  background: #fff; color: var(--ink); font-size: 16px; color-scheme: light;
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: #6A8789; }
.field__input:hover { border-color: rgba(6, 42, 46, .42); }
.field__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(208, 255, 0, .85); }
.field__input[aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: 14px; font-weight: 600; color: var(--err); }
.roles { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.roles__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1.5px solid rgba(6, 42, 46, .2);
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip span:hover { border-color: rgba(6, 42, 46, .45); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.chip input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }
.roles__hint { font-size: 13.5px; color: var(--body-ink); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; color: #1F4448; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); color-scheme: light; }
.consent label { cursor: pointer; }
.consent__more { margin-top: -12px; padding-left: 34px; font-size: 13.5px; }
.consent__more a { color: var(--teal-deep); font-weight: 600; text-underline-offset: 3px; }
.wl__status { min-height: 1.4em; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.wl__status.is-error { color: var(--err); }
.wl__done { position: relative; display: grid; gap: 10px; padding: 8px 0 4px; outline: none; }
.wl__done .eyebrow { color: var(--teal-deep); }
.wl__done-title { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--f-display); letter-spacing: -.02em; }
.wl__done-text { color: var(--body-ink); }
.confetti { position: absolute; left: 50%; top: 20%; width: 0; height: 0; pointer-events: none; }
.confetti i {
  position: absolute; width: 10px; height: 6px; border-radius: 3px; opacity: 0;
  background: var(--lime);
}
.confetti i:nth-child(3n) { background: var(--teal); }
.confetti i:nth-child(4n) { background: #FF9CCB; }
.confetti i:nth-child(5n) { background: var(--ink); }
.is-celebrating .confetti i { animation: burst 1.2s var(--ease-out) forwards; }
.confetti i:nth-child(1) { --x: -150px; --y: -90px; --r: 200deg; }
.confetti i:nth-child(2) { --x: -110px; --y: -130px; --r: -140deg; }
.confetti i:nth-child(3) { --x: -60px; --y: -150px; --r: 120deg; }
.confetti i:nth-child(4) { --x: -20px; --y: -110px; --r: -220deg; }
.confetti i:nth-child(5) { --x: 30px; --y: -160px; --r: 260deg; }
.confetti i:nth-child(6) { --x: 80px; --y: -120px; --r: -90deg; }
.confetti i:nth-child(7) { --x: 130px; --y: -140px; --r: 180deg; }
.confetti i:nth-child(8) { --x: 160px; --y: -70px; --r: -260deg; }
.confetti i:nth-child(9) { --x: -170px; --y: -30px; --r: 90deg; }
.confetti i:nth-child(10) { --x: 175px; --y: -20px; --r: 150deg; }
.confetti i:nth-child(11) { --x: -90px; --y: -60px; --r: -60deg; }
.confetti i:nth-child(12) { --x: 100px; --y: -50px; --r: 300deg; }
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 120px)) rotate(var(--r)); }
}
@media (prefers-reduced-motion: reduce) { .is-celebrating .confetti i { animation: none; } }
:root[data-motion="off"] .is-celebrating .confetti i { animation: none; }
.is-happy img { animation: hop .7s var(--ease-spring) 2 !important; }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-18%) scale(.97, 1.04); } }
@media (prefers-reduced-motion: reduce) { .is-happy img { animation: none !important; } }
:root[data-motion="off"] .is-happy img { animation: none !important; }
@media (max-width: 520px) {
  .miso--perch { right: 12px; }
  .bubble--perch { right: calc(12px + var(--miso-w) * .74); }
}

/* ---------- footer ---------- */
.ftr {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 56px var(--pad-r) calc(48px + env(safe-area-inset-bottom, 0px)) var(--pad-l);
  color: var(--mist-dim); background: var(--wall);
}
.ftr__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 26px; }
.ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ftr__line { font-size: 15px; }
.privacy { border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.privacy summary {
  display: flex; align-items: center; gap: 10px; min-height: 52px; cursor: pointer; list-style: none;
  font-weight: 700; color: #fff;
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); font: 500 15px/1 var(--f-mono); color: var(--lime);
}
.privacy[open] summary::before { content: "−"; }
.privacy__body { display: grid; gap: 10px; max-width: 68ch; padding: 4px 0 22px; font-size: 14.5px; line-height: 1.6; }
.privacy__body strong { color: #fff; }
.privacy__email { font-family: var(--f-mono); color: var(--lime-soft); overflow-wrap: anywhere; }
.sources { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; font-size: 13px; color: #8FB2B0; }
.sources a { color: var(--mint); text-underline-offset: 3px; }
.ftr__legal { font-size: 13px; color: #7FA19F; }

/* ---------- small pages (no-JS waitlist results, 404) ---------- */
.mini {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 48px var(--pad-r) 48px var(--pad-l);
  background: radial-gradient(90% 70% at 50% 0%, #86DFE0 0%, #BFEFE8 45%, #F2FFDE 80%), #F2FFDE;
  color: var(--ink);
}
.mini__card { max-width: 520px; display: grid; justify-items: center; gap: 14px; }
.mini__card .eyebrow { color: var(--teal-deep); }
.mini__miso { width: 168px; }
.mini__title { font: 800 clamp(2rem, 6vw, 3rem)/1.02 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.mini__text { color: var(--body-ink); }

/* ---------- refinements: progress, light, why now ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); background: linear-gradient(90deg, var(--teal), var(--lime)); }
.scene::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 70%; z-index: 4; pointer-events: none;
  background: radial-gradient(40% 60% at 70% 30%, rgba(255,255,255,.18), transparent 70%);
  mix-blend-mode: soft-light; opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .scene::before { animation: glow 14s ease-in-out infinite alternate; }
  :root:not([data-motion="off"]) .bubble { transition: opacity .25s ease; }
}
@keyframes glow { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.why { padding: clamp(80px, 10vw, 140px) var(--pad-r) clamp(80px, 10vw, 140px) var(--pad-l); background: var(--wall); border-top: 1px solid rgba(255,255,255,.06); }
.why__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; }
.why .eyebrow { color: var(--lime-soft); }
.why__title { font: 800 clamp(1.9rem, 4vw, 3.2rem)/1.04 var(--f-display); letter-spacing: -.03em; color: #fff; max-width: 18ch; text-wrap: balance; }
.why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why__list li { padding: 24px; border-radius: 22px; background: linear-gradient(165deg, #0F3337, #0A2528); border: 1px solid rgba(255,255,255,.08); color: var(--mist-dim); font-size: 15.5px; line-height: 1.55; }
.why__list strong { display: block; margin: 10px 0 8px; font: 700 18px/1.2 var(--f-display); color: #fff; }
.why__list sup { line-height: 0; }
.why__list sup a { color: var(--lime); text-decoration: none; }
.why__n { display: block; font: 500 12px/1 var(--f-mono); color: var(--lime); letter-spacing: .1em; }
.founder { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 22px; background: rgba(208,255,0,.08); border: 1px solid rgba(208,255,0,.25); color: var(--mist); max-width: 760px; }
.founder__mark { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; }
.founder strong { color: var(--lime); }
@media (max-width: 760px) { .why__list { grid-template-columns: minmax(0, 1fr); } .founder { align-items: flex-start; } }
