/* === TOKENS === */
:root {
  --bg: #0d0d14;
  --surface: #12121c;
  --surface-2: #1a1a28;
  --fg: #f0ede6;
  --fg-muted: #8a8894;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --border: rgba(240, 237, 230, 0.08);
  --border-strong: rgba(240, 237, 230, 0.16);
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

/* === 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: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 20, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  letter-spacing: 0.08em;
}
.nav-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* === HERO === */
.hero {
  padding: 5rem 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* Grid visual */
.hero-right {
  display: flex;
  justify-content: center;
}
.grid-visual {
  position: relative;
}
.grid-visual svg {
  width: 100%;
  max-width: 360px;
  opacity: 0.9;
}
.grid-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Stats row */
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.stat-div {
  width: 1px;
  height: 2rem;
  background: var(--border-strong);
}

/* === SECTION LABEL === */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* === PROBLEM === */
.problem {
  padding: 5rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.problem-quote {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-style: normal;
}
.problem-quote em {
  font-style: italic;
  color: var(--accent);
}
.problem-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 55ch;
  line-height: 1.7;
  font-weight: 300;
}

/* === HARNESS === */
.harness {
  padding: 6rem 3rem;
}
.harness-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.harness-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.harness-headline em {
  font-style: italic;
  color: var(--accent);
}
.harness-desc {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 58ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 3.5rem;
}
.harness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.harness-card {
  padding: 2rem 2.25rem;
  background: var(--surface);
  position: relative;
}
.harness-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.harness-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.harness-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.harness-body {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--fg);
  font-style: normal;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.manifesto-quote em {
  font-style: italic;
  color: var(--accent);
}
.manifesto-attribution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
}

/* === DISCIPLINES === */
.disciplines {
  padding: 6rem 3rem;
}
.disciplines-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.disciplines-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.disciplines-headline em {
  font-style: italic;
  color: var(--accent);
}
.disciplines-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.discipline {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.discipline:first-child {
  border-top: 1px solid var(--border);
}
.discipline-marker {
  padding-top: 0.2rem;
}
.discipline-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.discipline-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.discipline-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 58ch;
  margin-bottom: 1rem;
}
.discipline-content strong {
  color: var(--fg);
  font-weight: 600;
}
.discipline-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.discipline-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.65rem;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* === CLOSING / PROCESS === */
.closing {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.closing-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.closing-headline em {
  font-style: italic;
  color: var(--accent);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process-step {}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* === FOOTER === */
.footer {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 300;
}
.footer-meta p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { display: none; }
  .hero-stat-row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .stat-div { display: none; }
  .problem, .harness, .manifesto, .disciplines, .closing { padding: 4rem 1.5rem; }
  .harness-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .discipline { grid-template-columns: 48px 1fr; gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.2rem; }
}