/* ── Reset & design tokens ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
:root {
  --bg:       #0b0b0c;
  --fg:       #e8e8ea;
  --muted:    #9a9ca4;
  --link:     #2cc0b9;
  --card:     #131316;
  --border:   #1e1f23;
  --elevated: #18181c;
  --glow:     rgba(44, 192, 185, .15);
  --radius:   10px;
  --space-xs: 8px;
  --space-s:  16px;
  --space-m:  24px;
  --space-l:  36px;
  --space-xl: 52px;
}
html { scroll-behavior: smooth; }
body {
  font: 15px/1.65 'Inter', system-ui, sans-serif;
  color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Base typography ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.2;
}
a  { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Lightbox ────────────────────────────────────────── */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.88); z-index: 9999;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(94vw, 1400px); max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.lightbox .close {
  position: absolute; top: 14px; right: 18px;
  padding: 6px 12px; border-radius: 8px;
  border: 1px solid #2a2b2f; background: rgba(255,255,255,.06);
  color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer;
}
.lightbox .close:hover { background: rgba(255,255,255,.12); }
body.modal-open { overflow: hidden; }
