/* ==========================================================================
   HearHush · story (experimental)
   Additive layer on top of styles.css — same tokens, same components.
   Only the scroll-driven cinematic scenes and the new diagrams live here.
   ========================================================================== */

/* ---------- header progress ---------- */

.story-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(88, 117, 124, .1);
  overflow: hidden;
  border-radius: 99px;
}

.story-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--band-low), var(--primary), var(--accent));
  transition: width .15s linear;
}

/* ---------- hero film frame ---------- */

.hero-film { display: grid; place-items: center; }

.film-frame {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 34px 74px rgba(52, 74, 80, .22);
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.62) contrast(.98) brightness(.94);
  will-change: transform;
}

.film-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 40%, rgba(52, 74, 80, .35) 100%),
    linear-gradient(180deg, rgba(220, 231, 233, .1), rgba(52, 73, 80, .18));
  pointer-events: none;
}

.hero-microcopy {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 11px;
}

.hero-safety {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary-deep);
  font-size: 10px;
  text-decoration: underline;
  text-decoration-color: rgba(88, 117, 124, .32);
  text-underline-offset: 4px;
}

/* ---------- first 8 minutes ---------- */

.first-session {
  padding-block: 96px 118px;
}

.first-session-heading,
.access-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .62fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
  margin-bottom: 42px;
}

.first-session-heading h2,
.access-heading h2,
.faq-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1;
}

.first-session-heading > p,
.access-heading > p {
  margin: 0 0 5px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

.first-session-grid {
  display: grid;
  grid-template-columns: minmax(270px, .66fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.first-session-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-session-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  padding: 18px;
  background: rgba(255, 255, 255, .54);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.first-session-steps li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
}

.first-session-steps strong { display: block; margin-top: 1px; font-size: 14px; }
.first-session-steps p { margin: 4px 0 0; color: var(--ink-muted); font-size: 11px; line-height: 1.55; }

.first-session-window { transform: rotate(-.45deg); }
.first-session-window figcaption {
  display: flex;
  gap: 7px;
  padding: 10px 8px 4px;
  background: transparent;
}

.first-session-window figcaption span {
  padding: 6px 9px;
  color: rgba(245, 249, 248, .74);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .13);
}

/* ---------- optional science chapter ---------- */

.deep-dive {
  margin: 0 0 90px;
  border-block: 1px solid var(--border);
  background: rgba(220, 231, 233, .25);
}

.deep-dive > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
}

.deep-dive > summary::-webkit-details-marker,
.evidence-disclosure > summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker { display: none; }

.deep-dive-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--primary);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 22px;
}

