:root {
  --bg: #131009;
  --fg: #F0E8D8;
  --fg-muted: #9A8F82;
  --accent: #D4A853;
  --accent-dim: rgba(212, 168, 83, 0.12);
  --surface: #1A1510;
  --border: rgba(212, 168, 83, 0.18);
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Nav */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 3rem 5rem;
}
.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 460px;
}

/* Hero Visual — Pulse Orb */
.hero-visual {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.core-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.25);
  animation: pulse 4s ease-out infinite;
}
.pulse-ring-2 { animation-delay: 1.3s; }
.pulse-ring-3 { animation-delay: 2.6s; }

@keyframes pulse {
  0% { width: 60px; height: 60px; opacity: 0.5; }
  100% { width: 160px; height: 160px; opacity: 0; }
}

/* Manifesto */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 3rem;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.manifesto-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.manifesto-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 640px;
}
.manifesto-body p + p { margin-top: 1.25rem; }

/* The Work */
.thework { padding: 5rem 3rem; }
.thework-inner { max-width: 1100px; margin: 0 auto; }
.work-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5px;
}
.work-row-2 { grid-template-columns: repeat(2, 1fr); }
.work-item {
  background: var(--bg);
  padding: 2.25rem 2rem;
}
.work-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.work-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}
.work-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* How It Runs */
.howitruns {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 3rem;
}
.howitruns-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.runs-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.runs-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.runs-number {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.runs-unit {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.3;
}
.runs-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}
.runs-items { display: flex; flex-direction: column; gap: 1rem; }
.runs-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
}
.runs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Closing */
.closing { padding: 6rem 3rem; }
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2.5rem;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.65;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem 3rem;
    gap: 2.5rem;
  }
  .hero-visual { display: none; }
  .manifesto, .thework, .howitruns, .closing { padding: 3.5rem 1.5rem; }
  .work-row { grid-template-columns: 1fr; }
  .work-row-2 { grid-template-columns: 1fr; }
  .howitruns-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .runs-divider { display: none; }
  .footer { padding: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .runs-number { font-size: 3.5rem; }
}
