/* Earthshaker Survey — generated from tokens.json */
:root, [data-theme="surface"] {
  --ground: #e9e9ed;
  --ground-2: #dddde5;
  --ground-3: #d0d0db;
  --ink: #101120;
  --ink-2: #41445a;
  --rule: #a8a9ba;
  --rule-strong: #5c5f78;
  --signal: #9184d9;
  --on-signal: #101120;
  --signal-line: #6a59d6;
  --signal-text: #4f3fc3;
  --focus: #101120;
  --sev-critical: #4f3fc3;
  --sev-high: #9a3a8a;
  --sev-medium: #75658a;
  --sev-low: #56617a;
  --sev-info: #6d7080;
  --plate-paper: #e9e9ed;
  --plate-ink: #101120;
  --plate-block: #1c1e30;
  --plate-signal: #9184d9;
  --plate-lilac: #b5abfc;
}
[data-theme="depth"] {
  --ground: #101120;
  --ground-2: #161826;
  --ground-3: #1c1e30;
  --ink: #e9e9ed;
  --ink-2: #9397ab;
  --rule: #2e3148;
  --rule-strong: #75798c;
  --signal-line: #9184d9;
  --signal-text: #b5abfc;
  --focus: #ffffff;
  --sev-critical: #b5abfc;
  --sev-high: #d68fd0;
  --sev-medium: #b3a6c4;
  --sev-low: #8f9bb5;
  --sev-info: #7a7e92;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 160px;
  --radius-0: 0px;
  --radius-1: 2px;
  --dur-1: 80ms;
  --dur-2: 160ms;
  --dur-3: 320ms;
  --dur-4: 640ms;
  --dur-5: 1280ms;
  --ease-impact: cubic-bezier(0.7, 0, 0.15, 1);
  --ease-settle: cubic-bezier(0.2, 1.3, 0.3, 1);
  --font-display: "Anybody", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-text: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 120px; line-height: 0.86; font-weight: 800; letter-spacing: -0.01em; }
.display-l { font-family: var(--font-display); font-size: 72px; line-height: 0.9; font-weight: 800; letter-spacing: -0.01em; }
.display-m { font-family: var(--font-display); font-size: 44px; line-height: 0.95; font-weight: 800; letter-spacing: -0.005em; }
.display-s { font-family: var(--font-display); font-size: 26px; line-height: 1; font-weight: 700; }
.lead { font-family: var(--font-text); font-size: 21px; line-height: 1.5; font-weight: 350; }
.title { font-family: var(--font-text); font-size: 22px; line-height: 1.25; font-weight: 600; }
.body { font-family: var(--font-text); font-size: 16px; line-height: 1.6; font-weight: 350; }
.small { font-family: var(--font-text); font-size: 14px; line-height: 1.5; font-weight: 350; }
.label { font-family: var(--font-mono); font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: 0.08em; }
.data { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; font-weight: 400; }
.readout { font-family: var(--font-mono); font-size: 10px; line-height: 1.4; font-weight: 500; letter-spacing: 0.1em; }
@font-face { font-family: "Anybody"; src: url("./fonts/Anybody-Variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("./fonts/Geologica-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("./fonts/MartianMono-Variable.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* Earthshaker Survey: component layer. Loaded after tokens.css, which supplies
   the colour, spacing, radius, duration and ease custom properties, the
   @font-face rules and one class per type style. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 1.6; font-weight: 350; }
[data-theme] { background: var(--ground); color: var(--ink); }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a { color: inherit; }

/* ── type voice ─────────────────────────────────────────────────────────
   Display is set compressed and uppercase. Width is stress: the one word a
   line leans on is released wide with .stress. */
.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--font-display); text-transform: uppercase; margin: 0;
  font-variation-settings: "wdth" 62; font-synthesis: none;
}
.display-s { font-variation-settings: "wdth" 72; }
.stress { font-variation-settings: "wdth" 132; color: var(--signal-text); letter-spacing: -0.02em; }
.stress-plain { font-variation-settings: "wdth" 132; letter-spacing: -0.02em; }
.label, .readout { text-transform: uppercase; color: var(--ink-2); margin: 0; }
.lead, .body, .small, .title { margin: 0; }
.muted { color: var(--ink-2); }
.signal { color: var(--signal-text); }
.measure { max-width: 62ch; }

