/* Undertow Research · site styles
   Graphite Terminal palette, hydrographic cross-section direction. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* palette */
  --ink: #0C0F11;
  --deep: #1A1F23;
  --steel: #9DB4C8;
  --steel-strong: #B9CBDA;
  --light: #F4F5F6;
  --text: #E9ECEE;
  --text-2: #B4BCC2;
  --muted: #8E979E;
  --rule: #26303A;
  --rule-strong: #3A4650;

  /* depth grounds, one shade deeper per section */
  --d0: #0C0F11;
  --d1: #1B2B36;
  --d2: #172530;
  --d3: #141F28;
  --d4: #111A21;
  --d5: #0E151B;
  --d6: #0B1015;
  --d7: #090C0F;

  /* hero cross-section */
  --city: #141C22;
  --band-1: #10171C;
  --band-2: #121B21;
  --band-3: #141F26;
  --band-4: #16232B;
  --band-5: #182731;

  /* type */
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --h1-size: clamp(2.6rem, 6.1vw, 5.8rem);
  --h2-size: clamp(2rem, 3.6vw, 3.4rem);
  --lead-size: clamp(1.05rem, 1.3vw, 1.2rem);

  /* layout (tweakable) */
  --page-pad: clamp(16px, 5vw, 72px);
  --max: 1440px;
  --horizon: 48%;
  --hero-copy-top: clamp(112px, 16vh, 168px);
  --section-pad: clamp(96px, 13vw, 176px);
  --lens: clamp(24px, 4vw, 56px);

  color-scheme: dark;
}

/* fine-tuning by Jan (slider panel, 20 Oct 2026), desktop only */
@media (min-width: 861px) {
  :root {
    --hero-copy-top: 132px;
    --h1-size: 52px;
    --horizon: 48%;
    --bands-h: 247px;
    --lead-size: 17px;
    --section-pad: 163px;
    --lens: 50px;
    --page-pad: 63px;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-color: var(--rule-strong) var(--ink);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

::selection { background: var(--steel); color: var(--ink); }

a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--steel); }

:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--page-pad); }

.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s cubic-bezier(.16,1,.3,1), color .25s, border-color .25s;
}
.btn-primary { background: var(--steel); color: var(--ink); }
.btn-primary:hover { background: var(--steel-strong); }
.btn-line { border-color: var(--rule-strong); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--steel); }
.arrow-down { display: inline-block; vertical-align: -0.1em; }
.tag .arrow-down { width: 11px; height: 11px; vertical-align: -0.05em; }
.btn .arrow { flex: none; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(12, 15, 17, 0.94); border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: block; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a.link { font-size: 0.92rem; color: var(--text-2); text-decoration: none; }
.nav a.link:hover { color: var(--text); }
.nav .btn { min-height: 40px; padding: 0 16px; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 400; }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .nav a.link { display: none; }
  .site-header.menu-open .nav {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--ink); border-bottom: 1px solid var(--rule); padding: 8px var(--page-pad) 20px;
  }
  .site-header.menu-open .nav a.link { display: block; width: 100%; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .site-header.menu-open .nav .btn { margin-top: 16px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: 8px; background: none; border: 1px solid var(--rule-strong); color: var(--text); cursor: pointer;
  }
  .header-actions { display: flex; align-items: center; }
  .header-actions .nav .btn { min-height: 44px; }
}
@media (min-width: 761px) { .header-actions { display: contents; } }