.deep-dive summary small,
.deep-dive summary strong { display: block; }
.deep-dive summary small { color: var(--primary); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.deep-dive summary strong { margin-top: 3px; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 29px); font-weight: 470; }
.deep-dive summary em,
.evidence-disclosure summary em {
  padding: 9px 13px;
  color: var(--primary);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deep-dive[open] > summary em { font-size: 0; }
.deep-dive[open] > summary em::after { content: "Close"; font-size: 9px; }
.deep-dive-content { background: var(--page); }

/* the tinnitus ring — used in the hero and the memory scene */

.film-rings { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.film-rings i {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 137, 108, .75);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: storyRing 4.6s linear infinite;
  opacity: 0;
}

.film-rings i:nth-child(2) { animation-delay: 1.5s; }
.film-rings i:nth-child(3) { animation-delay: 3s; }

.film-rings-cold i { border-color: rgba(220, 231, 233, .7); width: 22%; }

@keyframes storyRing {
  0% { opacity: 0; scale: .25; }
  14% { opacity: .9; }
  100% { opacity: 0; scale: 2.4; }
}

/* ==========================================================================
   scroll-driven scenes
   ========================================================================== */

.scene { position: relative; }

.scene .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.scene .media,
.scene .media img,
.scene .media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene .media img,
.scene .media video { will-change: transform, opacity, filter; }

.shade { position: absolute; inset: 0; pointer-events: none; }
.shade-bottom { background: linear-gradient(rgba(28, 44, 49, .18) 45%, rgba(24, 38, 43, .82)); }

.scene .fx { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- memory scene ---------- */

.memory-scene { background: #1c2c31; }
.memory-scene .media img { opacity: 0; }

.white-bloom {
  position: absolute;
  inset: 0;
  background: var(--page);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.caption-copy {
  position: relative;
  z-index: 4;
  height: 100%;
}

.caption {
  position: absolute;
  bottom: 13vh;
  left: 0;
  right: 0;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  color: #f7f9f7;
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 470;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
  opacity: 0;
  text-shadow: 0 2px 40px rgba(18, 30, 34, .6);
}

.caption em { color: #cddcd8; font-style: italic; }

/* ---------- pivot scene ---------- */

.pivot-scene .pin {
  background:
    radial-gradient(circle at 50% 78%, rgba(220, 231, 233, .7), transparent 60%),
    var(--page);
}

.pivot-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: 90px 40px;
}

.pivot-jab {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.22;
  opacity: 0;
}

.pivot-jab em { color: var(--accent); font-style: italic; }

.pivot-main { opacity: 0; }

.pivot-main .kicker { text-align: center; }

.pivot-main h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 470;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.pivot-main h2 em { color: var(--primary); font-style: italic; }

.pivot-main > p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--ink-muted);
  font-size: 16px;
}

.pivot-main .process-row { max-width: 860px; margin: 30px auto 0; text-align: left; }

/* ==========================================================================
   01 · why it happens — neuron stage
   ========================================================================== */

/* ---------- the film chapter: full-bleed, no frame ---------- */

.film-scene { background: #0f1d22; }

.film-pin { background: #0f1d22; }

.film-pin > video,
.film-pin > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-pin > img {
  opacity: 0;
  will-change: opacity, transform;
}

.film-pin > img[data-frame="0"] { opacity: 1; }

/* the generated film is the primary layer; when the host cannot serve range
   requests it stays hidden and the stills carry the sequence instead */
.film-video {
  opacity: 0;
  transition: opacity .4s ease;
  will-change: opacity;
}

.film-pin.has-film .film-video { opacity: 1; }
.film-pin.has-film > img[data-frame] { opacity: 0 !important; }

.film-grade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(11, 24, 28, .78) 0%, rgba(11, 24, 28, .3) 46%, rgba(11, 24, 28, 0) 72%),
    linear-gradient(rgba(11, 24, 28, .3) 0%, rgba(11, 24, 28, 0) 34%, rgba(11, 24, 28, .55) 100%);
}

/* the chapter bleeds out of the paper and back into it */
.film-edge {
  position: absolute;
  left: 0;
  right: 0;
  height: 12vh;
  pointer-events: none;
}

.film-edge-top { top: 0; background: linear-gradient(rgba(224, 233, 233, .5), transparent); }
.film-edge-bottom { bottom: 0; background: linear-gradient(transparent, rgba(224, 233, 233, .28)); }

.film-copy {
  position: relative;
  z-index: 3;
  height: 100%;
}

.film-step {
  position: absolute;
  top: 50%;
  width: min(100%, 40rem);
  margin: 0;
  color: rgba(238, 245, 244, .8);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.62;
  opacity: 0;
  transform: translateY(-50%);
  text-shadow: 0 2px 30px rgba(9, 20, 24, .55);
}

.film-step b {
  display: block;
  margin-bottom: 14px;
  color: #f8fbfa;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 470;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.film-step em { color: #e6bd9c; font-style: italic; }

/* alternate the side so the chapter reads as a composed page, not a caption bar */
.film-step:nth-child(even) { right: 0; text-align: right; margin-left: auto; }
.film-step:nth-child(even) b { text-wrap: balance; }

.film-meter {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 4vh, 48px);
  z-index: 4;
  width: min(100% - 40px, var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(238, 245, 244, .55);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.film-meter-track {
  flex: 1;
  height: 1px;
  background: rgba(238, 245, 244, .2);
  overflow: hidden;
}

.film-meter-track i {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(238, 245, 244, .85);
}

.measured-heading { margin-top: 0; }

.neuro-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-block: 80px 24px;
  overflow: visible;
}

.neuro-scene { margin-bottom: -6vh; }

.neuro-stage {
  position: relative;
  height: clamp(280px, 42vh, 400px);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(233, 239, 238, .95));
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 28px 62px rgba(52, 74, 80, .1), inset 0 1px 0 white;
}

.neuro-stage canvas { position: absolute; inset: 0; }

.neuro-label {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 22px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: 13px;
  backdrop-filter: blur(8px);
}

.neuro-label small { display: block; color: var(--ink-muted); font-size: 9px; }
.neuro-label strong { display: block; margin-top: 2px; font-size: 14px; }

.neuro-legend {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  color: var(--ink-muted);
  font-size: 9px;
}

.neuro-legend span { display: flex; align-items: center; gap: 6px; }
.neuro-legend i { width: 8px; height: 8px; border-radius: 50%; }
.dot-calm { background: var(--band-low); }
.dot-lost { background: #c3cdcd; }
.dot-hot { background: var(--accent); }

.neuro-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.neuro-step {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, .48);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .35s, background .35s, box-shadow .35s, border-color .35s;
}

.neuro-step > span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--primary);
  background: var(--atmosphere);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
}

