@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap");

:root {
  --forest: #142e28;
  --forest-deep: #070c0b;
  --moss: #4caf7a;
  --moss-hover: #63c48e;
  --stone: #c9b896;
  --stone-soft: #1e1b16;
  --paper: #0c100f;
  --white: #161c19;
  --ink: #eceae4;
  --muted: #9aa49c;
  --line: #2c3631;
  --gold: #c9a45c;
  --gold-deep: #d4b56a;
  --photo: #f4f2ec;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --header: 72px;
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
}

img { max-width: 100%; display: block; }

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--stone); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 0.9em; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--forest);
  color: white;
  padding: 8px 12px;
  z-index: 20;
  border-radius: 4px;
}
.skip:focus { top: 12px; color: white; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--forest-deep);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  gap: 18px 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}
.topbar a { color: var(--stone); text-decoration: none; }
.topbar a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--forest);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.logo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--photo);
}
.logo span {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.site-footer .logo { color: var(--ink); }
.site-footer .logo span { color: var(--ink); }

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  border-radius: 4px;
  padding: 8px 14px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-btn,
.nav-link {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  color: #e8efe9;
  text-decoration: none;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.nav-btn:hover,
.nav-link:hover,
.nav-link.is-active,
.nav-btn.is-active,
.nav-item:hover > .nav-btn {
  background: transparent;
  color: white;
  border-bottom-color: var(--stone);
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--moss); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
  z-index: 40;
  box-shadow: var(--shadow);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.dropdown a:hover { background: var(--paper); color: var(--stone); }

.header-shop {
  flex: none;
  background: var(--stone);
  color: var(--forest-deep);
}
.header-shop:hover {
  background: var(--moss);
  color: var(--forest-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--moss);
  color: #07110e;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--moss-hover); color: #07110e; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(236, 234, 228, 0.4);
}
.btn-ghost:hover { background: rgba(236, 234, 228, 0.1); color: white; }
.hero-actions .btn-ghost {
  color: var(--ink);
}
.cta-band .btn-ghost,
.page-hero .btn-ghost {
  color: var(--ink);
  border-color: rgba(236, 234, 228, 0.4);
}
.cta-band .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  background: var(--stone);
  color: #07110e;
}
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-full { width: 100%; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 78vh;
  align-items: end;
  padding: 0;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-height: 0;
  background: var(--forest-deep);
  border-radius: 0;
  box-shadow: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 78vh;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 14, 0.35) 0%, rgba(7, 17, 14, 0.88) 72%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  color: var(--ink);
  max-width: 40rem;
}
.hero .lead { color: #e4ebe6; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); margin-bottom: 16px; color: white; }

.eyebrow {
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero .eyebrow { color: var(--stone); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.panel {
  border-top: 0;
  padding: 0;
}
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 0 48px;
  background: transparent;
}
.points article {
  background: var(--white);
  border: 0;
  border-radius: 0;
  padding: 28px 24px 26px;
  border-right: 1px solid var(--line);
}
.points article:last-child { border-right: 0; }
.points article h2 { font-size: 24px; }
.points p { color: var(--muted); margin: 0; }

.section { padding: 36px 0 12px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; }

.featured { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  box-shadow: none;
}
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--photo);
  min-height: 180px;
  aspect-ratio: auto;
  border-radius: 0;
}
.feature-card h3 { font-size: 28px; }
.feature-card > div { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.price { font-weight: 700; color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.know {
  margin: 48px 0;
  background: var(--forest);
  color: #f3efe6;
  padding: 64px max(20px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: end;
}
.know h2 { font-size: clamp(32px, 4vw, 46px); }
.know a { color: white; }
.know .btn { background: var(--stone); color: var(--forest-deep); }
.know .btn:hover { background: var(--moss); color: var(--forest-deep); }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  color: white;
  text-decoration: none;
  display: block;
  background: var(--forest);
  border-radius: 0;
}
.tile img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 18px 16px;
  background: linear-gradient(transparent, rgba(13, 36, 31, 0.88));
  font-family: var(--serif);
  font-size: 26px;
  color: white;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body, .card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 22px; margin: 0; }
.card p { color: var(--muted); margin: 0; flex: 1; }
.card .meta { color: var(--gold-deep); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
blockquote {
  margin: 0;
  background: var(--white);
  border: 0;
  border-left: 3px solid var(--moss);
  border-radius: 0;
  padding: 22px 20px 16px;
}
blockquote p { font-family: var(--serif); font-size: 21px; line-height: 1.38; }
blockquote footer { color: var(--muted); font-size: 14px; }

.cta-band {
  margin: 52px 0 0;
  padding: 56px max(20px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--stone-soft);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; }
.cta-band .hero-actions { margin-top: 0; }

.page-hero { padding: 40px 0 12px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); max-width: 20ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.crumbs a { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; padding-bottom: 30px; }
.product-photo { overflow: hidden; border-radius: 4px; background: var(--photo); border: 1px solid var(--line); }
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--photo); }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: var(--paper);
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--stone); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.buy {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 24px 22px;
  box-shadow: none;
}
.meta { color: var(--gold-deep); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.buy h1 { font-size: 34px; }
.price-lg { font-size: 28px; font-weight: 700; color: var(--gold); margin: 0 0 6px; }

.prose h2 { font-size: 30px; margin-top: 1.2em; }
.prose h3 { font-size: 22px; margin-top: 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0.25em 0; }
.prose img.wide {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  margin: 0 0 1.2em;
  border-radius: 0;
}
.ingredients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 28px;
}
.ingredients figure { margin: 0; }
.ingredients img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.ingredients figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.note {
  border-left: 3px solid var(--moss);
  padding: 2px 0 2px 14px;
  color: var(--ink);
  font-size: 15px;
}

