/* Shared look for every NMAC page: matches gordonelnagar.dev.
   Inter (self-hosted, SIL OFL; see fonts/LICENSE-Inter.txt), square corners, ink rules, hard shadows, cobalt accent.
   Linked after each page's own <style>, so it wins on equal specificity. Map data colours are left alone. */
@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --f-display: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-data: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --bg: #eef0f3; --panel: #ffffff; --ink: #0c0e11; --muted: #4d5560; --rule: #0c0e11; --focus: #0b46ff; --coded: #0b46ff;
  --sh: 3px 3px 0 var(--ink);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rule: #3a4250; --focus: #7d9bff; --coded: #7d9bff; --sh: 3px 3px 0 #000; } }
:root[data-theme="dark"] { --rule: #3a4250; --focus: #7d9bff; --coded: #7d9bff; --sh: 3px 3px 0 #000; }

* { border-radius: 0 !important; }
html { scroll-behavior: auto; }
*, *::before, *::after { transition: none !important; }
body { font-feature-settings: "cv11", "ss01"; background: var(--bg); }
@media (prefers-color-scheme: light) { body { background: radial-gradient(1200px 600px at 85% -10%, #e3e9ff 0, transparent 60%), radial-gradient(900px 500px at -10% 110%, #e9ecf2 0, transparent 60%), #f3f5f8; } }

/* headings: Inter, tight, Gotham-like uppercase eyebrows */
h1 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.015em; }
h2, h3, .panel h2, .aside-h h2, .card-h h3, .notes h2 { font-family: var(--f-display); letter-spacing: -.005em; }
.eyebrow { font: 500 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.counter .big, .status b { font-family: var(--f-display); letter-spacing: -.01em; }

/* boxes: ink outline and a hard offset shadow */
.box, .panel, .mapbox, .card, iframe#frame { border: 1.5px solid var(--rule) !important; box-shadow: var(--sh); }
.card:hover { outline: 2px solid var(--focus); outline-offset: -2px; }

/* controls: square, mono, uppercase */
button, .btn, .pick select { font-family: var(--f-data); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid var(--rule); background: var(--panel); }
button:hover, .btn:hover { background: #dfe6ff; color: var(--ink); }
button[aria-pressed="true"], button.on, button.active, .stepbtns button[aria-current], .stepbtns button.on { background: var(--focus); color: #fff; border-color: var(--focus); }
.tabs button { font: 500 12px/1 var(--f-data); letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid transparent; border-bottom: none; }
.tabs button[aria-selected="true"], .tabs button.on, .tabs button.active { background: var(--panel); color: var(--ink); border-color: var(--rule); box-shadow: inset 0 3px 0 var(--focus); }
.pill, .chip { font-family: var(--f-data); border: 1px solid var(--rule); }
.warn { border-left: 3px solid var(--flag); }
a { color: var(--focus); }
