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

:root {
  --bg: #f5f0e8;
  --bg-dark: #1a1a1f;
  --fg: #1a1a1f;
  --fg-light: #f5f0e8;
  --accent: #c9a84c;
  --accent-dim: #a8883c;
  --muted: #6b6b6b;
  --border: #e0d9ce;
  --card-bg: #ffffff;
}

html { scroll-behavior: smooth; }

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

.os-suffix { color: var(--accent); }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 31, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

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

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-light);
  letter-spacing: -0.02em;
}

.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: rgba(245, 240, 232, 0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--accent); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--bg-dark);
  padding: 120px 80px 80px;
  gap: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--fg-light);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 17px;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}
.stat-label {
  font-size: 11px;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(201,168,76,0.25);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.americas-map {
  width: 100%;
  max-width: 420px;
  opacity: 0.85;
}

/* === THESIS === */
.thesis { background: var(--bg); padding: 120px 80px; }
.thesis-inner { max-width: 1100px; margin: 0 auto; }

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

.thesis-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 36px;
  max-width: 700px;
}

.thesis-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 680px;
}

.thesis-drivers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}

.driver {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--border);
  padding-right: 40px;
}
.driver:nth-child(3) { border-right: none; padding-right: 0; }
.driver:nth-child(2) { padding-left: 40px; }

.driver-icon { color: var(--accent); margin-bottom: 16px; }

.driver-label {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}

.driver-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* === REGIONS === */
.regions { background: #f0ebe0; padding: 120px 80px; }
.regions-inner { max-width: 1100px; margin: 0 auto; }

.regions-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 40px;
  font-weight: 500;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.region-card {
  background: #f0ebe0;
  padding: 32px 28px;
}

.region-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 16px;
}

.region-name {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.region-commodity {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 14px;
  font-weight: 500;
}

.region-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* === FEATURES === */
.features { background: var(--bg); padding: 120px 80px; }
.features-inner { max-width: 1100px; margin: 0 auto; }

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

.features-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg);
  padding: 36px 28px;
}

.feature-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.25;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* === CLOSING === */
.closing { background: var(--bg-dark); padding: 120px 80px; }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg-light);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 16px;
  color: rgba(245,240,232,0.55);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 48px;
}

.closing-tagline {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  font-weight: 500;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 80px;
}

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

.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
}

.footer-address {
  font-size: 13px;
  color: var(--fg);
  margin-bottom: 6px;
  text-align: right;
}

.footer-legal {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 100px 40px 60px; gap: 48px; text-align: left; }
  .hero-visual { display: none; }
  .thesis { padding: 80px 40px; }
  .thesis-drivers { grid-template-columns: 1fr; }
  .driver { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .driver:nth-child(2) { padding-left: 0; }
  .regions { padding: 80px 40px; }
  .regions-grid { grid-template-columns: 1fr; }
  .features { padding: 80px 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .closing { padding: 80px 40px; }
  .site-footer { padding: 40px; }
  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-address, .footer-legal { text-align: left; }
  .header-inner { padding: 0 20px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 13px; }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
}