label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; font-size: 14px; margin-top: 10px; }
.check input { width: auto; margin-top: 4px; }
.totals { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 12px 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.totals strong { font-size: 17px; }
.form-error { color: #f0a8a0; font-size: 14px; margin: 8px 0; min-height: 1.2em; }
.field-error,
input:user-invalid,
select:user-invalid,
textarea:user-invalid { border-color: #c96b63; background: #2a1816; }
.how-links { margin: 4px 0 28px; }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 40px; }
.shop-grid .card img { aspect-ratio: 1; object-fit: contain; background: var(--photo); }

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 0;
}
details.faq summary { cursor: pointer; font-weight: 650; }
details.faq p { margin: 10px 0 4px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; padding-bottom: 40px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 20px;
}

.site-footer {
  margin-top: 0;
  background: var(--forest-deep);
  color: var(--ink);
  padding: 48px 0 20px;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--moss); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 22px; }
.site-footer h2 { font-size: 13px; font-family: var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.legal-note { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.copyright { font-size: 13px; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 36px; }
.related a {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
}
.related img { width: 86px; height: 86px; object-fit: contain; background: var(--photo); border-radius: 4px; }
.related div { padding-right: 10px; }
.related strong { display: block; font-size: 15px; }

@media (min-width: 901px) {
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown { display: block; }
  .buy { position: sticky; top: calc(var(--header) + 16px); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-shop { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--forest-deep);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav-btn, .nav-link { text-align: left; width: 100%; border-radius: 0; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
    background: transparent;
  }
  .dropdown a { color: #e8efe9; }
  .dropdown a:hover { background: rgba(255,255,255,0.08); color: white; }
  .nav-item.open > .dropdown { display: block; }
  .hero, .featured, .know, .points, .mosaic, .cards, .quotes, .split, .contact-grid, .foot-grid, .shop-grid, .related, .ingredients {
    grid-template-columns: 1fr;
  }
  .feature-card { grid-template-columns: 1fr; }
  .points article { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 70vh; }
  .hero { min-height: 70vh; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .topbar-inner { justify-content: flex-start; }
  .mosaic { grid-template-columns: 1fr; }
}

::selection {
  background: var(--moss);
  color: #07110e;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
