@font-face { font-family: "Aeonik"; src: url("fonts/AeonikTRIAL-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("fonts/AeonikTRIAL-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("fonts/AeonikTRIAL-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --sky: #DAE7F7;
  --sea: #063A6C;
  --deep: #01294D;
  --abyss: #010916;
  --glow: #E8F3FF;
  --white: #FFFFFF;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 3.4vw, 48px);
  --h1: clamp(38px, 4.45vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--abyss);
  color: var(--white);
  font-family: "Aeonik", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 15;
  display: flex; align-items: center; gap: 32px;
  padding: 28px var(--pad);
  color: var(--deep);
  font-size: 14px;
  opacity: 0; transition: opacity 1.2s var(--expo) .5s;
}
.is-ready .nav { opacity: 1; }
.nav__logo { font-size: 17px; margin-right: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links > * { opacity: .72; transition: opacity .4s; }
.nav__links a:hover { opacity: 1; }
.nav__depth { display: flex; align-items: center; gap: 12px; min-width: 92px; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.nav__tick { width: 16px; height: 1px; background: currentColor; opacity: .6; }
.nav { transition: opacity 1.2s var(--expo) .5s, color .5s ease; }
.nav.is-under { color: var(--white); }

/* ---------- SURFACE ---------- */
.surface { position: relative; height: 200vh; background: var(--sky); }
.surface__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--abyss); }
.surface__media { position: absolute; inset: 0; will-change: transform; }
.surface__media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(1,9,22,0), var(--abyss)); }
.surface__media::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 120vh; background: var(--abyss); }
.surface__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }


/* One title, under the water: two short lines, the text beside it. The sky stays empty. */
.hero {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 28px);
  display: flex; align-items: flex-end; gap: 7vw;
  color: var(--white); will-change: transform;
}
.hero__title { font-weight: 400; font-size: clamp(56px, 7vw, 120px); line-height: .98; letter-spacing: -0.035em; white-space: nowrap; }
.hero__side { max-width: 300px; padding-bottom: .5em; }
.hero__intro { font-weight: 300; font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.82); }
[data-liquid-text] { opacity: 0; }

html { scroll-behavior: smooth; }

/* ---------- MOBILE TAB MENU ----------
   A glass tab at the bottom: dark veil + blur, the current section with the flowing wave
   under it. Tap to open the full list. */
.mtab { display: none; }
@media (max-width: 760px) {
  .mtab {
    display: block; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
    border-radius: 22px; overflow: hidden; color: #fff;
    background: linear-gradient(180deg, rgba(4, 22, 44, .62), rgba(1, 9, 22, .78));
    -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px rgba(0, 0, 0, .45);
    transform: translateY(calc(100% + 30px)); transition: transform .9s var(--expo);
  }
  .mtab.is-shown { transform: none; }
  .mtab__sheet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--expo); }
  .mtab.is-open .mtab__sheet { grid-template-rows: 1fr; }
  .mtab__list { overflow: hidden; display: flex; flex-direction: column; padding: 0 22px; min-height: 0; }
  .mtab.is-open .mtab__list { padding-top: 14px; }
  .mtab__list a { font-weight: 300; font-size: 30px; letter-spacing: -0.02em; line-height: 1.25; padding: 4px 0; opacity: .55; transform: translateY(14px); transition: opacity .5s, transform .7s var(--expo); }
  .mtab.is-open .mtab__list a { transform: none; opacity: .6; }
  .mtab.is-open .mtab__list a[aria-current] { opacity: 1; }
  .mtab__list a:nth-child(2) { transition-delay: .03s; } .mtab__list a:nth-child(3) { transition-delay: .06s; }
  .mtab__list a:nth-child(4) { transition-delay: .09s; } .mtab__list a:nth-child(5) { transition-delay: .12s; } .mtab__list a:nth-child(6) { transition-delay: .15s; }
  .mtab__bar { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; font-size: 15px; }
  .mtab__label { position: relative; padding-bottom: 6px; }
  .mtab__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0.5 8 3 T16 3' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 0 50% / 16px 6px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0.5 8 3 T16 3' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 0 50% / 16px 6px repeat-x;
    animation: nav-wave 1.6s linear infinite; }
  .mtab__icon { position: relative; width: 18px; height: 10px; }
  .mtab__icon i { position: absolute; left: 0; right: 0; height: 1.2px; background: currentColor; transition: transform .6s var(--expo), top .6s var(--expo); }
  .mtab__icon i:first-child { top: 1px; } .mtab__icon i:last-child { top: 8px; }
  .mtab.is-open .mtab__icon i:first-child { top: 4.5px; transform: rotate(45deg); }
  .mtab.is-open .mtab__icon i:last-child { top: 4.5px; transform: rotate(-45deg); }
  .end__foot { padding-bottom: 88px; }
}

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

