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

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE7DB;
  --olive-dark: #1A2E0A;
  --olive: #2C4A1E;
  --olive-mid: #4A6B2F;
  --amber: #C8860A;
  --amber-light: #D4A853;
  --charcoal: #1A1A1A;
  --warm-grey: #8A7D6B;
  --off-white: #FDFBF7;
  --r2-img: 'https://pub-629428d185ca4960a0a73c850d32294b.r2.dev';
}

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 46, 10, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 134, 10, 0.15);
  padding: 0 24px;
}

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

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-light);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.75rem;
  color: rgba(212, 168, 83, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--amber-light); }

/* ===== HERO ===== */
.hero {
  background: var(--olive-dark);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200, 134, 10, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-light);
  margin-bottom: 20px;
  opacity: 0.8;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.15;
}

.hero-lede {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}

.hero-image-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--amber);
  padding: 16px 20px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-line {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive-dark);
  font-weight: 600;
}

/* ===== SECTION SHARED ===== */
.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-eyebrow.dark { color: var(--amber); }

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--olive-dark);
  margin-bottom: 24px;
}

.section-heading.centered { text-align: center; }

.section-heading.dark { color: var(--cream); }

/* ===== ORIGIN ===== */
.origin {
  padding: 100px 24px;
  background: var(--cream);
}

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

.origin-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
}

.origin-text-col p {
  color: #4A3F35;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.origin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(44, 74, 30, 0.15);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--warm-grey);
  line-height: 1.4;
}

/* ===== TRACEABILITY ===== */
.traceability {
  padding: 100px 24px;
  background: var(--olive-dark);
  position: relative;
}

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

.trace-text-col p {
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 20px;
  line-height: 1.75;
}

.trace-text-col p:last-child {
  font-size: 0.85rem;
  color: rgba(212, 168, 83, 0.6);
  border-left: 2px solid var(--amber);
  padding-left: 16px;
  margin-top: 24px;
}

.trace-list {
  list-style: none;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trace-list li {
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  border-left: 2px solid var(--amber);
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.5;
}

.trace-list li strong {
  color: var(--amber-light);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.trace-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

/* ===== VARIETIES ===== */
.varieties {
  padding: 100px 24px;
  background: var(--cream-dark);
}

.varieties-inner { max-width: 1100px; margin: 0 auto; }

.varieties-header { text-align: center; margin-bottom: 56px; }

.varieties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.variety-card {
  background: var(--off-white);
  padding: 40px 36px;
  border-radius: 2px;
  border: 1px solid rgba(44, 74, 30, 0.1);
}

.variety-card--accent {
  background: var(--olive-dark);
}

.variety-card--accent .variety-name,
.variety-card--accent .variety-region,
.variety-card--accent .variety-desc { color: var(--cream); }

.variety-card--accent .variety-detail span {
  background: rgba(200, 134, 10, 0.15);
  color: var(--amber-light);
}

.variety-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.variety-icon svg { width: 100%; height: 100%; }

.variety-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--olive-dark);
  margin-bottom: 4px;
}

.variety-region {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
  margin-bottom: 16px;
}

.variety-desc {
  font-size: 0.9rem;
  color: #4A3F35;
  line-height: 1.65;
  margin-bottom: 24px;
}

.variety-detail {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variety-detail span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: rgba(44, 74, 30, 0.08);
  color: var(--olive-mid);
  border-radius: 100px;
  font-weight: 500;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 24px 120px;
  background: var(--olive-dark);
}

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

.closing-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
}

.closing-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.2;
}

.closing-body {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.75;
  margin-bottom: 16px;
}

.closing-pillars {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(200, 134, 10, 0.2);
  padding-top: 32px;
}

.pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 20px;
  border-left: 1px solid rgba(200, 134, 10, 0.2);
}

.pillar:first-child { border-left: none; padding-left: 0; }

.pillar-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(212, 168, 83, 0.5);
}

.pillar-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--amber-light);
}

/* ===== FOOTER ===== */
.footer {
  background: #0D1A06;
  padding: 48px 24px;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber-light);
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(212, 168, 83, 0.4);
}

.footer-meta p {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.3);
  line-height: 1.6;
  text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid,
  .origin-inner,
  .trace-inner,
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-img { height: 320px; }
  .origin-img { height: 320px; }
  .trace-img { height: 320px; }
  .closing-img { height: 320px; }

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

  .origin-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-meta p { text-align: left; }

  .closing-pillars {
    gap: 16px;
    flex-wrap: wrap;
  }

  .pillar { padding: 0; border-left: none; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 20px 80px; }
  .origin { padding: 72px 20px; }
  .traceability { padding: 72px 20px; }
  .varieties { padding: 72px 20px; }
  .closing { padding: 72px 20px 90px; }

  .origin-stats {
    grid-template-columns: 1fr;
  }
}