@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #000;
  --fg: #f5f5f7;
  --fg-dim: rgba(255,255,255,0.62);
  --fg-faint: rgba(255,255,255,0.36);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --accent: #d8d8dc;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --max: 1280px;
  --pad-x: 56px;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }

/* ── Atmosphere ── */
.bg-vignette {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 90% 70% at 75% 30%, rgba(255,255,255,0.025) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none; z-index: 0;
}
.bg-floor {
  position: fixed; left: 0; right: 0; bottom: 0; height: 30%;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none; z-index: 0;
}
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.page { position: relative; z-index: 1; min-height: 100vh; }

/* ── Nav ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  position: relative; z-index: 10;
}
.logo {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color 0.18s;
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after {
  content: ''; display: block; height: 1px; background: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.nav-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  transition: background 0.18s;
}
.nav-cta:hover { background: rgba(255,255,255,0.14); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 120px;
  padding: 48px var(--pad-x) 36px;
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  font-size: 13px;
  color: var(--fg-dim);
}
.footer h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--fg-dim); transition: color 0.18s; }
.footer ul a:hover { color: var(--fg); }
.footer-brand .logo { font-size: 22px; margin-bottom: 12px; }
.footer-brand p { max-width: 280px; line-height: 1.55; }
.footer-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad-x) 48px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--fg-faint);
}

/* ── Type ── */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #ffffff;
}
.h-1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h-3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-dim);
  text-wrap: pretty;
}
.body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ── Pill ── */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffffff;
}
.pill-arrow { color: var(--fg-faint); margin-left: 2px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: #fff; color: #0a0a0b;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform 0.18s, background 0.18s;
}
.btn-primary:hover { background: #e8e8ea; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  padding: 12px 4px;
  font-size: 14px;
  transition: color 0.18s;
}
.btn-secondary:hover { color: #fff; }

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

/* ── Section ── */
.section { padding: 100px 0; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head .lead { margin-top: 24px; }

/* ── TBD pill ── */
.tbd {
  display: inline-block;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 200, 100, 0.1);
  color: #f5c87a;
  border: 1px solid rgba(245, 200, 122, 0.25);
  vertical-align: middle;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav { padding: 20px var(--pad-x); }
  .nav-links { display: none; }
  .footer { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
