/* ==========================================================================
   LOVETOPUS.COM — ocean.css — THE ONE-OCEAN SHELL (Phase 0)
   --------------------------------------------------------------------------
   Source of truth: design_system_draft.md v1.0 (tokens §1, Five Laws §2,
   components §3) + site_architecture.md v1.1 §F (cohesion & magic doctrine).

   The whole site is ONE continuous body of water. Every page composes
   depth bands (.band--surface → .band--golden) into a single descent;
   backgrounds are always gradients between adjacent ocean stops, never
   flat fills, never template swaps (Law 3 / F-1).

   ZERO cards, tiles, panels, chips, badges (Law 2). Grouping = proximity,
   hairlines, light. GOLD IS FORBIDDEN IN UI — gold is light in the water
   only (painted scenery), never ink on the interface.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS  (hexes verbatim from design system §1.1)
   -------------------------------------------------------------------------- */
:root {
  /* Ocean scale — the site's single canvas */
  --paper:      #F7F5F1;   /* type on deep fields, secondary button ink */
  --aqua-100:   #DCEFF2;   /* lightest shallows */
  --aqua-200:   #BFE3E8;   /* pale aqua: light pools, FOCUS RING */
  --aqua-300:   #8FC9D2;   /* shallow-water transition */
  --ocean-400:  #4FA0AF;   /* hero turquoise, just under the surface */
  --ocean-500:  #2E7D8E;   /* open water */
  --ocean-600:  #16455C;   /* mid teal — realm scenery base */
  --ocean-700:  #103A4E;   /* below the thermocline */
  --ocean-800:  #0B2A3C;   /* deep ink — /method field */
  --ocean-900:  #07202E;   /* absolute floor — never darker, never black */

  /* CTA orange — the ONLY orange in the interface (Law 4: Amazon path only) */
  --cta-coral:      #F08A4B;
  --cta-coral-deep: #B4531A; /* light-field primary variant (≥4.5:1 on paper) */

  /* Feelstream */
  --feelstream:      #8CE8DF;
  --feelstream-glow: #BFF4EE; /* used at ~40% */

  /* Glowstone emotion hues — DIAGRAM/DATA colors only. Dots, hotspots,
     wheel segments, Feelstream tints. NEVER chrome, NEVER buttons. */
  --glow-joy:          #F2C14E;  /* Sunshine Bay */
  --glow-trust:        #4CBF8B;  /* Emerald Waters */
  --glow-fear:         #ECA8C0;  /* The Misty Narrows (Finley pink) */
  --glow-surprise:     #5BD1E0;  /* Whirl Bend */
  --glow-sadness:      #6B7FD6;  /* The Sighing Hollow */
  --glow-disgust:      #9FE0D0;  /* Crystal Reef */
  --glow-anger:        #E2543E;  /* Ember Sands — visibly distinct from coral */
  --glow-anticipation: #9B7FD4;  /* The Waiting Tunnel */

  /* Typography — font families isolated so a licensed swap is one line (Q3) */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, sans-serif;

  /* Type scale (§1.2) */
  --display-xl: clamp(2.75rem, 6vw, 5.25rem);   /* 44 → 84px, lh 1.05 */
  --display-l:  clamp(2.25rem, 4.5vw, 3.5rem);  /* 36 → 56px, lh 1.1  */
  --h3:         1.75rem;                         /* 28px, lh 1.2 */
  --lede:       1.375rem;                        /* 22px, lh 1.45 */
  --body:       1.125rem;                        /* 18px, lh 1.6 — article floor */
  --ui:         1rem;                            /* 16px, lh 1.5 */
  --caption:    0.8125rem;                       /* 13px */
  --label:      0.75rem;                         /* 12px small caps — floor */
  --label-s:    0.6875rem;                       /* 11px — nav mini-CTA ONLY */
  --track-label: 0.13em;

  /* Spacing scale (§1.3) — nothing off-scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --s-11: 160px; --s-12: 224px;

  /* Motion tokens (§1.4) */
  --ease-drift: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-drift:  750ms;   /* 600–900ms: entrances, mist lifts, reveals */
  --dur-ui:     220ms;   /* 180–250ms: hover, focus, fills */

  /* Layout */
  --measure-long: 66ch;   /* long-form 60–70ch */
  --measure-display: 34ch;
  --page-pad: clamp(20px, 5vw, 64px);

  /* Feelstream default tint (overridden per band) */
  --feelstream-tint: var(--feelstream);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ocean-900); /* the floor — the ocean never runs out */
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p { margin: 0; }