/* ---------- hero: the cross-section ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 720px);
  background: var(--d0);
  overflow: hidden;
  isolation: isolate;
}
.hero-copy {
  position: relative; z-index: 3;
  padding-top: var(--hero-copy-top);
}
.hero h1 {
  margin: 0;
  font-size: var(--h1-size);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(22px, 3vh, 34px); }
.hero-actions .hint { color: var(--muted); }
.hero-actions .more { font-size: 0.92rem; color: var(--text-2); text-decoration: none; }
.hero-actions .more:hover { color: var(--text); }

.scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scene .city-wrap {
  position: absolute; left: 0; right: 0;
  bottom: calc(100% - var(--horizon));
  height: clamp(120px, 20vh, 220px);
}
.skyline { width: 100%; height: 100%; }
.skyline .city { fill: var(--city); }
.skyline .windows rect { fill: #3B4B57; opacity: .55; }
.skyline .windows rect.w1 { fill: #7D8B96; opacity: .5; animation: window 9s ease-in-out infinite; }
.skyline .windows rect.w1:nth-child(3n) { animation-delay: -3s; }
.skyline .windows rect.w1:nth-child(4n) { animation-delay: -6s; animation-duration: 13s; }
@keyframes window { 0%, 100% { opacity: .5; } 50% { opacity: .15; } }

.horizon {
  position: absolute; left: 0; right: 0; top: var(--horizon);
  height: 1px; background: var(--steel); opacity: .9;
}
.bands {
  position: absolute; left: 0; right: 0; top: calc(var(--horizon) + 1px);
  width: 100%; height: var(--bands-h, clamp(170px, 30vh, 320px));
}
.bands path:nth-child(1) { fill: var(--band-1); }
.bands path:nth-child(2) { fill: var(--band-2); }
.bands path:nth-child(3) { fill: var(--band-3); }
.bands path:nth-child(4) { fill: var(--band-4); }
.bands path:nth-child(5) { fill: var(--band-5); }

.scene .tag { position: absolute; z-index: 2; }
.scene .tag-surface { left: var(--page-pad); top: calc(var(--horizon) - 28px); }
.scene .tag-below { right: var(--page-pad); top: calc(var(--horizon) + 14px); }

.hero-foot {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px);
}
.hero-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero-foot .lead { margin: 0; max-width: 36ch; font-size: var(--lead-size); line-height: 1.5; color: var(--text-2); }
.soundings { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); gap: 22px 40px; margin: 0; }
.soundings div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.soundings dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.soundings dd { margin: 0; font-family: var(--font-mono); font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1; letter-spacing: -0.01em; }
.soundings .accent dd { color: var(--steel); }
.hero-foot .note { grid-column: 2; margin-top: -18px; }

@media (max-width: 860px) {
  :root { --horizon: 440px; --bands-h: 150px; }
  .hero { min-height: 0; }
  .hero h1 { max-width: 12ch; }
  .hero-copy { min-height: var(--horizon); }
  .hero-foot { position: relative; bottom: auto; padding: calc(var(--bands-h) + 8px) 0 40px; }
  .hero-foot .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-foot .note { grid-column: 1; margin-top: 0; }
  .scene .tag-below, .scene .tag-surface { display: none; }
  .soundings { gap: 18px 28px; }
}

/* ---------- sections and the descent ---------- */
.section { position: relative; padding: var(--section-pad) 0; overflow-x: clip; }
/* each boundary is the logo's stacked half-lenses: this ground, two in-between shades, then the next ground */
.section { background: var(--this); }
.section::after, .s1::before {
  content: ""; position: absolute; z-index: 2; left: -4%; right: -4%;
  bottom: calc(var(--lens) * -1); height: var(--lens);
  background: var(--this); border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow:
    0 calc(var(--lens) * 0.42) 0 color-mix(in srgb, var(--this) 62%, var(--next)),
    0 calc(var(--lens) * 0.80) 0 color-mix(in srgb, var(--this) 28%, var(--next));
  pointer-events: none;
}
.s1::before { --this: var(--d0); --next: var(--d1); top: 0; bottom: auto; }
.s1 { --this: var(--d1); --next: var(--d2); }
.s2 { --this: var(--d2); --next: var(--d3); }
.s3 { --this: var(--d3); --next: var(--d4); }
.s4 { --this: var(--d4); --next: var(--d5); }
.s5 { --this: var(--d5); --next: var(--d6); }
.s6 { --this: var(--d6); --next: var(--d7); }

h2 {
  margin: 0; font-size: var(--h2-size); font-weight: 300; line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance;
}
.section .intro + .intro { margin-top: 14px; }
.section .intro { margin: 22px 0 0; max-width: 58ch; font-size: var(--lead-size); color: var(--text-2); line-height: 1.55; }

/* definition */
.definition .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.definition .word { margin: 0; font-size: clamp(3.2rem, 7.4vw, 7.2rem); font-weight: 300; letter-spacing: -0.04em; line-height: 0.9; }
.definition .sense { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 300; line-height: 1.28; letter-spacing: -0.015em; }
.definition .gloss { margin: 28px 0 0; max-width: 58ch; color: var(--text-2); font-size: var(--lead-size); }

/* approach */
.principles { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.principles li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 6vw, 96px); padding: clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--rule); }
.principles h3 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.65rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.principles p { margin: 0; max-width: 56ch; color: var(--text-2); }

/* numbers */
.numbers-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.log { margin: 0; border-top: 1px solid var(--rule); }
.log div { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.log dt { color: var(--text-2); flex: 0 0 auto; }
.log .fill { flex: 1 1 auto; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-5px); min-width: 24px; }
.log dd { margin: 0; font-family: var(--font-mono); font-size: 1.35rem; line-height: 1; flex: 0 0 auto; }
.log .pending dd { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.log .annotated { flex-wrap: wrap; }
.log .annot { flex: 1 0 100%; margin: 10px 0 0; max-width: 60ch; font-family: var(--font-sans); font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.live { padding: 20px 24px; border: 1px dashed var(--rule-strong); display: grid; gap: 8px; }
.live .row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.live .val { color: var(--text); text-align: right; }
.live .status { display: none; color: var(--text-2); font-size: 0.95rem; }
.live.is-live .status { display: block; }
.live.is-live .val { font-family: var(--font-mono); }
.live .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); margin-right: 8px; transform: translateY(-1px); }
.live.is-live .dot { background: var(--text); }
.footnote { margin: 32px 0 0; max-width: 60ch; font-size: 0.82rem; line-height: 1.6; color: var(--muted); }

