/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAF5ED;
  --bg-warm: #F2EAD8;
  --fg: #2A1A0E;
  --fg-muted: #6B4F3A;
  --accent: #C4791A;
  --accent-dark: #9B5E12;
  --sage: #8B9E7D;
  --cream: #FDFAF4;
  --border: #D9C9B4;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { font-size: 1.05rem; }
.overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
em { font-style: italic; font-family: var(--font-display); }

/* ── Layout ── */
section { padding: 5rem 2rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
nav { display: flex; gap: 2rem; }
nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }

/* ── Hero ── */
.hero { background: var(--bg); }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 4rem;
}
.hero-text .overline { margin-bottom: 1.5rem; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text .lede {
  color: var(--fg-muted);
  font-size: 1.15rem;
  max-width: 42ch;
}
.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Bag mockup */
.hero-visual { display: flex; justify-content: center; }
.bag-mockup {
  width: 220px;
  height: 310px;
  background: var(--fg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(42, 26, 14, 0.25);
  transform: rotate(-1.5deg);
}
.bag-label {
  text-align: center;
  color: var(--cream);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bag-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bag-vibe {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.bag-rule {
  border: none;
  border-top: 1px solid rgba(253, 250, 244, 0.2);
  margin: 0.6rem 0;
}
.bag-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}
.bag-detail {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253,250,244,0.6);
}
.bag-note {
  font-size: 0.7rem;
  color: rgba(253,250,244,0.5);
  margin-top: 0.4rem;
}

/* Hero stats */
.hero-stats {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.stat {
  background: var(--cream);
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

/* ── Flavor ── */
.flavor { background: var(--cream); }
.flavor-inner { max-width: 1200px; margin: 0 auto; }
.flavor-header { max-width: 36ch; margin-bottom: 3.5rem; }
.flavor-header h2 { margin-top: 0.5rem; }
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.flavor-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
}
.flavor-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.flavor-icon svg { width: 100%; height: 100%; }
.flavor-card h3 { margin-bottom: 0.7rem; }
.flavor-card p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Origin ── */
.origin { background: var(--fg); color: var(--cream); }
.origin-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2rem 5rem;
  align-items: start;
}
.origin-label { grid-column: 1; grid-row: 1; }
.origin-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
}
.origin-content { grid-column: 2; grid-row: 1; }
.origin-content h2 { color: var(--cream); margin-bottom: 1.5rem; }
.origin-content p { color: rgba(253,250,244,0.75); font-size: 1.05rem; line-height: 1.7; }
.origin-content p + p { margin-top: 1rem; }
.origin-pillars {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(253,250,244,0.15);
  border: 1px solid rgba(253,250,244,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.pillar {
  background: rgba(253,250,244,0.06);
  padding: 1.4rem 1.5rem;
}
.pillar-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.pillar-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
}

/* ── Compare ── */
.compare { background: var(--bg-warm); }
.compare-inner { max-width: 900px; margin: 0 auto; }
.compare-header { margin-bottom: 2.5rem; }
.compare-header h2 { margin-top: 0.5rem; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table th {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: left;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.compare-table th + th + th { padding-left: 1.5rem; }
.compare-table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
}
.compare-table td:first-child { color: var(--fg); font-weight: 400; }
.compare-highlight {
  background: rgba(196, 121, 26, 0.08);
  color: var(--accent-dark) !important;
  font-weight: 500;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-footer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ── Testimonials ── */
.testimonials { background: var(--bg); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-inner .overline { margin-bottom: 0.5rem; }
.testimonials-inner h2 { margin-bottom: 3rem; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.8rem;
}
.testimonial p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 1.2rem;
}
.testimonial cite {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: normal;
  font-weight: 400;
}

/* ── Closing ── */
.closing {
  background: var(--fg);
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.closing p {
  color: rgba(253,250,244,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.closing-vibe {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.vibe-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  border: 1px solid rgba(196, 121, 26, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.footer-brand .wordmark {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.footer-links span {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  section { padding: 3.5rem 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .bag-mockup { width: 180px; height: 260px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .flavor-grid { grid-template-columns: 1fr; }
  .origin-inner { grid-template-columns: 1fr; }
  .origin-pillars { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; gap: 1rem; }
  .compare-table { font-size: 0.85rem; }
  .footer-inner { grid-template-columns: 1fr; }
  nav { display: none; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .origin-pillars { grid-template-columns: 1fr 1fr; }
}