a { color: inherit; }

/* Focus ring — deliberately louder than the hairline aesthetic (§3.1 a11y) */
:focus-visible {
  outline: 2px solid var(--aqua-200);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: rgba(140, 232, 223, 0.35); color: var(--paper); }

/* Skip link — first in tab order */
.skip-link {
  position: absolute;
  top: -100px; left: var(--s-4);
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--ocean-800);
  color: var(--paper);
  border: 1px solid var(--aqua-200);
  border-radius: 4px;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  transition: top var(--dur-ui) var(--ease-drift);
}
.skip-link:focus-visible { top: var(--s-4); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   -------------------------------------------------------------------------- */
.display-xl {
  font-family: var(--font-serif);
  font-size: var(--display-xl);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: var(--measure-display);
}
.display-l {
  font-family: var(--font-serif);
  font-size: var(--display-l);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.005em;
  max-width: var(--measure-display);
}
.h3 { font-family: var(--font-serif); font-size: var(--h3); line-height: 1.2; font-weight: 600; }
.lede { font-size: var(--lede); line-height: 1.45; max-width: 44ch; }
.body-text { font-size: var(--body); line-height: 1.6; max-width: var(--measure-long); }
.caption { font-size: var(--caption); line-height: 1.5; opacity: 0.7; }

/* The site's signature label: small caps, wide tracking, 80% opacity */
.label {
  font-size: var(--label);
  line-height: 1.3;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

/* Kicker (§3.10) — one per section max, counts toward the budget */
.kicker {
  display: block;
  font-size: var(--label);
  line-height: 1.3;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: var(--s-5);
}

/* Breadcrumb (§3.9) — blog only; never a bar or background */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
}
.breadcrumb a { text-decoration: none; opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .breadcrumb__sep { opacity: 0.5; font-weight: 400; }
.breadcrumb [aria-current="page"] { opacity: 1; }

/* Serif italic takeaway */
.takeaway { font-family: var(--font-serif); font-style: italic; font-size: var(--lede); line-height: 1.45; }

/* --------------------------------------------------------------------------
   4. THE DEPTH-BAND SYSTEM  (§3.13 scenery sections + §4.2 zones + F-4)
   --------------------------------------------------------------------------
   A section is a PLACE: depth stops + light + scenery + Feelstream passage.
   Bands COMPOSE into one continuous descent: each band's top color must
   equal (or sit adjacent to) the previous band's bottom color. Boundaries
   are gradient transitions, never edges (Law 3).

   Canonical descent used by band defaults:
     surface  aqua-300 → ocean-400
     open     ocean-400 → ocean-600
     realm    ocean-600 → ocean-700   (add realm tint via scenery, §4.2)
     deep     ocean-700 → ocean-900
     golden   ocean-900 → ocean-500 warming (gold as LIGHT overlay only)
   A page that skips a zone should bridge with .band--open (open water is
   the breathing room between places — §1.3 open-water rhythm).
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  background: linear-gradient(to bottom, var(--band-top), var(--band-bottom));
  padding: clamp(96px, 18vh, 224px) var(--page-pad);
}

/* Each zone also sets the Feelstream's local presence (--feelstream-opacity):
   bright near the light, a WHISPER in the stillest water (F-2 subtlety). */
.band--surface {
  --band-top: var(--aqua-300);
  --band-bottom: var(--ocean-400);
  --feelstream-tint: var(--glow-joy); /* the stream warms toward the surface */
  --feelstream-opacity: 0.85;
}
.band--open {
  --band-top: var(--ocean-400);
  --band-bottom: var(--ocean-600);
  --feelstream-tint: var(--glow-trust);
  --feelstream-opacity: 0.7;
}
.band--realm {
  --band-top: var(--ocean-600);
  --band-bottom: var(--ocean-700);
  --feelstream-tint: var(--glow-fear); /* override per realm */
  --feelstream-opacity: 0.6;
}
.band--deep {
  --band-top: var(--ocean-700);
  --band-bottom: var(--ocean-900);
  --feelstream-tint: var(--glow-sadness);
  --feelstream-opacity: 0.45;
}
.band--golden {
  --band-top: var(--ocean-900);
  --band-bottom: var(--ocean-500);
  --feelstream-tint: var(--glow-joy);
  --feelstream-opacity: 0.8;
}
/* Golden light floods DOWN THROUGH the surface-ceiling — light in the
   water only, never UI (§4.2). Painted as a radial glow, not a color band. */
.band--golden::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 65% at 50% -10%,
              rgba(242, 193, 78, 0.28), rgba(242, 193, 78, 0.0) 62%);
  pointer-events: none;
  z-index: 0;
  /* the light eases in below the band's top edge — no hard start line */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14vh);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14vh);
}

