:root {
  --navy: #0f2744;
  --gold: #d4a853;
  --sand: #faf8f5;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e0d8;
  --serif: 'Source Serif 4', Georgia, serif;
  --display: 'Fraunces', Georgia, serif;
}

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

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

body {
  font-family: var(--serif);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  padding: 1.5rem 2.5rem;
  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: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav__tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  padding: 7rem 2.5rem 5rem;
  background: var(--navy);
  color: var(--sand);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(212,168,83,0.06) 39px,
    rgba(212,168,83,0.06) 40px
  );
  pointer-events: none;
}
.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero__headline {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--sand);
}
.hero__headline em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(250,248,245,0.7);
  max-width: 42ch;
}
.hero__signal {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.hero__stat { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.hero__stat-num {
  display: block;
  font-family: var(--display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero__stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: rgba(250,248,245,0.6);
  line-height: 1.4;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.manifesto__inner {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto__body {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 2rem;
}
.manifesto__body--accent {
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--navy);
  font-weight: 300;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

/* ── SERVICES ── */
.services { padding: 6rem 2.5rem; background: #f4f1eb; }
.services__inner { max-width: 1100px; margin: 0 auto; }
.services__heading {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.service-card {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.service-card:nth-child(odd) { padding-right: 3rem; border-right: 1px solid var(--border); }
.service-card:nth-child(even) { padding-left: 3rem; }
.service-card:nth-last-child(-n+2) { border-bottom: none; }
.service-card__num {
  font-family: var(--display);
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.service-card__title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.75rem;
  line-height: 1.2;
}
.service-card__desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}
.service-card--llm { background: var(--navy); padding: 2.5rem; margin: -2.5rem -2.5rem -2.5rem 0; }
.service-card--llm .service-card__num { color: var(--gold); }
.service-card--llm .service-card__title { color: var(--sand); }
.service-card--llm .service-card__desc { color: rgba(250,248,245,0.65); }
.service-card__badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* ── PROCESS ── */
.process { padding: 6rem 2.5rem; border-bottom: 1px solid var(--border); }
.process__inner { max-width: 720px; margin: 0 auto; }
.process__heading {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}
.process__steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding-bottom: 3rem; }
.step:last-child { padding-bottom: 0; }
.step__marker { display: flex; flex-direction: column; align-items: center; }
.step__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sand);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__line { width: 1px; flex: 1; background: var(--border); margin-top: 0.75rem; min-height: 3rem; }
.step:last-child .step__line { display: none; }
.step__title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.step__desc { font-size: 1rem; color: var(--muted); line-height: 1.65; }

/* ── PROOF ── */
.proof { padding: 6rem 2.5rem; background: var(--navy); color: var(--sand); }
.proof__inner { max-width: 1100px; margin: 0 auto; }
.proof__stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 4rem;
}
.proof__stat { flex: 1; padding: 0 3rem; text-align: center; }
.proof__stat:first-child { padding-left: 0; }
.proof__stat:last-child { padding-right: 0; }
.proof__divider { width: 1px; height: 4rem; background: rgba(212,168,83,0.3); flex-shrink: 0; }
.proof__value {
  display: block;
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.proof__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(250,248,245,0.5);
  line-height: 1.4;
}
.proof__callout {
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(250,248,245,0.7);
  max-width: 60ch;
  line-height: 1.6;
}

/* ── CLOSER ── */
.closer {
  padding: 7rem 2.5rem;
  background: var(--sand);
  text-align: center;
}
.closer__inner { max-width: 800px; margin: 0 auto; }
.closer__line {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.closer__line--sub {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--muted);
  font-style: italic;
}
.closer__statement {
  margin-top: 3rem;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.footer__geo {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__signal { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .hero__stat { border-left: 2px solid var(--gold); padding-left: 1rem; flex: 1 1 40%; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card:nth-child(odd) { border-right: none; padding-right: 0; }
  .service-card:nth-child(even) { padding-left: 0; }
  .service-card--llm { margin: 0; }
  .proof__stat-row { flex-direction: column; gap: 2rem; }
  .proof__stat { padding: 0; text-align: left; display: flex; align-items: baseline; gap: 1rem; }
  .proof__divider { display: none; }
  .proof__value { font-size: 2rem; }
  .footer__inner { flex-wrap: wrap; }
  .footer__tagline { margin-left: 0; }
  .nav { padding: 1rem 1.5rem; }
  .hero, .manifesto, .services, .process, .proof, .closer { padding-left: 1.5rem; padding-right: 1.5rem; }
}