/* ── rule: a section line with ticks and an index ─────────────────────── */
.rule { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-3); border-top: 1px solid var(--ink); padding-top: var(--space-2); }
.rule .ticks { height: 6px; background: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 8px); }
.hair { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ── button ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: 44px; padding: 0 var(--space-5);
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: var(--radius-0);
  cursor: pointer; position: relative; white-space: nowrap;
  font-variation-settings: "wdth" 100;
  transition: background-color var(--dur-2) var(--ease-impact), color var(--dur-2) var(--ease-impact), border-color var(--dur-2) var(--ease-impact), font-variation-settings var(--dur-1) var(--ease-impact);
}
.btn .arrow { display: inline-block; transition: transform var(--dur-3) var(--ease-settle); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn:hover .arrow { transform: translateX(6px); }
.btn:active { font-variation-settings: "wdth" 82; }
.btn-primary { background: var(--signal); color: var(--on-signal); border-color: var(--on-signal); }
[data-theme="depth"] .btn-primary { border-color: var(--signal); }
.btn-primary:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn-text { border-color: transparent; padding: 0; min-height: 32px; border-bottom: 1px solid var(--ink); }
.btn-text:hover { background: transparent; color: var(--signal-text); border-bottom-color: var(--signal-line); }
.btn[disabled] { color: var(--ink-2); border-color: var(--rule-strong); background: transparent; cursor: not-allowed; }

/* ── readout: label, leader, value ────────────────────────────────────── */
.readout-list { margin: 0; display: grid; gap: var(--space-2); font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.readout-list > div { display: flex; align-items: baseline; gap: var(--space-2); }
.readout-list dt { color: var(--ink-2); }
.readout-list dt::before { content: "//"; color: var(--signal-text); }
.readout-list .leader { flex: 1; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-3px); min-width: var(--space-5); }
.readout-list dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout-list dd.live { color: var(--signal-text); }

/* ── field ────────────────────────────────────────────────────────────── */
.field { display: grid; gap: var(--space-2); }
.field > span { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.input {
  width: 100%; min-height: 44px; padding: var(--space-3) 0; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; font: 350 16px/1.4 var(--font-text);
  transition: border-color var(--dur-2) var(--ease-impact);
}
.input::placeholder { color: var(--ink-2); opacity: 1; }
.input:hover { border-bottom-color: var(--ink); }
.input:focus-visible { outline: 0; border-bottom: 2px solid var(--signal-line); padding-bottom: calc(var(--space-3) - 1px); }
.input[aria-invalid="true"] { border-bottom: 2px solid var(--sev-critical); }
.field-row { display: flex; gap: var(--space-4); align-items: end; }
.field-row .field { flex: 1; }
.field-msg { font: 400 13px/1.5 var(--font-mono); color: var(--ink-2); margin: 0; }

/* ── severity: colour + hatch + word, never colour alone ──────────────── */
.sev { display: inline-flex; align-items: center; gap: var(--space-2); font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.sev i { width: 14px; height: 14px; border: 1px solid currentColor; display: block; flex: none; }
.sev-critical i { color: var(--sev-critical); background: currentColor; }
.sev-high i { color: var(--sev-high); background: repeating-linear-gradient(45deg, currentColor 0 2px, transparent 2px 4px); }
.sev-medium i { color: var(--sev-medium); background: repeating-linear-gradient(45deg, currentColor 0 1px, transparent 1px 5px); }
.sev-low i { color: var(--sev-low); background: radial-gradient(currentColor 1px, transparent 1.2px) 0 0 / 4px 4px; }
.sev-info i { color: var(--sev-info); }

/* ── finding row ──────────────────────────────────────────────────────── */
.finding { display: grid; grid-template-columns: 124px 96px 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-3); border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: background-color var(--dur-2) var(--ease-impact); }
.finding:last-child { border-bottom: 1px solid var(--rule); }
.finding .id { font: 400 12px/1 var(--font-mono); color: var(--ink-2); }
.finding .what { font: 400 16px/1.35 var(--font-text); }
.finding .go { font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--ink-2); transform: translateX(-6px); opacity: 0; transition: transform var(--dur-3) var(--ease-settle), opacity var(--dur-2); }
.finding:hover, .finding:focus-visible { background: var(--ground-2); }
.finding:hover .go, .finding:focus-visible .go { transform: none; opacity: 1; color: var(--signal-text); }

/* ── ledger: the comparison table ─────────────────────────────────────── */
.ledger { width: 100%; border-collapse: collapse; font: 350 15px/1.45 var(--font-text); }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: var(--space-4) var(--space-4) var(--space-4) 0; border-top: 1px solid var(--rule); }
.ledger thead th { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); border-top: 1px solid var(--ink); }
.ledger tbody th { font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); width: 22%; }
.ledger td.us { color: var(--ink); font-weight: 500; }
.ledger td.them { color: var(--ink-2); }
.ledger thead th.us { color: var(--signal-text); }
.ledger td.pending { color: var(--ink-2); font: 400 12px/1.5 var(--font-mono); background: repeating-linear-gradient(45deg, transparent 0 6px, var(--ground-2) 6px 7px); }

