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

:root {
  --forest: #1f4a3c;
  --forest-deep: #14332a;
  --ink: #121814;
  --muted: #5a655e;
  --paper: #f2f4f1;
  --white: #ffffff;
  --line: #d5ddd6;
  --gold: #b8893a;
  --gold-deep: #8f6a28;
  --shadow: 0 10px 28px rgba(18, 24, 20, 0.08);
  --head: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1180px;
  --header: 72px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

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

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

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

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

p { margin: 0 0 0.9em; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
  font-family: var(--head);
  font-size: 14px;
}
.skip:focus { top: 12px; color: var(--ink); }

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

.topbar {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar-inner {
  display: flex;
  gap: 18px 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8px 0;
}
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  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(--paper);
  margin-right: auto;
}
.logo img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 2px;
}
.logo span {
  font-family: var(--head);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-footer .logo { color: var(--ink); }

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  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-family: var(--head);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: #d7e0d8;
  text-decoration: none;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-btn:hover,
.nav-link:hover,
.nav-link.is-active,
.nav-btn.is-active,
.nav-item:hover > .nav-btn {
  color: white;
  background: rgba(255,255,255,0.08);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  z-index: 40;
  box-shadow: var(--shadow);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.dropdown a:hover { background: var(--paper); color: var(--forest); }

.header-shop { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--forest-deep); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: rgba(184, 137, 58, 0.12); color: var(--gold); }
.header-shop.btn {
  background: var(--gold);
  color: var(--ink);
}
.header-shop.btn:hover { background: #c99a4a; color: var(--ink); }
.btn-small { padding: 8px 14px; }
.btn-full { width: 100%; }

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  color: white;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 88px 0 56px;
  max-width: 38rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,24,20,0.82) 0%, rgba(18,24,20,0.45) 52%, rgba(18,24,20,0.12) 100%);
  z-index: 0;
}
.eyebrow {
  color: var(--gold);
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 16px; color: white; }
.lead { font-size: 19px; color: var(--muted); max-width: 40rem; }
.hero .lead { color: #d8e0d6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

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

.section { padding: 48px 0 18px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; font-size: 16px; }
.section-head a {
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

.featured { display: grid; gap: 14px; }
.feature-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 18px 12px 12px;
}
.feature-card:hover { border-color: var(--forest); }
.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f7f8f5;
}
.feature-card h3 { font-size: 26px; margin: 0 0 6px; }
.feature-card > div:last-child { text-align: right; }
.price { font-family: var(--head); font-weight: 700; color: var(--forest-deep); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--forest); }

.know {
  margin: 48px 0;
  background: var(--forest);
  color: #f3f6f2;
  padding: 56px max(24px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
}
.know h2 { font-size: clamp(30px, 3.8vw, 44px); }
.know a { color: white; }
.know .btn { background: var(--gold); color: var(--ink); }
.know .btn:hover { background: #c99a4a; color: var(--ink); }
.know .eyebrow { color: #e6c98a; }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  color: white;
  text-decoration: none;
  display: block;
  background: var(--ink);
}
.tile img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(18, 24, 20, 0.88));
  font-family: var(--head);
  font-size: 20px;
  letter-spacing: -0.03em;
  color: white;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
}
.card img { aspect-ratio: 16/10; 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; font-size: 16px; }
.card .meta, .meta {
  color: var(--gold-deep);
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
blockquote {
  margin: 0;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 20px 16px;
}
blockquote p { font-size: 20px; line-height: 1.4; }
blockquote footer {
  color: var(--muted);
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  margin: 48px 0 0;
  padding: 52px max(24px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 0 0 8px; color: white; }
.cta-band p { color: #c9d2c8; }
.cta-band .hero-actions { margin-top: 0; }

.page-hero { padding: 40px 0 12px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); max-width: 20ch; }
.crumbs {
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest); }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; padding-bottom: 30px; }
.product-photo { overflow: hidden; background: white; border: 1px solid var(--line); }
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.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;
  overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--forest); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.buy {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 22px 20px;
}
.buy h1 { font-size: 32px; }
.price-lg {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 6px;
}

.prose { max-width: 46rem; }
.prose h2 { font-size: 28px; margin-top: 1.3em; }
.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;
}
.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; }
.ingredients figcaption {
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.note {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 14px;
  color: var(--ink);
  font-size: 15px;
}

label {
  display: block;
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 12px 0 6px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  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: 400; font-size: 14px; margin-top: 10px; text-transform: none; letter-spacing: 0; }
.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; font-family: var(--head); }
.form-error { color: #8c3a32; font-size: 14px; margin: 8px 0; min-height: 1.2em; }
.field-error,
input:user-invalid,
select:user-invalid,
textarea:user-invalid { border-color: #8c3a32; background: #fff7f6; }
.how-links { margin: 4px 0 28px; }

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

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 0;
}
details.faq summary {
  cursor: pointer;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: -0.02em;
}
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(--ink);
  padding: 22px 20px;
}

.site-footer {
  margin-top: 56px;
  background: var(--white);
  color: var(--ink);
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--forest); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; padding-bottom: 28px; }
.site-footer h2 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; font-size: 15px; }
.foot-bar {
  background: var(--ink);
  color: #c9d2c8;
  padding: 16px 0 18px;
}
.foot-bar .wrap { display: grid; gap: 8px; }
.legal-note { margin: 0; font-size: 13px; color: #c9d2c8; }
.copyright { margin: 0; font-size: 13px; color: #9aa59c; font-family: var(--head); letter-spacing: 0.04em; }

.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);
  padding: 8px;
}
.related img { width: 86px; height: 86px; object-fit: contain; background: #fff; }
.related div { padding-right: 10px; }
.related strong { display: block; font-size: 15px; font-family: var(--head); }

@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(--ink);
    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%; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
    background: transparent;
  }
  .dropdown a { color: #d7e0d8; }
  .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; }
  .feature-card > div:last-child { text-align: left; }
  .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: 240px; }
  .hero { min-height: 560px; }
}

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

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