:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --hero-surface: linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%);
  --text: #f3f3f3;
  --muted: #bebebe;
  --line: rgba(255, 255, 255, 0.36);
  --border: rgba(255, 255, 255, 0.18);
  --accent-squid: #ffffff;
  --accent-whale: #ffffff;
  --accent-ocean: #ffffff;
  --hero-text: #f3f3f3;
  --hero-muted: #d1d1d1;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --radius: 28px;
  --shell: 1180px;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

em {
  font-style: italic;
}

button,
a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 3.5rem), var(--shell));
  margin: 0 auto;
}

.shell--narrow {
  width: min(calc(100% - 3.5rem), 1024px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.9);
  opacity: 1;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 520ms ease;
  will-change: transform, opacity;
}

.site-header--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1.5rem);
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.site-mark {
  box-sizing: content-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8.925rem;
  height: 8.925rem;
  padding-block: 0.5rem;
  text-decoration: none;
}

.site-mark svg,
.site-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-self: center;
  margin-top: -0.35rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.6rem 0.9rem;
  border-radius: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  align-self: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.beat-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.beat-section:first-of-type {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.beat-section--hero:first-of-type {
  padding-top: 0;
}

.beat-section--hero {
  position: relative;
  padding: 0;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.beat-section--hero > .shell {
  width: 100%;
}

.beat-section--detritus,
.beat-section--survival {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.beat-section--family {
  --family-step-count: 3;
  --family-reveal-step: clamp(8rem, 18vh, 12rem);
  --family-stage-pad-top: clamp(2.75rem, 6vh, 4.5rem);
  --family-stage-pad-bottom: clamp(4rem, 10vh, 7rem);
  --family-heading-gap: clamp(4rem, 10vh, 7.5rem);
  position: relative;
  min-height: calc(100svh + (var(--family-step-count) * var(--family-reveal-step)) + clamp(12rem, 22vh, 18rem));
  padding: 0;
  background: var(--bg);
  overflow: clip;
  isolation: isolate;
}

.beat-section--detritus > .shell,
.beat-section--survival > .shell,
.family-stage__shell {
  position: relative;
  z-index: 2;
}

.family-stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  min-height: 100svh;
  padding: var(--family-stage-pad-top) 0 var(--family-stage-pad-bottom);
  overflow: visible;
}

.beat-section--detritus::before,
.beat-section--survival::before {
  content: none;
}

.beat-section--family::before {
  content: none;
}

.beat-section--family::after {
  content: none;
}

.section-ambient-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.section-ambient-video--detritus {
  opacity: 0.52;
  mix-blend-mode: screen;
  filter: brightness(0.92) contrast(1.18) saturate(0.72);
  transform: scale(1.06);
}

.section-ambient-video--family {
  object-position: center 32%;
  opacity: 0.62;
  filter: brightness(0.86) contrast(1.06) saturate(0.98);
  transform: scale(1.02);
}

.section-ambient-video--survival-intro {
  opacity: 0.92;
  mix-blend-mode: normal;
  filter: grayscale(1) contrast(0.94) brightness(0.5);
  transform: scale(1.02);
  object-position: center 42%;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-heading::after {
  content: none;
}

.beat-section--family .section-heading {
  margin-top: 0;
  margin-bottom: var(--family-heading-gap);
}

.section-heading h1,
.section-heading h2,
.section-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section-heading h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.section-heading h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wire-grid {
  display: grid;
  gap: clamp(2rem, 3vw, 3rem);
  align-items: center;
}

.wire-grid--split {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
}

.wire-grid--survival {
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  align-items: start;
}

.wire-grid--conclusion {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
}

.beat-section--science-carousel {
  padding: clamp(3rem, 6vh, 4rem) 0 0;
  background: transparent;
  overflow: visible;
}

.beat-four-intro-shell {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.beat-four-scroll-scene {
  --beat-four-panel-count: 3;
  --beat-four-progress: 0;
  --beat-four-gap: clamp(1.5rem, 2.4vw, 2.5rem);
  --beat-four-panel-height: min(40rem, calc(100svh - 7rem));
  --beat-four-step: 0px;
  position: relative;
  min-height: calc(100svh + ((var(--beat-four-panel-count) - 1) * 108svh) + 8rem);
  padding: 0;
  background: transparent;
  overflow: visible;
  isolation: isolate;
}

.beat-four-stage {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(2.5rem, 5vh, 4rem) 0;
  overflow: hidden;
}

.beat-four-heading {
  margin-bottom: 0;
}

.beat-four-intro-shell .beat-four-intro-copy {
  max-width: 78ch;
  margin: 0 auto;
}

.beat-four-intro-shell .beat-four-intro-copy p {
  margin: 0 auto;
  max-width: 78ch;
  text-align: center;
}

.beat-four-stage__shell {
  --shell: 96rem;
  display: grid;
}

.beat-four-viewport {
  overflow: hidden;
}

.beat-four-track {
  display: flex;
  align-items: stretch;
  gap: var(--beat-four-gap);
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.beat-four-slide {
  flex: 0 0 var(--beat-four-step, 100vw);
  min-width: var(--beat-four-step, 100vw);
  display: flex;
  align-items: stretch;
  padding-inline: clamp(0.5rem, 1vw, 1rem);
}

.beat-four-wire {
  --scene-one-whale-glow: 1;
  --scene-two-sonar-opacity: 0.78;
  position: relative;
  display: grid;
  width: 100%;
  height: var(--beat-four-panel-height);
  min-height: var(--beat-four-panel-height);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.96) 0%, rgba(8, 12, 18, 0.98) 100%),
    radial-gradient(circle at 50% 28%, rgba(70, 150, 222, 0.08) 0%, rgba(70, 150, 222, 0) 30%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  isolation: isolate;
  align-items: start;
  column-gap: clamp(1rem, 2.2vw, 2rem);
  row-gap: clamp(1rem, 1.8vw, 1.5rem);
}

.beat-four-wire::before {
  content: none;
}

.beat-four-wire__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.beat-four-wire__copy {
  position: relative;
  z-index: 3;
  max-width: none;
  min-height: 0;
  padding: clamp(0.7rem, 1.1vw, 0.95rem) clamp(0.8rem, 1.25vw, 1rem);
  background: rgba(8, 12, 18, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  align-self: start;
  overflow: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.beat-four-wire__copy p {
  margin: 0 0 0.9rem;
  color: var(--hero-muted);
  font-size: clamp(0.94rem, 0.92vw, 0.99rem);
  line-height: 1.62;
}

.beat-four-wire__copy p:last-child {
  margin-bottom: 0;
}

.beat-four-wire__copy strong {
  color: var(--hero-text);
}

.beat-four-wire--diagram {
  height: auto;
  min-height: var(--beat-four-panel-height);
  padding-bottom: clamp(1.75rem, 3vw, 3rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: start;
  column-gap: clamp(0.9rem, 1.55vw, 1.5rem);
  row-gap: clamp(0.95rem, 1.9vw, 1.75rem);
}

.beat-four-wire--vision {
  grid-template-rows: auto auto auto auto;
}

.beat-four-wire--sound {
  --sound-card-width: clamp(18rem, 24vw, 22rem);
  --sound-whale-bleed: clamp(1.25rem, 5vw, 5.5rem);
  --sound-whale-max: clamp(22rem, 38vw, 44rem);
  --sound-squid-max: clamp(9rem, 16vw, 16rem);
  grid-template-columns:
    minmax(16rem, 1.8fr)
    minmax(var(--sound-card-width), var(--sound-card-width))
    minmax(10rem, 1fr);
  grid-template-areas:
    "whale echolocation squid"
    "whale stealth squid";
  grid-template-rows: auto auto;
  align-items: center;
}

.beat-four-wire--pod {
  --pod-card-min: 20rem;
  --pod-card-width: clamp(20rem, 28vw, 27rem);
  --pod-zone-min-height: clamp(19rem, 34vw, 28rem);
  --pod-zone-aspect: 1.22;
  grid-template-columns:
    minmax(var(--pod-card-min), var(--pod-card-width))
    minmax(18rem, 1.35fr);
  grid-template-areas: "card pod";
  grid-template-rows: auto;
  align-items: center;
}

.beat-four-wire--diagram .beat-four-wire__stage {
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.beat-four-wire--diagram .beat-four-wire__stage,
.beat-four-wire--diagram .beat-four-wire__stage * {
  pointer-events: none;
}

.beat-four-wire__connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.beat-four-wire__connector {
  opacity: 0;
  transition: opacity 180ms ease;
}

.beat-four-wire__connector-line {
  fill: none;
  stroke: rgba(119, 201, 255, 0.72);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 4px rgba(82, 176, 255, 0.42))
    drop-shadow(0 0 10px rgba(45, 148, 255, 0.24));
}

.beat-four-wire__connector-node {
  fill: rgba(198, 236, 255, 0.96);
  stroke: rgba(97, 192, 255, 0.72);
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 4px rgba(117, 205, 255, 0.62))
    drop-shadow(0 0 10px rgba(47, 150, 255, 0.28));
}

.beat-four-wire--diagram .placeholder-copy.beat-four-wire__copy {
  display: grid;
  gap: clamp(0.75rem, 1vw, 1rem);
  min-width: 0;
  margin: 0;
  padding: clamp(0.95rem, 1.45vw, 1.2rem) clamp(1rem, 1.7vw, 1.3rem);
  border: 1px solid rgba(112, 196, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(9, 17, 27, 0.84) 0%, rgba(8, 14, 22, 0.7) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(191, 236, 255, 0.05),
    0 0 0 1px rgba(72, 164, 255, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.18),
    0 0 26px rgba(43, 126, 209, 0.12);
  backdrop-filter: blur(10px);
  overflow: visible;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.96),
    0 8px 20px rgba(0, 0, 0, 0.74);
}

.beat-four-wire--diagram .placeholder-copy.beat-four-wire__copy p {
  margin: 0 0 0.9rem;
  color: var(--hero-muted);
  font-size: clamp(0.98rem, 0.9vw, 1.05rem);
  line-height: 1.68;
}

.beat-four-wire--diagram .placeholder-copy.beat-four-wire__copy p:last-child {
  margin-bottom: 0;
}

.beat-four-wire__copy--diagram-card {
  grid-column: 4 / span 6;
  min-width: 0;
  overflow: visible;
}

.beat-four-wire--sound .beat-four-wire__copy--diagram-card {
  grid-column: auto;
  width: min(100%, var(--sound-card-width));
  justify-self: stretch;
}

.beat-four-wire--pod .beat-four-wire__copy--diagram-card {
  grid-column: auto;
  grid-row: auto;
}

.beat-four-wire__copy--vision-lead {
  grid-row: 1;
}

.beat-four-wire__copy--vision-body {
  grid-row: 2 / span 2;
}

.beat-four-wire__copy--vision-ink {
  grid-row: 4;
}

.beat-four-wire__eye.bottom-encounter__scene-six-squid {
  left: clamp(-1.4rem, -0.9vw, -0.25rem);
  top: clamp(0.65rem, 1.7vw, 1.5rem);
  width: min(clamp(14rem, 20vw, 28rem), 44vh);
  z-index: 2;
}

.beat-four-wire__whale-glow {
  position: absolute;
  right: clamp(0.35rem, 1.4vw, 1.35rem);
  top: clamp(11rem, 18vw, 14rem);
  width: min(clamp(21rem, 29vw, 43rem), 56vh);
  opacity: 0.46;
  transform: rotate(-4deg);
  filter:
    brightness(1.02)
    saturate(0)
    contrast(1.08)
    drop-shadow(0 0 4px rgba(118, 198, 255, 0.22))
    drop-shadow(0 0 18px rgba(82, 176, 255, 0.24))
    drop-shadow(0 0 34px rgba(34, 136, 255, 0.18));
  animation:
    scene-one-whale-halo-pulse 1280ms ease-in-out infinite,
    beat-four-whale-drift 8.8s ease-in-out infinite alternate;
  z-index: 1;
}

.beat-four-wire__ink.bottom-encounter__ink-squid-group {
  left: clamp(1rem, 3vw, 4rem);
  bottom: clamp(0.8rem, 2.2vh, 2rem);
  width: min(clamp(10.5rem, 15vw, 22rem), 36vh);
  height: min(clamp(13rem, 18.75vw, 27.5rem), 45vh);
  z-index: 2;
}

.beat-four-wire__sound-whale-zone,
.beat-four-wire__sound-squid-zone {
  position: relative;
  min-width: 0;
  min-height: clamp(14rem, 28vw, 24rem);
  pointer-events: none;
  z-index: 1;
}

.beat-four-wire__sound-whale-zone {
  grid-area: whale;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.beat-four-wire__sound-squid-zone {
  grid-area: squid;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.beat-four-wire__sound-whale {
  position: relative;
  left: auto;
  top: auto;
  width: min(calc(100% + var(--sound-whale-bleed)), var(--sound-whale-max));
  max-width: none;
  margin-inline-start: calc(var(--sound-whale-bleed) * -1);
  opacity: 0.56;
  transform: scaleX(-1) rotate(6deg);
  filter:
    brightness(1.2)
    saturate(0)
    contrast(0.98)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 22px rgba(180, 214, 255, 0.14));
  animation: beat-four-sound-whale-drift 10s ease-in-out infinite alternate;
  z-index: 1;
}

.beat-four-wire__sonar.bottom-encounter__sonar {
  position: absolute;
  left: 62%;
  top: 43%;
  width: clamp(6rem, 8.5vw, 7.6rem);
  height: clamp(6rem, 8.5vw, 7.6rem);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
  z-index: 2;
}

[data-sonar-host].is-sonar-active .beat-four-wire__sonar.bottom-encounter__sonar {
  opacity: 1;
}

[data-sonar-host].is-sonar-active .beat-four-wire__sonar .bottom-encounter__sonar-ring {
  animation: bottom-sonar-ring 2.45s linear infinite;
}

[data-sonar-host].is-sonar-active .beat-four-wire__sonar .bottom-encounter__sonar-ring:nth-child(2) {
  animation-delay: 0.4s;
}

[data-sonar-host].is-sonar-active .beat-four-wire__sonar .bottom-encounter__sonar-ring:nth-child(3) {
  animation-delay: 0.8s;
}

[data-sonar-host].is-sonar-active .beat-four-wire__sonar .bottom-encounter__sonar-ring:nth-child(4) {
  animation-delay: 1.2s;
}

[data-sonar-host].is-sonar-active .beat-four-wire__sonar .bottom-encounter__sonar-ring:nth-child(5) {
  animation-delay: 1.6s;
}

.beat-four-wire__audio-button {
  justify-self: start;
}

.beat-four-wire__stealth {
  position: relative;
  right: auto;
  top: auto;
  width: min(100%, var(--sound-squid-max));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: beat-four-stealth-drift 10s ease-in-out infinite;
  z-index: 2;
}

.beat-four-wire__stealth::before {
  content: none;
}

.beat-four-wire__stealth img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.88;
  transform: rotate(88deg) scale(1.08);
  filter:
    brightness(1.18)
    saturate(0)
    contrast(1)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.44))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 16px rgba(170, 206, 255, 0.12));
}

.beat-four-wire__copy--sound-echolocation {
  grid-area: echolocation;
  align-self: end;
}

.beat-four-wire__copy--sound-stealth {
  grid-area: stealth;
  align-self: start;
}

.beat-four-wire__pod-zone {
  position: relative;
  grid-area: pod;
  min-width: 0;
  min-height: var(--pod-zone-min-height);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.beat-four-wire__pod {
  position: relative;
  width: 100%;
  min-height: var(--pod-zone-min-height);
  aspect-ratio: var(--pod-zone-aspect);
  margin-inline-start: auto;
  overflow: visible;
}

.beat-four-wire__copy--pod {
  grid-area: card;
  width: min(100%, var(--pod-card-width));
  justify-self: start;
  align-self: center;
}

.beat-four-pod-whale {
  position: absolute;
  display: block;
  height: auto;
  filter:
    brightness(0.84)
    saturate(0)
    contrast(1.12)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.54))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.14));
  z-index: 1;
}