/* ---------- DEPTH ---------- */
/* the deep section slides in while the descent is still finishing: no empty screen in between */
.depth { position: relative; z-index: 1; height: 440vh; margin-top: -60vh; background: transparent; }
.depth__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: linear-gradient(180deg, rgba(1,9,22,0) 0, var(--top, #010916) 38vh, var(--bot, #041A33) 100%);
}
.gauge { position: absolute; left: var(--pad); top: 18vh; bottom: 12vh; width: 260px; font-size: 14px; }
.gauge__rail, .gauge__fill { position: absolute; left: 0; top: 0; width: 1px; background: var(--white); }
.gauge__rail { bottom: 0; opacity: .22; }
.gauge__fill { height: 0; opacity: .9; }
.gauge__zone { position: absolute; left: 0; display: flex; align-items: center; gap: 12px; transform: translateY(-50%); transition: opacity .8s var(--expo); opacity: .4; white-space: nowrap; }
.gauge__zone::before { content: ""; width: 12px; height: 1px; background: currentColor; opacity: .6; }
.gauge__zone b { font-weight: 400; width: 84px; }
.gauge__zone em { font-style: normal; opacity: .7; font-variant-numeric: tabular-nums; }
.gauge__zone.is-active { opacity: 1; }
.gauge__marker { position: absolute; left: -8px; top: 0; display: flex; align-items: center; gap: 0; transform: translateY(-50%); }
.gauge__marker::before { content: ""; width: 17px; height: 1px; background: var(--white); }
.gauge__marker span { position: absolute; left: 230px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.statement {
  position: absolute; left: 29.2vw; right: 10vw; top: 50%; transform: translateY(-50%);
  font-weight: 300; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.14; letter-spacing: -0.01em;
}
.statement .w { opacity: .26; transition: opacity .9s var(--expo); }
.statement .w.is-on { opacity: .82; }
.statement .w.is-now { opacity: 1; }

/* ---------- LOGO (direction 1: the waterline through the name) ----------
   Two copies of the word: the upper part as it is, the part below the waterline shifted
   a hair to the right and a little softer, as if seen through water. */
.logo { position: relative; display: inline-block; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.logo__a, .logo__b { display: block; white-space: nowrap; }
.logo__a { clip-path: inset(0 0 44% 0); }
.logo__b { position: absolute; left: 0; top: 0; clip-path: inset(56% 0 0 0); transform: translateX(.035em); opacity: .82; }

/* ---------- SOUND ----------
   The site always starts muted. Top right: a line (flat = off, moving = on) and a label. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.snd { display: flex; align-items: center; gap: 10px; padding: 10px 0; margin: -10px 0; }
.snd canvas { display: block; width: 36px; height: 14px; }
.snd__label { font-size: 11px; letter-spacing: .14em; font-variant-numeric: tabular-nums; min-width: 6.6em; text-align: left; }
.snd:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

/* ---------- PAGE TRANSITION (stain) ---------- */
.stain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; display: block; }
html.stain-in body::after { content: ""; position: fixed; inset: 0; z-index: 399; background: #010916; }

/* ---------- LOADER ---------- */
/* the scrollbar never appears or disappears, so nothing shifts when the loader ends */
html { scrollbar-gutter: stable; }
html.is-loading, html.is-loading body { overflow: hidden; }
/* covers the page from the first paint until the loader takes over (no flash of the hero) */
html.is-preload body::before { content: ""; position: fixed; inset: 0; z-index: 199; background: var(--abyss); }
.loader { position: fixed; inset: 0; z-index: 200; color: #fff; background: var(--abyss); --wl: 55vh; }
.loader.is-gl { background: transparent !important; }
.loader__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.loader.is-gl .loader__gl { display: block; }
.loader__logo { position: absolute; left: 50%; top: calc(var(--wl) - 52px); transform: translateX(-50%); font-size: 15px; letter-spacing: .32em; margin-left: .16em; opacity: 0; animation: ld-in 1.2s var(--expo) .2s forwards; }
.loader__line { position: absolute; left: 20vw; top: var(--wl); width: 60vw; height: 16px; transform: translateY(-50%); display: block; }
.loader__pct { position: absolute; right: 20vw; top: calc(var(--wl) + 14px); font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.55); }
/* on exit the line and the labels go first, the stain follows */
.loader.is-leaving .loader__line, .loader.is-leaving .loader__pct, .loader.is-leaving .loader__logo { opacity: 0 !important; transition: opacity .3s ease-out; animation: none; }
@keyframes ld-in { to { opacity: 1; } }

/* ---------- SECTION HEADS ---------- */
.sec-head { display: grid; grid-template-columns: 29.2vw 1fr 300px; gap: 0 4vw; align-items: start; margin-bottom: 14vh; }
.sec-head__kicker { font-size: 14px; color: rgba(255,255,255,.6); padding-top: .9em; }
.sec-head__title { font-weight: 300; font-size: clamp(36px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
.sec-head__text { font-weight: 300; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.72); padding-top: .9em; }

/* image frames (liquid reveal) */
.frame, .sp__img { position: relative; margin: 0; }
.frame img, .sp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame canvas, .sp__img canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.is-gl img { visibility: hidden; }

/* ---------- EXPEDITIONS ---------- */
.exp { background: #000205; padding: 24vh var(--pad) 20vh; }
.exp__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2vw; }
.exp__item .frame { aspect-ratio: 1200 / 1607; }
.exp__item--1 { grid-column: 1 / 6; }
.exp__item--2 { grid-column: 8 / 13; margin-top: 28vh; }
.exp__item--3 { grid-column: 3 / 8; margin-top: 14vh; }
.exp__cap { display: grid; grid-template-columns: 48px 1fr; row-gap: 4px; margin-top: 20px; font-size: 14px; }
.exp__n { grid-row: span 2; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.exp__cap h3 { font-weight: 400; font-size: 18px; }
.exp__cap p { color: rgba(255,255,255,.6); }

/* ---------- SPECIES ---------- */
.species { background: #000; padding: 22vh var(--pad) 24vh; }
.species__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2vw; row-gap: 10vh; }
.sp__img { aspect-ratio: 1; }
.sp--1 { grid-column: 2 / 6; }
.sp--2 { grid-column: 8 / 12; margin-top: 18vh; }
.sp--3 { grid-column: 1 / 5; margin-top: 4vh; }
.sp--4 { grid-column: 7 / 12; margin-top: -8vh; }
.sp__cap { margin-top: 8px; padding-left: 12%; font-size: 14px; line-height: 1.5; }
.sp__cap h3 { font-weight: 400; font-size: 18px; }
.sp__cap p { color: rgba(255,255,255,.6); }

/* ---------- CONTACT ---------- */
.end { background: #000; padding: 20vh var(--pad) var(--pad); min-height: 100vh; display: flex; flex-direction: column; }
.end__title { font-weight: 400; font-size: clamp(56px, 9vw, 150px); line-height: .95; letter-spacing: -0.035em; }
.end__cols { display: grid; grid-template-columns: 29.2vw repeat(3, 1fr); margin-top: 14vh; font-size: 16px; line-height: 1.5; font-weight: 300; }
.end__cols > div:first-child { grid-column: 2; }
.end__label { font-weight: 400; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.end__cols a { border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .4s; }
.end__cols a:hover { border-color: #fff; }
.end__foot { margin-top: auto; padding-top: 16vh; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- NAV: active item underlined with the same wave ----------
   A repeating wave drawn as a mask, filled with the current text colour, flowing slowly. */
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0.5 8 3 T16 3' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 0 50% / 16px 6px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0.5 8 3 T16 3' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 0 50% / 16px 6px repeat-x;
  clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--expo);
  animation: nav-wave 1.6s linear infinite;
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { clip-path: inset(0 0 0 0); }
.nav__links a[aria-current] { opacity: 1; }
@keyframes nav-wave { to { -webkit-mask-position: 16px 50%; mask-position: 16px 50%; } }

/* ---------- placeholders for images still to generate ---------- */
.slot { position: relative; background: #07121F; overflow: hidden; }
.slot::after { content: attr(data-slot); position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: rgba(255,255,255,.4); }
.slot--45 { aspect-ratio: 4 / 5; }
.slot--32 { aspect-ratio: 3 / 2; }

/* ---------- METHOD ---------- */
.method { background: #000205; padding: 14vh var(--pad) 20vh; }
.method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.tool:nth-child(2) { margin-top: 10vh; }
.tool:nth-child(3) { margin-top: 20vh; }
.tool__cap { margin-top: 20px; font-size: 14px; }
.tool__cap h3 { font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.tool__kind { color: rgba(255,255,255,.6); margin-top: 2px; }
.tool dl { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.tool dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.tool dt { color: rgba(255,255,255,.55); }
.tool dd { text-align: right; }

/* ---------- DATA ---------- */
.data { background: #000; padding: 20vh var(--pad); }
.transect { position: relative; margin: 0 0 12vh; }
.transect svg { display: block; width: 100%; height: clamp(240px, 32vw, 460px); overflow: visible; }
.transect__sea { stroke: rgba(255,255,255,.35); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.transect__floor { stroke: #fff; stroke-width: 1.4; fill: none; vector-effect: non-scaling-stroke; }
.dive line { stroke: rgba(255,255,255,.35); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.dive circle { fill: #fff; }
.dive, .dive-label { opacity: 0; transition: opacity 1s var(--expo) calc(1.2s + var(--i) * .25s); }
.transect.is-drawn .dive, .transect.is-drawn .dive-label { opacity: 1; }
.transect__labels { position: absolute; inset: 0; pointer-events: none; }
.dive-label { position: absolute; transform: translate(10px, 10px); font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.65); white-space: nowrap; }
.dive-label b { display: block; font-weight: 400; color: #fff; }
.dive-label:last-child { transform: translate(calc(-100% - 10px), -120%); text-align: right; }
.transect__axis { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.45); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
.num b { display: block; font-weight: 300; font-size: clamp(48px, 6vw, 96px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- FIELD NOTES ---------- */
.notes { background: #000; padding: 6vh var(--pad) 22vh; }
.notes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.note { display: block; }
.note__meta { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }
.note h3 { margin-top: 6px; font-weight: 400; font-size: 20px; line-height: 1.25; max-width: 22ch; }
/* the same flowing wave under the title, also across line breaks */
.wavy { padding-bottom: 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0.5 8 3 T16 3' fill='none' stroke='white' stroke-width='1.2'/%3E%3C/svg%3E") 0 100% / 16px 6px repeat-x;
  background-size: 16px 0; transition: background-size .5s var(--expo); }
.note:hover .wavy, .note:focus-visible .wavy { background-size: 16px 6px; animation: wavy-flow 1.6s linear infinite; }
@keyframes wavy-flow { to { background-position: 16px 100%; } }

/* contact sits on a full-bleed seafloor (placeholder for now) */
.end { position: relative; overflow: hidden; }
.end > *:not(.end__bg) { position: relative; z-index: 1; }


.frame--45 { aspect-ratio: 4 / 5; }
.frame--32 { aspect-ratio: 3 / 2; }
.end__bg { margin: 0; position: absolute; inset: 0; }
.end__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.end__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.end__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.55) 100%); }


/* "Crafted by" with the author's portrait, tinted in the site's blues */
.maker { display: inline-flex; align-items: center; gap: 8px; }
.maker a { display: inline-flex; }
.maker img { display: block; width: 24px; height: 24px; }
.end__foot { align-items: center; }

/* ---------- TOPBAR BACKDROP ----------
   What passes under the bar is seen as through water: progressively blurred (four stacked
   layers, each fading out lower down, so there is no edge), gently rippled (an animated SVG
   displacement, Chromium only; elsewhere it is just the blur) and veiled by a soft dark
   gradient. */
.nav__bg { position: absolute; left: 0; right: 0; top: 0; height: 190%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.nav.is-under .nav__bg, .nnav .nav__bg { opacity: 1; }
.nav__bg i { position: absolute; inset: 0; }
.nav__bg i:nth-child(1) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  -webkit-mask: linear-gradient(#000 0%, #000 55%, transparent 100%); mask: linear-gradient(#000 0%, #000 55%, transparent 100%); }
.nav__bg i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: url(#water-ripple) blur(1.5px);
  -webkit-mask: linear-gradient(#000 0%, #000 28%, rgba(0,0,0,.6) 52%, rgba(0,0,0,.25) 72%, transparent 92%); mask: linear-gradient(#000 0%, #000 28%, rgba(0,0,0,.6) 52%, rgba(0,0,0,.25) 72%, transparent 92%); }
.nav__bg i:nth-child(3) { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask: linear-gradient(#000 0%, #000 25%, transparent 62%); mask: linear-gradient(#000 0%, #000 25%, transparent 62%); }
.nav__bg i:nth-child(4) { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  -webkit-mask: linear-gradient(#000 0%, transparent 45%); mask: linear-gradient(#000 0%, transparent 45%); }
.nav__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 9, 22, .86) 0%, rgba(1, 9, 22, .7) 22%, rgba(1, 9, 22, .42) 48%, rgba(1, 9, 22, .16) 74%, rgba(1, 9, 22, 0) 100%); }
.ripple-defs { position: absolute; width: 0; height: 0; }

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav { padding: 20px var(--pad); }
  .surface__media video { object-position: 64% 50%; }
  .gauge { top: 14vh; bottom: auto; height: 34vh; width: calc(100vw - 2 * var(--pad)); font-size: 13px; }
  .gauge__marker span { left: 200px; }
  .statement { left: var(--pad); right: var(--pad); top: auto; bottom: 14vh; transform: none; }
  .hero { flex-direction: column; align-items: flex-start; gap: 18px; bottom: calc(var(--pad) + 20px); }
  .hero__title { font-size: clamp(48px, 14vw, 72px); }
  .hero__intro { font-size: 15px; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 8vh; }
  .sec-head__kicker, .sec-head__text { padding-top: 0; }
  .exp, .species { padding: 16vh var(--pad); }
  .exp__grid, .species__grid { grid-template-columns: 1fr; row-gap: 12vh; }
  .exp__item--1, .exp__item--2, .exp__item--3, .sp--1, .sp--2, .sp--3, .sp--4 { grid-column: 1; margin-top: 0; }
  .exp__item--2 { width: 82%; margin-left: auto; }
  .sp--2, .sp--4 { width: 80%; margin-left: auto; }
  .sp--1, .sp--3 { width: 80%; }
  .end__cols { grid-template-columns: 1fr; gap: 28px; }
  .end__cols > div:first-child { grid-column: 1; }
  .end__foot { flex-direction: column; gap: 6px; }
  .method__grid, .notes__grid { grid-template-columns: 1fr; gap: 10vh; }
  .tool:nth-child(2), .tool:nth-child(3) { margin-top: 0; }
  .numbers { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .dive-label { font-size: 11px; }
  .dive-label:nth-child(2), .dive-label:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .snd { transition: none !important; }
  [data-liquid-text] { opacity: 1; }
}