/* ── core log: the engagement as a ruled timeline ─────────────────────── */
.corelog { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.corelog > li { list-style: none; padding: var(--space-4) var(--space-5) var(--space-5) 0; border-left: 1px solid var(--rule); padding-left: var(--space-4); position: relative; }
.corelog > li:first-child { border-left: 0; padding-left: 0; }
.corelog > li::before { content: ""; position: absolute; left: -1px; top: -1px; width: 1px; height: 14px; background: var(--signal-line); }
.corelog > li:first-child::before { left: 0; }
.corelog { margin: 0; padding: 0; }
.corelog .when { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-text); margin: 0 0 var(--space-4); }
.corelog p { margin: var(--space-3) 0 0; color: var(--ink-2); font-size: 15px; }

/* ── terminal: a well, no window dressing ─────────────────────────────── */
.term { background: var(--ground-3); color: var(--ink); font: 400 13px/1.7 var(--font-mono); }
.term-head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-2) var(--space-4); border-bottom: 1px solid var(--rule); font: 500 10px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.term-head button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 2px 0; cursor: pointer; }
.term pre { margin: 0; padding: var(--space-4); white-space: pre-wrap; min-height: 9lh; }
.term .dim { color: var(--ink-2); }
.term .hit { color: var(--signal-text); }
.term .caret { display: inline-block; width: 0.6em; height: 1.1em; background: var(--signal-line); vertical-align: text-bottom; animation: es-caret 1s steps(1) infinite; }
@keyframes es-caret { 50% { opacity: 0; } }

/* ── wordmark: the name cut by a fault ────────────────────────────────── */
.wordmark { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 132; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; color: var(--ink); white-space: nowrap; }
.wordmark > span { display: block; }
.wordmark > .upper { clip-path: polygon(0 0, 100% 0, 100% 34%, 0 66%); }
.wordmark > .lower { position: absolute; inset: 0; clip-path: polygon(0 66%, 100% 34%, 100% 100%, 0 100%); transform: translateX(0.085em); }
.wordmark > .fault { position: absolute; left: 0; right: -0.085em; top: 0; bottom: 0; pointer-events: none; }
.mark { display: inline-block; width: 0.5em; height: 1em; color: var(--ink); }

/* ── slip hover: the tremor glitch, pure CSS ──────────────────────────────
   The element carries its own text in data-text; two clipped copies jump
   sideways in steps and lock. Technique: clip-path slices + translateX. */
.slip { position: relative; display: inline-block; }
.slip::before, .slip::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.slip::before { color: var(--signal-line); }
.slip:hover::before, .slip.is-slipping::before { opacity: 1; animation: es-slip-a var(--dur-3) steps(1) both; }
.slip:hover::after, .slip.is-slipping::after { opacity: 1; animation: es-slip-b var(--dur-3) steps(1) both; }
@keyframes es-slip-a {
  0% { clip-path: inset(0 0 68% 0); transform: translateX(-0.12em); }
  20% { clip-path: inset(42% 0 30% 0); transform: translateX(0.1em); }
  40% { clip-path: inset(74% 0 4% 0); transform: translateX(-0.06em); }
  60% { clip-path: inset(18% 0 58% 0); transform: translateX(0.05em); }
  80% { clip-path: inset(56% 0 22% 0); transform: translateX(-0.02em); }
  100% { clip-path: inset(0 0 100% 0); transform: none; opacity: 0; }
}
@keyframes es-slip-b {
  0% { clip-path: inset(52% 0 12% 0); transform: translateX(0.14em); }
  25% { clip-path: inset(8% 0 70% 0); transform: translateX(-0.08em); }
  50% { clip-path: inset(30% 0 46% 0); transform: translateX(0.07em); }
  75% { clip-path: inset(80% 0 0 0); transform: translateX(-0.03em); }
  100% { clip-path: inset(0 0 100% 0); transform: none; opacity: 0; }
}