.beat-four-pod-whale--one {
  left: 3%;
  top: 7%;
  width: 58%;
  opacity: 0.34;
  transform: rotate(2deg);
  animation: beat-four-pod-one 8.4s ease-in-out infinite;
}

.beat-four-pod-whale--two {
  right: -1%;
  top: 34%;
  width: 69%;
  opacity: 0.5;
  transform: scaleX(-1) rotate(-4deg);
  animation: beat-four-pod-two 9.2s ease-in-out infinite;
}

.beat-four-pod-whale--three {
  left: 23%;
  bottom: 2%;
  width: 43%;
  opacity: 0.3;
  transform: rotate(-7deg);
  animation: beat-four-pod-three 8.8s ease-in-out infinite;
}

@keyframes beat-four-whale-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }

  50% {
    transform: translate3d(-0.5rem, -0.35rem, 0) rotate(-4deg);
  }

  100% {
    transform: translate3d(0.75rem, 0.4rem, 0) rotate(-7deg);
  }
}

@keyframes beat-four-sound-whale-drift {
  0% {
    transform: translate3d(0, 0, 0) scaleX(-1) rotate(6deg);
  }

  50% {
    transform: translate3d(-0.5rem, -0.35rem, 0) scaleX(-1) rotate(8deg);
  }

  100% {
    transform: translate3d(0.75rem, 0.4rem, 0) scaleX(-1) rotate(4deg);
  }
}

@keyframes beat-four-stealth-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-0.3rem, -0.6rem, 0);
  }
}

@keyframes beat-four-pod-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }

  50% {
    transform: translate3d(-0.55rem, 0.45rem, 0) rotate(6deg);
  }
}

@keyframes beat-four-pod-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  50% {
    transform: translate3d(0.55rem, -0.4rem, 0) rotate(-2deg);
  }
}

@keyframes beat-four-pod-three {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }

  50% {
    transform: translate3d(0.35rem, 0.45rem, 0) rotate(-4deg);
  }
}

