:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --site-home-background:
    radial-gradient(circle at 20% 2%, rgba(227, 159, 246, 0.16), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fff 45%, #fbf8fa 100%);
  --text: #171217;
  --muted: #5f5660;
  --accent: #4d0f28;
  --accent-dark: #2c051a;
  --accent-mid: #66042d;
  --soft: #f8f3f6;
  --soft-strong: #f1e6ed;
  --border: #eadde4;
  --heart: #c9162f;
  --data-blue: #315b7d;
  --shadow: 0 24px 70px rgba(44, 5, 26, 0.1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-home-background);
  color: var(--text);
}

button,
a,
summary { -webkit-tap-highlight-color: transparent; }

button,
summary { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  background: var(--accent-dark);
  color: #fff;
}

.skip-link:focus {
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip-path: none;
}

.talk { width: 100%; }

.scene {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: clamp(5rem, 11vh, 8rem) var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.scene::after {
  position: absolute;
  z-index: 0;
  width: min(42vw, 36rem);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 50%;
  content: "";
  right: -20vw;
  bottom: -24vw;
  animation: ambient-breathe 9s ease-in-out infinite;
  pointer-events: none;
}

.scene__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 78rem);
  min-width: 0;
  margin: 0 auto;
}

.scene__inner--narrow { width: min(100%, 66rem); }
.scene__inner--wide { width: min(100%, 84rem); }

.motion-ready .scene__inner {
  opacity: 1;
  transition: opacity 720ms ease, filter 720ms ease;
}

.motion-ready .scene.is-past .scene__inner {
  opacity: .42;
  filter: saturate(.7);
}

