:root {
  --bg: #faf7f2;
  --fg: #1a0d07;
  --accent: #c8873b;
  --accent-light: #e8c49a;
  --muted: #8a7060;
  --surface: #f2ece3;
  --surface-dark: #e4d9cd;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  font-weight: 700;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--surface-dark);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 48px 80px;
  align-items: center;
  min-height: 88vh;
  border-bottom: 1px solid var(--surface-dark);
}

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

.hero-headline {
  font-size: clamp(42px, 5.5vw, 76px);
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 52px;
}

.hero-meta {
  display: flex;
  gap: 40px;
}

.hero-stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bean-stack {
  position: relative;
  width: 280px;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bean {
  position: absolute;
  width: 120px;
  height: 160px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--fg);
  opacity: 0.08;
}

.bean-1 { transform: rotate(-18deg) translateY(0px); opacity: 0.12; }
.bean-2 { transform: rotate(-6deg) translateY(-18px); opacity: 0.10; }
.bean-3 { transform: rotate(6deg) translateY(-36px); opacity: 0.14; }
.bean-4 { transform: rotate(18deg) translateY(-54px); opacity: 0.10; }
.bean-5 {
  transform: rotate(30deg) translateY(-72px);
  width: 130px;
  height: 170px;
  opacity: 0.22;
  background: var(--accent);
}

.roast-badge {
  position: absolute;
  bottom: 60px;
  background: var(--accent);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
}

.badge-day {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge-date {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* PROVENANCE */
.provenance {
  padding: 96px 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-dark);
}

.provenance-inner { max-width: 960px; margin: 0 auto; }

.provenance-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 56px;
}

.provenance-flow {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.flow-step { flex: 1; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--surface-dark);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.step-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.flow-arrow {
  color: var(--accent);
  margin-top: 40px;
  flex-shrink: 0;
}

.provenance-note {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--surface-dark);
}

.provenance-note p {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--fg);
  max-width: 560px;
}

/* FEATURES */
.features {
  padding: 96px 48px;
  border-bottom: 1px solid var(--surface-dark);
}

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

.features-header { margin-bottom: 64px; }

.features-title {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 520px;
}

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

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

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

.feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* PULL QUOTE */
.pullquote {
  background: var(--fg);
  color: var(--bg);
  padding: 96px 48px;
  border-bottom: 1px solid var(--surface-dark);
}

.pullquote-inner { max-width: 760px; margin: 0 auto; }

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 32px;
}

.quote-attribution {
  font-size: 14px;
  color: var(--accent-light);
  letter-spacing: 0.04em;
}

/* CLOSING */
.closing {
  padding: 120px 48px;
  border-bottom: 1px solid var(--surface-dark);
}

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

.closing-headline {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 64px;
}

.closing-stamp {
  display: flex;
  gap: 56px;
  justify-content: center;
  align-items: center;
}

.stamp-roast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.stamp-roast span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* FOOTER */
.footer {
  padding: 48px;
  background: var(--surface);
}

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

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

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-tagline { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 48px;
    gap: 48px;
    min-height: auto;
  }

  .hero-headline { font-size: 40px; }
  .hero-meta { gap: 24px; }

  .hero-visual { order: -1; }
  .bean-stack { width: 180px; height: 220px; }
  .bean { width: 80px; height: 110px; }
  .bean-5 { width: 88px; height: 118px; }
  .roast-badge { bottom: 20px; padding: 12px 18px; }

  .provenance { padding: 64px 24px; }
  .provenance-flow { flex-direction: column; gap: 40px; }
  .flow-arrow { display: none; }

  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 36px; }

  .pullquote { padding: 64px 24px; }

  .closing { padding: 80px 24px; }
  .closing-stamp { gap: 32px; }

  .footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .closing-stamp { flex-direction: column; gap: 24px; }
}