/* Full-viewport hero band */
.band--viewport { min-height: 100svh; display: flex; align-items: center; }

/* Scenery image layer — sits at z0; the Feelstream (z1) passes above it;
   content (.band__inner, z2) floats above both. */
.band__scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Law 3 / F-1: a scene never CUTS against the neighbouring water — its
     bottom dissolves into the band gradient over ~18vh (mask, not a seam). */
  -webkit-mask-image: linear-gradient(to bottom,
              #000 0, #000 calc(100% - 18vh), transparent 100%);
  mask-image: linear-gradient(to bottom,
              #000 0, #000 calc(100% - 18vh), transparent 100%);
}
/* Scenes with open water ABOVE them (mid-page / golden bands): fade both ends */
.band__scene--fade-both {
  -webkit-mask-image: linear-gradient(to bottom,
              transparent 0, #000 18vh, #000 calc(100% - 18vh), transparent 100%);
  mask-image: linear-gradient(to bottom,
              transparent 0, #000 18vh, #000 calc(100% - 18vh), transparent 100%);
}
/* Scrim — guarantees ≥4.5:1 for type over scenery. Light, not a UI band.
   Every scrim fades out over the band's last 18vh (same mask as the scene)
   so the darkening never ends in a hard line against the next band. */
.band__scrim {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom,
              #000 0, #000 calc(100% - 18vh), transparent 100%);
  mask-image: linear-gradient(to bottom,
              #000 0, #000 calc(100% - 18vh), transparent 100%);
}
.band__scrim--left {
  background: linear-gradient(96deg,
              rgba(7, 32, 46, 0.62) 0%,
              rgba(7, 32, 46, 0.38) 42%,
              rgba(7, 32, 46, 0) 68%);
}
.band__scrim--bottom {
  background: linear-gradient(to top,
              rgba(7, 32, 46, 0.72) 0%,
              rgba(7, 32, 46, 0.35) 45%,
              rgba(7, 32, 46, 0) 75%);
}
/* Blend a scenery band into its neighbours so the descent never cuts */
.band__scrim--blend-top {
  background: linear-gradient(to bottom, var(--band-top), transparent 22%);
}
/* Darkens the top edge so the transparent nav stays legible over light scenes */
.band__scrim--top {
  background: linear-gradient(to bottom,
              rgba(7, 32, 46, 0.6) 0%,
              rgba(7, 32, 46, 0.25) 90px,
              rgba(7, 32, 46, 0) 180px);
}
/* Soft pool of depth behind a hero copy block — guarantees ≥4.5:1 for the
   headline/CTA over bright surface water. Soft-edged light, never a panel. */
.band__scrim--copy {
  background: radial-gradient(90% 80% at 24% 55%,
              rgba(7, 32, 46, 0.72) 0%,
              rgba(7, 32, 46, 0.58) 42%,
              rgba(7, 32, 46, 0) 76%);
}
.band__scrim--blend-ends {
  background: linear-gradient(to bottom,
              var(--band-top) 0%, transparent 18%,
              transparent 80%, var(--band-bottom) 100%);
}

.band__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin-inline: auto;
  width: 100%;
}
.band__inner--narrow { max-width: 720px; }

/* Hero copy column — keeps surface-band copy inside its scrimmed water */
.band__copy { max-width: 560px; }

/* The single sanctioned labeled boundary on the site (Law 3) */
.thermocline {
  position: relative;
  display: flex; align-items: center; gap: var(--s-4);
  max-width: 720px; margin-inline: auto;
  padding: 0 var(--page-pad);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 2;
}
.thermocline::before, .thermocline::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(247, 245, 241, 0.25);
}

/* --------------------------------------------------------------------------
   5. BUTTON — "the quiet rectangle" (§3.1, CANON)
   Radius 4px (never >6, never a pill). Hairline stroke, transparent fill.
   Isolation creates prominence — never two equal CTAs side by side.
   -------------------------------------------------------------------------- */
.btn {
  --btn-ink: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;               /* ≥44px targets, CANON */
  padding: 14px 28px;
  border: 1px solid var(--btn-ink);
  border-radius: 4px;
  background: transparent;
  color: var(--btn-ink);
  font-family: var(--font-sans);
  font-size: var(--label);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-drift),
              color var(--dur-ui) var(--ease-drift),
              border-color var(--dur-ui) var(--ease-drift);
}
.btn:hover  { background: color-mix(in srgb, var(--btn-ink) 8%, transparent); }
.btn:active { background: color-mix(in srgb, var(--btn-ink) 12%, transparent); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* Primary — THE AMAZON PATH. Spends the viewport's orange budget (Law 4). */
.btn--primary { --btn-ink: var(--cta-coral); }

/* Secondary — paper hairline @80%, →100% on hover */
.btn--secondary {
  --btn-ink: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 55%, transparent);
  color: color-mix(in srgb, var(--paper) 85%, transparent);
}
.btn--secondary:hover { border-color: var(--paper); color: var(--paper); }

/* Light-field variants — only the ink changes with the water (§3.1) */
.btn--primary-light   { --btn-ink: var(--cta-coral-deep); }
.btn--secondary-light { --btn-ink: var(--ocean-800); }

/* Nav mini-CTA — 11px label is the single sanctioned sub-12px exception */
.btn--nav {
  font-size: var(--label-s);
  padding: 8px 16px;
  min-height: 44px; /* hit area stays ≥44px even though the type shrinks */
}

/* Coral dimming (Law 4 / F5): while any in-page orange is in-viewport,
   ocean.js adds .is-dimmed to the nav CTA → it yields the orange budget. */
.btn--primary.is-dimmed {
  --btn-ink: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 55%, transparent);
  color: color-mix(in srgb, var(--paper) 85%, transparent);
}

