/* Tale of the Whale, shared site styles.
   Loaded by index.html and by every standalone page. Page-only rules stay in the page. */
/* ============================================================
   THE WATER
   One fixed canvas behind the whole document. Scrolling is
   descending: the surface leaves overhead, the wake threads the
   entire page, bubbles rise past you, the water darkens with depth.
   Palette locked to CONTEXT Design tokens. One accent: #0f9b76,
   with #54d3ab as its on-dark variant of the same hue.
   Radius system: one soft scale, 16px panels and 999px pills.
   ============================================================ */
:root{
  --deep:#0c4a6e; --ink:#15252d; --mid:#1d5b7e;
  --accent:#0f9b76; --mint:#54d3ab;
  --paper:#eef1f0; --soft:#c6d2d1; --dim:#8a979b; --white:#ffffff;
  --line:rgba(198,210,209,.18);
  --glass:rgba(12,42,58,.72);
  --r:16px;
  /* the two faces taken from hero study 03, Flow Ledger */
  --display:'DIN Condensed','Arial Narrow',sans-serif;
  --body:Menlo,monospace;
  --ease:cubic-bezier(.2,.8,.2,1);
  /* the fill curve the Framer reference used, easeOutCubic */
  --ease-water:cubic-bezier(.215,.61,.355,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--ink);color:var(--paper);
  font-family:var(--body);font-size:15px;line-height:1.6;
  /* the containing block for the sea life layer, so its percentages resolve
     against the whole document rather than the viewport */
  position:relative;
}
/* The hero studies reuse this exact canvas as a locked background layer.
   Visibility keeps the original document height, so the wake geometry and
   surface view remain identical to the live page at scroll position zero. */
html.background-only{overflow:hidden}
.background-only header,
.background-only .above,
.background-only .sounder,
.background-only footer{visibility:hidden!important;pointer-events:none!important}
/* the water sits behind everything and never intercepts a pointer */
#water{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;display:block}
.above{position:relative;z-index:1}

/* ---------- drifting jellyfish ----------
   This layer deliberately carries no z-index. A z-index would open its own
   stacking context and mix-blend-mode would then blend against nothing,
   losing the water underneath. With z-index auto it stays in the canvas's
   context, paints after it by DOM order, and screen blending drops the
   GIF's dark pixels so the bell reads as bioluminescence rather than a
   pasted cut-out with a hard alpha edge. */
.deeplife{position:absolute;top:0;left:0;width:100%;height:100%;
  overflow:hidden;pointer-events:none}
.deeplife img{
  position:absolute;height:auto;
  mix-blend-mode:screen;
  filter:blur(.6px) saturate(.8) hue-rotate(-20deg);
}
/* Depths are percentages of the document, not the viewport, so the creatures
   sit at a real place in the page and scroll past with it instead of riding
   along with the screen. Negative delays start them mid-crossing so a visitor
   never waits out a full lap before any sea life appears. */
/* The artwork has the bell on the left with tentacles trailing right, so it
   swims LEFT as drawn. Whichever instance travels right gets mirrored, so the
   bell always leads and the tentacles always follow. Bob is animated on
   margin-top, not transform, so it cannot clobber that mirror. */
.jelly-a{width:200px;top:58%;opacity:.5;transform:scaleX(-1);
  animation:driftA 190s linear infinite, bobA 13s ease-in-out infinite;
  animation-delay:-34s,-4s}
/* C is the 16 colour file. Screen blending is wrong for it: its body is dark
   and screen would eat it, so it keeps its own alpha and instead has its brown
   rotated round to blue. The blur softens the 1 bit alpha edge. It swims left
   as drawn and travels right, so it is mirrored. */
/* Rises rather than drifts, and takes a long road: 260vh over 150s, so one
   crossing runs for minutes instead of three quarters of a minute and no member
   of the shoal blinks out while you are still reading. The sway period stretches
   with it, to 18s, which is what holds the path angle where it was: the rise is
   15.6px per second at a 900px viewport, the sway peaks at 18px x 2pi/18s or
   6.28px per second, and atan(6.28/15.6) is 21.9 degrees, inside the 25 asked
   for. The 90 degree base rotation turns the bell to face up. */