.neuro-step h3 { margin: 3px 0 5px; font-size: 15px; }
.neuro-step p { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }

.neuro-step.active {
  transform: translateY(-5px);
  background: var(--surface-elevated);
  border-color: rgba(184, 137, 108, .4);
  box-shadow: 0 18px 38px rgba(52, 74, 80, .1);
}

.neuro-step.active > span { color: var(--on-primary); background: var(--primary); }

.figure-note {
  max-width: 62rem;
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.6;
}

/* ==========================================================================
   Real product captures
   The screenshots are fresh captures from the current Flutter build. Their
   framing belongs to the story page; the app UI inside remains untouched.
   ========================================================================== */

.app-proof {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin: 6px 0 72px;
  isolation: isolate;
}

.app-proof::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7%;
  top: 5%;
  width: 72%;
  height: 90%;
  background: radial-gradient(ellipse, rgba(135, 164, 158, .22), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.app-proof-reverse {
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.55fr);
  margin-top: 54px;
}

.app-proof-reverse::before {
  left: auto;
  right: -7%;
}

.app-proof-reverse .app-window { order: 2; transform: rotate(.55deg); }
.app-proof-reverse .app-proof-copy { order: 1; }

.app-proof-program {
  margin: 0 0 42px;
  padding: clamp(22px, 3vw, 38px);
  background: rgba(255, 255, 255, .38);
  border: 1px solid rgba(213, 222, 222, .86);
  border-radius: 34px;
}

.app-proof-program::before { left: 14%; width: 58%; }

.app-window {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 7px;
  overflow: hidden;
  background: linear-gradient(145deg, #3f575e, #263b41);
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 26px;
  box-shadow:
    0 36px 82px rgba(38, 58, 65, .2),
    0 7px 22px rgba(38, 58, 65, .12),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: rotate(-.55deg);
}

.app-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
  pointer-events: none;
}

.app-window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  height: auto;
  min-height: 34px;
  padding: 0 9px;
  color: rgba(246, 250, 249, .66);
  background: transparent;
  border-bottom: 0;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.app-window-bar > span { display: flex; width: auto; height: auto; gap: 5px; background: transparent; border-radius: 0; }
.app-window-bar > span i { width: 6px; height: 6px; background: rgba(247, 250, 248, .38); border-radius: 50%; }
.app-window-bar > span i:nth-child(2) { background: rgba(184, 137, 108, .72); }
.app-window-bar > span i:nth-child(3) { background: rgba(135, 164, 158, .8); }
.app-window-bar small { margin: 0; font: inherit; white-space: nowrap; }
.app-window-bar em { justify-self: end; font: inherit; font-weight: 600; color: rgba(246, 250, 249, .84); }

.app-window img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 18px;
}