@media (max-width: 720px) {
  .beat-section--science-carousel {
    padding: clamp(3rem, 6vh, 4rem) 0;
  }

  .beat-four-scroll-scene {
    --beat-four-panel-height: min(34rem, calc(100svh - 5rem));
    min-height: auto;
    overflow: visible;
  }

  .beat-four-stage {
    position: relative;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .beat-four-stage__shell {
    gap: 1.5rem;
  }

  .beat-four-viewport {
    overflow: visible;
  }

  .beat-four-track {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    transform: none !important;
  }

  .beat-four-slide {
    min-width: 0;
    padding-inline: 0;
  }

  .beat-four-wire {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .beat-four-wire--diagram {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: clamp(1rem, 4vw, 1.35rem);
    min-height: 0;
    padding-bottom: 1.5rem;
  }

  .beat-four-wire::before {
    inset: 0.85rem;
  }

  .beat-four-wire__stage {
    position: relative;
    height: clamp(11.5rem, 30vh, 15rem);
    min-height: 0;
    order: 2;
  }

  .beat-four-wire__copy {
    position: static;
    max-width: none;
    justify-self: stretch;
  }

  .beat-four-wire__copy p {
    font-size: 0.96rem;
    line-height: 1.74;
  }

  .beat-four-wire__copy {
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .beat-four-wire__copy--diagram-card {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .beat-four-wire--diagram .beat-four-wire__stage {
    position: relative;
    inset: auto;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .beat-four-wire--diagram .placeholder-copy.beat-four-wire__copy {
    padding: clamp(0.9rem, 3vw, 1rem);
    background:
      linear-gradient(180deg, rgba(7, 13, 20, 0.84) 0%, rgba(7, 13, 20, 0.7) 100%);
    box-shadow:
      inset 0 0 0 1px rgba(191, 236, 255, 0.05),
      0 0 0 1px rgba(72, 164, 255, 0.07),
      0 14px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
  }

  .beat-four-wire__eye.bottom-encounter__scene-six-squid {
    left: 0.3rem;
    top: 0.35rem;
    width: clamp(6.25rem, 23vw, 7.75rem);
  }

  .beat-four-wire__whale-glow {
    top: clamp(3.1rem, 12vw, 4.8rem);
    right: 0.2rem;
    width: clamp(8.75rem, 41vw, 13rem);
    opacity: 0.36;
  }

  .beat-four-wire__ink.bottom-encounter__ink-squid-group {
    left: 0.45rem;
    bottom: 0.35rem;
    width: clamp(6.25rem, 22vw, 7.75rem);
    height: clamp(7.2rem, 24vw, 9.2rem);
  }

  .beat-four-wire__connectors {
    display: none;
  }

  .beat-four-wire--sound {
    --sound-card-width: min(100%, 22rem);
    --sound-whale-bleed: clamp(0.75rem, 4vw, 1.75rem);
    --sound-whale-max: 18rem;
    --sound-squid-max: 7rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "echolocation"
      "stealth"
      "whale"
      "squid";
    row-gap: clamp(1rem, 4vw, 1.35rem);
  }

  .beat-four-wire--sound .beat-four-wire__copy--diagram-card {
    width: 100%;
  }

  .beat-four-wire__sound-whale-zone,
  .beat-four-wire__sound-squid-zone {
    min-height: 0;
    justify-content: center;
  }

  .beat-four-wire__sound-whale {
    width: min(calc(100% + 1rem), var(--sound-whale-max));
    margin-inline-start: clamp(-1rem, -4vw, -0.25rem);
  }

  .beat-four-wire__sonar.bottom-encounter__sonar {
    left: 63%;
    top: 44%;
    width: clamp(4rem, 15vw, 5rem);
    height: clamp(4rem, 15vw, 5rem);
  }

  .beat-four-wire__stealth {
    width: min(100%, var(--sound-squid-max));
  }

  .beat-four-wire--pod {
    --pod-card-min: 0rem;
    --pod-card-width: min(100%, 22rem);
    --pod-zone-min-height: clamp(11rem, 30vw, 14.5rem);
    --pod-zone-aspect: 1.16;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "card"
      "pod";
    row-gap: clamp(1rem, 4vw, 1.35rem);
  }

  .beat-four-wire__copy--pod {
    width: 100%;
  }

  .beat-four-wire__pod-zone {
    justify-content: center;
    min-height: var(--pod-zone-min-height);
  }

  .beat-four-wire__pod {
    margin-inline: auto;
  }

  .beat-four-pod-whale--one {
    left: 4%;
    top: 6%;
    width: 54%;
  }

  .beat-four-pod-whale--two {
    right: 0;
    top: 33%;
    width: 66%;
  }

  .beat-four-pod-whale--three {
    left: 23%;
    bottom: 1%;
    width: 40%;
  }
}

@media (max-width: 640px) {
  .beat-four-intro-shell .beat-four-intro-copy p {
    text-align: left;
  }

  .beat-four-track {
    gap: 1.25rem;
  }

  .beat-four-wire__copy p {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .beat-four-wire__stage {
    height: clamp(9.75rem, 24vh, 12.5rem);
  }

  .beat-four-wire--sound {
    --sound-whale-max: 16rem;
    --sound-squid-max: 6rem;
  }

  .beat-four-wire--pod {
    --pod-zone-min-height: clamp(10rem, 34vw, 12.5rem);
    --pod-zone-aspect: 1.08;
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .beat-four-scroll-scene {
    --beat-four-panel-height: min(38rem, calc(100svh - 6rem));
    min-height: calc(100svh + ((var(--beat-four-panel-count) - 1) * 118svh) + 8rem);
  }

  .beat-four-wire__copy p {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .beat-four-wire--diagram {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: clamp(0.75rem, 1.7vw, 1.2rem);
    row-gap: clamp(0.8rem, 1.7vw, 1.35rem);
  }

  .beat-four-wire--diagram .placeholder-copy.beat-four-wire__copy {
    padding: clamp(0.85rem, 1.5vw, 1.05rem) clamp(0.9rem, 1.55vw, 1.1rem);
  }

  .beat-four-wire__copy--diagram-card {
    grid-column: 2 / span 4;
  }

  .beat-four-wire__eye.bottom-encounter__scene-six-squid {
    left: clamp(-0.45rem, -0.2vw, 0.15rem);
    top: clamp(0.95rem, 1.6vw, 1.4rem);
    width: clamp(8.75rem, 15vw, 11rem);
  }

  .beat-four-wire__whale-glow {
    top: clamp(10rem, 19vw, 12rem);
    right: 0.45rem;
    width: clamp(11rem, 23vw, 14.5rem);
  }

  .beat-four-wire__ink.bottom-encounter__ink-squid-group {
    left: clamp(1rem, 2.2vw, 1.9rem);
    bottom: 0.8rem;
    width: clamp(6.75rem, 10vw, 8rem);
    height: clamp(8rem, 11vw, 9.5rem);
  }

  .beat-four-wire__connector-line {
    stroke-width: 1.35;
  }

  .beat-four-wire__connector-node {
    transform: scale(0.88);
    transform-box: fill-box;
    transform-origin: center;
  }

  .beat-four-wire--sound {
    --sound-card-width: clamp(16rem, 32vw, 18rem);
    --sound-whale-bleed: clamp(0.75rem, 3vw, 2rem);
    --sound-whale-max: clamp(16rem, 28vw, 22rem);
    --sound-squid-max: clamp(7rem, 11vw, 9rem);
    grid-template-columns:
      minmax(12rem, 1.45fr)
      minmax(var(--sound-card-width), var(--sound-card-width))
      minmax(7rem, 0.95fr);
    grid-template-areas:
      "whale echolocation squid"
      "whale stealth squid";
  }

  .beat-four-wire--sound .beat-four-wire__copy--diagram-card {
    width: 100%;
  }

  .beat-four-wire__sound-whale-zone,
  .beat-four-wire__sound-squid-zone {
    min-height: clamp(11rem, 18vw, 15rem);
  }

  .beat-four-wire__sonar.bottom-encounter__sonar {
    left: 64%;
    top: 44%;
    width: clamp(4rem, 8vw, 5rem);
    height: clamp(4rem, 8vw, 5rem);
  }

  .beat-four-wire--pod {
    --pod-card-min: 16rem;
    --pod-card-width: clamp(16rem, 29vw, 19rem);
    --pod-zone-min-height: clamp(14rem, 24vw, 17rem);
    --pod-zone-aspect: 1.16;
    grid-template-columns:
      minmax(var(--pod-card-min), var(--pod-card-width))
      minmax(13rem, 1.25fr);
  }

  .beat-four-wire__copy--pod {
    width: 100%;
  }

  .beat-four-pod-whale--one {
    left: 4%;
    top: 8%;
    width: 56%;
  }

  .beat-four-pod-whale--two {
    right: -1%;
    top: 35%;
    width: 68%;
  }

  .beat-four-pod-whale--three {
    left: 24%;
    bottom: 2%;
    width: 41%;
  }
}

@media (min-width: 1400px) {
  .beat-four-wire--pod {
    --pod-card-width: clamp(22rem, 27vw, 29rem);
    --pod-zone-min-height: clamp(21rem, 36vw, 30rem);
    --pod-zone-aspect: 1.26;
    grid-template-columns:
      minmax(var(--pod-card-min), var(--pod-card-width))
      minmax(22rem, 1.45fr);
  }
}

@media (min-width: 1700px) {
  .beat-four-wire--pod {
    --pod-card-width: clamp(24rem, 26vw, 31rem);
    --pod-zone-min-height: clamp(23rem, 38vw, 32rem);
    --pod-zone-aspect: 1.3;
    grid-template-columns:
      minmax(var(--pod-card-min), var(--pod-card-width))
      minmax(24rem, 1.55fr);
  }
}

@media (min-width: 1400px) {
  .beat-four-wire--diagram {
    min-height: max(var(--beat-four-panel-height), clamp(44rem, 84vh, 58rem));
  }

  .beat-four-wire__copy--diagram-card {
    grid-column: 4 / span 7;
  }

  .beat-four-wire__eye.bottom-encounter__scene-six-squid {
    width: min(clamp(16rem, 22vw, 32rem), 46vh);
  }

  .beat-four-wire__whale-glow {
    right: 0.5rem;
    width: min(clamp(26rem, 32vw, 48rem), 58vh);
  }

  .beat-four-wire__ink.bottom-encounter__ink-squid-group {
    width: min(clamp(12rem, 17vw, 25rem), 38vh);
    height: min(clamp(15rem, 21vw, 31rem), 47vh);
  }
}

@media (min-width: 1700px) {
  .beat-four-stage__shell {
    --shell: 104rem;
  }

  .beat-four-wire--diagram {
    min-height: max(var(--beat-four-panel-height), clamp(46rem, 86vh, 62rem));
  }

  .beat-four-wire__copy--diagram-card {
    grid-column: 4 / span 8;
  }

  .beat-four-wire__eye.bottom-encounter__scene-six-squid {
    width: min(clamp(18rem, 24vw, 34rem), 48vh);
  }

  .beat-four-wire__whale-glow {
    right: 0.35rem;
    width: min(clamp(30rem, 34vw, 52rem), 60vh);
  }

  .beat-four-wire__ink.bottom-encounter__ink-squid-group {
    width: min(clamp(13.5rem, 18vw, 27rem), 40vh);
    height: min(clamp(16.75rem, 22vw, 33rem), 49vh);
  }
}

.beat-section--follow-whale {
  --follow-whale-panel-count: 3;
  --follow-whale-progress: 0;
  --follow-whale-gap: clamp(1.75rem, 3vw, 3.5rem);
  --follow-whale-step: 0px;
  position: relative;
  min-height: calc(100svh + ((var(--follow-whale-panel-count) - 1) * 82svh) + 6rem);
  padding: 0;
  background: transparent;
  overflow: clip;
  isolation: isolate;
}

.beat-section--follow-whale::before {
  content: none;
}

.follow-whale-stage {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
  overflow: hidden;
}

.follow-whale-stage__shell {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.follow-whale-viewport {
  overflow: hidden;
}

.follow-whale-track {
  display: flex;
  gap: var(--follow-whale-gap);
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.follow-whale-panel {
  flex: 0 0 var(--follow-whale-step);
  min-width: var(--follow-whale-step);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(34rem, 1.28fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
  padding-inline: clamp(0.75rem, 1.5vw, 1.5rem);
}

.follow-whale-panel__copy {
  display: grid;
  gap: 1rem;
  align-content: center;
  max-width: 40rem;
  padding-right: clamp(0rem, 1vw, 0.5rem);
}

.follow-whale-panel__eyebrow {
  color: rgba(183, 235, 255, 0.86);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.follow-whale-panel__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--hero-text);
}

.follow-whale-panel__copy p {
  margin: 0;
  max-width: 60ch;
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  line-height: 1.9;
}

.follow-whale-panel__media {
  position: relative;
  height: clamp(20rem, 42vh, 28rem);
  margin: 0;
  border: 1px solid rgba(170, 224, 255, 0.16);
  background: rgba(10, 10, 10, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(190, 235, 255, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  align-self: center;
}

.follow-whale-panel__media--filled {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.follow-whale-panel__media--filled img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(20rem, 42vh, 28rem);
  object-fit: contain;
  object-position: center;
  box-shadow:
    inset 0 18px 24px -18px rgba(10, 10, 10, 0.98),
    inset 0 -18px 24px -18px rgba(10, 10, 10, 0.98),
    inset 18px 0 24px -18px rgba(10, 10, 10, 0.98),
    inset -18px 0 24px -18px rgba(10, 10, 10, 0.98);
}

.follow-whale-panel__media::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2vw, 1.5rem);
  border: 1px dashed rgba(191, 240, 255, 0.24);
}

.follow-whale-panel__media::after {
  content: "";
  position: absolute;
  inset: auto -18% -24% 38%;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 161, 255, 0.24) 0%, rgba(72, 161, 255, 0) 72%);
  pointer-events: none;
}

.follow-whale-panel__media-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(173, 226, 255, 0.18);
  background: rgba(10, 10, 10, 0.74);
  color: rgba(222, 245, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.follow-whale-panel__media--filled::before,
.follow-whale-panel__media--filled::after,
.carousel-frame--image::after,
.media-placeholder--filled::after {
  content: none;
}

.follow-whale-panel__media-note {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: rgba(224, 244, 255, 0.82);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.carousel-block,
.beat-three-hero-visual,
.wire-copy-block,
.survival-column,
.mini-card,
.conclusion-copy,
.comparison-tile,
.depth-rail,
.media-placeholder,
.sonar-placeholder {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.carousel-block,
.beat-three-hero-visual,
.wire-copy-block,
.survival-column,
.mini-card,
.conclusion-copy,
.comparison-tile {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 38rem) minmax(20rem, 44rem);
  gap: clamp(1.5rem, 3vw, 3rem);
  justify-content: center;
  justify-items: stretch;
  align-items: center;
  width: 100vw;
  min-height: min(82svh, 50rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding:
    clamp(3.75rem, 7vw, 5.25rem)
    clamp(1.5rem, 6vw, 5rem)
    clamp(4rem, 8vw, 5.5rem);
  border-radius: 0;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 98% 86% at 50% 28%, rgba(10, 10, 10, 0.01) 0%, rgba(10, 10, 10, 0.03) 22%, rgba(10, 10, 10, 0.1) 48%, rgba(10, 10, 10, 0.28) 74%, rgba(10, 10, 10, 0.64) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.46) 0%, rgba(10, 10, 10, 0.04) 22%, rgba(10, 10, 10, 0.8) 100%);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.02) 16%, rgba(10, 10, 10, 0) 50%, rgba(10, 10, 10, 0.02) 84%, rgba(10, 10, 10, 0.3) 100%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.022) 0%, rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.contributor-note--hero {
  position: relative;
  z-index: 2;
}

.migration-finale {
  --bottom-encounter-progress: 0.5;
  --bottom-encounter-whale: 1;
  --bottom-encounter-squid: 1;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: clamp(24rem, 52vw, 38rem);
  margin-inline: calc(50% - 50vw);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.migration-finale::before,
.migration-finale::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.migration-finale::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.2) 18%, rgba(10, 10, 10, 0) 40%),
    radial-gradient(circle at 50% 112%, rgba(140, 188, 255, 0.08) 0%, rgba(140, 188, 255, 0) 48%);
}

.migration-finale::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.1) 72%, rgba(10, 10, 10, 0.78) 100%);
}

.migration-finale__scene {
  inset: -34% -6% -10%;
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, -6%, 0) scale(1.04);
}

.migration-finale__scene::before {
  opacity: 0.16;
}

.migration-finale__scene::after {
  opacity: 0.18;
}

.migration-finale .bottom-encounter__creature {
  opacity: calc(var(--creature-progress) * var(--creature-opacity) * 1.24);
}

.migration-finale .bottom-encounter__creature--background {
  opacity: calc(var(--creature-progress) * var(--creature-opacity) * 0.82);
}

.migration-finale .bottom-encounter__creature-body {
  animation: hero-creature-traverse var(--creature-drift-duration) linear infinite;
  animation-delay: var(--creature-drift-delay);
}

.migration-finale .bottom-encounter__creature--whale {
  --creature-base-size: clamp(17rem, 31vw, 26rem);
}

.migration-finale .bottom-encounter__creature--squid {
  --creature-base-size: clamp(9.5rem, 18vw, 15.5rem);
}

.migration-finale .bottom-encounter__creature--whale .bottom-encounter__creature-body {
  filter:
    brightness(0)
    saturate(0)
    invert(1)
    sepia(0.03)
    hue-rotate(180deg)
    brightness(var(--creature-hero-brightness, 1.24))
    contrast(var(--creature-hero-contrast, 1.18))
    drop-shadow(0 0 1px rgba(255, 255, 255, var(--creature-hero-core-glow, 0.42)))
    drop-shadow(0 0 9px rgba(246, 250, 255, var(--creature-hero-mid-glow, 0.28)))
    drop-shadow(0 0 24px rgba(154, 198, 255, var(--creature-hero-outer-glow, 0.18)));
}

.migration-finale .bottom-encounter__creature--squid .bottom-encounter__creature-body {
  filter:
    brightness(0)
    saturate(0)
    invert(0.996)
    sepia(0.03)
    hue-rotate(180deg)
    brightness(var(--creature-hero-brightness, 1.22))
    contrast(var(--creature-hero-contrast, 1.16))
    drop-shadow(0 0 1px rgba(255, 255, 255, var(--creature-hero-core-glow, 0.4)))
    drop-shadow(0 0 10px rgba(246, 250, 255, var(--creature-hero-mid-glow, 0.26)))
    drop-shadow(0 0 26px rgba(154, 198, 255, var(--creature-hero-outer-glow, 0.18)));
}

.hero-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1rem, 1.8vw, 1.35rem) clamp(1.15rem, 2vw, 1.45rem);
  background: rgba(10, 10, 10, 0.88);
  border-radius: 1rem;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  isolation: isolate;
  justify-self: start;
  text-align: left;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + clamp(2.5rem, 5vw, 4rem));
  height: calc(100% + clamp(1.25rem, 2.4vw, 2rem));
  transform: translate(-50%, -50%);
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.46) 40%, rgba(10, 10, 10, 0.14) 72%, rgba(10, 10, 10, 0) 100%);
  pointer-events: none;
}

