:root {
  /* Deep teal-black backdrop — cinematic, warm undertone */
  --bg: #0a0f14;
  --bg-elev: #10161c;
  --bg-elev-2: #161d25;

  /* Warm off-white text, like paper in low light */
  --fg: #e6dfd3;
  --fg-dim: #9a958b;
  --fg-faint: #5f5a52;

  /* Primary: warm amber — the signage glow */
  --accent: #d4a373;
  --accent-hover: #e8b989;

  /* Secondary: desaturated teal — the atmosphere */
  --cool: #5fa0b0;

  --border: #1c232c;
  --border-strong: #2a333e;

  --radius: 4px;
  --maxw: 1180px;

  /* Vignelli-style: Helvetica throughout. No serif cosplay. */
  --font-sans: "Helvetica Neue", Helvetica, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* Layered atmosphere: warm glow top-right, cool pool bottom-left */
  background-image:
    radial-gradient(1400px 700px at 85% -10%, rgba(212, 163, 115, 0.08), transparent 55%),
    radial-gradient(1200px 800px at 10% 110%, rgba(95, 160, 176, 0.06), transparent 55%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  line-height: 1.1;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--fg-dim); max-width: 65ch; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

code, pre { font-family: var(--font-mono); font-size: 0.9em; }

hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }

::selection { background: var(--accent); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto !important; }
}
