/* CHART · Back to the blue
   Art direction: a documentary dive. Full-bleed photography behind everything, colour graded by
   depth (warm at the surface, cyan in the shallows, blue, then near-black), with dive-computer
   HUD chrome on top: hairlines, mono readouts, square thin-line buttons. */
:root {
  --ink: #02070D;
  --abyss: #03090F;
  --foam: #F2FBFB;
  --muted: rgba(242, 251, 251, .88);
  --line: rgba(242, 251, 251, .34);
  --hair: rgba(242, 251, 251, .18);
  --sun: #FFC27A;
  --coral: #FFB48A;
  --cyan: #8FF0F2;
  --sky: #A9D8FF;
  --glow: #7DEFE2;
  --accent: var(--cyan);
  --paper: #F7EEDC;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--abyss); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--foam);
  background: var(--abyss);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: .95; margin: 0; text-transform: uppercase; letter-spacing: .005em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--foam); color: var(--ink); padding: 10px 16px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.skip:focus { top: 16px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; z-index: 2; }

/* ---------- photo backdrop ---------- */
.backdrop { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; overflow: hidden; background: var(--abyss); pointer-events: none; }
.bd { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.bd.on { opacity: 1; }
.bd picture, .bd img { width: 100%; height: 100%; }
.bd img { object-fit: cover; }
/* grading per depth: each frame carries its own tint so the colour still reads as a dive */
.bd::after { content: ""; position: absolute; inset: 0; }
.bd-surface::after { background: linear-gradient(180deg, rgba(4, 10, 20, .5) 0%, rgba(4, 10, 20, 0) 22%, rgba(30, 12, 0, 0) 40%, rgba(3, 9, 15, .2) 60%, rgba(3, 9, 15, .82) 100%); }
.bd-shallows::after { background: linear-gradient(90deg, rgba(0, 42, 54, .78) 0%, rgba(0, 52, 64, .45) 48%, rgba(0, 60, 70, .12) 100%), linear-gradient(180deg, rgba(0, 30, 40, .35), rgba(0, 30, 40, 0) 30%); }
.bd-reef::after { background: linear-gradient(180deg, rgba(2, 24, 44, .78) 0%, rgba(2, 30, 52, .5) 40%, rgba(2, 24, 44, .62) 100%); }
.bd-openblue::after { background: linear-gradient(180deg, rgba(1, 16, 40, .62) 0%, rgba(1, 18, 44, .32) 45%, rgba(1, 12, 30, .7) 100%); }
.bd-midwater::after { background: radial-gradient(70% 60% at 50% 60%, rgba(1, 8, 26, .7), rgba(1, 6, 20, .88)); }
.bd-deep::after { background: linear-gradient(180deg, rgba(1, 5, 12, .45), rgba(1, 4, 9, .78)); }
.bd-floor::after { background: linear-gradient(180deg, rgba(1, 5, 10, .8) 0%, rgba(1, 6, 12, .35) 45%, rgba(1, 5, 10, .55) 100%); }
/* a fine film grain over every frame, the documentary look */
.bd-grain { position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (orientation: portrait) {
  .bd-surface::after { background: linear-gradient(180deg, rgba(4, 10, 20, .5) 0%, rgba(4, 10, 20, 0) 16%, rgba(3, 9, 15, .1) 34%, rgba(3, 9, 15, .62) 52%, rgba(3, 9, 15, .9) 100%); }
}
html:not(.js) .backdrop .bd:not(.bd-surface) { display: none; }
.dive, .floor { position: relative; z-index: 1; }

/* ---------- buttons: square, thin-line, mono labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 22px; min-height: 48px; border-radius: 0;
  text-decoration: none; cursor: pointer;
  color: var(--foam); background: rgba(2, 10, 18, .18); border: 1px solid var(--line);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn span { transition: transform .25s ease; }
.btn:hover { background: var(--foam); color: var(--ink); border-color: var(--foam); }
.btn:hover span { transform: translateY(2px); }
.btn-solid { background: var(--foam); color: var(--ink); border-color: var(--foam); }
.btn-solid:hover { background: transparent; color: var(--foam); }
.btn-line { background: rgba(2, 10, 18, .3); }
.btn-glow { color: #D6FFF9; border-color: rgba(125, 239, 226, .7); background: rgba(125, 239, 226, .06); box-shadow: 0 0 22px -8px rgba(125, 239, 226, .6); }
.btn-glow:hover { background: var(--glow); color: #03201F; border-color: var(--glow); }
.text-link { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.text-link:hover { border-bottom-color: var(--foam); }

/* ---------- HUD labels ---------- */
.eyebrow {
  font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--foam); display: flex; align-items: center; gap: 14px; margin: 0;
}
.eyebrow::after { content: ""; flex: 1; min-width: 24px; max-width: 240px; height: 1px; background: var(--line); }
.eyebrow.glow { color: var(--glow); }
.depth { display: inline-block; padding: 5px 9px 4px; border: 1px solid currentColor; color: var(--accent); font-variant-numeric: tabular-nums; }
h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin: 22px 0 20px; max-width: 14ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 10, 20, .35); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 44ch; color: var(--muted); text-shadow: 0 1px 14px rgba(0, 10, 20, .5); }
.hint { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- header bar ---------- */
.bar {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter) 30px;
  background: linear-gradient(180deg, rgba(2, 8, 14, .78) 0%, rgba(2, 8, 14, .45) 55%, rgba(2, 8, 14, 0) 100%);
}
.bar-brand { display: block; flex: none; line-height: 0; }
.bar-brand img { height: 38px; width: 128px; max-width: none; }
.bar-nav { margin-left: auto; }
.bar-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.bar-nav a { display: block; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; color: var(--muted); border-bottom: 1px solid transparent; white-space: nowrap; }
.bar-nav a:hover { color: var(--foam); border-bottom-color: var(--foam); }
.bar-nav a[aria-current="page"] { color: var(--foam); border-bottom-color: var(--sun); }
.bar-nav .nav-urgent { color: var(--sun); }
.bar-nav .nav-urgent::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--sun); vertical-align: middle; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; background: rgba(2, 10, 18, .4); color: var(--foam); border: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.menu-btn:hover { border-color: var(--foam); }
.menu-icon { position: relative; width: 18px; height: 10px; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.menu-icon i:first-child { top: 0; } .menu-icon i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { top: 4.25px; transform: rotate(-45deg); }
.btn-sun { color: #FFE3BF; border-color: rgba(255, 194, 122, .8); background: rgba(40, 18, 0, .28); }
.btn-sun:hover { background: var(--sun); color: #2A1400; border-color: var(--sun); }
.bar-depth { display: none; font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; padding: 8px 10px; border: 1px solid var(--hair); margin-left: auto; }
.bar-cta { padding: 13px 18px; min-height: 42px; font-size: 12px; }

/* ---------- depth gauge: a dive computer ---------- */
.gauge {
  position: fixed; z-index: 40; right: 22px; top: 50%; transform: translateY(-50%);
  width: 136px; padding: 14px 14px 16px;
  background: rgba(2, 10, 18, .52); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hair);
  display: none;
}
.gauge-read { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.gauge-read small { grid-column: 1 / -1; font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gauge-read span { font: 500 40px/1 var(--display); color: var(--foam); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gauge-read b { font: 500 12px/1.6 var(--mono); color: var(--accent); }
.gauge ol { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 3px; }
.gauge a { font: 500 10.5px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: rgba(242, 251, 251, .62); display: block; padding: 2px 0; transition: color .3s; }
.gauge a.on { color: var(--foam); }
.gauge a.on::before { content: "› "; color: var(--accent); margin-left: -12px; }
.gauge a:hover { color: var(--accent); }
.gauge-track { position: absolute; left: 16px; top: 92px; bottom: 20px; width: 1px; background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8px); }
.gauge-track b { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; background: var(--accent); transform: translateY(var(--p, 0px)) rotate(45deg); }
@media (min-width: 1240px) {
  :root { --gutter: 170px; }
  .gauge { display: block; }
  .bar { padding-left: 56px; padding-right: 56px; }
}

/* ---------- parallax ---------- */
[data-speed] { will-change: transform; }

/* ---------- 0 m · surface ---------- */
.hero {
  --accent: var(--sun);
  position: relative; overflow: hidden; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 620px;
  color: var(--foam);
}
.hero-copy {
  position: absolute; z-index: 5; left: max(var(--gutter), calc((100% - 1180px) / 2)); bottom: clamp(84px, 10vh, 120px);
  width: min(1000px, 100% - 2 * var(--gutter));
}
.kicker { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--foam); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 194, 122, .2); animation: breathe 2.4s ease-in-out infinite; }
.hero h1 { font-size: clamp(3.2rem, 6.4vw, 6rem); line-height: .88; margin: 18px 0 20px; letter-spacing: -.005em; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.promise { font-size: clamp(1.08rem, 1.6vw, 1.32rem); max-width: 38ch; color: rgba(242, 251, 251, .92); text-shadow: 0 1px 16px rgba(0, 0, 0, .6); }
.promise em { font-style: italic; color: var(--sun); }
.hero-ctas { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-rule {
  position: absolute; z-index: 4; left: max(var(--gutter), calc((100% - 1180px) / 2)); right: max(var(--gutter), calc((100% - 1180px) / 2)); bottom: 26px;
  display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero-hint { animation: breathe 3s ease-in-out infinite; }
.ripples { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.ripple { position: absolute; width: 40px; height: 12px; margin: -6px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9); animation: ripple 1.6s ease-out forwards; pointer-events: none; }
.ripple.r2 { animation-delay: .18s; opacity: 0; }
@keyframes ripple { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(7); opacity: 0; } }
@keyframes breathe { 50% { opacity: .45; } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-60px); } }

/* ---------- shared zone ---------- */
.zone { position: relative; isolation: isolate; }
.zone .wrap { z-index: 2; }
.head { margin-bottom: 8px; }
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.bubbles i { position: absolute; bottom: -20px; border-radius: 50%; border: 1px solid rgba(242, 251, 251, .5); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45), transparent 55%); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--dx, 20px), -110vh); opacity: 0; } }

