@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif/InstrumentSerif-Regular.ttf") format("truetype");
}

/* Approved STRONG water-ripple cursor keeps the native system pointer legible. */
html[data-water-ripple-cursor="enabled"] .is-fishing .documentary-game__canvas,
html[data-water-ripple-cursor="enabled"] .experiment__canvas,
html[data-water-ripple-cursor="enabled"] .reveal {
  cursor: default !important;
}

html[data-water-ripple-cursor="enabled"] .is-trawling.is-trawl-ready .documentary-game__canvas {
  cursor: grab !important;
}

html[data-water-ripple-cursor="enabled"] .is-trawling.is-pointer-down .documentary-game__canvas {
  cursor: grabbing !important;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-mono/GeistMono-wght.ttf") format("truetype-variations");
}

:root {
  --paper: #eceee9;
  --ink: #071017;
  --ocean: #061927;
  --deep: #02070b;
  --cyan: #65e6ff;
  --electric: #14b8ff;
  --danger: #ff765b;
  --line-dark: rgba(6, 19, 27, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --hero-p: 0;
  --dive-p: 0;
  --paper-opacity: 1;
  --ocean-opacity: 0;
  --content-opacity: 1;
  --fish-opacity: 1;
  --hero-ocean-y: 0px;
  --hero-ocean-scale: 1.035;
  --hero-grain-y: 0px;
  --fish-x: 0px;
  --fish-y: 0px;
  --fish-tilt: 0deg;
  --fish-scale: 0.94;
  --dive-grade-alpha: 0;
  --dive-grade-opacity: 0;
  --dive-atmosphere-opacity: 0.12;
  --dive-atmosphere-y: 0px;
  --shoal-opacity: 0.36;
  --shoal-y: 0px;
  --depth-fill: 0%;
  --drag-x: 0px;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --reveal-x: 50vw;
  --reveal-y: 50vh;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Phase 01 diagnostics: the element only exists when ?debug=1 is present. */
.scroll-debug {
  position: fixed;
  z-index: 2000;
  top: 82px;
  right: 18px;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 12px 14px;
  border: 1px solid rgba(101, 230, 255, 0.38);
  background: rgba(2, 7, 11, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.76);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.scroll-debug strong {
  margin-bottom: 3px;
  color: #65e6ff;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.scroll-debug span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.scroll-debug b {
  color: #fff;
  font-weight: 600;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--deep);
  color: #fff;
  font-family:
    "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::after {
  position: fixed;
  z-index: 180;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 35%, rgba(26, 89, 93, 0.16), transparent 35%),
    #040b10;
  pointer-events: none;
  transition:
    opacity 0.17s var(--ease-smooth),
    visibility 0.36s;
}

body.is-site-jumping::after {
  visibility: visible;
  opacity: 1;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: #fff;
  color: #000;
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.loader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--deep);
  color: #fff;
  transition:
    opacity 0.7s var(--ease-smooth),
    visibility 0.7s;
}

.is-ready .loader {
  visibility: hidden;
  opacity: 0;
}

.loader__mark {
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.loader__line {
  width: 140px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.loader__line i {
  display: block;
  width: 55%;
  height: 100%;
  background: var(--cyan);
  animation: loader-pass 1.2s var(--ease-smooth) infinite alternate;
}

.loader p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes loader-pass {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(180%);
  }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 24px 30px;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}

.site-header a {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: baseline;
  width: max-content;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.06em;
}

.brand b {
  margin-left: 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header nav a {
  position: relative;
  padding: 7px 0;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.42;
  transition: opacity 0.35s;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.site-header nav a:hover,
.site-header nav a.is-current {
  opacity: 1;
}

.site-header nav a.is-current::after {
  transform: scaleX(1);
}

.sound-note {
  justify-self: end;
  box-sizing: border-box;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.58;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

/* Hero */

.hero-scroll {
  position: relative;
  height: 205vh;
  background: var(--paper);
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
}

.hero__paper {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.95%, var(--line-dark) 50%, transparent 50.05%),
    linear-gradient(var(--paper), var(--paper));
  opacity: var(--paper-opacity);
}

.hero__paper::before,
.hero__paper::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: var(--line-dark);
}

.hero__paper::before {
  left: 7vw;
}

.hero__paper::after {
  right: 7vw;
}

.hero__ocean {
  position: absolute;
  z-index: -3;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: none;
  height: auto;
  min-height: 100vh;
  object-fit: cover;
  object-position: center top;
  opacity: var(--ocean-opacity);
  transform: translate3d(0, var(--hero-ocean-y), 0)
    scale(var(--hero-ocean-scale));
}

.hero__grain,
.dive__atmosphere {
  position: absolute;
  z-index: 4;
  inset: -20%;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.55) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.4) 0 0.5px, transparent 0.8px);
  background-size: 18px 18px, 23px 23px;
  transform: translate3d(0, var(--hero-grain-y), 0);
  mix-blend-mode: soft-light;
}

.hero__meta {
  position: absolute;
  z-index: 12;
  top: 13vh;
  right: 7vw;
  left: 7vw;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-dark);
  padding-top: 10px;
  opacity: var(--content-opacity);
}

.hero__meta p {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__gesture {
  position: absolute;
  z-index: 20;
  inset: 17vh 5vw 17vh;
  cursor: grab;
  touch-action: pan-y;
}

.hero__gesture:active {
  cursor: grabbing;
}

.hero__gesture:focus-visible {
  outline: 1px solid var(--electric);
  outline-offset: -8px;
}

.hero__gesture.is-pointer-dragging:focus-visible {
  outline: 0;
}

.hero__titles {
  position: absolute;
  z-index: 5;
  inset: 0;
  opacity: var(--content-opacity);
  pointer-events: none;
}

.hero-title {
  position: absolute;
  top: 48.5%;
  left: 50%;
  width: min-content;
  margin: 0;
  color: var(--ink);
  font-size: clamp(74px, 12.5vw, 210px);
  font-weight: 730;
  line-height: 0.76;
  letter-spacing: -0.085em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(calc(-50% + 24vw), -50%, 0) scaleX(0.78);
  transform-origin: center;
  transition:
    transform 0.85s var(--ease-out),
    opacity 0.45s ease;
}

.hero-title--compact {
  font-size: clamp(48px, 8.2vw, 138px);
}

.hero-title.is-active {
  opacity: 1;
  transform: translate3d(calc(-50% + var(--drag-x)), -50%, 0) scaleX(1);
}

.hero-title.is-before {
  transform: translate3d(calc(-50% - 24vw), -50%, 0) scaleX(0.78);
}

.hero__fish {
  position: absolute;
  z-index: 10;
  top: 48%;
  left: 50%;
  width: min(58vw, 880px);
  opacity: var(--fish-opacity);
  transform:
    translate3d(
      calc(-50% + var(--fish-x)),
      calc(-50% + var(--fish-y)),
      0
    )
    rotate(var(--fish-tilt))
    scale(var(--fish-scale));
  pointer-events: none;
}

.hero__fish img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  animation: fish-drift 5.6s ease-in-out infinite;
  filter:
    drop-shadow(0 28px 28px rgba(6, 103, 155, 0.2))
    saturate(1.08);
}

.hero__fish-glow {
  position: absolute;
  z-index: 1;
  inset: 18% 16%;
  border-radius: 50%;
  background: rgba(50, 204, 255, 0.22);
  filter: blur(55px);
  transform: scale(0.8);
}

@keyframes fish-drift {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(8px);
  }
}

.hero__context {
  position: absolute;
  z-index: 12;
  bottom: 13vh;
  left: 7vw;
  width: min(330px, 27vw);
  opacity: var(--content-opacity);
}

.hero__description {
  min-height: 4.5em;
  margin: 13px 0 0;
  color: rgba(7, 16, 23, 0.68);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.55;
  transition:
    opacity 0.25s,
    transform 0.5s var(--ease-out);
}

.hero__description.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.theme-switcher {
  position: absolute;
  z-index: 30;
  right: 7vw;
  bottom: 12vh;
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 88px));
  border-top: 1px solid var(--line-dark);
  opacity: var(--content-opacity);
}

.theme-switcher button {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px 0 0;
  background: none;
  color: rgba(7, 16, 23, 0.36);
  text-align: left;
  cursor: pointer;
  transition: color 0.35s;
}

.theme-switcher button::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.theme-switcher button:hover,
.theme-switcher button.is-active {
  color: var(--ink);
}

.theme-switcher button.is-active::before {
  transform: scaleX(1);
}

.theme-switcher span {
  font-size: 9px;
}

.theme-switcher b {
  font-size: 9px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__drag-note {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: 2.2vw;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(7, 16, 23, 0.55);
  opacity: var(--content-opacity);
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.hero__drag-note i {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero__drag-note span,
.hero__scroll-note span {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll-note {
  position: absolute;
  z-index: 12;
  bottom: 3vh;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  opacity: var(--content-opacity);
  transform: translateX(-50%);
}

.hero__scroll-note i {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--ink), transparent);
}

/* Dive */

.dive-scroll {
  position: relative;
  z-index: 2;
  height: 760vh;
  background: var(--deep);
}

.dive {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: #061624;
}

.dive__scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.dive__ocean {
  position: absolute;
  z-index: -3;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: none;
  height: auto;
  min-height: 100vh;
  transform: translate3d(0, var(--ocean-y, 0px), 0);
  transform-origin: top center;
  will-change: transform;
}

.dive__grade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 7, 12, 0.66), transparent 46%, rgba(0, 5, 10, 0.22)),
    linear-gradient(180deg, transparent 35%, rgba(0, 5, 10, var(--dive-grade-alpha)));
  opacity: var(--dive-grade-opacity);
  pointer-events: none;
}

.dive__atmosphere {
  z-index: 1;
  opacity: var(--dive-atmosphere-opacity);
  transform: translate3d(0, var(--dive-atmosphere-y), 0);
}

.shoal {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: var(--shoal-opacity);
  transform: translate3d(0, var(--shoal-y), 0);
}

.shoal i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 28px;
  height: 10px;
  border-radius: 60% 45% 45% 60%;
  background: rgba(3, 27, 45, 0.82);
  transform: translateX(var(--d)) scale(var(--s));
}

.shoal i::after {
  position: absolute;
  top: 50%;
  right: 92%;
  width: 8px;
  height: 12px;
  content: "";
  background: inherit;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  transform: translateY(-50%);
}

.dive__chapter-label {
  position: absolute;
  z-index: 10;
  top: 12vh;
  left: 7vw;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.58;
}

.dive__states {
  position: absolute;
  z-index: 5;
  inset: 0;
}

.dive-state {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 7vw minmax(0, 620px) 1fr;
  align-items: center;
  visibility: hidden;
  padding: 0 10vw 0 7vw;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.5s ease,
    transform 0.85s var(--ease-out),
    visibility 0s linear 0.85s;
  pointer-events: none;
}

.dive-state.is-active {
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
  pointer-events: auto;
}

.dive-state.is-before {
  transform: translate3d(0, -24px, 0);
}

.dive-state__number {
  align-self: start;
  margin-top: 39vh;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.dive-state__copy {
  width: min(610px, 52vw);
  text-shadow: 0 2px 28px rgba(0, 4, 8, 0.44);
}

.dive-state h2 {
  margin: 15px 0 19px;
  font-size: clamp(43px, 5.7vw, 86px);
  font-weight: 620;
  line-height: 0.94;
  letter-spacing: -0.064em;
  text-wrap: balance;
}

.dive-state p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.58;
}

.dive-state a {
  display: inline-block;
  margin-top: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.dive-state a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.balance {
  grid-column: 3;
  width: min(330px, 27vw);
  justify-self: end;
  border: 1px solid var(--line-light);
  padding: 22px;
  background: rgba(2, 11, 18, 0.28);
  backdrop-filter: blur(12px);
}

.balance > div + div {
  margin-top: 22px;
}

.balance span {
  display: block;
  margin-bottom: 9px;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.balance i {
  display: block;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.balance i b {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s 0.15s var(--ease-out);
}

.dive-state.is-active .balance i b {
  transform: scaleX(1);
}

.balance i .balance__danger {
  background: var(--danger);
}

.balance small {
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  line-height: 1.4;
}

.stat-ring {
  position: relative;
  grid-column: 3;
  justify-self: end;
  width: min(24vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--danger) 0 35.5%, rgba(255, 255, 255, 0.12) 35.5% 100%);
  opacity: 0;
  transform: rotate(-80deg) scale(0.88);
  transition:
    opacity 0.6s 0.1s,
    transform 1.1s var(--ease-out);
}

.stat-ring::after {
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  content: "";
  background: rgba(3, 15, 24, 0.88);
  backdrop-filter: blur(8px);
}

.stat-ring span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 650;
  letter-spacing: -0.06em;
  transform: translate(-50%, -50%) rotate(90deg);
}

.dive-state.is-active .stat-ring {
  opacity: 1;
  transform: rotate(-90deg) scale(1);
}

.dive-state--stat h2 span {
  color: #fff;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.signal-list span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dive-state__continue {
  grid-column: 3;
  align-self: end;
  justify-self: end;
  margin-bottom: 12vh;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.depth-meter {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: 2.2vw;
  display: grid;
  grid-template-columns: auto 2px auto;
  align-items: center;
  gap: 12px;
  height: 55vh;
  transform: translateY(-50%);
}

.depth-meter__label {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.depth-meter__track {
  align-self: stretch;
  width: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.depth-meter__track i {
  display: block;
  width: 100%;
  height: var(--depth-fill);
  background: var(--cyan);
}

.depth-meter__stops {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Reveal */

.reveal {
  position: relative;
  z-index: 4;
  height: 110vh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #03080b;
  cursor: none;
  touch-action: pan-y;
}

.reveal__world {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #06121b;
}

.reveal__water {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 7, 11, 0.08), rgba(1, 6, 9, 0.56)),
    url("assets/ocean.jpg") center bottom / cover no-repeat;
  filter: saturate(0.58) brightness(0.64) contrast(1.08);
  transform: scale(1.03);
}

.reveal__world::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 55% 30%, transparent 0, rgba(0, 5, 8, 0.48) 74%);
}

.reveal__fish {
  position: absolute;
  z-index: 2;
  top: 35%;
  right: 12%;
  width: min(34vw, 470px);
  opacity: 0.46;
  filter: grayscale(0.35) brightness(0.62);
  transform: rotate(-3deg);
}

.reveal__scar {
  position: absolute;
  z-index: 3;
  right: -8vw;
  bottom: 12vh;
  width: 72vw;
  height: 3px;
  background: rgba(167, 203, 214, 0.24);
  box-shadow:
    0 16px rgba(167, 203, 214, 0.16),
    0 34px rgba(167, 203, 214, 0.11);
  transform: rotate(-8deg);
  filter: blur(1px);
}

.reveal__scar--two {
  right: auto;
  bottom: 6vh;
  left: -10vw;
  transform: rotate(7deg);
}

.reveal__net {
  position: absolute;
  z-index: 4;
  right: -8vw;
  top: 8vh;
  width: 48vw;
  height: 62vh;
  opacity: 0.25;
  background:
    repeating-linear-gradient(42deg, transparent 0 29px, rgba(210, 238, 242, 0.45) 30px 31px),
    repeating-linear-gradient(-42deg, transparent 0 29px, rgba(210, 238, 242, 0.45) 30px 31px);
  transform: rotate(8deg);
}

.reveal__evidence {
  position: absolute;
  z-index: 6;
  right: 7vw;
  bottom: 8vh;
  display: grid;
  gap: 6px;
}

.reveal__evidence span {
  width: max-content;
  border-left: 1px solid var(--cyan);
  padding: 4px 0 4px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reveal__curtain {
  position: absolute;
  z-index: 5;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(10, 24, 31, 0.5), transparent 33%),
    #020608;
  -webkit-mask-image: radial-gradient(
    circle 150px at var(--reveal-x) var(--reveal-y),
    transparent 0 94%,
    #000 100%
  );
  mask-image: radial-gradient(
    circle 150px at var(--reveal-x) var(--reveal-y),
    transparent 0 94%,
    #000 100%
  );
}

.reveal__cursor {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  display: grid;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  place-items: center;
  opacity: 0.72;
  transform: translate3d(
    calc(var(--reveal-x) - 150px),
    calc(var(--reveal-y) - 150px),
    0
  );
  pointer-events: none;
}

.reveal__cursor::before,
.reveal__cursor::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.45);
}

.reveal__cursor::before {
  top: 50%;
  left: -12px;
  width: 24px;
  height: 1px;
}

.reveal__cursor::after {
  top: -12px;
  left: 50%;
  width: 1px;
  height: 24px;
}

.reveal__cursor span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal__copy {
  position: absolute;
  z-index: 10;
  top: 13vh;
  left: 7vw;
  width: min(460px, 38vw);
  pointer-events: none;
}

.reveal__copy h2 {
  margin: 15px 0 18px;
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 620;
  line-height: 0.91;
  letter-spacing: -0.066em;
}

.reveal__copy > p:last-child {
  width: min(350px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.59);
  font-size: 13px;
  line-height: 1.58;
}

.reveal__instruction {
  position: absolute;
  z-index: 10;
  right: 3vw;
  bottom: 5vh;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* Continuation */

.continuation {
  position: relative;
  z-index: 6;
  min-height: 110vh;
  padding: 14vh 7vw 5vh;
  background: var(--paper);
  color: var(--ink);
}

.continuation .eyebrow {
  color: #087d9c;
}

.continuation__heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}

.continuation__heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(54px, 7.2vw, 112px);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.continuation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12vh;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.continuation__grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 22px 20px 0;
}

.continuation__grid article + article {
  border-left: 1px solid var(--line-dark);
  padding-left: 22px;
}