/* Keep the product feature visible, excluding the earlier sidebar branding. */
.app-window img.app-screen-detail {
  height: auto;
  aspect-ratio: 17 / 12;
  object-position: right;
}

.app-proof-copy { position: relative; }

.app-proof-copy h3 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3.3vw, 47px);
  font-weight: 470;
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.app-proof-copy h3 em { color: var(--primary); font-style: italic; }

.app-proof-copy > p:not(.kicker) {
  margin: 15px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.68;
}

.app-proof-points {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.app-proof-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.app-proof-points li span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--primary);
  background: rgba(220, 231, 233, .72);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 8px;
}

.capture-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.capture-note i,
.lab-app-window figcaption i {
  width: 7px;
  height: 7px;
  background: var(--success);
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(83, 118, 100, .12);
}

.app-proof-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 22px 0 0;
}

.app-proof-readout div {
  padding: 12px 10px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.app-proof-readout dt { color: var(--ink-muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.app-proof-readout dd { margin: 3px 0 0; color: var(--primary); font-size: 12px; font-weight: 600; }

.program-trail {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
}

.program-trail i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), var(--primary), var(--border)); }

.evidence-disclosure {
  margin-top: 42px;
}

.evidence-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 96px;
  padding: 20px 24px;
  background: linear-gradient(145deg, rgba(57, 79, 86, .96), rgba(40, 62, 68, .98));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(37, 57, 63, .12);
  cursor: pointer;
  list-style: none;
}

.evidence-disclosure summary small,
.evidence-disclosure summary strong { display: block; }
.evidence-disclosure summary small { color: rgba(233, 241, 239, .58); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.evidence-disclosure summary strong { margin-top: 4px; color: #f6faf8; font-family: var(--serif); font-size: clamp(19px, 2.1vw, 27px); font-weight: 470; }
.evidence-disclosure summary em { color: #eff6f3; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.evidence-disclosure[open] summary { border-radius: 24px 24px 0 0; }
.evidence-disclosure[open] summary em { font-size: 0; }
.evidence-disclosure[open] summary em::after { content: "Hide evidence"; font-size: 9px; }
.evidence-disclosure .study-results { margin-top: 0; border-radius: 0 0 28px 28px; }

/* ==========================================================================
   02 · find it — 3AFC stage
   ========================================================================== */

.afc-stage,
.dfcrs-stage {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(233, 239, 238, .95));
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 28px 62px rgba(52, 74, 80, .1), inset 0 1px 0 white;
}

.afc-stage { height: clamp(320px, 52vh, 460px); }
.dfcrs-stage { height: clamp(300px, 46vh, 430px); margin-top: 18px; }

.afc-stage canvas, .dfcrs-stage canvas { position: absolute; inset: 0; }

.afc-status-pill {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  white-space: nowrap;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border);
  border-radius: 99px;
  box-shadow: 0 10px 26px rgba(52, 74, 80, .08);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
}

.afc-status-pill i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184, 137, 108, .16);
}

.mapping-steps .map-step { min-height: 0; }

/* ==========================================================================
   sound lab scene
   ========================================================================== */

.lab-scene { background: #1b2a2e; }

.lab-scene .media img {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(14px) saturate(.8);
}

.shade-lab {
  background:
    linear-gradient(90deg, rgba(20, 32, 36, .82) 0%, rgba(20, 32, 36, .3) 58%, rgba(20, 32, 36, 0) 100%),
    linear-gradient(rgba(20, 32, 36, .4), rgba(20, 32, 36, .12) 42%, rgba(20, 32, 36, .7));
}

.lab-copy,
.outcome-copy {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 12vh;
}

.lab-copy > * { max-width: 500px; }

.lab-app-window {
  position: absolute;
  z-index: 4;
  top: 15vh;
  right: max(20px, calc((100vw - var(--max)) / 2));
  width: min(52vw, 735px);
  margin: 0;
  padding: 7px;
  overflow: hidden;
  color: rgba(245, 249, 247, .75);
  background: linear-gradient(145deg, #40595f, #21353b);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 24px;
  box-shadow: 0 42px 100px rgba(7, 19, 23, .45), inset 0 1px 0 rgba(255, 255, 255, .22);
  opacity: 0;
  transform: translateX(42px) rotate(1deg) scale(.95);
  will-change: transform, opacity;
}

.lab-app-window img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
}

.lab-app-window figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 10px 6px;
  font-size: 10px;
  letter-spacing: .02em;
}