/* glass is used only where text sits on a busy photo */
.glass { background: rgba(2, 16, 28, .5); backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); }

/* ---------- 5 m · shallows ---------- */
.shallows { --accent: var(--cyan); padding: 180px 0 200px; min-height: 100vh; display: grid; align-items: center; }
.two { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.tags { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; max-width: 640px; }
.tags li { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.tags b { display: block; font-weight: 600; font-size: 17px; }
.tags span { display: block; font: 400 12px/1.5 var(--mono); color: var(--muted); margin-top: 4px; }

.bottle { margin: 0; position: relative; display: grid; justify-items: center; min-height: 360px; align-content: center; }
.bottle-btn { background: none; border: 0; color: var(--foam); cursor: pointer; display: grid; justify-items: center; gap: 10px; padding: 10px; }
.bottle-art { width: min(380px, 78vw); overflow: visible; filter: drop-shadow(0 4px 18px rgba(0, 30, 40, .5)); }
.bob { animation: bob 4s ease-in-out infinite; transform-origin: 130px 80px; transform-box: view-box; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(8px) rotate(3deg); } }
.bottle-wave { animation: wave 4s ease-in-out infinite alternate; }
.bottle-label { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 13px 18px; border: 1px solid var(--line); background: rgba(0, 40, 52, .35); }
.bottle-btn:hover .bottle-label { background: var(--foam); color: var(--ink); }
.note-rolled { transition: opacity .4s, transform .6s; }
.note {
  margin: 0; position: relative; z-index: 3; max-width: min(420px, 100%);
  background: var(--paper); color: #0B2A3A;
  padding: 30px 30px 24px;
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 60px -24px rgba(0, 10, 20, .8);
}
.note p { font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.08 var(--display); text-transform: uppercase; }
.note footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(11, 42, 58, .2); font: 400 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #2F5566; }
.js .note { position: absolute; top: 50%; opacity: 0; visibility: hidden; transform: translateY(-30%) scale(.6) rotate(-8deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .3, 1.2), visibility 0s .7s; }
.js .bottle.open .note { opacity: 1; visibility: visible; transform: translateY(-50%) rotate(-1.5deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .3, 1.2); }
.js .bottle.open .bottle-btn { opacity: .25; transition: opacity .5s; }
.bottle.open .note-rolled { opacity: 0; transform: translateX(-30px); }
.note-close { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: #0B2A3A; font-size: 22px; cursor: pointer; }
.note-close:hover { background: rgba(11, 42, 58, .08); }

/* ---------- 18 m · reef ---------- */
.reef { --accent: #9FE7FF; padding: 170px 0 180px; }
.journey { margin-top: 40px; }
.journey-scene {
  position: relative; overflow: hidden; aspect-ratio: 1000 / 460;
  background: #062033; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  outline: 1px solid var(--hair); outline-offset: 10px;
}
.journey-scene:active { cursor: grabbing; }
.js-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.js-photo.on { opacity: 1; }
.js-photo:nth-of-type(1) { object-position: 50% 60%; }
.js-photo:nth-of-type(2) { object-position: 40% 60%; }
.js-photo:nth-of-type(3) { object-position: 60% 50%; }
.journey-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2, 12, 20, .35), rgba(2, 12, 20, 0) 30%, rgba(2, 12, 20, 0) 70%, rgba(2, 12, 20, .35)); }
.js-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: hidden; }
.js-route { fill: none; stroke: #F2FBFB; stroke-width: 1.6; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .8; }
.js-way circle { fill: #F2FBFB; }
.js-way text { font: 500 15px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: #F2FBFB; text-anchor: middle; paint-order: stroke; stroke: rgba(2, 12, 20, .55); stroke-width: 4px; }
.js-line, .js-heart, .js-bubbles, .js-ripple { transition: opacity .5s; }
.js-heart { transform-box: fill-box; transform-origin: center; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.12); } }
.frame-corner { position: absolute; z-index: 3; width: 18px; height: 18px; border: 0 solid var(--foam); pointer-events: none; }
.frame-corner.tl { left: 12px; top: 12px; border-width: 1.5px 0 0 1.5px; }
.frame-corner.tr { right: 12px; top: 12px; border-width: 1.5px 1.5px 0 0; }
.frame-corner.bl { left: 12px; bottom: 12px; border-width: 0 0 1.5px 1.5px; }
.frame-corner.br { right: 12px; bottom: 12px; border-width: 0 1.5px 1.5px 0; }
.scene-hint { position: absolute; z-index: 3; right: 40px; bottom: 22px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--foam); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); pointer-events: none; }
.journey-control { margin: 30px auto 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; display: block; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--sun) 0%, var(--cyan) 50%, #4C8DFF 100%); }
input[type="range"]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--sun) 0%, var(--cyan) 50%, #4C8DFF 100%); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; transform: rotate(45deg); background: var(--ink); border: 2px solid var(--foam); box-shadow: 0 0 0 6px rgba(242, 251, 251, .12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; transform: rotate(45deg); border-radius: 0; background: var(--ink); border: 2px solid var(--foam); }
input[type="range"]:focus-visible { outline-offset: 6px; }
.stages { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stages li { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: rgba(2, 16, 28, .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .4s, border-color .4s; }
.stages li.on { border-top: 2px solid var(--sun); background: rgba(2, 16, 28, .74); }
.stages button { background: none; border: 0; padding: 4px 0; color: inherit; font: 600 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--display); text-transform: uppercase; cursor: pointer; display: flex; align-items: baseline; gap: 12px; }
.stages .num { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.stages li.on .num { color: var(--sun); }
.stages p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* ---------- 40 m · open blue ---------- */
.openblue { --accent: var(--sky); padding: 170px 0 150px; }
.current { position: relative; margin-top: 50px; }
.current-line { position: absolute; inset: 10px 0 0 0; width: 100%; height: 300px; overflow: visible; }
.current-line path { fill: none; stroke-linecap: round; }
.current-ghost { stroke: rgba(242, 251, 251, .22); stroke-width: 1.5; stroke-dasharray: 2 8; vector-effect: non-scaling-stroke; }
.current-draw { stroke: var(--sun); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 194, 122, .7)); }
.buoys { list-style: none; margin: 0; padding: 0; display: grid; align-items: start; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.buoy { padding: 22px 24px 26px; border-top: 1px solid var(--line); background: rgba(1, 14, 34, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: .5; transform: translateY(16px); transition: opacity .6s, transform .6s, border-color .6s; }
.buoy.lit { opacity: 1; transform: none; border-top-color: var(--sun); }
.b1 { margin-top: 170px; }
.b2 { margin-top: 0; }
.b3 { margin-top: 150px; }
.buoy h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin: 18px 0 10px; }
.buoy p { font-size: 16px; color: var(--muted); }
.buoy-mark { position: relative; display: block; width: 30px; height: 30px; border: 1.5px solid var(--foam); border-radius: 50%; }
.buoy-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--sun); }
.buoy-mark i { position: absolute; inset: -1.5px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(242, 251, 251, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- 120 m · mid water / sonar ---------- */
.midwater { --accent: var(--sky); padding: 160px 0 120px; }
.sonar { position: relative; width: min(1240px, 100% - 2 * var(--gutter)); margin: 20px auto 0; display: grid; justify-items: center; z-index: 2; }
.sonar-field { position: relative; width: 100%; height: clamp(480px, 52vw, 660px); }
.sonar-core { position: absolute; left: 50%; top: 50%; width: min(600px, 84vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 74px, rgba(169, 216, 255, .2) 74px 75px), radial-gradient(circle, rgba(2, 8, 20, .7), rgba(2, 8, 20, .45) 70%);
  box-shadow: inset 0 0 0 1px rgba(169, 216, 255, .3); overflow: hidden; }
.sonar-core::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(169, 216, 255, .22) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgba(169, 216, 255, .22) 50%, transparent calc(50% + .5px)); border-radius: 50%; }
.sonar-core::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; background: var(--glow); transform: rotate(45deg); box-shadow: 0 0 18px var(--glow); }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(125, 239, 226, .2), transparent 70deg); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sonar-rings { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ring { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(125, 239, 226, .9); box-shadow: 0 0 24px rgba(125, 239, 226, .35), inset 0 0 24px rgba(125, 239, 226, .2); animation: ring 2.4s linear forwards; }
@keyframes ring { to { width: calc(var(--to, 90) * 20px); height: calc(var(--to, 90) * 20px); opacity: 0; } }
.critter { position: absolute; left: var(--x); top: var(--y); width: var(--w, 170px); z-index: 2; transition: opacity .7s, filter .7s; opacity: .35; filter: grayscale(1) brightness(.55) blur(1.5px); }
.critter img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(169, 216, 255, .45), 0 0 0 7px rgba(2, 10, 24, .35), 0 0 0 8px rgba(169, 216, 255, .25); }
.critter span { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 10px); white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); padding: 7px 10px; background: rgba(2, 8, 18, .78); border: 1px solid rgba(125, 239, 226, .55); opacity: 0; transition: opacity .5s .1s; }
.critter.lit { opacity: 1; filter: none; }
.critter.lit img { box-shadow: 0 0 0 1.5px var(--glow), 0 0 0 7px rgba(2, 10, 24, .35), 0 0 0 8px rgba(125, 239, 226, .5), 0 0 40px rgba(125, 239, 226, .35); }
.critter.lit span { opacity: 1; }
.c-turtle { --w: 190px; }
.c-dolphin { --w: 200px; }
.c-seal { --w: 180px; }
.c-bird { --w: 140px; }
.c-penguin { --w: 150px; }
.c-shoal { --w: 170px; }
.sonar-btn { position: relative; z-index: 3; margin-top: 34px; }