.hero-copy .eyebrow {
  margin-bottom: 1.1rem;
  color: var(--accent-ocean);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--hero-text);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.placeholder-copy {
  display: grid;
  gap: 1rem;
  max-width: 48ch;
  margin-inline: auto;
}

.placeholder-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  line-height: 1.9;
}

.placeholder-copy ul,
.placeholder-copy ol {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.2rem;
}

.placeholder-copy li {
  color: var(--muted);
  font-size: clamp(1rem, 1.08vw, 1.05rem);
  line-height: 1.88;
  padding-left: 0.15rem;
}

.placeholder-copy li::marker {
  color: rgba(189, 233, 255, 0.82);
}

.placeholder-copy strong {
  color: var(--text);
  font-weight: 600;
}

.placeholder-copy--hero {
  width: 100%;
  max-width: none;
  margin-top: 1.75rem;
  gap: 1.35rem;
  margin-inline: 0;
}

.placeholder-copy--hero p {
  color: rgba(225, 232, 240, 0.92);
  line-height: 1.8;
}

.contributor-note--hero {
  display: none;
}

.placeholder-copy--resources {
  max-width: 58rem;
  margin: 0 auto;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(24rem, 40vw, 36rem);
  margin: 0;
  justify-self: stretch;
  overflow: visible;
}

.hero-window {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-window--myth {
  width: 100%;
  max-width: none;
  height: clamp(24rem, 40vw, 36rem);
  margin-left: auto;
  border-radius: 1rem;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at top left, rgba(10, 10, 10, 0.9), transparent 18%),
    radial-gradient(circle at top right, rgba(10, 10, 10, 0.9), transparent 18%),
    radial-gradient(circle at bottom left, rgba(10, 10, 10, 0.9), transparent 18%),
    radial-gradient(circle at bottom right, rgba(10, 10, 10, 0.9), transparent 18%),
    linear-gradient(to right, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0) 12%, rgba(10, 10, 10, 0) 88%, rgba(10, 10, 10, 0.96) 100%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0) 12%, rgba(10, 10, 10, 0) 88%, rgba(10, 10, 10, 0.96) 100%);
  pointer-events: none;
}

.hero-image-pan {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/squidwhale-sculpture-edited.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: 0% 50%;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.04);
  transform-origin: center center;
  will-change: background-position, transform;
  animation: hero-pan 24s linear infinite alternate, hero-zoom-drift 40s ease-in-out infinite;
}

.carousel-block {
  display: grid;
  gap: 1.25rem;
  min-height: 340px;
}

.beat-three-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(32rem, 58vw, 44rem);
}

.hero-window--beat-three {
  max-width: min(100%, 640px);
  height: clamp(32rem, 58vw, 44rem);
}

.carousel-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  min-height: 340px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 280ms ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.carousel-frame::before,
.carousel-frame::after {
  content: none;
}

.carousel-frame--image {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

.carousel-frame--image::before {
  content: none;
}

.carousel-frame--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow:
    inset 0 18px 24px -18px rgba(10, 10, 10, 0.98),
    inset 0 -18px 24px -18px rgba(10, 10, 10, 0.98),
    inset 18px 0 24px -18px rgba(10, 10, 10, 0.98),
    inset -18px 0 24px -18px rgba(10, 10, 10, 0.98);
}

