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

  /* ─── DESIGN TOKENS ─── */
  :root {
    /* Dark mode values */
    --bg: #0a0a0a;
    --bg-surface: #111;
    --fg: #f0ede6;
    --fg-muted: rgba(240,237,230,0.45);
    --accent: #c8ff00;
    --border: rgba(240,237,230,0.08);

    /* Transition for theme switch */
    --theme-transition: background 0.6s ease, color 0.6s ease;
  }

  /* ─── LIGHT MODE OVERRIDE ─── */
  [data-theme="light"] {
    --bg: #f5f2eb;
    --bg-surface: #ede9e0;
    --fg: #111;
    --fg-muted: rgba(17,17,17,0.45);
    --border: rgba(17,17,17,0.1);
  }

  html {
    background: var(--bg);
    color: var(--fg);
    transition: var(--theme-transition);
  }

  body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    transition: var(--theme-transition);
  }

  /* ─── CANVAS GRAIN OVERLAY ─── */
  /*
    Canvas element covers entire viewport.
    JS draws animated noise on it.
    pointer-events:none = doesn't interfere with UI.
    mix-blend-mode:overlay = blends naturally with any background.
  */
  #grain-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: 0.08;
    mix-blend-mode: overlay;
    /* Hide in light mode (or reduce opacity) */
  }

  [data-theme="light"] #grain-canvas {
    opacity: 0.04;
  }

  /* ─── VIGNETTE LAYER ─── */
  /*
    Radial gradient from transparent center to dark edges.
    Creates cinematic depth — makes content "float" in space.
  */
  .vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
      ellipse at center,
      transparent 50%,
      rgba(0,0,0,0.5) 100%
    );
    transition: opacity 0.6s ease;
  }

  [data-theme="light"] .vignette {
    opacity: 0;
  }

  /* ─── CONTENT ─── */
  .content {
    position: relative;
    z-index: 2;
    padding: 8vw;
    min-height: 100vh;
  }

  /* ─── THEME TOGGLE ─── */
  .theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 300;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--fg);
    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: var(--theme-transition), transform 0.2s ease;
  }

  .theme-toggle:hover {
    transform: scale(1.05);
  }

  /* ─── TYPOGRAPHY ─── */
  h1 {
    font-size: clamp(3.5rem, 10vw, 9rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 4rem;
    transition: color 0.6s ease;
  }

  .accent-text {
    color: var(--accent);
  }

  /* ─── INFO BLOCKS ─── */
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
  }

  .info-block {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
  }

  .info-block:hover {
    background: var(--bg-surface);
  }

  .info-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 0.75rem;
  }

  .info-value {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
  }

  /* ─── LARGE BODY TEXT ─── */
  .body-text {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--fg-muted);
    max-width: 700px;
    margin-top: 3rem;
  }

  /* ─── CURSOR: none ─── */
  html, body { cursor: none; }

  /* ─── CHROMATIC ABERRATION CANVASES ─── */
  #ca-r, #ca-b {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 199;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    mix-blend-mode: screen;
  }
  #ca-r { filter: saturate(3) hue-rotate(0deg); }
  #ca-b { filter: saturate(3) hue-rotate(180deg); }

  /* ─── FOCAL INDICATOR RING CURSOR ─── */
  #focal-indicator {
    position: fixed;
    pointer-events: none;
    z-index: 500;
    transform: translate(-50%, -50%);
    top: -100px;
    left: -100px;
    transition: opacity 0.2s;
  }

  #focal-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: focal-spin 8s linear infinite;
  }

  @keyframes focal-spin { to { rotate: 360deg; } }

  .focal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(201,168,76,0.9);
    box-shadow: 0 0 8px rgba(201,168,76,0.8);
    position: relative;
    z-index: 1;
  }

  /* Tick marks at 4 cardinal points */
  .focal-tick {
    position: absolute;
    background: rgba(201,168,76,0.7);
  }
  .focal-tick-n, .focal-tick-s {
    width: 1px;
    height: 6px;
  }
  .focal-tick-e, .focal-tick-w {
    width: 6px;
    height: 1px;
  }
  .focal-tick-n { top: 2px; left: 50%; transform: translateX(-50%); }
  .focal-tick-s { bottom: 2px; left: 50%; transform: translateX(-50%); }
  .focal-tick-e { right: 2px; top: 50%; transform: translateY(-50%); }
  .focal-tick-w { left: 2px; top: 50%; transform: translateY(-50%); }

  /* ─── HUD ─── */
  @import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');

  #hud {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 300;
    pointer-events: none;
  }

  .hud-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.45rem;
    letter-spacing: 0.2em;
    color: rgba(201,168,76,0.4);
    text-transform: uppercase;
    line-height: 2;
  }

  /* ─── BACK LINK ─── */
  .back-link {
    position: fixed; top: 1.2rem; left: 1.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(200,184,74,0.5); text-decoration: none; z-index: 9999;
    transition: color 0.2s;
  }
  .back-link:hover { color: rgba(200,184,74,1); }