/* ---------- 400 m · the deep ---------- */
.deep { --accent: var(--glow); padding: 170px 0 150px; }
.plankton { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.deep h2 { color: #E6FFFB; text-shadow: 0 0 40px rgba(125, 239, 226, .35); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.way { position: relative; padding: 28px 26px 28px; border: 1px solid rgba(125, 239, 226, .28); border-top-color: rgba(125, 239, 226, .7); background: rgba(2, 10, 18, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.way h3 { font-size: 2.1rem; color: #E6FFFB; }
.way p { font-size: 16px; color: rgba(214, 255, 249, .84); }
.way .btn { margin-top: auto; }
.way-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--glow); border: 1px solid rgba(125, 239, 226, .5); }
.way-icon svg { width: 24px; height: 24px; }
.placeholder { margin-top: auto; font: 500 12px/1.4 var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--sun) !important; padding: 12px 16px; border: 1px dashed rgba(255, 194, 122, .6); }
.share-msg { font: 400 12px/1.4 var(--mono) !important; color: var(--glow) !important; min-height: 1em; }

/* ---------- partners ---------- */
/* 520 m: a moored depth marker in the dark. A swarm of bioluminescent plankton gathers
   round it and its acrylic face lights up (--lit 0 to 1, driven by app.js; 1 without JS). */