.lab-app-window figcaption i { flex: 0 0 auto; background: #a7c9b7; border-color: rgba(36, 55, 61, .8); box-shadow: 0 0 0 3px rgba(167, 201, 183, .12); }

.kicker.light { color: rgba(240, 246, 244, .78); }

.prompt-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  padding: 13px 14px;
  background: rgba(247, 250, 248, .1);
  border: 1px solid rgba(247, 250, 248, .35);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.prompt-shell .prompt-glyph { color: #e2b795; }

.prompt-line {
  flex: 1;
  margin: 0;
  min-height: 1.5em;
  color: #f4f8f6;
  font-size: 14px;
}

.prompt-shell button {
  padding: 7px 11px;
  color: var(--primary-deep);
  background: rgba(248, 251, 250, .92);
  border: 0;
  border-radius: 9px;
  font-size: 10px;
}

.caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  background: #f4f8f6;
  margin-left: 2px;
  vertical-align: -.15em;
  animation: storyBlink 1.05s steps(1) infinite;
}

@keyframes storyBlink { 50% { opacity: 0; } }

.lab-reveal { margin-top: 22px; opacity: 0; }

.lab-reveal h2 {
  margin: 0;
  max-width: 720px;
  color: #f8faf8;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 470;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-shadow: 0 2px 34px rgba(18, 30, 34, .55);
}

.lab-reveal h2 em { color: #cfe0da; font-style: italic; }

.lab-reveal p {
  max-width: 460px;
  margin: 14px 0 0;
  color: rgba(240, 246, 244, .8);
  font-size: 15px;
}

/* ==========================================================================
   outcome scene
   ========================================================================== */

/* ---------- access, plans and questions ---------- */

.access-section {
  padding-block: 112px;
  background: radial-gradient(circle at 72% 22%, rgba(220, 231, 233, .7), transparent 32rem), var(--page);
  border-bottom: 1px solid var(--border);
}

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 14px; }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 26px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(52, 74, 80, .07);
}