.continuation__index {
  color: rgba(7, 16, 23, 0.4);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.continuation__grid h3 {
  margin: 12px 0;
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 570;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.continuation__grid p:not(.eyebrow) {
  max-width: 310px;
  margin: 0;
  color: rgba(7, 16, 23, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.continuation__grid article > span {
  color: rgba(7, 16, 23, 0.38);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.continuation footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 9vh;
  color: rgba(7, 16, 23, 0.52);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.continuation footer a {
  border-bottom: 1px solid rgba(7, 16, 23, 0.28);
  padding-bottom: 5px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .site-header {
    padding: 20px 22px;
  }

  .site-header nav {
    display: none;
  }

  .hero__paper::before {
    left: 22px;
  }

  .hero__paper::after {
    right: 22px;
  }

  .hero__meta {
    right: 22px;
    left: 22px;
  }

  .hero-title {
    font-size: clamp(58px, 15vw, 124px);
  }

  .hero-title--compact {
    font-size: clamp(38px, 10vw, 78px);
  }

  .hero__fish {
    width: min(78vw, 680px);
  }

  .hero__context {
    left: 22px;
    width: min(300px, 38vw);
  }

  .theme-switcher {
    right: 22px;
    grid-template-columns: repeat(4, 58px);
  }

  .theme-switcher b {
    display: none;
  }

  .hero__drag-note {
    display: none;
  }

  .dive__chapter-label {
    left: 5vw;
  }

  .dive-state {
    grid-template-columns: 4vw minmax(0, 1fr);
    padding: 0 10vw 0 5vw;
  }

  .dive-state__copy {
    width: min(620px, 75vw);
  }

  .balance,
  .stat-ring {
    position: absolute;
    right: 9vw;
    bottom: 9vh;
    grid-column: auto;
  }

  .balance {
    width: 280px;
  }

  .stat-ring {
    width: 190px;
  }

  .dive-state__continue {
    position: absolute;
    right: 10vw;
    bottom: 0;
  }

  .reveal__copy {
    left: 5vw;
    width: min(480px, 60vw);
  }

  .continuation__heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px;
  }

  .sound-note {
    font-size: 7px;
  }

  .hero-scroll {
    height: 190vh;
  }

  .hero {
    min-height: 520px;
  }

  .hero__meta {
    top: 11vh;
  }

  .hero__meta p:last-child {
    display: none;
  }

  .hero-title {
    top: 43%;
    font-size: 13vw;
    white-space: normal;
    width: 96vw;
    line-height: 0.78;
  }

  .hero-title--compact {
    font-size: 10.2vw;
  }

  .hero__fish {
    top: 45%;
    width: 106vw;
  }

  .hero__context {
    bottom: 18vh;
    width: calc(100vw - 36px);
  }

  .hero__description {
    max-width: 310px;
    min-height: 3.8em;
    font-size: 11px;
  }

  .theme-switcher {
    right: 18px;
    bottom: 10vh;
    left: 18px;
    grid-template-columns: repeat(4, 1fr);
  }

  .theme-switcher button {
    text-align: center;
  }

  .hero__scroll-note {
    bottom: 1.5vh;
  }

  .dive-scroll {
    height: 700vh;
  }

  .hero__ocean,
  .dive__ocean {
    left: -40vw;
    width: 180vw;
  }

  .dive {
    min-height: 520px;
  }

  .dive__chapter-label {
    top: 10vh;
    left: 20px;
  }

  .dive-state {
    grid-template-columns: 1fr;
    align-content: end;
    padding: 0 46px 13vh 20px;
  }

  .dive-state__number {
    position: absolute;
    top: 16vh;
    left: 20px;
    margin: 0;
  }

  .dive-state__copy {
    width: 100%;
  }

  .dive-state h2 {
    font-size: clamp(39px, 11vw, 62px);
  }

  .dive-state p:not(.eyebrow) {
    font-size: 12px;
  }

  .balance {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 22px;
    padding: 15px;
  }

  .dive-state--with-graphic {
    padding-bottom: 7vh;
  }

  .dive-state--stat {
    padding-bottom: 10vh;
  }

  .stat-ring {
    top: 16vh;
    right: 52px;
    bottom: auto;
    width: 110px;
  }

  .stat-ring::after {
    inset: 7px;
  }

  .stat-ring span {
    font-size: 27px;
  }

  .signal-list {
    gap: 5px;
  }

  .signal-list span {
    padding: 6px 8px;
    font-size: 7px;
  }

  .dive-state__continue {
    right: 46px;
    bottom: 4vh;
    margin: 0;
  }

  .depth-meter {
    right: 10px;
    height: 52vh;
  }

  .depth-meter__label,
  .depth-meter__stops {
    display: none;
  }

  .reveal {
    min-height: 620px;
    cursor: auto;
  }

  .reveal__copy {
    top: 11vh;
    left: 20px;
    width: calc(100vw - 40px);
  }

  .reveal__copy h2 {
    font-size: 13vw;
  }

  .reveal__copy > p:last-child {
    max-width: 300px;
    font-size: 11px;
  }

  .reveal__curtain {
    -webkit-mask-image: radial-gradient(
      circle 105px at var(--reveal-x) var(--reveal-y),
      transparent 0 94%,
      #000 100%
    );
    mask-image: radial-gradient(
      circle 105px at var(--reveal-x) var(--reveal-y),
      transparent 0 94%,
      #000 100%
    );
  }

  .reveal__cursor {
    width: 210px;
    height: 210px;
    transform: translate3d(
      calc(var(--reveal-x) - 105px),
      calc(var(--reveal-y) - 105px),
      0
    );
  }

  .reveal__fish {
    top: 48%;
    right: -10%;
    width: 86vw;
  }

  .reveal__net {
    width: 70vw;
  }

  .continuation {
    padding: 11vh 20px 4vh;
  }

  .continuation__heading h2 {
    font-size: 15vw;
  }

  .continuation__grid {
    grid-template-columns: 1fr;
    margin-top: 8vh;
  }

  .continuation__grid article {
    min-height: 260px;
    padding: 18px 0;
  }

  .continuation__grid article + article {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
    padding-left: 0;
  }

  .continuation footer {
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
  }
}

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

  .hero__fish,
  .hero__ocean,
  .dive__ocean,
  .dive__atmosphere,
  .shoal {
    transform: none;
  }
}

/* Scene 06 / Figma-aligned documentary game rebuild */
.experiment.documentary-game-shell {
  --ocean-mid: #315650;
  --ocean-deep: #193d38;
  --ocean-shadow: #03221f;
  --game-paper: #f1f0e8;
  --game-mint: #b5c4bc;
  --game-muted: #7a988f;
  --game-warm: #b86653;
  --font-display: "Instrument Serif", "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  position: relative;
  height: 220vh;
  min-height: 1520px;
  overflow: visible;
  background: var(--ocean-shadow);
  cursor: default;
}

.documentary-game {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  color: var(--game-paper);
  background: var(--ocean-deep);
}

.documentary-game__background,
.documentary-game__grade,
.documentary-game__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.documentary-game__background {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(181, 196, 188, .1), rgba(49, 86, 80, .015) 46%, rgba(12, 47, 42, .08)),
    url("assets/game/approved-ocean-continuity.png") center / cover no-repeat;
  filter: saturate(.6) brightness(1.08) contrast(.86) hue-rotate(-18deg);
  transform: scale(1.018);
  transition:
    filter 760ms cubic-bezier(.16, 1, .3, 1),
    opacity 500ms ease,
    transform 920ms cubic-bezier(.16, 1, .3, 1);
  will-change: filter, transform;
}

.documentary-game__grade {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 63%, rgba(12, 47, 42, .1) 100%),
    radial-gradient(circle at 50% 27%, transparent 0 38%, rgba(12, 47, 42, .025) 72%, rgba(3, 34, 31, .12) 100%);
  transition: background 700ms cubic-bezier(.16, 1, .3, 1), opacity 500ms ease;
}

.documentary-game__canvas {
  z-index: -2;
  display: block;
  touch-action: none;
}

.is-fishing .documentary-game__canvas {
  cursor: none;
}

.is-trawling .documentary-game__canvas {
  cursor: default;
}

.is-trawling.is-trawl-ready .documentary-game__canvas {
  cursor: grab;
}

.is-trawling.is-pointer-down .documentary-game__canvas {
  cursor: grabbing;
}

.documentary-game__meta,
.documentary-game__label,
.documentary-game__continue,
.documentary-game__instruction,
.documentary-game__fishing-feedback strong,
.documentary-game__bycatch span,
.documentary-game__trawl-copy span,
.documentary-game__aftermath span,
.documentary-game__method {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-weight: 520;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.documentary-game__handoff,
.documentary-game__instruction,
.documentary-game__fishing-feedback,
.documentary-game__bycatch,
.documentary-game__trawl-copy,
.documentary-game__damage-evidence,
.documentary-game__aftermath,
.documentary-game__label,
.documentary-game__method {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.documentary-game__handoff {
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms;
}

.is-handoff-visible .documentary-game__handoff {
  opacity: 1;
  visibility: visible;
}

.documentary-game__meta {
  position: absolute;
  top: 5.8vh;
  right: 4.7vw;
  margin: 0;
  color: var(--game-mint);
  font-size: 10px;
}

.documentary-game__meta::after,
.documentary-game__trawl-copy span::before,
.documentary-game__aftermath span::before {
  display: block;
  width: 160px;
  height: 1px;
  margin-top: 25px;
  content: "";
  background: rgba(184, 204, 196, .58);
}

.documentary-game__handoff h2,
.documentary-game__trawl-copy strong,
.documentary-game__aftermath strong,
.documentary-game__bycatch strong {
  margin: 0;
  color: var(--game-paper);
  font-family: var(--font-display, "Iowan Old Style", Baskerville, "Times New Roman", serif);
  font-weight: 400;
  letter-spacing: -.027em;
  text-transform: uppercase;
  text-wrap: balance;
}

.documentary-game__handoff h2 {
  -webkit-text-fill-color: var(--game-paper);
  letter-spacing: -.052em;
  transition: opacity 400ms ease, transform 440ms cubic-bezier(.16, 1, .3, 1);
}

.documentary-game__handoff-first {
  position: absolute;
  top: 21vh;
  left: 5.4vw;
  opacity: var(--handoff-first-opacity, 0);
  font-size: clamp(58px, 7.1vw, 112px);
  line-height: .88;
  transform: translate3d(0, var(--handoff-first-y, 0), 0);
}

.documentary-game__handoff-second {
  position: absolute;
  top: 40vh;
  left: 42.8vw;
  opacity: var(--handoff-second-opacity, 0);
  font-size: clamp(58px, 7.1vw, 112px);
  line-height: .88;
  transform: translate3d(0, var(--handoff-second-y, 14px), 0);
}

.documentary-game__continue {
  position: absolute;
  bottom: 9.5vh;
  left: 5.4vw;
  margin: 0;
  color: var(--game-mint);
  font-size: 9px;
}

.documentary-game__label {
  top: 5.8vh;
  left: 4.45vw;
  color: var(--game-muted);
  font-size: 9px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.is-fishing .documentary-game__label,
.is-trawling .documentary-game__label {
  opacity: 1;
}

.documentary-game__instruction {
  bottom: 10.5vh;
  left: 5vw;
  max-width: 320px;
  color: var(--game-mint);
  font-size: 9px;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 300ms ease;
}

.is-fishing .documentary-game__instruction {
  opacity: .78;
}

.is-fishing.is-fishing-pressured .documentary-game__instruction {
  opacity: 0;
}

.documentary-game__fishing-feedback {
  top: 14.5vh;
  right: 5vw;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 180ms ease, transform 280ms cubic-bezier(.16, 1, .3, 1);
}

.documentary-game__fishing-feedback strong {
  color: var(--game-mint);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 9px;
  font-weight: 520;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.is-fishing.show-fishing-feedback .documentary-game__fishing-feedback {
  opacity: .82;
  transform: translateY(0);
}

.documentary-game__bycatch {
  bottom: 9.4vh;
  left: 4.8vw;
  display: grid;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(.16, 1, .3, 1);
}

.documentary-game__bycatch strong {
  max-width: 470px;
  font-size: clamp(45px, 4.25vw, 68px);
  line-height: .9;
}

.documentary-game__bycatch span {
  width: max-content;
  border-top: 1px solid rgba(184, 102, 83, .72);
  padding-top: 12px;
  color: var(--game-warm);
  font-size: 10px;
}

.show-bycatch .documentary-game__bycatch {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.show-bycatch .documentary-game__instruction {
  opacity: 0;
}

.documentary-game__trawl-copy {
  top: 14.5vh;
  bottom: auto;
  left: 4.45vw;
  max-width: 520px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 380ms cubic-bezier(.16, 1, .3, 1);
}

.documentary-game__trawl-copy strong {
  color: var(--game-mint);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 11px;
  font-weight: 520;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.documentary-game__trawl-copy strong::before {
  display: block;
  width: 118px;
  height: 1px;
  margin: 0 0 20px;
  content: "";
  background: rgba(175, 195, 187, .48);
}

.documentary-game__damage-evidence {
  top: 15.5vh;
  right: 5vw;
  bottom: auto;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1);
}

.documentary-game__damage-evidence strong {
  color: var(--game-mint);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 9px;
  font-weight: 520;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.is-trawling .documentary-game__trawl-copy {
  opacity: .96;
  transform: translateY(0);
}

.is-trawling.is-trawl-dragging .documentary-game__trawl-copy,
.is-trawling.is-trawl-settling .documentary-game__trawl-copy,
.is-trawling.is-trawl-silence .documentary-game__trawl-copy {
  opacity: 0;
  transform: translateY(-8px);
}

.is-trawling.show-trawl-evidence .documentary-game__damage-evidence {
  opacity: .82;
  transform: translateY(0);
}

.is-trawling .documentary-game__background {
  filter: saturate(.64) brightness(.78) contrast(.9) hue-rotate(-14deg);
  background:
    linear-gradient(180deg, rgba(49, 86, 80, .035) 0 42%, rgba(12, 47, 42, .11) 100%),
    url("assets/environment/seabed-arrival-r3.webp") center 52% / cover no-repeat;
  transform: scale(1.055) translate3d(0, -1.8%, 0);
}

.is-trawling .documentary-game__grade {
  background: linear-gradient(180deg, rgba(12, 47, 42, .045), rgba(3, 34, 31, .15));
}

.is-aftermath .documentary-game__background {
  filter: saturate(.6) brightness(.68) contrast(.92) hue-rotate(-14deg);
  background:
    linear-gradient(180deg, rgba(25, 61, 56, .07) 0 44%, rgba(3, 34, 31, .19) 100%),
    url("assets/environment/seabed-arrival-r3.webp") center 52% / cover no-repeat;
  transform: scale(1.06) translate3d(0, -1.8%, 0);
}

.is-aftermath .documentary-game__grade {
  background: linear-gradient(180deg, rgba(12, 47, 42, .08), rgba(3, 34, 31, .27));
}

.documentary-game__aftermath {
  bottom: 12vh;
  left: 5.9vw;
  display: grid;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 500ms ease 180ms, transform 620ms cubic-bezier(.16, 1, .3, 1) 180ms;
}

.documentary-game__aftermath strong {
  font-size: clamp(48px, 4.9vw, 78px);
  line-height: .9;
}

.documentary-game__aftermath span {
  color: var(--game-mint);
  font-size: 10px;
}

.documentary-game__aftermath span::before {
  width: 160px;
  margin: 0 0 20px;
}

.is-aftermath .documentary-game__aftermath {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.is-trawl-silence .documentary-game__label,
.is-trawl-silence .documentary-game__method {
  opacity: 0;
}

.documentary-game__tuna-hit {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: none;
  width: 164px;
  height: 108px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.is-aftermath .documentary-game__tuna-hit:not([hidden]) {
  display: block;
}

.documentary-game__tuna-hit:focus-visible {
  outline: none;
}

.documentary-game__method {
  right: 5vw;
  bottom: 5.2vh;
  margin: 0;
  color: rgba(175, 195, 187, .58);
  font-size: 8px;
}

.is-handoff-visible .documentary-game__instruction,
.is-handoff-visible .documentary-game__fishing-feedback,
.is-handoff-visible .documentary-game__bycatch,
.is-handoff-visible .documentary-game__trawl-copy,
.is-handoff-visible .documentary-game__damage-evidence,
.is-handoff-visible .documentary-game__aftermath,
.is-handoff-visible .documentary-game__label,
.is-handoff-visible .documentary-game__method,
.is-handoff-visible .documentary-game__tuna-hit {
  opacity: 0 !important;
  visibility: hidden;
}

.is-tuna-selected .documentary-game__aftermath,
.is-tuna-selected .documentary-game__method {
  opacity: 0;
}

/* Scene 07 / Tuna perspective — Figma 1058:2 */
.tuna-perspective {
  --scene07-paper: #f6f4ec;
  --scene07-mist: #b8ccc4;
  --scene07-deep: #041f1d;
  position: relative;
  display: none;
  height: 830vh;
  min-height: 6500px;
  overflow: visible;
  background: var(--scene07-deep);
  color: var(--scene07-paper);
}

.tuna-perspective.is-active {
  display: block;
}

.tuna-perspective.is-active .tuna-perspective__stage {
  position: fixed;
  z-index: 40;
}

.tuna-perspective__stage {
  --camera-x: 0px;
  --camera-y: 0px;
  --camera-scale: 1;
  --camera-roll: 0deg;
  --aftermath-opacity: 1;
  --open-ocean-opacity: 0;
  --ascent-light: 0;
  --grade-focus: .025;
  --grade-edge: .12;
  --grade-seabed: .1;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--scene07-deep);
}

.tuna-perspective__aftermath-ocean,
.tuna-perspective__open-ocean,
.tuna-perspective__canvas,
.tuna-perspective__grade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tuna-perspective__aftermath-ocean,
.tuna-perspective__open-ocean {
  z-index: -3;
  inset: -15%;
  width: 130%;
  height: 130%;
  background-position: center 48%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(var(--camera-x), var(--camera-y), 0) scale(var(--camera-scale)) rotate(var(--camera-roll));
  transform-origin: 62% 42%;
  will-change: transform, opacity;
}

.tuna-perspective__aftermath-ocean {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: var(--aftermath-opacity);
  background-position: center 52%;
  background-image:
    linear-gradient(180deg, rgba(25, 61, 56, .07) 0 44%, rgba(3, 34, 31, .19) 100%),
    url("assets/environment/seabed-arrival-r3.webp");
  filter: saturate(.6) brightness(.68) contrast(.92) hue-rotate(-14deg);
  transform: translate3d(var(--camera-x), var(--camera-y), 0) scale(calc(var(--camera-scale) * 1.06)) rotate(var(--camera-roll)) translate3d(0, -1.8%, 0);
  transform-origin: 50% 50%;
}

.tuna-perspective__open-ocean {
  opacity: var(--open-ocean-opacity);
  background-image:
    linear-gradient(180deg, rgba(18, 66, 61, .09), rgba(2, 25, 23, .28)),
    url("assets/game/approved-ocean-continuity.png");
  filter: saturate(.7) brightness(.82) contrast(.94) hue-rotate(-10deg);
}

.tuna-perspective__canvas {
  z-index: -2;
  display: block;
}

.tuna-perspective__grade {
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 62% 38%, rgba(141, 180, 168, var(--grade-focus)), transparent 44%),
    linear-gradient(180deg, transparent 63%, rgba(12, 47, 42, var(--grade-seabed)) 100%),
    radial-gradient(circle at 50% 27%, transparent 0 38%, rgba(12, 47, 42, .025) 72%, rgba(3, 34, 31, var(--grade-edge)) 100%);
}

.tuna-perspective[data-scene07-state^="transition-"] .tuna-perspective__copy {
  bottom: 12vh;
  left: 5.9vw;
  width: min(720px, 62vw);
}

.tuna-perspective[data-scene07-state^="transition-"] .tuna-perspective__headline {
  font-size: clamp(48px, 4.9vw, 78px);
  line-height: .9;
}

.tuna-perspective[data-scene07-state="transition-follow-lock"] .tuna-perspective__headline,
.tuna-perspective[data-scene07-state="follow"] .tuna-perspective__headline {
  font-size: clamp(80px, 6.75vw, 100px);
  line-height: .86;
}

.tuna-perspective__index,
.tuna-perspective__copy,
.tuna-perspective__microcopy {
  position: absolute;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}

.tuna-perspective__index {
  top: 5.7vh;
  left: 3.8vw;
  color: rgba(184, 204, 196, .8);
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 10px;
  font-weight: 520;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tuna-perspective__copy {
  bottom: 10.7vh;
  left: 5.1vw;
  width: min(720px, 62vw);
}

.tuna-perspective__headline {
  margin: 0;
  color: var(--scene07-paper);
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-size: clamp(54px, 5.1vw, 78px);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: .94;
  text-transform: uppercase;
  text-wrap: balance;
}

.tuna-perspective__rule {
  width: 170px;
  height: 1px;
  margin: 27px 0 16px;
  background: rgba(184, 204, 196, .6);
}

.tuna-perspective__instruction,
.tuna-perspective__microcopy {
  color: var(--scene07-mist);
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 10px;
  font-weight: 520;
  letter-spacing: .17em;
  line-height: 1.45;
  text-transform: uppercase;
}

.tuna-perspective__microcopy {
  right: 4.8vw;
  bottom: 5.7vh;
  max-width: 460px;
  color: rgba(184, 204, 196, .66);
  text-align: right;
}

/* Scene 07 / approved rolling editorial production layer — Figma 1128:2 */
.tuna-perspective__index,
.tuna-perspective__copy,
.tuna-perspective__microcopy {
  visibility: hidden;
}

.tuna-perspective[data-scene07-state="transition-tuna-ready"] .tuna-perspective__copy,
.tuna-perspective[data-scene07-state="transition-subject-lock"] .tuna-perspective__copy,
.tuna-perspective[data-scene07-state="transition-camera-acquisition"] .tuna-perspective__copy {
  visibility: visible;
}

.tuna-perspective[data-scene07-state="transition-tuna-ready"] .tuna-editorial,
.tuna-perspective[data-scene07-state="transition-subject-lock"] .tuna-editorial,
.tuna-perspective[data-scene07-state="transition-camera-acquisition"] .tuna-editorial {
  opacity: 0;
}

.tuna-editorial {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  color: #f6f4ec;
  pointer-events: none;
  contain: layout paint style;
}

.tuna-editorial__item {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  will-change: transform, opacity;
}

.tuna-editorial__narrative,
.tuna-editorial__secondary {
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: balance;
}

.tuna-editorial__narrative {
  color: #f6f4ec;
  font-size: clamp(82px, 5.8vw, 104px);
  letter-spacing: -.013em;
  line-height: .91;
}

.tuna-editorial__narrative.tuna-editorial__compact {
  font-size: clamp(82px, 5.2vw, 94px);
  line-height: .93;
}

.tuna-editorial__narrative.tuna-editorial__restrained {
  color: rgba(246, 244, 236, .9);
  font-size: clamp(82px, 5vw, 88px);
}

.tuna-editorial__secondary {
  color: rgba(246, 244, 236, .64);
  font-size: clamp(36px, 2.65vw, 46px);
  letter-spacing: -.012em;
  line-height: 1.07;
}

.tuna-editorial__body {
  color: rgba(224, 232, 227, .9);
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.22vw, 21px);
  font-weight: 400;
  line-height: 1.45;
  text-wrap: pretty;
}

.tuna-editorial__body::before {
  display: block;
  width: 190px;
  max-width: 42%;
  height: 1px;
  margin: 0 0 22px;
  background: rgba(184, 204, 196, .48);
  content: "";
}

.tuna-editorial__taxonomy {
  color: rgba(130, 158, 148, .82);
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: clamp(11px, .78vw, 13px);
  font-weight: 520;
  letter-spacing: .085em;
  line-height: 1.55;
  text-transform: uppercase;
}

.tuna-editorial__quiet {
  color: rgba(184, 204, 196, .62);
}

.in-tuna-perspective > .site-header {
  opacity: 0;
  pointer-events: none;
}

body.in-tuna-perspective {
  scrollbar-width: none;
}

body.in-tuna-perspective::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.in-tuna-perspective .experiment.documentary-game-shell {
  pointer-events: none;
}

@media (max-width: 900px) {
  .tuna-perspective {
    height: 830vh;
  }

  .tuna-perspective__copy {
    bottom: 11vh;
    width: 86vw;
  }

  .tuna-perspective__headline {
    font-size: clamp(44px, 10vw, 64px);
  }

  .tuna-perspective__microcopy {
    display: none;
  }

  .tuna-editorial__narrative,
  .tuna-editorial__narrative.tuna-editorial__compact,
  .tuna-editorial__narrative.tuna-editorial__restrained {
    font-size: clamp(64px, 8.2vw, 82px);
  }

  .tuna-editorial__secondary {
    font-size: clamp(30px, 4vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tuna-perspective__aftermath-ocean,
  .tuna-perspective__open-ocean {
    will-change: opacity;
  }

  .tuna-editorial__item {
    will-change: opacity;
  }
}

/* Scene 08 / The Hope — approved V4 production promotion. */
.hope-scene {
  --hope-paper: #eeeadd;
  --hope-mist: #b3c7c0;
  --hope-muted: #789b92;
  --hope-ink: #082d2b;
  position: relative;
  display: none;
  min-height: 100dvh;
  overflow: visible;
  background: transparent;
  color: var(--hope-paper);
}

.hope-scene.is-active {
  display: block;
}

.hope-scene__stage {
  --hope-camera-x: 0px;
  --hope-camera-y: 0px;
  --hope-camera-scale: 1;
  --hope-camera-roll: 0deg;
  --hope-saturation: .7;
  --hope-brightness: .82;
  --hope-contrast: .94;
  --hope-hue: -10deg;
  --hope-grade-focus: .25;
  --hope-grade-edge: .22;
  --hope-grade-seabed: .28;
  position: fixed;
  z-index: 41;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  overflow: clip;
  isolation: isolate;
  background: #041f1d;
  visibility: hidden;
  pointer-events: none;
}

.hope-scene[data-hope-owner="scene08"] .hope-scene__stage {
  visibility: visible;
}

.hope-scene__ocean,
.hope-scene__canvas,
.hope-scene__grade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hope-scene__ocean {
  z-index: -3;
  inset: -15%;
  width: 130%;
  height: 130%;
  background-image:
    linear-gradient(180deg, rgba(18, 66, 61, .09), rgba(2, 25, 23, .28)),
    url("assets/game/approved-ocean-continuity.png");
  background-position: center 48%;
  background-size: cover;
  background-repeat: no-repeat;
  filter:
    saturate(var(--hope-saturation))
    brightness(var(--hope-brightness))
    contrast(var(--hope-contrast))
    hue-rotate(var(--hope-hue));
  transform:
    translate3d(var(--hope-camera-x), var(--hope-camera-y), 0)
    scale(var(--hope-camera-scale))
    rotate(var(--hope-camera-roll));
  transform-origin: 62% 42%;
}

.hope-scene__canvas {
  z-index: -2;
  display: block;
}

.hope-scene__grade {
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 62% 38%, rgba(141, 180, 168, var(--hope-grade-focus)), transparent 44%),
    linear-gradient(180deg, transparent 63%, rgba(12, 47, 42, var(--hope-grade-seabed)) 100%),
    radial-gradient(circle at 50% 27%, transparent 0 38%, rgba(12, 47, 42, .025) 72%, rgba(3, 34, 31, var(--hope-grade-edge)) 100%);
}

.hope-scene__editorial {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hope-scene__beat {
  --beat-opacity: 0;
  --beat-x: 0px;
  --beat-y: 18px;
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: var(--beat-opacity);
  transform: translate3d(var(--beat-x), var(--beat-y), 0);
  will-change: transform, opacity;
}

.hope-scene__beat h2 {
  position: absolute;
  max-width: min(66rem, 72vw);
  margin: 0;
  color: var(--hope-paper);
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-size: clamp(66px, 5.7vw, 107px);
  font-weight: 400;
  letter-spacing: -.027em;
  line-height: .92;
  text-transform: uppercase;
  text-wrap: balance;
}

.hope-scene__micro,
.hope-scene__actions {
  position: absolute;
  margin: 0;
  color: var(--hope-muted);
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: clamp(11px, .73vw, 13px);
  font-weight: 560;
  letter-spacing: .055em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hope-scene__micro { top: 5.8vh; left: 4vw; }

.hope-scene__secondary {
  position: absolute;
  margin: 0;
  color: var(--hope-mist);
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-size: clamp(31px, 2.55vw, 46px);
  font-weight: 400;
  line-height: .98;
  opacity: .62;
  text-transform: uppercase;
}

.hope-scene__beat--00 h2 { top: 64vh; left: 4.6vw; }
.hope-scene__beat--01 h2 { top: 58vh; left: 4.4vw; }
.hope-scene__beat--02 h2 { top: 64vh; left: 4.2vw; }
.hope-scene__beat--02 .hope-scene__secondary { top: 13vh; right: 7vw; }
.hope-scene__beat--03 h2 { top: 60vh; left: 4vw; }
.hope-scene__beat--03 .hope-scene__secondary { top: 19vh; right: 7vw; }
.hope-scene__beat--04 h2 { top: 61vh; left: 4vw; }
.hope-scene__beat--05 h2 { top: 60vh; left: 4vw; }
.hope-scene__beat--05 .hope-scene__secondary { top: 18vh; right: 8vw; }
.hope-scene__beat--06 h2 { top: 8vh; left: 4vw; }
.hope-scene__beat--06 .hope-scene__micro { right: 8vw; left: auto; }

.hope-scene__beat--07,
.hope-scene__beat--07 h2,
.hope-scene__beat--07 .hope-scene__micro,
.hope-scene__beat--07 .hope-scene__actions {
  color: var(--hope-ink);
}

.hope-scene__beat--07 h2 {
  top: 36vh;
  left: 4vw;
  max-width: min(46rem, 48vw);
  font-size: clamp(61px, 5.35vw, 96px);
}

.hope-scene__beat--07 .hope-scene__secondary {
  top: 21vh;
  left: 61vw;
  color: #416860;
}

.hope-scene__actions {
  top: 84vh;
  left: 4vw;
  display: flex;
  gap: 2.4rem;
  pointer-events: none;
}

.hope-scene.is-final .hope-scene__actions {
  pointer-events: auto;
}

.hope-scene__actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  text-underline-offset: .4em;
}

.hope-scene__actions button:hover,
.hope-scene__actions button:focus-visible {
  text-decoration: underline;
}

.hope-scene__diagnostics {
  position: fixed;
  z-index: 5;
  right: 1rem;
  bottom: 1rem;
  display: none;
  gap: .75rem;
  color: #d8dfd9;
  font: .7rem/1.3 var(--font-mono, "Geist Mono", ui-monospace, monospace);
  letter-spacing: .06em;
  pointer-events: none;
}

.debug-mode .hope-scene__diagnostics { display: flex; }

.tuna-perspective.is-scene08-owned .tuna-perspective__stage {
  visibility: hidden;
}

body.in-hope-scene {
  scrollbar-width: none;
}

body.in-hope-scene::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (max-width: 820px) {
  .hope-scene__beat h2,
  .hope-scene__beat--07 h2 {
    top: 53vh;
    left: 6vw;
    max-width: 88vw;
    font-size: clamp(48px, 12vw, 80px);
  }

  .hope-scene__secondary { display: none; }
  .hope-scene__micro { left: 6vw; }
  .hope-scene__actions { top: 88vh; left: 6vw; gap: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hope-scene__beat { will-change: opacity; }
}

@media (max-width: 900px) {
  .experiment.documentary-game-shell {
    height: 180vh;
    min-height: 1200px;
  }

  .documentary-game__handoff-second {
    top: 48vh;
    left: 22vw;
  }

  .documentary-game__aftermath strong {
    font-size: clamp(42px, 8vw, 60px);
  }

  .documentary-game__method {
    right: auto;
    left: 5vw;
    bottom: 4vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .documentary-game__background,
  .documentary-game__grade,
  .documentary-game__handoff,
  .documentary-game__handoff h2,
  .documentary-game__instruction,
  .documentary-game__fishing-feedback,
  .documentary-game__bycatch,
  .documentary-game__trawl-copy,
  .documentary-game__damage-evidence,
  .documentary-game__aftermath,
  .documentary-game__canvas {
    transition-duration: 1ms !important;
  }
}

html[data-reduced-motion="reduce"] .ocean-continuum__image,
html[data-reduced-motion="reduce"] .info-window-shell {
  transition: none !important;
}

html[data-reduced-motion="reduce"] .descent-info-overlay,
html[data-reduced-motion="reduce"] .descent-info-overlay *,
html[data-reduced-motion="reduce"] .descent-info-overlay *::before,
html[data-reduced-motion="reduce"] .descent-info-overlay *::after {
  animation: none !important;
}

/* Phase 03 — seabed arrival. Environmental layers remain independently replaceable. */
.seabed-scroll {
  position: relative;
  z-index: 4;
  height: 700vh;
  background: #020b12;
}

.seabed-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #020b12;
}

.seabed-environment,
.seabed-layer,
.seabed-fog,
.seabed-vignette,
.seabed-scars,
.seabed-matter,
.seabed-life {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seabed-layer {
  background-position: center;
  background-size: cover;
  will-change: opacity, transform;
}

.seabed-layer--deep {
  z-index: 1;
  opacity: var(--seabed-deep-opacity, 1);
  background-image: url("assets/environment/descent-deep-r3.webp");
  transform: translate3d(0, var(--seabed-camera-y, 0), 0) scale(var(--seabed-camera-scale, 1.015));
}

.seabed-layer--far {
  z-index: 2;
  opacity: var(--seabed-far-opacity, 0);
  background-image: linear-gradient(180deg, rgba(1, 11, 19, .24), rgba(1, 11, 19, .04)), url("assets/environment/seabed-approach-r3.webp");
  transform: translate3d(0, calc(var(--seabed-camera-y, 0) * .64), 0) scale(calc(var(--seabed-camera-scale, 1.015) + .018));
}

.seabed-layer--mid {
  z-index: 3;
  opacity: var(--seabed-mid-opacity, 0);
  background-image: linear-gradient(180deg, rgba(1, 12, 20, .18), transparent 52%), url("assets/environment/seabed-arrival-r3.webp");
  transform: translate3d(0, calc(var(--seabed-camera-y, 0) * .34), 0) scale(calc(var(--seabed-camera-scale, 1.015) + .04));
}

.seabed-layer--near {
  z-index: 4;
  opacity: var(--seabed-near-opacity, 0);
  background-image: linear-gradient(180deg, transparent 36%, rgba(0, 8, 13, .22)), url("assets/environment/seabed-arrival-r3.webp");
  background-position: center 66%;
  transform: translate3d(0, calc(var(--seabed-camera-y, 0) * -.18), 0) scale(calc(var(--seabed-camera-scale, 1.015) + .082)) rotate(var(--seabed-turn, 0deg));
  transform-origin: 55% 70%;
}

.seabed-scars {
  z-index: 5;
  opacity: calc(var(--seabed-scar-opacity, 0) * .44);
  mix-blend-mode: multiply;
  transform: translate3d(0, 13%, 0) scale(1.08);
}

.seabed-scars i {
  position: absolute;
  width: 78vw;
  height: 8vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 7, 9, .75) 0 13%, rgba(9, 20, 20, .26) 26%, transparent 68%);
  filter: blur(4px);
}

.seabed-scars i:nth-child(1) { left: -18vw; top: 64%; transform: rotate(-9deg); }
.seabed-scars i:nth-child(2) { left: 25vw; top: 55%; transform: rotate(7deg) scale(.78); }
.seabed-scars i:nth-child(3) { left: 42vw; top: 76%; transform: rotate(-3deg) scale(.65); }

.seabed-fog--far {
  z-index: 6;
  opacity: var(--seabed-fog-opacity, .58);
  background: linear-gradient(180deg, rgba(2, 16, 28, .54), transparent 43%), radial-gradient(ellipse at 50% 40%, transparent 12%, rgba(1, 10, 16, .24) 84%);
}

.seabed-fog--near {
  z-index: 8;
  opacity: calc(var(--seabed-fog-opacity, .58) * .42);
  background: radial-gradient(ellipse at 17% 78%, rgba(98, 129, 116, .17), transparent 34%), radial-gradient(ellipse at 80% 70%, rgba(67, 105, 101, .14), transparent 38%);
  filter: blur(18px);
}

.seabed-matter { z-index: 9; opacity: var(--seabed-matter-opacity, .12); }
.seabed-matter i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(191, 209, 188, var(--o));
  filter: blur(.3px);
  animation: seabedMatter 8s ease-in-out infinite alternate;
}
.seabed-matter i:nth-child(1) { --x: 12%; --y: 35%; --s: 2px; --o: .36; }
.seabed-matter i:nth-child(2) { --x: 24%; --y: 72%; --s: 4px; --o: .18; animation-delay: -2s; }
.seabed-matter i:nth-child(3) { --x: 39%; --y: 51%; --s: 1px; --o: .45; animation-delay: -5s; }
.seabed-matter i:nth-child(4) { --x: 58%; --y: 28%; --s: 3px; --o: .2; animation-delay: -3s; }
.seabed-matter i:nth-child(5) { --x: 73%; --y: 64%; --s: 2px; --o: .34; animation-delay: -6s; }
.seabed-matter i:nth-child(6) { --x: 88%; --y: 44%; --s: 5px; --o: .13; animation-delay: -1s; }
.seabed-matter i:nth-child(7) { --x: 48%; --y: 85%; --s: 2px; --o: .25; animation-delay: -4s; }

.seabed-life { z-index: 10; opacity: var(--seabed-life-opacity, .13); }
.seabed-life i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(154, 180, 154, .72);
  box-shadow: 4px 1px 0 rgba(126, 157, 142, .32);
}
.seabed-life i:nth-child(1) { left: 15%; top: 68%; }
.seabed-life i:nth-child(2) { left: 74%; top: 59%; }
.seabed-life i:nth-child(3) { left: 86%; top: 78%; }

.seabed-vignette {
  z-index: 12;
  background: radial-gradient(ellipse at center, transparent 31%, rgba(0, 5, 10, .36) 100%);
}

.seabed-ui {
  position: absolute;
  z-index: 13;
  inset: 0;
  pointer-events: none;
  color: rgba(209, 224, 213, .84);
  font-family: var(--font-mono, ui-monospace, monospace);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.seabed-ui__index {
  position: absolute;
  top: clamp(2rem, 5.4vh, 4.8rem);
  left: clamp(1.5rem, 4.8vw, 5.5rem);
  margin: 0;
  font-size: 10px;
}
.seabed-ui__question {
  position: absolute;
  right: clamp(32px, 5vw, 96px);
  bottom: clamp(36px, 7vh, 88px);
  margin: 0;
  box-sizing: border-box;
  max-width: min(18rem, calc(100vw - clamp(64px, 10vw, 192px)));
  opacity: var(--seabed-question-opacity, 0);
  color: rgba(221, 231, 219, .9);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.3rem, 2.1vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-transform: none;
  transform: translate3d(0, calc((1 - var(--seabed-question-opacity, 0)) * 10px), 0);
}

@keyframes seabedMatter { to { transform: translate3d(10px, -16px, 0); } }

@media (max-width: 640px) {
  .seabed-scroll { height: 620vh; }
  .seabed-ui__question { left: 1.5rem; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .seabed-matter i { animation: none; }
  .seabed-layer { transition: none !important; }
}

/* Part I — research field notes */

.evidence-intro {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: 8vw;
  min-height: 100vh;
  padding: 16vh 7vw 11vh;
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(7, 16, 23, 0.12) 50%, transparent 50.04%),
    var(--paper);
  color: var(--ink);
}

.evidence-intro::before,
.evidence-intro::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: var(--line-dark);
}

.evidence-intro::before {
  left: 7vw;
}

.evidence-intro::after {
  right: 7vw;
}

.evidence-intro .eyebrow,
.research-note .eyebrow {
  color: #087d9c;
}

.evidence-intro h2 {
  max-width: 1100px;
  margin: 19px 0 0;
  font-size: clamp(62px, 8.4vw, 134px);
  font-weight: 670;
  line-height: 0.85;
  letter-spacing: -0.082em;
}

.evidence-intro h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(7, 16, 23, 0.48);
}

.evidence-intro > p {
  max-width: 360px;
  margin: 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
  color: rgba(7, 16, 23, 0.64);
  font-size: 13px;
  line-height: 1.65;
}

.evidence-scroll {
  position: relative;
  z-index: 5;
  height: 440vh;
  background: var(--paper);
  color: var(--ink);
}

.evidence-stage {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: var(--paper);
}

.evidence-stage__media {
  position: relative;
  overflow: hidden;
  background: #0a2129;
}

.evidence-stage__media::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 10, 14, 0.32), transparent 40%),
    linear-gradient(180deg, transparent 58%, rgba(1, 9, 13, 0.74));
}

.evidence-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.045);
  transition:
    opacity 0.7s ease,
    transform 1.4s var(--ease-out),
    visibility 0s linear 0.8s;
}

.evidence-photo.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}

.evidence-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.evidence-photo:nth-child(3) img {
  object-position: 50% 45%;
}

