/* =====================
   BASE
   ===================== */
:root {
  --bg: #F7F5EF;
  --bg-dark: #0F1629;
  --fg: #0F1629;
  --fg-light: #6B7280;
  --accent: #E8A838;
  --accent-dim: #C4851C;
  --surface: #FFFFFF;
  --surface-dark: #1A2744;
  --border: rgba(15,22,41,0.12);
  --terminal-green: #4ADE80;
  --terminal-amber: #FBBF24;
  --terminal-dim: #6B8CAE;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* =====================
   NAV
   ===================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =====================
   HERO
   ===================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 0.95;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-light);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Terminal */
.hero-terminal {
  background: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(15,22,41,0.2);
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.8rem;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: #1A2744;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-amber { background: #FFBD2E; }
.dot-green { background: #28C840; }

.terminal-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-family: 'DM Sans', sans-serif;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.t-line { display: flex; gap: 0.75rem; line-height: 1.5; }
.t-ts { color: var(--terminal-amber); flex-shrink: 0; min-width: 60px; }
.t-ok { color: #E2E8F0; }
.t-dim { color: var(--terminal-dim); }
.t-done { color: var(--terminal-green); }
.t-wait { color: var(--terminal-dim); }

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--terminal-green);
}
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:0 } }

/* Stats */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  margin-bottom: 1rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-light);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* =====================
   WORK SECTION
   ===================== */
.work {
  padding: 5rem 3rem;
  background: var(--fg);
  color: var(--bg);
}

.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--bg);
  margin-bottom: 3rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(247,245,239,0.12);
  border: 1px solid rgba(247,245,239,0.12);
  border-radius: 16px;
  overflow: hidden;
}

.work-step {
  padding: 2rem 1.5rem;
  background: var(--surface-dark);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.work-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 0.75rem;
}

.work-step p {
  font-size: 0.875rem;
  color: rgba(247,245,239,0.55);
  line-height: 1.6;
}

/* =====================
   VOICE SECTION
   ===================== */
.voice {
  padding: 5rem 3rem;
  background: var(--bg);
}

.voice-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.voice-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1.25rem;
}

.voice-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.voice-body {
  font-size: 1.125rem;
  color: var(--fg-light);
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 auto 3rem;
}

.voice-metric {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  padding: 1.25rem 2.5rem;
  border-radius: 100px;
}

.vm-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.vm-desc {
  font-size: 0.8rem;
  color: rgba(247,245,239,0.6);
  font-weight: 500;
}

/* =====================
   MANIFESTO
   ===================== */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 5rem 3rem;
  background: var(--accent);
}

.manifesto-col {}

.manifesto-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.manifesto-col p {
  font-size: 1rem;
  color: rgba(15,22,41,0.7);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 1rem;
  font-style: normal;
}

.manifesto-attr {
  font-size: 0.8rem;
  color: rgba(15,22,41,0.5);
  font-weight: 500;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bg);
}

.footer-sub {
  font-size: 0.875rem;
  color: rgba(247,245,239,0.4);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; gap: 2.5rem; }
  .hero-terminal { margin-top: 1rem; }
  .stat-card { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .manifesto { grid-template-columns: 1fr; gap: 3rem; }
  .nav { padding: 1.25rem 1.5rem; }
  .work, .voice, .manifesto { padding: 3rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 3rem; }
}