/* Loading — width locked, label swaps to a drifting-bubble spinner */
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--btn-ink);
  border-top-color: transparent;
  animation: btn-bubble 0.9s linear infinite;
}
@keyframes btn-bubble { to { transform: rotate(360deg); } }

/* Tertiary — underlined text link, demoted paths only */
.link-tertiary {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--dur-ui) var(--ease-drift);
}
.link-tertiary:hover { text-decoration-color: currentColor; }

/* Button group — never two equal CTAs; primary + quieter secondary only */
.actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

/* --------------------------------------------------------------------------
   6. HAIRLINE ROW — the zero-card list primitive (§3.2, CANON)
   -------------------------------------------------------------------------- */
.rows { list-style: none; margin: 0; padding: 0; }

.row {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  min-height: 44px;
  padding: var(--s-4) var(--s-1);
  border-bottom: 1px solid rgba(247, 245, 241, 0.15);
  text-decoration: none;
  position: relative;
}

.row__dot {
  --dot-hue: var(--feelstream);
  flex: none;
  align-self: center;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dot-hue);
  box-shadow: 0 0 8px 1px color-mix(in srgb, var(--dot-hue) 60%, transparent);
  transition: box-shadow var(--dur-ui) var(--ease-drift);
}

.row__label {
  flex: none;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
  min-width: 9.5em;
  transition: opacity var(--dur-ui) var(--ease-drift);
}

.row__text { font-size: var(--ui); line-height: 1.5; opacity: 0.92; }