.carousel-control,
.carousel-indicator {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.carousel-control {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible,
.carousel-indicator:hover,
.carousel-indicator:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
}

.carousel-control:active {
  transform: scale(0.96);
}

.carousel-control span {
  font-size: 1rem;
  line-height: 1;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-indicator {
  width: 0.85rem;
  height: 0.85rem;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel-indicator.is-active {
  background: var(--text);
  border-color: var(--text);
}

.media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 1.5rem;
  overflow: hidden;
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.media-placeholder::before,
.media-placeholder::after {
  content: none;
}

.media-placeholder--filled {
  padding: 0;
  background: var(--surface-strong);
}

.media-placeholder--filled::before {
  content: none;
}

.media-placeholder--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow:
    inset 0 18px 24px -18px rgba(10, 10, 10, 0.98),
    inset 0 -18px 24px -18px rgba(10, 10, 10, 0.98),
    inset 18px 0 24px -18px rgba(10, 10, 10, 0.98),
    inset -18px 0 24px -18px rgba(10, 10, 10, 0.98);
}

.media-placeholder--hero {
  min-height: 400px;
}

.media-placeholder--carousel {
  min-height: 340px;
}

.media-placeholder--portrait {
  min-height: 260px;
}

.contributor-note {
  display: flex;
  font-weight: 700;
}

.contributor-note--hero {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  align-items: end;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 700;
}

.contributor-note p {
  margin: 0;
  max-width: 7ch;
  line-height: 1.2;
  color: var(--hero-text);
}

.contributor-note:empty {
  display: none;
}

.depth-rail {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  padding-top: 0.5rem;
}

.depth-rail__panel {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.2rem 1.2rem;
  border: 1px solid rgba(170, 224, 255, 0.16);
  background: rgba(10, 10, 10, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(190, 235, 255, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.depth-rail__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(220, 247, 255, 0.98) 0%, rgba(98, 201, 255, 0.88) 28%, rgba(24, 89, 180, 0.68) 100%);
  box-shadow: 0 0 26px rgba(91, 197, 255, 0.28);
}

.depth-rail__panel::after {
  content: "";
  position: absolute;
  inset: auto -22% -32% 28%;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 161, 255, 0.22) 0%, rgba(72, 161, 255, 0) 72%);
  pointer-events: none;
}

.depth-rail__head {
  position: relative;
  display: grid;
  gap: 0.45rem;
  z-index: 1;
}

.depth-rail__eyebrow {
  color: rgba(183, 235, 255, 0.86);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.depth-rail__readout {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--hero-text);
  text-shadow: 0 0 28px rgba(132, 215, 255, 0.12);
}

.depth-rail__note {
  margin: 0;
  color: var(--hero-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.depth-rail__stats {
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.depth-rail__stat {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 0.9rem 0.8rem;
  border: 1px solid rgba(175, 227, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.depth-rail__stat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.depth-rail__label {
  color: rgba(181, 223, 241, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.depth-rail__value {
  color: var(--hero-text);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.depth-rail__meter {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.depth-rail__meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 220ms ease-out;
}

.depth-rail__stat--pressure .depth-rail__meter span {
  background: linear-gradient(90deg, rgba(118, 229, 255, 0.9), rgba(36, 118, 255, 0.96));
  box-shadow: 0 0 20px rgba(64, 185, 255, 0.28);
}

.depth-rail__stat--temperature .depth-rail__meter span {
  background: linear-gradient(90deg, rgba(186, 246, 255, 0.92), rgba(77, 219, 214, 0.84));
  box-shadow: 0 0 18px rgba(77, 219, 214, 0.2);
}

.depth-rail__stat--light .depth-rail__meter span {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(171, 229, 255, 0.9));
  box-shadow: 0 0 18px rgba(214, 245, 255, 0.22);
}

.depth-rail__caption {
  display: grid;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
  padding-top: 0.2rem;
}

.depth-rail__caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.depth-rail .species-tag--squid {
  justify-content: flex-start;
  color: rgba(191, 240, 255, 0.96);
}

.species-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.species-tag--squid {
  background: transparent;
}

.species-tag--whale {
  background: transparent;
}

.species-tag--right {
  margin-left: auto;
}

.survival-column {
  display: grid;
  gap: 2rem;
  min-height: 290px;
}

.survival-column--end {
  align-content: start;
}

.sonar-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: 1.5rem;
}

.sonar-placeholder::before,
.sonar-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.sonar-placeholder::before {
  width: 128px;
  height: 128px;
}

.sonar-placeholder::after {
  width: 72px;
  height: 72px;
  transform: translate(42px, -26px);
}

.sonar-placeholder span {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card-grid--family {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.mini-card {
  min-height: 320px;
}

.beat-section--family .mini-card {
  --family-card-progress: 0;
  background: rgba(10, 10, 10, 0.28);
  border: 1px solid rgba(185, 224, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(3px);
  opacity: calc(0.12 + (0.88 * var(--family-card-progress)));
  transform: translate3d(0, calc((1 - var(--family-card-progress)) * 3.5rem), 0) scale(calc(0.96 + (0.04 * var(--family-card-progress))));
  filter: blur(calc((1 - var(--family-card-progress)) * 10px));
  will-change: opacity, transform, filter;
}

.beat-section--family .mini-card.is-revealed {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 54px rgba(0, 0, 0, 0.24);
}

.beat-section--family .mini-card h3,
.beat-section--family .mini-card .placeholder-copy {
  opacity: calc(0.35 + (0.65 * var(--family-card-progress)));
}

.family-stage__followup {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding: 0;
  border-top: 0;
  max-width: 72ch;
  margin-inline: auto;
}

.beat-section--followup {
  background: var(--bg);
}

.moving-forward-copy {
  max-width: 72ch;
  margin: 0 auto;
}

.family-stage__followup h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
}

.family-stage__followup p {
  color: rgba(233, 240, 247, 0.9);
  line-height: 1.95;
}

.mini-card h3,
.conclusion-copy h3,
.comparison-tile h3 {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
}

.comparison-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.comparison-tile {
  text-align: center;
}

#beat-2 .wire-copy-block,
#beat-4 .survival-column,
#beat-6 .conclusion-copy,
#beat-6 .comparison-tile,
.family-stage__followup {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#beat-2 .placeholder-copy h3,
#beat-4 .survival-column h3,
.family-stage__followup h3,
#beat-6 .comparison-tile h3,
#beat-6 .conclusion-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--hero-text);
}

#beat-2 .placeholder-copy h3 {
  margin-top: 0.9rem;
  padding-top: 0;
  border-top: 0;
}

#beat-2 .placeholder-copy h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#beat-4 > .shell > .placeholder-copy {
  max-width: 72ch;
  margin: 0 auto 2.25rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.placeholder-copy--survival-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 2.25rem;
  gap: 1.25rem;
}

.survival-intro-feature {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(21rem, 38vw, 28rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.survival-intro-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0.1) 30%, rgba(10, 10, 10, 0.4) 100%);
  pointer-events: none;
}

.survival-intro-feature__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  width: min(calc(100% - 3rem), 72ch);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.75rem) 0 clamp(2rem, 4vw, 2.8rem);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.52);
}

.section-heading--survival-intro {
  margin-bottom: 0;
}

.section-heading--survival-intro h2 {
  color: var(--hero-text);
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.survival-intro-feature p {
  max-width: 60ch;
  margin: 0 auto;
  color: rgba(234, 241, 248, 0.96);
  font-size: clamp(1.02rem, 1.12vw, 1.12rem);
  line-height: 1.9;
  text-align: center;
}

.survival-intro-followup {
  margin: 0;
  max-width: 72ch;
  margin-inline: auto;
}

#beat-4 > .shell > .placeholder-copy ul {
  padding-left: 0;
  list-style: none;
}

#beat-4 > .shell > .placeholder-copy li {
  position: relative;
  padding-left: 1.35rem;
}

#beat-4 > .shell > .placeholder-copy li::before,
#beat-4 .survival-column .placeholder-copy ul:first-child li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(191, 240, 255, 0.92);
}

#beat-4 .survival-column {
  gap: 1.35rem;
}

#beat-4 .survival-column .placeholder-copy ul:first-child {
  padding-left: 0;
  list-style: none;
}

#beat-4 .survival-column .placeholder-copy ul:first-child li {
  position: relative;
  padding-left: 1.25rem;
}

#beat-4 .survival-column .placeholder-copy ul:last-child {
  padding-left: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

#beat-4 .survival-column .placeholder-copy ul:last-child li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#beat-5 .mini-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  border: 1px solid rgba(185, 224, 255, 0.1);
  background: rgba(10, 10, 10, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(3px);
}

#beat-5 .mini-card h3 {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--hero-text);
}

#beat-5 .mini-card .placeholder-copy {
  max-width: none;
}

#beat-5 .mini-card .placeholder-copy p {
  color: rgba(233, 240, 247, 0.9);
}

#beat-6 .conclusion-copy,
#beat-6 .comparison-tile {
  text-align: left;
}

#beat-6 .comparison-tiles {
  align-items: start;
}

#beat-6 .comparison-tile--help {
  grid-column: 1 / -1;
  width: min(100%, 42rem);
  justify-self: center;
}

#beat-6 .comparison-tile--help h3 {
  text-align: center;
}

#beat-6 .conclusion-copy .placeholder-copy,
#beat-6 .comparison-tile .placeholder-copy {
  max-width: none;
}

.beat-section--resources {
  padding-bottom: clamp(5rem, 8vw, 7rem);
}

.beat-section--photo-credits {
  padding-top: 0;
  padding-bottom: clamp(10rem, 20vw, 18rem);
}

.photo-credits {
}

.photo-credits + .photo-credits {
  margin-top: 0.5rem;
}

.photo-credits__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  list-style: none;
  cursor: pointer;
}

.photo-credits__summary::-webkit-details-marker {
  display: none;
}

.photo-credits__summary:focus-visible {
  outline: none;
}

.photo-credits__title {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.photo-credits__glyph {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  transition: transform 260ms ease;
}

.photo-credits__glyph::before,
.photo-credits__glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text);
  transform-origin: center;
}

