/* HIDDEN Labs — site styles */

html, body { background: #000000 !important; color: #ffffff; }

/* Fonts (self-hosted, SIL Open Font License — see assets/fonts/OFL-*.txt) */
/* IBM Plex Mono normal 400 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono normal 400 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono normal 500 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-normal-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono normal 500 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-normal-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Serif italic 400 · latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif italic 400 · latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter normal 100 900 · latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-normal-100-900-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter normal 100 900 · latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-normal-100-900-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: rgba(220, 236, 246, 0.72);
  --faint: rgba(220, 236, 246, 0.45);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --ice: #cfeaf8;
  --gold: #d9b45a;
  --gold-soft: #f0d58c;
  --ink: #0a1c2c;

  --hdr: #ffffff;
  --hdr-muted: rgba(255, 255, 255, 0.72);

  --gutter: clamp(18px, 3.4vw, 64px);

  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html, body {
  background: #000000;
  background: var(--bg, #000000);
  color: #ffffff;
  color: var(--text, #ffffff);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(217, 180, 90, 0.35); color: #fff; }

/* Light header while the camera is above the water */
body.on-light { --hdr: #0a1c2c; --hdr-muted: rgba(10, 28, 44, 0.66); }

/* ---------- Fixed layers ---------- */
.fallback-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #0d2a42 0%, #0a3a52 40%, #04182a 70%, #00070f 100%);
}
#scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 90% at 50% 30%, #f4f9fc 0%, #dbeaf3 55%, #b9d3e3 100%);
  color: var(--ink);
  transition: opacity 1.1s cubic-bezier(0.65, 0, 0.35, 1), visibility 1.1s;
}
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader svg { width: 30px; height: 30px; color: var(--ink); }
.loader-name { font-size: 13px; font-weight: 600; letter-spacing: 0.32em; }
.loader-bar { width: 160px; height: 1px; background: rgba(10, 28, 44, 0.15); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--ink); animation: load 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.loader-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: rgba(10, 28, 44, 0.55); }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
body.loaded .loader { opacity: 0; visibility: hidden; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter);
  padding-top: max(22px, env(safe-area-inset-top));
  color: var(--hdr);
  transition: color 0.6s ease;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.logo svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.logo-suffix { font-weight: 400; letter-spacing: 0.22em; margin-left: 0.5em; color: var(--hdr-muted); transition: color 0.6s ease; }

#site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); justify-self: center; }
#site-nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hdr-muted);
  padding: 6px 0;
  transition: color 0.3s ease;
}
#site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
#site-nav a:hover, #site-nav a.is-current { color: var(--hdr); }
#site-nav a:hover::after, #site-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
#site-nav a.is-current::after { background: var(--gold); }

.header-cta { justify-self: end; }

.burger {
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  color: var(--hdr);
  cursor: pointer;
  z-index: 60;
  position: relative;
}
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-backdrop { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.btn .arrow { transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.btn-solid:hover { background: #f4f9fc; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 0 28px rgba(217, 180, 90, 0.35); }
.btn-line { background: transparent; color: currentColor; border-color: currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.header .btn-line { height: 38px; padding: 0 16px; font-size: 12.5px; color: var(--hdr); }
body.on-light .header .btn-line:hover { background: rgba(10, 28, 44, 0.06); }
.btn-gold { background: var(--gold); color: #1a1204; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 0 30px rgba(217, 180, 90, 0.5); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
}
.link-arrow span { border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px; transition: border-color 0.3s ease; }
.link-arrow:hover span { border-color: var(--gold); }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; }
.section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) 100px;
}
.section[data-align="right"] { justify-content: flex-end; }
.section[data-align="center"] { justify-content: center; }

.panel {
  position: relative;
  width: min(540px, 100%);
  padding: 40px 40px 36px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(8, 24, 38, 0.46), rgba(3, 12, 22, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 40px 120px rgba(0, 6, 14, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.panel--wide { width: min(660px, 100%); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}
.eyebrow b { font-weight: 500; color: var(--gold-soft); }
.hero .eyebrow { flex-wrap: wrap; row-gap: 6px; }
.hero .eyebrow b { white-space: nowrap; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }

h1, h2 { font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(34px, 3.6vw, 54px); }
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.025em;
  color: var(--gold-soft);
}
.copy { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.65; letter-spacing: -0.01em; max-width: 46ch; }

/* Hero */
.hero { align-items: flex-end; padding-bottom: 104px; }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.8); }
.hero .eyebrow::after { max-width: 80px; background: rgba(255, 255, 255, 0.35); }
.hero h1 { font-size: clamp(46px, 6.4vw, 104px); text-shadow: 0 1px 3px rgba(0, 24, 44, 0.25), 0 2px 40px rgba(0, 20, 36, 0.45); }
.hero .copy { font-size: 16.5px; color: rgba(240, 248, 252, 0.95); text-shadow: 0 1px 2px rgba(0, 24, 44, 0.45), 0 1px 22px rgba(0, 16, 30, 0.7); }
.hero .eyebrow { text-shadow: 0 1px 2px rgba(0, 24, 44, 0.45); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.scroll-cue i { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--gold-soft); animation: drip 2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes drip { from { transform: translateY(-16px); } to { transform: translateY(44px); } }

/* Rows (cards) */
.rows { margin-top: 28px; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 0;
  width: 100%;
  padding: 18px 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  text-align: left;
  font: inherit;
  transition: background 0.35s ease, padding 0.35s ease;
}
button.row { cursor: pointer; }
button.row:hover, .row.is-active { background: linear-gradient(90deg, rgba(217, 180, 90, 0.08), transparent 70%); padding-left: 10px; }
.row-num { grid-row: span 2; font-family: var(--mono); font-size: 11px; color: var(--gold); padding-top: 5px; }
.row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.025em; }
.row-text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.rows--grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 0; }
.rows--grid .row { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: 22px; }
.rows--grid .row-num { grid-row: auto; padding-top: 0; }

