/* ─── Base ───────────────────────────────────────── */
:root {
  --navy:     #0f172a;
  --amber:    #f59e0b;
  --cream:    #fafaf8;
  --mid:      #e8e6e0;
  --slate:    #475569;
  --fg:       #0f172a;
  --fg-light: #64748b;
}

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

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

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

/* ─── Typography ─────────────────────────────────── */
.serif { font-family: 'Instrument Serif', Georgia, serif; }

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ─── Nav ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0 clamp(24px, 5vw, 80px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

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

/* ─── Hero ───────────────────────────────────────── */
.hero {
  padding: clamp(72px, 12vw, 140px) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  max-width: 820px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  border: 1px solid var(--amber);
  padding: 4px 12px;
  border-radius: 2px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--slate);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Stats ───────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 80px);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stat {
  background: var(--navy);
  padding: 36px 32px;
}

.stat-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(250, 250, 248, 0.5);
  line-height: 1.5;
  max-width: 180px;
}

/* ─── Section base ────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--fg);
  letter-spacing: -0.02em;
  max-width: 700px;
}

.section-headline em {
  font-style: italic;
  color: var(--amber);
}

/* ─── The Gap ─────────────────────────────────────── */
.thegap {
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 80px);
  background: var(--cream);
}

.thegap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.thegap-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 56px;
}

.thegap-col h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--fg);
}

.thegap-col p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── The Model ───────────────────────────────────── */
.themodel {
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 80px);
  background: var(--navy);
}

.themodel-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.themodel-headline {
  color: var(--cream);
}

.themodel-body {
  font-size: 1.0625rem;
  color: rgba(250, 250, 248, 0.6);
  max-width: 600px;
  margin: 28px 0 64px;
  line-height: 1.7;
}

.revenue-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.revenue-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.revenue-phase {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  color: var(--amber);
  padding-top: 2px;
}

.revenue-content h4 {
  font-size: 1.0625rem;
  color: var(--cream);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.revenue-content p {
  font-size: 0.9375rem;
  color: rgba(250, 250, 248, 0.55);
  line-height: 1.65;
  max-width: 640px;
}

/* ─── The Factory ─────────────────────────────────── */
.thefactory {
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 80px);
  background: var(--cream);
  border-top: 1px solid var(--mid);
}

.thefactory-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.factory-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 56px;
}

.factory-col h4 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.factory-col p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── The Vision ──────────────────────────────────── */
.thevision {
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 80px);
  background: var(--navy);
}

.thevision-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.thevision-content {
  max-width: 800px;
}

.thevision-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.15;
}

.thevision-body {
  font-size: 1.0625rem;
  color: rgba(250, 250, 248, 0.6);
  line-height: 1.75;
  max-width: 640px;
}

/* ─── Footer ──────────────────────────────────────── */
.footer {
  padding: 48px clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-light);
  padding-left: 24px;
  border-left: 1px solid var(--mid);
}

.footer-note {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--fg-light);
  font-style: italic;
}

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .thegap-columns {
    grid-template-columns: 1fr 1fr;
  }
  .factory-columns {
    grid-template-columns: 1fr 1fr;
  }
  .revenue-item {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .thegap-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .factory-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .revenue-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .revenue-phase {
    display: none;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-note {
    margin-left: 0;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--mid);
  }
}