.deeplife .jelly-c{width:63px;left:24%;opacity:.38;
  /* overwritten per load, these are only the fallback if the script never runs */
  --rise-from:70%; --rise-to:calc(70% - 260vh);
  /* Its brown is not worth chasing with hue-rotate, which in CSS is a matrix
     approximation and lands somewhere unpredictable. Grayscale removes the
     hue entirely, then screen lets the water supply the colour and drops the
     muddy dark body that caused the trouble in the first place. */
  filter:blur(.8px) grayscale(1) brightness(1.28) contrast(.95);
  /* fadeC shares riseC's 150s length and, through placeCreatures, its delay, so
     the two stay in phase and the fade lands on the ends of the climb. Without it
     the loop is a hard cut: measured on the page, one ends its rise at document
     y 1341 and restarts at 3681, both well inside the page, so it blinked out and
     reappeared in plain view. The fade-in is here for the same reason as the
     fade-out, otherwise the cut just moves to the reappearance. */
  animation:riseC 150s linear infinite, swayC 18s linear infinite,
            fadeC 150s linear infinite;
  animation-delay:-19s,-3s}

/* The whale is a solid body, so it also keeps its own alpha and simply reads
   as far off: large, slow and faint. It faces left and travels left, so no
   mirror. Placed fresh on every load, see placeCreatures. */
.deeplife .whale-a{width:1988px;top:90%;opacity:.3;
  mix-blend-mode:normal;
  filter:blur(.9px) saturate(.85) hue-rotate(-12deg);
  animation:driftW 383s linear infinite, bobW 26s ease-in-out infinite;
  animation-delay:-70s,-11s}

@keyframes driftA{from{left:-22%}to{left:118%}}
@keyframes bobA{0%,100%{margin-top:0}50%{margin-top:-26px}}
@keyframes riseC{from{top:var(--rise-from)}to{top:var(--rise-to)}}
/* 10s in and 10s out of a 150s cycle, which is 6.667 per cent at each end */
@keyframes fadeC{
  0%      {opacity:0}
  6.667%  {opacity:.38}
  93.333% {opacity:.38}
  100%    {opacity:0}
}
/* The sprite banks into its own direction of travel. The sway is sampled as a
   sine, x = -18cos(2pi t), and the rotation is its phase shifted partner,
   90deg + 21.9deg sin(2pi t), so the tilt peaks exactly where the sideways speed
   peaks and reads 90deg, straight up, at the turns where sideways speed is zero.
   21.9deg is not a taste number, it is atan of the sway peak over the rise,
   6.28 over 15.6px per second, so the sprite points along the real path. Timing
   is linear because ease-in-out would stall the velocity at every keyframe and
   put the phase back out of step. */
@keyframes swayC{
  0%    {transform:translateX(-18.0px) rotate(90.0deg)}
  12.5% {transform:translateX(-12.7px) rotate(105.5deg)}
  25%   {transform:translateX(  0.0px) rotate(111.9deg)}
  37.5% {transform:translateX( 12.7px) rotate(105.5deg)}
  50%   {transform:translateX( 18.0px) rotate(90.0deg)}
  62.5% {transform:translateX( 12.7px) rotate(74.5deg)}
  75%   {transform:translateX(  0.0px) rotate(68.1deg)}
  87.5% {transform:translateX(-12.7px) rotate(74.5deg)}
  100%  {transform:translateX(-18.0px) rotate(90.0deg)}
}
/* left is a percentage of the layer, so a percentage alone cannot express "clear of
   the screen" once the animal is 1988px wide: at -30% on a 1440px viewport its right
   edge still sat at +1556px, fully across the screen, and that is exactly where it
   used to blink out and snap back to the right. Measuring against its own width makes
   both ends a real exit at any viewport, so the loop closes off screen where nobody
   sees it. Travel grew from 136% to 100% plus 4056px, which is why the duration went
   from 214s to 383s: that holds the old speed of about 9.2px per second. */
