@font-face { font-family: "Big Shoulders Display"; font-weight: 500; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }

/* The site is one dive: light water at the surface, darkening with depth. */
:root {
  --surface: #6fc3c4;
  --shallow: #1f7f8f;
  --mid: #0b4458;
  --deep: #06202e;
  --abyss: #020a10;
  --foam: #eaf6f6;
  --ink: #04262e;
  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gauge-w: 92px;
  --gauge-right: 44px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--abyss); }
body { margin: 0; color: var(--foam); font: 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: underline; text-decoration-color: rgba(234, 246, 246, .45); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--foam); outline-offset: 3px; }

/* ── Home: descent ───────────────────────── */
.descent { background: var(--surface); }
#dive { background: linear-gradient(var(--surface) 0%, var(--shallow) 18%, var(--mid) 42%, var(--deep) 70%, var(--abyss) 100%); }
.stop {
  min-height: 90svh;
  max-width: 820px;
  padding-block: 72px;
  padding-left: max(8vw, var(--gutter));
  padding-right: calc(var(--gauge-w) + var(--gauge-right) + 16px);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.stop h1, .stop h2 {
  margin: 0;
  font: 800 clamp(48px, 10vw, 112px)/.9 var(--f-display);
  text-transform: uppercase; letter-spacing: .01em; text-wrap: balance;
}
.tag { font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.stop p { margin: 0; max-width: 44ch; opacity: .92; }
.surface, .surface a { color: var(--ink); }
.surface a { text-decoration-color: rgba(4, 38, 46, .45); }
.chips { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(234, 246, 246, .35); border-radius: 99px; padding: 5px 14px; font-size: 14px; }
.links { line-height: 1.8; }
.soon { border: 1px dashed rgba(234, 246, 246, .4); padding: 16px 18px; border-radius: 6px; max-width: 44ch; }

.gauge {
  position: fixed; right: calc(var(--gauge-right) + env(safe-area-inset-right, 0px)); top: 0; bottom: 0; width: var(--gauge-w);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--foam); pointer-events: none; transition: color .4s;
}
.gauge.shallow { color: var(--ink); }
.gauge b { font: 500 56px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.gauge small { font-size: 10px; font-weight: 600; letter-spacing: .2em; }
.ruler {
  position: fixed; right: calc(22px + env(safe-area-inset-right, 0px)); top: 0; bottom: 0; width: 12px; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(transparent 0 23px, rgba(255, 255, 255, .45) 23px 24px);
}
.hint {
  position: fixed; right: calc(var(--gauge-right) + env(safe-area-inset-right, 0px)); width: var(--gauge-w);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  text-align: center; font: 600 10px/1.5 var(--f-body); letter-spacing: .2em; color: var(--ink); pointer-events: none;
  transition: opacity .4s;
}
.hint.gone { opacity: 0; }

@media (max-width: 600px) {
  :root { --gauge-w: 60px; --gauge-right: 34px; }
  .gauge b { font-size: 40px; }
  .stop { padding-left: var(--gutter); min-height: 80svh; }
}

/* ── Inner pages ─────────────────────────── */
.page { background: linear-gradient(var(--mid), var(--deep) 40%, var(--abyss)); min-height: 100vh; }
.page-head, .prose, .site-foot { max-width: 760px; margin-inline: auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.wordmark { font: 800 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.page-depth { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.prose { padding-block: 40px 80px; }
.prose h1 { font: 800 clamp(44px, 8vw, 84px)/.95 var(--f-display); text-transform: uppercase; margin: 0 0 32px; text-wrap: balance; }
.prose h2 { font: 800 30px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin: 40px 0 10px; }
.prose p, .prose li { max-width: 65ch; opacity: .92; }

.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 13px; color: rgba(234, 246, 246, .6); border-top: 1px solid rgba(234, 246, 246, .12);
}
.descent .site-foot { max-width: none; margin: 0; padding-left: max(8vw, var(--gutter)); padding-right: calc(var(--gauge-w) + var(--gauge-right) + 16px); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (prefers-reduced-motion: reduce) { .hint, .gauge { transition: none; } }