.evidence-photo figcaption {
  position: absolute;
  z-index: 5;
  right: 4vw;
  bottom: 5vh;
  left: 4vw;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.evidence-photo figcaption span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.evidence-stage__readout {
  position: absolute;
  z-index: 5;
  top: 12vh;
  right: 4vw;
  left: 4vw;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.evidence-stage__readout strong {
  color: #fff;
  font-weight: 560;
}

.evidence-stage__progress {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.evidence-stage__progress i {
  display: block;
  width: var(--evidence-progress, 0%);
  height: 100%;
  background: var(--danger);
  transition: width 0.15s linear;
}

.evidence-stage__notes {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line-dark);
  background:
    linear-gradient(90deg, transparent 13.9%, rgba(7, 16, 23, 0.1) 14%, transparent 14.1%),
    var(--paper);
}

.research-note {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 11% minmax(0, 1fr);
  align-content: center;
  gap: 5%;
  visibility: hidden;
  padding: 10vh 6vw 10vh 3vw;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.5s ease,
    transform 0.85s var(--ease-out),
    visibility 0s linear 0.85s;
}

.research-note.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.research-note.is-before {
  transform: translateY(-28px);
}

.research-note__index {
  padding-top: 3px;
  color: rgba(7, 16, 23, 0.36);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.research-note h3 {
  max-width: 660px;
  margin: 15px 0 20px;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 620;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.research-note p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(7, 16, 23, 0.64);
  font-size: 13px;
  line-height: 1.67;
}

.research-note dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin: 28px 0 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.research-note dl > div {
  padding: 15px 13px 15px 0;
}

.research-note dl > div + div {
  border-left: 1px solid var(--line-dark);
  padding-left: 13px;
}

.research-note dt {
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 650;
  letter-spacing: -0.06em;
}

.research-note dd {
  margin: 5px 0 0;
  color: rgba(7, 16, 23, 0.48);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-note blockquote {
  max-width: 520px;
  margin: 28px 0 0;
  border-left: 2px solid var(--danger);
  padding: 3px 0 3px 17px;
  color: rgba(7, 16, 23, 0.78);
  font-size: 16px;
  line-height: 1.45;
}

.research-note a {
  display: inline-block;
  margin-top: 25px;
  border-bottom: 1px solid rgba(7, 16, 23, 0.32);
  padding-bottom: 5px;
  color: rgba(7, 16, 23, 0.65);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.research-note a:hover {
  border-color: #087d9c;
  color: #087d9c;
}

.signal-list--paper span {
  border-color: rgba(7, 16, 23, 0.2);
  color: rgba(7, 16, 23, 0.62);
}

/* Seam between the report and the experiment */

.handoff {
  position: relative;
  z-index: 6;
  display: grid;
  min-height: 125vh;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 4%, rgba(109, 224, 219, 0.21), transparent 25%),
    linear-gradient(180deg, #dfe9e4 0%, #5e9898 20%, #16484d 48%, #061a20 78%, #041315 100%);
}

.handoff__wash {
  position: absolute;
  inset: 0;
  opacity: 0.27;
  background:
    repeating-linear-gradient(100deg, transparent 0 62px, rgba(255, 255, 255, 0.09) 63px 65px, transparent 66px 98px);
  filter: blur(6px);
  transform: translateY(var(--handoff-y, 0px));
}

.handoff__copy {
  position: relative;
  z-index: 2;
  width: min(1050px, 86vw);
  margin-top: 17vh;
  text-align: center;
}

.handoff .eyebrow {
  justify-content: center;
  color: rgba(207, 255, 244, 0.68);
}

.handoff__copy h2 {
  margin: 20px 0 27px;
  font-size: clamp(60px, 8.5vw, 132px);
  font-weight: 670;
  line-height: 0.84;
  letter-spacing: -0.082em;
}

.handoff__copy h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
}

.handoff__copy > p {
  max-width: 570px;
  margin: 0 auto;
  color: rgba(226, 248, 240, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.handoff__action {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(390px, 90vw);
  margin: 36px auto 0;
  border: 1px solid rgba(200, 255, 240, 0.55);
  padding: 14px 15px 14px 19px;
  color: #c8fff0;
  background: rgba(4, 19, 21, 0.2);
  text-align: left;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    transform 0.35s var(--ease-out);
}

.handoff__action:hover {
  color: #041315;
  background: #c8fff0;
  transform: translateY(-3px);
}

.handoff__action b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 400;
}

/* Part II — The Last Catch */

.experiment {
  --exp-ink: #04151a;
  --exp-mint: #d7fff7;
  --exp-paper: #f3f4ec;
  --exp-coral: #ff735f;
  --exp-line: rgba(215, 255, 247, 0.2);
  position: relative;
  z-index: 8;
  width: 100%;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  color: var(--exp-mint);
  background:
    radial-gradient(circle at 72% 24%, rgba(70, 188, 194, 0.12), transparent 28%),
    linear-gradient(180deg, #0d4149 0%, #062b36 42%, #041923 76%, #02080d 100%);
  transition: background 1.2s var(--ease-out);
}

.experiment.act-3,
.experiment.act-4 {
  background:
    radial-gradient(circle at 66% 15%, rgba(104, 157, 162, 0.09), transparent 30%),
    linear-gradient(180deg, #0b343c 0%, #072731 36%, #051820 63%, #02080d 100%);
}

.experiment.act-5 {
  background:
    radial-gradient(circle at 54% 10%, rgba(113, 137, 129, 0.05), transparent 23%),
    linear-gradient(180deg, #0a2023 0%, #061216 54%, #020608 100%);
}

.experiment.is-holding {
  animation: industrial-shake 0.12s linear infinite alternate;
}

.experiment__canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: none;
  touch-action: none;
}

.experiment__light {
  position: absolute;
  z-index: 0;
  inset: -15% -10% auto;
  height: 70%;
  opacity: 0.7;
  pointer-events: none;
  background:
    conic-gradient(
      from 175deg at 51% -8%,
      transparent 0 42deg,
      rgba(188, 255, 239, 0.08) 46deg 51deg,
      transparent 56deg 66deg,
      rgba(188, 255, 239, 0.05) 70deg 75deg,
      transparent 80deg
    );
  filter: blur(12px);
  animation: experiment-light 12s ease-in-out infinite alternate;
}

.experiment__shimmer {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 11%;
  opacity: 0.32;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(210, 255, 243, 0.17), transparent),
    repeating-linear-gradient(102deg, transparent 0 38px, rgba(216, 255, 246, 0.11) 39px 41px, transparent 42px 68px);
  filter: blur(3px);
  transform: skewY(-1deg);
}

.experiment__grain {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, #fff 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 80% 30%, #fff 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 30% 90%, #fff 0 0.6px, transparent 0.7px);
  background-size: 11px 13px, 17px 19px, 23px 29px;
}

.experiment__damage {
  position: absolute;
  z-index: 6;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 62%, transparent 0 20%, rgba(255, 62, 42, 0.18) 75%),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 100, 75, 0.05) 6px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}

.experiment__damage i {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: rgba(255, 115, 94, 0.5);
  transform: rotate(-3deg);
}

.experiment__damage i:nth-child(1) {
  top: 35%;
}

.experiment__damage i:nth-child(2) {
  top: 56%;
  transform: rotate(2deg);
}

.experiment__damage i:nth-child(3) {
  top: 77%;
  transform: rotate(-1deg);
}

.experiment.is-holding .experiment__damage {
  visibility: visible;
  opacity: var(--hold-progress, 0);
}

.experiment__header {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px 31px;
  pointer-events: none;
}

.experiment__header > div {
  display: flex;
  align-items: center;
  gap: 23px;
  pointer-events: auto;
}

.experiment__wordmark {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 0;
  color: var(--exp-mint);
  background: none;
  text-align: left;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.06em;
  cursor: pointer;
  pointer-events: auto;
}

.mark-dot {
  width: 9px;
  height: 9px;
  margin-top: 3px;
  border: 1px solid var(--exp-mint);
  border-radius: 50%;
  background: var(--exp-coral);
  box-shadow: inset 0 0 0 2px rgba(4, 19, 21, 0.7);
}

.experiment__wordmark small {
  display: block;
  margin-top: 4px;
  color: rgba(200, 255, 240, 0.53);
  font: 8px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
}

.experiment__quiet {
  display: flex;
  align-items: center;
  padding: 4px 0;
  color: rgba(200, 255, 240, 0.62);
  background: none;
  font: 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease;
}

.experiment__quiet:hover {
  color: var(--exp-mint);
}

.metrics {
  position: absolute;
  z-index: 11;
  top: 98px;
  right: 31px;
  width: 174px;
  padding: 0 10px 0 14px;
  background: linear-gradient(90deg, rgba(4, 25, 27, 0.08), rgba(4, 25, 27, 0.5));
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.metric {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--exp-line);
  padding: 11px 0 9px;
}

.metric:last-child {
  border-bottom: 1px solid var(--exp-line);
}

.metric span {
  color: rgba(200, 255, 240, 0.55);
  font: 8px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric strong {
  font: 500 18px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.06em;
}

.metric__line {
  position: relative;
  grid-column: 1 / -1;
  height: 1px;
  overflow: hidden;
  background: rgba(200, 255, 240, 0.11);
}

.metric__line i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 100%;
  background: var(--exp-mint);
  transition: width 0.55s var(--ease-out);
}

.metric__line--pressure i {
  width: 8%;
  background: var(--exp-coral);
}

.metric__line--capacity i {
  background: #a6cf85;
}

.experiment__stage {
  position: absolute;
  z-index: 9;
  inset: 0;
  pointer-events: none;
}

.experiment-panel {
  position: absolute;
  left: 4.4vw;
  bottom: 17vh;
  width: min(650px, 54vw);
  visibility: hidden;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.experiment-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: experiment-panel-enter 0.8s var(--ease-out) both;
}

.intro-panel,
.action-panel,
.choice-panel,
.trawl-panel {
  margin-left: -22px;
  padding: 18px 22px 20px;
  background: linear-gradient(
    90deg,
    rgba(2, 15, 18, 0.64),
    rgba(2, 15, 18, 0.28) 66%,
    transparent
  );
  backdrop-filter: blur(1.5px);
}

.action-panel.is-active,
.trawl-panel.is-active {
  pointer-events: none;
}

.action-panel .experiment-text-action,
.trawl-panel .experiment-text-action {
  pointer-events: auto;
}

.intro-panel {
  bottom: 15.5vh;
}

.experiment-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: rgba(200, 255, 240, 0.58);
  font: 9px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.experiment-eyebrow::before {
  display: block;
  width: 31px;
  height: 1px;
  content: "";
  background: var(--exp-coral);
}

.experiment-panel h1,
.experiment-panel h2 {
  margin: 0;
  color: var(--exp-paper);
  letter-spacing: -0.071em;
  text-wrap: balance;
}

.experiment-panel h1 {
  font-size: clamp(69px, 8.4vw, 132px);
  font-weight: 760;
  line-height: 0.75;
}

.experiment-panel h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(240, 241, 232, 0.8);
}

.experiment-panel h2 {
  font-size: clamp(38px, 4.15vw, 67px);
  font-weight: 720;
  line-height: 0.89;
}

.experiment-lead {
  margin: 29px 0 30px;
  color: rgba(231, 243, 234, 0.76);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.experiment-lead--compact {
  margin: 21px 0 23px;
  font-size: 13px;
}

.experiment-primary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 13px;
  min-width: 315px;
  border: 1px solid rgba(200, 255, 240, 0.44);
  padding: 13px 15px 13px 19px;
  color: var(--exp-mint);
  background: rgba(3, 23, 25, 0.27);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s var(--ease-out);
}

.experiment-primary:hover {
  border-color: var(--exp-mint);
  color: var(--exp-ink);
  background: var(--exp-mint);
  transform: translateY(-2px);
}

.experiment-primary span {
  font: 600 10px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.experiment-primary b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 400;
}

.experiment-text-action {
  display: flex;
  align-items: center;
  gap: 31px;
  border-bottom: 1px solid rgba(200, 255, 240, 0.44);
  padding: 9px 0;
  color: var(--exp-mint);
  background: none;
  font: 600 10px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s ease,
    padding 0.3s ease,
    border-color 0.25s ease;
}

.experiment-text-action:hover {
  padding-right: 10px;
  border-color: var(--exp-paper);
  color: var(--exp-paper);
}

.live-catch {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  width: 210px;
  margin: 0 0 21px;
  border-top: 1px solid var(--exp-line);
  border-bottom: 1px solid var(--exp-line);
  padding: 10px 0 13px;
}

.live-catch span,
.live-catch small,
.specimen-row span {
  color: rgba(200, 255, 240, 0.52);
  font: 8px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.live-catch strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--exp-coral);
  font: 400 41px/0.9 "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.09em;
}

.live-catch small {
  margin-top: 7px;
}

.live-catch small b {
  font-weight: 500;
}

.choice-panel {
  width: min(720px, 61vw);
}

.decision {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  max-width: 680px;
}

.hold-action,
.recovery-action {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid rgba(200, 255, 240, 0.25);
  padding: 15px;
  color: var(--exp-mint);
  background: rgba(2, 20, 22, 0.42);
  text-align: left;
  backdrop-filter: blur(9px);
  cursor: pointer;
  touch-action: none;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease;
}

.hold-action__fill {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: calc(var(--hold-progress, 0) * 100%);
  background:
    linear-gradient(180deg, rgba(255, 115, 94, 0.08), rgba(255, 70, 47, 0.7)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, 0.08) 11px 12px);
}

.hold-action:hover,
.recovery-action:hover {
  border-color: rgba(200, 255, 240, 0.66);
  background: rgba(8, 40, 40, 0.68);
  transform: translateY(-4px);
}

.hold-action:active {
  transform: scale(0.985);
}

.hold-action > span:not(.hold-action__fill),
.hold-action > b,
.recovery-action > span,
.recovery-action > b {
  color: rgba(200, 255, 240, 0.5);
  font: 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.hold-action strong,
.recovery-action strong {
  grid-column: 1 / -1;
  align-self: end;
  font-size: 16px;
}

.hold-action small,
.recovery-action small {
  max-width: 260px;
  color: rgba(200, 255, 240, 0.57);
  font-size: 9px;
  line-height: 1.4;
}

.hold-action > b,
.recovery-action > b {
  align-self: end;
  text-align: right;
}

.recovery-action::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: #baff9d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.recovery-action:hover::after {
  transform: scaleX(1);
}

.decision-result {
  max-width: 590px;
  border-top: 1px solid var(--exp-line);
  padding-top: 18px;
}

.decision-result[hidden] {
  display: none;
}

.decision-result > span {
  display: inline-block;
  padding: 7px 9px;
  color: var(--exp-ink);
  background: var(--exp-coral);
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.09em;
}

.decision-result.is-recovery > span {
  background: #baff9d;
}

.decision-result > p {
  max-width: 520px;
  margin: 14px 0 17px;
  color: rgba(240, 241, 232, 0.7);
  font-size: 12px;
  line-height: 1.55;
}

.impact-log {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin: 0 0 18px;
  border-top: 1px solid var(--exp-line);
  border-bottom: 1px solid var(--exp-line);
}

.impact-log > div {
  display: grid;
  gap: 7px;
  padding: 10px 12px 10px 0;
}

.impact-log > div + div {
  border-left: 1px solid var(--exp-line);
  padding-left: 12px;
}

.impact-log small {
  color: rgba(200, 255, 240, 0.46);
  font: 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impact-log strong {
  color: var(--exp-coral);
  font: 400 22px/1 "SFMono-Regular", Consolas, monospace;
}

.decision-result.is-recovery .impact-log strong {
  color: #baff9d;
}

.specimen-row {
  display: flex;
  width: min(360px, 100%);
  margin-bottom: 21px;
  border-top: 1px solid var(--exp-line);
  border-bottom: 1px solid var(--exp-line);
}

.specimen-row > div {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 10px 14px 10px 0;
}

.specimen-row > div + div {
  border-left: 1px solid var(--exp-line);
  padding-left: 14px;
}

.specimen-row strong {
  color: var(--exp-coral);
  font: 400 22px/1 "SFMono-Regular", Consolas, monospace;
}

.evidence-panel {
  right: 4.4vw;
  bottom: 13vh;
  width: auto;
}

.experiment-evidence {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.15fr);
  align-items: end;
  gap: 5.5vw;
}

.big-stat {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  max-width: 520px;
}

.big-stat > span {
  color: var(--exp-paper);
  font-size: clamp(105px, 14vw, 214px);
  font-weight: 720;
  line-height: 0.72;
  letter-spacing: -0.095em;
}

.big-stat sup {
  padding: 4px 0 0 8px;
  color: var(--exp-coral);
  font: 400 clamp(28px, 4vw, 62px)/1 "SFMono-Regular", Consolas, monospace;
}

.big-stat p {
  grid-column: 1 / -1;
  max-width: 380px;
  margin: 21px 0 0;
  color: rgba(240, 241, 232, 0.78);
  font: 10px/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experiment-evidence__notes {
  border-top: 1px solid rgba(200, 255, 240, 0.32);
}

.experiment-evidence__notes > div {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid rgba(200, 255, 240, 0.18);
  padding: 14px 0;
}

.experiment-evidence__notes span {
  color: var(--exp-coral);
  font: 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.experiment-evidence__notes strong {
  font-size: 13px;
}

.experiment-evidence__notes p {
  margin: 0;
  color: rgba(200, 255, 240, 0.53);
  font-size: 10px;
}

.experiment-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
  border-top: 1px solid rgba(200, 255, 240, 0.2);
  padding-top: 17px;
}

.experiment-source a {
  max-width: 540px;
  color: rgba(200, 255, 240, 0.56);
  font: 8px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.experiment-source a:hover {
  color: var(--exp-mint);
}

.experiment-primary--compact {
  min-width: 280px;
}

.ending-panel {
  top: 49%;
  bottom: auto;
  left: 50%;
  width: min(820px, 76vw);
  text-align: center;
  transform: translate(-50%, -50%);
}

.ending-panel.is-active {
  transform: translate(-50%, -50%);
  animation: experiment-ending 1.2s var(--ease-out) both;
}

.ending-panel .experiment-eyebrow {
  justify-content: center;
}

.ending-panel h2 {
  font-size: clamp(37px, 5.5vw, 80px);
}

.ending-line {
  margin: 20px 0 24px;
  color: rgba(240, 241, 232, 0.62);
  font: 400 clamp(15px, 1.6vw, 23px)/1.35 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.ending-line em {
  color: var(--exp-coral);
  font-style: normal;
}

.before-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 24px;
}

.before-after > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.before-after span {
  color: rgba(200, 255, 240, 0.44);
  font: 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
}

.before-after strong {
  font: 400 25px/1 "SFMono-Regular", Consolas, monospace;
}

.before-after i {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(200, 255, 240, 0.26);
}

.experiment-primary--pale {
  display: inline-grid;
  border-color: var(--exp-paper);
  color: var(--exp-ink);
  background: var(--exp-paper);
}

.interaction-hint {
  position: absolute;
  z-index: 11;
  bottom: 11.5vh;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(200, 255, 240, 0.68);
  font: 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
  pointer-events: none;
  animation: experiment-hint 2.2s ease-in-out infinite;
}

.interaction-hint:empty {
  display: none;
}

.interaction-hint::before {
  display: block;
  width: 13px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 8px;
  content: "";
}

.experiment-rail {
  position: absolute;
  z-index: 12;
  right: 30px;
  bottom: 27px;
  display: flex;
}

.experiment-rail button {
  position: relative;
  display: block;
  width: 66px;
  height: 37px;
  padding: 0;
  color: rgba(200, 255, 240, 0.36);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.experiment-rail button:disabled {
  opacity: 0.35;
  cursor: default;
}

.experiment-rail button:not(:disabled):hover,
.experiment-rail button.is-active {
  color: var(--exp-mint);
}

.experiment-rail button > span {
  position: absolute;
  top: 0;
  left: 0;
  font: 7px/1 "SFMono-Regular", Consolas, monospace;
}

.experiment-rail i {
  position: absolute;
  top: 3px;
  right: 0;
  left: 18px;
  display: block;
  height: 1px;
  background: currentColor;
}

.experiment-rail i::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  background: #0a2528;
}

.experiment-rail button.is-active i::before {
  border-color: var(--exp-coral);
  background: var(--exp-coral);
}

.experiment-rail strong {
  position: absolute;
  top: 17px;
  left: 0;
  opacity: 0;
  font: 500 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateY(3px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.experiment-rail button.is-active strong {
  opacity: 1;
  transform: translateY(0);
}

.tool-cursor {
  position: fixed;
  z-index: 30;
  top: -67px;
  left: -67px;
  display: grid;
  width: 134px;
  height: 134px;
  place-items: center;
  border: 1px solid rgba(200, 255, 240, 0.7);
  border-radius: 50%;
  opacity: 0;
  color: var(--exp-mint);
  font: 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.13em;
  pointer-events: none;
  transform: translate3d(-500px, -500px, 0);
  transition:
    opacity 0.18s ease,
    width 0.35s var(--ease-out),
    height 0.35s var(--ease-out);
  will-change: transform;
}

.tool-cursor.is-visible {
  opacity: 1;
}

.tool-cursor::before,
.tool-cursor::after {
  position: absolute;
  content: "";
  background: rgba(200, 255, 240, 0.35);
}

.tool-cursor::before {
  top: 12%;
  left: 50%;
  width: 1px;
  height: 76%;
}

.tool-cursor::after {
  top: 50%;
  left: 12%;
  width: 76%;
  height: 1px;
}

.tool-cursor span {
  position: relative;
  z-index: 1;
  padding: 5px;
  background: rgba(4, 19, 21, 0.7);
}

.tool-cursor.is-trawl {
  top: -28px;
  left: -62px;
  width: 124px;
  height: 56px;
  border-color: rgba(255, 115, 94, 0.75);
  border-radius: 3px;
  color: var(--exp-coral);
}

.research-overlay {
  position: absolute;
  z-index: 50;
  inset: 0;
  display: flex;
  justify-content: flex-end;
}

.research-overlay[hidden] {
  display: none;
}

.research-overlay__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 9, 11, 0.68);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.research-drawer {
  position: relative;
  z-index: 1;
  width: min(510px, 94vw);
  height: 100%;
  overflow-y: auto;
  padding: 29px 34px 36px;
  color: #132527;
  background: var(--exp-paper);
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.23);
  animation: experiment-drawer 0.65s var(--ease-out) both;
}

.research-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(19, 37, 39, 0.25);
  padding-bottom: 19px;
}

.research-drawer__head p {
  margin: 0;
  font: 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-drawer__head button {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(19, 37, 39, 0.4);
  border-radius: 50%;
  place-items: center;
  color: #132527;
  background: transparent;
  font-size: 19px;
  cursor: pointer;
}

.research-drawer h3 {
  margin: 42px 0 20px;
  font-size: clamp(33px, 4vw, 54px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.research-drawer > p {
  margin: 0 0 34px;
  color: rgba(19, 37, 39, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.research-drawer ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(19, 37, 39, 0.25);
  list-style: none;
}

.research-drawer li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(19, 37, 39, 0.2);
  padding: 17px 0 18px;
}

.research-drawer li > span {
  color: #cf4f3c;
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
}

.research-drawer li div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.research-drawer li a {
  color: rgba(19, 37, 39, 0.62);
  font: 7px/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.project-footer {
  position: relative;
  z-index: 9;
  display: flex;
  justify-content: space-between;
  padding: 28px 31px;
  color: rgba(200, 255, 240, 0.52);
  background: #020608;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.in-experiment > .site-header,
.in-atlas > .site-header {
  visibility: hidden;
  opacity: 0;
}

@keyframes experiment-panel-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes experiment-ending {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 30px));
  }
}

@keyframes experiment-drawer {
  from {
    transform: translateX(100%);
  }
}

@keyframes experiment-light {
  to {
    opacity: 0.45;
    transform: translateX(3%) scaleX(1.06);
  }
}

@keyframes experiment-hint {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -4px);
  }
}

@keyframes industrial-shake {
  from {
    transform: translate3d(-1px, 0, 0);
  }
  to {
    transform: translate3d(1px, 1px, 0);
  }
}

@media (max-width: 960px) {
  .evidence-intro {
    grid-template-columns: 1fr;
    align-content: end;
  }

  .evidence-intro > p {
    max-width: 560px;
  }

  .evidence-stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  }

  .research-note {
    padding-right: 4vw;
  }

  .experiment__header {
    padding: 21px;
  }

  .metrics {
    top: 86px;
    right: 21px;
    width: 145px;
  }

  .experiment-panel {
    left: 27px;
    width: min(640px, 69vw);
  }

  .evidence-panel {
    right: 27px;
    width: auto;
  }

  .experiment-evidence {
    grid-template-columns: 0.8fr 1fr;
    gap: 36px;
  }

  .experiment-evidence__notes > div {
    grid-template-columns: 65px 1fr;
  }

  .experiment-evidence__notes p {
    display: none;
  }
}

@media (max-width: 680px) {
  .evidence-intro {
    min-height: 88vh;
    padding: 14vh 20px 9vh;
  }

  .evidence-intro::before {
    left: 20px;
  }

  .evidence-intro::after {
    right: 20px;
  }

  .evidence-intro h2 {
    font-size: 15vw;
  }

  .evidence-scroll {
    height: 500vh;
  }

  .evidence-stage {
    grid-template-columns: 1fr;
    grid-template-rows: 42vh 1fr;
    min-height: 600px;
  }

  .evidence-stage__notes {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .evidence-stage__readout {
    top: 22px;
    right: 20px;
    left: 20px;
  }

  .evidence-photo figcaption {
    right: 20px;
    bottom: 18px;
    left: 20px;
    font-size: 8px;
  }

  .research-note {
    grid-template-columns: 24px 1fr;
    gap: 10px;
    padding: 4vh 20px 5vh 15px;
  }

  .research-note h3 {
    margin: 10px 0 13px;
    font-size: clamp(30px, 9.2vw, 44px);
  }

  .research-note p:not(.eyebrow) {
    font-size: 10px;
    line-height: 1.5;
  }

  .research-note dl,
  .research-note blockquote,
  .signal-list--paper {
    margin-top: 15px;
  }

  .research-note dl > div {
    padding: 9px 7px 9px 0;
  }

  .research-note dt {
    font-size: 19px;
  }

  .research-note dd {
    font-size: 6px;
  }

  .research-note blockquote {
    font-size: 12px;
  }

  .research-note a {
    margin-top: 14px;
    font-size: 6.5px;
  }

  .handoff {
    min-height: 110vh;
  }

  .handoff__copy {
    width: calc(100vw - 40px);
  }

  .handoff__copy h2 {
    font-size: 15vw;
  }

  .experiment {
    min-height: 600px;
  }

  .experiment__header {
    padding: 17px 16px;
  }

  .experiment__wordmark {
    font-size: 11px;
  }

  .experiment__wordmark small {
    font-size: 6.5px;
  }

  .experiment__header > div {
    gap: 12px;
  }

  .experiment__quiet:first-child {
    display: none;
  }

  .experiment__quiet {
    font-size: 7px;
  }

  .metrics {
    top: 68px;
    right: 16px;
    left: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: auto;
    padding: 0;
    border-top: 1px solid var(--exp-line);
    background: linear-gradient(180deg, rgba(4, 25, 27, 0.32), rgba(4, 25, 27, 0.08));
  }

  .metric {
    padding: 8px 8px 8px 0;
    border-top: 0;
  }

  .metric + .metric {
    border-left: 1px solid var(--exp-line);
    padding-left: 8px;
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .metric span {
    overflow: hidden;
    font-size: 6px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .metric strong {
    font-size: 13px;
  }

  .experiment-panel,
  .intro-panel {
    right: 16px;
    bottom: 20.5vh;
    left: 16px;
    width: auto;
  }

  .intro-panel,
  .action-panel,
  .choice-panel,
  .trawl-panel {
    margin-left: -10px;
    padding: 12px 10px 14px;
  }

  .experiment-panel h1 {
    font-size: clamp(59px, 20vw, 88px);
  }

  .experiment-panel h2 {
    max-width: 96%;
    font-size: clamp(34px, 10.4vw, 48px);
  }

  .experiment-eyebrow {
    margin-bottom: 12px;
    font-size: 7px;
  }

  .experiment-lead {
    margin: 18px 0 20px;
    font-size: 11px;
    line-height: 1.58;
  }

  .experiment-lead--compact {
    margin: 14px 0 16px;
    font-size: 9.5px;
  }

  .experiment-primary {
    width: 100%;
    min-width: 0;
  }

  .live-catch {
    width: 174px;
    margin-bottom: 13px;
    padding: 7px 0 9px;
  }

  .live-catch strong {
    font-size: 31px;
  }

  .choice-panel {
    bottom: 17.5vh;
  }

  .decision {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hold-action,
  .recovery-action {
    min-height: 84px;
    padding: 10px 12px;
  }

  .hold-action strong,
  .recovery-action strong {
    font-size: 13px;
  }

  .hold-action small,
  .recovery-action small {
    display: none;
  }

  .impact-log {
    margin-bottom: 12px;
  }

  .impact-log strong {
    font-size: 17px;
  }

  .specimen-row {
    margin-bottom: 13px;
  }

  .evidence-panel {
    bottom: 17.5vh;
  }

  .experiment-evidence {
    display: block;
  }

  .big-stat > span {
    font-size: clamp(94px, 30vw, 132px);
  }

  .big-stat p {
    max-width: 250px;
    margin-top: 12px;
    font-size: 7px;
  }

  .experiment-evidence__notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
  }

  .experiment-evidence__notes > div {
    display: block;
    padding: 9px 7px 9px 0;
  }

  .experiment-evidence__notes > div + div {
    border-left: 1px solid rgba(200, 255, 240, 0.18);
    padding-left: 7px;
  }

  .experiment-evidence__notes span {
    display: block;
    margin-bottom: 5px;
    font-size: 6px;
  }

  .experiment-evidence__notes strong {
    font-size: 9px;
  }

  .experiment-source {
    display: block;
    margin-top: 13px;
    padding-top: 10px;
  }

  .experiment-source a {
    display: block;
    margin-bottom: 11px;
    font-size: 5.5px;
  }

  .experiment-primary--compact {
    min-width: 0;
  }

  .ending-panel {
    top: 48%;
    right: 16px;
    left: 16px;
    width: auto;
    transform: translate(0, -50%);
  }

  .ending-panel.is-active {
    transform: translate(0, -50%);
    animation-name: experiment-ending-mobile;
  }

  .ending-panel h2 {
    font-size: clamp(32px, 9.3vw, 45px);
  }

  .ending-line {
    margin: 16px 0 20px;
    font-size: 11px;
  }

  .experiment-rail {
    right: 16px;
    bottom: 17px;
    left: 16px;
  }

  .experiment-rail button {
    flex: 1;
    width: auto;
  }

  .experiment-rail strong {
    display: none;
  }

  .interaction-hint {
    bottom: 12vh;
    font-size: 7px;
  }

  .tool-cursor {
    top: -48px;
    left: -48px;
    width: 96px;
    height: 96px;
  }

  .tool-cursor.is-trawl {
    top: -22px;
    left: -45px;
    width: 90px;
    height: 44px;
  }

  .research-drawer {
    padding: 21px 21px 30px;
  }

  .project-footer {
    flex-direction: column;
    gap: 14px;
    padding: 24px 20px;
  }
}

/* Phase 02A — Surface and continuous descent visual checkpoint */

html,
body {
  overflow-x: clip;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header--narrative {
  grid-template-columns: 1fr auto 1fr;
  padding: 26px clamp(34px, 4vw, 72px);
  color: #fff;
  mix-blend-mode: difference;
}

.site-header--narrative .sound-note {
  position: absolute;
  top: 32px;
  right: clamp(24px, 3.5vw, 72px);
  max-width: calc(100vw - clamp(48px, 7vw, 144px));
  white-space: nowrap;
  transform: none;
}

@media (min-width: 1600px) {
  .site-header--narrative .sound-note { right: 200px; }
  .seabed-ui__question { right: calc(96px + 64px); }
}

.site-header__scene {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.62;
}

.surface-scroll {
  position: relative;
  z-index: 3;
  height: 220vh;
  background: #0a6785;
}

.surface-scene {
  --surface-p: 0;
  --waterline: 58vh;
  --surface-title-opacity: 1;
  --surface-title-scale: 1;
  --surface-title-y: 0px;
  --surface-air-opacity: 1;
  --surface-water-opacity: 0.82;
  --surface-ray-opacity: 0;
  --surface-cue-opacity: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #c7e7eb;
  color: #071b24;
}

.surface-air {
  position: absolute;
  z-index: -4;
  inset: 0;
  opacity: var(--surface-air-opacity);
  background:
    radial-gradient(circle at 66% 19%, rgba(255, 255, 255, 0.96) 0 3%, transparent 18%),
    linear-gradient(180deg, #bcdde3 0%, #daebeb 49%, #b6d8dc 100%);
}

.surface-air__haze {
  position: absolute;
  right: -10%;
  bottom: 31%;
  left: -10%;
  height: 27%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.58));
  filter: blur(20px);
}

.surface-air__cloud {
  position: absolute;
  width: 42vw;
  height: 10vh;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(32px);
  animation: surface-cloud-drift 18s ease-in-out infinite alternate;
}

.surface-air__cloud--one {
  top: 11%;
  left: -8%;
}

.surface-air__cloud--two {
  top: 27%;
  right: -16%;
  width: 34vw;
  animation-duration: 24s;
}

@keyframes surface-cloud-drift {
  from { transform: translate3d(-12px, 0, 0); }
  to { transform: translate3d(24px, 5px, 0); }
}

.surface-title-block {
  position: absolute;
  z-index: 4;
  top: 19vh;
  right: 4.5vw;
  left: 4.5vw;
  opacity: var(--surface-title-opacity);
  transform: translate3d(0, var(--surface-title-y), 0) scale(var(--surface-title-scale));
  transform-origin: 50% 34%;
  text-align: center;
  will-change: transform, opacity;
}

.surface-kicker,
.surface-deck {
  margin: 0;
  font-size: 9px;
  font-weight: 560;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.surface-title-block h1 {
  margin: 12px 0 14px;
  color: #061b25;
  font-size: clamp(88px, 14.8vw, 238px);
  font-weight: 760;
  line-height: 0.73;
  letter-spacing: -0.088em;
  text-indent: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px rgba(255, 255, 255, 0.38);
}

.surface-deck {
  letter-spacing: 0.17em;
  opacity: 0.62;
}

.surface-water {
  position: absolute;
  z-index: -1;
  top: var(--waterline);
  right: 0;
  bottom: -4px;
  left: 0;
  min-height: 20vh;
  overflow: hidden;
  opacity: var(--surface-water-opacity);
  background:
    linear-gradient(180deg, rgba(109, 212, 225, 0.9) 0%, rgba(17, 132, 165, 0.96) 22%, #0b6c91 66%, #07516f 100%);
  box-shadow: inset 0 16px 34px rgba(255, 255, 255, 0.22);
}

.surface-water::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(224, 251, 255, 0.72) 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 78% 45%, rgba(190, 244, 251, 0.56) 0 0.7px, transparent 1.1px),
    radial-gradient(circle at 43% 72%, rgba(197, 245, 248, 0.4) 0 0.5px, transparent 0.9px);
  background-size: 31px 31px, 47px 47px, 23px 23px;
  animation: surface-particle-drift 11s linear infinite;
}

.surface-water__light {
  position: absolute;
  top: -18%;
  left: 12%;
  width: 78%;
  height: 42%;
  border-radius: 50%;
  opacity: 0.52;
  background: rgba(208, 251, 255, 0.42);
  filter: blur(40px);
}

.surface-water__rays {
  position: absolute;
  inset: -15% 0 0;
  opacity: var(--surface-ray-opacity);
  background:
    conic-gradient(from 178deg at 18% 0%, transparent 0 4deg, rgba(215, 252, 255, 0.16) 5deg 8deg, transparent 9deg 16deg),
    conic-gradient(from 174deg at 72% 0%, transparent 0 6deg, rgba(215, 252, 255, 0.1) 7deg 10deg, transparent 11deg 19deg);
  filter: blur(7px);
}

.surface-line {
  position: absolute;
  z-index: 7;
  top: var(--waterline);
  right: -8%;
  left: -8%;
  height: 11px;
  opacity: calc(1 - var(--surface-p) * 0.42);
  transform: translateY(-50%);
  filter: drop-shadow(0 5px 7px rgba(2, 55, 74, 0.32));
}

.surface-line::before,
.surface-line::after,
.surface-line i {
  position: absolute;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: rgba(239, 254, 255, 0.84);
  transform: skewX(-24deg);
}

.surface-line::after {
  top: 6px;
  opacity: 0.35;
  transform: skewX(20deg) scaleX(0.96);
}

.surface-line i:nth-child(1) { left: 8%; right: 58%; animation: surface-wave 4.8s ease-in-out infinite alternate; }
.surface-line i:nth-child(2) { left: 51%; right: 12%; opacity: 0.52; animation: surface-wave 6.4s -1s ease-in-out infinite alternate-reverse; }
.surface-line i:nth-child(3) { left: 31%; right: 42%; top: -5px; opacity: 0.36; animation: surface-wave 5.6s -.5s ease-in-out infinite alternate; }

@keyframes surface-wave {
  from { transform: translate3d(-18px, -1px, 0) skewX(-22deg) scaleY(0.7); }
  to { transform: translate3d(22px, 2px, 0) skewX(18deg) scaleY(1.15); }
}

@keyframes surface-particle-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(18px, -31px, 0); }
}

.trawler-placeholder {
  position: absolute;
  z-index: 6;
  top: calc(var(--waterline) - 16vw);
  left: 50%;
  width: min(48vw, 690px);
  min-width: 480px;
  transform: translate3d(-42%, 0, 0) scale(calc(1 - var(--trawler-camera-p, 0) * 0.08));
  transform-origin: 50% 78%;
  filter: drop-shadow(0 24px 16px rgba(2, 34, 48, 0.24));
  will-change: top, transform;
}

.trawler-placeholder svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.trawler-placeholder__body {
  transform-box: fill-box;
  transform-origin: 50% 82%;
  animation: trawler-buoyancy 4.9s ease-in-out infinite;
}

@keyframes trawler-buoyancy {
  0%, 100% { transform: translateY(-2px) rotate(-0.35deg); }
  50% { transform: translateY(4px) rotate(0.35deg); }
}

.trawler-placeholder__hull { fill: #22333a; stroke: #0b1b22; stroke-width: 4; }
.trawler-placeholder__deck { fill: #b8c0bd; stroke: #33454b; stroke-width: 3; }
.trawler-placeholder__cabin { fill: #e0ded3; stroke: #33454b; stroke-width: 3; }
.trawler-placeholder__bridge { fill: #c9cec8; }
.trawler-placeholder__window { fill: #214f61; opacity: 0.9; }
.trawler-placeholder__stern { fill: #6e7b79; stroke: #33454b; stroke-width: 3; }
.trawler-placeholder__rail,
.trawler-placeholder__mast,
.trawler-placeholder__rig { fill: none; stroke: #283b42; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.trawler-placeholder__rail { stroke-width: 2; }
.trawler-placeholder__gear { fill: none; stroke: #374b50; stroke-width: 5; }
.trawler-placeholder__wake { fill: none; stroke: rgba(240, 255, 255, 0.84); stroke-width: 6; stroke-linecap: round; }

.surface-meta {
  position: absolute;
  z-index: 9;
  right: 4vw;
  bottom: 4vh;
  left: 4vw;
  display: flex;
  justify-content: space-between;
  color: rgba(235, 253, 255, 0.76);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: var(--surface-title-opacity);
  mix-blend-mode: screen;
}

.surface-scroll-cue {
  position: absolute;
  z-index: 10;
  bottom: 4vh;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  opacity: var(--surface-cue-opacity);
  transform: translateX(-50%);
}

.surface-scroll-cue span {
  color: rgba(3, 25, 33, 0.72);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.surface-scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(3, 25, 33, 0.18);
}

.surface-scroll-cue b {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 22px;
  background: #061b25;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0% { transform: translateY(-22px); }
  55%, 100% { transform: translateY(42px); }
}

.descent-scroll {
  position: relative;
  z-index: 4;
  height: 920vh;
  background: #020b12;
}

.descent-scene {
  --descent-p: 0;
  --descent-color: 10 103 132;
  --descent-light: 1;
  --descent-rays: 1;
  --descent-near-fish: 1;
  --descent-far-fish: 0.7;
  --descent-particle-near: 0.2;
  --descent-particle-far: 0.42;
  --descent-fill: 0%;
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: rgb(var(--descent-color));
  color: #eefcff;
}

.descent-environment {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 138, 164, calc(0.22 * var(--descent-light))), transparent 46%),
    rgb(var(--descent-color));
}

.descent-light {
  position: absolute;
  top: -24%;
  left: 9%;
  width: 82%;
  height: 68%;
  border-radius: 50%;
  opacity: calc(0.78 * var(--descent-light));
  background: rgba(166, 241, 246, 0.42);
  filter: blur(68px);
  transform: translate3d(calc(var(--descent-p) * 4vw), calc(var(--descent-p) * -9vh), 0);
}

.descent-rays {
  position: absolute;
  inset: -18% -10% 0;
  opacity: calc(0.42 * var(--descent-rays));
  background:
    conic-gradient(from 176deg at 22% 0%, transparent 0 5deg, rgba(208, 252, 255, 0.26) 6deg 9deg, transparent 10deg 18deg),
    conic-gradient(from 181deg at 71% 0%, transparent 0 8deg, rgba(208, 252, 255, 0.17) 9deg 12deg, transparent 13deg 22deg);
  filter: blur(9px);
  transform: translateY(calc(var(--descent-p) * -8vh));
}

.descent-particles {
  position: absolute;
  inset: -8%;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(218, 251, 255, 0.78) 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 72% 32%, rgba(187, 240, 245, 0.58) 0 0.7px, transparent 1.1px),
    radial-gradient(circle at 38% 77%, rgba(208, 247, 249, 0.56) 0 0.55px, transparent 1px),
    radial-gradient(circle at 90% 83%, rgba(154, 223, 227, 0.45) 0 0.65px, transparent 1px);
  animation: descent-drift 17s linear infinite;
}

.descent-particles--near {
  opacity: var(--descent-particle-near);
  background-size: 37px 37px, 63px 63px, 29px 29px, 51px 51px;
  filter: blur(0.2px);
}

.descent-particles--far {
  opacity: var(--descent-particle-far);
  background-size: 83px 83px, 117px 117px, 71px 71px, 139px 139px;
  animation-duration: 29s;
  animation-direction: reverse;
  filter: blur(0.6px);
}

@keyframes descent-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(24px, -64px, 0); }
}

.descent-fish {
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--descent-p) * -8vh));
}

.descent-fish--near { opacity: var(--descent-near-fish); }
.descent-fish--far { opacity: var(--descent-far-fish); filter: blur(0.6px); transform: translateY(calc(var(--descent-p) * -4vh)) scale(0.72); }

.descent-fish i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 46px;
  height: 15px;
  border-radius: 64% 44% 44% 64%;
  background: rgba(1, 24, 35, 0.72);
  transform: scale(var(--s));
  box-shadow: inset -8px 0 rgba(103, 178, 188, 0.08);
  animation: fish-breathe 4.5s ease-in-out infinite alternate;
}

.descent-fish i::after {
  position: absolute;
  top: 50%;
  right: 91%;
  width: 13px;
  height: 18px;
  content: "";
  background: inherit;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  transform: translateY(-50%);
}

@keyframes fish-breathe {
  from { margin-left: -5px; }
  to { margin-left: 7px; }
}

.descent-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 8, 14, 0.32), transparent 32%, transparent 70%, rgba(0, 8, 14, 0.34)),
    linear-gradient(180deg, transparent 55%, rgba(0, 5, 10, calc(var(--descent-p) * 0.62)));
  box-shadow: inset 0 0 150px rgba(0, 4, 8, calc(0.14 + var(--descent-p) * 0.32));
}

