/* ---------- Tokens ---------- */
:root {
  --bg: oklch(0.985 0.005 80);          /* warm near-white */
  --bg-elev: oklch(0.97 0.005 80);
  --fg: oklch(0.15 0.005 80);           /* warm near-black */
  --muted: oklch(0.55 0.005 80);
  --muted-2: oklch(0.72 0.005 80);
  --line: oklch(0.88 0.005 80);
  --line-strong: oklch(0.78 0.005 80);

  --ff-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Top Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fg);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active {
  color: var(--fg);
  background: var(--bg-elev);
}

/* ---------- Page footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 120px;
  padding: 28px 0 36px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot .mono { font-family: var(--ff-mono); letter-spacing: -0.01em; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.h1 {
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
}
.h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
}
.h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0;
}
.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.mono { font-family: var(--ff-mono); }

/* ---------- Striped placeholder ---------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.93 0.005 80) 0,
      oklch(0.93 0.005 80) 10px,
      oklch(0.96 0.005 80) 10px,
      oklch(0.96 0.005 80) 20px
    );
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder .label {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  letter-spacing: -0.01em;
}

/* ---------- Icon button (socials) ---------- */
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-link:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-1px);
}
.icon-link svg { width: 18px; height: 18px; }
