/* Base tokens */
:root {
  --bg: #0b0d12;
  --bg-alt: #10131a;
  --surface: #151820;
  --fg: #e8e4dc;
  --fg-muted: #8a8578;
  --accent: #c9a84c;
  --accent-dim: rgba(201,168,76,0.15);
  --border: rgba(232,228,220,0.08);
  --border-strong: rgba(232,228,220,0.15);
  --nav-h: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(11,13,18,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.3;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* ── SECTION SHARED ── */
section { padding: 100px 48px; }

.signal-inner, .portfolio-inner, .update-inner, .manifesto-inner, .closing-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.signal-label, .portfolio-label, .update-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.signal-headline, .portfolio-headline, .update-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 20px;
  max-width: 640px;
}
.signal-body, .portfolio-body, .update-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ── SIGNAL FEATURES ── */
.signal-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.signal-feature {
  display: flex;
  gap: 16px;
}
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}
.signal-feature h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
}
.signal-feature p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── PORTFOLIO ── */
.portfolio { background: var(--bg-alt); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.portfolio-card {
  background: var(--surface);
  padding: 32px;
}
.card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── UPDATE ── */
.update-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
}
.update-metric { display: flex; flex-direction: column; gap: 6px; }
.metric-label { font-size: 0.8rem; color: var(--fg-muted); }
.metric-value { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.metric-bar { height: 3px; background: var(--border-strong); border-radius: 2px; overflow: hidden; }
.metric-fill { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

/* ── MANIFESTO ── */
.manifesto { background: var(--bg-alt); }
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 32px;
  max-width: 780px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* ── CLOSING ── */
.closing { background: var(--bg); }
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.footer-tagline { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.footer-copy { font-size: 0.8rem; color: var(--fg-muted); max-width: 320px; text-align: right; line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav, section { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: calc(var(--nav-h) + 60px); }
  .signal-features, .portfolio-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .stat-label { max-width: 140px; }
}

@media (max-width: 480px) {
  section { padding-top: 64px; padding-bottom: 64px; }
  .hero-headline { font-size: 2.25rem; }
  .stat-number { font-size: 1.6rem; }
}