.plan-card-featured {
  color: #f5f8f6;
  background: linear-gradient(145deg, #607c82, #405e65);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 30px 70px rgba(52, 74, 80, .22);
  transform: translateY(-10px);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 6px 9px;
  color: #eff6f3;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 99px;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-card header span,
.plan-card header strong,
.plan-card header small { display: block; }
.plan-card header span { color: var(--primary); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.plan-card header strong { margin-top: 18px; font-family: var(--serif); font-size: 52px; font-weight: 470; line-height: .9; }
.plan-card header small { margin-top: 8px; color: var(--ink-muted); font-size: 11px; }
.plan-card-featured header span,
.plan-card-featured header small { color: rgba(245, 248, 246, .7); }
.plan-card > p:not(.plan-badge) { min-height: 48px; margin: 24px 0 0; color: var(--ink-muted); font-size: 13px; }
.plan-card-featured > p:not(.plan-badge) { color: rgba(245, 248, 246, .72); }
.plan-card ul { display: grid; gap: 10px; margin: 24px 0 30px; padding: 20px 0 0; border-top: 1px solid var(--border); list-style: none; }
.plan-card-featured ul { border-color: rgba(255, 255, 255, .16); }
.plan-card li { position: relative; padding-left: 19px; color: var(--ink-muted); font-size: 11px; }
.plan-card-featured li { color: rgba(245, 248, 246, .8); }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 600; }
.plan-card-featured li::before { color: #cfe0da; }
.plan-card .button { width: 100%; margin-top: auto; }
.plan-card-featured .button { color: var(--primary-deep); background: #f7faf8; }
.plan-note { margin: 24px auto 0; color: var(--ink-muted); font-size: 10px; text-align: center; }

.faq-section { padding-block: 112px; }
.faq-heading { max-width: 760px; margin-bottom: 38px; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; }
.faq-list details { background: rgba(255, 255, 255, .55); border: 1px solid var(--border); border-radius: 18px; }
.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 17px 19px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
}
.faq-list summary span { display: grid; width: 26px; height: 26px; place-items: center; color: var(--primary); background: var(--surface-muted); border-radius: 50%; font-family: var(--sans); font-size: 14px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 19px 20px; color: var(--ink-muted); font-size: 12px; line-height: 1.65; }

.outcome-scene { background: #1b2a2e; }
.outcome-scene .media img { opacity: 0; }

.shade-outcome {
  background: linear-gradient(rgba(20, 32, 36, .3), rgba(20, 32, 36, .1) 42%, rgba(18, 30, 34, .8));
}

.outcome-line {
  position: absolute;
  bottom: 14vh;
  left: 0;
  right: 0;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  color: #f8faf8;
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 470;
  line-height: 1.08;
  letter-spacing: -.03em;
  opacity: 0;
  text-shadow: 0 2px 40px rgba(18, 30, 34, .6);
}

.outcome-line em { color: #cfe0da; font-style: italic; }

.outcome-cta { opacity: 0; }

.outcome-cta h2 {
  margin: 6px 0 0;
  max-width: 900px;
  color: #f8faf8;
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 470;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-shadow: 0 2px 34px rgba(18, 30, 34, .55);
}

.outcome-cta h2 em { color: #cfe0da; font-style: italic; }

.outcome-cta .closing-actions { justify-content: flex-start; margin-top: 26px; }
.outcome-cta .closing-actions > a:not(.button) { color: rgba(248, 251, 250, .86); }

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .neuro-steps { grid-template-columns: repeat(2, 1fr); }
  .neuro-legend { display: none; }

  .app-proof,
  .app-proof-reverse { grid-template-columns: 1fr; gap: 28px; }
  .app-proof .app-window,
  .app-proof-reverse .app-window { order: 1; transform: none; }
  .app-proof .app-proof-copy,
  .app-proof-reverse .app-proof-copy { order: 2; max-width: 680px; }
}

/* below this the steps become one card that swaps as you scroll */
@media (max-width: 780px) {
  .neuro-steps {
    display: block;
    position: relative;
    min-height: 148px;
  }
  .neuro-step {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
  }
  .neuro-step.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 860px) {
  .caption, .outcome-line { bottom: 11vh; }
  .neuro-stage { height: 44vh; }
  .afc-stage { height: 40vh; }
  .dfcrs-stage { height: 38vh; }
  .evidence-figure { grid-template-columns: 1fr; }
  .pivot-main .process-row { grid-template-columns: 1fr 1fr; }
  .lab-reveal p { max-width: none; }
  .lab-app-window { top: 12vh; right: 20px; width: min(58vw, 610px); }
  .lab-copy > * { max-width: 42vw; }
}

@media (max-width: 620px) {
  .neuro-steps { grid-template-columns: 1fr; }
  .neuro-step { padding: 15px; }
  .prompt-shell button { display: none; }
  .app-proof { margin-bottom: 48px; }
  .app-proof-program { padding: 14px; border-radius: 24px; }
  .app-window { padding: 5px; border-radius: 18px; }
  .app-window-bar { min-height: 28px; font-size: 7px; }
  .app-window img { border-radius: 12px; }
  .app-proof-readout { grid-template-columns: 1fr; }
  .app-proof-readout div { display: flex; align-items: center; justify-content: space-between; }
  .program-trail { flex-wrap: wrap; }

  .lab-app-window {
    top: 11vh;
    right: 14px;
    width: calc(100% - 28px);
    border-radius: 18px;
  }
  .lab-app-window .app-window-bar { display: none; }
  .lab-app-window img { border-radius: 11px; }
  .lab-app-window figcaption { padding: 7px 7px 4px; font-size: 8px; }
  .lab-copy { padding-bottom: 7vh; }
  .lab-copy > * { max-width: none; }
  .lab-copy .prompt-shell { display: none; }
  .lab-reveal h2 { font-size: clamp(28px, 8.5vw, 40px); }
  .lab-reveal p { font-size: 13px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .film-rings i, .caret { animation: none; }
}

/* the cinematic stage on small screens */
@media (max-width: 780px) {
  .film-step { width: 100%; top: auto; bottom: 16vh; transform: none; }
  .film-step:nth-child(even) { text-align: left; }
  .film-step b { font-size: clamp(28px, 8vw, 40px); margin-bottom: 10px; }
  .film-grade {
    background: linear-gradient(rgba(11, 24, 28, .3) 0%, rgba(11, 24, 28, .1) 30%, rgba(11, 24, 28, .82) 100%);
  }
  .film-meter { font-size: 9px; gap: 10px; }
}

/* product-first responsive overrides load after the shared landing rules */
@media (max-width: 1040px) {
  .first-session-heading,
  .access-heading { grid-template-columns: 1fr; gap: 16px; }
  .first-session-heading > p,
  .access-heading > p { max-width: 720px; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-card:last-child { grid-column: 1 / -1; min-height: 390px; }
}

@media (max-width: 860px) {
  .first-session-grid { grid-template-columns: 1fr; }
  .first-session-steps { grid-template-columns: repeat(3, 1fr); }
  .first-session-steps li { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-actions > .story-header-cta {
    display: inline-flex;
    min-height: 36px;
    padding-inline: 11px;
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 92px;
    padding-bottom: 72px;
    text-align: left;
  }

  .hero-copy { grid-row: 1; margin-top: 0; }
  .hero-film { grid-row: 2; width: min(88vw, 390px); margin-top: 28px; }
  .hero .eyebrow { justify-content: flex-start; }
  .hero h1 { margin-block: 17px 16px; font-size: clamp(43px, 11.8vw, 55px); line-height: .96; }
  .hero-lede { margin-bottom: 20px; font-size: 15px; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .button { width: auto; }
  .hero .trust-list { justify-content: flex-start; margin-top: 20px; }
  .hero-microcopy { max-width: 340px; }
  .hero-safety { max-width: 340px; line-height: 1.5; }
  .hero .scroll-cue { display: none; }
  .first-session { padding-block: 72px 82px; }
  .first-session-heading { margin-bottom: 28px; }
  .first-session-heading h2,
  .access-heading h2,
  .faq-heading h2 { font-size: clamp(38px, 10.5vw, 49px); }
  .first-session-steps { grid-template-columns: 1fr; }
  .first-session-steps li { grid-template-columns: 42px 1fr; padding: 15px; }
  .first-session-window figcaption { overflow-x: auto; }

  .deep-dive { margin-bottom: 68px; }
  .deep-dive > summary { grid-template-columns: auto 1fr; gap: 12px; min-height: 104px; }
  .deep-dive summary em { display: none; }
  .deep-dive-icon { width: 40px; height: 40px; }
  .deep-dive summary strong { font-size: 18px; }

  .evidence-disclosure > summary { align-items: flex-start; padding: 17px; }
  .evidence-disclosure summary em { display: none; }

  .access-section,
  .faq-section { padding-block: 78px; }
  .access-heading { margin-bottom: 30px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card,
  .plan-card:last-child { grid-column: auto; min-height: auto; padding: 22px; }
  .plan-card-featured { transform: none; }
  .plan-card header strong { font-size: 46px; }
  .plan-card > p:not(.plan-badge) { min-height: 0; }
  .plan-card .button { margin-top: 4px; }

  .faq-heading { margin-bottom: 28px; }
  .faq-list summary { min-height: 66px; padding: 15px 16px; font-size: 17px; }
  .faq-list details p { padding: 0 16px 18px; }
}

@media (max-width: 460px) {
  .site-header .brand-name { font-size: 13px; }
  .header-actions { gap: 2px; }
  .header-actions > .story-header-cta { display: inline-flex; }
  .story-header-cta span { display: none; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero .trust-list { display: grid; gap: 6px; }
}
