/* ==========================================================================
   Isobath: homepage (v3, "cyanotype atlas")
   Palette from the subject: cyanotype blueprints were how charts and
   engineering drawings were copied. Prussian blue blocks, paper off-white,
   a redline accent for review marks only. Grain on the blue.
   Layout: 12 columns on a 1320px measure; full-bleed colour blocks.
   Type: Switzer (300/400/500) + Geist Mono, from the kaviyan build.
   ========================================================================== */

:root {
  /* Paper */
  --paper: #F1F1EC;
  --paper-2: #E8E9E2;
  --sheet: #FAFAF6;
  /* Ink (Prussian) for text on paper */
  --ink: #0E2352;
  --ink-80: rgba(14, 35, 82, .82);
  --ink-64: rgba(14, 35, 82, .64);
  --ink-44: rgba(14, 35, 82, .44);
  --ink-24: rgba(14, 35, 82, .24);
  --ink-12: rgba(14, 35, 82, .12);
  --ink-06: rgba(14, 35, 82, .06);
  /* Cyanotype field */
  --blue: #16388A;
  --blue-deep: #0D2662;
  --blue-lift: #2350B5;
  --sea-shallow: #2552B0;
  --sea-deep: #0A1E50;
  --on-blue: #F1F1EC;
  --on-blue-72: rgba(241, 241, 236, .72);
  --on-blue-48: rgba(241, 241, 236, .48);
  --on-blue-24: rgba(241, 241, 236, .24);
  --on-blue-12: rgba(241, 241, 236, .12);
  /* Redline */
  --red: #FF5631;
  --red-ink: #D63A17;
  --red-wash: rgba(214, 58, 23, .08);
  /* Data tones on paper */
  --tone-1: #DCE2EF;
  --tone-2: #B6C4E2;
  --tone-3: #8299CF;
  --tone-4: #4B69B6;

  --font: 'Switzer', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --measure: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(100px, 11vw, 168px);
  --nav-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
code { font-family: var(--mono); font-size: .88em; }
sub { font-size: .62em; vertical-align: -.25em; }
:focus-visible { outline: 2px solid var(--blue-lift); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--paper); }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 14px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.band { position: relative; isolation: isolate; }
.band--blue, .hero, .start, .foot { background-color: var(--blue); color: var(--on-blue); }
.band--blue::before, .hero::before, .shore::before, .edge::before, .start::before, .foot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); opacity: .55; mix-blend-mode: soft-light;
}
.band--blue > *, .foot > * { position: relative; z-index: 1; }
.hide-sm { }

/* Every change between paper and blue is a drawn coastline (Contours.shore), never a straight edge.
   down: paper above, a drop-off into the blue band below. up: the band shoals back onto the paper. */
.edge { position: relative; isolation: isolate; height: clamp(150px, 15vw, 230px); pointer-events: none; }
.edge--tall { height: clamp(190px, 19vw, 290px); }
.edge--down { margin-bottom: -2px; }
.edge--up { margin-top: -2px; }
.edge::before { z-index: 1; }
.edge__canvas { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.edge__sea { position: absolute; left: 0; right: 0; height: 34%; }
.edge--down .edge__sea { bottom: 0; }
.edge--up .edge__sea { top: 0; }
.edge--down:not(.is-drawn) { background: linear-gradient(to bottom, transparent 30%, var(--tone-2) 55%, var(--blue) 92%); }
.edge--up:not(.is-drawn) { background: linear-gradient(to top, transparent 30%, var(--tone-2) 55%, var(--blue) 92%); }

.sheet { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.band--blue .sheet { color: var(--on-blue); }

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-64); max-width: 32em; text-wrap: pretty; }
.band--blue .lead, .start .lead { color: var(--on-blue-72); }
.ui-mono { font-family: var(--mono); }

.head { display: grid; gap: 22px; justify-items: start; max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.head--row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 24px 64px; }
.head--row > div { display: grid; gap: 22px; justify-items: start; }

.plate-head { margin-bottom: clamp(52px, 6vw, 92px); }
.plate-head__main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 56px; row-gap: 22px; align-items: end; }

/* SplitText line masks: leave room for descenders */
[data-reveal-title] > div, [data-split] > div { padding-bottom: .14em; margin-bottom: -.14em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--outline { color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--outline:hover { background: rgba(241, 241, 236, .1); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--blue); }
.btn__arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot--live { background: var(--on-blue); box-shadow: 0 0 0 0 rgba(241, 241, 236, .6); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(241, 241, 236, .5); } 70% { box-shadow: 0 0 0 8px rgba(241, 241, 236, 0); } 100% { box-shadow: 0 0 0 0 rgba(241, 241, 236, 0); } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.logo__mark circle { fill: currentColor; stroke: none; }
.logo__word { font-size: 21px; font-weight: 500; letter-spacing: -.045em; line-height: 1; transform: translateY(-1px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink);
  transition: transform .5s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.nav.is-on-blue { color: var(--on-blue); }
.nav.is-scrolled { background: rgba(241, 241, 236, .84); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--ink-12); }
.nav.is-scrolled.is-on-blue { background: rgba(22, 56, 138, .78); box-shadow: 0 1px 0 var(--on-blue-12); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 15px; opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: none; align-items: center; gap: 22px; }
.nav__menu {
  display: none; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor; font-size: 14px; font-weight: 500;
}
.nav__menu-icon { display: grid; gap: 4px; width: 14px; }
.nav__menu-icon i { display: block; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--blue); color: var(--on-blue);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  overflow-y: auto;
}
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 20px calc(32px + env(safe-area-inset-bottom, 0px)); }
.menu__links { display: grid; border-top: 1px solid var(--on-blue-24); }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--on-blue-24); font-size: clamp(28px, 8vw, 38px); letter-spacing: -.035em; line-height: 1.1; }
.menu__links span { width: 2.4em; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--on-blue-48); }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__mail { font-family: var(--mono); font-size: 14px; color: var(--on-blue-72); }