.photo-credits__glyph::before {
  width: 100%;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.photo-credits__glyph::after {
  width: 1.5px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.photo-credits[open] .photo-credits__glyph {
  transform: rotate(45deg);
}

.photo-credits__content {
  padding: 0 0 1.5rem;
}

.photo-credits__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.photo-credits__content--citations p + p {
  margin-top: 1rem;
}

.page-end-link {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.page-end-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(185, 224, 255, 0.2);
  border-radius: 999px;
  background: rgba(185, 224, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.22);
  color: var(--hero-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.page-end-link a:hover,
.page-end-link a:focus-visible {
  color: var(--text);
  background: rgba(185, 224, 255, 0.14);
  border-color: rgba(185, 224, 255, 0.34);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.28);
}

.bottom-encounter {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: clamp(24rem, 60vw, 44rem);
  margin-inline: calc(50% - 50vw);
  margin-top: clamp(2rem, 6vw, 4rem);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  --bottom-encounter-progress: 0;
  --bottom-encounter-whale: 0;
  --bottom-encounter-squid: 0;
}

.bottom-encounter--scene-one {
  --scene-one-eye-reveal: 0;
  --scene-one-whale-glow: 0;
}

.bottom-encounter--scene-two {
  --scene-two-sonar-opacity: 0.92;
}

.bottom-encounter::before {
  content: none;
}

.bottom-encounter__explainer {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(30rem, calc(100% - 3rem));
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border: 1px solid rgba(184, 226, 255, 0.12);
  background: rgba(10, 10, 10, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 22px 52px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  text-align: center;
  transform: translate3d(-50%, calc(-50% + ((1 - var(--bottom-encounter-progress)) * 2rem)), 0);
  opacity: calc(0.16 + (var(--bottom-encounter-progress) * 0.84));
  z-index: 3;
}

.bottom-encounter__explainer h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.bottom-encounter__explainer .placeholder-copy {
  max-width: none;
}

.bottom-encounter__explainer .placeholder-copy p {
  margin: 0;
}

.bottom-encounter__animation-names {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(184, 226, 255, 0.12);
}

.bottom-encounter__animation-name {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(232, 243, 255, 0.9);
}

.bottom-encounter__animation-side {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(143, 212, 255, 0.78);
}

.bottom-encounter__animation-token {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: rgba(244, 249, 255, 0.92);
  word-break: break-word;
}

.bottom-encounter__audio-button {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(158, 216, 255, 0.28);
  background: rgba(110, 188, 255, 0.12);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.bottom-encounter__audio-button:hover,
.bottom-encounter__audio-button:focus-visible {
  background: rgba(120, 204, 255, 0.2);
  border-color: rgba(177, 228, 255, 0.42);
  transform: translateY(-1px);
  outline: none;
}

.bottom-encounter__audio-button[aria-pressed="true"] {
  background: rgba(124, 215, 255, 0.26);
  border-color: rgba(208, 240, 255, 0.5);
}

.bottom-encounter__whale-group {
  position: absolute;
  pointer-events: none;
}

.bottom-encounter__carousel-group {
  position: absolute;
  pointer-events: auto;
}

.bottom-encounter__squid-group {
  position: absolute;
  pointer-events: none;
}

.bottom-encounter__sonar {
  position: absolute;
  width: clamp(2.75rem, 4.4vw, 4.75rem);
  height: clamp(2.75rem, 4.4vw, 4.75rem);
  pointer-events: none;
  z-index: 1;
}

.bottom-encounter__sonar-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(138, 221, 255, 0.95);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.14);
  box-shadow:
    0 0 12px rgba(126, 214, 255, 0.26),
    inset 0 0 10px rgba(170, 232, 255, 0.12);
}

.bottom-encounter--scene-two.is-sonar-active .bottom-encounter__sonar-ring {
  animation: bottom-sonar-ring 2.45s linear infinite;
}

.bottom-encounter--scene-two.is-sonar-active .bottom-encounter__sonar-ring:nth-child(2) {
  animation-delay: 0.4s;
}

.bottom-encounter--scene-two.is-sonar-active .bottom-encounter__sonar-ring:nth-child(3) {
  animation-delay: 0.8s;
}

.bottom-encounter--scene-two.is-sonar-active .bottom-encounter__sonar-ring:nth-child(4) {
  animation-delay: 1.2s;
}

.bottom-encounter--scene-two.is-sonar-active .bottom-encounter__sonar-ring:nth-child(5) {
  animation-delay: 1.6s;
}

.bottom-encounter__silhouette {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform-origin: center;
  will-change: opacity, transform, filter;
}

.bottom-encounter__silhouette--whale {
  top: clamp(0.75rem, 2vw, 1.75rem);
  right: clamp(-18rem, -24vw, -6rem);
  width: clamp(46rem, 102vw, 72rem);
  opacity: calc(var(--bottom-encounter-whale) * 0.52);
  transform: translate3d(calc((1 - var(--bottom-encounter-whale)) * 42vw), calc((1 - var(--bottom-encounter-whale)) * -2vw), 0) scale(calc(0.84 + var(--bottom-encounter-whale) * 0.16));
  transform-origin: center right;
  filter:
    brightness(1) saturate(0) contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
  z-index: 2;
}

.bottom-encounter--scene-two .bottom-encounter__whale-group {
  top: clamp(0.75rem, 2vw, 1.75rem);
  right: clamp(-18rem, -24vw, -6rem);
  width: clamp(46rem, 102vw, 72rem);
  opacity: calc(var(--bottom-encounter-whale) * 0.52);
  transform: translate3d(calc((1 - var(--bottom-encounter-whale)) * 42vw), calc((1 - var(--bottom-encounter-whale)) * -2vw), 0) scale(calc(0.84 + var(--bottom-encounter-whale) * 0.16));
  transform-origin: center right;
  will-change: opacity, transform;
  z-index: 2;
}

.bottom-encounter--scene-two .bottom-encounter__whale-group .bottom-encounter__silhouette--whale {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  opacity: 1;
  transform: scaleX(-1);
  filter:
    brightness(1) saturate(0) contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
  z-index: 2;
}

.bottom-encounter--scene-two .bottom-encounter__whale-group .bottom-encounter__sonar {
  top: 51%;
  left: auto;
  right: 6.2%;
}

.bottom-encounter--scene-two .bottom-encounter__squid-group {
  left: clamp(-8rem, -10vw, -2rem);
  bottom: clamp(-5rem, -8vw, -1.5rem);
  width: clamp(15rem, 38vw, 32rem);
  opacity: calc(var(--bottom-encounter-squid) * 0.52);
  transform: translate3d(calc((1 - var(--bottom-encounter-squid)) * -118px), calc((1 - var(--bottom-encounter-squid)) * 34px), 0) scale(calc(0.84 + var(--bottom-encounter-squid) * 0.16)) rotate(-11deg);
  transform-origin: center;
  will-change: opacity, transform;
  z-index: 1;
}

.bottom-encounter--scene-two .bottom-encounter__squid-group .bottom-encounter__silhouette--squid {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  opacity: 1;
  transform: none;
  filter:
    brightness(1) saturate(0) contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
  z-index: 2;
}

.bottom-encounter--scene-three .bottom-encounter__carousel-group {
  top: clamp(2rem, 5vw, 4rem);
  right: clamp(-3rem, -3vw, 0.5rem);
  width: clamp(21rem, 40vw, 33rem);
  opacity: calc(var(--bottom-encounter-whale) * 0.92);
  transform: translate3d(calc((1 - var(--bottom-encounter-whale)) * 20vw), calc((1 - var(--bottom-encounter-whale)) * -1vw), 0) scale(calc(0.88 + var(--bottom-encounter-whale) * 0.12));
  transform-origin: center right;
  z-index: 2;
}

.bottom-encounter--scene-three {
  min-height: clamp(30rem, 68vw, 46rem);
}

.bottom-encounter--scene-three .bottom-encounter__explainer {
  top: clamp(2rem, 7vw, 4.5rem);
  left: clamp(1.75rem, 4vw, 4rem);
  width: clamp(17rem, 28vw, 22rem);
  text-align: left;
  transform: translate3d(0, calc((1 - var(--bottom-encounter-progress)) * 1rem), 0);
}

.bottom-encounter--scene-three .bottom-encounter__explainer h3 {
  margin-bottom: 0.65rem;
}

.bottom-encounter--scene-four {
  --scene-four-whale-two: 0;
}

.bottom-encounter--scene-four .bottom-encounter__explainer {
  z-index: 4;
}

.bottom-encounter--scene-four .bottom-encounter__silhouette--whale-secondary {
  top: clamp(-4.5rem, -3.8vw, -2rem);
  right: clamp(-12rem, -18vw, -4rem);
  width: clamp(38rem, 84vw, 58rem);
  opacity: var(--scene-four-whale-two);
  transform: translate3d(calc((1 - var(--scene-four-whale-two)) * 34vw), calc((1 - var(--scene-four-whale-two)) * -3.5vw), 0) scale(calc(0.78 + var(--scene-four-whale-two) * 0.14));
  transform-origin: center right;
  filter:
    brightness(1) saturate(0) contrast(1.06)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.14))
    drop-shadow(0 0 14px rgba(227, 236, 255, 0.14))
    drop-shadow(0 0 40px rgba(126, 170, 255, 0.12));
  z-index: 3;
}

.bottom-encounter--scene-five {
  min-height: clamp(30rem, 66vw, 44rem);
}

.bottom-encounter--scene-five .bottom-encounter__explainer {
  top: 50%;
  left: auto;
  right: clamp(1.5rem, 4vw, 4rem);
  width: clamp(12rem, 18vw, 15rem);
  min-height: clamp(15rem, 24vw, 21rem);
  text-align: left;
  transform: translate3d(0, calc(-50% + ((1 - var(--bottom-encounter-progress)) * 1.25rem)), 0);
  z-index: 4;
}

.bottom-encounter__ink-squid-group {
  position: absolute;
  pointer-events: none;
  isolation: isolate;
}

.bottom-encounter__ink-squid-group::before,
.bottom-encounter__ink-squid-group::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.bottom-encounter--scene-five .bottom-encounter__ink-squid-group {
  left: clamp(-8rem, -10vw, -2rem);
  bottom: clamp(-5rem, -8vw, -1.5rem);
  width: clamp(15rem, 38vw, 32rem);
  height: clamp(18.75rem, 47.5vw, 40rem);
  opacity: 1;
  transform: none;
  z-index: 2;
}

.bottom-encounter--scene-five .bottom-encounter__ink-squid-group::before {
  content: none;
}

.bottom-encounter--scene-five .bottom-encounter__ink-squid-group::after {
  content: none;
}

.bottom-encounter__squid-ink-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
  pointer-events: none;
}

.bottom-encounter__squid-ink-video {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bottom-encounter--scene-six {
  min-height: clamp(30rem, 66vw, 44rem);
}

.bottom-encounter--scene-six .bottom-encounter__explainer {
  top: 50%;
  left: auto;
  right: clamp(1.5rem, 4vw, 4rem);
  width: clamp(12rem, 18vw, 15rem);
  min-height: clamp(15rem, 24vw, 21rem);
  text-align: left;
  transform: translate3d(0, calc(-50% + ((1 - var(--bottom-encounter-progress)) * 1.25rem)), 0);
  z-index: 4;
}

.bottom-encounter__scene-six-squid {
  position: absolute;
  overflow: visible;
  filter: none;
}

.bottom-encounter__scene-six-squid-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter:
    brightness(1)
    saturate(0)
    contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
}

.bottom-encounter__scene-six-eye-cover {
  position: absolute;
  left: 50.9%;
  top: 37.1%;
  width: 8.6%;
  height: 6.5%;
  background: var(--bg);
  border-radius: 999px;
  box-shadow:
    0 0 8px var(--bg),
    0 0 16px var(--bg);
  opacity: 1;
  transform: rotate(-8deg);
  transform-origin: center;
  will-change: opacity;
  animation: scene-six-eye-cover-fade 5.2s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes scene-six-eye-cover-fade {
  0%,
  24%,
  100% {
    opacity: 1;
  }

  40%,
  66% {
    opacity: 0;
  }

  82% {
    opacity: 1;
  }
}

.bottom-encounter__migration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bottom-encounter__migration::before,
.bottom-encounter__migration::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.bottom-encounter__migration::before {
  inset: -8%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 74% 70%, rgba(255, 255, 255, 0.045), transparent 30%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.14) 100%);
  opacity: 0.82;
  z-index: 0;
}

.bottom-encounter__migration::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.24) 0%, transparent 16%, transparent 84%, rgba(10, 10, 10, 0.24) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.02) 0%, rgba(10, 10, 10, 0.18) 100%);
  opacity: 0.68;
  z-index: 0;
}

.bottom-encounter__migration-field {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bottom-encounter__creature {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--creature-base-size);
  opacity: calc(var(--creature-progress) * var(--creature-opacity));
  transform:
    translate3d(
      calc(-50% + ((1 - var(--creature-progress)) * var(--creature-entry-x)) + ((var(--bottom-encounter-progress) - 0.5) * var(--creature-parallax-x))),
      calc(-50% + ((1 - var(--creature-progress)) * var(--creature-entry-y)) + ((var(--bottom-encounter-progress) - 0.5) * var(--creature-parallax-y))),
      0
    )
    scale(var(--creature-scale))
    rotate(calc(var(--creature-rotation) + ((1 - var(--creature-progress)) * var(--creature-entry-rotation))));
  transform-origin: center;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 900ms ease-out;
  will-change: transform, opacity;
}

.bottom-encounter__creature-body {
  width: 100%;
  transform-origin: center;
  animation: bottom-encounter-creature-drift var(--creature-drift-duration) ease-in-out infinite alternate;
  animation-delay: var(--creature-drift-delay);
  backface-visibility: hidden;
}

.bottom-encounter__creature-media {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(var(--creature-mirror, 1)) scale(var(--creature-stretch-x, 1), var(--creature-stretch-y, 1));
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}

.bottom-encounter__creature--whale {
  --creature-base-size: clamp(15.5rem, 27vw, 24rem);
}

.bottom-encounter__creature--whale .bottom-encounter__creature-body {
  filter:
    brightness(0)
    saturate(0)
    invert(0.96)
    sepia(0.08)
    hue-rotate(176deg)
    brightness(1.02)
    contrast(1.04)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.16))
    drop-shadow(0 0 12px rgba(214, 228, 255, 0.16))
    drop-shadow(0 0 34px rgba(118, 168, 255, 0.14));
}

.bottom-encounter__creature--squid {
  --creature-base-size: clamp(8.5rem, 16vw, 14rem);
}

.bottom-encounter__creature--squid .bottom-encounter__creature-body {
  filter:
    brightness(0)
    saturate(0)
    invert(0.93)
    sepia(0.05)
    hue-rotate(178deg)
    brightness(1.01)
    contrast(1.02)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 14px rgba(220, 234, 255, 0.15))
    drop-shadow(0 0 38px rgba(116, 170, 255, 0.14));
}

.bottom-encounter__creature--background {
  opacity: calc(var(--creature-progress) * var(--creature-opacity) * 0.84);
}

.bottom-encounter__carousel {
  gap: 1rem;
  min-height: auto;
  padding: 0;
}