@keyframes driftW{
  from{left:calc(100% + 40px)}
  to  {left:calc(-1988px - 40px)}
}
@keyframes bobW{0%,100%{margin-top:0}50%{margin-top:-34px}}
/* width:100% matters because .hero is a flex container: without it the
   wrap shrinks to its content and the auto margins push it off the gutter */
.wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 40px}
@media (max-width:820px){.wrap{padding:0 20px}}
a{color:var(--mint);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.fig{font-family:var(--body)}
.sr{position:absolute;left:-9999px}

/* ---------- nav ---------- */
header{position:fixed;top:0;left:0;right:0;z-index:20;
  background:linear-gradient(to bottom,rgba(12,42,58,.92),rgba(12,42,58,.42) 70%,rgba(12,42,58,0));
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
nav{
  height:72px;display:grid;align-items:center;gap:26px;
  grid-template-columns:1fr auto 1fr;
}
nav > .mark{justify-self:start}
nav > .navlinks{justify-self:center}
.mark{display:flex;align-items:center;gap:11px}
/* the mark is assets/logo.svg rather than inline markup. Its viewBox is square, where
   the old inline one was 954x856, so the box is square too; the artwork sits inside its
   own padding, which is why 38 here reads at about the same size as the old 36x32 */
/* 3px up by eye, against the wordmark's own 2px nudge down below. A transform, so the
   flex row still measures the logo's 38px and nav is unaffected */
.mark img{width:38px;height:38px;display:block;flex:none;transform:translateY(-3px)}
.wordmark{font-family:var(--display);font-size:25px;font-weight:400;line-height:.95;
  letter-spacing:.015em;color:var(--white);white-space:nowrap;
  /* 2px down by eye, splitting the two pulls described below: it gives up 2px of the
     link baseline to win back 2px toward the logo's centre. A transform, so the flex
     row's height is untouched */
  transform:translateY(2px)}
/* The wordmark's box is deliberately left untrimmed and simply centred, which puts its
   baseline within half a pixel of the nav links': 41.5 against 41.0. That falls out of
   the two faces rather than being tuned. Both boxes centre in the same 72px bar, and a
   baseline sits half the ascent-descent difference below the em centre, which is 5.5 for
   the display face at 18 against 7 and 5.0 for the body face at 13 against 3.
   Trimming to cap and baseline, or aligning the row to flex-end, both break this: they
   shorten the box, and centring a shorter box drops the baseline to 44.9, a clear 3.9px
   below the links. The empty ascent and descent are what make this line up. */
.navlinks{display:flex;gap:28px;align-items:center}
.navlinks a{font-family:var(--body);font-size:14px;font-weight:400;
  letter-spacing:.01em;color:var(--soft);white-space:nowrap}
.navlinks a:hover{color:var(--mint);text-decoration:none}
@media (max-width:1080px){.navlinks{display:none}}

/* ---------- hero: no panel, the copy stands in open water ---------- */
.hero{min-height:100svh;display:flex;align-items:center;padding:110px 0 90px}
.hero .in{max-width:1180px}
.tagline{font-family:var(--body);font-size:13px;letter-spacing:.01em;
  color:var(--mint);margin:0 0 16px;text-shadow:0 2px 18px rgba(10,24,32,.9)}
/* the second sentence always starts a new line */
.hero h1 span{display:block}
.hero h1{
  font-family:var(--display);font-weight:400;text-transform:uppercase;
  font-size:clamp(38px,5.13vw,91.2px);line-height:.95;letter-spacing:-.025em;margin:0 0 24px;
  color:var(--white);text-shadow:0 2px 26px rgba(8,20,28,.92),0 1px 4px rgba(8,20,28,.8);
}
.hero .deck{font:15px/1.5 var(--body);color:var(--soft);margin:0 0 30px;max-width:680px;
  text-shadow:0 2px 20px rgba(8,20,28,.9)}

/* the whole pill is the control: it lights up as one on focus */
form.signup{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;
  width:min(100%,520px);min-height:58px;overflow:hidden;
  border:1px solid rgba(198,210,209,.26);border-radius:999px;
  background:rgba(6,24,35,.72);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 55px rgba(0,0,0,.18);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
form.signup:focus-within{
  border-color:rgba(84,211,171,.8);
  box-shadow:0 0 0 5px rgba(84,211,171,.10), 0 18px 55px rgba(0,0,0,.22);
  transform:translateY(-1px);
}
/* a rejected address shakes and turns hard white, and the toast says why */
form.signup.is-invalid{border-color:rgba(255,255,255,.9);animation:nudge .26s ease}
@keyframes nudge{0%,100%{transform:translateX(0)}33%{transform:translateX(-5px)}66%{transform:translateX(5px)}}

form.signup input{min-width:0;border:0;outline:0;background:transparent;color:var(--paper);
  font-family:var(--body);font-size:13px;padding:0 22px}
form.signup input::placeholder{color:var(--dim)}

/* Autofill. Picking an address from the browser's own list paints an opaque pale
   background straight onto the input, and background-color cannot override it: the
   user agent style wins. That is why the field went white the moment an address was
   chosen and stayed white until a character changed, and why clicking the water did
   nothing, since this is not a focus state but a "the browser filled this" state.

   An inset box shadow paints on top of that fill, which is the one thing that does
   override it. The colour is the pill's own composite, rgba(6,24,35,.72) over the
   water, sampled at both forms as #072231 and #08202e. Autofill also forces the text
   colour, so that needs -webkit-text-fill-color rather than color. The absurd
   transition delay keeps Chrome's yellow flash from showing before the shadow lands.

   The prefixed and the standard selectors are kept in SEPARATE rules on purpose. A
   selector list is all or nothing: one name the browser does not recognise invalidates
   the whole rule, so pairing them would drop the webkit fix in exactly the older
   browsers that still need it. */
form.signup input:-webkit-autofill,
form.signup input:-webkit-autofill:hover,
form.signup input:-webkit-autofill:focus,
form.signup input:-webkit-autofill:active{
  -webkit-box-shadow:inset 0 0 0 100px #08212f;
  box-shadow:inset 0 0 0 100px #08212f;
  -webkit-text-fill-color:var(--paper);
  caret-color:var(--paper);
  transition:background-color 100000s ease 0s;
}
form.signup input:autofill{
  box-shadow:inset 0 0 0 100px #08212f;
  -webkit-text-fill-color:var(--paper);
  caret-color:var(--paper);
}
/* The input's fill stops at its own box, but the button's 999px radius carves two
   wedges out of its cell, top left and bottom left, and the form's translucent
   background shows through them. Against the opaque filled input that reads as a seam
   down the join. So the pill itself goes opaque for as long as the field is filled,
   in the same colour, and the wedges stop standing out. Two rules again, since a
   selector list is all or nothing. */
form.signup:has(input:-webkit-autofill){background:#08212f}
form.signup:has(input:autofill){background:#08212f}

form.signup button{
  position:relative;min-width:166px;padding:0 26px;overflow:hidden;border:0;border-radius:999px;
  /* Near white to mint, as on the live home page. Written out rather than taken from
     --accent: in the Lovable build the UI theme defines its own --accent (Tailwind slate-100)
     and it overrides the brand green, so this keeps every page's pill the same. */
  color:var(--ink);background:linear-gradient(110deg,#f1f5f9,var(--mint));
  cursor:pointer;font-family:var(--body);font-size:13px;font-weight:700;letter-spacing:.01em;
  white-space:nowrap;
  transition:transform .2s var(--ease), filter .2s ease, box-shadow .2s ease;
}
/* The label rides above the water, which is why it is wrapped rather than left
   as a bare text node: a positioned pseudo element would otherwise paint over it. */
form.signup button .lbl{position:relative;z-index:2}

/* Hover fills the button with deep water. ::before is the body of it, rising from
   the bottom and carrying its own bubbles, and ::after is the crest riding the
   surface. Both share one transition length, which is what keeps the crest glued
   to the water instead of lagging behind it.

   The crest deforms by animating its own border-radius rather than being redrawn
   every frame, so the surface genuinely changes shape with nothing running in the
   render loop. The bubbles are background layers on the water, each drifting up at
   its own rate, which also costs nothing per frame. They are here because the page
   already spawns bubbles on click and while an email is typed, so the button reads
   as part of the same water rather than as a separate effect. */
form.signup button::before,
form.signup button::after{
  content:"";position:absolute;pointer-events:none;z-index:1;
}
form.signup button::before{
  left:-20%;width:140%;bottom:0;height:0;
  background:
    radial-gradient(circle at 18% 84%, rgba(198,244,238,.72) 2.6px, transparent 3.2px),
    radial-gradient(circle at 47% 62%, rgba(198,244,238,.6) 1.9px, transparent 2.5px),
    radial-gradient(circle at 72% 90%, rgba(198,244,238,.66) 2.2px, transparent 2.8px),
    radial-gradient(circle at 88% 70%, rgba(198,244,238,.52) 1.6px, transparent 2.1px),
    linear-gradient(180deg,#1d5b7e,#0a3a58);
  background-size:118px 56px, 92px 44px, 136px 62px, 76px 38px, 100% 100%;
  transition:height .62s var(--ease-water);
}
/* mint, not white: the same colour the wake lines on the page are drawn in, so the
   edge of the water reads as the same bioluminescence */
form.signup button::after{
  left:-14%;width:128%;bottom:0;height:13px;
  background:rgba(150,255,238,.5);
  border-radius:50% 50% 46% 54% / 56% 44% 56% 44%;
  opacity:0;transform:translateY(50%);
  transition:bottom .62s var(--ease-water), opacity .18s ease;
}
/* 115 rather than 106 per cent so the crest clears the top of the pill entirely
   instead of leaving a mint band sitting on the rim at the end of the fill */
form.signup button:hover::before,
form.signup button:focus-visible::before{
  height:115%;animation:lift 2.9s linear infinite;
}
form.signup button:hover::after,
form.signup button:focus-visible::after{
  bottom:115%;opacity:1;animation:swellCalm 4.2s ease-in-out infinite;
}
@keyframes lift{
  from{background-position:0 0,0 0,0 0,0 0,0 0}
  to  {background-position:0 -56px,0 -44px,0 -62px,0 -38px,0 0}
}
@keyframes swellCalm{
  0%,100%{border-radius:50% 50% 46% 54% / 56% 44% 56% 44%;transform:translate(-2px,52%)}
  50%    {border-radius:46% 54% 52% 48% / 46% 56% 44% 54%;transform:translate(2px,46%)}
}

/* Deep water needs the opposite label: ink would drown in it, so it goes to paper.
   Mid fill the top of the pill is still mint while the label has already turned
   light, so it carries a dark halo for that moment; light text with a dark halo is
   legible over both the mint and the deep. The delay keeps it from running ahead
   of the water. */
form.signup button .lbl{transition:color .34s ease .14s, text-shadow .34s ease .14s}
form.signup button:hover .lbl,
form.signup button:focus-visible .lbl{
  color:var(--paper);text-shadow:0 1px 7px rgba(5,24,36,.85);
}

form.signup button:hover{box-shadow:0 0 34px rgba(84,211,171,.22)}
form.signup button:disabled{cursor:wait;filter:saturate(.6)}
form.signup button:disabled::before,
form.signup button:disabled::after{display:none}
/* a disabled button still matches :hover, and with the water suppressed a light
   label would sit on bare mint, so it stays ink */
form.signup button:disabled .lbl{color:var(--ink);text-shadow:none}

/* status line, bottom right */
.toast{
  position:fixed;z-index:100;right:26px;bottom:24px;display:flex;align-items:center;gap:10px;
  max-width:min(420px,calc(100vw - 40px));padding:14px 17px;
  border:1px solid rgba(84,211,171,.26);border-radius:14px;
  color:var(--paper);background:rgba(6,24,35,.93);
  box-shadow:0 20px 70px rgba(0,0,0,.36);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  font-family:var(--body);font-size:12.5px;line-height:1.45;
  opacity:0;pointer-events:none;transform:translateY(18px) scale(.98);
  transition:opacity .22s ease, transform .22s var(--ease);
}
.toast::before{content:"";width:8px;height:8px;flex:0 0 auto;border-radius:50%;
  background:var(--mint);box-shadow:0 0 18px var(--mint)}
.toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.helper{font-size:13px;color:var(--dim);margin:12px 0 0;text-shadow:0 1px 14px rgba(8,20,28,.9)}

/* ---------- glass panel, the one container this page uses ---------- */
.panel{
  background:var(--glass);border:1px solid var(--line);border-radius:var(--r);
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 26px 70px rgba(3,12,18,.5), inset 0 1px 0 rgba(198,232,236,.09);
  padding:38px 40px 40px;
}
@media (max-width:820px){.panel{padding:28px 24px 30px}}

/* ---------- stations, each at its own depth ---------- */
.station{padding:12vh 0;position:relative}
/* sentence case, so the caps tracking goes with the caps: .12em is spacing for
   uppercase and reads as gaps in mixed case, and 10px is a caps size, so it comes
   up to 12px the way the nav links and the button did */
/* One rule set for the label, heading and body, shared by the four pillars and by
   the Reader, so the Reader is dressed as a pillar rather than as a near copy of one. */
.station .ref, .who .ref{
  font-family:var(--body);font-size:12px;letter-spacing:.02em;
  color:var(--mint);display:block;margin-bottom:14px;
}
.station h2, .who h2{font-family:var(--display);font-size:34px;font-weight:400;
  letter-spacing:-.01em;text-transform:uppercase;margin:0 0 14px;color:var(--white);line-height:.95}
.station p, .who p{margin:0;font-size:15px;line-height:1.6;color:var(--soft)}
.station .angle{margin-top:16px;font-size:13.5px;color:var(--dim)}
/* the four pillars alternate side down the dive, left right left right, and are
   otherwise identical: one measure, one label, the aside always under the copy */
.st-left  .panel{max-width:520px;margin-right:auto}
.st-right .panel{max-width:520px;margin-left:auto}


/* ---------- the edition, an object found at depth ---------- */
.sample{padding:12vh 0}
.sample .lead{max-width:52ch;margin:0 auto 30px;text-align:center;color:var(--soft);
  text-shadow:0 2px 18px rgba(8,20,28,.9)}
.sample h2{font-family:var(--display);font-size:clamp(32px,3.6vw,58px);line-height:.95;
  letter-spacing:-.02em;text-transform:uppercase;margin:0 auto 16px;max-width:24ch;
  text-align:center;font-weight:400;color:var(--white);text-shadow:0 2px 22px rgba(8,20,28,.92)}
.edition{max-width:640px;margin:0 auto;border-radius:var(--r);overflow:hidden;
  background:var(--paper);color:var(--ink);box-shadow:0 34px 90px rgba(3,12,18,.62);
  font-family:Georgia,'Times New Roman',Times,serif;font-size:17px;line-height:1.62}
.ed-band{background:var(--deep);padding:18px 24px}
.ed-band .wm{font-family:Arial,Helvetica,sans-serif;font-size:14.5px;font-weight:800;
  letter-spacing:.05em;color:var(--white)}
.ed-band .day{font-family:'Courier New',Courier,monospace;font-size:11.5px;letter-spacing:.02em;
  color:var(--mint);margin-top:5px}
.ed-in{padding:26px 24px 0}
.ed-in h3{font-family:Georgia,'Times New Roman',Times,serif;font-size:21px;line-height:1.26;margin:0 0 13px;font-weight:700}
.ed-in p{margin:0 0 13px;font-size:16.5px;line-height:1.6}
.veil{position:relative;max-height:104px;overflow:hidden;padding:0 24px}
.veil::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(238,241,240,0) 10%,var(--paper) 86%)}
.locked{padding:14px 24px 24px;font-family:Arial,Helvetica,sans-serif;font-size:12px;
  font-weight:700;letter-spacing:.01em;color:var(--accent)}
.note{font-size:13px;color:var(--dim);text-align:center;margin:16px auto 0;max-width:52ch;
  text-shadow:0 1px 14px rgba(8,20,28,.9)}

/* ---------- the reader, open water again ---------- */
.who{padding:14vh 0}
/* the same panel and the same 520px measure the pillars use, sitting left */
.who .panel{max-width:520px;margin-right:auto}
.who .stack{display:grid;gap:15px}

.final{padding:12vh 0 16vh}
/* This one panel sits far lighter on the water than the station panels do: the
   glass token is .72 opaque, here it is .14, so the swell and whatever sea life
   is passing read through it almost unobstructed. Two things carry legibility at
   that alpha and neither is the fill: the panel's own backdrop blur, inherited
   from .panel, and the same text shadow the sample section already uses for
   copy that sits on open water. */
.final .panel{max-width:660px;margin:0 auto;text-align:center;
  background:rgba(12,42,58,.14)}
.final h2{font-family:var(--display);font-size:clamp(32px,3.6vw,54px);line-height:.95;
  letter-spacing:-.02em;text-transform:uppercase;margin:0 0 18px;font-weight:400;color:var(--white);
  text-shadow:0 2px 22px rgba(8,20,28,.92)}
.final p{color:var(--soft);max-width:50ch;margin:0 auto 28px;
  text-shadow:0 2px 18px rgba(8,20,28,.9)}
/* the sign-off is a p, so .final p at (0,1,1) was beating .signoff at (0,1,0) and
   zeroing its top margin: it sat flush against the form. Scoped here so it wins. */
.final .signoff{margin:44px auto 0}
.final form.signup{margin:0 auto}
.signoff{font-family:var(--body);font-size:13px;letter-spacing:.01em;
  color:var(--mint);margin:44px 0 0}

footer{position:relative;z-index:1;background:var(--ink);border-top:1px solid var(--line);
  color:var(--dim);padding:46px 0 42px;font-size:12.5px;line-height:1.62}
footer .disc{max-width:104ch;margin:0 0 18px}
footer .base{display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap;
  border-top:1px solid var(--line);padding-top:18px}
footer .base span{font-family:var(--body);font-size:12px;letter-spacing:.01em}

/* ---------- the depth readout, a real position indicator ---------- */
.sounder{
  position:fixed;left:24px;bottom:22px;z-index:15;pointer-events:none;
  display:flex;align-items:baseline;gap:12px;
  padding:10px 16px;border-radius:999px;border:1px solid var(--line);
  background:rgba(6,24,35,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.sounder b{font-family:var(--body);font-size:14px;color:var(--mint);font-weight:400}
.sounder span{font-family:var(--body);font-size:10px;font-weight:400;
  letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
@media (max-width:820px){.sounder{left:14px;bottom:14px;padding:8px 13px}}

/* while a bubble gesture is held, nothing on the page may be selected or dragged */
html.grabbing-water, html.grabbing-water *{
  user-select:none;-webkit-user-select:none;
  -webkit-user-drag:none;
}

/* the text blocks lift on hover */
.panel:hover, .edition:hover{
  border-color:rgba(84,211,171,.6);
  box-shadow:0 30px 80px rgba(3,12,18,.56), 0 0 0 1px rgba(84,211,171,.24),
             inset 0 1px 0 rgba(198,232,236,.14);
  transform:translateY(-4px);
}
.panel, .edition{transition:transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, border-color .5s ease}

@media (prefers-reduced-motion:reduce){
  .deeplife{display:none}          /* a GIF cannot be frozen, so it goes away */
  form.signup, form.signup button, .toast{transition:none}
  form.signup.is-invalid{animation:none}
  form.signup button::before, form.signup button::after{display:none}
  form.signup button .lbl{transition:none}
  html{scroll-behavior:auto}
  .panel, .edition{transition:none}
  form.signup button{transition:none}
}
