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

:root {
  --bg: #F9F5F0;
  --bg-alt: #F0EBE3;
  --fg: #1A1410;
  --fg-muted: #6B5E52;
  --green: #2A5C3F;
  --green-light: #3D7A55;
  --amber: #D4843E;
  --amber-light: #E8A55A;
  --brown: #8B6F52;
  --border: #DDD5C8;
  --border-light: #EDE6DC;
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  font-weight: 700;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

/* === LAYOUT === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr 340px;
  grid-template-rows: auto;
  gap: 0;
  padding: 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, #F9F5F0 60%, #EDE6DC 100%);
  z-index: 0;
}

.hero-eyebrow {
  position: absolute;
  top: 48px;
  left: 48px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}

.hero-headline {
  position: relative;
  z-index: 1;
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 800;
  color: var(--fg);
  padding: 160px 60px 80px 64px;
  line-height: 0.92;
  letter-spacing: -0.03em;
  border-right: 1px solid var(--border);
}

.hero-sub-col {
  position: relative;
  z-index: 1;
  padding: 160px 64px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 400px;
}

.hero-meta-row {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

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

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 80px;
}

.hero-product-col {
  position: relative;
  z-index: 1;
  padding: 120px 40px 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.hero-product-img {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(26, 20, 16, 0.15);
}

.hero-signup-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hero-signup-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-signup-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hero-signup-input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.hero-signup-input:focus { border-color: var(--green); }

.hero-signup-btn {
  padding: 12px 20px;
  background: var(--green);
  color: var(--bg);
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.hero-signup-btn:hover:not(:disabled) { background: var(--green-light); }
.hero-signup-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.hero-signup-msg {
  font-size: 0.8rem;
  min-height: 18px;
}
.hero-signup-msg.success { color: var(--green-light); }
.hero-signup-msg.error { color: #c0392b; }

/* === INGREDIENTS === */
.ingredients {
  padding: 120px 64px;
  background: var(--green);
  color: var(--bg);
}

.ingredients-header {
  max-width: 640px;
  margin-bottom: 72px;
}

.ingredients-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--bg);
  margin-top: 16px;
  line-height: 1.15;
}

.ingredients .section-label { color: var(--amber-light); }

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.ingredient-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  transition: background 0.3s ease;
}

.ingredient-card:hover { background: rgba(255,255,255,0.1); }

.ingredient-icon { margin-bottom: 24px; }
.ingredient-icon svg path, .ingredient-icon svg circle, .ingredient-icon svg rect { stroke: var(--amber-light) !important; }
.ingredient-icon svg path[fill="#2A5C3F"] { fill: var(--amber-light) !important; opacity: 0.3; }

.ingredient-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--bg);
}

.ingredient-card p {
  font-size: 0.9rem;
  color: rgba(249, 245, 240, 0.65);
  line-height: 1.65;
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 120px 64px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.philosophy-inner { max-width: 800px; }

.philosophy-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.35;
  margin: 32px 0 48px;
  font-style: normal;
}

.philosophy-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 64px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.manifesto-title {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--fg);
  margin: 20px 0 32px;
  line-height: 1.15;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.manifesto-stat-block {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 80px;
}

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

.manifesto-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.manifesto-stat-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 240px;
}

/* === CLOSING === */
.closing {
  padding: 100px 64px;
  background: var(--fg);
  color: var(--bg);
  text-align: center;
}

.closing-inner { max-width: 640px; margin: 0 auto; }

.closing-rule {
  height: 1px;
  background: rgba(249,245,240,0.2);
  margin-bottom: 48px;
}

.closing-rule:last-child { margin-bottom: 0; margin-top: 48px; }

.closing-statement {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bg);
}

/* === FOOTER === */
.footer {
  padding: 40px 64px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-product-col {
    grid-column: span 2;
    padding: 40px 64px 80px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }
  .hero-product-img { max-width: 240px; }
  .hero-signup-mini { align-items: flex-start; text-align: left; }
  .hero-signup-form { flex-direction: row; width: auto; }
  .hero-signup-input { min-width: 220px; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-headline {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 120px 40px 60px;
    font-size: 72px;
  }

  .hero-sub-col { padding: 60px 40px 80px; }

  .hero-meta-row { gap: 24px; }

  .hero-product-col {
    grid-column: span 1;
    padding: 40px 40px 80px;
    flex-direction: column;
    align-items: center;
  }
  .hero-product-img { max-width: 280px; }
  .hero-signup-mini { align-items: center; text-align: center; }
  .hero-signup-form { flex-direction: column; width: 100%; }
  .hero-signup-input { min-width: unset; width: 100%; }

  .ingredients { padding: 80px 40px; }

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

  .flavors { padding: 80px 40px; }
  .flavors-grid { grid-template-columns: repeat(2, 1fr); }

  .philosophy { padding: 80px 40px; }

  .philosophy-pillars { grid-template-columns: 1fr; gap: 32px; }

  .manifesto {
    grid-template-columns: 1fr;
    padding: 80px 40px;
    gap: 40px;
  }

  .manifesto-stat-block { padding-top: 0; }

  .closing { padding: 80px 40px; }

  .signup-form { flex-direction: column; }
  .signup-input { border-radius: 4px 4px 0 0; }
  .signup-btn { border-radius: 0 0 4px 4px; }

  .footer {
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    align-items: flex-start;
  }

  .footer-meta { align-items: flex-start; }
}

/* === FLAVORS === */
.flavors {
  padding: 120px 64px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

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

.flavors-title {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--fg);
  margin-top: 16px;
  line-height: 1.15;
}

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.flavor-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s ease;
}

.flavor-card:hover { border-color: var(--amber); }

.flavor-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--border-light);
}

.flavor-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.flavor-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
}

.flavor-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === EMAIL SIGNUP === */
.signup-block {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.signup-cta {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg);
}

.signup-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.signup-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(249, 245, 240, 0.25);
  background: rgba(249, 245, 240, 0.08);
  color: var(--bg);
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.2s;
}

.signup-input::placeholder { color: rgba(249, 245, 240, 0.45); }
.signup-input:focus { border-color: var(--amber); }

.signup-btn {
  padding: 14px 28px;
  background: var(--amber);
  color: var(--fg);
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  white-space: nowrap;
}

.signup-btn:hover:not(:disabled) { background: var(--amber-light); }
.signup-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.signup-msg {
  font-size: 0.875rem;
  min-height: 20px;
}
.signup-msg.success { color: #6ee7b7; }
.signup-msg.error { color: #fca5a5; }

@media (max-width: 480px) {
  .hero-headline { font-size: 56px; padding: 100px 24px 48px; }
  .hero-eyebrow { left: 24px; top: 32px; }
  .hero-sub-col { padding: 48px 24px 64px; }
  .hero-lede { font-size: 1rem; }
  .hero-meta-row { flex-direction: column; gap: 20px; }
  .hero-product-img { max-width: 100%; }
  .ingredients { padding: 64px 24px; }
  .flavors { padding: 64px 24px; }
  .flavors-grid { grid-template-columns: 1fr; }
  .philosophy { padding: 64px 24px; }
  .manifesto { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
}