/* ── cursor ───────────────────────────────────────────────────────────── */
.es-cursor { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; mix-blend-mode: difference; color: #eceeea; }
.es-cursor .dot { position: absolute; left: 0; top: 0; display: block; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: currentColor; }
.es-cursor .lag { position: absolute; left: 0; top: 0; display: block; }
.es-cursor .ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border: 1px solid currentColor; transition: width var(--dur-3) var(--ease-settle), height var(--dur-3) var(--ease-settle), left var(--dur-3) var(--ease-settle), top var(--dur-3) var(--ease-settle), border-radius var(--dur-3); }
.es-cursor .ring::before, .es-cursor .ring::after { content: ""; position: absolute; background: currentColor; }
.es-cursor .ring::before { left: 50%; top: -5px; width: 1px; height: 4px; box-shadow: 0 calc(100% + 34px) 0 currentColor; }
.es-cursor .ring::after { top: 50%; left: -5px; height: 1px; width: 4px; }
.es-cursor .tag { position: absolute; left: 20px; top: 14px; font: 500 10px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity var(--dur-2), transform var(--dur-3) var(--ease-settle); }
.es-cursor[data-state="open"] .ring, .es-cursor[data-state="drag"] .ring { left: -24px; top: -24px; width: 48px; height: 48px; }
.es-cursor[data-state="drag"] .ring { border-radius: 50%; }
.es-cursor[data-state="read"] .ring { left: -1px; top: -14px; width: 2px; height: 28px; background: currentColor; }
.es-cursor[data-state="probe"] .ring { left: -6px; top: -6px; width: 12px; height: 12px; }
.es-cursor[data-state] .tag { opacity: 1; transform: none; }
.es-cursor[data-state="read"] .tag { opacity: 0; }
.has-es-cursor, .has-es-cursor * { cursor: none !important; }
.has-es-cursor input, .has-es-cursor textarea, .has-es-cursor select { cursor: auto !important; }

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

/* earthshakersecurity.com — the chrome every page shares: base rules, the
   fluid type scale, the top bar, the status bar and the footer.
   scripts/build-ds.js appends this to the design-system bundle, so the Astro
   pages and the static blog load exactly the same file. Page layout is in
   src/styles/site.css; the blog's is the CSS constant in build-blog.js. */
:root {
  --gutter: var(--space-5);
  --edge: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --top-h: 64px;
  --hud-h: 32px;
}

html { scroll-padding-top: calc(var(--top-h) + 16px); }
body { overflow-x: clip; min-height: 100vh; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 600; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 16px; background: var(--plate-ink); color: var(--plate-paper); font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.skip:focus { left: 12px; top: 12px; }

/* ── fluid type: the scale in tokens.json is the desktop end ───────────── */
.display-xl { font-size: clamp(3.1rem, 9.4vw + 0.4rem, 10.5rem); }
.display-l { font-size: clamp(2.3rem, 5vw + 0.6rem, 5.75rem); }
.display-m { font-size: clamp(1.9rem, 2.4vw + 1rem, 3.25rem); }
.display-s { font-size: clamp(1.2rem, 0.7vw + 1rem, 1.7rem); }
.lead { font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.35rem); }
.display-xl, .display-l, .display-m, .display-s { text-wrap: balance; overflow-wrap: break-word; }
.lead, .body { text-wrap: pretty; }
a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.wrap { position: relative; z-index: 2; width: min(100% - 2 * var(--edge), var(--maxw)); margin-inline: auto; }

/* ── chrome ─────────────────────────────────────────────────────────────
   The top bar takes the ground of whichever layer is passing under it, and
   gets out of the way while you scroll down. The corner readouts are blended
   by difference, so they read on any layer without being told where they are. */