.descent-label {
  position: absolute;
  z-index: 35;
  top: 12vh;
  left: 5vw;
  display: grid;
  gap: 7px;
  color: rgba(232, 252, 255, 0.66);
  text-transform: uppercase;
  pointer-events: none;
}

.descent-label span { font-size: 8px; letter-spacing: 0.2em; }
.descent-label strong { font-size: 10px; font-weight: 560; letter-spacing: 0.13em; }

.descent-meter {
  position: absolute;
  z-index: 38;
  top: 50%;
  right: 3vw;
  display: grid;
  grid-template-columns: 52px 2px;
  grid-template-rows: auto 1fr auto;
  gap: 10px 12px;
  height: 58vh;
  color: rgba(232, 252, 255, 0.62);
  transform: translateY(-50%);
  pointer-events: none;
}

.descent-meter__readout {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.descent-meter__readout span { color: #eafeff; font-size: 24px; font-weight: 350; letter-spacing: -0.05em; }
.descent-meter__readout small { margin-left: 3px; font-size: 8px; }

.descent-meter__track {
  grid-column: 2;
  grid-row: 1 / 4;
  width: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.descent-meter__track i {
  display: block;
  width: 100%;
  height: var(--descent-fill);
  background: linear-gradient(#b9f5fa, #60d6e2);
  box-shadow: 0 0 12px rgba(116, 232, 240, 0.7);
}

.descent-meter__top,
.descent-meter__bottom {
  grid-column: 1;
  align-self: end;
  font-size: 7px;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

.descent-meter__top { grid-row: 2; align-self: start; }
.descent-meter__bottom { grid-row: 3; }

.info-windows {
  position: absolute;
  z-index: 10;
  inset: 0;
}

.info-window-shell {
  --window-opacity: 0;
  --window-y: 0px;
  --window-depth-scale: 0.965;
  position: absolute;
  width: min(32vw, 430px);
  opacity: var(--window-opacity);
  transform: translate3d(0, var(--window-y), 0) scale(var(--window-depth-scale));
  transform-origin: center;
  will-change: transform, opacity;
}

.info-window-shell--left { left: 11vw; }
.info-window-shell--right { right: 12vw; }
.info-window-shell:nth-child(1) { top: 34vh; }
.info-window-shell:nth-child(2) { top: 47vh; }
.info-window-shell:nth-child(3) { top: 38vh; }
.info-window-shell:nth-child(4) { top: 51vh; }
.info-window-shell:nth-child(5) { top: 35vh; }
.info-window-shell:nth-child(6) { top: 49vh; }
.info-window-shell:nth-child(7) { top: 41vh; }

.info-window {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  width: 100%;
  min-height: 218px;
  border: 1px solid rgba(170, 227, 233, 0.22);
  border-radius: 2px;
  padding: 20px 22px 19px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(37, 91, 106, 0.3), rgba(2, 19, 29, 0.52)),
    rgba(3, 25, 36, 0.46);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 18px 52px rgba(0, 9, 16, 0.18),
    0 0 0 0 rgba(92, 220, 232, 0);
  color: #ecfbfd;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(0.78);
  -webkit-backdrop-filter: blur(16px) saturate(0.78);
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.info-window::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  opacity: 0.45;
  background: linear-gradient(90deg, transparent, rgba(181, 247, 251, 0.7), transparent);
}

.info-window:hover,
.info-window:focus-visible {
  border-color: rgba(181, 240, 244, 0.5);
  outline: none;
  background-color: rgba(18, 65, 80, 0.7);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 24px 58px rgba(0, 8, 14, 0.28),
    0 0 34px rgba(86, 218, 230, 0.2);
  transform: translateY(-4px) scale(1.04);
}

.info-window.is-current {
  border-color: rgba(173, 233, 238, 0.34);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 20px 56px rgba(0, 9, 16, 0.22),
    0 0 28px rgba(82, 211, 223, 0.1);
}

.info-window__index,
.info-window__cue,
.info-window__action {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-window__index { color: #8fe4ec; }
.info-window__cue { justify-self: end; color: rgba(218, 248, 250, 0.47); }

.info-window strong {
  grid-column: 1 / -1;
  display: block;
  margin: 31px 0 12px;
  max-width: 360px;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.info-window p {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 370px;
  color: rgba(224, 247, 249, 0.67);
  font-size: 11px;
  line-height: 1.5;
}

.info-window__action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  border-top: 1px solid rgba(192, 239, 242, 0.15);
  padding-top: 12px;
  color: rgba(224, 249, 250, 0.64);
}

.info-window__action b { color: #8fe4ec; font-size: 12px; font-weight: 400; }

.descent-info-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr min(47vw, 650px);
}

.descent-info-overlay[hidden] { display: none; }

.descent-info-overlay__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 11, 18, 0.28), rgba(1, 10, 17, 0.58)),
    rgba(2, 13, 21, 0.16);
  cursor: w-resize;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.descent-info-panel {
  position: relative;
  z-index: 1;
  grid-column: 2;
  height: 100vh;
  overflow: auto;
  border-left: 1px solid rgba(167, 227, 232, 0.26);
  background:
    radial-gradient(circle at 80% 8%, rgba(72, 175, 186, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(8, 44, 57, 0.92), rgba(2, 17, 27, 0.96));
  box-shadow: -34px 0 90px rgba(0, 6, 12, 0.35);
  color: #ecfafb;
  backdrop-filter: blur(22px) saturate(0.7);
  -webkit-backdrop-filter: blur(22px) saturate(0.7);
  animation: descent-panel-in 360ms var(--ease-out) both;
}

@keyframes descent-panel-in {
  from { opacity: 0; transform: translate3d(42px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.descent-info-panel__head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  border-bottom: 1px solid rgba(177, 228, 232, 0.18);
  padding: 0 34px;
  background: rgba(3, 25, 36, 0.72);
  backdrop-filter: blur(18px);
}

.descent-info-panel__head p {
  margin: 0;
  color: rgba(221, 247, 249, 0.62);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.descent-info-panel__head p span { color: #8fe4ec; }

.descent-info-panel__head button {
  padding: 10px 0 10px 18px;
  background: transparent;
  color: rgba(236, 250, 251, 0.76);
  font-size: 18px;
  cursor: pointer;
}

.descent-info-panel__head button span {
  margin-right: 8px;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.descent-info-panel__head button:hover,
.descent-info-panel__head button:focus-visible { color: #a8f1f5; outline: none; }

.descent-info-panel__body { padding: 48px 52px 64px; }

.descent-info-panel__status {
  margin: 0 0 18px;
  color: #81dbe4;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.descent-info-panel h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(42px, 4.5vw, 68px);
  font-weight: 470;
  line-height: 0.94;
  letter-spacing: -0.058em;
}

.descent-info-panel__visual {
  position: relative;
  height: 82px;
  margin: 42px 0 37px;
  border-top: 1px solid rgba(173, 228, 232, 0.16);
  border-bottom: 1px solid rgba(173, 228, 232, 0.16);
  overflow: hidden;
}

.descent-info-panel__visual::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(131, 225, 232, 0.1), rgba(131, 225, 232, 0.7), rgba(131, 225, 232, 0.1));
}

.descent-info-panel__visual i {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid #81dbe4;
  border-radius: 50%;
  background: #0a3a49;
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(105, 222, 231, 0.42);
}

.descent-info-panel__visual i:nth-child(1) { left: 16%; }
.descent-info-panel__visual i:nth-child(2) { left: 51%; }
.descent-info-panel__visual i:nth-child(3) { right: 14%; }

.descent-info-panel__copy {
  display: grid;
  gap: 15px;
  max-width: 560px;
}

.descent-info-panel__copy p {
  margin: 0;
  color: rgba(231, 248, 249, 0.76);
  font-size: 14px;
  line-height: 1.68;
}

.descent-info-panel__source {
  margin: 42px 0 0;
  border-top: 1px solid rgba(174, 228, 232, 0.18);
}

.descent-info-panel__source div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(174, 228, 232, 0.13);
  padding: 15px 0;
}

.descent-info-panel__source dt {
  color: rgba(177, 229, 233, 0.5);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.descent-info-panel__source dd {
  margin: 0;
  color: rgba(231, 248, 249, 0.74);
  font-size: 11px;
  line-height: 1.5;
}

.descent-info-panel__link {
  display: inline-block;
  margin-top: 26px;
  border-bottom: 1px solid rgba(157, 229, 234, 0.4);
  padding-bottom: 6px;
  color: #9de9ed;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.descent-info-panel__link[hidden] { display: none; }

/* Phase 02A-R2 — locked cinematic environment + editorial interface */

.surface-scene {
  --surface-atmosphere-opacity: 1;
  --surface-environment-scale: 1;
  --surface-underwater-grade: 0;
  background: #071d28;
}

.surface-environment {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  background: #071d28;
}

.surface-environment__far,
.surface-environment__mid,
.surface-environment__near,
.surface-underwater,
.surface-waterline {
  position: absolute;
  right: 0;
  left: 0;
}

.surface-environment__far {
  inset: -4%;
  opacity: var(--surface-atmosphere-opacity);
  background: url("assets/environment/surface-atmosphere-r2.png") center 58% / cover no-repeat;
  filter: saturate(0.78) contrast(1.04) brightness(0.92);
  transform: scale(var(--surface-environment-scale));
  transform-origin: 50% 58%;
  will-change: transform, opacity;
}

.surface-environment__mid {
  inset: 0;
  opacity: var(--surface-atmosphere-opacity);
  background:
    radial-gradient(ellipse at 66% 18%, rgba(238, 249, 250, 0.34), transparent 32%),
    linear-gradient(180deg, rgba(7, 22, 31, 0.1), transparent 42%, rgba(2, 20, 28, 0.18));
  mix-blend-mode: screen;
}

.surface-environment__near {
  inset: 0;
  opacity: calc(0.24 + var(--surface-p) * 0.18);
  background:
    linear-gradient(90deg, rgba(5, 17, 24, 0.22), transparent 28%, transparent 68%, rgba(4, 15, 22, 0.2)),
    linear-gradient(180deg, transparent 54%, rgba(0, 18, 27, 0.3));
  box-shadow: inset 0 0 120px rgba(3, 14, 21, 0.18);
}

.surface-underwater {
  z-index: 2;
  top: var(--waterline);
  bottom: -5px;
  overflow: hidden;
  opacity: var(--surface-water-opacity);
  background: #07526a;
  box-shadow: inset 0 20px 48px rgba(193, 244, 247, 0.18);
}

.surface-underwater__plate,
.surface-underwater__light,
.surface-underwater__fog,
.surface-underwater__matter {
  position: absolute;
  inset: 0;
}

.surface-underwater__plate {
  inset: -8%;
  background: url("assets/environment/descent-ocean-r2.png") center 12% / cover no-repeat;
  filter:
    brightness(calc(0.92 - var(--surface-underwater-grade) * 0.2))
    saturate(calc(0.88 + var(--surface-underwater-grade) * 0.12));
  transform: translate3d(0, calc(var(--surface-p) * -3vh), 0) scale(1.08);
}

.surface-underwater__light {
  opacity: var(--surface-ray-opacity);
  background:
    radial-gradient(ellipse at 28% 0%, rgba(184, 242, 244, 0.34), transparent 43%),
    conic-gradient(from 172deg at 23% -12%, transparent 0 5deg, rgba(210, 249, 250, 0.2) 7deg 10deg, transparent 12deg 20deg);
  filter: blur(8px);
  mix-blend-mode: screen;
}

.surface-underwater__fog {
  background:
    radial-gradient(ellipse at 12% 70%, rgba(9, 75, 91, 0.42), transparent 50%),
    linear-gradient(180deg, rgba(5, 47, 61, 0.08), rgba(0, 18, 29, 0.38));
  mix-blend-mode: multiply;
}

.surface-underwater__matter i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(204, 236, 236, 0.5);
  filter: blur(0.5px);
  animation: r2-matter-rise 9s ease-in-out infinite alternate;
}

.surface-underwater__matter i:nth-child(1) { top: 17%; left: 9%; width: 2px; height: 2px; animation-delay: -2s; }
.surface-underwater__matter i:nth-child(2) { top: 42%; left: 27%; width: 5px; height: 5px; opacity: .22; animation-delay: -7s; }
.surface-underwater__matter i:nth-child(3) { top: 23%; left: 58%; opacity: .3; animation-delay: -4s; }
.surface-underwater__matter i:nth-child(4) { top: 69%; left: 71%; width: 2px; height: 2px; animation-delay: -8s; }
.surface-underwater__matter i:nth-child(5) { top: 36%; left: 86%; width: 6px; height: 6px; opacity: .14; animation-delay: -1s; }
.surface-underwater__matter i:nth-child(6) { top: 77%; left: 42%; width: 2px; height: 2px; opacity: .32; animation-delay: -5s; }

@keyframes r2-matter-rise {
  from { transform: translate3d(-4px, 13px, 0); }
  to { transform: translate3d(7px, -19px, 0); }
}

.surface-waterline {
  z-index: 8;
  top: var(--waterline);
  height: 18px;
  opacity: calc(1 - var(--surface-p) * 0.34);
  transform: translateY(-50%);
  filter: drop-shadow(0 8px 10px rgba(1, 22, 31, 0.34));
}

.surface-waterline::before,
.surface-waterline::after,
.surface-waterline i {
  position: absolute;
  right: -7%;
  left: -7%;
  height: 2px;
  content: "";
  background: rgba(227, 248, 248, 0.78);
  box-shadow: 0 2px 6px rgba(204, 245, 246, 0.42);
  transform: skewX(-20deg);
}

.surface-waterline::after { top: 7px; opacity: .28; transform: skewX(17deg) scaleX(.96); }
.surface-waterline i:nth-child(1) { right: 61%; left: 2%; top: -2px; animation: surface-wave 5.4s ease-in-out infinite alternate; }
.surface-waterline i:nth-child(2) { right: 8%; left: 58%; top: 2px; opacity: .5; animation: surface-wave 7.1s -1.4s ease-in-out infinite alternate-reverse; }
.surface-waterline i:nth-child(3) { right: 39%; left: 29%; top: 5px; opacity: .34; animation: surface-wave 6.2s -.7s ease-in-out infinite alternate; }

.surface-title-block {
  top: 17vh;
  text-shadow: 0 1px rgba(255, 255, 255, 0.25), 0 15px 50px rgba(2, 14, 20, 0.12);
}

.surface-kicker,
.surface-deck { color: rgba(7, 23, 31, 0.74); }

.surface-title-block h1 {
  color: #071923;
  font-size: clamp(90px, 14.4vw, 232px);
  font-weight: 730;
  letter-spacing: -0.078em;
}

.trawler-placeholder {
  top: calc(var(--waterline) - 14vw);
  width: min(50vw, 720px);
  min-width: 520px;
  filter:
    drop-shadow(0 22px 16px rgba(0, 13, 19, 0.32))
    drop-shadow(0 2px 1px rgba(255, 255, 255, 0.12));
}

.trawler-placeholder__hull { fill: url(#r2Hull); stroke: #0b151a; stroke-width: 3; }
.trawler-placeholder__keel { fill: #0b1115; opacity: .94; }
.trawler-placeholder__water-band { fill: #773b32; opacity: .72; }
.trawler-placeholder__deck { fill: #707a7d; stroke: #263238; stroke-width: 2; }
.trawler-placeholder__cabin { fill: url("#r2Cabin"); stroke: #2e3b40; stroke-width: 2.5; }
.trawler-placeholder__bridge { fill: #aab1af; stroke: rgba(31, 46, 52, .55); stroke-width: 1.5; }
.trawler-placeholder__window { fill: url("#r2Window"); opacity: .95; }
.trawler-placeholder__stern { fill: #535e61; stroke: #28343a; stroke-width: 2.5; }
.trawler-placeholder__stack { fill: #353d40; stroke: #182126; stroke-width: 2.5; }
.trawler-placeholder__rail,
.trawler-placeholder__mast,
.trawler-placeholder__rig,
.trawler-placeholder__gantry { fill: none; stroke: #263238; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.trawler-placeholder__rail { stroke-width: 1.6; }
.trawler-placeholder__gear { fill: #293238; stroke: #718084; stroke-width: 4; }
.trawler-placeholder__lamp { fill: #e5d8a9; stroke: #384247; stroke-width: 2; }
.trawler-placeholder__wake { fill: none; stroke: rgba(231, 249, 249, 0.68); stroke-width: 5; stroke-linecap: round; }

.surface-meta { color: rgba(235, 248, 248, 0.8); text-shadow: 0 1px 14px rgba(0, 10, 16, 0.7); }
.surface-scroll-cue span { color: rgba(6, 22, 30, 0.78); }
.surface-scroll-cue i { background: rgba(6, 22, 30, 0.28); }

.descent-scene {
  --descent-grade: 0;
  --descent-light: 1;
  --descent-rays: 1;
  --descent-fish-mid: 0.58;
  --descent-fog: 0.18;
  --descent-matter: 0.18;
  --descent-far-y: 0vh;
  --descent-mid-y: 0vh;
  --descent-near-y: 0vh;
  background: #020b12;
}

.descent-environment {
  background: #020b12;
}

.background-ocean-far,
.background-ocean-mid,
.background-ocean-near,
.light-layer,
.fog-layer,
.fish-layer,
.matter-layer,
.descent-vignette {
  position: absolute;
  inset: 0;
}

.background-ocean-far {
  inset: -7%;
  background: url("assets/environment/descent-ocean-r2.png") center 40% / cover no-repeat;
  filter:
    brightness(calc(0.44 + var(--descent-light) * 0.54))
    saturate(calc(0.68 + var(--descent-light) * 0.3))
    contrast(calc(1.02 + var(--descent-grade) * 0.14));
  transform: translate3d(0, var(--descent-far-y), 0) scale(1.09);
  will-change: transform, filter;
}

.background-ocean-mid {
  inset: -10%;
  opacity: calc(0.34 - var(--descent-grade) * 0.19);
  background: url("assets/ocean.jpg") center 9% / cover no-repeat;
  filter: blur(5px) saturate(.74) contrast(1.08);
  mix-blend-mode: soft-light;
  transform: translate3d(0, var(--descent-mid-y), 0) scale(1.16);
}

.background-ocean-near {
  opacity: calc(0.14 + var(--descent-grade) * 0.68);
  background:
    radial-gradient(ellipse at 20% 15%, rgba(10, 96, 112, .05), transparent 45%),
    linear-gradient(180deg, rgba(1, 14, 22, .62), rgba(1, 10, 17, .74) 55%, rgba(0, 4, 9, .96));
  mix-blend-mode: multiply;
  transform: translate3d(0, var(--descent-near-y), 0) scale(1.04);
}

.light-layer {
  opacity: var(--descent-rays);
  mix-blend-mode: screen;
  filter: blur(10px);
  transform: translate3d(calc(var(--descent-p) * 2vw), calc(var(--descent-p) * -6vh), 0);
}

.light-layer::before,
.light-layer::after,
.light-layer i {
  position: absolute;
  content: "";
}

.light-layer::before {
  top: -28%;
  left: -8%;
  width: 74%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(178, 234, 236, .31), transparent 69%);
}

.light-layer::after {
  inset: -24% -8% 0;
  background:
    conic-gradient(from 174deg at 10% 0%, transparent 0 5deg, rgba(209, 246, 246, .18) 7deg 9deg, transparent 11deg 18deg),
    conic-gradient(from 177deg at 41% -5%, transparent 0 8deg, rgba(180, 233, 235, .12) 10deg 13deg, transparent 15deg 25deg);
}

.light-layer i:first-child {
  top: 9%;
  left: 4%;
  width: 27%;
  height: 2px;
  opacity: .42;
  background: linear-gradient(90deg, transparent, rgba(221, 250, 248, .7), transparent);
  transform: rotate(-7deg);
}

.light-layer i:last-child {
  top: 22%;
  left: 16%;
  width: 16%;
  height: 1px;
  opacity: .3;
  background: linear-gradient(90deg, transparent, #d9f5f3, transparent);
  transform: rotate(-7deg);
}

.fog-layer--back {
  opacity: calc(.16 + var(--descent-fog) * .42);
  background:
    radial-gradient(ellipse at 16% 58%, rgba(30, 105, 113, .38), transparent 48%),
    radial-gradient(ellipse at 82% 35%, rgba(5, 52, 65, .45), transparent 52%);
  filter: blur(32px);
  transform: translateX(calc(var(--descent-p) * 3vw));
}

.fog-layer--near {
  inset: -12%;
  opacity: var(--descent-fog);
  background:
    radial-gradient(ellipse at 9% 78%, rgba(1, 31, 42, .74), transparent 38%),
    radial-gradient(ellipse at 89% 64%, rgba(0, 18, 29, .85), transparent 44%);
  filter: blur(44px);
  transform: translate3d(calc(var(--descent-p) * -4vw), calc(var(--descent-p) * 3vh), 0) scale(1.12);
}

.fish-layer--mid {
  opacity: var(--descent-fish-mid);
  background:
    radial-gradient(ellipse at 41% 38%, rgba(91, 157, 159, .06), transparent 24%),
    radial-gradient(ellipse at 77% 57%, rgba(2, 25, 34, .1), transparent 22%);
  transform: translate3d(0, calc(var(--descent-p) * -5vh), 0);
}

.matter-layer { opacity: var(--descent-matter); }
.matter-layer i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  opacity: var(--o);
  background: rgba(191, 226, 225, .72);
  filter: blur(calc(var(--s) * .22));
  box-shadow: 0 0 calc(var(--s) * 3) rgba(161, 217, 219, .16);
  animation: r2-matter-rise 13s ease-in-out infinite alternate;
}
.matter-layer i:nth-child(2n) { animation-duration: 18s; animation-direction: alternate-reverse; }
.matter-layer i:nth-child(3n) { animation-duration: 22s; }

.descent-vignette {
  background:
    linear-gradient(90deg, rgba(0, 5, 10, .42), transparent 24%, transparent 73%, rgba(0, 5, 10, .5)),
    linear-gradient(180deg, transparent 46%, rgba(0, 5, 9, calc(.2 + var(--descent-grade) * .55)));
  box-shadow: inset 0 0 170px rgba(0, 3, 8, calc(.2 + var(--descent-grade) * .34));
}

.descent-grid {
  position: absolute;
  z-index: 7;
  inset: 0;
  opacity: calc(.42 - var(--descent-grade) * .12);
  color: rgba(206, 233, 232, .36);
  pointer-events: none;
}

.descent-grid::before,
.descent-grid::after,
.descent-grid i {
  position: absolute;
  content: "";
  background: rgba(184, 221, 220, .1);
}

.descent-grid::before { top: 14vh; right: 4vw; left: 4vw; height: 1px; }
.descent-grid::after { right: 4vw; bottom: 12vh; left: 4vw; height: 1px; }
.descent-grid i { top: 0; bottom: 0; width: 1px; }
.descent-grid i:nth-child(1) { left: 4vw; }
.descent-grid i:nth-child(2) { left: 25%; }
.descent-grid i:nth-child(3) { left: 50%; }
.descent-grid i:nth-child(4) { left: 75%; }
.descent-grid i:nth-child(5) { right: 4vw; }
.descent-grid i:nth-child(6) { top: 50%; right: 4vw; left: 4vw; width: auto; height: 1px; opacity: .44; }
.descent-grid span,
.descent-grid b {
  position: absolute;
  bottom: 9.5vh;
  font: 500 7px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .18em;
}
.descent-grid span { left: 4vw; }
.descent-grid b { right: 4vw; font-weight: 500; }

.descent-label { top: 9.5vh; left: 4vw; gap: 9px; }
.descent-label span { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 7px; }
.descent-label strong { font-size: 9px; letter-spacing: .18em; }

.descent-meter { right: 3.4vw; height: 56vh; }
.descent-meter__track { width: 1px; background: rgba(216, 239, 238, .18); }
.descent-meter__track i { background: #b6e4e2; box-shadow: 0 0 16px rgba(158, 225, 224, .42); }

.info-windows { z-index: 12; }
.info-window-shell { width: min(34vw, 448px); }
.info-window-shell--left { left: 8.5vw; }
.info-window-shell--right { right: 10.5vw; }
.info-window-shell:nth-child(1) { top: 31vh; }
.info-window-shell:nth-child(2) { top: 45vh; }
.info-window-shell:nth-child(3) { top: 35vh; }
.info-window-shell:nth-child(4) { top: 48vh; }
.info-window-shell:nth-child(5) { top: 32vh; }
.info-window-shell:nth-child(6) { top: 46vh; }
.info-window-shell:nth-child(7) { top: 37vh; }

.info-window {
  min-height: 210px;
  border: 0;
  border-top: 1px solid rgba(184, 224, 222, .3);
  border-right: 1px solid rgba(184, 224, 222, .14);
  border-bottom: 1px solid rgba(184, 224, 222, .18);
  border-left: 3px solid rgba(145, 215, 214, .48);
  border-radius: 0;
  padding: 18px 20px 17px;
  background:
    linear-gradient(90deg, rgba(5, 25, 33, .78), rgba(5, 31, 40, .42) 72%, rgba(6, 33, 42, .23)),
    rgba(1, 12, 19, .36);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025),
    0 22px 62px rgba(0, 6, 11, .2);
  backdrop-filter: blur(14px) saturate(.72);
  -webkit-backdrop-filter: blur(14px) saturate(.72);
}

.info-window::before {
  top: 13px;
  right: 13px;
  left: auto;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(177, 228, 226, .48);
  border-right: 1px solid rgba(177, 228, 226, .48);
  background: none;
}

.info-window::after {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 34px;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(156, 220, 218, .5) 0 2px, transparent 2px 5px);
}

.info-window:hover,
.info-window:focus-visible {
  border-top-color: rgba(201, 237, 235, .54);
  border-right-color: rgba(184, 229, 227, .28);
  border-bottom-color: rgba(184, 229, 227, .32);
  border-left-color: rgba(167, 232, 230, .86);
  background-color: rgba(12, 49, 59, .68);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .08),
    0 28px 70px rgba(0, 5, 10, .33),
    0 0 38px rgba(84, 188, 190, .16);
  transform: translateY(-4px) scale(1.04);
}

.info-window.is-current {
  border-left-color: rgba(161, 224, 222, .7);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 24px 66px rgba(0, 5, 11, .27), 0 0 32px rgba(77, 175, 180, .09);
}

.info-window__index,
.info-window__cue,
.info-window__action {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 7px;
  letter-spacing: .17em;
}
.info-window__index { color: #a5ddda; }
.info-window__cue { color: rgba(205, 232, 230, .46); }
.info-window strong {
  margin: 28px 0 12px;
  max-width: 390px;
  font-size: clamp(25px, 2.15vw, 33px);
  font-weight: 470;
  line-height: .98;
  letter-spacing: -.045em;
}
.info-window p { max-width: 385px; color: rgba(219, 239, 237, .7); font-size: 11px; line-height: 1.52; }
.info-window__action { margin-top: 21px; border-top-color: rgba(187, 225, 223, .14); color: rgba(215, 238, 236, .58); }
.info-window__action b { color: #a5ddda; }

.descent-info-overlay { grid-template-columns: 1fr min(45vw, 640px); }
.descent-info-overlay__backdrop {
  background: linear-gradient(90deg, rgba(0, 7, 12, .01), rgba(1, 11, 17, .19));
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}
.descent-info-panel {
  border-left-color: rgba(174, 224, 221, .32);
  background:
    radial-gradient(circle at 78% 7%, rgba(76, 151, 154, .13), transparent 30%),
    linear-gradient(145deg, rgba(4, 31, 40, .74), rgba(1, 14, 22, .84));
  box-shadow: -28px 0 80px rgba(0, 5, 10, .26);
  backdrop-filter: blur(18px) saturate(.72);
  -webkit-backdrop-filter: blur(18px) saturate(.72);
}
.descent-info-panel__head {
  min-height: 68px;
  border-bottom-color: rgba(181, 224, 221, .18);
  background: rgba(2, 21, 29, .7);
}
.descent-info-panel__head p,
.descent-info-panel__status,
.descent-info-panel__source dt,
.descent-info-panel__link { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.descent-info-panel__head p span,
.descent-info-panel__status,
.descent-info-panel__head button:hover,
.descent-info-panel__head button:focus-visible { color: #9ddad7; }
.descent-info-panel h2 { font-weight: 430; letter-spacing: -.052em; }
.descent-info-panel__visual { border-color: rgba(173, 222, 219, .15); }
.descent-info-panel__visual::before { background: linear-gradient(90deg, rgba(138, 211, 208, .08), rgba(138, 211, 208, .62), rgba(138, 211, 208, .08)); }
.descent-info-panel__visual i { border-color: #8fd2cf; background: #0b343e; box-shadow: 0 0 18px rgba(105, 208, 205, .34); }
.descent-info-panel__copy p { color: rgba(228, 242, 240, .77); }
.descent-info-panel__source { border-top-color: rgba(177, 221, 218, .18); }
.descent-info-panel__source div { border-bottom-color: rgba(177, 221, 218, .13); }
.descent-info-panel__link { color: #9ddad7; border-bottom-color: rgba(157, 218, 214, .42); }

.phase-boundary {
  position: relative;
  z-index: 50;
  border-top: 1px dashed rgba(101, 230, 255, 0.5);
  border-bottom: 1px dashed rgba(101, 230, 255, 0.5);
  padding: 10px 20px;
  background: #08151c;
  color: #65e6ff;
  font: 9px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-align: center;
}

.phase-boundary[hidden] { display: none; }

@media (max-width: 900px) {
  .surface-title-block h1 { font-size: 14vw; }
  .trawler-placeholder { left: 46%; min-width: 430px; width: 58vw; }
  .info-window-shell { width: min(43vw, 400px); }
  .info-window-shell--left { left: 5vw; }
  .info-window-shell--right { right: 7vw; }
  .descent-info-overlay { grid-template-columns: 1fr min(70vw, 650px); }
}

@media (max-width: 640px) {
  .site-header--narrative { grid-template-columns: auto 1fr; padding: 18px; }
  .site-header__scene { display: none; }
  .surface-scroll { height: 200vh; }
  .surface-scene,
  .descent-scene { min-height: 520px; }
  .surface-title-block { top: 25vh; }
  .surface-title-block h1 { font-size: 16.2vw; }
  .surface-kicker { font-size: 7px; }
  .surface-deck { display: none; }
  .trawler-placeholder { top: calc(var(--waterline) - 29vw); left: 38%; min-width: 420px; width: 95vw; }
  .surface-meta span:last-child { display: none; }
  .descent-scroll { height: 860vh; }
  .descent-label { top: 10vh; left: 20px; }
  .descent-label strong { display: none; }
  .descent-meter { right: 14px; height: 54vh; transform: translateY(-46%); }
  .info-window-shell,
  .info-window-shell--left,
  .info-window-shell--right { right: auto; left: 20px; width: calc(100vw - 74px); }
  .info-window { min-height: 200px; padding: 18px; }
  .info-window strong { font-size: 25px; }
  .descent-info-overlay { grid-template-columns: 1fr; }
  .descent-info-panel { grid-column: 1; width: 100%; }
  .descent-info-panel__head { padding: 0 20px; }
  .descent-info-panel__body { padding: 36px 24px 54px; }
  .descent-info-panel__source div { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .surface-air__cloud,
  .surface-water::after,
  .surface-line i,
  .surface-waterline i,
  .trawler-placeholder__body,
  .surface-scroll-cue b,
  .descent-particles,
  .descent-fish i,
  .surface-underwater__matter i,
  .fish-school,
  .matter-layer i {
    animation: none !important;
  }

  .info-window,
  .descent-info-panel {
    transition: none !important;
    animation: none !important;
  }
}

@keyframes experiment-ending-mobile {
  from {
    opacity: 0;
    transform: translate(0, calc(-50% + 30px));
  }
}

/* Global wayfinding and Knowledge Atlas */

[hidden] {
  display: none !important;
}

.global-tools {
  position: fixed;
  z-index: 118;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(207, 255, 240, 0.17);
  border-radius: 999px;
  background: rgba(2, 9, 13, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.35s,
    background 0.35s,
    transform 0.5s var(--ease-out),
    opacity 0.3s,
    visibility 0.3s;
}

.global-tools:hover {
  border-color: rgba(207, 255, 240, 0.38);
  background: rgba(2, 9, 13, 0.9);
  transform: translateY(-2px);
}

.global-tools a,
.global-tools button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(223, 255, 246, 0.78);
  background: transparent;
  font: 600 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s,
    background 0.25s;
}

.global-tools a:hover,
.global-tools button:hover,
.global-tools a:focus-visible,
.global-tools button:focus-visible {
  color: #071017;
  background: #cffff0;
  outline: 0;
}

.global-tools__surface span {
  font-size: 13px;
}

.global-tools__explore > span {
  display: grid;
  gap: 3px;
  width: 13px;
}

.global-tools__explore i {
  display: block;
  height: 1px;
  background: currentColor;
}

.global-tools__explore i:last-child {
  width: 8px;
  justify-self: end;
}

.site-index,
.atlas-sources {
  position: fixed;
  z-index: 190;
  inset: 0;
}

.site-index__backdrop,
.atlas-sources__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(0, 5, 8, 0.77);
  cursor: pointer;
  animation: atlas-fade 0.4s both;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-index__panel,
.atlas-sources__drawer {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(590px, 94vw);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #102222;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 118, 91, 0.19), transparent 28%),
    #e9ede6;
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.28);
  animation: atlas-drawer-enter 0.65s var(--ease-out) both;
}

.site-index__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 4vw, 54px);
}

.site-index__head,
.atlas-sources__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 34, 34, 0.2);
}

.site-index__head p,
.atlas-sources__head p {
  margin: 0;
  font: 600 8px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-index__head button,
.atlas-sources__head button {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 34, 34, 0.24);
  border-radius: 50%;
  place-items: center;
  color: #102222;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition:
    color 0.25s,
    background 0.25s,
    transform 0.35s var(--ease-out);
}

.site-index__head button:hover,
.atlas-sources__head button:hover {
  color: #fff;
  background: #102222;
  transform: rotate(90deg);
}

.site-index__panel > .eyebrow {
  margin-top: auto;
  padding-top: 50px;
  color: #cf4f3c;
}

.site-index__panel h2 {
  margin: 18px 0 36px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.site-index__panel nav {
  display: grid;
  border-top: 1px solid rgba(16, 34, 34, 0.22);
}

.site-index__panel nav a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border-bottom: 1px solid rgba(16, 34, 34, 0.18);
  transition:
    color 0.25s,
    padding 0.35s var(--ease-out);
}

.site-index__panel nav a:hover,
.site-index__panel nav a:focus-visible {
  padding-right: 8px;
  padding-left: 8px;
  color: #cf4f3c;
  outline: 0;
}

.site-index__panel nav span,
.site-index__panel nav small {
  font: 600 7px/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-index__panel nav span {
  color: #cf4f3c;
}

.site-index__panel nav strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.site-index__panel nav small {
  max-width: 164px;
  color: rgba(16, 34, 34, 0.55);
  text-align: right;
}

.site-index__note {
  max-width: 430px;
  margin: 36px 0 0;
  color: rgba(16, 34, 34, 0.62);
  font-size: 10px;
  line-height: 1.65;
}

.ending-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ending-actions .experiment-primary {
  width: auto;
}

.ending-reset {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(207, 255, 240, 0.28);
  color: rgba(223, 255, 246, 0.72);
  background: transparent;
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.ending-reset:hover,
.ending-reset:focus-visible {
  border-color: #cffff0;
  color: #071017;
  background: #cffff0;
  outline: 0;
}

.atlas-handoff {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  min-height: 78vh;
  overflow: hidden;
  color: #142627;
  background:
    linear-gradient(120deg, rgba(235, 238, 231, 0.98), rgba(226, 233, 226, 0.94)),
    #e8ebe5;
}

.atlas-handoff::before {
  position: absolute;
  top: -35%;
  right: -10%;
  width: 64vw;
  height: 64vw;
  border: 1px solid rgba(20, 38, 39, 0.09);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 7vw rgba(20, 38, 39, 0.018),
    0 0 0 15vw rgba(20, 38, 39, 0.014);
}

.atlas-handoff__current {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 78vh;
  padding: clamp(34px, 5vw, 72px);
  border-right: 1px solid rgba(20, 38, 39, 0.13);
  color: rgba(20, 38, 39, 0.55);
  font: 600 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
}

.atlas-handoff__current i {
  position: absolute;
  top: 72px;
  bottom: 72px;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, #cf4f3c 48%, transparent);
}

.atlas-handoff__current strong {
  color: #cf4f3c;
}

.atlas-handoff__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 920px;
  padding: clamp(42px, 7vw, 100px);
}

.atlas-handoff__copy h2 {
  max-width: 780px;
  margin: 22px 0 28px;
  font-size: clamp(48px, 6.3vw, 100px);
  line-height: 0.86;
  letter-spacing: -0.074em;
}

.atlas-handoff__copy h2 span {
  color: #cf4f3c;
}

.atlas-handoff__copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: rgba(20, 38, 39, 0.65);
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.7;
}

.atlas-handoff__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(390px, 100%);
  min-height: 58px;
  margin-top: 36px;
  padding: 0 18px;
  color: #f0f3ed;
  background: #142627;
  font: 600 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 0.3s,
    background 0.3s,
    transform 0.45s var(--ease-out);
}

.atlas-handoff__action:hover,
.atlas-handoff__action:focus-visible {
  color: #142627;
  background: #9af2dc;
  outline: 0;
  transform: translateX(6px);
}

.knowledge-atlas {
  --atlas-accent: #79f1d3;
  position: relative;
  z-index: 8;
  min-height: 100svh;
  overflow: hidden;
  color: #e6fff8;
  background:
    radial-gradient(circle at 75% 25%, rgba(50, 160, 144, 0.19), transparent 35%),
    linear-gradient(135deg, #07161b, #021014 62%, #02090d);
  isolation: isolate;
  transition: background 1s var(--ease-smooth);
}

.knowledge-atlas.atlas-topic-1 {
  --atlas-accent: #6edcff;
  background:
    radial-gradient(circle at 72% 32%, rgba(30, 151, 197, 0.2), transparent 34%),
    linear-gradient(135deg, #071924, #031017 64%, #02090d);
}

.knowledge-atlas.atlas-topic-2 {
  --atlas-accent: #ff927b;
  background:
    radial-gradient(circle at 79% 34%, rgba(232, 89, 63, 0.18), transparent 36%),
    linear-gradient(135deg, #1c1312, #071216 62%, #02090d);
}

.knowledge-atlas.atlas-topic-3 {
  --atlas-accent: #afaeff;
  background:
    radial-gradient(circle at 75% 25%, rgba(124, 111, 227, 0.22), transparent 36%),
    linear-gradient(135deg, #121426, #071118 64%, #02090d);
}

.knowledge-atlas.atlas-topic-4 {
  --atlas-accent: #ffd77e;
  background:
    radial-gradient(circle at 79% 28%, rgba(222, 174, 70, 0.19), transparent 35%),
    linear-gradient(135deg, #1a1710, #071217 64%, #02090d);
}

.knowledge-atlas.atlas-topic-5 {
  --atlas-accent: #a6f58f;
  background:
    radial-gradient(circle at 78% 27%, rgba(105, 194, 89, 0.2), transparent 36%),
    linear-gradient(135deg, #0d1a14, #061216 64%, #02090d);
}

.atlas-ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  opacity: 0.8;
}

.atlas-ambient::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(216, 255, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 255, 244, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%);
  mask-image: linear-gradient(to right, transparent, #000 55%);
}

.atlas-ambient i {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border: 1px solid color-mix(in srgb, var(--atlas-accent) 16%, transparent);
  border-radius: 50%;
  transition:
    border-color 1s,
    transform 1.2s var(--ease-smooth);
}

.atlas-ambient i:nth-child(1) {
  top: -28%;
  right: -8%;
}

.atlas-ambient i:nth-child(2) {
  right: 7%;
  bottom: -48%;
  transform: scale(1.26);
}

.atlas-ambient i:nth-child(3) {
  top: 32%;
  right: 24%;
  transform: scale(0.28);
  background: radial-gradient(circle, color-mix(in srgb, var(--atlas-accent) 12%, transparent), transparent 64%);
}

.atlas-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 clamp(24px, 3vw, 46px);
  border-bottom: 1px solid rgba(211, 255, 243, 0.13);
}

.atlas-header > div,
.atlas-header > div:first-child p {
  display: flex;
  align-items: center;
}

.atlas-header > div:first-child {
  gap: 12px;
}

.atlas-header__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--atlas-accent);
  box-shadow: 0 0 18px var(--atlas-accent);
  transition: background 0.8s;
}

.atlas-header p {
  gap: 16px;
  margin: 0;
  font: 650 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.13em;
}

.atlas-header small {
  color: rgba(214, 255, 244, 0.42);
  font: inherit;
}

.atlas-header > div:last-child {
  gap: 7px;
}

.atlas-header button,
.atlas-header a {
  display: grid;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(211, 255, 243, 0.17);
  color: rgba(224, 255, 247, 0.68);
  background: rgba(1, 9, 12, 0.18);
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.atlas-header button:hover,
.atlas-header button:focus-visible,
.atlas-header a:hover,
.atlas-header a:focus-visible {
  border-color: var(--atlas-accent);
  color: #061215;
  background: var(--atlas-accent);
  outline: 0;
}

.in-atlas > .global-tools {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.has-open-overlay > .site-header,
.has-open-overlay > .global-tools {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.atlas-shell {
  position: relative;
  display: grid;
  grid-template-rows: 60px minmax(0, 1fr);
  height: calc(100svh - 70px);
  min-height: 590px;
  padding: 0 clamp(24px, 3vw, 46px);
}

.atlas-topics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid rgba(211, 255, 243, 0.13);
}

.atlas-topics button {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-width: 0;
  padding: 0 14px 0 0;
  color: rgba(222, 255, 247, 0.38);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.45s;
}

.atlas-topics button span {
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
}

.atlas-topics button strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 530;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-topics button i {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--atlas-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.atlas-topics button:hover,
.atlas-topics button:focus-visible,
.atlas-topics button.is-active {
  color: #ecfff9;
  outline: 0;
}

.atlas-topics button.is-active i {
  transform: scaleX(1);
}

.atlas-stage {
  position: relative;
  min-height: 0;
}

.atlas-panel {
  position: absolute;
  inset: 0 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 86px);
  padding: clamp(26px, 4vh, 50px) clamp(0px, 2vw, 28px);
  opacity: 0;
  transform: translateX(34px);
  pointer-events: none;
}

.atlas-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: atlas-panel-enter 0.72s var(--ease-out) both;
  view-transition-name: atlas-panel;
}

.atlas-moving-back .atlas-panel.is-active {
  animation-name: atlas-panel-enter-back;
}

.atlas-panel__copy {
  max-width: 700px;
}

.atlas-kicker {
  margin: 0 0 16px;
  color: var(--atlas-accent);
  font: 650 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.8s;
}

.atlas-panel__copy h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 76px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.atlas-deck {
  max-width: 590px;
  margin: clamp(18px, 2.7vh, 30px) 0;
  color: rgba(224, 255, 247, 0.64);
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.64;
}

.atlas-deck strong {
  color: #e8fff9;
}

.atlas-source-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--atlas-accent) 55%, transparent);
  color: rgba(229, 255, 248, 0.72);
  font: 600 7px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    color 0.25s,
    border-color 0.25s;
}

.atlas-source-link:hover,
.atlas-source-link:focus-visible {
  border-color: var(--atlas-accent);
  color: var(--atlas-accent);
  outline: 0;
}

.atlas-source-link--second {
  margin-left: 16px;
}

.definition-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 590px;
  border-top: 1px solid rgba(211, 255, 243, 0.14);
  border-bottom: 1px solid rgba(211, 255, 243, 0.14);
}

.definition-pair > div {
  padding: 15px 18px 15px 0;
}

.definition-pair > div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(211, 255, 243, 0.14);
}

.definition-pair span,
.definition-pair p {
  display: block;
  margin: 0;
  color: rgba(220, 255, 246, 0.43);
  font: 600 7px/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.definition-pair strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 16px;
}

.definition-pair p {
  letter-spacing: 0;
  text-transform: none;
}

.stock-status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 590px;
  margin-top: 12px;
}

.stock-status-strip > div {
  padding-right: 10px;
}

.stock-status-strip strong {
  display: block;
  color: var(--atlas-accent);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.stock-status-strip span,
.stock-status-strip p {
  color: rgba(220, 255, 246, 0.4);
  font: 600 6px/1.4 "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
}

.stock-status-strip p {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  text-transform: none;
}

.balance-lab,
.footprint-observation,
.gear-stage,
.foodweb-lab,
.human-stage,
.policy-lab {
  position: relative;
  width: 100%;
  max-width: 620px;
  min-height: min(59vh, 540px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 246, 0.16);
  background: rgba(1, 10, 13, 0.44);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.balance-lab {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 42px);
}

.balance-lab__head,
.foodweb-lab__head,
.policy-lab__head,
.footprint-observation__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.balance-lab__head p,
.foodweb-lab__head p,
.policy-lab__head p,
.footprint-observation__meta {
  margin: 0;
  color: rgba(224, 255, 247, 0.54);
  font: 600 7px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.balance-lab__head output {
  color: var(--atlas-accent);
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.balance-lab__field {
  position: relative;
  height: 132px;
  border-bottom: 1px solid rgba(216, 255, 246, 0.2);
  background:
    linear-gradient(90deg, rgba(216, 255, 246, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(216, 255, 246, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

.balance-lab__pressure {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 54%;
  background: linear-gradient(to top, color-mix(in srgb, var(--atlas-accent) 76%, transparent), transparent);
  transition:
    width 0.15s,
    height 0.35s,
    background 0.35s;
}

.balance-lab__renewal {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 55%;
  border-left: 1px dashed #ff927b;
}

.balance-lab__renewal span {
  position: absolute;
  top: -5px;
  left: 8px;
  width: 110px;
  color: #ff927b;
  font: 600 6px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.balance-lab label {
  display: grid;
  gap: 13px;
  color: rgba(224, 255, 247, 0.52);
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balance-lab input {
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: var(--atlas-accent);
  cursor: ew-resize;
}

.balance-lab__result {
  padding-left: 13px;
  border-left: 2px solid var(--atlas-accent);
}

.balance-lab__result span,
.policy-output span {
  color: var(--atlas-accent);
  font: 650 7px/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.balance-lab__result p,
.policy-output p {
  margin: 8px 0 0;
  color: rgba(224, 255, 247, 0.67);
  font-size: 11px;
  line-height: 1.5;
}

.balance-lab > small,
.foodweb-lab > small,
.policy-lab > small {
  color: rgba(224, 255, 247, 0.34);
  font: 6.5px/1.5 "SFMono-Regular", Consolas, monospace;
}

.atlas-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 610px;
  margin: 26px 0;
  border-top: 1px solid rgba(216, 255, 246, 0.14);
  border-bottom: 1px solid rgba(216, 255, 246, 0.14);
}

.atlas-stat-row > div {
  padding: 15px 12px 15px 0;
}

.atlas-stat-row > div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(216, 255, 246, 0.14);
}

.atlas-stat-row strong,
.human-stat-grid strong,
.uk-statline strong {
  display: block;
  color: var(--atlas-accent);
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.atlas-stat-row span,
.human-stat-grid span,
.uk-statline span {
  display: block;
  margin-top: 7px;
  color: rgba(224, 255, 247, 0.45);
  font: 600 6.5px/1.35 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.atlas-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(216, 255, 246, 0.16);
  border-radius: 999px;
}

.atlas-toggle button {
  min-height: 31px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(224, 255, 247, 0.48);
  background: transparent;
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    color 0.25s,
    background 0.25s;
}

.atlas-toggle button.is-active {
  color: #061215;
  background: var(--atlas-accent);
}

.footprint-copy {
  max-width: 580px;
  margin-top: 16px;
  color: rgba(224, 255, 247, 0.62);
  font-size: 11px;
  line-height: 1.58;
}

.footprint-copy p {
  margin: 0;
}

.footprint-observation {
  min-height: min(60vh, 550px);
}

.footprint-observation__meta {
  position: absolute;
  z-index: 2;
  top: 25px;
  right: 25px;
  left: 25px;
}

.footprint-observation__meta strong {
  color: var(--atlas-accent);
}

.footprint-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(70, 196, 236, 0.14), transparent 36%),
    linear-gradient(rgba(195, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 242, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

.footprint-grid::after {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(110, 220, 255, 0.25);
  border-radius: 48% 52% 36% 64% / 48% 40% 60% 52%;
  content: "";
  animation: footprint-orbit 18s linear infinite;
}

.footprint-grid i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--l);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 220, 255, 0.82), transparent);
  transform: rotate(-24deg);
  transform-origin: left;
  animation: footprint-signal 3.7s var(--d) ease-in-out infinite;
}

.footprint-grid i::before {
  position: absolute;
  top: -2px;
  right: 31%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: #d9f8ff;
  box-shadow: 0 0 14px #6edcff;
}

.footprint-observation__scope {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  gap: 5px;
  padding-left: 13px;
  border-left: 2px solid var(--atlas-accent);
  font: 600 7px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footprint-observation__scope span {
  color: rgba(224, 255, 247, 0.44);
}

.gear-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 540px;
  margin-top: 24px;
  border-top: 1px solid rgba(216, 255, 246, 0.14);
  border-left: 1px solid rgba(216, 255, 246, 0.14);
}

.gear-selector button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 0 12px;
  border-right: 1px solid rgba(216, 255, 246, 0.14);
  border-bottom: 1px solid rgba(216, 255, 246, 0.14);
  color: rgba(224, 255, 247, 0.5);
  background: transparent;
  font-size: 9px;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.25s,
    background 0.25s;
}

.gear-selector button span {
  color: var(--atlas-accent);
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
}

.gear-selector button:hover,
.gear-selector button:focus-visible,
.gear-selector button.is-active {
  color: #061215;
  background: var(--atlas-accent);
  outline: 0;
}

.gear-selector button.is-active span {
  color: currentColor;
}

.gear-stage {
  padding: clamp(22px, 3vw, 38px);
}

.gear-card {
  display: grid;
  align-content: end;
  min-height: calc(min(59vh, 540px) - 105px);
  animation: atlas-detail-enter 0.55s var(--ease-out) both;
}

.gear-card h3 {
  margin: 0 0 14px;
  font-size: clamp(38px, 4.3vw, 66px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.gear-card > p:not(.atlas-kicker) {
  max-width: 520px;
  margin: 0 0 18px;
  color: rgba(224, 255, 247, 0.62);
  font-size: 11px;
  line-height: 1.55;
}

.gear-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid rgba(216, 255, 246, 0.14);
}

.gear-card dl div {
  padding: 13px 10px 0 0;
}

.gear-card dl div + div {
  padding-left: 10px;
  border-left: 1px solid rgba(216, 255, 246, 0.14);
}

.gear-card dt {
  margin-bottom: 6px;
  color: var(--atlas-accent);
  font: 600 6px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gear-card dd {
  margin: 0;
  color: rgba(224, 255, 247, 0.55);
  font-size: 9px;
  line-height: 1.45;
}

.gear-illustration {
  position: absolute;
  top: 26px;
  right: 26px;
  left: 26px;
  height: 38%;
  overflow: hidden;
  border: 1px solid rgba(255, 146, 123, 0.17);
  background:
    linear-gradient(rgba(255, 146, 123, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 146, 123, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

.gear-illustration i {
  position: absolute;
  display: block;
  border-color: var(--atlas-accent);
}

.gear-illustration--longline::before,
.gear-illustration--gillnet::before,
.gear-illustration--trawl::before,
.gear-illustration--purse::before {
  position: absolute;
  content: "";
}

.gear-illustration--longline::before {
  top: 34%;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--atlas-accent);
  transform: rotate(-4deg);
}

.gear-illustration--longline i {
  top: 35%;
  width: 1px;
  height: 50%;
  background: var(--atlas-accent);
  transform: rotate(7deg);
}

.gear-illustration--longline i:nth-child(1) { left: 18%; }
.gear-illustration--longline i:nth-child(2) { left: 39%; height: 36%; }
.gear-illustration--longline i:nth-child(3) { left: 61%; height: 48%; }
.gear-illustration--longline i:nth-child(4) { left: 82%; height: 31%; }

.gear-illustration--gillnet::before {
  inset: 16% 11%;
  opacity: 0.55;
  background:
    repeating-linear-gradient(45deg, transparent 0 13px, var(--atlas-accent) 14px 15px),
    repeating-linear-gradient(-45deg, transparent 0 13px, var(--atlas-accent) 14px 15px);
}

.gear-illustration--trawl::before {
  top: 16%;
  left: 15%;
  width: 68%;
  height: 65%;
  border-right: 1px solid var(--atlas-accent);
  border-bottom: 1px solid var(--atlas-accent);
  transform: skewX(-26deg);
  box-shadow: 28px 22px 45px rgba(255, 146, 123, 0.15);
}

.gear-illustration--purse::before {
  top: 15%;
  left: 22%;
  width: 54%;
  height: 60%;
  border: 1px solid var(--atlas-accent);
  border-radius: 48% 52% 51% 49% / 36% 41% 59% 64%;
  box-shadow: inset 0 -25px 40px rgba(255, 146, 123, 0.1);
}

.gear-stage__note {
  position: absolute;
  right: 26px;
  bottom: 18px;
  left: 26px;
  margin: 0;
  color: rgba(224, 255, 247, 0.3);
  font: 6px/1.4 "SFMono-Regular", Consolas, monospace;
}

.foodweb-caution {
  max-width: 560px;
  margin: 0;
  padding: 11px 13px;
  border-left: 2px solid var(--atlas-accent);
  color: rgba(224, 255, 247, 0.53);
  background: rgba(175, 174, 255, 0.06);
  font-size: 9px;
  line-height: 1.5;
}

.foodweb-lab {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: clamp(24px, 3vw, 38px);
}

.foodweb-lab__head span,
.policy-lab__head span {
  color: var(--atlas-accent);
  font: 600 6.5px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
}

.foodweb-stack {
  display: grid;
  gap: 6px;
}

.foodweb-stack button {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 246, 0.13);
  padding: 0 15px;
  color: rgba(224, 255, 247, 0.5);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s,
    transform 0.4s var(--ease-out);
}

.foodweb-stack button span {
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
}

.foodweb-stack button strong {
  font-size: 11px;
}

.foodweb-stack button i {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.foodweb-stack button:hover,
.foodweb-stack button:focus-visible,
.foodweb-stack button.is-active {
  border-color: var(--atlas-accent);
  color: #071215;
  background: var(--atlas-accent);
  outline: 0;
  transform: translateX(6px);
}

.foodweb-output,
.policy-output {
  min-height: 68px;
  padding: 12px 14px;
  border-left: 2px solid var(--atlas-accent);
  background: rgba(175, 174, 255, 0.06);
}

.foodweb-output span {
  color: var(--atlas-accent);
  font: 600 7px/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.foodweb-output p {
  margin: 7px 0 0;
  color: rgba(224, 255, 247, 0.63);
  font-size: 10px;
  line-height: 1.45;
}

.human-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 38px);
}

.human-view {
  animation: atlas-detail-enter 0.55s var(--ease-out) both;
}

.human-stat-grid,
.uk-statline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(216, 255, 246, 0.14);
  border-bottom: 1px solid rgba(216, 255, 246, 0.14);
}

.human-stat-grid > div,
.uk-statline > div {
  padding: 17px 10px 17px 0;
}

.human-stat-grid > div + div,
.uk-statline > div + div {
  padding-left: 10px;
  border-left: 1px solid rgba(216, 255, 246, 0.14);
}

.human-view > p {
  margin: 26px 0;
  color: rgba(224, 255, 247, 0.61);
  font-size: 11px;
  line-height: 1.6;
}

.uk-fleet-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(216, 255, 246, 0.14);
}

.uk-fleet-note strong {
  color: var(--atlas-accent);
  font-size: 40px;
  letter-spacing: -0.07em;
}

.uk-fleet-note p {
  max-width: 350px;
  margin: 0;
  color: rgba(224, 255, 247, 0.58);
  font-size: 9px;
  line-height: 1.5;
}

.uk-status {
  display: grid;
  gap: 8px;
}

.uk-status div {
  display: grid;
  grid-template-columns: 1fr 105px;
  align-items: center;
  gap: 12px;
}

.uk-status i {
  position: relative;
  display: block;
  height: 6px;
  background: rgba(216, 255, 246, 0.1);
}

.uk-status i::after {
  display: block;
  width: calc(var(--share) * 1%);
  height: 100%;
  content: "";
  background: var(--atlas-accent);
}

.uk-status span,
.human-view small,
.human-view > a {
  color: rgba(224, 255, 247, 0.45);
  font: 600 6.5px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.human-view > a {
  display: inline-block;
  margin-top: 12px;
  color: var(--atlas-accent);
}

.trace-route {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid rgba(216, 255, 246, 0.14);
}

.trace-route span {
  color: rgba(224, 255, 247, 0.63);
  font: 600 6px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.trace-route span:first-child {
  color: var(--atlas-accent);
}

.trace-route i {
  position: relative;
  flex: 1;
  height: 1px;
  margin: 0 6px;
  background: rgba(216, 255, 246, 0.22);
}

.trace-route i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(216, 255, 246, 0.45);
  border-right: 1px solid rgba(216, 255, 246, 0.45);
  content: "";
  transform: rotate(45deg);
}

.trace-note {
  margin: 10px 0 0;
  color: rgba(224, 255, 247, 0.3);
  font: 6px/1.5 "SFMono-Regular", Consolas, monospace;
}

.policy-lab {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.policy-grid button {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-content: center;
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 255, 246, 0.13);
  color: rgba(224, 255, 247, 0.47);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s,
    transform 0.4s var(--ease-out);
}

.policy-grid button:hover,
.policy-grid button:focus-visible,
.policy-grid button[aria-pressed="true"] {
  border-color: var(--atlas-accent);
  color: #071215;
  background: var(--atlas-accent);
  outline: 0;
  transform: translateY(-3px);
}

.policy-grid button span {
  font: 600 6px/1 "SFMono-Regular", Consolas, monospace;
}

.policy-grid button strong {
  font-size: 10px;
}

.policy-grid button small {
  grid-column: 2;
  margin-top: 5px;
  font-size: 7px;
  line-height: 1.35;
  opacity: 0.67;
}

.evidence-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 6px;
  height: 38px;
  border-bottom: 1px solid rgba(216, 255, 246, 0.2);
}

.evidence-stack i {
  height: 3px;
  background: var(--atlas-accent);
  opacity: 0.18;
  transform-origin: bottom;
  transition:
    height 0.6s var(--ease-out),
    opacity 0.3s;
}

.evidence-stack i.is-active {
  height: calc(10px + var(--stack-order, 1) * 6px);
  opacity: 0.9;
}

.atlas-controls {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 3vw, 46px);
  bottom: 0;
  left: clamp(24px, 3vw, 46px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  border-top: 1px solid rgba(211, 255, 243, 0.13);
}

.atlas-controls button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-height: 36px;
  color: rgba(224, 255, 247, 0.65);
  background: transparent;
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s,
    transform 0.35s var(--ease-out);
}

.atlas-controls button:last-child {
  justify-self: end;
}

.atlas-controls button:hover:not(:disabled),
.atlas-controls button:focus-visible:not(:disabled) {
  color: var(--atlas-accent);
  outline: 0;
  transform: translateX(-4px);
}

.atlas-controls button:last-child:hover:not(:disabled),
.atlas-controls button:last-child:focus-visible:not(:disabled) {
  transform: translateX(4px);
}

.atlas-controls button:disabled {
  cursor: default;
  opacity: 0.22;
}

.atlas-controls > div {
  display: grid;
  grid-template-columns: 24px 120px auto;
  align-items: center;
  gap: 10px;
  color: rgba(224, 255, 247, 0.6);
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.atlas-controls > div > span {
  color: var(--atlas-accent);
}

.atlas-controls > div > i {
  height: 1px;
  overflow: hidden;
  background: rgba(216, 255, 246, 0.17);
}

.atlas-controls > div > i b {
  display: block;
  width: 16.6667%;
  height: 100%;
  background: var(--atlas-accent);
  transform-origin: left;
  transition:
    width 0.7s var(--ease-out),
    background 0.8s;
}

.atlas-controls > div > strong {
  min-width: 88px;
  font-weight: 600;
}

.atlas-sources__drawer {
  padding: clamp(22px, 4vw, 52px);
}

.atlas-sources__drawer h2 {
  margin: 46px 0 24px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.atlas-sources__intro {
  max-width: 480px;
  margin: 0 0 32px;
  color: rgba(16, 34, 34, 0.66);
  font-size: 11px;
  line-height: 1.65;
}

.atlas-sources__drawer ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(16, 34, 34, 0.2);
  list-style: none;
}

.atlas-sources__drawer li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 34, 34, 0.16);
}

.atlas-sources__drawer li > span {
  padding-top: 3px;
  color: #cf4f3c;
  font: 700 7px/1 "SFMono-Regular", Consolas, monospace;
}

.atlas-sources__drawer li div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 16px;
}

.atlas-sources__drawer li strong {
  font-size: 11px;
}

.atlas-sources__drawer li p {
  grid-column: 1;
  margin: 0;
  color: rgba(16, 34, 34, 0.54);
  font: 6.5px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atlas-sources__drawer li a {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: rgba(16, 34, 34, 0.58);
  font: 600 6.5px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.atlas-sources__drawer li a:hover,
.atlas-sources__drawer li a:focus-visible {
  color: #cf4f3c;
  outline: 0;
}

.atlas-method-note {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid rgba(16, 34, 34, 0.2);
}

.atlas-method-note strong {
  color: #cf4f3c;
  font: 700 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atlas-method-note p {
  margin: 9px 0 0;
  color: rgba(16, 34, 34, 0.64);
  font-size: 10px;
  line-height: 1.55;
}

.project-footer div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.project-footer button {
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.project-footer a,
.project-footer button {
  transition: color 0.25s;
}

.project-footer a:hover,
.project-footer button:hover,
.project-footer a:focus-visible,
.project-footer button:focus-visible {
  color: #cffff0;
  outline: 0;
}

::view-transition-old(atlas-panel) {
  animation: atlas-view-out 0.38s var(--ease-smooth) both;
}

::view-transition-new(atlas-panel) {
  animation: atlas-view-in 0.7s var(--ease-out) both;
}

@keyframes atlas-panel-enter {
  from {
    opacity: 0;
    transform: translateX(36px);
    filter: blur(7px);
  }
}

@keyframes atlas-panel-enter-back {
  from {
    opacity: 0;
    transform: translateX(-36px);
    filter: blur(7px);
  }
}

@keyframes atlas-detail-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes atlas-view-out {
  to {
    opacity: 0;
    transform: translateX(-24px);
    filter: blur(6px);
  }
}

@keyframes atlas-view-in {
  from {
    opacity: 0;
    transform: translateX(36px);
    filter: blur(7px);
  }
}

@keyframes atlas-fade {
  from {
    opacity: 0;
  }
}

@keyframes atlas-drawer-enter {
  from {
    transform: translateX(100%);
  }
}

@keyframes footprint-signal {
  0%,
  100% {
    opacity: 0.2;
    transform: rotate(-24deg) scaleX(0.4);
  }
  50% {
    opacity: 1;
    transform: rotate(-24deg) scaleX(1);
  }
}

@keyframes footprint-orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .atlas-panel {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    gap: 30px;
  }

  .atlas-panel__copy h2 {
    font-size: clamp(38px, 5vw, 58px);
  }

  .atlas-panel__copy h2,
  .atlas-deck {
    max-width: 520px;
  }

  .atlas-source-link {
    margin-top: 14px;
  }
}

@media (max-width: 820px) {
  .global-tools {
    right: 14px;
    bottom: 14px;
  }

  .global-tools__surface {
    display: none !important;
  }

  .atlas-handoff {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .atlas-handoff__current {
    min-height: 72vh;
    padding: 28px 21px;
  }

  .atlas-handoff__current span,
  .atlas-handoff__current strong {
    writing-mode: vertical-rl;
  }

  .atlas-handoff__current i {
    top: 90px;
    bottom: 90px;
  }

  .atlas-handoff__copy {
    padding: 50px 28px;
  }

  .atlas-handoff__copy h2 {
    font-size: clamp(44px, 10vw, 76px);
  }

  .knowledge-atlas {
    min-height: 100svh;
    overflow: visible;
  }

  .atlas-header {
    min-height: 60px;
    padding: 0 18px;
  }

  .atlas-header small,
  .atlas-header > div:last-child button:first-of-type {
    display: none;
  }

  .atlas-shell {
    grid-template-rows: 56px auto;
    height: auto;
    min-height: calc(100svh - 60px);
    padding: 0 18px;
  }

  .atlas-topics {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .atlas-topics::-webkit-scrollbar {
    display: none;
  }

  .atlas-topics button {
    flex: 0 0 auto;
    min-width: 112px;
    padding-right: 0;
  }

  .atlas-stage {
    min-height: 860px;
  }

  .atlas-panel {
    position: absolute;
    inset: 0 0 74px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 34px 0 28px;
  }

  .atlas-panel__copy,
  .balance-lab,
  .footprint-observation,
  .gear-stage,
  .foodweb-lab,
  .human-stage,
  .policy-lab {
    max-width: none;
    justify-self: stretch;
  }

  .balance-lab,
  .footprint-observation,
  .gear-stage,
  .foodweb-lab,
  .human-stage,
  .policy-lab {
    min-height: 470px;
  }

  .atlas-controls {
    position: absolute;
    right: 18px;
    left: 18px;
  }
}

@media (max-width: 540px) {
  .site-index__panel,
  .atlas-sources__drawer {
    width: 100%;
  }

  .site-index__panel {
    padding: 22px;
  }

  .site-index__panel nav a {
    grid-template-columns: 30px 1fr;
  }

  .site-index__panel nav small {
    display: none;
  }

  .ending-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ending-actions .experiment-primary,
  .ending-reset {
    width: 100%;
  }

  .atlas-handoff {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .atlas-handoff__current {
    padding: 22px 14px;
  }

  .atlas-handoff__copy {
    padding: 46px 20px;
  }

  .atlas-handoff__copy h2 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .atlas-header {
    padding: 0 14px;
  }

  .atlas-header > div:last-child {
    display: flex;
  }

  .atlas-header > div:last-child button {
    display: none;
  }

  .atlas-shell {
    padding: 0 14px;
  }

  .atlas-stage {
    min-height: 900px;
  }

  .atlas-panel {
    inset: 0 0 68px;
    padding-top: 28px;
  }

  .atlas-panel__copy h2 {
    font-size: clamp(37px, 11.5vw, 54px);
  }

  .atlas-deck {
    font-size: 11px;
  }

  .definition-pair,
  .human-stat-grid,
  .uk-statline {
    grid-template-columns: 1fr;
  }

  .definition-pair > div + div,
  .human-stat-grid > div + div,
  .uk-statline > div + div {
    padding-left: 0;
    border-top: 1px solid rgba(216, 255, 246, 0.14);
    border-left: 0;
  }

  .atlas-stat-row strong,
  .human-stat-grid strong,
  .uk-statline strong {
    font-size: 30px;
  }

  .balance-lab,
  .footprint-observation,
  .gear-stage,
  .foodweb-lab,
  .human-stage,
  .policy-lab {
    min-height: 500px;
  }

  .gear-selector {
    grid-template-columns: 1fr;
  }

  .gear-card {
    min-height: 420px;
  }

  .gear-card dl,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .gear-card dl div + div {
    padding-left: 0;
    border-left: 0;
  }

  .foodweb-stack button {
    min-height: 50px;
  }

  .trace-route {
    overflow-x: auto;
  }

  .trace-route span {
    flex: 0 0 auto;
  }

  .trace-route i {
    flex: 0 0 24px;
  }

  .atlas-controls {
    right: 14px;
    left: 14px;
    grid-template-columns: 1fr auto 1fr;
  }

  .atlas-controls > div {
    grid-template-columns: 20px 54px;
  }

  .atlas-controls > div > strong {
    display: none;
  }

  .atlas-controls button strong {
    display: none;
  }

  .atlas-sources__drawer {
    padding: 22px;
  }

  .atlas-sources__drawer li div {
    grid-template-columns: 1fr;
  }

  .atlas-sources__drawer li a {
    grid-column: 1;
    grid-row: auto;
    margin-top: 7px;
  }

  .project-footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-panel.is-active,
  .gear-card,
  .human-view,
  .site-index__backdrop,
  .atlas-sources__backdrop,
  .site-index__panel,
  .atlas-sources__drawer,
  .footprint-grid i,
  .footprint-grid::after {
    animation: none !important;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.01ms !important;
  }
}

/* =====================================================
   V3 — VERIFIED BRIEFING, SIMULATION CLARITY, REFLECTION
===================================================== */

.evidence-photo figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.evidence-briefing {
  position: relative;
  z-index: 8;
  min-height: 100svh;
  padding: clamp(86px, 10vh, 128px) 5.5vw clamp(82px, 10vh, 124px);
  overflow: hidden;
  color: #071017;
  background:
    radial-gradient(circle at 88% 12%, rgba(20, 184, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #eef1ec 0%, #e5ebe7 100%);
}

.evidence-briefing::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 16, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 16, 23, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.briefing-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.58fr);
  gap: 7vw;
  align-items: end;
  max-width: 1480px;
  margin: 0 auto 55px;
}

.briefing-header h2 {
  max-width: 930px;
  margin: 13px 0 0;
  font-size: clamp(45px, 6.1vw, 94px);
  font-weight: 720;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.briefing-header > p {
  margin: 0;
  color: rgba(7, 16, 23, 0.62);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.65;
}

.briefing-shell {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  border: 1px solid rgba(7, 16, 23, 0.17);
  background: rgba(248, 250, 246, 0.78);
  box-shadow: 0 36px 80px rgba(4, 19, 26, 0.08);
  backdrop-filter: blur(16px);
}

.briefing-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(7, 16, 23, 0.14);
}

.briefing-tabs button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  border-right: 1px solid rgba(7, 16, 23, 0.12);
  padding: 18px 20px;
  color: rgba(7, 16, 23, 0.43);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
}

.briefing-tabs button:last-child {
  border-right: 0;
}

.briefing-tabs button:hover,
.briefing-tabs button:focus-visible,
.briefing-tabs button.is-active {
  color: #071017;
  background: rgba(20, 184, 255, 0.09);
  outline: 0;
}

.briefing-tabs span {
  color: #087daa;
  font: 700 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
}

.briefing-tabs strong {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.briefing-stage {
  position: relative;
  min-height: 500px;
}

.briefing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 500px;
  animation: briefing-enter 0.68s var(--ease-out) both;
}

.briefing-panel[hidden] {
  display: none;
}

.briefing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(7, 16, 23, 0.12);
  padding: clamp(36px, 5vw, 76px);
}

.briefing-kicker {
  margin: 0 0 21px;
  color: #087da7;
  font: 700 9px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.briefing-copy h3 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.briefing-copy > p:not(.briefing-kicker) {
  max-width: 690px;
  margin: 0 0 26px;
  color: rgba(7, 16, 23, 0.65);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.72;
}

.briefing-copy a,
.briefing-source-row a {
  width: max-content;
  max-width: 100%;
  border-bottom: 1px solid rgba(7, 16, 23, 0.28);
  padding-bottom: 6px;
  color: #071017;
  font: 700 9px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}

.briefing-copy a:hover,
.briefing-source-row a:hover {
  border-color: #087da7;
  color: #087da7;
}

.briefing-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.briefing-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  padding: clamp(32px, 4.4vw, 66px);
  background:
    radial-gradient(circle at 75% 25%, rgba(101, 230, 255, 0.22), transparent 31%),
    #061927;
  color: #fff;
}

.briefing-data > div {
  min-height: 128px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding: 20px 16px 18px 0;
}

.briefing-data > div:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  padding-left: 20px;
}

.briefing-data > div:nth-child(3) {
  grid-column: 1 / -1;
}

.briefing-data strong {
  display: block;
  font-size: clamp(45px, 5vw, 76px);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.briefing-data span {
  display: block;
  max-width: 190px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.57);
  font: 8px/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.briefing-data small {
  grid-column: 1 / -1;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.55;
}

.briefing-data--footprint {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 115, 95, 0.17), transparent 28%),
    #071820;
}

.briefing-data--people {
  background:
    radial-gradient(circle at 77% 18%, rgba(186, 255, 157, 0.14), transparent 30%),
    #092029;
}

.briefing-data--recovery {
  background:
    radial-gradient(circle at 65% 15%, rgba(200, 255, 240, 0.14), transparent 30%),
    #0a292c;
}

.briefing-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  border-top: 1px solid rgba(7, 16, 23, 0.14);
}

.briefing-controls button {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 100%;
  padding: 0 22px;
  color: rgba(7, 16, 23, 0.7);
  background: transparent;
  font: 700 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.briefing-controls button:last-child {
  justify-content: flex-end;
}

.briefing-controls button:disabled {
  opacity: 0.25;
  cursor: default;
}

.briefing-controls > div {
  display: grid;
  grid-template-columns: auto 120px auto;
  align-items: center;
  gap: 12px;
  min-width: 290px;
  color: rgba(7, 16, 23, 0.62);
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.briefing-controls i {
  display: block;
  height: 1px;
  background: rgba(7, 16, 23, 0.16);
}

.briefing-controls i b {
  display: block;
  width: 25%;
  height: 100%;
  background: #087da7;
  transition: width 0.48s var(--ease-out);
}

@keyframes briefing-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.simulation-disclaimer {
  position: absolute;
  z-index: 12;
  top: 293px;
  right: 31px;
  width: 174px;
  margin: 0;
  color: rgba(215, 255, 247, 0.47);
  font: 7px/1.55 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
  pointer-events: none;
}

.ending-model-note {
  max-width: 510px;
  margin: -10px auto 22px;
  color: rgba(215, 255, 247, 0.46);
  font: 8px/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Reflection */

.reflection {
  --reflection-ink: #e9f6f3;
  --reflection-muted: rgba(233, 246, 243, 0.58);
  --reflection-line: rgba(233, 246, 243, 0.16);
  position: relative;
  z-index: 8;
  color: var(--reflection-ink);
  background: #02080d;
}

.reflection-hero {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 12vh 7vw;
  text-align: center;
  background:
    radial-gradient(circle at 50% 26%, rgba(34, 142, 157, 0.22), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(255, 115, 95, 0.08), transparent 32%),
    linear-gradient(180deg, #061821 0%, #02080d 72%);
}

.reflection-hero h2 {
  max-width: 1120px;
  margin: 18px 0 28px;
  font-size: clamp(52px, 8vw, 128px);
  font-weight: 690;
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.reflection-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--reflection-muted);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.7;
}

.reflection-down {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 46px;
  border-bottom: 1px solid var(--reflection-line);
  padding: 10px 0;
  color: rgba(233, 246, 243, 0.72);
  font: 700 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reflection-questions {
  min-height: 100svh;
  padding: 11vh 5.5vw;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #041119;
  background-size: 48px 48px;
}

.reflection-questions > header {
  max-width: 1240px;
  margin: 0 auto 54px;
}

.reflection-questions h3,
.reflection-recovery h3,
.reflection-leave h3 {
  max-width: 1040px;
  margin: 15px 0 0;
  font-size: clamp(43px, 6.3vw, 94px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.reflection-question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--reflection-line);
  border-bottom: 1px solid var(--reflection-line);
}

.reflection-question-grid button {
  min-height: 210px;
  border-right: 1px solid var(--reflection-line);
  padding: 25px;
  color: rgba(233, 246, 243, 0.46);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.32s, background 0.32s, transform 0.32s var(--ease-out);
}

.reflection-question-grid button:last-child {
  border-right: 0;
}

.reflection-question-grid button:hover,
.reflection-question-grid button:focus-visible,
.reflection-question-grid button.is-active {
  color: var(--reflection-ink);
  background: rgba(101, 230, 255, 0.07);
  outline: 0;
  transform: translateY(-4px);
}

.reflection-question-grid span,
.reflection-policy-grid span,
.trace-questions span {
  display: block;
  margin-bottom: 46px;
  color: #65e6ff;
  font: 700 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
}

.reflection-question-grid strong {
  display: block;
  font-size: clamp(22px, 2.1vw, 33px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.reflection-question-grid small {
  display: block;
  margin-top: 13px;
  color: rgba(233, 246, 243, 0.45);
  font-size: 11px;
  line-height: 1.5;
}

.reflection-answer {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: 6vw;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 0 0;
}

.reflection-answer span {
  color: #ff735f;
  font: 700 9px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
}

.reflection-answer p {
  max-width: 760px;
  margin: 0;
  color: rgba(233, 246, 243, 0.75);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.reflection-recovery {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(520px, 1.25fr);
  align-items: center;
  gap: 7vw;
  padding: 11vh 5.5vw;
  background:
    radial-gradient(circle at 74% 36%, rgba(92, 186, 172, 0.12), transparent 32%),
    #06151a;
}

.reflection-recovery__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 25px 0;
  color: var(--reflection-muted);
  font-size: 14px;
  line-height: 1.7;
}

.reflection-recovery__copy > a {
  display: inline-block;
  border-bottom: 1px solid rgba(233, 246, 243, 0.3);
  padding-bottom: 7px;
  color: rgba(233, 246, 243, 0.72);
  font: 700 8px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.reflection-policy {
  border: 1px solid var(--reflection-line);
  padding: 26px;
  background: rgba(2, 11, 14, 0.45);
  backdrop-filter: blur(14px);
}

.reflection-policy__head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--reflection-line);
  padding-bottom: 17px;
  color: rgba(233, 246, 243, 0.58);
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reflection-policy__head p {
  margin: 0;
}

.reflection-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px 0;
}

.reflection-policy-grid button {
  min-height: 142px;
  border: 1px solid rgba(233, 246, 243, 0.15);
  padding: 17px;
  color: rgba(233, 246, 243, 0.62);
  background: rgba(255, 255, 255, 0.015);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.28s, color 0.28s, background 0.28s, transform 0.28s var(--ease-out);
}

.reflection-policy-grid button:hover,
.reflection-policy-grid button:focus-visible,
.reflection-policy-grid button[aria-pressed="true"] {
  border-color: #65e6ff;
  color: var(--reflection-ink);
  background: rgba(101, 230, 255, 0.075);
  outline: 0;
  transform: translateY(-3px);
}

.reflection-policy-grid span {
  margin-bottom: 22px;
}

.reflection-policy-grid strong {
  display: block;
  font-size: 17px;
}

.reflection-policy-grid small {
  display: block;
  margin-top: 8px;
  color: rgba(233, 246, 243, 0.43);
  font-size: 10px;
  line-height: 1.45;
}

.reflection-stack {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 56px;
  border-top: 1px solid var(--reflection-line);
  border-bottom: 1px solid var(--reflection-line);
  padding: 11px 0;
}

.reflection-stack i {
  display: block;
  width: 25%;
  height: 7px;
  background: rgba(233, 246, 243, 0.1);
  transition: height 0.45s var(--ease-out), background 0.35s;
}

.reflection-stack i.is-active {
  height: 32px;
  background: linear-gradient(180deg, #65e6ff, #28a5bc);
}

.reflection-policy-output {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 25px;
  padding-top: 18px;
}

.reflection-policy-output span {
  color: #65e6ff;
  font: 700 8px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.reflection-policy-output p {
  margin: 0;
  color: rgba(233, 246, 243, 0.57);
  font-size: 11px;
  line-height: 1.55;
}

.reflection-leave {
  min-height: 100svh;
  padding: 12vh 5.5vw;
  background:
    radial-gradient(circle at 50% 0%, rgba(20, 184, 255, 0.11), transparent 35%),
    #02080d;
}

.reflection-leave > h3,
.reflection-leave > .eyebrow,
.reflection-caution,
.trace-questions,
.reflection-actions {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.trace-questions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--reflection-line);
  border-bottom: 1px solid var(--reflection-line);
}

.trace-questions > div {
  min-height: 205px;
  border-right: 1px solid var(--reflection-line);
  padding: 24px;
}

.trace-questions > div:last-child {
  border-right: 0;
}

.trace-questions span {
  margin-bottom: 54px;
}

.trace-questions strong {
  display: block;
  font-size: 20px;
}

.trace-questions p {
  margin: 10px 0 0;
  color: var(--reflection-muted);
  font-size: 11px;
  line-height: 1.5;
}

.reflection-caution {
  max-width: 760px;
  margin-top: 44px;
  color: rgba(233, 246, 243, 0.58);
  font-size: 15px;
  line-height: 1.75;
}

.reflection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 47px;
}

.reflection-actions a,
.reflection-actions button {
  border: 1px solid var(--reflection-line);
  padding: 15px 19px;
  color: rgba(233, 246, 243, 0.72);
  background: transparent;
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.reflection-actions a:hover,
.reflection-actions button:hover,
.reflection-actions a:focus-visible,
.reflection-actions button:focus-visible {
  border-color: #65e6ff;
  color: #04151a;
  background: #65e6ff;
  outline: 0;
}

@media (max-width: 980px) {
  .briefing-header,
  .briefing-panel,
  .reflection-recovery {
    grid-template-columns: 1fr;
  }

  .briefing-header {
    gap: 26px;
  }

  .briefing-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .briefing-tabs button:nth-child(2) {
    border-right: 0;
  }

  .briefing-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(7, 16, 23, 0.12);
  }

  .briefing-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 16, 23, 0.12);
  }

  .reflection-question-grid {
    grid-template-columns: 1fr;
  }

  .reflection-question-grid button {
    min-height: 154px;
    border-right: 0;
    border-bottom: 1px solid var(--reflection-line);
  }

  .reflection-question-grid button:last-child {
    border-bottom: 0;
  }

  .reflection-question-grid span {
    margin-bottom: 24px;
  }

  .reflection-answer {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .trace-questions {
    grid-template-columns: repeat(2, 1fr);
  }

  .trace-questions > div:nth-child(2) {
    border-right: 0;
  }

  .trace-questions > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--reflection-line);
  }
}

@media (max-width: 680px) {
  .evidence-briefing,
  .reflection-questions,
  .reflection-recovery,
  .reflection-leave {
    padding-right: 20px;
    padding-left: 20px;
  }

  .briefing-tabs {
    grid-template-columns: 1fr;
  }

  .briefing-tabs button {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 16, 23, 0.12);
  }

  .briefing-tabs button:nth-child(2) {
    border-right: 0;
  }

  .briefing-data {
    grid-template-columns: 1fr;
  }

  .briefing-data > div,
  .briefing-data > div:nth-child(even) {
    grid-column: 1;
    min-height: 105px;
    border-left: 0;
    padding-left: 0;
  }

  .briefing-controls {
    grid-template-columns: auto 1fr auto;
  }

  .briefing-controls button strong,
  .briefing-controls > div strong {
    display: none;
  }

  .briefing-controls > div {
    grid-template-columns: auto 1fr;
    min-width: 0;
  }

  .reflection-policy-grid,
  .trace-questions {
    grid-template-columns: 1fr;
  }

  .trace-questions > div {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--reflection-line);
  }

  .trace-questions > div:nth-child(2) {
    border-right: 0;
  }

  .reflection-policy-output {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .simulation-disclaimer {
    top: auto;
    right: 20px;
    bottom: 73px;
    width: 190px;
  }
}

/* Phase 02A-R3 — premium environment continuity and hero quality */

.surface-scene {
  --surface-title-refraction: 0px;
  --surface-title-blur: 0px;
  overflow: hidden;
  background: #07364c;
}

.surface-environment__far {
  inset: -1%;
  background: url("assets/environment/surface-hero-r3.webp") center / cover no-repeat;
  filter: saturate(.96) contrast(1.02) brightness(1.01);
  transform: scale(var(--surface-environment-scale));
  transform-origin: 50% 64%;
}

.surface-environment__mid {
  opacity: calc(var(--surface-atmosphere-opacity) * .38);
  background:
    radial-gradient(ellipse at 76% 23%, rgba(255, 255, 255, .24), transparent 35%),
    linear-gradient(180deg, rgba(166, 216, 240, .08), transparent 48%, rgba(5, 58, 78, .05));
  mix-blend-mode: soft-light;
}

.surface-environment__near {
  opacity: calc(.12 + var(--surface-p) * .12);
  background:
    linear-gradient(90deg, rgba(2, 31, 48, .1), transparent 24%, transparent 76%, rgba(2, 31, 48, .08)),
    linear-gradient(180deg, transparent 57%, rgba(0, 42, 61, .14));
  box-shadow: inset 0 0 100px rgba(2, 28, 42, .07);
}

.surface-title-block {
  z-index: 6;
  top: 16vh;
  filter: blur(var(--surface-title-blur));
  transform:
    translate3d(var(--surface-title-refraction), var(--surface-title-y), 0)
    scale(var(--surface-title-scale));
  transform-origin: 50% 38%;
}

.surface-title-block h1 {
  color: #071e2d;
  font-size: clamp(92px, 14.1vw, 226px);
  font-weight: 740;
  letter-spacing: -.076em;
  text-shadow: 0 1px rgba(255, 255, 255, .32), 0 18px 54px rgba(11, 54, 74, .12);
}

.surface-kicker,
.surface-deck {
  color: rgba(5, 37, 55, .76);
  text-shadow: 0 1px rgba(255, 255, 255, .42);
}

.surface-underwater {
  top: calc(var(--waterline) - 10px);
  bottom: -4px;
  opacity: var(--surface-water-opacity);
  background: #075976;
  clip-path: polygon(
    0 1.2%, 5% .2%, 11% 1%, 17% .1%, 24% .8%, 31% 0,
    39% 1%, 47% .2%, 55% .9%, 64% .1%, 73% 1%, 82% .2%,
    91% .9%, 100% .1%, 100% 100%, 0 100%
  );
  box-shadow:
    inset 0 20px 44px rgba(207, 246, 249, .16),
    inset 0 -60px 90px rgba(0, 23, 38, .16);
}

.surface-underwater__plate {
  inset: -6%;
  background: url("assets/environment/descent-shallow-r3.webp") center 8% / cover no-repeat;
  filter:
    brightness(calc(.98 - var(--surface-underwater-grade) * .08))
    saturate(calc(.96 - var(--surface-underwater-grade) * .03));
  transform: translate3d(0, calc(var(--surface-p) * -1.2vh), 0) scale(1.04);
}

.surface-underwater__light {
  opacity: calc(var(--surface-ray-opacity) * .32);
  background:
    radial-gradient(ellipse at 19% -5%, rgba(208, 248, 250, .48), transparent 44%),
    radial-gradient(ellipse at 46% 4%, rgba(174, 232, 238, .16), transparent 38%);
  filter: blur(24px);
  mix-blend-mode: screen;
}

.surface-underwater__fog {
  opacity: calc(.16 + var(--surface-underwater-grade) * .18);
  background:
    radial-gradient(ellipse at 8% 78%, rgba(7, 90, 108, .3), transparent 42%),
    radial-gradient(ellipse at 89% 62%, rgba(0, 42, 62, .36), transparent 48%);
  filter: blur(26px);
  mix-blend-mode: multiply;
}

.surface-underwater__matter i {
  background: rgba(215, 242, 241, .42);
  filter: blur(1px);
}

.surface-waterline {
  z-index: 8;
  top: var(--waterline);
  height: 36px;
  opacity: calc(1 - var(--surface-p) * .4);
  transform: translateY(-48%);
  filter: drop-shadow(0 9px 12px rgba(0, 40, 56, .28));
}

.surface-waterline::before,
.surface-waterline::after,
.surface-waterline i {
  height: 18px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(244, 255, 255, .7) 0 1px, rgba(190, 234, 237, .28) 2px, transparent 4px) 0 1px / 104px 17px repeat-x,
    radial-gradient(ellipse at 50% 42%, rgba(236, 253, 253, .52) 0 1px, transparent 4px) 37px 5px / 151px 18px repeat-x;
  box-shadow: none;
  transform: skewX(-8deg);
  filter: blur(.35px);
}

.surface-waterline::after {
  top: 7px;
  opacity: .4;
  transform: skewX(11deg) scaleX(.98);
  filter: blur(1.1px);
}

.surface-waterline i:nth-child(1) { top: -3px; opacity: .62; }
.surface-waterline i:nth-child(2) { top: 3px; opacity: .42; }
.surface-waterline i:nth-child(3) { top: 8px; opacity: .3; }

.trawler-placeholder {
  z-index: 5;
  top: var(--waterline);
  left: 71%;
  width: clamp(430px, 31vw, 610px);
  min-width: 0;
  transform:
    translate3d(-50%, -91%, 0)
    scale(calc(1 - var(--trawler-camera-p, 0) * .1));
  transform-origin: 50% 100%;
  filter:
    drop-shadow(0 18px 14px rgba(0, 35, 49, .2))
    drop-shadow(0 2px 1px rgba(225, 246, 246, .16));
  will-change: top, transform;
}

.trawler-placeholder picture,
.trawler-placeholder img {
  display: block;
  width: 100%;
  height: auto;
}

.trawler-placeholder::before {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 2%;
  left: 7%;
  height: 7%;
  border-radius: 50%;
  content: "";
  background: rgba(0, 31, 45, .24);
  filter: blur(12px);
  transform: scaleY(.55);
}

.trawler-placeholder::after {
  position: absolute;
  right: 4%;
  bottom: -1%;
  left: 4%;
  height: 10px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(231, 249, 249, .44) 22% 78%, transparent);
  filter: blur(2px);
  opacity: calc(1 - var(--trawler-scene-p, 0) * 1.2);
}

.surface-meta {
  z-index: 9;
  color: rgba(225, 244, 246, .82);
  text-shadow: 0 1px 12px rgba(0, 23, 34, .48);
}

.surface-scroll-cue span { color: rgba(5, 38, 56, .78); }
.surface-scroll-cue i { background: rgba(5, 38, 56, .28); }

.descent-scene {
  --descent-shallow-opacity: 1;
  --descent-mid-opacity: 0;
  --descent-deep-opacity: 0;
  --descent-beam-a: 1;
  --descent-beam-b: 1;
  --descent-shallow-y: 0vh;
  --descent-mid-y: 0vh;
  --descent-deep-y: 0vh;
  background: #02101a;
}

.descent-environment {
  overflow: hidden;
  background: #02101a;
}

.background-ocean,
.light-layer,
.fog-layer,
.fish-layer,
.matter-layer,
.descent-vignette {
  position: absolute;
  inset: 0;
}

.background-ocean {
  inset: -3%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: opacity, transform;
}

.background-ocean--shallow {
  z-index: 1;
  opacity: var(--descent-shallow-opacity);
  background-image: url("assets/environment/descent-shallow-r3.webp");
  transform: translate3d(0, var(--descent-shallow-y), 0) scale(1.04);
}

.background-ocean--mid {
  z-index: 2;
  opacity: var(--descent-mid-opacity);
  background-image: url("assets/environment/descent-mid-r3.webp");
  transform: translate3d(0, var(--descent-mid-y), 0) scale(1.055);
}

.background-ocean--deep {
  z-index: 3;
  opacity: var(--descent-deep-opacity);
  background-image: url("assets/environment/descent-deep-r3.webp");
  transform: translate3d(0, var(--descent-deep-y), 0) scale(1.045);
}

.light-layer {
  z-index: 4;
  opacity: 1;
  overflow: hidden;
  background: none;
  filter: none;
  mix-blend-mode: screen;
  transform: none;
}

.light-layer::before,
.light-layer::after {
  position: absolute;
  top: -24%;
  height: 124%;
  border-radius: 48%;
  content: "";
  transform-origin: 50% 0;
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .7) 38%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .7) 38%, transparent 92%);
}

.light-layer::before {
  left: -8%;
  width: 37%;
  opacity: calc(var(--descent-beam-a) * .18);
  background: radial-gradient(ellipse, rgba(199, 241, 243, .76), rgba(137, 213, 220, .18) 45%, transparent 72%);
  filter: blur(34px);
  transform: rotate(-8deg) scaleX(.82);
}

.light-layer::after {
  left: 23%;
  width: 24%;
  opacity: calc(var(--descent-beam-b) * .11);
  background: radial-gradient(ellipse, rgba(190, 235, 239, .62), rgba(120, 198, 208, .12) 48%, transparent 74%);
  filter: blur(42px);
  transform: rotate(7deg) scaleX(1.16);
}

.light-layer i { display: none; }

.fog-layer--back {
  z-index: 5;
  opacity: calc(.14 + var(--descent-fog) * .38);
  background:
    radial-gradient(ellipse at 12% 56%, rgba(25, 96, 106, .25), transparent 47%),
    radial-gradient(ellipse at 81% 31%, rgba(5, 55, 69, .32), transparent 54%);
  filter: blur(38px);
  transform: translateX(calc(var(--descent-p) * 1.2vw));
}

.fog-layer--near {
  z-index: 7;
  inset: -10%;
  opacity: var(--descent-fog);
  background:
    radial-gradient(ellipse at 5% 82%, rgba(0, 34, 47, .62), transparent 39%),
    radial-gradient(ellipse at 91% 66%, rgba(0, 18, 31, .68), transparent 46%);
  filter: blur(52px);
  transform: translate3d(calc(var(--descent-p) * -1.4vw), calc(var(--descent-p) * .8vh), 0) scale(1.08);
}

.fish-layer--mid {
  z-index: 6;
  opacity: calc(.08 + var(--descent-mid-opacity) * .06);
  background: radial-gradient(ellipse at 52% 44%, rgba(83, 145, 150, .1), transparent 34%);
  transform: none;
}

.matter-layer {
  z-index: 8;
  opacity: var(--descent-matter);
}

.matter-layer i {
  background: rgba(193, 225, 224, .52);
  filter: blur(calc(1px + var(--s) * .18));
  box-shadow: 0 0 calc(var(--s) * 3) rgba(145, 205, 207, .11);
}

.descent-vignette {
  z-index: 9;
  background:
    radial-gradient(ellipse at 50% 46%, transparent 44%, rgba(0, 8, 14, calc(.08 + var(--descent-deep-opacity) * .2)) 100%),
    linear-gradient(180deg, transparent 58%, rgba(0, 5, 10, calc(.12 + var(--descent-deep-opacity) * .3)));
  box-shadow: inset 0 0 130px rgba(0, 4, 9, calc(.08 + var(--descent-deep-opacity) * .22));
}

.descent-grid {
  z-index: 10;
  opacity: calc(.2 - var(--descent-deep-opacity) * .04);
}

.descent-grid::before,
.descent-grid::after,
.descent-grid i {
  background: rgba(184, 221, 220, .075);
}

.descent-meter {
  z-index: 15;
  right: 3.2vw;
  height: 58vh;
}

.descent-meter__readout {
  gap: 4px;
  align-self: end;
}

.descent-meter__readout strong {
  display: block;
  color: rgba(211, 237, 235, .56);
  font: 500 7px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.descent-meter__readout > div {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}

.info-window-shell {
  width: min(33vw, 448px);
  opacity: var(--window-opacity);
  filter: blur(var(--window-blur));
  transform: translate3d(0, var(--window-y), 0) scale(var(--window-depth-scale));
  will-change: opacity, transform, filter;
}

.info-window-shell--left { left: 8.5vw; }
.info-window-shell--right { right: 11.5vw; }

.info-window {
  min-height: 206px;
  border-top-color: rgba(190, 229, 227, .26);
  border-right-color: rgba(190, 229, 227, .11);
  border-bottom-color: rgba(190, 229, 227, .16);
  border-left-color: rgba(150, 218, 216, .46);
  background:
    linear-gradient(102deg, rgba(3, 25, 34, .66), rgba(4, 33, 43, .34) 72%, rgba(5, 34, 43, .2)),
    rgba(0, 12, 19, .2);
  box-shadow: 0 22px 60px rgba(0, 5, 10, .16);
  backdrop-filter: blur(7px) saturate(.78);
  -webkit-backdrop-filter: blur(7px) saturate(.78);
}

.info-window:hover,
.info-window:focus-visible {
  background-color: rgba(9, 47, 57, .56);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .07),
    0 26px 68px rgba(0, 5, 10, .3),
    0 0 34px rgba(84, 188, 190, .13);
  transform: translateY(-4px) scale(1.04);
  transition-duration: 220ms;
}

.info-window.is-current {
  border-left-color: rgba(177, 233, 230, .82);
  background-color: rgba(9, 47, 57, .42);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .05),
    0 24px 64px rgba(0, 5, 11, .24),
    0 0 28px rgba(77, 175, 180, .08);
}

.descent-info-overlay {
  grid-template-columns: 1fr 46vw;
}

.descent-info-overlay__backdrop {
  overflow: hidden;
  background: #02101a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.descent-info-overlay__backdrop::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 8, 13, .04), rgba(1, 13, 20, .16));
  pointer-events: none;
}

.descent-info-overlay__environment {
  position: absolute;
  inset: -3%;
  display: block;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: opacity, transform;
}

.descent-info-overlay__environment--shallow {
  z-index: 1;
  opacity: var(--descent-shallow-opacity, 1);
  background-image: url("assets/environment/descent-shallow-r3.webp");
  transform: translate3d(0, var(--descent-shallow-y, 0vh), 0) scale(1.04);
}

.descent-info-overlay__environment--mid {
  z-index: 2;
  opacity: var(--descent-mid-opacity, 0);
  background-image: url("assets/environment/descent-mid-r3.webp");
  transform: translate3d(0, var(--descent-mid-y, 0vh), 0) scale(1.055);
}

.descent-info-overlay__environment--deep {
  z-index: 3;
  opacity: var(--descent-deep-opacity, 0);
  background-image: url("assets/environment/descent-deep-r3.webp");
  transform: translate3d(0, var(--descent-deep-y, 0vh), 0) scale(1.045);
}

.descent-info-panel {
  width: 46vw;
  max-width: none;
  border-left-color: rgba(174, 224, 221, .3);
  background:
    radial-gradient(circle at 80% 5%, rgba(68, 149, 154, .12), transparent 31%),
    linear-gradient(145deg, rgba(4, 31, 40, .78), rgba(1, 14, 22, .88));
  box-shadow: -24px 0 74px rgba(0, 5, 10, .23);
  backdrop-filter: blur(12px) saturate(.76);
  -webkit-backdrop-filter: blur(12px) saturate(.76);
  scrollbar-color: rgba(147, 212, 210, .68) rgba(1, 17, 24, .46);
  scrollbar-width: thin;
}

.descent-info-panel::-webkit-scrollbar { width: 8px; }
.descent-info-panel::-webkit-scrollbar-track { background: rgba(1, 17, 24, .46); }
.descent-info-panel::-webkit-scrollbar-thumb {
  border: 2px solid rgba(1, 17, 24, .46);
  border-radius: 8px;
  background: rgba(147, 212, 210, .68);
}

@media (max-width: 900px) {
  .trawler-placeholder { left: 68%; width: clamp(390px, 42vw, 520px); }
  .descent-info-overlay { grid-template-columns: 1fr 64vw; }
  .descent-info-panel { width: 64vw; }
}

@media (max-width: 640px) {
  .surface-title-block { top: 23vh; }
  .surface-title-block h1 { font-size: 16vw; }
  .trawler-placeholder { left: 57%; width: min(86vw, 500px); }
  .descent-info-overlay { grid-template-columns: 1fr; }
  .descent-info-panel { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .background-ocean,
  .light-layer,
  .fog-layer,
  .info-window-shell {
    transition: none !important;
  }
}

/* Phase 04 — reversible ascent. Every narrative value is owned by scroll progress. */
.ascent-scroll {
  position: relative;
  z-index: 4;
  height: 760vh;
  background: #020b12;
}

.ascent-scene {
  --ascent-p: 0;
  --ascent-turn: 0;
  --ascent-seabed-opacity: 1;
  --ascent-deep-opacity: 0;
  --ascent-mid-opacity: 0;
  --ascent-shallow-opacity: 0;
  --ascent-surface-opacity: 0;
  --ascent-light: .03;
  --ascent-fog: .66;
  --ascent-matter: .3;
  --ascent-seabed-y: 0vh;
  --ascent-seabed-scale: 1.097;
  --ascent-pitch: 0deg;
  --ascent-deep-y: 2.02vh;
  --ascent-mid-y: 3.84vh;
  --ascent-shallow-y: -8.5vh;
  --ascent-matter-y: 0vh;
  --ascent-near-matter-y: 0vh;
  --ascent-zoom: 1.045;
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #020b12;
  perspective: 1200px;
}

.ascent-environment,
.ascent-layer,
.ascent-scars,
.ascent-light,
.ascent-fog,
.ascent-matter,
.ascent-surface-detail,
.ascent-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ascent-environment {
  overflow: hidden;
  background: #020b12;
}

.ascent-layer {
  inset: -4%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity, transform;
}

.ascent-layer--seabed {
  z-index: 1;
  opacity: var(--ascent-seabed-opacity);
  background-image:
    linear-gradient(180deg, rgba(1, 11, 19, .16), transparent 48%, rgba(0, 7, 11, .18)),
    url("assets/environment/seabed-arrival-r3.webp");
  background-position: center 66%;
  transform:
    translate3d(0, var(--ascent-seabed-y), 0)
    rotateX(var(--ascent-pitch))
    scale(var(--ascent-seabed-scale));
  transform-origin: 54% 74%;
}

.ascent-scars {
  z-index: 2;
  opacity: calc(var(--ascent-seabed-opacity) * .42);
  mix-blend-mode: multiply;
  transform: translate3d(0, calc(13% + var(--ascent-seabed-y)), 0) scale(1.08);
}

.ascent-scars i {
  position: absolute;
  width: 78vw;
  height: 8vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 7, 9, .72) 0 13%, rgba(9, 20, 20, .24) 26%, transparent 68%);
  filter: blur(4px);
}

.ascent-scars i:nth-child(1) { left: -18vw; top: 64%; transform: rotate(-9deg); }
.ascent-scars i:nth-child(2) { left: 25vw; top: 55%; transform: rotate(7deg) scale(.78); }
.ascent-scars i:nth-child(3) { left: 42vw; top: 76%; transform: rotate(-3deg) scale(.65); }

.ascent-layer--deep {
  z-index: 3;
  opacity: var(--ascent-deep-opacity);
  background-image: url("assets/environment/descent-deep-r3.webp");
  filter: brightness(.9) saturate(.88);
  transform: translate3d(0, var(--ascent-deep-y), 0) scale(var(--ascent-zoom));
}

.ascent-layer--mid {
  z-index: 4;
  opacity: var(--ascent-mid-opacity);
  background-image: url("assets/environment/descent-mid-r3.webp");
  filter: brightness(.94) saturate(.9);
  transform: translate3d(0, var(--ascent-mid-y), 0) scale(calc(var(--ascent-zoom) + .012));
}

.ascent-layer--shallow {
  z-index: 5;
  opacity: var(--ascent-shallow-opacity);
  background-image: url("assets/environment/descent-shallow-r3.webp");
  background-position: center top;
  filter: brightness(calc(.9 + var(--ascent-surface-opacity) * .08)) saturate(.92);
  transform: translate3d(0, var(--ascent-shallow-y), 0) scale(calc(var(--ascent-zoom) + .018));
  transform-origin: 50% 0;
}

.ascent-light {
  z-index: 6;
  overflow: hidden;
  opacity: var(--ascent-light);
  mix-blend-mode: screen;
}

.ascent-light::before,
.ascent-light::after,
.ascent-light i {
  position: absolute;
  top: -32%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(ellipse, rgba(205, 244, 245, .48), rgba(132, 211, 219, .12) 48%, transparent 74%);
  filter: blur(42px);
  transform-origin: 50% 0;
}

.ascent-light::before {
  left: -12%;
  width: 42%;
  height: 118%;
  transform: rotate(-8deg) scaleX(.82);
}

.ascent-light::after {
  left: 28%;
  width: 26%;
  height: 102%;
  opacity: .46;
  transform: rotate(6deg) scaleX(1.12);
}

.ascent-light i:first-child {
  right: 5%;
  width: 31%;
  height: 96%;
  opacity: .18;
  transform: rotate(9deg);
}

.ascent-light i:last-child {
  top: -12%;
  left: 5%;
  width: 88%;
  height: 50%;
  opacity: calc(.18 + var(--ascent-surface-opacity) * .58);
  filter: blur(54px);
}

.ascent-fog--back {
  z-index: 7;
  opacity: calc(var(--ascent-fog) * .76);
  background:
    radial-gradient(ellipse at 12% 64%, rgba(17, 75, 86, .35), transparent 48%),
    radial-gradient(ellipse at 86% 40%, rgba(0, 25, 42, .62), transparent 56%);
  filter: blur(46px);
  transform: translate3d(calc(var(--ascent-p) * 1.2vw), calc(var(--ascent-p) * 1.4vh), 0) scale(1.06);
}

.ascent-fog--near {
  z-index: 9;
  inset: -10%;
  opacity: calc(var(--ascent-fog) * .52);
  background:
    radial-gradient(ellipse at 7% 80%, rgba(0, 31, 44, .6), transparent 40%),
    radial-gradient(ellipse at 92% 69%, rgba(1, 20, 34, .66), transparent 47%);
  filter: blur(58px);
  transform: translate3d(calc(var(--ascent-p) * -1.7vw), calc(var(--ascent-p) * 2.1vh), 0) scale(1.08);
}

.ascent-matter {
  z-index: 8;
  opacity: var(--ascent-matter);
  transform: translate3d(0, var(--ascent-matter-y), 0);
}

.ascent-matter--near {
  z-index: 10;
  opacity: calc(var(--ascent-matter) * .54);
  transform: translate3d(0, var(--ascent-near-matter-y), 0);
}

.ascent-matter i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(188, 218, 215, var(--o));
  filter: blur(var(--b));
  box-shadow: 0 0 calc(var(--s) * 2.2) rgba(135, 196, 198, .08);
}

.ascent-matter--far i:nth-child(1) { --x: 8%; --y: 12%; --s: 1px; --o: .34; --b: .2px; }
.ascent-matter--far i:nth-child(2) { --x: 19%; --y: 63%; --s: 3px; --o: .18; --b: .8px; }
.ascent-matter--far i:nth-child(3) { --x: 34%; --y: 31%; --s: 1px; --o: .27; --b: .2px; }
.ascent-matter--far i:nth-child(4) { --x: 47%; --y: 82%; --s: 2px; --o: .21; --b: .5px; }
.ascent-matter--far i:nth-child(5) { --x: 62%; --y: 18%; --s: 1px; --o: .31; --b: .2px; }
.ascent-matter--far i:nth-child(6) { --x: 73%; --y: 56%; --s: 4px; --o: .13; --b: 1.2px; }
.ascent-matter--far i:nth-child(7) { --x: 87%; --y: 27%; --s: 2px; --o: .2; --b: .5px; }
.ascent-matter--far i:nth-child(8) { --x: 94%; --y: 74%; --s: 1px; --o: .29; --b: .2px; }
.ascent-matter--near i:nth-child(1) { --x: 14%; --y: -8%; --s: 5px; --o: .14; --b: 1.8px; }
.ascent-matter--near i:nth-child(2) { --x: 29%; --y: 42%; --s: 2px; --o: .22; --b: .7px; }
.ascent-matter--near i:nth-child(3) { --x: 55%; --y: 7%; --s: 7px; --o: .1; --b: 2.6px; }
.ascent-matter--near i:nth-child(4) { --x: 78%; --y: 72%; --s: 3px; --o: .17; --b: 1px; }
.ascent-matter--near i:nth-child(5) { --x: 91%; --y: 21%; --s: 4px; --o: .12; --b: 1.5px; }

.ascent-surface-detail {
  z-index: 11;
  top: -5%;
  bottom: auto;
  height: 36%;
  opacity: var(--ascent-surface-opacity);
  background:
    radial-gradient(ellipse at 17% 4%, rgba(229, 252, 252, .22), transparent 38%),
    radial-gradient(ellipse at 62% -8%, rgba(192, 239, 242, .13), transparent 42%),
    linear-gradient(180deg, rgba(215, 249, 249, .08), transparent 88%);
  filter: blur(13px);
  mix-blend-mode: screen;
  transform: scaleX(calc(1 + var(--ascent-surface-opacity) * .025));
  transform-origin: 50% 0;
}

.ascent-vignette {
  z-index: 12;
  background:
    linear-gradient(180deg, rgba(0, 12, 20, .24), transparent 17%),
    radial-gradient(ellipse at 50% 44%, transparent 42%, rgba(0, 7, 12, calc(.26 - var(--ascent-p) * .14)) 100%),
    linear-gradient(180deg, transparent 58%, rgba(0, 6, 11, calc(.24 - var(--ascent-p) * .12)));
  box-shadow: inset 0 0 130px rgba(0, 5, 10, calc(.18 - var(--ascent-p) * .1));
}

.ascent-ui {
  position: absolute;
  z-index: 13;
  inset: 0;
  pointer-events: none;
  color: rgba(213, 232, 229, .82);
  font-family: var(--font-mono, ui-monospace, monospace);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ascent-ui__index {
  position: absolute;
  top: clamp(2rem, 5.4vh, 4.8rem);
  left: clamp(1.5rem, 4.8vw, 5.5rem);
  margin: 0;
  font-size: 10px;
  text-shadow: 0 1px 12px rgba(0, 10, 18, .52);
}

@media (max-width: 640px) {
  .ascent-scroll { height: 680vh; }
  .ascent-scene { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .ascent-layer,
  .ascent-light,
  .ascent-fog,
  .ascent-matter,
  .ascent-surface-detail {
    transition: none !important;
  }
}

/* Recovery A — one scroll track, one full-screen stage, four overlapping scenes. */
#experience-scroll-track {
  position: relative;
  height: 1500vh;
}

#experience-stage {
  position: sticky;
  z-index: 3;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #020b12;
}

#experience-stage > .surface-scroll,
#experience-stage > .descent-scroll,
#experience-stage > .seabed-scroll,
#experience-stage > .ascent-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: var(--scene-opacity, 0);
  overflow: hidden;
  background: transparent;
  will-change: opacity;
}

#experience-stage > .surface-scroll { z-index: 1; --scene-opacity: 1; }
#experience-stage > .descent-scroll { z-index: 2; }
#experience-stage > .seabed-scroll { z-index: 3; }
#experience-stage > .ascent-scroll { z-index: 4; }

#experience-stage .surface-scene,
#experience-stage .descent-scene,
#experience-stage .seabed-scene,
#experience-stage .ascent-scene {
  position: absolute;
  inset: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

body:not(.debug-mode) #main > :not(#front-half-production-root):not(#experiment):not(#tuna-perspective):not(#hope-scene) {
  display: none !important;
}

body:not(.debug-mode) #main > #front-half-production-root {
  display: block !important;
}

body:not(.debug-mode) #experience-scroll-track {
  display: none !important;
}

body:not(.debug-mode) #main > .experiment.documentary-game-shell {
  display: block !important;
}

body:not(.debug-mode) #main > .tuna-perspective.is-active {
  display: block !important;
}

body:not(.debug-mode) #main > .hope-scene.is-active {
  display: block !important;
}

body:not(.debug-mode) #experience-stage > .seabed-scroll,
body:not(.debug-mode) #experience-stage > .ascent-scroll {
  display: none !important;
}

/* The Recovery Hero is one coherent environment; the ship adapter remains in
   the DOM and API for later GLB replacement but is not a second production image. */
.surface-environment__far {
  background-image:
    linear-gradient(180deg, rgba(210, 238, 250, .02), rgba(2, 29, 45, .08)),
    url("assets/environment/surface-hero-recovery-concept.png");
  background-position: center;
  filter: saturate(.96) contrast(1.015) brightness(1.015);
}

.surface-underwater {
  opacity: clamp(0, calc(var(--surface-p) * 5), 1);
}

.surface-waterline {
  opacity: clamp(0, calc(var(--surface-p) * 3.5), .62);
}

.trawler-placeholder {
  opacity: 0;
  pointer-events: none;
}

.seabed-ui__index,
.ascent-ui__index {
  display: none;
}

.surface-title-block {
  top: 13vh;
}

.surface-title-block h1 {
  font-size: clamp(96px, 14.5vw, 232px);
  line-height: .79;
}

/* Scene 02 is a continuous editorial field, not a queue of single cards. */
.info-window-shell,
.info-window-shell--left,
.info-window-shell--right,
.info-window-shell:nth-child(n) {
  position: absolute;
  top: var(--window-top, 30vh);
  right: auto;
  left: var(--window-x, 8vw);
  width: var(--window-width, 28vw);
  max-width: 440px;
  opacity: var(--window-opacity);
  filter: blur(var(--window-blur));
  transform: scale(var(--window-depth-scale));
  transform-origin: center;
  will-change: top, left, opacity, transform, filter;
}

.info-window {
  min-height: 0;
  padding: 15px 17px 14px;
  border-radius: 0;
  background:
    linear-gradient(118deg, rgba(2, 24, 34, .76), rgba(3, 41, 52, .32) 74%, rgba(8, 59, 67, .18)),
    rgba(0, 12, 19, .16);
  backdrop-filter: blur(10px) saturate(.78);
  -webkit-backdrop-filter: blur(10px) saturate(.78);
}

.info-window strong {
  margin: 16px 0 8px;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.02;
}

.info-window p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.info-window__action {
  margin-top: 13px;
  padding-top: 9px;
}

.info-window:not(.is-current) {
  border-color: rgba(154, 214, 216, .16);
  background-color: rgba(2, 24, 33, .24);
}

.info-window.is-current {
  border-left-color: rgba(185, 241, 238, .9);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .08),
    0 26px 72px rgba(0, 5, 11, .32),
    0 0 36px rgba(77, 175, 180, .12);
}

/* Topic-specific editorial visual field for the 54/46 overlay split. */
.descent-info-overlay {
  grid-template-columns: 54vw 46vw;
}

.descent-info-overlay__visual-field {
  position: relative;
  z-index: 1;
  grid-column: 1;
  display: grid;
  align-content: end;
  min-width: 0;
  padding: clamp(54px, 7vw, 104px) clamp(44px, 6vw, 88px);
  color: #e9fbfb;
  pointer-events: none;
}

.descent-info-panel {
  z-index: 2;
  width: 46vw;
}

.overlay-visual {
  width: min(100%, 660px);
  text-shadow: 0 2px 18px rgba(0, 8, 14, .7);
}

.overlay-visual > p,
.overlay-visual > small,
.overlay-visual__legend {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 8px;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.overlay-visual > p {
  margin: 0 0 14px;
  color: rgba(198, 239, 239, .7);
}

.overlay-visual > p span:first-child { color: #9de9e9; }

.overlay-visual h3 {
  max-width: 580px;
  margin: 0 0 27px;
  font-size: clamp(32px, 4.3vw, 64px);
  font-weight: 430;
  line-height: .92;
  letter-spacing: -.05em;
}

.overlay-visual__diagram {
  position: relative;
  height: clamp(180px, 28vh, 290px);
  overflow: hidden;
  border-top: 1px solid rgba(180, 232, 232, .34);
  border-bottom: 1px solid rgba(180, 232, 232, .22);
  background:
    linear-gradient(90deg, rgba(183, 233, 232, .1) 1px, transparent 1px) 0 0 / 16.666% 100%,
    linear-gradient(180deg, rgba(183, 233, 232, .08) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, rgba(1, 13, 20, .08), rgba(1, 13, 20, .3));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.overlay-visual__diagram i {
  position: absolute;
  display: block;
  border: 1px solid rgba(153, 228, 226, .72);
  background: rgba(103, 203, 203, .11);
  box-shadow: 0 0 24px rgba(88, 210, 208, .09);
}

.overlay-visual__legend {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: rgba(217, 246, 245, .82);
}

.overlay-visual > small {
  display: block;
  max-width: 620px;
  margin-top: 17px;
  color: rgba(194, 226, 225, .58);
  text-transform: none;
}

.overlay-visual--topic-1 .overlay-visual__diagram i:nth-child(1),
.overlay-visual--topic-1 .overlay-visual__diagram i:nth-child(2) {
  top: 18%;
  width: 34%;
  height: 64%;
  border-radius: 50%;
}
.overlay-visual--topic-1 .overlay-visual__diagram i:nth-child(1) { left: 13%; border-width: 8px; }
.overlay-visual--topic-1 .overlay-visual__diagram i:nth-child(2) { right: 13%; border-width: 3px; border-color: rgba(233, 174, 128, .76); }
.overlay-visual--topic-1 .overlay-visual__diagram i:nth-child(n+3) { display: none; }

.overlay-visual--topic-2 .overlay-visual__diagram i:nth-child(1),
.overlay-visual--topic-2 .overlay-visual__diagram i:nth-child(2) {
  left: 10%;
  height: 25%;
  border: 0;
}
.overlay-visual--topic-2 .overlay-visual__diagram i:nth-child(1) { top: 22%; width: 64.5%; background: rgba(121, 218, 208, .62); }
.overlay-visual--topic-2 .overlay-visual__diagram i:nth-child(2) { top: 57%; width: 35.5%; background: rgba(230, 151, 119, .62); }
.overlay-visual--topic-2 .overlay-visual__diagram i:nth-child(n+3) { display: none; }

.overlay-visual--topic-3 .overlay-visual__diagram i,
.overlay-visual--topic-5 .overlay-visual__diagram i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(1), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(1) { left: 10%; top: 27%; }
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(2), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(2) { left: 26%; top: 62%; }
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(3), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(3) { left: 40%; top: 35%; }
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(4), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(4) { left: 55%; top: 71%; }
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(5), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(5) { left: 69%; top: 22%; }
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(6), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(6) { left: 84%; top: 54%; }
.overlay-visual--topic-3 .overlay-visual__diagram i:nth-child(n+7), .overlay-visual--topic-5 .overlay-visual__diagram i:nth-child(n+7) { display: none; }
.overlay-visual--topic-3 .overlay-visual__diagram::after,
.overlay-visual--topic-5 .overlay-visual__diagram::after {
  position: absolute;
  inset: 18% 9%;
  content: "";
  opacity: .62;
  background: linear-gradient(25deg, transparent 20%, rgba(151, 225, 222, .65) 20.2% 20.7%, transparent 21% 45%, rgba(151, 225, 222, .45) 45.2% 45.7%, transparent 46% 72%, rgba(151, 225, 222, .5) 72.2% 72.7%, transparent 73%);
}

.overlay-visual--topic-4 .overlay-visual__diagram i {
  bottom: 16%;
  border-radius: 50%;
}
.overlay-visual--topic-4 .overlay-visual__diagram i:nth-child(1) { left: 10%; width: 88px; height: 88px; }
.overlay-visual--topic-4 .overlay-visual__diagram i:nth-child(2) { left: 33%; width: 68px; height: 68px; }
.overlay-visual--topic-4 .overlay-visual__diagram i:nth-child(3) { left: 54%; width: 48px; height: 48px; }
.overlay-visual--topic-4 .overlay-visual__diagram i:nth-child(4) { left: 73%; width: 28px; height: 28px; }
.overlay-visual--topic-4 .overlay-visual__diagram i:nth-child(n+5) { display: none; }

.overlay-visual--topic-6 .overlay-visual__diagram i {
  right: 9%;
  left: 9%;
  height: 15%;
  border-radius: 50%;
}
.overlay-visual--topic-6 .overlay-visual__diagram i:nth-child(1) { top: 14%; }
.overlay-visual--topic-6 .overlay-visual__diagram i:nth-child(2) { top: 34%; right: 18%; left: 18%; }
.overlay-visual--topic-6 .overlay-visual__diagram i:nth-child(3) { top: 54%; right: 28%; left: 28%; }
.overlay-visual--topic-6 .overlay-visual__diagram i:nth-child(4) { top: 74%; right: 39%; left: 39%; }
.overlay-visual--topic-6 .overlay-visual__diagram i:nth-child(n+5) { display: none; }

.overlay-visual--topic-7 .overlay-visual__diagram::before {
  position: absolute;
  top: 18%;
  left: 17%;
  width: 66%;
  height: 46%;
  border: 2px solid rgba(161, 229, 225, .72);
  content: "";
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
  background: repeating-linear-gradient(45deg, transparent 0 13px, rgba(150, 220, 217, .22) 14px 15px);
}
.overlay-visual--topic-7 .overlay-visual__diagram::after {
  position: absolute;
  right: 0;
  bottom: 14%;
  left: 0;
  height: 3px;
  content: "";
  background: rgba(226, 173, 133, .72);
  box-shadow: 0 9px 28px rgba(225, 144, 100, .24);
}
.overlay-visual--topic-7 .overlay-visual__diagram i { display: none; }

@media (max-width: 900px) {
  .info-window-shell,
  .info-window-shell--left,
  .info-window-shell--right,
  .info-window-shell:nth-child(n) {
    width: min(var(--window-width, 30vw), 390px);
  }

  .descent-info-overlay { grid-template-columns: 42vw 58vw; }
  .descent-info-panel { width: 58vw; }
  .descent-info-overlay__visual-field { padding: 50px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  #experience-stage > section,
  .info-window-shell,
  .surface-environment__far {
    transition: none !important;
  }
}

/* 01–04 quality pass — one continuous environmental photograph and one
   reversible camera path. Scene elements above this layer now carry UI only. */
.ocean-continuum {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #020b12;
  pointer-events: none;
}

.ocean-continuum__image,
.ocean-continuum__atmosphere {
  position: absolute;
  inset: 0;
}

.ocean-continuum__image {
  background-image: url("assets/environment/ocean-continuum-01-04-v2.webp");
  background-repeat: no-repeat;
  background-position: center var(--world-y, 0%);
  background-size: 100% auto;
  filter: saturate(1.035) contrast(1.035);
  will-change: background-position;
}

.ocean-continuum__atmosphere {
  background:
    linear-gradient(90deg, rgba(0, 13, 22, .14), transparent 28%, transparent 72%, rgba(0, 10, 18, .08)),
    linear-gradient(180deg, rgba(215, 239, 248, var(--world-air-alpha, .035)), transparent 28%, rgba(0, 8, 14, var(--world-dark-alpha, 0)));
  box-shadow: inset 0 0 9vw rgba(0, 8, 14, var(--world-vignette-alpha, .04));
}

#experience-stage .surface-environment,
#experience-stage .descent-environment,
#experience-stage .seabed-environment,
#experience-stage .ascent-environment {
  display: none !important;
}

#experience-stage .surface-scene,
#experience-stage .descent-scene,
#experience-stage .seabed-scene,
#experience-stage .ascent-scene {
  background: transparent !important;
}

.surface-title-block {
  left: clamp(34px, 5.4vw, 104px);
  width: min(82vw, 1320px);
  text-shadow: 0 3px 34px rgba(0, 27, 45, .16);
}

.surface-title-block h1 {
  max-width: 10ch;
  color: #083251;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(100px, 14.2vw, 232px);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .76;
}

.surface-kicker {
  color: #9d5e47;
  font-weight: 650;
  letter-spacing: .18em;
}

.surface-deck {
  color: rgba(7, 48, 76, .82);
  font-size: clamp(14px, 1.2vw, 19px);
  letter-spacing: .025em;
}

.surface-meta,
.surface-scroll-cue {
  color: rgba(225, 247, 252, .86);
  text-shadow: 0 2px 16px rgba(0, 25, 41, .54);
}

.site-header--narrative,
.site-header--narrative .brand,
.site-header--narrative .site-header__scene,
.site-header--narrative .sound-note {
  color: rgba(239, 250, 251, .9);
  text-shadow: 0 1px 13px rgba(0, 22, 36, .76);
}

.site-header--narrative {
  background: linear-gradient(180deg, rgba(1, 16, 25, .18), transparent);
  mix-blend-mode: normal;
}

.site-header--narrative .brand b {
  color: rgba(225, 243, 245, .62);
}

.site-header--narrative .brand span {
  color: #d99072;
}

.trawler-placeholder {
  left: 72%;
  width: clamp(500px, 36vw, 708px);
  opacity: calc(1 - var(--trawler-scene-p, 0) * 1.08);
  filter:
    drop-shadow(0 20px 18px rgba(0, 35, 49, .26))
    drop-shadow(0 2px 1px rgba(225, 246, 246, .2));
}

#experience-stage[data-surface-return="true"] .surface-title-block,
#experience-stage[data-surface-return="true"] .surface-meta,
#experience-stage[data-surface-return="true"] .surface-scroll-cue {
  visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}

/* Eight field notes share one vertical reading lane. Their only narrative
   movement is upward as descent progress increases. */
.info-windows {
  z-index: 12;
}

.descent-label {
  top: 12vh;
  right: 7vw;
  left: auto;
  text-align: right;
}

.info-window-shell,
.info-window-shell--left,
.info-window-shell--right,
.info-window-shell:nth-child(n) {
  max-width: 560px;
  transform: none;
  transform-origin: center;
  transition: none;
}

.info-window {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(148px, 40%);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  min-height: clamp(168px, 20vh, 190px);
  overflow: hidden;
  padding: 16px 17px 14px 22px;
  border: 1px solid rgba(176, 229, 231, .3);
  border-left: 2px solid rgba(168, 231, 233, .66);
  background:
    linear-gradient(90deg, rgba(2, 22, 33, .9), rgba(3, 35, 46, .74) 68%, rgba(5, 52, 60, .56)),
    rgba(0, 14, 22, .76);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .075),
    0 20px 58px rgba(0, 7, 13, .3);
  backdrop-filter: blur(14px) saturate(.82);
  -webkit-backdrop-filter: blur(14px) saturate(.82);
}

.info-window::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(187, 239, 238, .72));
}

.info-window strong {
  grid-column: 1;
  margin: 13px 0 7px;
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.02;
}

.info-window p {
  grid-column: 1;
  max-width: 48ch;
  font-size: 10.5px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.info-window__action {
  grid-column: 1;
  margin-top: 9px;
  padding-top: 7px;
}

.info-window__index { grid-column: 1; }
.info-window__cue { grid-column: 2; }

.info-window__media {
  position: relative;
  grid-row: 2 / 5;
  grid-column: 2;
  display: block;
  min-height: 116px;
  overflow: hidden;
  border: 1px solid rgba(188, 232, 231, .2);
  background: rgba(0, 12, 19, .42);
}

.info-window__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(0, 10, 16, .48));
  pointer-events: none;
}

.info-window__media img {
  width: 100%;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
  filter: saturate(.82) contrast(1.05) brightness(.9);
}

.info-window__media--assessment {
  display: grid;
  grid-template-columns: 64.5fr 35.5fr;
  align-content: end;
  gap: 3px;
  padding: 15px 12px 18px;
  background:
    linear-gradient(180deg, rgba(80, 194, 192, .22), transparent 62%),
    rgba(0, 21, 29, .72);
}

.info-window__media--assessment b,
.info-window__media--assessment i {
  align-self: end;
  padding-top: 32px;
  border-top: 4px solid #8fd8d2;
  color: rgba(229, 248, 246, .92);
  font: 500 20px/1 "Iowan Old Style", "Baskerville", serif;
  font-style: normal;
}

.info-window__media--assessment i { border-color: #d99072; }
.info-window__media--assessment small {
  grid-column: 1 / -1;
  margin-top: 12px;
  color: rgba(210, 235, 233, .58);
  font: 7px/1.35 var(--font-mono, ui-monospace, monospace);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-window__media--network {
  background:
    linear-gradient(28deg, transparent 23%, rgba(138, 216, 211, .38) 23.4% 24%, transparent 24.4% 49%, rgba(138, 216, 211, .28) 49.4% 50%, transparent 50.4%),
    rgba(0, 19, 27, .72);
}

.info-window__media--network i {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid #9cddd8;
  border-radius: 50%;
  background: #0a3541;
}
.info-window__media--network i:nth-child(1) { left: 13%; top: 24%; }
.info-window__media--network i:nth-child(2) { left: 38%; top: 62%; }
.info-window__media--network i:nth-child(3) { left: 56%; top: 32%; }
.info-window__media--network i:nth-child(4) { left: 76%; top: 68%; }
.info-window__media--network i:nth-child(5) { left: 86%; top: 18%; }

.info-window__media--gear {
  background:
    linear-gradient(180deg, rgba(32, 97, 105, .34), rgba(0, 15, 22, .82)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(151, 218, 213, .13) 13px 14px);
}
.info-window__media--gear i {
  position: absolute;
  top: 24%;
  bottom: 25%;
  width: 2px;
  background: rgba(205, 230, 224, .62);
  transform: rotate(18deg);
}
.info-window__media--gear i:first-child { left: 32%; }
.info-window__media--gear i:nth-child(2) { right: 32%; transform: rotate(-18deg); }
.info-window__media--gear b {
  position: absolute;
  right: 14%;
  bottom: 20%;
  left: 14%;
  height: 2px;
  background: #d99072;
}

.info-window:not(.is-current) {
  border-color: rgba(176, 229, 231, .25);
  border-left-color: rgba(168, 231, 233, .5);
  background-color: rgba(2, 24, 33, .72);
}

.info-window.is-current {
  border-color: rgba(190, 241, 240, .56);
  border-left-color: rgba(208, 252, 248, .98);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .1),
    0 22px 62px rgba(0, 7, 13, .34),
    0 0 34px rgba(83, 197, 198, .13);
}

/* Field-note overlay: topic media and an editorial evidence graphic occupy the
   left side; the readable source record remains on the right. */
.descent-info-overlay {
  grid-template-columns: 56vw 44vw;
  background: transparent;
}

.descent-info-overlay__backdrop {
  background-image:
    linear-gradient(90deg, rgba(0, 9, 15, .08), rgba(0, 11, 18, .48)),
    url("assets/environment/ocean-continuum-01-04-v2.webp");
  background-repeat: no-repeat;
  background-position: center, center var(--overlay-world-y, 45%);
  background-size: cover, 100% auto;
}

.descent-info-overlay__environment {
  display: none;
}

.descent-info-overlay__visual-field {
  align-content: center;
  padding: clamp(46px, 5vw, 82px) clamp(38px, 5vw, 76px);
}

.descent-info-panel {
  width: 44vw;
  border-left-color: rgba(178, 232, 231, .38);
  background:
    radial-gradient(circle at 78% 4%, rgba(78, 160, 163, .16), transparent 31%),
    linear-gradient(145deg, rgba(4, 31, 40, .92), rgba(1, 14, 22, .96));
  box-shadow: -34px 0 90px rgba(0, 5, 10, .32);
}

.descent-info-panel__visual {
  display: none !important;
}

.descent-info-overlay[data-overlay-state="open"] {
  animation: field-overlay-in 260ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-overlay__backdrop {
  animation: field-backdrop-in 280ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-overlay__visual-field {
  animation: field-visual-in 420ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-panel {
  animation: field-panel-in 460ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-panel__status {
  animation: field-content-in 340ms 60ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-panel h2 {
  animation: field-content-in 360ms 110ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-panel__copy {
  animation: field-content-in 360ms 160ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="open"] .descent-info-panel__source,
.descent-info-overlay[data-overlay-state="open"] .descent-info-panel__link {
  animation: field-content-in 360ms 210ms cubic-bezier(.22, 1, .36, 1) both;
}

.descent-info-overlay[data-overlay-state="closing"] {
  animation: field-overlay-out 340ms cubic-bezier(.4, 0, 1, 1) both;
}

.descent-info-overlay[data-overlay-state="closing"] .descent-info-overlay__visual-field {
  animation: field-visual-out 320ms cubic-bezier(.4, 0, 1, 1) both;
}

.descent-info-overlay[data-overlay-state="closing"] .descent-info-panel {
  animation: field-panel-out 340ms cubic-bezier(.4, 0, 1, 1) both;
}

@keyframes field-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes field-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes field-visual-in {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes field-panel-in {
  from { opacity: 0; transform: translate3d(42px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes field-content-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes field-overlay-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes field-visual-out {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(0, 22px, 0); }
}

@keyframes field-panel-out {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(34px, 0, 0); }
}

.overlay-visual {
  width: min(100%, 720px);
}

.overlay-visual h3 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 62px);
}

.overlay-visual__media {
  position: relative;
  height: clamp(160px, 25vh, 245px);
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(182, 232, 231, .25);
  background: rgba(1, 13, 20, .42);
  box-shadow: 0 24px 62px rgba(0, 6, 12, .28);
}

.overlay-visual__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(0, 9, 15, .78));
  pointer-events: none;
}

.overlay-visual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.06) brightness(.84);
}

.overlay-visual__media figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: rgba(224, 247, 246, .76);
  font: 8px/1.45 var(--font-mono, ui-monospace, monospace);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.overlay-visual__diagram {
  height: clamp(92px, 13vh, 126px);
}

.overlay-visual--topic-8 .overlay-visual__diagram i {
  top: 18%;
  bottom: 18%;
  width: 2px;
  border: 0;
  background: rgba(220, 169, 129, .72);
  transform: rotate(12deg);
  box-shadow: 0 0 18px rgba(225, 145, 99, .2);
}
.overlay-visual--topic-8 .overlay-visual__diagram i:nth-child(1) { left: 18%; }
.overlay-visual--topic-8 .overlay-visual__diagram i:nth-child(2) { left: 34%; }
.overlay-visual--topic-8 .overlay-visual__diagram i:nth-child(3) { left: 50%; }
.overlay-visual--topic-8 .overlay-visual__diagram i:nth-child(4) { left: 66%; }
.overlay-visual--topic-8 .overlay-visual__diagram i:nth-child(5) { left: 82%; }
.overlay-visual--topic-8 .overlay-visual__diagram i:nth-child(n+6) { display: none; }

@media (max-width: 900px) {
  .info-window-shell,
  .info-window-shell--left,
  .info-window-shell--right,
  .info-window-shell:nth-child(n) {
    width: min(var(--window-width, 42vw), 500px);
  }

  .descent-info-overlay { grid-template-columns: 48vw 52vw; }
  .descent-info-panel { width: 52vw; }
}

@media (prefers-reduced-motion: reduce) {
  .ocean-continuum__image,
  .info-window-shell {
    transition: none !important;
  }

  .descent-info-overlay,
  .descent-info-overlay *,
  .descent-info-overlay *::before,
  .descent-info-overlay *::after {
    animation: none !important;
  }
}