.row__action {
  margin-left: auto;
  flex: none;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity var(--dur-ui) var(--ease-drift);
  white-space: nowrap;
}

/* Link row — the whole row is the ≥44px target */
a.row:hover .row__label, a.row:focus-visible .row__label { opacity: 1; }
a.row:hover .row__action, a.row:focus-visible .row__action { opacity: 1; }
a.row:hover .row__dot {
  box-shadow: 0 0 12px 3px color-mix(in srgb, var(--dot-hue) 80%, transparent);
}
a.row:focus-visible { outline-offset: 0; }

/* Titled row — serif content title (content objects only, §1.2) */
.row__title { font-family: var(--font-serif); font-size: var(--lede); line-height: 1.3; }

@media (max-width: 640px) {
  .row { flex-wrap: wrap; }
  .row__label { min-width: 0; }
  .row__text { flex-basis: 100%; order: 4; padding-left: calc(7px + var(--s-4)); }
}

/* --------------------------------------------------------------------------
   7. MISTED / UNRELEASED STATE (§3.15) — the no-padlock pattern
   The mist is the Misty Narrows' own weather. Names stay readable,
   actions are ABSENT (misted rows are never links), rows out of tab order.
   -------------------------------------------------------------------------- */
.is-misted { position: relative; }
/* The veil = soft mist puffs that feather to FULL transparency on every
   side. No fill, no blur box, no border-radius — nothing that could read
   as a closed rectangle (Law 2). Test at 100% zoom: you must not be able
   to trace a closed shape around the row. */
.is-misted::after {
  content: "";
  position: absolute;
  inset: -26px -56px;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(38% 52% at 24% 46%, rgba(247, 245, 241, 0.13), transparent 66%),
    radial-gradient(44% 60% at 60% 58%, rgba(247, 245, 241, 0.10), transparent 68%),
    radial-gradient(30% 46% at 44% 36%, rgba(247, 245, 241, 0.08), transparent 70%),
    radial-gradient(26% 42% at 82% 46%, rgba(247, 245, 241, 0.07), transparent 72%);
  animation: mist-drift 18s ease-in-out infinite alternate;
}
@keyframes mist-drift {
  from { transform: translateX(-16px); }
  to   { transform: translateX(16px); }
}
.is-misted .row__dot { opacity: 0.5; box-shadow: none; }
.is-misted .row__label, .is-misted .row__text { opacity: 0.62; }
.is-misted .row__action { opacity: 0.55; font-weight: 400; text-transform: none; letter-spacing: 0.02em; }

/* The reveal: unlock lifts the mist in place (reduced-motion: instant) */
.is-misted.is-revealed::after { opacity: 0; transition: opacity var(--dur-drift) var(--ease-drift); }

/* --------------------------------------------------------------------------
   8. CAPTURE FORM (§3.3) — one email form, one behavior, sitewide
   Hairline underline input, visible label, never a modal, never a redirect.
   -------------------------------------------------------------------------- */
.capture { max-width: 480px; }

.capture__promise { font-size: var(--lede); line-height: 1.45; margin-bottom: var(--s-6); }

.capture__label {
  display: block;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: var(--s-2);
}

.capture__controls { display: flex; gap: var(--s-4); align-items: flex-end; flex-wrap: wrap; }

.capture__field {
  flex: 1 1 220px;
  min-height: 44px;
  padding: var(--s-2) 2px;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 241, 0.4);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--ui);
  transition: border-color var(--dur-ui) var(--ease-drift);
}
.capture__field::placeholder { color: rgba(247, 245, 241, 0.45); }
.capture__field:focus { outline: none; border-bottom-color: var(--aqua-200); }
.capture__field:focus-visible { outline: none; } /* the brightened underline IS the focus cue; ring reserved for buttons */
.capture__field[aria-invalid="true"] { border-bottom-color: var(--glow-fear); }

.capture__error {
  display: none;
  margin-top: var(--s-2);
  font-size: var(--caption);
  color: var(--glow-fear);
}
.capture__error.is-visible { display: block; }

.capture__privacy { margin-top: var(--s-4); font-size: var(--caption); opacity: 0.65; }

