/* ===========================
   SourceAgents — Theme CSS
   =========================== */

:root {
  --bg: #FAFAF5;
  --surface: #FFFFFF;
  --text: #111111;
  --text-muted: #555550;
  --accent: #1B5E20;
  --accent-light: #2D7A3A;
  --border: #E2E2DA;
  --section-pad: clamp(72px, 10vw, 120px);
}

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

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

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

/* ── HERO ── */
.hero {
  padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
}

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

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-text h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
}

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.10);
  border: 1px solid var(--border);
}

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

.hero-stat-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 48px;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  margin: 0 32px;
  flex-shrink: 0;
}

/* ── SHARED SECTION ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}

.section-inner.reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-inner h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ── PIPELINE ── */
.pipeline {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.pipeline-steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.step {
  padding: 40px 32px 40px 0;
  position: relative;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin-left: 12px;
}

.step:first-child { margin-left: 0; }

.step-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── QUALIFICATION ── */
.qualification {
  border-bottom: 1px solid var(--border);
}

.qual-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 56px rgba(0,0,0,0.08);
}

.qual-image img {
  width: 100%;
  height: auto;
  display: block;
}

.qual-points {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.qual-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.qual-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,94,32,0.08);
  border-radius: 50%;
}

.qual-point strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.qual-point p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── OUTCOMES ── */
.outcomes {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.outcomes-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.outcome {
  background: var(--bg);
  padding: 48px 40px;
}

.outcome-stat {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.outcome-unit {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.outcome-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CLOSING ── */
.closing {
  background: var(--accent);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}

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

.closing-quote blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.25;
}

.closing-statement p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer {
  background: #0E1A0E;
  padding: 48px clamp(24px, 5vw, 80px);
}

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

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .hero-stat-bar { flex-direction: column; gap: 24px; padding: 28px 32px; }
  .stat-divider { width: 40px; height: 1px; margin: 0; }
  .section-inner.reverse { grid-template-columns: 1fr; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
}

@media (max-width: 600px) {
  .pipeline-steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 2px solid var(--accent); padding: 24px 0 24px 20px; margin-left: 0; }
}