.bottom-encounter__carousel .carousel-shell {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.bottom-encounter__carousel .carousel-viewport,
.bottom-encounter__carousel .carousel-frame {
  min-height: clamp(20rem, 34vw, 28rem);
}

.bottom-encounter__carousel .carousel-frame {
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(180, 226, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 24px 52px rgba(0, 0, 0, 0.28);
}

.bottom-encounter__carousel .carousel-frame--image img {
  object-fit: contain;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.bottom-encounter__carousel .carousel-control {
  background: rgba(10, 10, 10, 0.82);
  border-color: rgba(176, 223, 255, 0.2);
}

.bottom-encounter__carousel .carousel-indicators {
  gap: 0.55rem;
}

.bottom-encounter__silhouette--squid {
  left: clamp(-8rem, -10vw, -2rem);
  bottom: clamp(-5rem, -8vw, -1.5rem);
  width: clamp(15rem, 38vw, 32rem);
  opacity: calc(var(--bottom-encounter-squid) * 0.52);
  transform: translate3d(calc((1 - var(--bottom-encounter-squid)) * -118px), calc((1 - var(--bottom-encounter-squid)) * 34px), 0) scale(calc(0.84 + var(--bottom-encounter-squid) * 0.16)) rotate(-11deg);
  filter:
    brightness(1) saturate(0) contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
  z-index: 1;
}

.bottom-encounter--scene-one .bottom-encounter__silhouette--squid {
  filter:
    brightness(calc(0.02 + (0.98 * var(--scene-one-eye-reveal))))
    saturate(0)
    contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 16px rgba(227, 236, 255, 0.18))
    drop-shadow(0 0 48px rgba(126, 170, 255, 0.18));
}

.bottom-encounter--scene-one .bottom-encounter__silhouette--whale {
  animation: scene-one-whale-halo-pulse 1280ms ease-in-out infinite;
}

@keyframes bottom-encounter-creature-drift {
  0% {
    transform:
      translate3d(calc(var(--creature-drift-x) * -0.42), calc(var(--creature-drift-y) * -0.24), 0)
      rotate(calc(var(--creature-drift-rotation) * -0.2));
  }

  34% {
    transform:
      translate3d(calc(var(--creature-drift-x) * 0.14), calc(var(--creature-drift-y) * -0.5), 0)
      rotate(calc(var(--creature-drift-rotation) * 0.08));
  }

  68% {
    transform:
      translate3d(calc(var(--creature-drift-x) * 0.42), calc(var(--creature-drift-y) * 0.22), 0)
      rotate(calc(var(--creature-drift-rotation) * 0.18));
  }

  100% {
    transform:
      translate3d(calc(var(--creature-drift-x) * 0.5), calc(var(--creature-drift-y) * 0.42), 0)
      rotate(calc(var(--creature-drift-rotation) * 0.16));
  }
}

@keyframes hero-creature-traverse {
  0% {
    transform:
      translate3d(0, calc(var(--creature-drift-y) * -0.34), 0)
      rotate(calc(var(--creature-drift-rotation) * -0.16));
  }

  22% {
    transform:
      translate3d(
        calc((var(--creature-travel-x) * 0.22) + (var(--creature-drift-x) * 0.16)),
        calc(var(--creature-drift-y) * -0.56),
        0
      )
      rotate(calc(var(--creature-drift-rotation) * 0.1));
  }

  48% {
    transform:
      translate3d(
        calc((var(--creature-travel-x) * 0.48) + (var(--creature-drift-x) * -0.08)),
        calc(var(--creature-drift-y) * 0.04),
        0
      )
      rotate(calc(var(--creature-drift-rotation) * -0.08));
  }

  74% {
    transform:
      translate3d(
        calc((var(--creature-travel-x) * 0.74) + (var(--creature-drift-x) * 0.12)),
        calc(var(--creature-drift-y) * 0.42),
        0
      )
      rotate(calc(var(--creature-drift-rotation) * 0.16));
  }

  100% {
    transform:
      translate3d(
        var(--creature-travel-x),
        calc(var(--creature-drift-y) * 0.18),
        0
      )
      rotate(calc(var(--creature-drift-rotation) * -0.04));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section-ambient-video {
    display: none;
  }

  .hero-image-pan {
    animation: none;
  }

  .bottom-encounter__silhouette--whale {
    animation: none;
  }

  .bottom-encounter--scene-one .bottom-encounter__silhouette--whale {
    animation: none;
  }

  .bottom-encounter__creature-body {
    animation: none;
    transform: none;
  }

  .bottom-encounter--scene-two.is-sonar-active .bottom-encounter__sonar-ring {
    animation: none;
    opacity: 0.6;
    transform: scale(0.78);
  }

  .beat-four-wire__whale-glow,
  .beat-four-wire__sound-whale,
  .beat-four-wire__stealth,
  .beat-four-pod-whale,
  .beat-four-wire__sonar .bottom-encounter__sonar-ring,
  .beat-four-wire__eye .bottom-encounter__scene-six-eye-cover {
    animation: none;
  }

  .beat-four-wire__sonar .bottom-encounter__sonar-ring {
    opacity: 0.6;
    transform: scale(0.78);
  }

  .beat-four-wire__eye .bottom-encounter__scene-six-eye-cover {
    opacity: 0.55;
  }

}

@keyframes hero-pan {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes bottom-sonar-ring {
  0% {
    opacity: 0;
    transform: scale(0.14);
  }

  14% {
    opacity: var(--scene-two-sonar-opacity);
  }

  76% {
    opacity: calc(var(--scene-two-sonar-opacity) * 0.24);
  }

  100% {
    opacity: 0;
    transform: scale(22);
  }
}

@keyframes scene-one-whale-halo-pulse {
  0%,
  100% {
    filter:
      brightness(calc(1 + (0.03 * var(--scene-one-whale-glow)))) saturate(0) contrast(1.08)
      drop-shadow(0 0 calc(3px + (5px * var(--scene-one-whale-glow))) rgba(118, 198, 255, calc(0.16 + (0.16 * var(--scene-one-whale-glow)))))
      drop-shadow(0 0 calc(10px + (12px * var(--scene-one-whale-glow))) rgba(82, 176, 255, calc(0.18 + (0.34 * var(--scene-one-whale-glow)))))
      drop-shadow(0 0 calc(20px + (24px * var(--scene-one-whale-glow))) rgba(34, 136, 255, calc(0.12 + (0.32 * var(--scene-one-whale-glow)))));
  }

  50% {
    filter:
      brightness(calc(1 + (0.06 * var(--scene-one-whale-glow)))) saturate(0) contrast(1.1)
      drop-shadow(0 0 calc(5px + (7px * var(--scene-one-whale-glow))) rgba(122, 208, 255, calc(0.2 + (0.2 * var(--scene-one-whale-glow)))))
      drop-shadow(0 0 calc(14px + (16px * var(--scene-one-whale-glow))) rgba(96, 192, 255, calc(0.24 + (0.42 * var(--scene-one-whale-glow)))))
      drop-shadow(0 0 calc(28px + (30px * var(--scene-one-whale-glow))) rgba(40, 144, 255, calc(0.16 + (0.4 * var(--scene-one-whale-glow)))));
  }
}

@keyframes hero-zoom-drift {
  0% {
    transform: scale(1.04);
  }

  16% {
    transform: scale(1.08);
  }

  34% {
    transform: scale(1.03);
  }

  57% {
    transform: scale(1.1);
  }

  78% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.07);
  }
}

@keyframes whale-glow-pulse {
  0%,
  100% {
    filter:
      brightness(0.08) saturate(0) contrast(1.05)
      drop-shadow(0 0 12px rgba(232, 244, 255, 0.34))
      drop-shadow(0 0 30px rgba(116, 188, 255, 0.3));
  }

  50% {
    filter:
      brightness(0.08) saturate(0) contrast(1.05)
      drop-shadow(0 0 22px rgba(245, 250, 255, 0.64))
      drop-shadow(0 0 54px rgba(126, 204, 255, 0.58));
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow);
    margin-top: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .wire-grid--split,
  .wire-grid--survival,
  .wire-grid--conclusion,
  .card-grid,
  .comparison-tiles {
    grid-template-columns: 1fr;
  }

  .beat-section--follow-whale {
    min-height: auto;
    padding: clamp(3rem, 6vh, 4rem) 0;
  }

  .follow-whale-stage {
    position: relative;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .follow-whale-viewport {
    overflow: visible;
  }

  .follow-whale-track {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    transform: none !important;
  }

  .follow-whale-panel {
    grid-template-columns: 1fr;
  }

  .follow-whale-panel__copy {
    max-width: none;
    padding-right: 0;
  }

  .follow-whale-panel__media {
    height: clamp(18rem, 42vw, 24rem);
  }

  .beat-section--family {
    --family-reveal-step: clamp(7rem, 16vh, 10rem);
    --family-stage-pad-top: clamp(2.5rem, 5vh, 3.5rem);
    --family-stage-pad-bottom: clamp(3.5rem, 9vh, 5rem);
    --family-heading-gap: clamp(3.25rem, 8vh, 5rem);
    min-height: calc(100svh + (var(--family-step-count) * var(--family-reveal-step)) + 11rem);
  }

  .beat-section--family .family-stage {
    padding: var(--family-stage-pad-top) 0 var(--family-stage-pad-bottom);
  }

  .beat-section--family .section-heading {
    margin-top: 0;
    margin-bottom: var(--family-heading-gap);
  }

  .beat-section--family .card-grid--family {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beat-section--family .mini-card {
    min-height: clamp(10.5rem, 22vw, 13.5rem);
  }

  #beat-4 .survival-column .placeholder-copy ul:last-child {
    grid-template-columns: 1fr;
  }

  .bottom-encounter__sonar {
    width: clamp(2.5rem, 4vw, 3.9rem);
    height: clamp(2.5rem, 4vw, 3.9rem);
  }

  .bottom-encounter--scene-two .bottom-encounter__whale-group {
    top: 6%;
    right: clamp(-20rem, -40vw, -8rem);
    width: clamp(44rem, 134vw, 64rem);
  }

  .bottom-encounter--scene-two .bottom-encounter__squid-group {
    left: clamp(-7rem, -16vw, -2rem);
    bottom: clamp(-4rem, -7vw, -1rem);
    width: clamp(14rem, 48vw, 26rem);
  }

  .bottom-encounter--scene-three .bottom-encounter__carousel-group {
    top: 8%;
    right: clamp(-1rem, -1vw, 0rem);
    width: clamp(19rem, 46vw, 27rem);
  }

  .bottom-encounter__carousel .carousel-viewport,
  .bottom-encounter__carousel .carousel-frame {
    min-height: clamp(18rem, 38vw, 24rem);
  }

  .bottom-encounter--scene-three {
    min-height: clamp(32rem, 82vw, 42rem);
  }

  .bottom-encounter--scene-three .bottom-encounter__explainer {
    top: 12%;
    left: clamp(1.25rem, 3vw, 2rem);
    width: clamp(14rem, 28vw, 17rem);
  }

  .bottom-encounter--scene-four .bottom-encounter__silhouette--whale-secondary {
    top: -6%;
    right: clamp(-14rem, -26vw, -6rem);
    width: clamp(36rem, 110vw, 52rem);
  }

  .bottom-encounter--scene-five {
    min-height: clamp(32rem, 86vw, 42rem);
  }

  .bottom-encounter--scene-five .bottom-encounter__explainer {
    right: clamp(1rem, 3vw, 2rem);
    width: clamp(11rem, 20vw, 13.5rem);
    min-height: clamp(14rem, 26vw, 18rem);
  }

  .bottom-encounter--scene-five .bottom-encounter__ink-squid-group {
    left: clamp(-7rem, -16vw, -2rem);
    bottom: clamp(-4rem, -7vw, -1rem);
    width: clamp(14rem, 48vw, 26rem);
    height: clamp(17.5rem, 60vw, 32.5rem);
  }

  .bottom-encounter--scene-six {
    min-height: clamp(32rem, 86vw, 42rem);
  }

  .bottom-encounter--scene-six .bottom-encounter__explainer {
    right: clamp(1rem, 3vw, 2rem);
    width: clamp(11rem, 20vw, 13.5rem);
    min-height: clamp(14rem, 26vw, 18rem);
  }

  .bottom-encounter__creature--whale {
    --creature-base-size: clamp(14.25rem, 34vw, 22rem);
  }

  .bottom-encounter__creature--squid {
    --creature-base-size: clamp(8rem, 18vw, 12.75rem);
  }

  .hero-panel,
  .contributor-note,
  .carousel-block,
  .beat-three-hero-visual,
  .depth-rail,
  .survival-column,
  .sonar-placeholder {
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding:
      clamp(3.4rem, 7vw, 4.5rem)
      clamp(1.25rem, 5vw, 3rem)
      clamp(3.8rem, 7vw, 4.8rem);
  }

  .hero-copy {
    width: min(calc(100% - 2.5rem), 40rem);
    max-width: 40rem;
    justify-self: center;
    text-align: center;
  }

  .migration-finale {
    min-height: clamp(22rem, 66vw, 32rem);
  }

  .hero-copy::before {
    width: min(94vw, 48rem);
    height: calc(100% + 5rem);
  }

  .placeholder-copy--hero {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(calc(100% - 2.5rem), 42rem);
    min-height: auto;
    justify-self: center;
  }

  .hero-window--myth {
    max-width: 42rem;
    height: clamp(22rem, 62vw, 32rem);
    margin-inline: auto;
  }

  .hero-window--beat-three {
    height: clamp(26rem, 72vw, 38rem);
  }

  .depth-rail {
    position: relative;
    top: auto;
    padding-top: 0;
  }

  .depth-rail__panel {
    gap: 0.9rem;
  }

  .depth-rail__caption p {
    max-width: none;
  }

  .species-tag--right {
    margin-left: 0;
  }

  .carousel-viewport,
  .carousel-frame {
    min-height: 280px;
  }

  .carousel-control {
    width: 2.75rem;
    height: 2.75rem;
  }

  .bottom-encounter {
    min-height: clamp(22rem, 74vw, 38rem);
  }

  .bottom-encounter__explainer {
    top: 56%;
    width: min(26rem, calc(100% - 3rem));
  }

  .bottom-encounter__silhouette--whale {
    top: 6%;
    right: clamp(-20rem, -40vw, -8rem);
    width: clamp(44rem, 134vw, 64rem);
  }

  .bottom-encounter__silhouette--squid {
    left: clamp(-7rem, -16vw, -2rem);
    bottom: clamp(-4rem, -7vw, -1rem);
    width: clamp(14rem, 48vw, 26rem);
  }
}

@media (max-aspect-ratio: 4 / 5) {
  .hero-copy {
    width: min(calc(100% - 2.25rem), 23rem);
    max-width: 23rem;
  }

  .hero-copy::before {
    width: min(90vw, 28rem);
    height: calc(100% + 4.5rem);
  }
}

@media (max-width: 640px) {
  .shell,
  .shell--narrow {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .beat-section {
    padding: 3.5rem 0;
  }

  .beat-section--hero {
    padding: 0;
  }

  .wire-grid {
    gap: 1.5rem;
  }

  .survival-intro-feature {
    min-height: clamp(18rem, 64vw, 23rem);
  }

  .survival-intro-feature__inner {
    width: min(calc(100% - 2rem), 34rem);
    padding: 3.1rem 0 1.45rem;
  }

  .beat-section--follow-whale {
    padding: 3.5rem 0;
  }

  .carousel-block,
  .beat-three-hero-visual,
  .wire-copy-block,
  .survival-column,
  .mini-card,
  .conclusion-copy,
  .comparison-tile,
  .depth-rail,
  .media-placeholder,
  .sonar-placeholder {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .media-placeholder--carousel,
  .media-placeholder--portrait {
    min-height: 240px;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .photo-credits__summary {
    padding: 1rem 0;
  }

  .hero-panel {
    min-height: auto;
    gap: 1.5rem;
    padding: 3rem 1rem 3.25rem;
  }

  .follow-whale-track {
    gap: 1.25rem;
  }

  .follow-whale-panel {
    gap: 1.25rem;
  }

  .follow-whale-panel__copy h3 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .follow-whale-panel__media {
    height: 15rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-copy {
    width: min(calc(100% - 2rem), 20rem);
    max-width: 20rem;
    padding: 0.95rem 0.78rem 1.12rem;
  }

  .hero-copy::before {
    width: min(90vw, 27rem);
    height: calc(100% + 3.75rem);
  }

  .hero-visual {
    width: min(calc(100% - 1rem), 24rem);
  }

  .hero-window--myth {
    max-width: 24rem;
    height: clamp(18rem, 82vw, 24rem);
  }

  .migration-finale {
    min-height: clamp(18rem, 92vw, 24rem);
  }

  .hero-window--beat-three {
    height: clamp(22rem, 78vw, 30rem);
  }

  .beat-section--family {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .family-stage {
    position: relative;
    min-height: auto;
    padding: 0;
  }

  .beat-section--family .section-heading {
    margin-top: clamp(2.5rem, 9vw, 3.5rem);
    margin-bottom: clamp(3.75rem, 12vw, 5.5rem);
  }

  .beat-section--family .card-grid--family {
    grid-template-columns: 1fr;
  }

  .beat-section--family .mini-card {
    min-height: auto;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .family-stage__followup {
    padding: 0;
  }

  .bottom-encounter {
    min-height: clamp(20rem, 90vw, 32rem);
  }

  .bottom-encounter__explainer {
    top: 58%;
    width: min(calc(100% - 1.5rem), 22rem);
    padding: 1.15rem 1rem;
  }

  .bottom-encounter__sonar {
    width: 2.4rem;
    height: 2.4rem;
  }

  .bottom-encounter--scene-two .bottom-encounter__whale-group {
    top: 12%;
    right: clamp(-18rem, -54vw, -8rem);
    width: clamp(42rem, 176vw, 62rem);
    opacity: calc(var(--bottom-encounter-whale) * 0.44);
  }

  .bottom-encounter--scene-two .bottom-encounter__whale-group .bottom-encounter__sonar {
    top: 48%;
    left: auto;
    right: 5.1%;
  }

  .bottom-encounter--scene-two .bottom-encounter__squid-group {
    left: clamp(-6rem, -22vw, -2rem);
    bottom: -8%;
    width: clamp(13rem, 70vw, 22rem);
    opacity: calc(var(--bottom-encounter-squid) * 0.44);
  }

  .bottom-encounter--scene-three .bottom-encounter__carousel-group {
    top: 7%;
    right: auto;
    left: 50%;
    width: min(calc(100% - 1.5rem), 22rem);
    opacity: calc(var(--bottom-encounter-whale) * 0.96);
    transform: translate3d(-50%, calc((1 - var(--bottom-encounter-whale)) * -1rem), 0) scale(calc(0.92 + var(--bottom-encounter-whale) * 0.08));
    transform-origin: center top;
  }

  .bottom-encounter--scene-three {
    min-height: clamp(34rem, 128vw, 42rem);
  }

  .bottom-encounter--scene-three .bottom-encounter__explainer {
    top: auto;
    bottom: clamp(1rem, 4vw, 1.5rem);
    left: 50%;
    width: min(calc(100% - 1.5rem), 22rem);
    text-align: center;
    transform: translate3d(-50%, 0, 0);
  }

  .bottom-encounter--scene-four .bottom-encounter__silhouette--whale-secondary {
    top: 1%;
    right: clamp(-14rem, -42vw, -6rem);
    width: clamp(34rem, 150vw, 50rem);
    opacity: var(--scene-four-whale-two);
  }

  .bottom-encounter--scene-five {
    min-height: clamp(36rem, 136vw, 44rem);
  }

  .bottom-encounter--scene-five .bottom-encounter__explainer {
    top: auto;
    bottom: clamp(1rem, 4vw, 1.5rem);
    left: auto;
    right: 1rem;
    width: min(12.5rem, calc(100% - 2rem));
    min-height: 15rem;
    text-align: left;
    transform: translate3d(0, 0, 0);
  }

  .bottom-encounter--scene-five .bottom-encounter__ink-squid-group {
    left: clamp(-6rem, -22vw, -2rem);
    bottom: -8%;
    width: clamp(13rem, 70vw, 22rem);
    height: clamp(16.25rem, 87.5vw, 27.5rem);
    opacity: 1;
  }

  .bottom-encounter--scene-six {
    min-height: clamp(36rem, 136vw, 44rem);
  }

  .bottom-encounter--scene-six .bottom-encounter__explainer {
    top: auto;
    bottom: clamp(1rem, 4vw, 1.5rem);
    left: auto;
    right: 1rem;
    width: min(12.5rem, calc(100% - 2rem));
    min-height: 15rem;
    text-align: left;
    transform: translate3d(0, 0, 0);
  }

  .bottom-encounter__creature--background {
    display: none;
  }

  .bottom-encounter__creature--whale {
    --creature-base-size: clamp(12rem, 46vw, 17.5rem);
  }

  .bottom-encounter__creature--squid {
    --creature-base-size: clamp(7.5rem, 24vw, 11.25rem);
  }

  .bottom-encounter__carousel .carousel-shell {
    gap: 0.5rem;
  }

  .bottom-encounter__carousel .carousel-viewport,
  .bottom-encounter__carousel .carousel-frame {
    min-height: clamp(15rem, 58vw, 20rem);
  }

  .bottom-encounter__carousel .carousel-control {
    width: 2.5rem;
    height: 2.5rem;
  }

  .bottom-encounter__explainer h3 {
    margin-bottom: 0.65rem;
  }

  .depth-rail {
    padding-top: 0;
  }

  .depth-rail__panel {
    padding: 1.05rem 1rem;
  }

  .depth-rail__readout {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .depth-rail__stat {
    padding: 0.8rem 0.8rem 0.72rem;
  }

  .depth-rail__value {
    font-size: 0.92rem;
  }

  .bottom-encounter__silhouette--whale {
    top: 12%;
    right: clamp(-18rem, -54vw, -8rem);
    width: clamp(42rem, 176vw, 62rem);
    opacity: calc(var(--bottom-encounter-whale) * 0.44);
  }

  .bottom-encounter__silhouette--squid {
    left: clamp(-6rem, -22vw, -2rem);
    bottom: -8%;
    width: clamp(13rem, 70vw, 22rem);
    opacity: calc(var(--bottom-encounter-squid) * 0.44);
  }
}