/* ==========================================================================
   HERO (3D seabed)
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(740px, 100svh); display: flex; flex-direction: column; }
.hero::before { z-index: 2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Calm the top for the headline, and let the seabed settle into open water at the foot. */
  background:
    linear-gradient(to bottom, rgba(22, 56, 138, .86) 0%, rgba(22, 56, 138, .45) 21%, rgba(22, 56, 138, 0) 46%),
    linear-gradient(to top, var(--blue) 0, rgba(22, 56, 138, 0) 56px);
}
.hero__gl { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__gl.is-ready { opacity: 1; }
.hero__gl.no-gl { opacity: 1; background: radial-gradient(120% 80% at 70% 80%, var(--sea-shallow), transparent 60%); }
.pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.pin__in {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 9px 5px 9px; border-radius: 7px;
  background: rgba(241, 241, 236, .95); color: var(--ink);
  font-family: var(--mono); font-size: 11.5px; line-height: 1; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 8px));
  box-shadow: 0 10px 26px -12px rgba(4, 14, 40, .6);
}
.pin__in b { font-weight: 500; }
.pin__in em { font-style: normal; opacity: .62; }
.pin.is-below .pin__in { transform: translate(-50%, 12px); }
.pin.is-side .pin__in { transform: translate(10px, -50%); }
.pin.is-hazard .pin__in { background: var(--red); color: #fff; }
.pin.is-hazard .pin__in em { opacity: .85; }

.hero__inner {
  position: relative; z-index: 4; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding-top: calc(var(--nav-h) + clamp(40px, 6.5vw, 96px));
  padding-bottom: clamp(92px, 9vw, 120px);
  pointer-events: none;
}
.hero__inner a, .hero__inner p, .hero__inner h1 { pointer-events: auto; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__title {
  max-width: 11.5ch;
  font-size: clamp(56px, 9.4vw, 160px);
  font-weight: 400;
  /* Below 1 the y in "Every" lands on the d in "deep". */
  line-height: 1;
  letter-spacing: -.055em;
}
/* Switzer's r arm and y arm collide at this tracking; open just that pair. */
.hero__title .kern-ry { letter-spacing: .03em; }
.is-loading [data-split] { visibility: hidden; }
.hero__foot { display: grid; gap: 26px; justify-items: start; max-width: 460px; }
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--on-blue-72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }



/* ==========================================================================
   CUSTOMERS
   ========================================================================== */
/* The hero's sea shoals through chart tints to a coastline; the page below is the land,
   and customers sit on it as ports. Drawn by Contours.shore. */
.shore {
  position: relative; isolation: isolate;
  padding: clamp(180px, 15vw, 280px) 0 clamp(28px, 3vw, 44px);
  background: linear-gradient(to bottom, var(--blue) 0%, var(--tone-3) 45%, var(--paper) 72%);
}
.shore.is-drawn { background: none; }
.shore::before { z-index: 1; }
.shore__canvas { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.shore__sea { position: absolute; inset: 0 0 auto; height: 16%; pointer-events: none; }
.shore__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; }
.shore__label { max-width: 250px; font-size: 14px; line-height: 1.45; color: var(--ink-64); }
.shore__label b { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.shore__ports { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(28px, 4.4vw, 64px); }
.wm { color: var(--ink-80); font-size: 22px; line-height: 1; white-space: nowrap; }
.wm--1 { font-weight: 500; letter-spacing: -.05em; }
.wm--2 { font-family: var(--mono); font-size: 18px; letter-spacing: -.04em; }
.wm--3 { font-family: var(--serif); font-style: italic; font-size: 25px; }
.wm--4 { font-size: 14px; font-weight: 500; letter-spacing: .3em; }
.wm--5 { font-weight: 500; font-size: 23px; letter-spacing: -.06em; }
.wm--6 { font-weight: 300; letter-spacing: .02em; }

/* ==========================================================================
   MEMORY vs MEASUREMENT: three claims on one 0–50 m scale. The dashed ring is
   where memory puts each module; the dot travels to where it measures.
   ========================================================================== */
.recall { padding-bottom: clamp(110px, 11vw, 170px); }
.recall__fig { --cols: minmax(0, 1fr) minmax(0, 1.9fr) minmax(180px, .8fr); margin: 0; }
.recall__head, .recall__row { display: grid; grid-template-columns: var(--cols); column-gap: clamp(28px, 4vw, 64px); align-items: center; }
.recall__head { padding-bottom: 16px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 11.5px; color: var(--ink-64); }
.recall__key { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.recall__key li { display: inline-flex; align-items: center; gap: 9px; }
.k-memory { width: 16px; height: 16px; border: 1.4px dashed var(--ink-64); border-radius: 50%; }
.k-measured { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.recall__scale { position: relative; height: 16px; }
.recall__scale i { position: absolute; top: 0; font-style: normal; white-space: nowrap; transform: translateX(-50%); }
.recall__scale i:first-child { transform: none; }
.recall__scale i:last-child { transform: translateX(-100%); }
.recall__scale .is-red { color: var(--red-ink); }
.recall__row { padding-block: clamp(30px, 3.4vw, 48px); border-bottom: 1px solid var(--ink-12); }
.recall__claim { display: grid; gap: 10px; justify-items: start; }
.recall__claim .ui-mono { font-size: 12px; color: var(--ink-64); }
.recall__claim q { quotes: "\201C" "\201D"; font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; text-indent: -.42em; }
.recall__track { position: relative; height: 32px; }
.recall__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: linear-gradient(to right, var(--ink-06) 60%, rgba(214, 58, 23, .14) 60%); }
.recall__track::after { content: ""; position: absolute; left: 60%; top: 2px; bottom: 2px; width: 1.5px; margin-left: -.75px; background: var(--red-ink); }
.recall__mem { position: absolute; z-index: 1; top: 50%; left: calc(var(--m) * 100%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 1.5px dashed var(--ink-64); background: var(--paper); }
.recall__dot {
  position: absolute; z-index: 2; top: 50%; left: calc(var(--d) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper);
  transition: left 1.4s var(--ease) .25s, opacity .3s .25s;
}
.recall__arrow {
  position: absolute; top: 50%; height: 2px; margin-top: -1px; background: var(--ink);
  left: calc(min(var(--m), var(--d)) * 100% + 16px); width: calc((max(var(--m), var(--d)) - min(var(--m), var(--d))) * 100% - 30px);
  transition: transform 1.4s var(--ease) .25s;
}
.recall__arrow::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -5px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; color: var(--ink); }
.is-right .recall__arrow { transform-origin: 0 50%; }
.is-right .recall__arrow::after { right: 1px; transform: rotate(45deg); }
.is-left .recall__arrow { transform-origin: 100% 50%; }
.is-left .recall__arrow::after { left: 1px; transform: rotate(-135deg); }
.recall__fact { display: grid; gap: 6px; transition: opacity .5s 1.2s; }
.recall__fact b { font-size: clamp(28px, 2.5vw, 36px); font-weight: 400; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.recall__fact span { font-size: 14px; color: var(--ink-64); }
.recall__row.is-deep .recall__dot, .recall__row.is-deep .recall__arrow { background: var(--red-ink); }
.recall__row.is-deep .recall__arrow::after { color: var(--red-ink); }
.recall__row.is-deep .recall__fact b { color: var(--red-ink); }
/* Live: each dot starts on the remembered depth and travels to the measured one. */
.recall__fig.is-live .recall__row:not(.is-in) .recall__dot { left: calc(var(--m) * 100%); opacity: 0; }
.recall__fig.is-live .recall__row:not(.is-in) .recall__arrow { transform: scaleX(0); }
.recall__fig.is-live .recall__row:not(.is-in) .recall__fact { opacity: 0; }

/* ==========================================================================
   SHEET 1 · SOUNDINGS
   ========================================================================== */
.soundings-sec { padding-top: 0; padding-bottom: clamp(24px, 3vw, 48px); }
.soundings__stage { position: relative; height: clamp(480px, 44vw, 600px); }
.soundings__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.soundings__labels { position: absolute; inset: 0; pointer-events: none; }
.sg-surface { stroke: var(--ink); stroke-width: 1.2; }
.sg-iso { stroke: var(--ink-12); stroke-width: 1; stroke-dasharray: 2 6; }
.sg-red { stroke: var(--red-ink); stroke-width: 1.2; stroke-dasharray: 5 5; }
.sg-redzone { fill: url(#redHatch); }
.sg-line { stroke: var(--ink); stroke-width: 1.2; }
.sg-line.is-deep { stroke: var(--red-ink); }
.sg-tick { stroke: var(--ink); stroke-width: 1.2; }
.sg-tick.is-deep { stroke: var(--red-ink); }
.sg-weight { fill: var(--ink); }
.sg-weight.is-deep { fill: var(--red-ink); }
.sg-ring { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.sg-ring.is-deep { stroke: var(--red-ink); }
.sg-buoy { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.slab { position: absolute; transform: translate(-50%, 0); display: grid; justify-items: center; gap: 2px; white-space: nowrap; text-align: center; }
.slab--name { font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.slab--depth { font-family: var(--mono); font-size: 12px; color: var(--ink-64); font-variant-numeric: tabular-nums; }
.slab--depth.is-deep { color: var(--red-ink); font-weight: 500; }
.saxis { position: absolute; left: 0; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; color: var(--ink-44); }
.saxis--red { color: var(--red-ink); }
.keyline { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; font-family: var(--mono); font-size: 12px; color: var(--ink-64); }
.keyline span { display: inline-flex; align-items: center; gap: 10px; }
.k-tick { width: 14px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 1.2px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1.2px no-repeat; }
.k-weight { width: 11px; height: 13px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%); }
.k-red { width: 18px; height: 0; border-top: 1.5px dashed var(--red-ink); }

/* ==========================================================================
   PLATE II · FORMULA (blue)
   ========================================================================== */
.formula { padding-block: clamp(24px, 3vw, 48px) clamp(64px, 7vw, 104px); }
.block__stage { position: relative; height: clamp(440px, 40vw, 540px); }
.block__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.block__labels { position: absolute; inset: 0; pointer-events: none; }
.bk-path { fill: none; stroke: var(--on-blue-48); stroke-width: 1.3; transition: stroke .3s, opacity .3s; }
.bk-term { fill: var(--blue); stroke: var(--on-blue); stroke-width: 1.4; }
.bk-junction { fill: var(--on-blue); }
.bk-gain { fill: var(--blue); stroke: var(--on-blue); stroke-width: 1.4; transition: fill .3s; }
.bk-sum { fill: var(--blue-deep); stroke: var(--on-blue); stroke-width: 1.4; }
.bk-sum-t { fill: var(--on-blue); font-family: var(--font); font-size: 26px; font-weight: 300; }
.bk-out { fill: none; stroke: var(--on-blue); stroke-width: 1.4; }
.bk-arc { fill: none; stroke: var(--on-blue-24); stroke-width: 8; stroke-linecap: butt; }
.bk-arc-red { fill: none; stroke: var(--red); stroke-width: 8; }
.bk-tick { stroke: var(--on-blue-48); stroke-width: 1.2; }
.bk-needle { stroke: var(--on-blue); stroke-width: 2.2; stroke-linecap: round; }
.bk-hub { fill: var(--on-blue); }
.bk-pulse { fill: var(--on-blue); }
.bk-row.is-dim .bk-path, .bk-row.is-dim .bk-gain, .bk-row.is-dim .bk-term { opacity: .22; }
.bk-row.is-lit .bk-path { stroke: var(--on-blue); }
.bk-row.is-lit .bk-gain { fill: var(--on-blue); }
.blab { position: absolute; white-space: nowrap; pointer-events: auto; }
.blab--src { transform: translate(-100%, -50%); padding-right: 14px; font-size: 15px; letter-spacing: -.01em; text-align: right; cursor: default; }
.blab--src small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-blue-48); }
.blab--read { transform: translate(-50%, calc(-100% - 8px)); font-family: var(--mono); font-size: 12px; color: var(--on-blue-72); }
.blab--w { transform: translate(-50%, calc(-100% - 20px)); font-family: var(--mono); font-size: 12px; color: var(--on-blue); }
.blab--g { transform: translate(-50%, 0); font-family: var(--mono); font-size: 10.5px; color: var(--on-blue-48); }
.blab--depth { transform: translate(-50%, 0); display: grid; justify-items: center; gap: 2px; }
.blab--depth b { font-size: clamp(44px, 4.6vw, 64px); font-weight: 300; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.blab--depth span { font-family: var(--mono); font-size: 12px; color: var(--on-blue-72); }
.bk-dimmed .blab--src:not(.is-lit), .bk-dimmed .blab--read:not(.is-lit), .bk-dimmed .blab--w:not(.is-lit) { opacity: .3; }
.blab { transition: opacity .3s; }
.block__cap { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-top: 28px; min-height: 1.5em; }
.block__note { font-family: var(--mono); font-size: 13px; color: var(--on-blue-72); }

/* ==========================================================================
   SHEET 3 · THE CHART, learned one symbol at a time. The chart sticks while
   the six key entries scroll past; each entry adds its mark and rings it.
   ========================================================================== */
.atlas__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.atlas__steps { grid-column: 1 / span 4; grid-row: 1; padding-block: 4vh 14vh; }
.astep { min-height: 50vh; display: grid; align-content: center; justify-items: start; gap: 14px; transition: opacity .5s var(--ease); }
.atlas.is-stepped .astep:not(.is-now) { opacity: .2; }
.astep__n { font-family: var(--mono); font-size: 12px; color: var(--ink-64); }
.astep h3 { font-size: clamp(34px, 3.4vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.astep p { max-width: 24em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--ink-64); text-wrap: pretty; }
.astep p b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.astep code { color: var(--ink); }
.atlas__stick { grid-column: 6 / -1; grid-row: 1; align-self: start; position: sticky; top: 120px; }
.atlas__chart { position: relative; margin: 0; aspect-ratio: 1000 / 640; border-radius: 20px; overflow: hidden; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--ink-12); }
.atlas__canvas, .atlas__iso, .atlas__marks { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas__text { position: absolute; inset: 0; pointer-events: none; }
.aname { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-64); white-space: nowrap; }
.sd { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink); }
.sd sub { font-size: 9px; }
.sd--note { padding: 3px 6px; border-radius: 5px; background: var(--ink); color: var(--paper); font-weight: 400; }
.sd--iso { padding: 0 3px; background: var(--sheet); font-weight: 400; font-size: 11px; color: var(--ink-64); }
.sd--iso.is-red { color: var(--red-ink); font-weight: 500; }
.atlas__sheet { position: absolute; left: 14px; bottom: 12px; padding: 3px 7px; border-radius: 5px; background: var(--sheet); font-family: var(--mono); font-size: 11px; color: var(--ink-64); }
.am-flow, .am-head { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.am-route { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 9 8; }
.am--course circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
.am-ring { fill: rgba(214, 58, 23, .08); stroke: var(--red-ink); stroke-width: 1.5; stroke-dasharray: 3 5; }
.am-core { fill: none; stroke: var(--red-ink); stroke-width: 2.4; }
.am-pole { stroke: var(--ink); stroke-width: 2; }
.am-flag { fill: var(--ink); }
.am-focus { opacity: 0; transition: transform .8s var(--ease), opacity .4s; }
.am-focus.is-on { opacity: 1; }
.am-focus circle { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 4; }
.atlas.is-animated .am--current .am-flow { stroke-dasharray: 6 7; animation: flow 1.1s linear infinite; }
.atlas.is-animated .am-route { animation: march 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -26; } }
@keyframes march { to { stroke-dashoffset: -34; } }
/* Marks: hidden until their entry, full while it is the current one, quieter once learned. */
.atlas.is-stepped [data-mark] { opacity: 0; transition: opacity .5s var(--ease); }
.atlas.is-stepped [data-mark].is-on { opacity: .45; }
.atlas.is-stepped [data-mark].is-now { opacity: 1; }
.atlas.is-stepped .atlas__iso.is-on:not(.is-now) { opacity: 0; }

/* ==========================================================================
   SHEET 4 · SECTION A–A
   ========================================================================== */
.plate--section { padding-top: 0; }
.drawing__stage { position: relative; border-radius: 20px; overflow: hidden; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--ink-12); }
.drawing__svg { width: 100%; height: auto; }
.hatch-line { stroke: var(--ink-44); stroke-width: 1; }
.arrow-head { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.dw-ground { fill: url(#hatch); }
.dw-bed { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.dw-surface { stroke: var(--ink); stroke-width: 1.2; }
.dw-red { stroke: var(--red-ink); stroke-width: 1.3; stroke-dasharray: 6 6; }
.dw-dim { stroke: var(--ink); stroke-width: 1.1; marker-start: url(#arrow); marker-end: url(#arrow); }
.dw-dim.is-deep { stroke: var(--red-ink); }
.dw-cloud { fill: none; stroke: var(--red-ink); stroke-width: 2; stroke-linejoin: round; }
.dw-rev path { fill: var(--sheet); stroke: var(--red-ink); stroke-width: 2; stroke-linejoin: round; }
.drawing__labels { position: absolute; inset: 0; pointer-events: none; }
.dlabel { position: absolute; transform: translate(-50%, -50%); padding: 2px 6px; border-radius: 4px; background: var(--sheet); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.dlabel--deep { color: var(--red-ink); }
.dlabel--axis, .dlabel--red { transform: none; background: none; padding: 0; font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-64); }
.dlabel--red { color: var(--red-ink); }
.dlabel--rev { background: none; color: var(--red-ink); font-size: 13px; }
.titleblock {
  position: absolute; left: 16px; bottom: 16px;
  display: grid; grid-template-columns: auto auto; min-width: 360px;
  background: var(--sheet); box-shadow: 0 0 0 1.2px var(--ink);
  font-family: var(--mono); font-size: 11px;
}
.titleblock > div { display: grid; gap: 3px; padding: 8px 12px; box-shadow: 0 0 0 .6px var(--ink); }
.titleblock span { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-64); }
.titleblock b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.titleblock__main { grid-row: span 3; align-content: center; }
.titleblock__main b { font-family: var(--font); font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.drawing__files { display: none; }
.revnote { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; max-width: 640px; }
.revnote__tri {
  flex: none; display: grid; place-items: center; width: 30px; height: 26px; padding-top: 6px;
  background: var(--red-ink); color: #fff; font-family: var(--mono); font-size: 12px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.revnote p { font-size: 15.5px; line-height: 1.5; color: var(--ink-80); }
.revnote b { font-weight: 500; color: var(--red-ink); }

/* ==========================================================================
   COURSE (blue): one change travels down a dashed course line through the
   week. Stops alternate sides; the line runs down each caption's rail and
   crosses between stops in the gaps. Replaces the pinned horizontal track.
   ========================================================================== */
.course { padding-block: clamp(24px, 3vw, 48px) clamp(72px, 8vw, 120px); }
.course .lead code { color: var(--on-blue); }
.voyage { position: relative; }
.voyage__svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.vg-base { fill: none; stroke: var(--on-blue-24); stroke-width: 1.6; stroke-dasharray: 9 8; }
.vg-line { fill: none; stroke: var(--on-blue); stroke-width: 2; stroke-dasharray: 9 8; }
.vg-head { fill: var(--on-blue); }
.vg-halo { fill: none; stroke: var(--on-blue-48); stroke-width: 1.2; }
.voyage__stops { position: relative; z-index: 1; display: grid; gap: clamp(110px, 10vw, 170px); }
.stop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.stop__cap { grid-column: 1 / span 4; grid-row: 1; position: relative; display: grid; gap: 12px; justify-items: start; padding-left: 46px; }
.stop > .ui { grid-column: 6 / -1; grid-row: 1; }
.stop:nth-child(even) .stop__cap { grid-column: 9 / -1; }
.stop:nth-child(even) > .ui { grid-column: 1 / span 7; }
.stop__wp {
  position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); box-shadow: inset 0 0 0 1.6px var(--on-blue);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.is-reached > .stop__cap .stop__wp, .berth.is-reached .stop__wp { background: var(--on-blue); box-shadow: inset 0 0 0 1.6px var(--on-blue), 0 0 0 6px var(--on-blue-12); }
.stop__when { font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--on-blue-72); }
.stop__cap h3 { font-size: clamp(30px, 2.8vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.stop__cap > p:last-child { font-size: 16px; color: var(--on-blue-72); max-width: 22em; }
.stop__cap code { color: var(--on-blue); }

/* Live states: each surface switches on when the course reaches it (only while the course is driven by scroll). */
.ui-chat__list li { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ui-chat__list li:nth-child(2) { transition-delay: .15s; }
.ui-chat__list li:nth-child(3) { transition-delay: .3s; }
.ui-bars i { transform-origin: 50% 100%; transition: transform .7s var(--ease) .35s; }
.ui-course__line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .1s; }
.ui-course__chart circle { transition: opacity .3s; }
.ui-code__lines li::after { transform-origin: 50% 0; transition: transform .45s var(--ease); }
.ui-code__lines li.is-hot { transition: background-color .4s .7s; }
.ui-code__pop { transition: opacity .5s var(--ease) .9s, transform .5s var(--ease) .9s; }
.ui-pr__checks li { transition: background-color .4s; }
.ui-pr__checks i, .ui-pr__checks span { transition: background-color .4s, color .4s; }
.ui-pr__detail { transition: opacity .5s var(--ease) .5s; }
.voyage.is-live .stop:not(.is-reached) .ui-chat__list li { opacity: 0; transform: translateY(8px); }
.voyage.is-live .stop:not(.is-reached) .ui-bars i { transform: scaleY(0); }
.voyage.is-live .stop:not(.is-reached) .ui-course__line { stroke-dashoffset: 1; }
.voyage.is-live .stop:not(.is-reached) .ui-course__chart circle { opacity: 0; }
.voyage.is-live .stop:not(.is-reached) .ui-code__lines li::after { transform: scaleY(0); }
.voyage.is-live .stop:not(.is-reached) .ui-code__lines li.is-hot { background: none; }
.voyage.is-live .stop:not(.is-reached) .ui-code__pop { opacity: 0; transform: translateY(6px); }
.voyage.is-live .stop:not(.is-reached) .ui-pr__checks .is-warn { background: none; }
.voyage.is-live .stop:not(.is-reached) .ui-pr__checks .is-warn i { background: var(--ink-24); }
.voyage.is-live .stop:not(.is-reached) .ui-pr__checks .is-warn span { color: var(--ink-44); font-weight: 400; }
.voyage.is-live .stop:not(.is-reached) .ui-pr__detail { opacity: 0; }
.ui-code__lines li:nth-child(2)::after { transition-delay: .06s; }
.ui-code__lines li:nth-child(3)::after { transition-delay: .12s; }
.ui-code__lines li:nth-child(4)::after { transition-delay: .18s; }
.ui-code__lines li:nth-child(5)::after { transition-delay: .24s; }
.ui-code__lines li:nth-child(6)::after { transition-delay: .3s; }
.ui-code__lines li:nth-child(7)::after { transition-delay: .36s; }
.ui-code__lines li:nth-child(8)::after { transition-delay: .42s; }

.ui { position: relative; border-radius: 18px; background: var(--sheet); color: var(--ink); box-shadow: 0 30px 60px -36px rgba(2, 10, 32, .7); overflow: hidden; }
.ui-state { padding: 4px 10px; border-radius: 999px; background: #DFF1E8; color: #146846; font-size: 12px; font-weight: 500; }
.ui-tag { padding: 2px 5px; border-radius: 4px; background: var(--ink-06); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-64); }

/* PR */
.ui-pr__head { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--ink-12); }
.ui-pr__head b { font-weight: 500; }
.ui-pr__head .ui-mono { color: var(--ink-44); font-size: 13px; }
.ui-pr__checks { display: grid; padding: 8px 0; }
.ui-pr__checks li { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 12px; padding: 10px 20px; font-size: 14px; }
.ui-pr__checks b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.ui-pr__checks span { justify-self: end; color: var(--ink-64); font-size: 13px; }
.ui-pr__checks i { width: 16px; height: 16px; border-radius: 50%; background: #1F8A5B; position: relative; }
.ui-pr__checks i::after { content: ""; position: absolute; left: 5px; top: 4px; width: 5px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }
.ui-pr__checks .is-warn { background: var(--red-wash); }
.ui-pr__checks .is-warn i { background: var(--red-ink); }
.ui-pr__checks .is-warn i::after { left: 7px; top: 3px; width: 0; height: 6px; border: 0; border-left: 2px solid #fff; transform: none; box-shadow: none; }
.ui-pr__checks .is-warn span { color: var(--red-ink); font-weight: 500; }
.ui-pr__detail { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 16px 20px 20px; border-top: 1px solid var(--ink-12); }
.ui-pr__detail p { font-size: 14px; line-height: 1.4; }
.ui-pr__detail p span { color: var(--ink-64); font-size: 13px; }
.ui-spark { width: 220px; height: 64px; }
.ui-spark__line { fill: none; stroke: var(--ink); stroke-width: 2; }
.ui-spark__red { stroke: var(--red-ink); stroke-dasharray: 4 4; }
.ui-spark__dot { fill: var(--ink); }
.ui-spark__dot.is-deep { fill: var(--red-ink); }

/* Chat */
.ui-chat__head { padding: 16px 20px; border-bottom: 1px solid var(--ink-12); font-weight: 500; }
.ui-chat__head span { color: var(--ink-44); margin-right: 3px; font-weight: 400; }
.ui-chat__msg { display: flex; gap: 14px; padding: 20px; }
.ui-chat__av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: var(--paper); }
.ui-chat__av svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ui-chat__body { flex: 1; min-width: 0; display: grid; gap: 8px; }
.ui-chat__who { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.ui-chat__who time { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-44); }
.ui-chat__title { font-size: 15px; }
.ui-chat__list { display: grid; gap: 6px; margin-top: 4px; }
.ui-chat__list li { display: grid; grid-template-columns: 1fr auto 56px; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--paper); font-size: 13px; }
.ui-chat__list b { font-family: var(--mono); font-weight: 500; }
.ui-chat__list em { font-style: normal; color: var(--ink-64); font-size: 12px; text-align: right; }
.ui-chat__list .is-down b { color: var(--red-ink); }
.ui-chat__list .is-up b { color: #1F8A5B; }
.ui-chat__list .is-haz { background: var(--red-wash); }
.ui-chat__list .is-haz b { color: var(--red-ink); }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; margin-top: 8px; }
.ui-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px 3px 0 0; background: var(--tone-2); }
.ui-bars i.is-now { background: var(--red-ink); }

/* Code */
.ui--code { background: #0B1F4E; color: #DCE4F7; }
.ui-code__tab { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(220, 228, 247, .12); font-family: var(--mono); font-size: 12px; color: rgba(220, 228, 247, .72); }
.ui-code__tab .ui-mono { color: #FF8E73; }
.ui-code__lines { padding: 14px 0 20px; font-family: var(--mono); font-size: 13px; line-height: 1.95; counter-reset: ln; overflow-x: auto; scrollbar-width: none; }
.ui-code__lines::-webkit-scrollbar { display: none; }
.ui-code__lines li { position: relative; padding-left: 64px; white-space: pre; counter-increment: ln; }
.ui-code__lines li::before { content: counter(ln); position: absolute; left: 16px; width: 18px; text-align: right; color: rgba(220, 228, 247, .3); }
.ui-code__lines li::after { content: ""; position: absolute; left: 44px; top: 0; bottom: 0; width: 4px; background: var(--tone-4); opacity: .55; }
.ui-code__lines li[data-d="1"]::after { background: var(--tone-1); opacity: .35; }
.ui-code__lines li[data-d="2"]::after { background: var(--tone-2); opacity: .45; }
.ui-code__lines li[data-d="3"]::after { background: var(--tone-3); opacity: .6; }
.ui-code__lines li[data-d="4"]::after { background: #FF8E73; opacity: .75; }
.ui-code__lines li[data-d="5"]::after { background: var(--red); opacity: 1; }
.ui-code__lines li.is-hot { background: rgba(255, 86, 49, .12); }
.ui-code__lines .k { color: #9FB6FF; }
.ui-code__lines .f { color: #F1F1EC; }
.ui-code__lines .s { color: #9FE0C8; }
.ui-code__pop {
  position: absolute; right: 18px; top: 150px;
  display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px;
  background: var(--sheet); color: var(--ink); font-size: 13px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
}
.ui-code__pop .ui-mono { font-size: 12px; color: var(--ink-64); }
.ui-code__pop b { color: var(--red-ink); font-weight: 500; }
.ui-code__muted { font-size: 11.5px; color: var(--ink-44); }

/* Course */
.ui--course { padding: 20px; }
.ui-course__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ui-course__head b { font-weight: 500; }
.ui-course__head .ui-mono { font-size: 12px; color: var(--ink-64); }
.ui-course__chart { width: 100%; height: auto; margin-top: 18px; }
.ui-course__grid { stroke: var(--ink-12); }
.ui-course__target { stroke: #1F8A5B; stroke-width: 1.4; stroke-dasharray: 5 5; }
.ui-course__line { fill: none; stroke: var(--ink); stroke-width: 2; }
.ui-course__chart circle { fill: var(--ink); stroke: var(--sheet); stroke-width: 2; }
.ui-course__chart circle.is-future { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.6; }
.ui-course__legend { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-64); }
.ui-course__goal { color: #1F8A5B; }
.ui-course__steps { display: grid; gap: 6px; margin-top: 16px; }
.ui-course__steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-64); }
.ui-course__steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.4px var(--ink-44); }
.ui-course__steps li.is-done { color: var(--ink); }
.ui-course__steps li.is-done::before { background: var(--ink); box-shadow: none; }

/* ==========================================================================
   LOGBOOK (testimonials)
   ========================================================================== */
.feature-quote { max-width: 1120px; margin-bottom: clamp(56px, 7vw, 96px); }
.feature-quote blockquote p { font-size: clamp(28px, 3.7vw, 54px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; text-indent: -.42em; text-wrap: balance; }
.feature-quote strong { font-weight: 400; background: linear-gradient(transparent 64%, rgba(35, 80, 181, .2) 0); }
.feature-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.print { border-radius: 50%; flex: none; }
.feature-quote__who { display: grid; font-size: 14px; color: var(--ink-64); }
.feature-quote__who b { font-size: 16px; font-weight: 500; color: var(--ink); }
.delta { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink-24); font-size: 14px; }
.delta .ui-mono { font-size: 12px; color: var(--ink-64); }
.delta b { font-weight: 500; }

/* The log: ruled lines, one shared 0–50 m axis with the 30 m redline. The hatched bar is the depth
   before; the solid bar falls to the depth after as the line comes into view. */
.logbook { padding-top: clamp(48px, 5vw, 80px); }
.log { --cols: 150px minmax(0, 1fr) minmax(240px, 300px); }
.log__axis, .log__row { display: grid; grid-template-columns: var(--cols); column-gap: clamp(24px, 3vw, 48px); }
.log__axis { align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-64); }
.log__axis-k { grid-column: 1 / 3; }
.log__scale { position: relative; height: 14px; text-transform: none; letter-spacing: 0; }
.log__scale i { position: absolute; top: 0; font-style: normal; transform: translateX(-50%); white-space: nowrap; }
.log__scale i:first-child { transform: none; }
.log__scale i:last-child { transform: translateX(-100%); }
.log__scale .is-red { color: var(--red-ink); }
.log__row { align-items: start; padding-block: clamp(24px, 2.6vw, 34px); border-bottom: 1px solid var(--ink-12); }
.log__meta { display: grid; gap: 4px; padding-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-44); }
.log__meta span:first-child { color: var(--ink); }
.log__q p { max-width: 30em; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.36; letter-spacing: -.018em; text-indent: -.4em; text-wrap: pretty; }
.log__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; color: var(--ink-64); }
.log__who > span { display: grid; }
.log__who b { font-size: 15px; font-weight: 500; color: var(--ink); }
.log__delta { padding-top: 4px; }
.log__delta p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.log__delta .ui-mono { font-size: 12px; color: var(--ink-64); }
.log__delta b { font-weight: 500; font-variant-numeric: tabular-nums; }
.gauge { position: relative; height: 12px; margin-top: 14px; border-radius: 2px; background: var(--ink-06); }
.gauge::after { content: ""; position: absolute; left: 60%; top: -5px; bottom: -5px; width: 1.5px; margin-left: -.75px; background: var(--red-ink); }
.gauge__b, .gauge__a { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
.gauge__b { width: calc(var(--b) * 100%); box-shadow: inset 0 0 0 1px var(--ink-44); background: repeating-linear-gradient(-45deg, var(--ink-24) 0 1px, transparent 1px 5px); }
.gauge__a { width: calc(var(--a) * 100%); background: var(--ink); transition: width 1.4s var(--ease) .15s; }
.log.is-live .log__row:not(.is-in) .gauge__a { width: calc(var(--b) * 100%); }

/* ==========================================================================
   BERTH: the course ends at the boundary of your CI (security, on blue)
   ========================================================================== */
.berth { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: center; margin-top: clamp(110px, 10vw, 170px); }
.berth__copy { grid-column: 1 / span 5; position: relative; display: grid; gap: 18px; justify-items: start; padding-left: 46px; }
.h2--md { font-size: clamp(36px, 3.8vw, 58px); }
.course .chips li { box-shadow: inset 0 0 0 1px var(--on-blue-24); color: var(--on-blue-72); }
.course .hull__zone { border-color: var(--on-blue-48); }
.course .hull__zone.is-hit { border-color: var(--red); }
.course .hull__label { background: var(--blue); color: var(--on-blue-72); }
.course .hull__gate { background: var(--blue); box-shadow: inset 0 0 0 1.5px var(--on-blue); color: var(--on-blue); }
.course .hnode { color: var(--ink); box-shadow: 0 18px 34px -24px rgba(2, 10, 32, .8); }
.course .hnode--cloud { background: var(--blue-deep); color: var(--on-blue); box-shadow: inset 0 0 0 1px var(--on-blue-24); }
.course .pk--num { background: var(--on-blue); color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink-24); font-family: var(--mono); font-size: 12px; color: var(--ink-80); }
.hull {
  grid-column: 7 / -1; position: relative;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 6vw, 84px);
  padding: 28px 0;
}
.hull__zone {
  position: relative; display: grid; gap: 18px; padding: 44px 26px 30px;
  border-radius: 24px; border: 1.5px dashed var(--ink-44);
}
.hull__label { position: absolute; top: -10px; left: 22px; padding: 0 8px; background: var(--paper); font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-64); }
.hull__gate {
  position: absolute; right: -1.5px; top: 50%; transform: translate(50%, -50%);
  padding: 6px 10px; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--ink); font-family: var(--mono); font-size: 11px; white-space: nowrap;
}
.hnode { position: relative; z-index: 1; display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--ink-12), 0 16px 30px -24px rgba(14, 35, 82, .5); }
.hnode__k { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.hnode__t { font-family: var(--mono); font-size: 12px; color: var(--ink-64); }
.hnode--cloud { background: var(--blue); color: var(--on-blue); box-shadow: none; }
.hnode--cloud .hnode__t { color: var(--on-blue-72); }
.hull__packets { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pk { position: absolute; left: 0; top: 0; padding: 4px 7px; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.pk--code { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-24); }
.pk--num { background: var(--ink); color: var(--paper); }
.hull__zone.is-hit { border-color: var(--red-ink); }
.hull__zone { transition: border-color .25s; }

/* ==========================================================================
   DISPATCHES (blog)
   ========================================================================== */
/* A chart catalogue: ruled rows, figure number, title, a small generated cover. */
.dispatches { padding-top: 0; }
.posts { border-top: 1px solid var(--ink); }
.posts li { border-bottom: 1px solid var(--ink-12); }
.post {
  width: 100%; display: grid; grid-template-columns: 80px minmax(0, 1fr) 190px 110px 152px;
  align-items: center; column-gap: clamp(20px, 2.6vw, 40px); padding-block: 18px; text-align: left;
}
.post__fig { font-family: var(--mono); font-size: 12px; color: var(--ink-64); }
.post__title { font-size: clamp(24px, 2.5vw, 38px); letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; transition: color .2s, transform .45s var(--ease); }
.post__meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-64); }
.post__date { font-family: var(--mono); font-size: 12px; color: var(--ink-44); }
.post__cover { width: 100%; aspect-ratio: 4 / 3; height: auto; border-radius: 12px; background: var(--blue); transition: transform .6s var(--ease); }
.post:hover .post__title { color: var(--blue-lift); transform: translateX(6px); }
.post:hover .post__cover { transform: scale(1.05); }

.reader {
  width: min(760px, calc(100vw - 24px)); max-height: calc(100svh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 24px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(5, 15, 45, .6);
}
.reader::backdrop { background: rgba(10, 26, 66, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reader[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reader__inner { position: relative; padding: clamp(28px, 5vw, 56px); overflow-y: auto; max-height: calc(100svh - 48px); }
.reader__close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-24); }
.reader__close:hover { background: var(--ink); color: var(--paper); }
.reader__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.reader__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-64); }
.reader__title { margin: 16px 0 28px; padding-right: 40px; font-size: clamp(32px, 4vw, 48px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.reader__article > p:not(.reader__meta) { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--ink-80); }
.reader__article code { padding: .05em .35em; border-radius: 4px; background: var(--ink-06); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { padding-top: 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.pricing__copy { grid-column: 1 / span 5; display: grid; gap: 22px; justify-items: start; }
.calc {
  grid-column: 7 / -1; position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 24px; padding: clamp(26px, 3vw, 42px); border-radius: 26px;
  background: var(--blue); color: var(--on-blue);
}
.calc::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .5; mix-blend-mode: soft-light; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__label { font-size: 15px; color: var(--on-blue-72); }
.calc__count { font-size: 34px; font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__range { --fill: .14; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.calc__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--on-blue) calc(var(--fill) * 100%), var(--on-blue-24) 0); }
.calc__range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--on-blue) calc(var(--fill) * 100%), var(--on-blue-24) 0); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--paper); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.calc__range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--paper); }
.calc__range:focus-visible { outline: none; }
.calc__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(241, 241, 236, .35); }
.calc__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -10px; font-family: var(--mono); font-size: 11.5px; color: var(--on-blue-48); }
.calc__plans span:nth-child(2) { text-align: center; }
.calc__plans span:nth-child(3) { text-align: right; }
.calc__plans .is-on { color: var(--on-blue); }
.calc__result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 32px; padding-top: 24px; border-top: 1px solid var(--on-blue-24); }
.calc__plan { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-blue-72); }
.calc__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; font-size: clamp(44px, 4.4vw, 62px); font-weight: 300; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc__total small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--on-blue-72); }
.calc__math { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--on-blue-72); }
.calc__list { display: grid; gap: 2px; align-content: start; }
.calc__list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; }
.calc__list li::before { content: ""; flex: none; width: 10px; height: 5px; margin-top: -3px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
.calc__cta { justify-self: start; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 0; padding-bottom: clamp(48px, 6vw, 96px); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.faq__copy { grid-column: 1 / span 5; display: grid; gap: 22px; justify-items: start; }
.faq__list { grid-column: 7 / -1; border-top: 1px solid var(--ink-24); }
.qa { border-bottom: 1px solid var(--ink-24); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.015em; line-height: 1.3; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-lift); }
.qa__icon { position: relative; flex: none; width: 14px; height: 14px; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .35s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open]:not(.is-closing) .qa__icon::after { transform: rotate(0); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 36em; padding-bottom: 24px; color: var(--ink-64); }

/* ==========================================================================
   START (3D seabed from a name)
   ========================================================================== */
.start { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(680px, 90svh, 860px); display: flex; align-items: center; }
.start::before { z-index: 2; }
.start::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--blue) 0, rgba(22, 56, 138, 0) 140px),
    linear-gradient(to top, var(--blue) 0, rgba(22, 56, 138, 0) 160px),
    linear-gradient(90deg, rgba(22, 56, 138, .95) 0%, rgba(22, 56, 138, .7) 34%, rgba(22, 56, 138, 0) 62%);
}
.start__gl { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.start__gl.is-ready { opacity: 1; }
.start__inner { position: relative; z-index: 4; padding-block: clamp(96px, 10vw, 140px); }
.start__copy { max-width: 540px; display: grid; gap: 22px; justify-items: start; }
.sound {
  width: 100%; display: flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: rgba(10, 30, 80, .45); box-shadow: inset 0 0 0 1px var(--on-blue-24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.sound:focus-within { box-shadow: inset 0 0 0 1px var(--on-blue); }
.sound__prefix { font-family: var(--mono); font-size: 14px; color: var(--on-blue-48); }
.sound__input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: none; background: transparent; color: var(--on-blue); font-family: var(--mono); font-size: 15px; }
.sound__btn { height: 44px; }
.start__note { font-family: var(--mono); font-size: 12px; color: var(--on-blue-48); }
.start__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 12px; }
.start__mail { font-size: 15px; color: var(--on-blue-72); text-decoration: underline; text-decoration-color: var(--on-blue-24); text-underline-offset: 4px; transition: color .2s; }
.start__mail:hover { color: var(--on-blue); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(40px, 5vw, 72px); }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.foot__brand { grid-column: 1 / span 6; display: grid; gap: 14px; align-content: start; justify-items: start; }
.foot__line { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.1; max-width: 14ch; }
.foot__mail { font-family: var(--mono); font-size: 14px; color: var(--on-blue-72); text-decoration: underline; text-decoration-color: var(--on-blue-24); text-underline-offset: 4px; }
.foot__mail:hover { color: var(--on-blue); }
.foot__col { grid-column: span 2; display: grid; gap: 10px; align-content: start; }
.foot__label { margin-bottom: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-blue-48); }
.foot__col a { width: fit-content; font-size: 15px; color: var(--on-blue-72); transition: color .2s; }
.foot__col a:hover { color: var(--on-blue); }
.foot__mark { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.foot__canvas { width: 100%; height: auto; aspect-ratio: 1000 / 250; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--on-blue-12); font-size: 13px; color: var(--on-blue-72); }
.foot__base a { color: var(--on-blue); text-decoration: underline; text-decoration-color: var(--on-blue-24); text-underline-offset: 3px; }
.foot__fine { font-family: var(--mono); font-size: 12px; }
.foot__top { text-decoration: none !important; font-family: var(--mono); font-size: 12px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .berth .hull { grid-column: 6 / -1; }
  .post { grid-template-columns: 72px minmax(0, 1fr) 170px 100px 136px; }
}

