/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F8F6F1;
  --bg-warm: #F0E8E0;
  --bg-dark: #1A1714;
  --accent: #E05D26;
  --accent-dark: #B84315;
  --text: #1A1714;
  --text-muted: #7A6D66;
  --text-light: #FAF8F5;
  --border: #E2D9CF;
  --radius: 6px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.wordmark span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 2.5rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--text); }

/* === HERO === */
.hero {
  padding: 8rem 2rem 6rem;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 100%);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

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

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--text);
  color: var(--text-light);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-hero:hover {
  background: #374151;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-hero-secondary:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.stat-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-visual {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 23, 20, 0.12), 0 4px 16px rgba(26, 23, 20, 0.06);
  aspect-ratio: 4/3;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === SECTION SHARED === */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4rem;
  max-width: 20ch;
}

/* === HOW IT WORKS === */
.how {
  padding: 7rem 2rem;
  background: #FFFFFF;
}

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

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.step:last-child { border-right: none; }

.step-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === CAPABILITIES === */
.capabilities {
  padding: 7rem 2rem;
  background: var(--bg);
}

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

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cap-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cap-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(224, 93, 38, 0.08);
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1.25rem;
  display: block;
}

.cap-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.cap-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === OUTCOMES === */
.outcomes {
  padding: 7rem 2rem;
  background: var(--bg-dark);
}

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

.outcomes .section-headline { color: var(--text-light); }
.outcomes .section-eyebrow { color: rgba(224, 93, 38, 0.8); }

.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.outcome {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.outcome:last-child { border-bottom: none; }

.outcome-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.outcome-text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(250,248,245,0.75);
}

.outcome-text strong {
  color: var(--text-light);
  font-weight: 600;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  background: var(--accent);
}

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

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  max-width: 60ch;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  padding: 2.5rem 2rem;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-light);
}

.footer-wordmark span { color: var(--accent); }

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(250,248,245,0.4);
  margin-top: 0.2rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250,248,245,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { order: -1; }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
  }

  .step:last-child { border-bottom: none; }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .site-nav { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .how { padding: 5rem 1.25rem; }
  .capabilities { padding: 5rem 1.25rem; }
  .outcomes { padding: 5rem 1.25rem; }
  .closing { padding: 5rem 1.25rem; }

  .stat-row { gap: 1.5rem; }

  .footer-inner { gap: 0.75rem; }
}