/* Success — the form is replaced in place by a bubble popping into a check */
.capture__success { display: none; }
.capture.is-success .capture__success { display: block; }
.capture.is-success .capture__form { display: none; }

.capture__bubble {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--feelstream);
  box-shadow: 0 0 12px 2px rgba(140, 232, 223, 0.35);
  margin-bottom: var(--s-4);
  position: relative;
  animation: bubble-rise var(--dur-drift) var(--ease-drift);
}
.capture__bubble::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(45deg, transparent 42%, var(--feelstream) 42%, var(--feelstream) 52%, transparent 52%) no-repeat 6px 8px / 8px 8px,
    linear-gradient(-48deg, transparent 44%, var(--feelstream) 44%, var(--feelstream) 54%, transparent 54%) no-repeat 9px 5px / 14px 14px;
  animation: check-in 300ms var(--ease-drift) both;
  animation-delay: 450ms;
}
@keyframes bubble-rise {
  from { transform: translateY(28px) scale(0.6); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes check-in { from { opacity: 0; } to { opacity: 1; } }

.capture__confirm { font-size: var(--ui); }

/* --------------------------------------------------------------------------
   9. NAV HEADER (§3.6)
   Desktop: wordmark · 5 small-caps items · mini Get Book 1. Sticky:
   transparent over the hero, 80% deep-ink scrim + hairline after ~1 viewport.
   Mobile: wordmark · mini CTA · "Menu" word-button; smart-hide on scroll.
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-4) var(--page-pad);
  transition: background-color 300ms var(--ease-drift),
              border-color 300ms var(--ease-drift),
              transform 300ms var(--ease-drift),
              opacity 300ms var(--ease-drift);
  border-bottom: 1px solid transparent;
}
.nav--scrimmed {
  background: rgba(11, 42, 60, 0.8);      /* 80% deep-ink scrim */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(247, 245, 241, 0.12);
}
/* Smart-hide (mobile): slides away on scroll-down, returns on any scroll-up */
.nav--hidden { transform: translateY(-105%); }
@media (prefers-reduced-motion: reduce) {
  .nav--hidden { transform: none; opacity: 0; visibility: hidden; }
}

.nav__brand {
  font-size: var(--ui);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: var(--paper);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__links {
  display: flex;
  gap: var(--s-5);
  margin-left: auto;
  align-items: center;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  text-decoration: none;
  transition: color var(--dur-ui) var(--ease-drift);
}
.nav__link:hover { color: var(--paper); }
/* Current page: 100% + tiny lit dot */
.nav__link[aria-current="page"] { color: var(--paper); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 4px; height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--feelstream);
  box-shadow: 0 0 6px 1px rgba(140, 232, 223, 0.7);
}

.nav__cta { flex: none; }

/* "Menu" is a word, never a hamburger glyph (§1.5) */
.nav__menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  min-height: 44px;
  min-width: 44px;
  padding: var(--s-2) var(--s-3);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav { gap: var(--s-4); }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }  /* the money button never leaves the chrome */
  .nav__menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* --------------------------------------------------------------------------
   10. MOBILE MENU OVERLAY (§3.7)
   Full-screen deep water; 5 serif links strung down the Feelstream thread;
   secondary links; orange Get Book 1 fixed at the bottom.
   -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: var(--s-4) var(--page-pad) var(--s-5);
  background: linear-gradient(180deg, var(--ocean-700), var(--ocean-800) 70%, var(--ocean-900));
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms var(--ease-drift), visibility 0s linear 350ms;
  overflow-y: auto;
}
.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 350ms var(--ease-drift);
}

.menu-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-7);
}
.menu-overlay__close {
  background: transparent; border: 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  min-height: 44px; min-width: 44px;
  padding: var(--s-2) var(--s-3);
  cursor: pointer;
}

.menu-overlay__thread {
  position: absolute;
  top: 0; bottom: 0; left: 12%;
  width: 200px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.menu-overlay__links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  z-index: 1;
}
.menu-overlay__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 44px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: var(--paper);
  text-decoration: none;
}
.menu-overlay__link::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--feelstream);
  box-shadow: 0 0 8px 2px rgba(140, 232, 223, 0.6);
  flex: none;
}