@media (max-width: 1023px) {
  .plate-head__main { grid-template-columns: minmax(0, 1fr); }
  .head--row { grid-template-columns: minmax(0, 1fr); }

  .recall__fig { --cols: minmax(0, 1fr) minmax(0, 1.6fr) 150px; }
  .atlas__body { grid-template-columns: minmax(0, 1fr); }
  .atlas__stick { grid-column: 1; grid-row: 1; top: 0; z-index: 2; padding-block: 14px 18px; background: var(--paper); }
  .atlas__steps { grid-column: 1; grid-row: 2; padding-block: 0 16vh; }
  .astep { min-height: 46vh; }

  .stop { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .stop__cap, .stop:nth-child(even) .stop__cap { grid-column: 1; grid-row: 1; }
  .stop > .ui, .stop:nth-child(even) > .ui { grid-column: 1; grid-row: 2; margin-left: 46px; }
  .voyage__stops { gap: 88px; }
  .berth { margin-top: 88px; }
  .berth__copy, .berth .hull { grid-column: 1 / -1; }
  .berth .hull { margin-left: 46px; }

  .log { --cols: 120px minmax(0, 1fr) 220px; }
  .post { grid-template-columns: 64px minmax(0, 1fr) 128px; grid-template-areas: "fig title cover" "fig meta cover"; row-gap: 10px; }
  .post__fig { grid-area: fig; align-self: start; padding-top: 8px; }
  .post__title { grid-area: title; align-self: end; }
  .post__meta { grid-area: meta; align-self: start; }
  .post__date { display: none; }
  .post__cover { grid-area: cover; }
  .pricing__copy, .calc { grid-column: 1 / -1; }
  .faq__copy, .faq__list { grid-column: 1 / -1; }
  .titleblock { min-width: 300px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__cta { display: flex; margin-left: auto; gap: 10px; }
  .shore__inner { flex-direction: column; align-items: flex-start; }
  .shore__label { order: 2; max-width: none; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col { grid-column: span 4; }
  .hide-sm { display: none; }
}

@media (max-width: 720px) {
  .hero { min-height: max(880px, 100svh); }
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(22, 56, 138, .86) 0%, rgba(22, 56, 138, .45) 18%, rgba(22, 56, 138, 0) 40%),
      linear-gradient(to top, var(--blue) 0, rgba(22, 56, 138, 0) 56px);
  }
  .hero__inner { gap: 220px; }
  .hero__title { max-width: 9ch; }
  .hero__actions .btn { flex: 1 1 auto; }


  .recall__head, .recall__row { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .recall__key { gap: 6px 16px; }
  .recall__row { padding-block: 26px; }
  .recall__fact { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
  .astep h3 { font-size: 30px; }

  .drawing__labels .dlabel[data-dlabel]:not(.dlabel--rev), .dlabel--axis { display: none; }
  .titleblock { position: static; min-width: 0; margin: 0; box-shadow: 0 0 0 1px var(--ink); border-radius: 0 0 20px 20px; }
  .titleblock__main b { font-size: 22px; }
  .drawing__files { display: grid; margin-top: 14px; counter-reset: df; }
  .drawing__files li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--ink-12); font-family: var(--mono); font-size: 12.5px; counter-increment: df; }
  .drawing__files li.is-deep { color: var(--red-ink); }
  .df__name::before { content: counter(df) "  "; color: var(--ink-44); white-space: pre; }

  .edge { height: 132px; }
  .edge--tall { height: 170px; }
  .stop > .ui, .stop:nth-child(even) > .ui, .berth .hull { margin-left: 30px; }
  .stop__cap, .berth__copy { padding-left: 30px; }
  .stop__wp { width: 16px; height: 16px; top: 2px; }
  .log__axis, .log__row { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .log__axis-k { grid-column: 1; }
  .log__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-top: 0; }
  .post { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "cover fig" "cover title" "cover meta"; column-gap: 16px; row-gap: 6px; align-items: start; }
  .post__fig, .post__title, .post__meta { align-self: auto; padding-top: 0; }
  .post__title { font-size: 21px; }
  .post__meta { gap: 10px; font-size: 10.5px; }
  .ui-pr__detail { grid-template-columns: minmax(0, 1fr); }
  .ui-spark { width: 100%; }
  .ui-code__lines { font-size: 11.5px; }
  .ui-code__lines li { padding-left: 52px; }
  .ui-code__lines li::after { left: 36px; }
  .ui-code__pop { position: static; margin: 0 14px 14px; }
  .ui-chat__list li { grid-template-columns: 1fr auto; }
  .ui-chat__list em { display: none; }

  .delta { margin-left: 0; }
  .hull { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hull__gate { right: 50%; top: auto; bottom: -1.5px; transform: translate(50%, 50%); }

  .calc__result { grid-template-columns: minmax(0, 1fr); }
  .calc__cta { justify-self: stretch; }

  .start { min-height: 0; align-items: flex-start; }
  .start::after { background: linear-gradient(to top, var(--blue) 0, rgba(22, 56, 138, 0) 120px), linear-gradient(180deg, rgba(22, 56, 138, .96) 0%, rgba(22, 56, 138, .8) 52%, rgba(22, 56, 138, 0) 78%); }
  .start__inner { padding-top: 88px; padding-bottom: 380px; }
  .sound__prefix { display: none; }

  .foot__col { grid-column: span 6; }
  .foot__col:last-child { grid-column: 1 / -1; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