.partners { --lit: 1; --accent: var(--glow); background: linear-gradient(180deg, rgba(2, 6, 12, 0) 0%, rgba(2, 6, 12, .55) 30%, rgba(2, 6, 12, .6) 100%); padding: 80px 0 0; }
.swarm { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent); }
.marker { display: grid; justify-items: center; text-align: center; }
.partners h2.eyebrow { margin: 0; justify-content: center; font-size: 12px; font-weight: 500; font-family: var(--mono); line-height: 1.4; max-width: none; text-shadow: none; }
.partners h2.eyebrow::before { content: ""; flex: 1; min-width: 24px; max-width: 120px; height: 1px; background: rgba(125, 239, 226, .4); }
.partners h2.eyebrow::after { max-width: 120px; background: rgba(125, 239, 226, .4); }
.rig { position: relative; display: grid; justify-items: center; margin-top: 6px; }
.rig-line { display: block; width: 2px; height: 74px; background: linear-gradient(180deg, rgba(140, 196, 214, 0), rgba(140, 196, 214, .55)); }
.rig-down { height: 70px; background: linear-gradient(180deg, rgba(140, 196, 214, .55), rgba(140, 196, 214, 0)); }
.rig-bail { display: block; width: 34px; height: 18px; border: 3px solid #4A7286; border-bottom: 0; border-radius: 20px 20px 0 0; }
.rig-eye { display: block; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #4A7286; margin-top: -1px; }
/* the frame catches the swarm's light on its edges */
.rig-body {
  filter: drop-shadow(0 0 1.5px rgba(125, 239, 226, calc(.7 * var(--lit)))) drop-shadow(0 0 34px rgba(125, 239, 226, calc(.38 * var(--lit))));
}
.rig-frame {
  --c: 22px;
  position: relative; display: grid; justify-items: center;
  padding: 0 12px;
  background: linear-gradient(180deg, #2B5266 0%, #183447 48%, #12293A 100%);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.rig-cap { display: flex; align-items: center; justify-content: center; gap: 42px; height: 30px; }
.rig-cap i { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7FA6B8, #2C4B5C); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.rig-cap b { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px 2px rgba(255, 194, 122, .8); animation: lamp 3.2s ease-in-out infinite; }
@keyframes lamp { 0%, 62%, 100% { opacity: .35; box-shadow: 0 0 4px rgba(255, 194, 122, .4); } 70%, 80% { opacity: 1; box-shadow: 0 0 14px 3px rgba(255, 194, 122, .9); } }
.rig-face {
  --c: 14px;
  position: relative; display: grid; justify-items: center; gap: 12px;
  width: min(480px, 100vw - 2 * var(--gutter) - 24px);
  padding: 34px clamp(20px, 5vw, 44px) 28px;
  background: radial-gradient(120% 90% at 50% 38%, #F7FFFD 0%, #E9FCF8 55%, #CBF2EB 100%);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
/* light bleeding in from the plankton at the edges of the acrylic */
.rig-face::before { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 26px rgba(70, 214, 200, .55), inset 0 0 2px rgba(70, 214, 200, .9); opacity: var(--lit); }
/* dark glass before the swarm arrives */
.rig-face::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, #0E2A3C, #081A29); opacity: calc(1 - var(--lit)); }
.rig-face p { position: relative; font-size: 15px; font-weight: 500; color: #12405A; }
.partner { position: relative; z-index: 1; display: block; padding: 4px 8px; transition: transform .3s; }
.partner:hover { transform: translateY(-2px); }
.partner:focus-visible { outline-color: #0E7FA3; }
.partner img { width: clamp(200px, 66vw, 300px); height: auto; }
.rig-tag { display: block; height: 30px; font: 500 9.5px/30px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(190, 228, 236, .7); }
.marker-hint { margin: 12px 0 0; padding-bottom: 40px; position: relative; color: rgba(125, 239, 226, .8); animation: breathe 3.4s ease-in-out infinite; }
.h-touch { display: none; }
@media (hover: none) { .h-fine { display: none; } .h-touch { display: inline; } }

/* ---------- sea floor (shared footer) ---------- */
.floor { --accent: var(--sun); min-height: 68vh; display: grid; align-items: end; color: var(--foam); background: linear-gradient(180deg, rgba(2, 6, 12, .6) 0%, rgba(2, 6, 12, 0) 30%); }
.sub .floor { min-height: 0; background: linear-gradient(180deg, #03101B, #02070D); border-top: 1px solid var(--hair); }
.floor-inner { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 120px 0 40px; }
.sub .floor-inner { padding-top: 72px; }
.floor-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.4fr; gap: 48px; align-items: start; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.floor-brand p { margin-top: 18px; max-width: 30ch; font-size: 15px; color: var(--muted); }
.floor-logo { width: 230px; height: auto; }
.floor-h { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.floor-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.floor-nav a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.floor-nav a:hover { color: var(--foam); border-bottom-color: var(--foam); }
.floor-legal { display: grid; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.floor-legal strong { font-weight: 600; color: var(--foam); }
.floor-legal a { color: var(--foam); text-underline-offset: 3px; }
.floor-base { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hair); }
.floor-urgent { font: 400 12.5px/1.6 var(--mono); letter-spacing: .04em; color: var(--muted); }
.floor-urgent a { color: var(--sun); text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255, 194, 122, .5); }
.surface-btn { white-space: nowrap; }
.surface-btn:hover span { transform: translateY(-2px); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .bar-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: 96px var(--gutter) 40px;
    background: #02080E; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s .25s;
  }
  .bar-nav.open { visibility: visible; opacity: 1; transition: opacity .25s ease; }
  .bar-nav ul { flex-direction: column; gap: 0; max-width: 560px; }
  .bar-nav li { border-bottom: 1px solid var(--hair); }
  .bar-nav a { padding: 20px 0; font: 600 2rem/1 var(--display); letter-spacing: .01em; border-bottom: 0; }
  .bar-nav a[aria-current="page"] { color: var(--foam); }
  .bar-nav a[aria-current="page"]::after { content: "You are here"; margin-left: 14px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); vertical-align: middle; }
  .bar-nav .nav-urgent::before { width: 10px; height: 10px; margin-right: 14px; }
  .bar-cta { margin-left: auto; }
  .bar-depth { display: block; }
  .floor-grid { grid-template-columns: 1fr 1fr; }
  .floor-brand { grid-column: 1 / -1; }
  .two { grid-template-columns: 1fr; }
  .bottle { min-height: 340px; }
  .ways { grid-template-columns: 1fr; max-width: 560px; }
  .bd-shallows::after { background: linear-gradient(180deg, rgba(0, 34, 46, .8), rgba(0, 38, 50, .68) 60%, rgba(0, 34, 46, .8)); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .bar { padding: 10px 16px 22px; gap: 10px; }
  .bar-brand img { height: 32px; width: 108px; }
  .bar-cta { padding: 10px 10px; min-height: 40px; font-size: 10.5px; letter-spacing: .06em; white-space: nowrap; }
  .bar { background: linear-gradient(180deg, rgba(2, 8, 14, .86) 0%, rgba(2, 8, 14, .5) 60%, rgba(2, 8, 14, 0) 100%); }
  .bar-depth { font-size: 12px; padding: 7px 8px; }
  .hero { min-height: 640px; }
  .hero-copy { bottom: 92px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); margin: 16px 0 18px; }
  .hero-ctas { gap: 16px; margin-top: 24px; }
  .hero-rule { font-size: 10px; letter-spacing: .12em; bottom: 20px; }
  .hero-rule span:last-child { display: none; }
  h2 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .tags { grid-template-columns: 1fr; }
  .shallows, .reef, .openblue, .midwater, .deep { padding-top: 120px; padding-bottom: 120px; }
  .journey-scene { aspect-ratio: 4 / 3.4; outline-offset: 6px; }
  .js-way text { display: none; }
  .js-way circle { r: 7px; }
  .scene-hint { right: 22px; bottom: 16px; }
  .frame-corner.tl, .frame-corner.bl { left: 8px; } .frame-corner.tr, .frame-corner.br { right: 8px; }
  .stages { grid-template-columns: 1fr; gap: 12px; }
  .current-line { display: none; }
  .buoys { grid-template-columns: 1fr; gap: 16px; padding-left: 24px; }
  .buoys::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sun) 0 var(--fill, 0%), rgba(242, 251, 251, .2) var(--fill, 0%)); }
  .b1, .b2, .b3 { margin-top: 0; }
  .sonar-field { height: 560px; }
  .c-turtle { --w: 112px; --x: 2% !important; --y: 20% !important; }
  .c-dolphin { --w: 118px; --x: 60% !important; --y: 12% !important; }
  .c-seal { --w: 110px; --x: 64% !important; --y: 50% !important; }
  .c-bird { --w: 92px; --x: 34% !important; --y: 0% !important; }
  .c-penguin { --w: 104px; --x: 4% !important; --y: 64% !important; }
  .c-shoal { --w: 108px; --x: 52% !important; --y: 77% !important; }
  .floor-logo { width: 210px; }
  .floor-grid { grid-template-columns: 1fr; gap: 28px; }
  .menu-label { display: none; }
  .menu-btn { padding: 0 11px; }
}
@media (max-width: 359px) {
  .bar-depth { display: none !important; }
}

/* =====================================================================
   Additions for the multi-page site (October 2026)
   ===================================================================== */
html.menu-open { overflow: hidden; }
@media (max-width: 1020px) {
  .bar-depth { margin-left: auto; }
  .bar-depth + .bar-cta { margin-left: 0; }
}

/* ---------- surface parallax layers (home hero) ---------- */
.sx { position: absolute; left: 0; right: 0; pointer-events: none; }
.sx-glare { z-index: 1; top: 8%; height: 60%; background: radial-gradient(42% 46% at 58% 62%, rgba(255, 206, 140, .34), rgba(255, 170, 90, .1) 45%, rgba(255, 170, 90, 0) 70%); mix-blend-mode: screen; }
.sx-swell { z-index: 2; bottom: 4%; height: 34%; }
.sx-swell svg { width: 100%; height: 100%; }
.sx-crest { z-index: 6; bottom: -58%; height: 64%; }
.sx-crest svg { display: block; width: 100%; height: 26%; min-height: 60px; }
.sx-crest::after { content: ""; display: block; height: 74%; margin-top: -1px; background: linear-gradient(180deg, rgba(6, 44, 60, .38), rgba(4, 30, 42, .55)); }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.hero-links a { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 0; color: var(--foam); border-bottom: 1px solid var(--line); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-links a:hover { border-bottom-color: var(--foam); }
.hero-ctas .btn-sun { background: rgba(30, 14, 0, .42); }

/* ---------- shared light rays + plankton depth layers ---------- */
.rays { position: absolute; left: -15%; right: -15%; top: -12%; height: 90%; pointer-events: none; z-index: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%); }
.rays-beams { position: absolute; inset: 0; mix-blend-mode: screen; transform-origin: 50% 0;
  background:
    linear-gradient(104deg, transparent 0 18%, rgba(190, 240, 255, .1) 20%, transparent 25%, transparent 38%, rgba(190, 240, 255, .07) 41%, rgba(190, 240, 255, .12) 43%, transparent 47%, transparent 58%, rgba(190, 240, 255, .08) 61%, transparent 66%, transparent 76%, rgba(190, 240, 255, .1) 79%, transparent 84%);
  animation: sway 14s ease-in-out infinite alternate; }
@keyframes sway { from { transform: skewX(-4deg); opacity: .8; } to { transform: skewX(5deg); opacity: 1; } }
.motes { position: absolute; left: 0; right: 0; top: -30%; bottom: -30%; pointer-events: none; z-index: 0; }
.motes-far { opacity: .55; background-image: radial-gradient(circle, rgba(200, 240, 255, .7) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(200, 240, 255, .5) 0 1px, transparent 1.6px); background-size: 97px 113px, 151px 89px; background-position: 0 0, 43px 61px; }
.motes-mid { opacity: .5; background-image: radial-gradient(circle, rgba(210, 248, 255, .75) 0 1.5px, transparent 2.4px), radial-gradient(circle, rgba(210, 248, 255, .5) 0 1.5px, transparent 2.4px); background-size: 181px 211px, 233px 167px; background-position: 20px 30px, 120px 90px; }
.motes-near { opacity: .35; filter: blur(1.2px); background-image: radial-gradient(circle, rgba(220, 250, 255, .8) 0 3px, transparent 4.5px), radial-gradient(circle, rgba(220, 250, 255, .55) 0 2.5px, transparent 4px); background-size: 331px 389px, 419px 293px; background-position: 60px 10px, 250px 180px; }
.deep .motes, .midwater .motes { z-index: 0; }

/* ---------- home additions ---------- */
.shallows { row-gap: 64px; }
.more { margin-top: 30px; }
.more.center { text-align: center; margin-top: 48px; }
.alert { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px 40px; align-items: center; padding: 26px 28px; border: 1px solid rgba(255, 194, 122, .55); border-left: 3px solid var(--sun); background: rgba(2, 14, 22, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.alert-tag { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.alert h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0 10px; }
.alert-head p:last-child { font-size: 16px; color: var(--muted); }
.alert-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.alert-lines li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "s s" "b a"; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--hair); }
.alert-lines span { grid-area: s; font: 400 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.alert-lines b { grid-area: b; font: 600 1.5rem/1.1 var(--display); text-transform: uppercase; }
.alert-lines a { grid-area: a; font: 500 1.5rem/1.1 var(--display); color: var(--sun); text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255, 194, 122, .5); }
.alert-lines a:hover { color: var(--foam); }
.alert-more { grid-column: 1 / -1; justify-self: start; padding: 10px 2px; }
.buoy-num { margin-top: -2px; margin-bottom: 8px; font: 400 13px/1.4 var(--mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.buoy-num b { display: block; font: 600 2.2rem/1 var(--display); color: var(--sun); letter-spacing: .01em; margin-bottom: 4px; }
.way .placeholder { margin-top: 0; }
@media (min-width: 1240px) { .ways { grid-template-columns: repeat(4, 1fr); } .way h3 { font-size: 1.9rem; } }
@media (min-width: 761px) and (max-width: 1239px) { .ways { grid-template-columns: repeat(2, 1fr); max-width: none; } }

/* ---------- subpages ---------- */
.sub { background: #03101B; }
.page-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; height: 82vh; height: 82svh; display: grid; align-items: end; padding: 120px 0 clamp(90px, 13vh, 140px); background: #062033; }
.ph-layer { position: absolute; left: 0; right: 0; pointer-events: none; }
.ph-bg { top: -14%; bottom: -14%; z-index: 0; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 10, 18, .55) 0%, rgba(2, 10, 18, .18) 30%, rgba(2, 12, 22, .5) 60%, rgba(2, 12, 22, .88) 100%), linear-gradient(90deg, rgba(2, 12, 22, .55), rgba(2, 12, 22, 0) 70%); }
.page-hero .rays { z-index: 1; }
.page-hero .motes { z-index: 2; }
.ph-copy { position: relative; z-index: 4; }
.page-hero h1 { font-size: clamp(2.9rem, 7vw, 6rem); line-height: .9; margin: 20px 0 20px; max-width: 16ch; text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, .45); }
.page-hero .lede { max-width: 52ch; color: rgba(242, 251, 251, .94); }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero .sx-crest { z-index: 5; bottom: -2px; height: auto; }
.page-hero .sx-crest svg { height: 70px; }
.page-hero .sx-crest::after { display: none; }
.lost { height: 100vh; height: 100svh; }

.page { position: relative; background: linear-gradient(180deg, #041220 0%, #031A2A 40%, #04121F 75%, #03101B 100%); }
.wild .page { background: linear-gradient(180deg, #041220 0%, #062030 50%, #03101B 100%); }
.sect { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.sect + .sect { border-top: 1px solid var(--hair); }
.sect h2, .band h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); max-width: 18ch; margin: 20px 0 22px; }
.body { max-width: 66ch; color: var(--muted); }
.body + .body { margin-top: 16px; }
.body a, .src a, .faq a, .prose a, .note-sm a, .panel p a:not(.text-link) { color: var(--foam); text-underline-offset: 3px; }
.narrow { max-width: 66ch; margin-top: 28px; }
.src { margin-top: 22px; max-width: 80ch; font: 400 12.5px/1.6 var(--mono); letter-spacing: .02em; color: rgba(242, 251, 251, .72); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.two-col.even { align-items: start; }
.panel { position: relative; padding: 26px 26px 28px; border: 1px solid var(--hair); border-top: 1px solid var(--line); background: rgba(2, 14, 24, .62); }
.panel h3 { font-size: 1.75rem; margin-bottom: 12px; }
.panel p { font-size: 16px; color: var(--muted); }
.panel p + p { margin-top: 14px; }
.panel-urgent { border-color: rgba(255, 194, 122, .45); border-left: 3px solid var(--sun); }
.panel-urgent a[href^="tel"] { color: var(--sun); white-space: nowrap; }
.cards { display: grid; gap: 18px; margin-top: 36px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.note-sm { font-size: 14px !important; }
.addr { font: 500 1.6rem/1.15 var(--display) !important; text-transform: uppercase; color: var(--foam) !important; margin-bottom: 14px; }
.panel .placeholder { display: inline-block; margin: 4px 0 6px; }

.readout { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.readout div { padding: 18px 20px 20px 0; border-bottom: 1px solid var(--hair); }
.readout dt { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.readout dd { margin: 6px 0 0; font-size: 17px; font-weight: 500; }

.pull { margin: 22px 0 24px; padding: 22px 26px; background: var(--paper); color: #0B2A3A; transform: rotate(-1deg); max-width: 26ch; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.pull p { font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.04 var(--display); text-transform: uppercase; }
.clauses { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.clauses li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hair); font-size: 17px; color: var(--muted); }
.clauses span { font: 500 12px/1.9 var(--mono); letter-spacing: .1em; color: var(--accent); }

.timeline { list-style: none; margin: 40px 0 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 4px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 7px); }
.timeline li { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 22px; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.timeline time { font: 500 13px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.timeline p { max-width: 64ch; color: var(--muted); }

.money { --accent: var(--sun); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.tile, .stat-panel { padding: 22px 22px 24px; border: 1px solid var(--hair); border-top: 2px solid var(--line); background: rgba(2, 14, 24, .62); }
.tile-hi { border-top-color: var(--sun); }
.tile-k, .panel .tile-k { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile-v, .panel .tile-v { font: 600 clamp(2.4rem, 4vw, 3.3rem)/1 var(--display); margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.tile-hi .tile-v, .stat-panel .tile-v { color: var(--sun); }
.tile-n, .panel .tile-n { font-size: 14px; color: var(--muted); }
.panel.stat-panel .tile-n { font-size: 16px; margin-bottom: 16px; }
.split { margin: 40px 0 0; max-width: 900px; }
.split figcaption { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.split-bar { display: flex; gap: 2px; height: 22px; }
.seg { width: var(--w); min-width: 6px; height: 100%; }
.seg-a { background: var(--sun); border-radius: 4px 0 0 4px; }
.seg-b { background: #8FB3C4; border-radius: 0 4px 4px 0; }
.split-key { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.split-key li { position: relative; padding-left: 22px; }
.split-key i { position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 2px; }
.split-key b { color: var(--foam); font-weight: 600; font-variant-numeric: tabular-nums; }
.k-a { background: var(--sun); } .k-b { background: #8FB3C4; }
.table-wrap { margin-top: 30px; max-width: 760px; overflow-x: auto; }
.fig-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fig-table caption { text-align: left; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.fig-table th, .fig-table td { padding: 12px 14px 12px 0; text-align: right; border-bottom: 1px solid var(--hair); font-size: 16px; }
.fig-table th:first-child { text-align: left; }
.fig-table thead th { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line); }
.fig-table tbody th { font-weight: 600; }

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

.band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 16vw, 200px) 0; background: #062033; }
.band-bg { position: absolute; left: 0; right: 0; top: -22%; bottom: -22%; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 14, 26, .9) 0%, rgba(2, 14, 26, .72) 55%, rgba(2, 14, 26, .45) 100%), linear-gradient(180deg, rgba(4, 18, 32, .8), rgba(4, 18, 32, 0) 25%, rgba(4, 18, 32, 0) 75%, rgba(4, 18, 32, .85)); }
.band .rays { z-index: 1; }
.band .motes { z-index: 2; }
.band-copy { position: relative; z-index: 3; }
.band .body { color: rgba(242, 251, 251, .92); }
.band .ph-ctas { margin-top: 26px; }
.band-copy > p:last-child:has(.text-link) { margin-top: 24px; }
.page::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: radial-gradient(circle, rgba(200, 240, 255, .6) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(200, 240, 255, .4) 0 1px, transparent 1.6px); background-size: 127px 149px, 211px 173px; background-position: 0 0, 60px 90px; }
.page > * { position: relative; }
.band .share-msg { margin-top: 12px; font: 400 13px/1.4 var(--mono); color: var(--glow); min-height: 1em; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; max-width: 62ch; }
.ticks li { position: relative; padding-left: 30px; color: rgba(242, 251, 251, .92); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--glow); border-bottom: 2px solid var(--glow); transform: rotate(-45deg); }

.triage { margin-top: 30px; padding: 22px 24px; border: 1px solid var(--hair); background: rgba(2, 14, 24, .62); }
.triage-q { font: 500 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.triage-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.triage-chips button { min-height: 44px; padding: 0 16px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--foam); background: transparent; border: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.triage-chips button:hover { border-color: var(--foam); }
.triage-chips button[aria-pressed="true"] { background: var(--foam); color: var(--ink); border-color: var(--foam); }
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.line-card { padding: 28px 28px 26px; border: 1px solid var(--line); border-top: 3px solid var(--sun); background: rgba(2, 14, 24, .7); transition: opacity .35s, border-color .35s, transform .35s; }
.line-card h3 { font-size: 2.6rem; margin: 10px 0 8px; }
.line-for { font: 500 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.line-sub { font-size: 15px; color: var(--muted); max-width: 46ch; }
.line-num { display: inline-block; margin: 18px 0 14px; font: 600 clamp(2.3rem, 4.6vw, 3.4rem)/1 var(--display); color: var(--foam); text-decoration: none; border-bottom: 2px solid var(--sun); font-variant-numeric: tabular-nums; }
.line-num:hover { color: var(--sun); }
.triage-on .line-card { opacity: .45; }
.triage-on .line-card.match { opacity: 1; border-color: var(--sun); transform: translateY(-4px); }
.steps { counter-reset: s; list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 54px; border-top: 1px solid var(--hair); color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 500 13px/1.7 var(--mono); letter-spacing: .08em; color: var(--accent); }
.steps b, .donts b { color: var(--foam); font-weight: 600; }
.donts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.donts li { position: relative; padding: 16px 0 16px 40px; border-top: 1px solid var(--hair); color: var(--muted); }
.donts li::before, .donts li::after { content: ""; position: absolute; left: 6px; top: 27px; width: 16px; height: 2px; background: var(--coral); transform: rotate(45deg); }
.donts li::after { transform: rotate(-45deg); }

.faq { margin-top: 30px; max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 48px 20px 0; font: 600 clamp(1.3rem, 2.2vw, 1.6rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font: 400 26px/1 var(--mono); color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 22px; max-width: 66ch; color: var(--muted); }

.prose p, .prose li { max-width: 68ch; color: var(--muted); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 16px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose .readout { margin-bottom: 24px; }

@media (max-width: 1020px) {
  .two-col, .cards.three, .contact-grid, .lines { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .readout { grid-template-columns: repeat(2, 1fr); }
  .alert { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { min-height: 600px; height: auto; padding-top: 130px; }
  .lost { height: 100svh; }
  .readout { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px 14px 18px; }
  .tile-v { font-size: 2.1rem; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .clauses li { grid-template-columns: 1fr; gap: 4px; }
  .alert { padding: 22px 18px; }
  .alert-lines li { grid-template-columns: 1fr; grid-template-areas: "s" "b" "a"; }
  .alert-lines a { justify-self: start; }
  .line-card { padding: 22px 18px; }
  .hero-ctas .btn { padding: 14px 16px; }
}
@media (max-width: 360px) {
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 380px), (max-height: 700px) and (max-width: 760px) {
  .hero { min-height: 760px; }
}

/* screenshot mode (?shot): freeze transitions so headless captures settle */
.shot *, .shot *::before, .shot *::after { transition: none !important; }

/* ---------- reduced motion: everything holds still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-speed] { transform: none !important; }
  .bubbles { display: none; }
  .rays-beams { animation: none; }
  .marker-hint { display: none; }
}

/* ---- Give in crypto: an instrument readout ---- */
.crypto-give { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--hair); }
.crypto-give h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1; margin: 0 0 .7rem; color: var(--foam); }
.crypto-give h3::before { content: "TX // "; font-family: var(--mono); font-size: .42em; font-weight: 500; letter-spacing: .12em; color: var(--cyan); vertical-align: middle; }
.crypto-note { max-width: 62ch; margin: 0; color: var(--muted); }
.crypto-wallets { display: grid; gap: 20px; margin-top: 26px; }
.crypto-wallet { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "qr net" "qr addr" "qr btn" "qr warn"; column-gap: 24px; row-gap: 10px; align-items: start; justify-items: start; padding: 22px; border: 1px solid var(--hair); background: rgba(2, 7, 13, .55); max-width: 720px; }
.crypto-wallet::before, .crypto-wallet::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--cyan); border-style: solid; }
.crypto-wallet::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.crypto-wallet::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.crypto-net { grid-area: net; margin: 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.crypto-qr { grid-area: qr; width: 168px; height: 168px; padding: 8px; background: #fff; outline: 1px solid var(--cyan); outline-offset: 4px; }
.crypto-qr svg { display: block; width: 100%; height: 100%; }
.crypto-addr { grid-area: addr; font-family: var(--mono); font-size: .86rem; line-height: 1.5; color: var(--foam); overflow-wrap: anywhere; word-break: break-all; }
.crypto-wallet .btn { grid-area: btn; }
.crypto-warn { grid-area: warn; margin: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
@media (max-width: 560px) { .crypto-wallet { grid-template-columns: 1fr; grid-template-areas: "net" "qr" "addr" "btn" "warn"; } .crypto-qr { margin: 6px 0 4px 4px; } }

/* ---- official trust logo (Dolphin Marine Rescue Animal Rehabilitation Trust, from the trust's own site) ---- */
.bar-brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-plate { display: inline-block; background: #fff; line-height: 0; }
.brand-plate img { display: block; width: 100%; height: auto; }
.brand-plate--sm { width: 40px; padding: 3px 4px; }
.brand-plate--lg { width: 150px; padding: 12px; }
.bar-name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: .06em; color: var(--foam); }
.bar-brand, .bar-brand:hover { text-decoration: none; }

/* ---- partner credits (31 Oct 2026): regulator registration and named partners, text only (logos need permission) ---- */
.partner-more{margin:14px auto 0;max-width:46ch;font-size:.86rem;line-height:1.55;opacity:.92}
.partner-more p{margin:0 0 4px}
.partner-more a{color:inherit;text-decoration:underline;text-underline-offset:2px}