/* Withheld project names: placeholder glyphs only, blurred. The real names are not in the page. */
.redact {
  display: inline-block;
  filter: blur(6px);
  opacity: 0.9;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  letter-spacing: 0.02em;
}
.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;
}

.fine { margin-top: 22px; font-size: 11.5px; line-height: 1.6; color: var(--faint); }

/* Hotspots */
.hotspots { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.hotspot {
  position: absolute;
  left: 0; top: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  will-change: transform, opacity;
}
.hotspot[hidden] { display: none; }
.hotspot-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 0 18px rgba(217, 180, 90, 0.9); flex: none; }
.hotspot-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.9); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hotspot-label { padding: 7px 10px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 20, 40, 0.18); transition: background 0.25s ease, color 0.25s ease; }
.hotspot:hover .hotspot-label, .hotspot.is-active .hotspot-label { background: var(--ink); color: #fff; }

/* Steps */
.steps { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps .n { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold-soft); line-height: 1; }
.steps strong { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.steps span.t { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 30px; }
.field { display: grid; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 0 11px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%), linear-gradient(135deg, var(--ice) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #06121c; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-soft); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
.form-status { font-size: 13px; color: var(--gold-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px var(--gutter) max(30px, env(safe-area-inset-bottom));
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 4, 10, 0), rgba(0, 4, 10, 0.6));
}

/* Depth rail */
.rail {
  position: fixed;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--hdr);
  transition: color 0.6s ease;
}
.depth { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hdr-muted); text-align: right; margin-bottom: 8px; }
.depth b { display: block; margin-top: 4px; font-family: var(--sans); font-size: 18px; font-weight: 400; letter-spacing: -0.02em; color: var(--hdr); font-variant-numeric: tabular-nums; }
.rail a { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: transparent; transition: color 0.3s ease; }
.rail a::after { content: ""; width: 14px; height: 1px; background: var(--hdr-muted); opacity: 0.6; transition: width 0.35s ease, background 0.35s ease, opacity 0.35s ease; }
.rail a:hover { color: var(--hdr); }
.rail a.is-current::after { width: 28px; background: var(--gold); opacity: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1041px) { .section { padding-right: calc(var(--gutter) + 70px); } }
@media (max-width: 1040px) {
  .header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .logo, .header-cta, .burger { z-index: 80; position: relative; }
  .burger { display: grid; }
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(6, 20, 34, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  body.menu-open .menu-backdrop { opacity: 1; visibility: visible; -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
  body.menu-open { --hdr: #ffffff; --hdr-muted: rgba(255, 255, 255, 0.72); overflow: hidden; }
  #site-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 96px 28px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  body.menu-open #site-nav { opacity: 1; visibility: visible; }
  #site-nav a { font-family: var(--sans); font-size: 34px; letter-spacing: -0.03em; text-transform: none; color: #fff; padding: 6px 0; }
  .rail { display: none; }
}
@media (max-width: 760px) {
  .section, .section[data-align="right"] { justify-content: center; align-items: flex-end; padding: 100px 14px 48px; }
  .section.hero { padding: 100px 20px 92px; }
  .panel { padding: 28px 22px 24px; }
  .rows--grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hotspots { display: none; }
  .scroll-cue { right: 20px; bottom: 28px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .header { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 404 page */
.page-404 { min-height: 100vh; background: linear-gradient(180deg, #0d2a42 0%, #04182a 60%, #00070f 100%) !important; }
.nf { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); max-width: 720px; }