.eyebrow {
  margin: 0 0 clamp(1rem, 2.5vh, 1.75rem);
  color: var(--accent-mid);
  font-size: clamp(0.75rem, 1.1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote { text-wrap: pretty; }

h1,
h2 {
  margin: 0;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.84;
}

h2 {
  max-width: 12ch;
  font-size: clamp(3.25rem, 7.6vw, 7.5rem);
  line-height: 0.96;
}

.heart {
  display: inline-block;
  color: var(--heart);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82em;
  font-weight: 400;
  animation: heart-breathe 4.8s ease-in-out infinite;
}

.byline,
.standfirst {
  max-width: 42rem;
  margin: clamp(1.75rem, 4vh, 3rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.5;
}

.byline {
  color: var(--accent-mid);
  font-weight: 750;
}

.scene-number {
  position: absolute;
  top: var(--gutter);
  right: var(--gutter);
  margin: 0;
  color: color-mix(in srgb, var(--accent) 22%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-variant-numeric: tabular-nums;
}

.scene--title::before {
  position: absolute;
  z-index: 0;
  right: -15vw;
  bottom: -28vw;
  width: min(56vw, 48rem);
  aspect-ratio: 1;
  border: clamp(1rem, 3vw, 2.5rem) solid color-mix(in srgb, var(--accent) 9%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

.proof-points span,
.status-pill {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 99rem;
  color: var(--accent-mid);
  background: rgba(255,255,255,.62);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.scene--current {
  background:
    linear-gradient(135deg, rgba(49, 91, 125, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.86);
}

.scene--manifesto,
.scene--quote,
.scene--institutions {
  background:
    radial-gradient(circle at 82% 20%, rgba(201, 22, 47, 0.2), transparent 28%),
    var(--accent-dark);
}

.scene--manifesto::after,
.scene--quote::after,
.scene--institutions::after { border-color: rgba(255, 255, 255, 0.09); }

.scene--manifesto .eyebrow,
.scene--manifesto h2,
.scene--quote .eyebrow,
.scene--quote blockquote,
.scene--institutions .eyebrow,
.scene--institutions h2 { color: #fff; }

.scene--manifesto .scene-number,
.scene--quote .scene-number,
.scene--institutions .scene-number { color: rgba(255, 255, 255, 0.24); }

.scene--scale {
  background:
    linear-gradient(120deg, transparent 40%, rgba(49, 91, 125, 0.1)),
    #fff;
}

.scale-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: 48rem;
  margin-top: clamp(2.5rem, 7vh, 5rem);
  color: var(--accent-mid);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 850;
}

.scale-line i {
  position: relative;
  height: 1px;
  background: var(--border);
}

.scale-line i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--heart);
  content: "";
  transform: translate(-50%, -50%);
  animation: travel-scale 6s ease-in-out infinite;
}

.scene--quote blockquote {
  max-width: 15ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.7vw, 7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

#correct-useless-quote span { color: #f5b6c3; }

.scene--cost {
  background:
    radial-gradient(circle at 15% 18%, rgba(227, 159, 246, 0.14), transparent 28%),
    #fff;
}

.counter-line,
.memory-correction {
  max-width: 32ch;
  margin: clamp(1.75rem, 5vh, 3.5rem) 0 0;
  color: var(--heart);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.institution-map {
  position: relative;
  width: min(100%, 58rem);
  height: clamp(19rem, 38vh, 28rem);
  margin-top: clamp(1.8rem, 4vh, 3rem);
}

.institution-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.institution-map__lines line {
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 700ms ease, stroke-dashoffset 1.2s ease;
  stroke-dasharray: 4 3;
  stroke-dashoffset: 18;
}

.institution-node,
.institution-centre {
  position: absolute;
  display: grid;
  min-width: 6.5rem;
  min-height: 2.3rem;
  padding: 0.5rem 0.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(0.66rem, 1vw, 0.84rem);
  font-weight: 760;
  letter-spacing: 0.035em;
  transform: translate(-50%, -50%);
  transition: left 950ms cubic-bezier(.2,.78,.2,1), top 950ms cubic-bezier(.2,.78,.2,1), opacity 500ms ease, background 500ms ease;
  animation: node-drift 5s ease-in-out infinite alternate;
}

.institution-node--one { --x: 8%; --y: 21%; --cx: 18%; --cy: 18%; left: var(--x); top: var(--y); animation-delay: -.4s; }
.institution-node--two { --x: 61%; --y: 8%; --cx: 50%; --cy: 12%; left: var(--x); top: var(--y); animation-delay: -2.2s; }
.institution-node--three { --x: 87%; --y: 31%; --cx: 82%; --cy: 20%; left: var(--x); top: var(--y); animation-delay: -1s; }
.institution-node--four { --x: 13%; --y: 62%; --cx: 18%; --cy: 50%; left: var(--x); top: var(--y); animation-delay: -3.1s; }
.institution-node--five { --x: 89%; --y: 62%; --cx: 82%; --cy: 50%; left: var(--x); top: var(--y); animation-delay: -.8s; }
.institution-node--six { --x: 27%; --y: 87%; --cx: 18%; --cy: 82%; left: var(--x); top: var(--y); animation-delay: -1.8s; }
.institution-node--seven { --x: 58%; --y: 82%; --cx: 50%; --cy: 88%; left: var(--x); top: var(--y); animation-delay: -2.6s; }
.institution-node--eight { --x: 79%; --y: 91%; --cx: 82%; --cy: 80%; left: var(--x); top: var(--y); animation-delay: -3.6s; }

.institution-centre {
  left: 50%;
  top: 50%;
  width: 6rem;
  min-width: 6rem;
  height: 6rem;
  border-color: rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: var(--heart);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.05;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.7);
  animation: none;
}

.institution-map.is-connected .institution-node {
  left: var(--cx);
  top: var(--cy);
  background: rgba(255, 255, 255, 0.13);
  animation: none;
}

.institution-map.is-connected .institution-map__lines line {
  opacity: 1;
  stroke-dashoffset: 0;
}

.institution-map.is-connected .institution-centre {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 650ms 350ms ease, transform 650ms 350ms cubic-bezier(.2,.8,.2,1);
}

.connect-button {
  position: absolute;
  right: 0;
  top: -3.25rem;
  min-height: 2.8rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.connect-button:hover,
.connect-button:focus-visible {
  background: #fff;
  color: var(--accent-dark);
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.scene--story {
  background:
    radial-gradient(circle at 78% 35%, rgba(227, 159, 246, 0.15), transparent 30%),
    var(--soft);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, .9fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.institution-map--compact {
  width: 100%;
  height: min(55vh, 34rem);
  margin: 0;
}

.institution-map--compact .institution-node {
  min-width: 5.5rem;
  border-color: rgba(77, 15, 40, 0.2);
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-dark);
}

.institution-map--compact .institution-map__lines line { stroke: rgba(77, 15, 40, 0.32); }

.scene--memory {
  background:
    radial-gradient(circle at 18% 20%, rgba(49, 91, 125, 0.16), transparent 34%),
    linear-gradient(145deg, #fff, var(--soft));
}

.memory-correction { max-width: none; }

.future-quote {
  max-width: 38rem;
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
}

/* Expandable detail */
.breathing-detail { position: absolute; right: 1.5rem; bottom: 6.25rem; z-index: 100; }
.breathing-detail summary {
  position: relative;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(77, 15, 40, .26), 0 12px 30px rgba(44, 5, 26, .2);
  color: #fff;
  cursor: pointer;
  list-style: none;
  animation: dot-breathe 3.2s ease-in-out infinite;
}

.breathing-detail summary::-webkit-details-marker { display: none; }
.breathing-detail summary::after { content: "+"; font-size: 1.35rem; font-weight: 350; line-height: 1; }
.breathing-detail summary span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.breathing-detail--light summary { background: #fff; color: var(--accent-dark); box-shadow: 0 0 0 0 rgba(255,255,255,.28), 0 12px 30px rgba(0,0,0,.2); }

.breathing-detail summary:hover,
.breathing-detail summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--heart) 55%, white); outline-offset: 4px; }

.breathing-detail[open] > summary {
  position: fixed;
  z-index: 110;
  top: 1rem;
  right: 1rem;
  bottom: auto;
  background: var(--accent-dark);
  color: #fff;
  animation: none;
}

.breathing-detail[open] > summary::after { content: "×"; }
.scene:has(.breathing-detail[open]) { z-index: 200; overflow-x: clip; overflow-y: visible; }
.scene:has(.breathing-detail[open]) .scene__inner { z-index: 40; }
.foundation-stage:has(.foundation-modal[open]) { z-index: 210; }
.foundation-stage:has(.foundation-modal[open]) .foundation-modal:not([open]) > summary {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.detail-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
  overflow: auto;
  background: rgba(23, 18, 23, 0.68);
  animation: layer-in 220ms ease both;
}

.detail-card {
  width: min(100%, 43rem);
  min-width: 0;
  max-height: calc(100svh - 2rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
}

.detail-card h3 {
  max-width: 18ch;
  margin: 0 0 1.5rem;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.detail-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}

.detail-card .detail-kicker {
  margin-bottom: 1rem;
  color: var(--accent-mid);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.detail-card .detail-source { font-size: .82rem; font-style: italic; }

.detail-link {
  display: inline-block;
  max-width: 100%;
  margin-top: .5rem;
  color: var(--accent-mid);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-underline-offset: .22em;
}

/* Navigation furniture */
.reading-rail,
.presenter-tools,
.join-card,
.keyboard-hint,
.top-progress,
.connection-status { display: none; }

@media (min-width: 56rem) {
  html { scroll-snap-type: y mandatory; }
  .scene { scroll-snap-align: start; scroll-snap-stop: always; }

  .presenter-tools {
    position: fixed;
    z-index: 30;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border: 1px solid rgba(234, 221, 228, 0.84);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .presenter-tools__label {
    min-width: 3.25rem;
    margin: 0 0 0 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
  }

  .presenter-tools__buttons { display: flex; gap: 0.25rem; }
  .presenter-tools button {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.5rem;
    background: var(--soft);
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
  }

  .presenter-tools button:hover,
  .presenter-tools button:focus-visible { background: var(--soft-strong); outline: 2px solid var(--accent); outline-offset: 2px; }
  .presenter-tools button:disabled { cursor: default; opacity: .35; }

  .join-card {
    position: absolute;
    z-index: 30;
    right: clamp(1.5rem,4vw,4rem);
    top: clamp(1.5rem,4vw,4rem);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 28rem;
    padding: 1rem 1.25rem 1rem 1rem;
    border: 1px solid rgba(234, 221, 228, 0.84);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .join-card__qr {
    display: grid;
    width: 9rem;
    height: 9rem;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border-radius: 0.3rem;
    background: #fff;
  }

  .join-card__qr img,
  .join-card__qr table { width: 100%; height: 100%; }
  .join-card__label,
  .join-card__url { margin: 0; }
  .join-card__label { color: var(--accent-dark); font-size: 1rem; font-weight: 850; letter-spacing: 0.03em; }
  .join-card__url { max-width: 14rem; margin-top: 0.35rem; overflow: hidden; color: var(--muted); font-size: 0.75rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

  .keyboard-hint { position: fixed; z-index: 29; bottom: 1.55rem; left: 1.5rem; display: block; margin: 0; color: var(--muted); font-size: 0.72rem; font-weight: 650; }
  .top-progress { position: fixed; z-index: 40; top: 0; left: 0; display: block; width: 100%; height: 0.24rem; background: rgba(234, 221, 228, 0.45); }
  .top-progress span { display: block; width: 10%; height: 100%; background: var(--heart); transform-origin: left center; transition: width 180ms ease; }
  .connection-status:not(:empty) { position: fixed; z-index: 50; right: 1.25rem; bottom: 5.4rem; display: block; margin: 0; padding: 0.5rem 0.7rem; border-radius: 0.45rem; background: var(--accent-dark); color: #fff; font-size: 0.72rem; font-weight: 750; }
}

@media (max-width: 55.999rem) {
  :root { --gutter: 1.25rem; }
  .scene {
    min-height: 86svh;
    padding: clamp(5rem, 13vh, 7rem) 1.25rem clamp(5rem, 13vh, 7rem) 3.2rem;
  }
  .scene--title { min-height: 96svh; }
  .scene__inner { width: 100%; }
  h1 { font-size: clamp(3.7rem, 16.4vw, 6.7rem); }
  h2 { font-size: clamp(2.8rem, 12.2vw, 5rem); }
  .scene--quote blockquote { font-size: clamp(2.55rem, 11vw, 4.8rem); }
  .scene-number { top: 1.25rem; right: 1.25rem; }
  .standfirst { font-size: 1.08rem; }
  .breathing-detail { right: 1.15rem; bottom: 1.15rem; }
  .proof-points { display: grid; justify-items: start; }
  .scale-line { margin-right: 1rem; }

  .reading-rail {
    position: fixed;
    z-index: 28;
    top: 50%;
    left: .45rem;
    display: block;
    width: 1rem;
    height: 58vh;
    transform: translateY(-50%);
  }
  .reading-rail__track { position: absolute; top: 0; bottom: 0; left: .28rem; width: 1px; background: rgba(77, 15, 40, .18); }
  .reading-rail__track span { display: block; width: 1px; height: 0; background: var(--heart); transition: height 100ms linear; }
  .reading-rail ol { position: relative; display: block; height: 100%; margin: 0; padding: 0; list-style: none; }
  .reading-rail li { position: absolute; top: 0; left: 0; transform: translateY(-50%); }
  .reading-rail li:first-child { top: 9%; }
  .reading-rail li:nth-child(2) { top: 46%; }
  .reading-rail li:nth-child(3) { top: 72%; }
  .reading-rail li:last-child { top: 90%; }
  .reading-rail a { position: relative; display: block; width: 1rem; height: 1rem; color: var(--muted); }
  .reading-rail a::before { position: absolute; top: .27rem; left: .08rem; width: 5px; height: 5px; border: 1px solid var(--border); border-radius: 50%; background: #fff; content: ""; transition: transform 180ms ease, background 180ms ease; }
  .reading-rail a[aria-current="location"]::before { border-color: var(--heart); background: var(--heart); transform: scale(1.45); }
  .reading-rail a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  .institution-map { height: 24rem; margin-top: 2rem; }
  .institution-node { min-width: 4.8rem; min-height: 2rem; padding: .4rem .55rem; font-size: .58rem; }
  .institution-centre { width: 5rem; min-width: 5rem; height: 5rem; font-size: .82rem; }
  .connect-button { top: auto; right: auto; bottom: -1rem; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .story-layout { display: block; }
  .institution-map--compact { height: 24rem; margin-top: 2.5rem; }
  .detail-layer { align-items: end; padding: .75rem; }
  .detail-card { width: 100%; max-height: calc(100svh - 4.5rem); padding: 1.4rem 1.25rem 1.75rem; border-radius: 1rem; }
  .detail-card h3 { font-size: clamp(2rem, 9vw, 3rem); }
  .future-quote { margin-right: 1rem; }
}

@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 15, 40, .25), 0 12px 30px rgba(44, 5, 26, .2); }
  50% { box-shadow: 0 0 0 .72rem rgba(77, 15, 40, 0), 0 16px 34px rgba(44, 5, 26, .24); }
}

@keyframes ambient-breathe { 0%, 100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes heart-breathe { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.05); } }
@keyframes travel-scale { 0%, 10% { left: 0; } 85%, 100% { left: 100%; } }
@keyframes node-drift { from { transform: translate(-50%, -50%) translateY(-.28rem); } to { transform: translate(-50%, -50%) translateY(.28rem); } }
@keyframes layer-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .motion-ready .scene__inner { opacity: 1; transform: none; }
}

@media print {
  .presenter-tools,
  .join-card,
  .keyboard-hint,
  .top-progress,
  .reading-rail,
  .connection-status,
  .breathing-detail { display: none !important; }
  .scene { min-height: 100vh; break-after: page; }
  .motion-ready .scene__inner { opacity: 1; transform: none; }
}

/* Chapter rhythm — contrast rather than a stack of cards */
.scene::after { display: none; }
.scene h2 { max-width: none; }
.scene em { font-weight: inherit; }

.scene--title {
  background:
    radial-gradient(circle at 74% 24%, rgba(201, 22, 47, .08), transparent 25%),
    var(--site-home-background);
}
.scene--title::before {
  right: -8vw;
  bottom: -44vw;
  width: min(72vw, 58rem);
  border-width: clamp(1.4rem, 4vw, 3.5rem);
  transform: rotate(-9deg);
}
.title-lockup { margin-left: max(3vw, 1rem); }

.scene--section {
  min-height: 100svh;
  isolation: isolate;
}
.scene--section-about { background: #f5ead6; }
.scene--section-motivation {
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(201,22,47,.48), transparent 34%),
    var(--accent-dark);
}
.section-number {
  position: absolute;
  z-index: 0;
  right: -2vw;
  bottom: -12vh;
  color: rgba(77,15,40,.08);
  font: 900 clamp(18rem, 42vw, 42rem)/.72 Georgia, "Times New Roman", serif;
  letter-spacing: -.12em;
  pointer-events: none;
}
.scene--section-motivation .section-number { color: rgba(255,255,255,.07); }
.section-lockup { width: min(100%, 74rem); }
.section-lockup > p {
  margin: 0 0 clamp(1rem, 2.5vh, 1.75rem);
  color: var(--accent-mid);
  font-size: clamp(.72rem, 1.1vw, 1rem);
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-lockup h2 {
  font-size: clamp(6rem, 15vw, 15rem);
  line-height: .78;
}
.scene--section-motivation .section-lockup > p { color: #f5b6c3; }
.scene--section-motivation .section-lockup h2 { color: #fff; }

.scene--eyes {
  color: #fff;
  background:
    radial-gradient(circle at 80% 28%, rgba(245,182,195,.16), transparent 27%),
    linear-gradient(125deg, var(--data-blue), var(--accent-dark));
}
.eyes-lockup { width: min(100%, 82rem); }
.eyes-lockup > p {
  margin: 0 0 clamp(1rem, 3vh, 2rem);
  color: rgba(255,255,255,.58);
  font: italic clamp(1.2rem, 2.4vw, 2.3rem)/1 Georgia, serif;
}
.scene--eyes h2 {
  color: #fff;
  font-size: clamp(3.6rem, 7.4vw, 7.4rem);
  line-height: .88;
}
.scene--eyes h2 em { color: #f5b6c3; }
.glasses-mark {
  position: absolute;
  z-index: 0;
  top: 18%;
  right: 7%;
  display: flex;
  gap: clamp(.8rem, 1.5vw, 1.4rem);
  opacity: .22;
  transform: rotate(-4deg);
  animation: ambient-breathe 6s ease-in-out infinite;
}
.glasses-mark::before {
  position: absolute;
  top: 43%;
  left: 50%;
  width: clamp(1rem, 2vw, 1.8rem);
  height: 1px;
  background: #fff;
  content: "";
  transform: translateX(-50%);
}
.glasses-mark i {
  position: relative;
  display: block;
  width: clamp(4.5rem, 8vw, 7.5rem);
  aspect-ratio: 1.55;
  border: 2px solid #fff;
  border-radius: 46% 46% 54% 54% / 38% 38% 62% 62%;
  box-shadow: inset 0 0 0 .55rem rgba(255,255,255,.025);
}
.glasses-mark i:first-child::before,
.glasses-mark i:last-child::after {
  position: absolute;
  top: 8%;
  width: clamp(2rem, 4vw, 4rem);
  height: 1px;
  background: #fff;
  content: "";
}
.glasses-mark i:first-child::before { right: 98%; transform: rotate(-12deg); transform-origin: right; }
.glasses-mark i:last-child::after { left: 98%; transform: rotate(12deg); transform-origin: left; }

.scene--inside {
  color: #fff;
  background: var(--data-blue);
}
.inside-layout {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: clamp(1rem, 5vw, 6rem);
  align-items: end;
}
.ten-years {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .72;
  transform: rotate(-6deg);
}
.ten-years span {
  display: block;
  color: rgba(255, 255, 255, .95);
  font-size: clamp(9rem, 22vw, 22rem);
  letter-spacing: -.1em;
}
.ten-years small {
  display: block;
  margin: .4rem 0 0 1rem;
  color: rgba(255, 255, 255, .65);
  font: 800 clamp(.75rem, 1.3vw, 1.05rem)/1 Inter, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scene--inside h2 {
  padding-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(4.5rem, 10vw, 10rem);
  line-height: .82;
}

.scene--outside {
  color: #fff;
  background:
    linear-gradient(125deg, rgba(201,22,47,.2), transparent 40%),
    var(--accent-dark);
}
.outside-layout { margin-left: min(19vw, 15rem); }
.side-label {
  margin: 0 0 .75rem -3rem;
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}
.scene--outside h2 {
  color: #fff;
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: .76;
}
.outside-turn {
  margin: clamp(2rem, 5vh, 4rem) 0 0 clamp(2rem, 12vw, 10rem);
  color: rgba(255,255,255,.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3.4vw, 3.6rem);
  line-height: 1.05;
}
.outside-turn em { color: #fff; }
.outside-link {
  display: inline-grid;
  width: clamp(3rem, 5vw, 4.5rem);
  aspect-ratio: 1;
  margin: clamp(1.5rem, 4vh, 3rem) 0 0 58%;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}
.outside-link span {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1;
  animation: arrow-pulse 2.8s ease-in-out infinite;
}
.outside-link:hover,
.outside-link:focus-visible {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  outline: none;
}

.scene--thread { background: #fff; }
.thread-copy { width: min(100%, 68rem); }
.thread-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font: italic clamp(1.4rem, 3vw, 3rem)/1.1 Georgia, serif;
}
.scene--thread h2 {
  font-size: clamp(4.4rem, 10vw, 10rem);
  line-height: .86;
}
.drift-words span {
  position: absolute;
  z-index: 0;
  color: color-mix(in srgb, var(--accent) 18%, transparent);
  font: 750 clamp(.7rem, 1.3vw, 1.05rem)/1 Inter, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  animation: word-drift 8s ease-in-out infinite alternate;
}
.drift-words span:nth-child(1) { top: 18%; left: 12%; }
.drift-words span:nth-child(2) { top: 24%; right: 15%; animation-delay: -2s; }
.drift-words span:nth-child(3) { top: 68%; left: 18%; animation-delay: -4s; }
.drift-words span:nth-child(4) { bottom: 14%; right: 21%; animation-delay: -1s; }
.drift-words span:nth-child(5) { top: 11%; left: 48%; animation-delay: -5s; }
.drift-words span:nth-child(6) { top: 56%; right: 8%; animation-delay: -3s; }

.scene--reality {
  background:
    linear-gradient(100deg, rgba(49,91,125,.94), rgba(44,5,26,.96)),
    var(--accent-dark);
}
.reality-lockup { width: min(100%, 84rem); }
.reality-word {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255,255,255,.045);
  font-size: clamp(8rem, 24vw, 24rem);
  font-weight: 950;
  letter-spacing: -.09em;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.scene--reality h2 {
  position: relative;
  color: #fff;
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: .8;
}
.scene--reality h2 em { color: #f5b6c3; }

.scene--scale-play { background: #f5ead6; }
.scale-play {
  display: grid;
  grid-template-columns: auto minmax(8rem, 1fr) auto;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
}
.scale-small span,
.scale-large span {
  color: var(--accent-mid);
  font-size: clamp(.75rem, 1.3vw, 1rem);
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scale-small p {
  margin: .65rem 0 0;
  font: italic clamp(2rem, 4vw, 4.5rem)/1 Georgia, serif;
}
.scale-large { text-align: right; }
.scene--scale-play h2 {
  color: var(--heart);
  font-size: clamp(3.6rem, 7.2vw, 7rem);
  line-height: .86;
  transform: rotate(2deg);
}
.scene--scale-play h2.scale-problem {
  color: var(--accent-dark);
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: .82;
  transform: none;
}
.scale-problem em { color: var(--heart); }
.scale-arrow { position: relative; height: 1px; background: rgba(77,15,40,.22); }
.scale-arrow i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--heart);
  transform: translate(-50%, -50%);
  animation: travel-scale 5s ease-in-out infinite;
}

.scene--guessing {
  color: #fff;
  background:
    radial-gradient(circle at 80% 24%, rgba(201,22,47,.23), transparent 28%),
    var(--accent-dark);
}
.guessing-lockup { width: min(100%, 78rem); }
.guessing-small {
  width: min(100%, 36rem);
  margin: 0 0 clamp(1rem, 3vh, 2rem);
  color: rgba(255,255,255,.56);
  font: italic clamp(1.1rem, 2vw, 1.8rem)/1.35 Georgia, serif;
}
.scene--guessing h2 {
  color: #fff;
  font-size: clamp(4.6rem, 10.2vw, 10rem);
  line-height: .83;
}
.scene--guessing h2 span {
  position: relative;
  display: inline-block;
  color: #f5b6c3;
  transform: rotate(-2deg);
}
.scene--guessing h2 span::after {
  position: absolute;
  right: -.1em;
  bottom: -.08em;
  left: -.1em;
  height: .08em;
  border-radius: 100%;
  background: var(--heart);
  content: "";
  transform: rotate(-1.5deg);
}

.scene--cost-play { background: #fff; }
.cost-play { width: min(100%, 78rem); }
.cost-first {
  margin: 0 0 clamp(2rem, 6vh, 5rem);
  color: var(--muted);
  font: italic clamp(1.6rem, 3.2vw, 3rem)/1.1 Georgia, serif;
  transform: translateX(8vw);
}
.scene--cost-play h2 {
  color: var(--accent-dark);
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: .78;
}
.scene--cost-play h2 em { color: var(--heart); }
.brand-subtext {
  width: min(100%, 46rem);
  margin: clamp(2rem, 6vh, 5rem) 0 0 auto;
  color: var(--muted);
  font: italic clamp(1.45rem, 2.7vw, 2.7rem)/1.16 Georgia, serif;
}
.brand-subtext strong { color: var(--accent-dark); font-weight: 700; }

.scene--government-punch {
  color: #fff;
  background: var(--heart);
}
.government-punch > p {
  margin: 0 0 .5rem;
  color: rgba(255,255,255,.75);
  font: italic clamp(1.4rem, 3vw, 3rem)/1 Georgia, serif;
}
.scene--government-punch h2 {
  color: #fff;
  font-size: clamp(6rem, 17vw, 17rem);
  line-height: .72;
  letter-spacing: -.07em;
}
.government-punch > span {
  position: absolute;
  right: 4%;
  bottom: -10%;
  color: rgba(255,255,255,.12);
  font-size: clamp(14rem, 35vw, 36rem);
  transform: rotate(12deg);
}

.scene--puzzle {
  min-height: 112svh;
  align-content: start;
  color: #fff;
  background: #171217;
}
.puzzle-intro { width: min(100%, 82rem); margin-top: 1vh; }
.puzzle-kicker {
  margin: 0;
  color: rgba(255,255,255,.55);
  font: italic clamp(1.2rem, 2.5vw, 2.3rem)/1 Georgia, serif;
}
.scene--puzzle h2 {
  margin-top: .35rem;
  color: #fff;
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  line-height: .88;
}
.puzzle-workspace {
  --puzzle-bg: #171217;
  --piece-width: clamp(4.8rem, 7.2vw, 6.8rem);
  --piece-height: clamp(3.75rem, 5.6vw, 5.3rem);
  position: relative;
  z-index: 2;
  width: min(100%, 82rem);
  height: clamp(35rem, 64vh, 46rem);
  margin: clamp(1rem, 3vh, 2rem) auto 0;
  touch-action: pan-y;
  user-select: none;
}
.puzzle-board {
  position: absolute;
  top: 47%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, var(--piece-width));
  grid-template-rows: repeat(4, var(--piece-height));
  width: calc(4 * var(--piece-width));
  height: calc(4 * var(--piece-height));
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.018);
  box-shadow: inset 0 0 3rem rgba(0,0,0,.25), 0 1.5rem 4rem rgba(0,0,0,.16);
  transform: translate(-50%, -50%);
}
.puzzle-slot,
.puzzle-hole {
  position: relative;
  width: var(--piece-width);
  height: var(--piece-height);
  overflow: visible;
}
.puzzle-slot svg,
.puzzle-hole svg,
.puzzle-piece svg {
  position: absolute;
  top: -20%;
  left: -16%;
  width: 132%;
  height: 140%;
  overflow: visible;
  pointer-events: none;
}
.puzzle-slot path,
.puzzle-hole path {
  fill: rgba(255,255,255,.012);
  stroke: rgba(255,255,255,.07);
  stroke-dasharray: 2 3;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.puzzle-hole b {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245,182,195,0);
  font: italic 2.4rem/1 Georgia, serif;
  opacity: 0;
  transform: scale(.7);
  transition: color 500ms ease, opacity 500ms ease, transform 500ms ease;
}
.puzzle-workspace.is-complete .puzzle-hole b {
  color: rgba(245,182,195,.72);
  opacity: 1;
  transform: scale(1);
}
.puzzle-workspace.is-complete .puzzle-hole path {
  fill: rgba(245,182,195,.035);
  stroke: rgba(245,182,195,.36);
}
.puzzle-piece {
  --piece: #66042d;
  position: absolute;
  z-index: 4;
  width: var(--piece-width);
  height: var(--piece-height);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: grab;
  transform: translate(-50%, -50%) rotate(var(--tilt, -2deg));
  transition: filter 180ms ease, left 260ms ease, top 260ms ease, transform 180ms ease;
  touch-action: none;
}
.puzzle-piece:not(.has-shape) {
  border-radius: .7rem;
  background: var(--piece);
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
}
.puzzle-piece path {
  fill: var(--piece);
  stroke: rgba(255,255,255,.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 12px 10px rgba(0,0,0,.3));
}
.puzzle-piece span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: .3rem;
  font-size: clamp(.48rem, .78vw, .68rem);
  font-weight: 820;
  letter-spacing: .025em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.puzzle-piece:hover,
.puzzle-piece:focus-visible { z-index: 10; filter: brightness(1.16); }
.puzzle-piece.is-keyboard-focus:focus { outline: 2px solid #fff; outline-offset: 6px; }
.puzzle-piece.is-dragging { z-index: 20; cursor: grabbing; filter: brightness(1.08); transform: translate(-50%, -50%) rotate(1deg) scale(1.07); transition: none; }
.puzzle-piece.is-placed { --tilt: 0deg; }
.puzzle-piece.is-placed path { filter: drop-shadow(0 3px 3px rgba(0,0,0,.2)); }
.piece-a { --piece: #8c1640; --tilt: -7deg; }
.piece-b { --piece: #315b7d; --tilt: 4deg; }
.piece-c { --piece: #934f6c; --tilt: -3deg; }
.piece-d { --piece: #4d0f28; --tilt: 6deg; }
.piece-e { --piece: #3f769b; --tilt: -5deg; }
.piece-f { --piece: #a22950; --tilt: 3deg; }
.piece-g { --piece: #5e3e6f; --tilt: -4deg; }
.piece-h { --piece: #72536a; --tilt: 7deg; }
.piece-i { --piece: #7a2546; --tilt: -6deg; }
.piece-j { --piece: #426985; --tilt: 5deg; }
.piece-j span { font-size: .52rem; letter-spacing: 0; }
.piece-k { --piece: #87415f; --tilt: -2deg; }
.piece-l { --piece: #57213a; --tilt: 4deg; }
.piece-m { --piece: #376c91; --tilt: -5deg; }
.piece-n { --piece: #903457; --tilt: 6deg; }
.piece-o { --piece: #65446d; --tilt: -3deg; }
.puzzle-status {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: .75rem;
  align-items: baseline;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .04em;
}
.puzzle-status strong { color: #fff; font: italic 1rem/1 Georgia, serif; }
.puzzle-reset {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .55rem .9rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99rem;
  background: transparent;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.puzzle-reset:hover,
.puzzle-reset:focus-visible { border-color: #fff; color: #fff; outline: none; }

.scene--story-new {
  color: var(--accent-dark);
  background: #fff;
}
.story-copy { width: min(100%, 70rem); }
.story-copy > p:first-child {
  margin: 0 0 1rem;
  color: var(--muted);
  font: italic clamp(1.3rem, 2.6vw, 2.5rem)/1 Georgia, serif;
}
.scene--story-new h2 {
  font-size: clamp(4.4rem, 9vw, 9rem);
  line-height: .84;
}
.scene--story-new h2 em { color: var(--heart); }
.story-after {
  margin: clamp(2rem, 5vh, 4rem) 0 0 35%;
  color: var(--accent-mid);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 750;
}
.story-trace span {
  position: absolute;
  height: 1px;
  background: rgba(77,15,40,.12);
  transform-origin: left;
  animation: trace-pulse 5s ease-in-out infinite alternate;
}
.story-trace span:nth-child(1) { top: 18%; left: 4%; width: 30%; transform: rotate(8deg); }
.story-trace span:nth-child(2) { top: 28%; right: 5%; width: 24%; transform: rotate(-16deg); }
.story-trace span:nth-child(3) { top: 70%; left: 8%; width: 36%; transform: rotate(-9deg); }
.story-trace span:nth-child(4) { bottom: 14%; right: 12%; width: 29%; transform: rotate(12deg); }
.story-trace span:nth-child(5) { top: 50%; left: 45%; width: 42%; transform: rotate(24deg); }

.scene--telling {
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(245,182,195,.2), transparent 32%),
    var(--accent-mid);
}
.telling-mark {
  position: absolute;
  right: 5%;
  bottom: -18%;
  color: rgba(255,255,255,.07);
  font: 400 clamp(18rem, 38vw, 38rem)/1 Georgia, "Times New Roman", serif;
  transform: rotate(9deg);
  pointer-events: none;
}
.telling-copy { width: min(100%, 80rem); }
.scene--telling h2 {
  color: #fff;
  font-size: clamp(5rem, 11vw, 11rem);
  line-height: .8;
}
.scene--telling h2 em,
.scene--telling h2 .heart { color: #f5b6c3; }

.scene--memory-new {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(49,91,125,.5), transparent 36%),
    var(--accent-dark);
}
.memory-lockup { width: min(100%, 76rem); }
.warehouse-line,
.not-line { margin: 0; font-family: Georgia, "Times New Roman", serif; }
.warehouse-line { color: rgba(255,255,255,.55); font-size: clamp(1.4rem, 3vw, 3rem); font-style: italic; }
.not-line { margin-top: clamp(2rem, 4vh, 3rem); color: #f5b6c3; font-size: clamp(2rem, 4vw, 4rem); transform: rotate(-2deg); }
.scene--memory-new h2 {
  color: #fff;
  font-size: clamp(6rem, 14vw, 14rem);
  line-height: .72;
}
.scene--memory-new h2 em { color: #f5b6c3; }
.vision-mechanism {
  max-width: 42rem;
  margin: clamp(1.5rem, 3vh, 2.5rem) 0 0 14%;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 650;
  line-height: 1.45;
}
.scene--memory-new blockquote {
  max-width: 32rem;
  margin: clamp(2rem, 4vh, 3rem) 0 0 44%;
  color: rgba(255,255,255,.7);
  font: italic clamp(1.1rem, 1.7vw, 1.5rem)/1.45 Georgia, serif;
}
.scene--memory-new blockquote span {
  display: block;
  margin-bottom: .45rem;
  color: #f5b6c3;
  font: 800 .72rem/1 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail-card--whisper { padding: clamp(1.8rem, 6vw, 4.5rem); }
.detail-card--whisper p { color: #3f3740; font: clamp(1.2rem, 2vw, 1.6rem)/1.55 Georgia, "Times New Roman", serif; }
.detail-card--whisper p + p { margin-top: 1.2rem; }

/* 03 — the idea */
.scene--section-concept {
  color: #fff;
  background:
    radial-gradient(circle at 18% 78%, rgba(245,182,195,.22), transparent 32%),
    var(--data-blue);
}
.scene--section-concept .section-number { color: rgba(255,255,255,.075); }
.scene--section-concept .section-lockup > p { color: #dceaf4; }
.scene--section-concept .section-lockup h2 { color: #fff; font-size: clamp(4.8rem, 11vw, 11rem); line-height: .84; }
.concept-tagline {
  width: min(100%, 48rem);
  margin: clamp(2rem, 5vh, 4rem) 0 0 auto;
  color: #dceaf4;
  font: italic clamp(1.45rem, 3vw, 3rem)/1.08 Georgia, serif;
}

.scene--whole {
  display: grid;
  align-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(63,118,155,.45), transparent 30%),
    #171217;
}
.whole-intro { width: min(100%, 82rem); }
.whole-kicker,
.plain-intro > p,
.records-intro > p,
.demo-intro > p {
  margin: 0 0 .65rem;
  font: italic clamp(1.05rem, 2vw, 1.8rem)/1 Georgia, serif;
}
.whole-kicker { color: rgba(255,255,255,.55); }
.scene--whole h2 { color: #fff; font-size: clamp(3.5rem, 6vw, 6.4rem); line-height: .87; }
.scene--whole h2 em { color: #f5b6c3; }
.whole-tree {
  position: relative;
  z-index: 2;
  width: min(100%, 82rem);
  margin: clamp(1.6rem, 4vh, 3rem) auto 0;
}
.tree-root {
  position: relative;
  display: grid;
  width: min(100%, 24rem);
  margin: 0 auto clamp(2.25rem, 5vh, 3.4rem);
  padding: .85rem 1.1rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: .8rem;
  background: rgba(255,255,255,.08);
  text-align: center;
}
.tree-root::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: clamp(2.25rem, 5vh, 3.4rem);
  background: rgba(255,255,255,.26);
  content: "";
}
.tree-root span { color: rgba(255,255,255,.58); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tree-root strong { margin-top: .15rem; font: 700 clamp(2.4rem, 4vw, 4rem)/1 Georgia, serif; }
.tree-root small { margin-top: .25rem; color: rgba(255,255,255,.52); font-size: .66rem; }
.tree-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.45rem, 1vw, .9rem);
  align-items: start;
}
.tree-branches::before {
  position: absolute;
  top: calc(clamp(2.25rem, 5vh, 3.4rem) * -1);
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(255,255,255,.26);
  content: "";
}
.tree-branch { min-width: 0; }
.tree-branch > summary {
  position: relative;
  display: grid;
  gap: .25rem;
  min-height: 4.8rem;
  padding: .8rem .7rem;
  place-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .7rem;
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
  list-style: none;
  text-align: center;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.tree-branch > summary::-webkit-details-marker,
.tree-subbranch > summary::-webkit-details-marker,
.jargon-term > summary::-webkit-details-marker { display: none; }
.tree-branch > summary::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: clamp(2.25rem, 5vh, 3.4rem);
  background: rgba(255,255,255,.26);
  content: "";
}
.tree-branch > summary span { font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tree-branch > summary strong { font: 700 clamp(1.3rem, 2vw, 2rem)/1 Georgia, serif; }
.tree-branch[open] > summary,
.tree-branch > summary:hover,
.tree-branch > summary:focus-visible { border-color: #f5b6c3; background: rgba(201,22,47,.25); outline: none; transform: translateY(-.2rem); }
.tree-branch__body {
  padding: .85rem .65rem 0;
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  line-height: 1.45;
  animation: branch-open 280ms ease both;
}
.tree-branch__body p { margin: 0; }
.tree-branch__line { min-height: 2.9em; }
.driver-core { margin-top: .55rem !important; color: #f5b6c3; font: italic 700 .66rem/1.35 Georgia, serif; }
.driver-core--ranked::after { display: inline-block; margin-left: .35rem; content: "↓"; font-family: Inter, sans-serif; font-style: normal; }
.driver-stack { display: grid; gap: .3rem; margin-top: .55rem; }
.driver-branch { min-width: 0; border-top: 1px solid rgba(255,255,255,.13); }
.driver-branch > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .45rem; align-items: center; padding: .38rem 0; color: rgba(255,255,255,.84); cursor: pointer; list-style: none; }
.driver-branch > summary::-webkit-details-marker { display: none; }
.driver-branch > summary span { min-width: 0; font-size: .63rem; font-weight: 760; line-height: 1.2; }
.driver-branch > summary small { color: #f5b6c3; font-size: .54rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.driver-branch > summary::after { color: #f5b6c3; content: "+"; font-weight: 900; }
.driver-branch > summary:has(small) { grid-template-columns: minmax(0,1fr) auto auto; }
.driver-branch[open] > summary::after { content: "−"; }
.driver-branch > p { padding: 0 0 .45rem; color: rgba(255,255,255,.6); font-size: .6rem; line-height: 1.38; animation: branch-open 220ms ease both; }
.tree-branch__body--deep { display: grid; gap: .5rem; }
.tree-subbranch { min-width: 0; border: 1px solid rgba(255,255,255,.14); border-radius: .55rem; background: rgba(255,255,255,.04); }
.tree-subbranch > summary {
  display: grid;
  gap: .18rem;
  padding: .55rem .6rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.tree-subbranch > summary span { font-size: .68rem; font-weight: 820; line-height: 1.2; }
.tree-subbranch > summary strong { color: #f5b6c3; font: italic 700 .95rem/1.1 Georgia, serif; }
.tree-subbranch[open] { border-color: rgba(245,182,195,.55); background: rgba(201,22,47,.12); }
.tree-subbranch > div { padding: .1rem .6rem .65rem; animation: branch-open 280ms ease both; }
.tree-subbranch > div p { color: rgba(255,255,255,.68); font-size: .7rem; line-height: 1.35; }
.driver-list--pages { margin-top: .5rem; }
.tree-example { display: grid; gap: .35rem; margin-top: .65rem; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.15); }
.tree-example b { color: #f5b6c3; }
.tree-example small { color: rgba(255,255,255,.48); line-height: 1.35; }
.tree-footnote { margin: 1.1rem 0 0; color: rgba(255,255,255,.58); font-size: .72rem; text-align: center; }
.tree-footnote strong { color: #fff; }
.tree-footnote a { margin-left: .35rem; color: #f5b6c3; font-weight: 800; text-underline-offset: .2em; }

.scene--plain {
  grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
  gap: clamp(2rem, 6vw, 7rem);
  background: #f5ead6;
}
.plain-intro { width: 100%; }
.plain-intro > p { color: var(--accent-mid); }
.scene--plain h2 { font-size: clamp(4.2rem, 8vw, 8rem); line-height: .82; }
.scene--plain h2 em { color: var(--heart); }
.plain-intro > .jargon-score { margin: 1.1rem 0 0; color: var(--accent-mid); font: 850 .78rem/1 Inter, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.jargon-score strong { color: var(--heart); font: 700 2rem/1 Georgia, serif; letter-spacing: -.04em; }
.jargon-board { position: relative; z-index: 2; display: grid; gap: .5rem; min-width: 0; }
.jargon-deck { min-width: 0; border: 1px solid rgba(77,15,40,.18); border-radius: 1rem; background: rgba(255,255,255,.48); }
.jargon-deck > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: .72rem .9rem; color: var(--accent-dark); cursor: pointer; list-style: none; }
.jargon-deck > summary::-webkit-details-marker { display: none; }
.jargon-deck > summary span { font: 700 clamp(.9rem, 1.3vw, 1.08rem)/1.2 Georgia, serif; }
.jargon-deck > summary strong { color: var(--heart); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.jargon-deck[open] { border-color: rgba(201,22,47,.42); background: rgba(255,255,255,.72); }
.jargon-deck__terms { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem; padding: 0 .65rem .65rem; animation: branch-open 240ms ease both; }
.jargon-term { align-self: start; min-width: 0; border: 1px solid rgba(77,15,40,.16); border-radius: .72rem; background: rgba(255,255,255,.72); box-shadow: 0 8px 20px rgba(44,5,26,.04); transition: border-color 180ms ease, background 180ms ease; }
.jargon-term > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem; align-items: center; padding: .72rem .8rem; color: var(--accent-dark); cursor: pointer; list-style: none; }
.jargon-term > summary span { font: 700 clamp(.76rem, 1.05vw, .94rem)/1.22 Georgia, serif; }
.jargon-term > summary i { display: grid; width: 1.5rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--heart); font-size: .68rem; font-style: normal; font-weight: 900; }
.jargon-term[open],
.jargon-term.is-discovered { border-color: var(--heart); background: #fff; }
.jargon-term.is-discovered > summary i { border-color: var(--heart); background: var(--heart); color: #fff; }
.jargon-term.is-discovered > summary i::before { content: "✓"; }
.jargon-term.is-discovered > summary i { font-size: 0; }
.jargon-term.is-discovered > summary i::before { font-size: .7rem; }
.jargon-term > div { padding: 0 .8rem .8rem; animation: branch-open 240ms ease both; }
.jargon-term > div strong { display: block; color: var(--heart); font: italic 700 clamp(.92rem, 1.3vw, 1.12rem)/1.2 Georgia, serif; }
.jargon-term > div p { margin: .35rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.42; }
.jargon-term > div a { display: inline-block; margin-top: .45rem; color: var(--accent-mid); font-size: .6rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-underline-offset: .18em; }

.scene--lenses {
  display: grid;
  align-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(63,118,155,.42), transparent 31%),
    var(--accent-dark);
}
.lenses-intro { width: min(100%, 82rem); }
.lenses-intro > p { margin: 0 0 .65rem; color: rgba(255,255,255,.56); font: italic clamp(1.05rem, 2vw, 1.8rem)/1 Georgia, serif; }
.scene--lenses h2 { color: #fff; font-size: clamp(4rem, 8vw, 8rem); line-height: .82; }
.lens-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .75rem; width: min(100%, 82rem); margin: clamp(2.2rem, 6vh, 4.5rem) auto 0; }
.lens-grid a { display: grid; min-width: 0; min-height: 12rem; padding: clamp(1rem, 2vw, 1.5rem); align-content: start; border: 1px solid rgba(255,255,255,.17); border-radius: 1rem; background: rgba(255,255,255,.07); color: #fff; text-decoration: none; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.lens-grid a:hover,
.lens-grid a:focus-visible { border-color: #f5b6c3; background: rgba(255,255,255,.12); outline: none; transform: translateY(-.25rem); }
.lens-icon { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; }
.lens-icon--heart { color: #f5b6c3; font-family: Georgia, serif; }
.lens-grid strong { margin-top: 1.2rem; font: 700 clamp(1.5rem, 2.4vw, 2.1rem)/1 Georgia, serif; }
.lens-grid p { margin: .75rem 0 0; color: rgba(255,255,255,.62); font-size: .76rem; line-height: 1.45; }
.quote-article-link { margin: clamp(1.8rem, 5vh, 3.5rem) 0 0; color: rgba(255,255,255,.58); font-size: .82rem; }
.quote-article-link a { border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.86); text-decoration: none; }
.quote-article-link a:hover,
.quote-article-link a:focus-visible { border-color: #fff; color: #fff; }

.scene--drivers {
  grid-template-columns: minmax(0,.58fr) minmax(0,1.42fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  color: var(--accent-dark);
  background: #fff;
}
.drivers-intro > p:first-child { color: var(--muted); }
.scene--drivers h2 { font-size: clamp(3.8rem, 7vw, 7.4rem); line-height: .82; }
.scene--drivers h2 em { color: var(--heart); }
.policy-map {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  height: min(65vh, 35rem);
  min-height: 28rem;
  isolation: isolate;
}
.policy-map::before {
  position: absolute;
  inset: 4.7rem 1.5% 5.7rem;
  z-index: -1;
  border: 1px solid rgba(77,15,40,.08);
  border-radius: 42% 58% 47% 53% / 56% 43% 57% 44%;
  background:
    radial-gradient(ellipse at 28% 38%, transparent 0 18%, rgba(77,15,40,.045) 18.3% 18.7%, transparent 19%),
    radial-gradient(ellipse at 69% 61%, transparent 0 23%, rgba(77,15,40,.04) 23.3% 23.7%, transparent 24%),
    var(--soft);
  content: "";
  transform: rotate(-.6deg);
}
.policy-map__ledger {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 5%;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .12rem 1rem;
  align-items: end;
  width: 90%;
  min-height: 4.25rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(77,15,40,.18);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 .8rem 2.2rem rgba(44,5,26,.1);
  color: var(--accent-dark);
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.policy-map__ledger:hover,
.policy-map__ledger:focus-visible { border-color: var(--heart); outline: none; transform: translateY(-.12rem); }
.policy-map__ledger span { font: 700 clamp(1rem,1.7vw,1.35rem)/1 Georgia, serif; }
.policy-map__ledger strong { grid-row: 1 / span 2; grid-column: 2; color: var(--heart); font: 700 clamp(1.5rem,2.5vw,2.25rem)/1 Georgia, serif; }
.policy-map__ledger small { color: var(--muted); font-size: .55rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.policy-map__terrain {
  position: absolute;
  inset: 5.1rem 2% 6.2rem;
  overflow: visible;
  transform-origin: 50% 0;
  transition: opacity 420ms ease, transform 650ms cubic-bezier(.2,.8,.2,1), filter 420ms ease;
}
.policy-map:not(.is-open) .policy-map__terrain {
  opacity: 0;
  filter: blur(.35rem);
  pointer-events: none;
  transform: translateY(-2.4rem) scaleY(.06);
}
.policy-map__svg { width: 100%; height: 100%; overflow: visible; }
.policy-terrain__shadow { fill: rgba(44,5,26,.22); filter: url(#policy-shadow); }
.policy-terrain__side { fill: url(#policy-side); }
.policy-terrain__rim { fill: #caaebc; }
.policy-terrain__land { fill: url(#policy-land); stroke: rgba(77,15,40,.2); stroke-width: 2; }
.policy-terrain__contour { fill: none; stroke: rgba(77,15,40,.16); stroke-width: 2; stroke-dasharray: 7 8; }
.policy-terrain__ridge { fill: none; stroke: rgba(77,15,40,.2); stroke-width: 4; stroke-linecap: round; }
.policy-terrain__river { fill: none; stroke: rgba(49,91,125,.55); stroke-width: 5; stroke-linecap: round; }
.policy-terrain__hill { fill: rgba(77,15,40,.13); stroke: rgba(77,15,40,.22); stroke-width: 2; }
.policy-terrain__hill--small { fill: rgba(49,91,125,.12); }
.policy-pin {
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: var(--x);
  display: grid;
  justify-items: center;
  width: max-content;
  max-width: 8.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  text-align: center;
  transform: translate(-50%,-100%);
  cursor: pointer;
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms ease;
}
.policy-pin::before {
  grid-row: 3;
  width: 2px;
  height: 1.05rem;
  background: var(--heart);
  content: "";
}
.policy-pin::after {
  grid-row: 4;
  width: .48rem;
  aspect-ratio: 1;
  margin-top: -.15rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--heart);
  box-shadow: 0 .15rem .5rem rgba(44,5,26,.25);
  content: "";
}
.policy-pin i {
  grid-row: 2;
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  place-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 .45rem 1rem rgba(44,5,26,.2);
  color: #fff;
  font-size: .56rem;
  font-style: normal;
  font-weight: 900;
}
.policy-pin span {
  grid-row: 1;
  margin-bottom: .25rem;
  padding: .3rem .48rem;
  border: 1px solid rgba(77,15,40,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 .3rem .8rem rgba(44,5,26,.1);
  font: 700 clamp(.52rem,.72vw,.65rem)/1.08 Georgia, serif;
}
.policy-pin:hover,
.policy-pin:focus-visible,
.policy-pin.is-active { z-index: 5; outline: none; transform: translate(-50%,-100%) scale(1.09); }
.policy-pin:hover i,
.policy-pin:focus-visible i,
.policy-pin.is-active i { background: var(--heart); }
.policy-map.has-selection .policy-pin:not(.is-active) { opacity: .35; filter: saturate(.4); }
.policy-map__sources {
  position: absolute;
  right: 2%;
  bottom: 2.35rem;
  left: 2%;
  display: flex;
  gap: .35rem;
  justify-content: center;
  opacity: 1;
  transition: opacity 350ms ease 380ms, transform 500ms ease 260ms;
}
.policy-map:not(.is-open) .policy-map__sources { opacity: 0; transform: translateY(-1rem); }
.policy-map__sources span { padding: .28rem .45rem; border: 1px solid rgba(77,15,40,.12); border-radius: 999px; background: #fff; color: var(--muted); font-size: .48rem; font-weight: 800; line-height: 1.15; text-align: center; }
.policy-map__status {
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  margin: 0;
  color: var(--muted);
  font: italic 700 .67rem/1.3 Georgia, serif;
  text-align: center;
}

.scene--records {
  grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr);
  gap: clamp(2rem, 5vw, 6rem);
  color: #fff;
  background: var(--data-blue);
}
.records-intro > p:first-child { color: rgba(255,255,255,.56); }
.scene--records h2 { color: #fff; font-size: clamp(4rem, 7.5vw, 7.5rem); line-height: .82; }
.records-intro > .records-prompt { max-width: 24rem; margin: 2.5rem 0 0; color: rgba(255,255,255,.68); font: italic 700 clamp(1rem, 1.7vw, 1.3rem)/1.35 Georgia, serif; }
.record-catalog { position: relative; z-index: 2; display: grid; gap: .55rem; min-width: 0; }
.record-group { min-width: 0; border: 1px solid rgba(255,255,255,.18); border-radius: .85rem; background: rgba(255,255,255,.06); }
.record-group > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: .78rem .9rem; cursor: pointer; list-style: none; }
.record-group > summary::-webkit-details-marker { display: none; }
.record-group > summary span { font: 700 clamp(.95rem, 1.5vw, 1.2rem)/1.2 Georgia, serif; }
.record-group > summary strong { color: #f5b6c3; font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.record-group > summary strong::after { margin-left: .35rem; content: "+"; }
.record-group[open] > summary strong::after { content: "−"; }
.record-group[open] { border-color: rgba(245,182,195,.62); background: rgba(255,255,255,.1); }
.record-group > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; padding: 0 .65rem .65rem; animation: branch-open 240ms ease both; }
.record-group a { display: grid; min-width: 0; padding: .7rem; align-content: start; border-radius: .6rem; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.record-group a:hover,
.record-group a:focus-visible { background: rgba(255,255,255,.16); outline: none; transform: translateY(-.15rem); }
.record-group a strong { font: 700 clamp(.76rem, 1.05vw, .92rem)/1.2 Georgia, serif; }
.record-group a small { margin-top: .45rem; color: rgba(255,255,255,.62); font-size: .57rem; line-height: 1.35; }
.record-group a .record-amount { color: #ffd166; font-weight: 850; }
.record-group a i { margin-top: .55rem; color: #f5b6c3; font-size: .54rem; font-style: normal; font-weight: 850; letter-spacing: .06em; }

/* 04 — demo */
.scene--section-demo { background: var(--heart); }
.scene--section-demo .section-number { color: rgba(255,255,255,.11); }
.scene--section-demo .section-lockup > p { color: rgba(255,255,255,.72); }
.scene--section-demo .section-lockup h2 { color: #fff; }
.scene--demo { background: #fff; }
.demo-intro > p { color: var(--muted); }
.scene--demo h2 { font-size: clamp(4.8rem, 10vw, 10rem); line-height: .82; }
.demo-links { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; width: min(100%, 66rem); margin-top: clamp(2rem, 5vh, 4rem); }
.demo-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; min-width: 0; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--border); border-radius: .9rem; background: var(--soft); color: var(--accent-dark); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.demo-links a:hover,
.demo-links a:focus-visible { border-color: var(--heart); background: #fff; outline: none; transform: translateY(-.2rem); }
.demo-links a > span { font-size: 1.3rem; }
.demo-links a strong { font: 700 clamp(1.2rem, 2vw, 1.65rem)/1 Georgia, serif; }
.demo-links a i { color: var(--heart); font-size: 1.35rem; font-style: normal; animation: arrow-pulse 2.8s ease-in-out infinite; }

/* 05 — behind the scenes */
.scene--section-behind {
  color: #fff;
  background: radial-gradient(circle at 18% 78%, rgba(49,91,125,.42), transparent 31%), radial-gradient(circle at 82% 18%, rgba(245,182,195,.17), transparent 27%), #171217;
}
.scene--section-behind .section-number { color: rgba(255,255,255,.06); }
.scene--section-behind .section-lockup > p { color: #f5b6c3; }
.scene--section-behind .section-lockup h2 { max-width: 88vw; color: #fff; font-size: clamp(4.5rem, 9.5vw, 9.5rem); line-height: .82; letter-spacing: -.055em; }
.behind-marks { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.behind-marks span { position: absolute; display: grid; width: clamp(5rem,9vw,9rem); aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font: 800 clamp(2.4rem,5vw,5rem)/1 Georgia,serif; transform: rotate(-7deg); }
.behind-marks span:first-child { top: 13%; right: 17%; background: #d9e9ff; color: #081946; box-shadow: 1.1rem 1.1rem 0 rgba(217,233,255,.13); }
.behind-marks span:nth-child(2) { right: 7%; bottom: 17%; border-radius: 1.2rem; background: #fff; color: #1545c5; font-family: Arial,sans-serif; transform: rotate(8deg); }
.behind-marks span:last-child { right: 27%; bottom: 6%; border-radius: 50%; background: rgba(255,255,255,.08); font-family: system-ui,sans-serif; transform: rotate(-3deg); }

.scene--foundations { grid-template-columns: minmax(22rem,.62fr) minmax(0,1.38fr); gap: clamp(2rem,4vw,5rem); background: #f3eadc; }
.foundations-intro { position: relative; z-index: 5; }
.foundations-intro > p,
.agents-intro > p,
.roadmap-intro > p,
.share-intro > p { color: var(--muted); }
.scene--foundations h2 { font-size: clamp(4.2rem, 6vw, 6.5rem); line-height: .82; }
.foundation-stage { position: relative; z-index: 2; width: 100%; height: min(68vh,43rem); min-height: 34rem; }
.foundation-piece { position: absolute; margin: 0; }
.foundation-piece__visual { position: relative; }
.foundation-piece--book { z-index: 3; top: 1%; left: 0; width: min(50%,30rem); transform: rotate(-2.5deg); }
.foundation-piece--weaver { z-index: 2; right: 0; bottom: 1%; width: min(48%,29rem); transform: rotate(2.2deg); }
.foundation-modal { bottom: auto; z-index: 8; }
.foundation-modal--book { top: 1.4rem; right: auto; left: calc(min(50%,30rem) - 4.2rem); }
.foundation-modal--weaver { top: auto; right: .8rem; bottom: calc(clamp(15rem,27vw,22rem) - 4.2rem); }
.foundation-modal > summary { background: rgba(77,15,64,.94); }
.book-hero { position: relative; display: block; height: clamp(18rem,34vw,27rem); overflow: hidden; border: 1px solid rgba(8,25,70,.14); background: #dcecff; color: #081946; box-shadow: 0 1.4rem 3rem rgba(77,15,40,.14); }
.book-hero::before { position: absolute; inset: 9% 8% 11%; border: 1px solid rgba(8,25,70,.17); content: ""; }
.book-hero::after { position: absolute; right: 10%; bottom: 13%; width: 3.8rem; height: 3.8rem; border-right: .8rem solid #081946; border-bottom: .8rem solid #081946; content: ""; }
.book-spine { position: absolute; top: 0; bottom: 0; left: 0; width: 2.2rem; padding: 1rem .5rem; border-right: 1px solid rgba(8,25,70,.2); font: 700 .58rem/1.15 Arial,sans-serif; font-style: normal; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.book-rule { position: absolute; top: 24%; left: 14%; width: 32%; height: .36rem; background: #081946; }
.book-hero b { position: absolute; top: 34%; left: 14%; font: 700 clamp(2rem,4.3vw,4.2rem)/.92 Georgia,serif; letter-spacing: -.045em; }
.book-hero em { position: absolute; top: 8%; right: 10%; color: rgba(8,25,70,.16); font: 900 clamp(6rem,12vw,12rem)/1 Georgia,serif; font-style: normal; }
.weaver-hero { position: relative; display: block; height: clamp(15rem,27vw,22rem); overflow: hidden; border: 1px solid rgba(21,69,197,.22); border-radius: 1.1rem; background: linear-gradient(145deg,#fff 0 56%,#e9eefb 100%); box-shadow: 0 1.4rem 3rem rgba(18,29,56,.18); }
.weaver-mark { position: absolute; top: 9%; left: 9%; color: #1545c5; font: 900 clamp(3.8rem,7vw,6.5rem)/1 Arial,sans-serif; letter-spacing: -.2em; }
.weaver-dag { position: absolute; right: 4%; bottom: 5%; width: 88%; height: 70%; overflow: visible; }
.dag-links path { fill: none; stroke: #1545c5; stroke-width: 5; marker-end: url(#dag-arrow); }
#dag-arrow path { fill: #1545c5; }
.dag-node rect { fill: #fff; stroke: #1545c5; stroke-width: 3; filter: drop-shadow(0 7px 7px rgba(21,69,197,.12)); }
.dag-node text { fill: #13213a; font: 800 20px/1 Arial,sans-serif; text-anchor: middle; }
.dag-node--source rect { fill: #eef3ff; stroke: #172134; }
.dag-node--weaver rect { fill: #1545c5; }
.dag-node--weaver text { fill: #fff; }
.dag-node--target rect { fill: #fff; }
.foundation-label { position: absolute; z-index: 3; right: -1.6rem; bottom: -1.8rem; display: grid; min-width: 14rem; padding: 1rem 1.2rem; background: #fff; color: #101926; box-shadow: 0 .9rem 2rem rgba(17,27,43,.15); }
.foundation-piece--book .foundation-label { right: 0; background: #081946; color: #fff; }
.foundation-label small { margin-bottom: .35rem; color: currentColor; font-size: .52rem; font-weight: 850; letter-spacing: .11em; opacity: .58; text-transform: uppercase; }
.foundation-label strong { font: 700 clamp(1.25rem,2vw,1.8rem)/.94 Georgia,serif; }
.foundation-label > i { margin-top: .35rem; color: #1545c5; font-size: .68rem; font-style: normal; font-weight: 750; }

.scene--agents { grid-template-columns: minmax(16rem,.42fr) minmax(0,1.58fr); gap: clamp(1.5rem,4vw,5rem); color: #fff; background: linear-gradient(145deg,#243b55,#315b7d 62%,#1d2940); }
.agents-intro { align-self: start; }
.agents-intro > p { color: rgba(255,255,255,.62); }
.scene--agents h2 { color: #fff; font-size: clamp(4rem,7.4vw,7.4rem); line-height: .84; }
.scene--agents h2 span { display: inline-block; font-size: .48em; vertical-align: .12em; }
.pixel-office { position: relative; z-index: 2; width: 100%; height: min(70vh,44rem); min-height: 36rem; overflow: visible; }
.office-room { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1.6rem 1.8rem rgba(7,17,31,.24)); }
.office-wall-plane { stroke: rgba(255,255,255,.08); stroke-width: 2; }
.office-wall-plane--left { fill: #263e59; }
.office-wall-plane--right { fill: #1d314a; }
.office-floor { fill: #486b82; stroke: rgba(255,255,255,.13); stroke-width: 3; }
.office-grid { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 2; }
.office-desk-svg polygon { fill: #c89b57; stroke: #735334; stroke-width: 2; }
.office-desk-svg polygon:nth-child(2) { fill: #967044; }
.office-desk-svg polygon:nth-child(3) { fill: #7c5b38; }
.office-desk-svg .office-screen { fill: #17253a; stroke: #0b1523; stroke-width: 4; }
.office-screen-line { fill: none; stroke: #8ecae0; stroke-width: 4; }
.office-books rect { fill: #d4aa55; stroke: #172134; stroke-width: 2; }
.office-books rect:nth-child(2) { fill: #a86578; }
.office-books rect:last-child { fill: #79a7a0; }
.office-plant-svg path:first-child { fill: #8b6340; }
.office-plant-svg path:last-child { fill: #70aa82; stroke: #315f4a; stroke-width: 2; }
.agent-card { position: absolute; z-index: 3; margin: 0; }
.agent-card--audrey { top: 36%; left: -1%; }
.agent-card--gehrman { top: 39%; right: 9%; }
.agent-card--fors { right: 36%; bottom: 3%; }
.agent-card[open] { z-index: 20; }
.agent-card summary { display: grid; justify-items: center; cursor: pointer; list-style: none; text-align: center; }
.agent-card summary::-webkit-details-marker { display: none; }
.agent-card summary:focus-visible { border-radius: .35rem; outline: 2px solid #f5b6c3; outline-offset: .35rem; }
.agent-name { display: grid; min-width: 7rem; margin-top: .2rem; padding: .38rem .55rem; border: 1px solid rgba(255,255,255,.2); background: rgba(14,27,45,.86); box-shadow: .35rem .35rem 0 rgba(8,18,31,.45); }
.agent-name strong { color: #fff; font: 700 1rem/1 Georgia,serif; }
.agent-name small { margin-top: .28rem; color: #f5b6c3; font-size: .48rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.agent-figure { position: relative; display: block; width: 6.5rem; height: 8.4rem; image-rendering: pixelated; filter: drop-shadow(.6rem .8rem 0 rgba(7,17,31,.28)); transition: transform 180ms ease; }
.agent-figure img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.agent-card summary:hover .agent-figure { transform: translateY(-.25rem); }
.agent-face { position: absolute; z-index: 2; top: 1.25rem; left: 1.55rem; width: 3.4rem; height: 3.2rem; border: .25rem solid #8d624f; border-radius: .2rem; background: #efc2a7; }
.agent-face::before { position: absolute; top: 1.15rem; left: .65rem; width: .35rem; height: .35rem; background: #182235; box-shadow: 1.35rem 0 #182235; content: ""; }
.agent-face::after { position: absolute; bottom: .52rem; left: 1.05rem; width: .72rem; height: .18rem; background: #a45b66; content: ""; }
.agent-hair { position: absolute; z-index: 4; top: .55rem; left: 1.1rem; width: 4.3rem; height: 1.55rem; border-radius: .15rem; background: #5b2f24; }
.agent-hair::before,
.agent-hair::after { position: absolute; top: 1.15rem; width: .48rem; height: 2.1rem; background: inherit; content: ""; }
.agent-hair::before { left: 0; }
.agent-hair::after { right: 0; }
.agent-body { position: absolute; z-index: 1; bottom: 1.05rem; left: 1rem; width: 4.5rem; height: 3.7rem; clip-path: polygon(18% 0,82% 0,100% 100%,0 100%); background: #b85068; }
.agent-legs { position: absolute; z-index: 0; bottom: 0; left: 1.45rem; width: 1.3rem; height: 1.6rem; background: #2a3345; box-shadow: 2.15rem 0 #2a3345; }
.agent-card--audrey .agent-face::after { bottom: .45rem; width: .9rem; height: .45rem; border-bottom: .22rem solid #a45b66; border-radius: 0 0 50% 50%; background: transparent; }
.agent-card--gehrman .agent-figure { width: 6.7rem; }
.agent-card--gehrman .agent-hair { top: .72rem; left: 1.38rem; width: 3.95rem; height: 1.05rem; border-radius: 0; background: #101a2b; }
.agent-card--gehrman .agent-hair::before,
.agent-card--gehrman .agent-hair::after { top: .7rem; width: .3rem; height: .55rem; }
.agent-card--gehrman .agent-face { top: 1.38rem; left: 1.65rem; width: 3.25rem; height: 3.05rem; }
.agent-card--gehrman .agent-face::after { bottom: .55rem; height: .12rem; background: #6e3e48; }
.agent-card--gehrman .agent-body { left: .92rem; width: 4.85rem; background: #182b47; }
.agent-card--gehrman .agent-body::before { position: absolute; top: 0; left: 2.22rem; width: .4rem; height: 3.7rem; background: #cad4e2; content: ""; }
.agent-card--fors .agent-hair { top: .48rem; left: .92rem; width: 4.7rem; height: 1.8rem; background: #b79a77; }
.agent-card--fors .agent-hair::before,
.agent-card--fors .agent-hair::after { top: 1.3rem; height: 2.45rem; }
.agent-card--fors .agent-body { background: #6b446f; }
.agent-card--fors .agent-face::after { bottom: .55rem; left: 1.02rem; width: .86rem; height: .16rem; border: 0; border-radius: 0; background: #86505d; }
.agent-speech { position: absolute; z-index: 30; bottom: calc(100% + 1rem); left: 50%; width: clamp(16rem,24vw,21rem); padding: 1rem 1.1rem; border: 2px solid #172134; border-radius: .35rem; background: #fff; color: #332a34; box-shadow: .65rem .65rem 0 rgba(9,22,38,.4); font: italic .85rem/1.45 Georgia,serif; pointer-events: none; animation: speech-open 220ms ease both; transform: translateX(-50%); }
.agent-speech::before { position: absolute; bottom: -1rem; left: 50%; border-top: 1rem solid #172134; border-right: .75rem solid transparent; border-left: .75rem solid transparent; content: ""; transform: translateX(-50%); }


/* 06 — roadmap */
.scene--section-roadmap { color: #fff; background: linear-gradient(150deg,#274a67,#4d0f40 76%); }
.scene--section-roadmap::after { position: absolute; right: -8%; bottom: -35%; width: 54%; height: 98%; clip-path: polygon(47% 0,53% 0,100% 100%,0 100%); background: rgba(255,255,255,.08); content: ""; }
.scene--section-roadmap .section-number { color: rgba(255,255,255,.065); }
.scene--section-roadmap .section-lockup > p { color: #f5b6c3; }
.scene--section-roadmap .section-lockup h2 { color: #fff; font-size: clamp(4.4rem,10vw,10rem); line-height: .82; }
.scene--roadmap { grid-template-columns: minmax(17rem,.5fr) minmax(0,1.5fr); gap: clamp(1rem,3vw,3rem); overflow: hidden; background: linear-gradient(#eff7fb 0 43%,#b7d3b0 43% 100%); }
.scene--roadmap h2 { font-size: clamp(4rem,7.7vw,7.7rem); line-height: .82; }
.roadmap-intro { position: relative; z-index: 5; align-self: start; }
.roadmap-landscape { position: relative; z-index: 2; width: 100%; height: min(77vh,48rem); min-height: 39rem; }
.road-sky { position: absolute; inset: 0 0 55%; overflow: hidden; }
.road-sky::before,
.road-sky::after { position: absolute; bottom: -22%; width: 70%; height: 62%; border-radius: 50% 50% 0 0; background: #88ac85; content: ""; }
.road-sky::before { left: -17%; transform: rotate(5deg); }
.road-sky::after { right: -18%; background: #759d79; transform: rotate(-5deg); }
.road-sky i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.8); }
.road-sky i:first-child { top: 11%; left: 14%; width: 5rem; height: 1.15rem; box-shadow: 2.4rem .2rem 0 rgba(255,255,255,.8); }
.road-sky i:nth-child(2) { top: 20%; right: 12%; width: 3rem; height: .8rem; box-shadow: 1.6rem .15rem 0 rgba(255,255,255,.8); }
.road-sky i:last-child { top: 34%; left: 47%; width: .8rem; height: .8rem; background: #f2c56b; box-shadow: 0 0 0 1.5rem rgba(242,197,107,.18); }
.road-ribbon { position: absolute; inset: 5% -4% 0; width: 108%; height: 95%; filter: drop-shadow(0 1.2rem 1.5rem rgba(49,91,80,.22)); }
.road-verge { fill: #d3bd80; }
.road-surface { fill: #4c5964; }
.road-centre { fill: none; stroke: #f7dd7c; stroke-width: 7; stroke-dasharray: 22 27; vector-effect: non-scaling-stroke; }
.roadmap-landscape::after { position: absolute; z-index: 3; top: 0; right: 20%; left: 20%; height: 19%; background: linear-gradient(rgba(239,247,251,.98),rgba(239,247,251,0)); content: ""; pointer-events: none; }
.road-stop { --pin-size: 3rem; position: absolute; z-index: 4; margin: 0; }
.road-stop[open] { z-index: 12; }
.road-stop summary { display: block; width: var(--pin-size); height: var(--pin-size); cursor: pointer; list-style: none; filter: drop-shadow(0 .5rem .55rem rgba(32,55,47,.26)); }
.road-stop summary::-webkit-details-marker { display: none; }
.road-stop summary:focus-visible { border-radius: 50%; outline: 3px solid #fff; outline-offset: .25rem; }
.road-pin-dot { display: grid; width: 100%; height: 100%; place-items: center; border: max(2px,.08em) solid #fff; border-radius: 50% 50% 50% 0; background: #315b7d; color: #fff; transform: rotate(-45deg); transition: background 180ms ease, transform 180ms ease; }
.road-pin-dot i { font-size: calc(var(--pin-size) * .24); font-style: normal; font-weight: 900; transform: rotate(45deg); }
.road-stop[open] .road-pin-dot { background: var(--heart); transform: rotate(-45deg) scale(1.08); }
.road-stop > div { position: absolute; z-index: 13; bottom: calc(100% + .9rem); left: 50%; width: clamp(11rem,17vw,15rem); padding: .7rem .8rem; border-left: .3rem solid var(--heart); background: rgba(255,255,255,.96); color: #172134; box-shadow: .45rem .55rem 0 rgba(49,91,80,.2); pointer-events: none; animation: speech-open 180ms ease both; transform: translateX(-50%); }
.road-stop > div::after { position: absolute; top: 100%; left: 50%; border-top: .7rem solid #fff; border-right: .55rem solid transparent; border-left: .55rem solid transparent; content: ""; transform: translateX(-50%); }
.road-stop strong { display: block; font: 700 clamp(.82rem,1.25vw,1.05rem)/1 Georgia,serif; }
.road-stop strong b { color: #d32f45; font-family: Arial,sans-serif; }
.road-stop p { margin: .32rem 0 0; color: #536273; font-size: clamp(.56rem,.75vw,.66rem); line-height: 1.35; }
.road-stop--stories { --pin-size: 5.4rem; right: 8%; bottom: 3%; }
.road-stop--countries { --pin-size: 4.55rem; bottom: 22%; left: 15%; }
.road-stop--education { --pin-size: 3.75rem; right: 15%; bottom: 39%; }
.road-stop--construction { --pin-size: 3rem; bottom: 55%; left: 31%; }
.road-stop--health { --pin-size: 2.45rem; right: 35%; bottom: 68%; }
.road-stop--democracy { --pin-size: 1.8rem; bottom: 80%; left: 46%; }
.road-stop--stories > div,
.road-stop--education > div { right: 0; left: auto; transform: none; }
.road-stop--countries > div,
.road-stop--construction > div { left: 0; transform: none; }

/* 07 — share */
.scene--section-share { color: #fff; background: var(--heart); }
.scene--section-share .section-number { color: rgba(255,255,255,.1); }
.scene--section-share .section-lockup > p { color: rgba(255,255,255,.7); }
.scene--section-share .section-lockup h2 { color: #fff; font-size: clamp(5rem,12vw,12rem); line-height: .8; }
.fragment-anchor { position: absolute; top: 0; left: 0; pointer-events: none; }
.scene--closing { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; padding: 0; }
.scene--closing::after { display: none; }
.closing-share,
.closing-note { display: grid; min-width: 0; min-height: 100svh; align-items: center; padding: clamp(2.5rem, 7vh, 5rem) clamp(2rem, 4vw, 5rem); }
.closing-share { position: relative; background: #f5ead6; }
.closing-note { color: #fff; background: var(--accent-dark); }
.share-social { position: relative; z-index: 2; width: 100%; }
.share-question { max-width: none; margin: 0; color: var(--accent-dark); font: italic clamp(1.3rem, 2vw, 1.85rem)/1.25 Georgia,serif; }
.share-question__beat { display: block; max-width: 40ch; }
.share-question__beat + .share-question__beat { margin-top: clamp(.7rem, 2vh, 1.3rem); }
.share-question__beat:nth-child(2) { margin-left: clamp(0rem, 1vw, 1rem); }
.share-question__beat:nth-child(3) { margin-left: clamp(0rem, 2vw, 2rem); }
.share-question em { color: var(--heart); font-style: normal; font-weight: 700; }
.share-question em.share-question__fabric { color: #056c5d; }
@supports (-webkit-background-clip: text) {
  .share-question em.share-question__fabric { background: linear-gradient(105deg, #096a87, #0a7562 55%, #167450); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
@media (forced-colors: active) {
  .share-question em.share-question__fabric { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
.closing-share h2 { max-width: none; margin-top: clamp(1.5rem, 4vh, 3rem); font-size: clamp(3.8rem, 6vw, 6.5rem); line-height: .84; }
.share-icon-action { display: grid; width: clamp(3.6rem,6vw,5rem); aspect-ratio: 1; padding: 0; place-items: center; border: 1px solid rgba(77,15,40,.18); border-radius: 50%; background: rgba(255,255,255,.72); color: var(--accent-dark); cursor: pointer; box-shadow: 0 .6rem 1.3rem rgba(77,15,40,.09); transition: transform 180ms ease, background 180ms ease; }
.share-icon-action:hover,
.share-icon-action:focus-visible { background: #fff; outline: 2px solid var(--heart); outline-offset: .3rem; transform: translateY(-.25rem) rotate(-2deg); }
.share-icon-action--social { width: clamp(4.2rem,5vw,5rem); margin-top: clamp(1.5rem,3vh,2.5rem); border: 0; background: var(--heart); color: #fff; }
.share-icon-action svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.share-status { min-height: 1.3rem; margin: .8rem 0 0; color: var(--accent-mid); font-size: .68rem; font-weight: 750; }
.note-inner { display: block; }
.closing-note h2 { color: #fff; font-size: clamp(3.2rem, 5vw, 5.6rem); line-height: .88; }
.note-other-ways { display: flex; gap: .8rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.note-other-ways .share-icon-action { width: 3.2rem; border-color: rgba(255,255,255,.4); background: transparent; color: #fff; box-shadow: none; }
.note-other-ways .share-icon-action:hover,
.note-other-ways .share-icon-action:focus-visible { background: #fff; color: var(--accent-dark); }
.site-return-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); color: rgba(255,255,255,.68); font-size: .78rem; font-weight: 650; letter-spacing: .025em; text-decoration: none; }
.site-return-link:hover { color: #fff; }
.site-return-link:focus-visible { border-radius: .2rem; outline: 2px solid #fff; outline-offset: .4rem; }
.site-return-dot { display: inline-block; width: .62rem; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; background: var(--heart); animation: site-return-breathe 3.8s ease-in-out infinite; }
@keyframes site-return-breathe {
  0%, 100% { opacity: .62; transform: scale(.9); box-shadow: 0 0 0 0 rgba(255,255,255,.2); }
  50% { opacity: 1; transform: scale(1.04); box-shadow: 0 0 0 .32rem rgba(255,255,255,0); }
}

.motion-ready .whole-tree,
.motion-ready .jargon-board,
.motion-ready .lens-grid,
.motion-ready .policy-map,
.motion-ready .record-catalog,
.motion-ready .demo-links,
.motion-ready .foundation-stage,
.motion-ready .pixel-office,
.motion-ready .roadmap-landscape,
.motion-ready .share-social,
.motion-ready .note-other-ways,
.motion-ready .site-return-link { transition: opacity 720ms ease, filter 720ms ease; }
.motion-ready .scene.is-past .whole-tree,
.motion-ready .scene.is-past .jargon-board,
.motion-ready .scene.is-past .lens-grid,
.motion-ready .scene.is-past .policy-map,
.motion-ready .scene.is-past .record-catalog,
.motion-ready .scene.is-past .demo-links,
.motion-ready .scene.is-past .foundation-stage,
.motion-ready .scene.is-past .pixel-office,
.motion-ready .scene.is-past .roadmap-landscape,
.motion-ready .scene.is-past .share-social,
.motion-ready .scene.is-past .note-other-ways,
.motion-ready .scene.is-past .site-return-link { opacity: .42; filter: saturate(.7); }

@keyframes branch-open { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: none; } }
@keyframes speech-open { from { opacity: 0; } to { opacity: 1; } }

@keyframes word-drift { from { transform: translate3d(-.4rem,-.3rem,0) rotate(-2deg); } to { transform: translate3d(.5rem,.45rem,0) rotate(2deg); } }
@keyframes trace-pulse { from { opacity: .25; transform-origin: left; } to { opacity: 1; } }
@keyframes arrow-pulse {
  0%, 100% { opacity: .45; transform: translateX(-.18rem); }
  50% { opacity: 1; transform: translateX(.22rem); }
}
@keyframes agent-float { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-.35rem) rotate(5deg); } }

@media (max-width: 55.999rem) {
  .scene { padding-right: max(1.75rem, env(safe-area-inset-right)); }
  .reading-rail { width: 2.35rem; }
  .reading-rail a span {
    position: absolute;
    top: .1rem;
    left: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    color: rgba(77,15,40,.42);
    font-size: .52rem;
    font-weight: 850;
    letter-spacing: .05em;
  }
  .reading-rail a[aria-current="location"] span { color: var(--heart); }
  .scene--section { min-height: 96svh; }
  .section-number { right: -5vw; bottom: -5vh; font-size: clamp(14rem, 74vw, 24rem); }
  .section-lockup h2 { font-size: clamp(4.2rem, 20vw, 7rem); }
  .scene--section-motivation .section-lockup h2 { font-size: clamp(3.8rem, 17vw, 6rem); line-height: .86; }
  .glasses-mark { top: 10%; right: 10%; opacity: .16; }
  .scene--eyes h2 { font-size: clamp(2.75rem, 12.5vw, 4.6rem); line-height: .92; }
  .inside-layout { display: block; }
  .ten-years { width: min-content; transform: rotate(-3deg); }
  .ten-years span { font-size: clamp(8rem, 44vw, 13rem); }
  .scene--inside h2 { margin: -.5rem 0 0 5%; font-size: clamp(2.8rem, 13vw, 5rem); }
  .outside-layout { margin-left: 0; }
  .side-label { margin-left: 0; }
  .scene--outside h2 { font-size: clamp(5rem, 23vw, 8rem); }
  .outside-turn { margin-left: 14%; }
  .outside-link { margin-left: 70%; }
  .thread-copy > p { font-size: 1.55rem; }
  .scene--thread h2 { font-size: clamp(4rem, 19vw, 6.5rem); }
  .scene--reality h2 { font-size: clamp(4.5rem, 21vw, 7rem); }
  .reality-word { font-size: 8rem; transform: translate(-50%,-50%) rotate(90deg); }
  .scale-play { grid-template-columns: 1fr; gap: 2rem; }
  .scale-arrow { width: 1px; height: 7rem; margin-left: 50%; }
  .scale-arrow i { top: 0; left: 50%; animation: travel-scale-vertical 5s ease-in-out infinite; }
  .scale-large { text-align: left; }
  .scene--scale-play h2 { font-size: clamp(3.15rem, 14vw, 5.2rem); }
  .scene--scale-play h2.scale-problem { font-size: clamp(2.8rem, 12vw, 4.4rem); }
  .scene--guessing h2 { font-size: clamp(4rem, 18vw, 6.5rem); }
  .cost-first { transform: none; }
  .scene--cost-play h2 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .brand-subtext { margin-top: 2.5rem; font-size: clamp(1.25rem, 6vw, 1.8rem); }
  .scene--government-punch h2 { font-size: clamp(3.7rem, 16.5vw, 6.2rem); }
  .scene--puzzle { min-height: 148svh; }
  .scene--puzzle h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .puzzle-workspace {
    --piece-width: 3.7rem;
    --piece-height: 2.95rem;
    height: 48rem;
    margin-left: -.65rem;
  }
  .puzzle-board { top: 22%; }
  .puzzle-slot,
  .puzzle-hole,
  .puzzle-piece { width: 3.7rem; height: 2.95rem; }
  .puzzle-piece span { padding: .2rem; font-size: .44rem; }
  .piece-j span { font-size: .36rem; }
  .puzzle-status { bottom: .2rem; display: grid; gap: .2rem; }
  .puzzle-reset { top: 44%; right: 0; bottom: auto; }
  .scene--story-new h2 { font-size: clamp(3.25rem, 14.5vw, 5.2rem); line-height: .86; }
  .story-after { margin-left: 12%; }
  .scene--telling h2 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .telling-mark { right: -8%; bottom: -8%; }
  .scene--memory-new h2 { font-size: clamp(4.5rem, 21vw, 7rem); }
  .vision-mechanism { margin-left: 0; }
  .scene--memory-new blockquote { margin-left: 12%; }
  .scene--section-concept .section-lockup h2 { font-size: clamp(3.55rem, 16vw, 5.7rem); line-height: .88; }
  .concept-tagline { width: auto; margin: 2rem 0 0 12%; font-size: clamp(1.35rem, 6.5vw, 2rem); }
  .scene--whole { min-height: auto; align-content: start; overflow: visible; }
  .scene--whole h2 { font-size: clamp(3.15rem, 14vw, 4.8rem); }
  .whole-tree { margin-top: 2.2rem; }
  .tree-root { margin-bottom: 1.5rem; }
  .tree-root::after { height: 1.5rem; }
  .tree-branches { grid-template-columns: 1fr; gap: .75rem; }
  .tree-branches::before,
  .tree-branch > summary::before { display: none; }
  .tree-branch > summary { grid-template-columns: 1fr auto; min-height: 0; padding: 1rem; place-content: initial; align-items: center; text-align: left; }
  .tree-branch > summary strong { text-align: right; }
  .tree-branch__body { padding: .8rem 1rem .4rem; font-size: .8rem; }
  .tree-branch__line { min-height: 0; }
  .driver-core { font-size: .76rem; }
  .driver-branch > summary { padding: .72rem 0; }
  .driver-branch > summary span { font-size: .78rem; }
  .driver-branch > summary small { font-size: .6rem; }
  .driver-branch > p { padding-bottom: .7rem; font-size: .72rem; }
  .tree-subbranch > summary { grid-template-columns: minmax(0,1fr) auto; gap: .75rem; align-items: center; padding: .8rem; }
  .tree-subbranch > summary span { font-size: .72rem; }
  .tree-subbranch > summary strong { text-align: right; }
  .tree-subbranch > div { padding: .1rem .8rem .8rem; }
  .tree-subbranch > div p { font-size: .72rem; }
  .tree-footnote { margin-top: 1.5rem; text-align: left; line-height: 1.5; }
  .scene--plain,
  .scene--drivers,
  .scene--records { display: block; min-height: auto; }
  .scene--plain h2,
  .scene--drivers h2,
  .scene--records h2 { font-size: clamp(3.5rem, 16vw, 5.4rem); }
  .jargon-board,
  .policy-map,
  .record-catalog { margin-top: 2.5rem; }
  .jargon-board { grid-template-columns: 1fr; }
  .jargon-deck__terms { grid-template-columns: 1fr; }
  .jargon-term > summary { padding: 1rem; }
  .jargon-term > summary span { font-size: 1rem; }
  .policy-map { height: 32rem; min-height: 0; margin-bottom: 2.5rem; }
  .policy-map::before { inset: 5.5rem 0 7.2rem; }
  .policy-map__ledger { left: 0; width: 100%; min-height: 5rem; }
  .policy-map__ledger span { font-size: 1rem; }
  .policy-map__ledger strong { font-size: 1.55rem; }
  .policy-map__ledger small { font-size: .47rem; }
  .policy-map__terrain { inset: 5.8rem 0 auto; height: 18rem; }
  .policy-pin i { width: 2.2rem; font-size: .5rem; }
  .policy-pin span { display: none; }
  .policy-pin::before { height: .72rem; }
  .policy-map__sources { bottom: 2.35rem; flex-wrap: wrap; }
  .policy-map__sources span { font-size: .45rem; }
  .policy-map__status { font-size: .62rem; }
  .record-group > summary { padding: 1rem; }
  .record-group > div { grid-template-columns: 1fr; }
  .record-group a { padding: .9rem; }
  .record-group a strong { font-size: .9rem; }
  .record-group a small { font-size: .68rem; }
  .scene--lenses { display: block; min-height: auto; }
  .scene--lenses h2 { font-size: clamp(3.8rem, 17vw, 5.8rem); }
  .lens-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .lens-grid a { min-height: 0; }
  .lens-grid strong { margin-top: .85rem; }
  .lens-grid p { font-size: .82rem; }
  .scene--section-demo .section-lockup h2 { font-size: clamp(4.2rem, 20vw, 7rem); }
  .scene--demo h2 { font-size: clamp(4rem, 19vw, 6.3rem); }
  .demo-links { grid-template-columns: 1fr; }
  .scene--section-behind .section-lockup h2,
  .scene--section-roadmap .section-lockup h2,
  .scene--section-share .section-lockup h2 { font-size: clamp(3.7rem, 17vw, 5.8rem); line-height: .84; }
  .scene--section-behind .section-lockup h2 { max-width: 82vw; font-size: clamp(3.35rem,14vw,4.9rem); }
  .scene--foundations,
  .scene--agents,
  .scene--roadmap { display: block; min-height: auto; overflow: hidden; }
  .scene--foundations h2,
  .scene--agents h2,
  .scene--roadmap h2 { font-size: clamp(3.7rem, 17vw, 5.8rem); }
  .behind-marks span { width: 4.4rem; }
  .behind-marks span:first-child { top: 9%; right: 10%; }
  .behind-marks span:nth-child(2) { right: 7%; bottom: 11%; }
  .behind-marks span:last-child { right: 31%; bottom: 3%; }
  .foundation-stage,
  .pixel-office,
  .roadmap-landscape { margin-top: 2.5rem; }
  .foundation-stage { height: 48rem; min-height: 0; }
  .foundation-piece--book { top: 0; left: 2%; width: 90%; }
  .foundation-piece--weaver { right: 1%; bottom: 1rem; width: 87%; }
  .book-hero { height: 21rem; }
  .book-hero b { font-size: clamp(2.15rem,10vw,3.15rem); }
  .book-hero em { font-size: 7rem; }
  .weaver-hero { height: 17rem; }
  .weaver-mark { font-size: 4.8rem; }
  .foundation-label { right: -.5rem; bottom: -1.25rem; min-width: 12rem; }
  .foundation-modal--book { top: .7rem; right: auto; left: calc(92% - 4rem); }
  .foundation-modal--weaver { top: auto; right: .7rem; bottom: 14rem; }
  .pixel-office { height: 47rem; min-height: 0; margin-right: -.25rem; }
  .office-room { inset: 2% -4% 0; width: 108%; height: 96%; }
  .agent-card--audrey { top: 48%; left: -3%; }
  .agent-card--gehrman { top: 50%; right: -3%; }
  .agent-card--fors { right: auto; bottom: 18%; left: 31%; }
  .agent-figure { width: 5.6rem; height: 7.3rem; transform: scale(.88); transform-origin: center bottom; }
  .agent-card summary:hover .agent-figure { transform: scale(.88) translateY(-.2rem); }
  .agent-name { min-width: 6.4rem; }
  .agent-speech { width: min(17rem,76vw); font-size: .78rem; }
  .agent-card--audrey .agent-speech { left: 0; transform: none; }
  .agent-card--audrey .agent-speech::before { left: 3rem; transform: none; }
  .agent-card--gehrman .agent-speech { right: 0; left: auto; transform: none; }
  .agent-card--gehrman .agent-speech::before { right: 3rem; left: auto; transform: none; }
  .roadmap-landscape { height: 59rem; min-height: 0; margin-right: -.25rem; }
  .road-sky { inset: 0 0 62%; }
  .road-ribbon { inset: 3% -12% 0; width: 124%; height: 97%; }
  .road-stop > div { width: min(13.5rem,74vw); }
  .road-stop--stories { --pin-size: 4.8rem; right: 1%; bottom: 2%; }
  .road-stop--countries { --pin-size: 4rem; bottom: 21%; left: 2%; }
  .road-stop--education { --pin-size: 3.35rem; right: 7%; bottom: 39%; }
  .road-stop--construction { --pin-size: 2.8rem; bottom: 55%; left: 29%; }
  .road-stop--health { --pin-size: 2.25rem; right: 30%; bottom: 68%; }
  .road-stop--democracy { --pin-size: 1.7rem; bottom: 80%; left: 46%; }
  .road-stop--health > div,
  .road-stop--democracy > div { top: calc(100% + .7rem); bottom: auto; }
}

@media (max-width: 56rem) {
  .scene--closing { display: block; min-height: 0; padding: 0; }
  .closing-share { min-height: 100svh; padding: 2.5rem var(--gutter) 2.5rem calc(var(--gutter) + 1.5rem); }
  .closing-note { display: grid; min-height: 100svh; padding: 4rem var(--gutter) 4rem calc(var(--gutter) + 1.5rem); }
  .share-question { font-size: clamp(1.2rem, 4.5vw, 1.75rem); }
  .share-question__beat,
  .share-question__beat:nth-child(2),
  .share-question__beat:nth-child(3) { max-width: none; margin-left: 0; }
  .share-question__beat + .share-question__beat { margin-top: .7rem; }
  .closing-share h2 { margin-top: 2.5rem; font-size: clamp(3.7rem, 17vw, 5.8rem); }
  .closing-note h2 { font-size: clamp(3.35rem, 14vw, 5.8rem); }
}

@keyframes travel-scale-vertical { 0%,10% { top: 0; } 85%,100% { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .drift-words span,
  .story-trace span,
  .outside-link span,
  .glasses-mark,
  .policy-map__terrain,
  .agent-spark,
  .demo-links a i { animation: none; }
}