/* participate */
.participate-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); margin-top: clamp(48px, 7vw, 88px); }
.steps { position: relative; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 1px; background: var(--rule-strong); }
.steps .progress { position: absolute; left: 11px; top: 10px; width: 1px; height: calc((100% - 20px) * var(--p, 0)); background: var(--text-2); transition: height .2s linear; }
.steps li { position: relative; padding: 0 0 clamp(34px, 4vw, 48px) 56px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 15px; height: 15px;
  border: 1px solid var(--muted); background: var(--this); border-radius: 50%;
}
.steps h3 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--text-2); max-width: 46ch; }
.terms { border-top: 1px solid var(--rule); }
.terms > div { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.terms h3 { margin: 0 0 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.terms p { margin: 0; font-size: 1.1rem; line-height: 1.5; }
.terms .actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-bottom: 0; }

/* invitation form */
.invite { margin-top: clamp(72px, 10vw, 128px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.invite h3 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.invite .sub { margin: 16px 0 0; color: var(--text-2); max-width: 38ch; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; color: var(--text); }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: -4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--d0); border: 1px solid var(--rule-strong); border-radius: 0;
  caret-color: var(--steel);
}
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #6E7880; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #55626C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 1px var(--steel); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E08C7E; }
.field .error { display: none; font-size: 0.85rem; color: #F0A99C; }
.field.has-error .error { display: block; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form .status { font-size: 0.95rem; color: var(--text-2); }
.form .status.is-error { color: #F0A99C; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* faq */
.faq { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sign { flex: 0 0 auto; width: 14px; height: 14px; position: relative; }
.faq summary .sign::before, .faq summary .sign::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--muted); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.faq summary .sign::after { transform: rotate(90deg); }
.faq details[open] summary .sign::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--text); }
.faq summary:hover .sign::before, .faq summary:hover .sign::after { background: var(--text); }
.faq .answer { padding: 0 0 26px; max-width: 64ch; color: var(--text-2); }
.faq .answer p { margin: 0; }

/* risks */
.risk-list { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; columns: 2 380px; column-gap: clamp(32px, 6vw, 96px); }
.risk-list li { break-inside: avoid; padding: 20px 0 20px 28px; border-top: 1px solid var(--rule); position: relative; color: var(--text); }
.risk-list li::before { content: ""; position: absolute; left: 0; top: 31px; width: 12px; height: 1px; background: var(--muted); }

/* footer */
.site-footer { background: var(--d7); padding: calc(var(--lens) * 1.8 + 40px) 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.site-footer .brand img { height: 22px; }
.site-footer .tag { margin: 14px 0 0; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; font-size: 0.92rem; }
.site-footer nav a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.85rem; }

/* depth readout */
.depth-readout {
  position: fixed; z-index: 40; right: 22px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted);
  pointer-events: none; opacity: 0; transition: opacity .4s;
}
.depth-readout.is-on { opacity: 1; }
.depth-readout .value { font-size: 0.95rem; color: var(--text-2); letter-spacing: 0; }
.depth-readout .scale { width: 1px; height: 120px; background: var(--rule-strong); position: relative; }
.depth-readout .scale i { position: absolute; left: -3px; width: 7px; height: 1px; background: var(--text-2); top: 0; }
@media (max-width: 1180px) { .depth-readout { display: none; } }

/* legal pages */
.legal { padding: 160px 0 120px; }
.legal h1 { margin: 0; font-size: var(--h2-size); font-weight: 300; letter-spacing: -0.03em; }
.legal p, .legal li { max-width: 64ch; color: var(--text-2); }
.legal h2 { margin: 48px 0 12px; font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal .updated { margin-top: 14px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal a { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .definition .wrap, .principles li, .numbers-grid, .participate-grid, .invite { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .soundings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log dt { flex: 1 1 auto; }
  .log .fill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .skyline .windows rect.w1 { animation: none; }
  .btn .arrow, .faq summary .sign::before, .faq summary .sign::after { transition: none; }
}

@media (max-width: 560px) {
  .live .row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- motion on the way down (only when JS sets .motion; never under reduced motion) ---------- */
.section > .wrap { position: relative; z-index: 1; }
.isobaths {
  position: absolute; z-index: 0; left: 0; right: 0; top: 8%; height: 84%; width: 100%;
  pointer-events: none; overflow: visible;
}
.isobaths path { fill: none; stroke: var(--rule-strong); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }
.isobaths path:nth-child(3n) { opacity: .3; }

.motion .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .definition .word.reveal { transform: translateY(40px); letter-spacing: 0.02em; transition-property: opacity, transform, letter-spacing; transition-duration: 1.4s; }
.motion .definition .word.reveal.is-in { letter-spacing: -0.04em; }
.motion .log .fill { transform: translateY(-5px) scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.16,1,.3,1) .25s; }
.motion .log .is-in .fill { transform: translateY(-5px) scaleX(1); }
.motion .principles li, .motion .faq details, .motion .risk-list li { background-image: linear-gradient(var(--rule-strong), var(--rule-strong)); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 0; }
.motion .principles li.is-in, .motion .faq details.is-in, .motion .risk-list li.is-in { background-size: 100% 1px; transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1), background-size 1.4s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .isobaths path { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 140ms); }
.motion .isobaths.is-in path { stroke-dashoffset: 0; }
.motion .scene .city-wrap, .motion .hero-copy { will-change: transform; }