.top { position: absolute; inset: 0 0 auto 0; z-index: 30; height: var(--top-h); border-bottom: 1px solid var(--rule); transition: transform var(--dur-3) var(--ease-impact); }
.js .top { position: fixed; }
.top[data-band="2"] { background: var(--ground-2); }
.top[data-band="3"] { background: var(--ground-3); }
.top[data-hidden="1"] { transform: translateY(-101%); }
.top-in { width: min(100% - 2 * var(--edge), var(--maxw)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; text-decoration: none; margin-right: auto; color: var(--ink); }
.brand .mark { width: auto; height: 26px; fill: var(--ink); }
/* The liquid mark draws over its own plain version; until it is running (or if it cannot), that is what shows. */
liquid-logo { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.foot-mark liquid-logo { gap: 0.3em; }
.top-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.top-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-3) var(--ease-impact); }
.top-nav a:hover::after, .top-nav a[aria-current="page"]::after { transform: scaleX(1); }
.top-cta { min-height: 40px; }
.top-menu { display: none; background: none; color: var(--ink); border: 1px solid var(--ink); min-height: 40px; padding: 0 14px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }

/* The status bar: readouts along the bottom edge, on the ground under it. */
.hud { position: fixed; inset: auto 0 0 0; z-index: 29; height: var(--hud-h); border-top: 1px solid var(--rule); font: 500 10px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.hud[data-band="2"] { background: var(--ground-2); }
.hud[data-band="3"] { background: var(--ground-3); }
.hud-in { width: min(100% - 2 * var(--edge), var(--maxw)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: var(--space-6); }
.hud-item { display: inline-flex; gap: var(--space-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hud-k { color: var(--ink-2); }
.hud-k::before { content: "//"; color: var(--signal-text); }
.hud-fill { flex: 1; height: 6px; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 8px); }
.hud-glyph { width: 18px; height: 18px; overflow: visible; flex: none; }
.hud-glyph path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: square; vector-effect: non-scaling-stroke; }
.hud-sound { display: inline-flex; gap: var(--space-2); align-items: center; height: 100%; padding: 0 var(--space-2); margin-right: calc(-1 * var(--space-2)); border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }
.hud-sound:hover, .hud-sound[aria-pressed="true"] { color: var(--signal-text); }
.hud-sound:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
html:not(.js) .hud { display: none; }
body:has(#pitch-host[data-on="1"]) .hud-in { padding-right: max(0px, calc(var(--pitch-w, 390px) - var(--edge) + var(--space-4))); }
.js body { padding-bottom: var(--hud-h); }

/* ── footer ────────────────────────────────────────────────────────────── */
.foot { padding-block: var(--space-9); }
.foot-mark { display: flex; align-items: center; gap: 0.3em; font-size: clamp(1.9rem, 7.6vw, 8rem); margin-bottom: var(--space-8); }
.foot-trident { height: 1.3em; width: auto; fill: var(--ink); flex: none; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--space-7) var(--gutter); border-top: 1px solid var(--ink); padding-top: var(--space-5); }
.foot-about { display: grid; gap: var(--space-3); align-content: start; max-width: 30em; }
.foot-about .lead { font-size: 17px; }
.foot-col { display: grid; gap: var(--space-3); align-content: start; }
.foot-col h2 { margin-bottom: var(--space-2); }
.foot-col a, .foot-fine a { color: var(--ink); text-decoration: none; }
.foot-col a:hover, .foot-fine a:hover { color: var(--signal-text); text-decoration: underline; }
.foot-fine { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-8); font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.foot-build { margin-left: auto; }

@media (max-width: 1180px) {
  .top-nav { display: none; }
  .top-menu { display: inline-flex; align-items: center; }
  .top-nav[data-open="1"] { display: grid; position: fixed; inset: var(--top-h) 0 auto 0; height: calc(100dvh - var(--top-h)); align-content: start; justify-items: start; gap: 0; padding: var(--space-5) var(--edge); background: var(--ground); overflow: auto; }
  .top-nav[data-open="1"] a { font-size: 15px; padding: var(--space-4) 0; width: 100%; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .hud-fill, .hud-clock, .hud-glyph { display: none; }
}
@media (max-width: 520px) {
  .top-cta { min-height: 36px; padding: 0 12px; }
  .top-menu { min-height: 36px; }
  .brand .wordmark { font-size: 13px; }
}