.menu-overlay__secondary {
  list-style: none;
  margin: var(--s-7) 0 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  position: relative;
  z-index: 1;
}
.menu-overlay__secondary a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  text-decoration: none;
}
.menu-overlay__secondary a:hover { color: var(--paper); }

.menu-overlay__cta {
  margin-top: auto;
  padding-top: var(--s-7);
  position: relative;
  z-index: 1;
}
.menu-overlay__cta .btn { width: 100%; }

/* --------------------------------------------------------------------------
   11. FOOTER (§3.8) — mini-map "you are here" + quiet link rows
   Sits AFTER the final CTA/capture. No footer capture, ever.
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 2; /* above the Feelstream tail */
  background: linear-gradient(to bottom, var(--ocean-800), var(--ocean-900));
  padding: var(--s-9) var(--page-pad) var(--s-7);
}
.footer__inner { max-width: 1160px; margin-inline: auto; }

.footer__map {
  width: 132px;
  margin-bottom: var(--s-5);
  border-radius: 50%;
  /* soft-edged vignette, not a framed image (Law 2) */
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 72%);
  mask-image: radial-gradient(circle, #000 58%, transparent 72%);
  animation: map-pulse 7s ease-in-out infinite alternate;
}
@keyframes map-pulse { from { opacity: 0.85; } to { opacity: 1; } }

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--lede);
  margin-bottom: var(--s-7);
  max-width: 30ch;
}

.footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-bottom: var(--s-5); }
.footer__nav a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  text-decoration: none;
  transition: color var(--dur-ui) var(--ease-drift);
}
.footer__nav a:hover { color: var(--paper); }
.footer__nav--secondary a { font-weight: 400; opacity: 0.85; }

.footer__legal {
  margin-top: var(--s-6);
  font-size: var(--caption);
  opacity: 0.55;
}
.footer__legal a { color: inherit; }

/* --------------------------------------------------------------------------
   12. FEELSTREAM & AMBIENT LAYERS  (§3.14, F-2, F-3)
   Both sit BETWEEN scenery (z0) and content (z2).
   -------------------------------------------------------------------------- */
.ocean { position: relative; }

#feelstream {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
#feelstream path { fill: none; stroke-linecap: round; }
#feelstream .feelstream__glow {
  stroke-width: 5;
  opacity: 0.4;
  filter: blur(3px);
}
#feelstream .feelstream__core {
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(191, 244, 238, 0.55));
}

#ambient {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   13. VIEW TRANSITIONS (F-1/F-5 — swimming, not clicking)
   The ocean shell (nav, footer) persists; content dissolves between depths.
   Inert in unsupporting browsers; disabled under reduced motion.
   -------------------------------------------------------------------------- */
@view-transition { navigation: auto; }

.nav    { view-transition-name: ocean-nav; }
.footer { view-transition-name: ocean-footer; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 480ms;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Descending: new content drifts up from the deep. Ascending: down from light.
   html[data-vt] is set by js/transitions.js on pagereveal. */
@keyframes vt-descend { from { opacity: 0; transform: translateY(28px); } }
@keyframes vt-ascend  { from { opacity: 0; transform: translateY(-28px); } }
html[data-vt="descend"]::view-transition-new(root) { animation-name: vt-descend; }
html[data-vt="ascend"]::view-transition-new(root)  { animation-name: vt-ascend; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* --------------------------------------------------------------------------
   14. REDUCED MOTION — nothing loses information; motion is garnish (CANON)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .is-misted::after { animation: none; transform: none; }
  .footer__map { animation: none; opacity: 1; }
}

/* --------------------------------------------------------------------------
   15. SMALL UTILITIES
   -------------------------------------------------------------------------- */
.stack > * + * { margin-top: var(--s-5); }
.stack-l > * + * { margin-top: var(--s-7); }
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
body.is-locked { overflow: hidden; }

/* real logo (white variant on dark ocean) */
.logo-img{height:26px;width:auto;display:block}
@media(max-width:720px){.logo-img{height:22px}}
