@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&display=swap");

:root {
  --paper: #f4f1ea;
  --ink: #161513;
  --muted: #5e5a52;
  --forest: #1b3d32;
  --forest-deep: #102820;
  --sage: #c5d4c8;
  --sage-2: #dce6de;
  --lime: #b8c94a;
  --white: #fbfaf6;
  --line: #d3cec3;
  --shadow: 0 1px 0 rgba(22, 21, 19, 0.08);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-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(--sans);
  font-size: 17px;
  line-height: 1.62;
}

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(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  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: var(--radius);
}
.skip:focus { top: 12px; color: white; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.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: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 0;
  background: var(--forest);
}
.logo span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item { position: relative; }
.nav-btn,
.nav-link {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 0;
}
.nav-link + .nav-link,
.nav-item + .nav-link,
.nav-link + .nav-item {
  border-left: 1px solid var(--line);
}
.nav-btn:hover,
.nav-link:hover,
.nav-link.is-active,
.nav-btn.is-active,
.nav-item:hover > .nav-btn {
  background: var(--sage-2);
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--forest); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0;
  z-index: 40;
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: var(--sage-2); color: var(--forest-deep); }

.header-shop { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--forest);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  padding: 12px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.btn:hover { background: var(--forest-deep); color: var(--paper); border-color: var(--forest-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 8px 12px; font-size: 13px; }
.btn-full { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: stretch;
  padding: 0 0 48px;
}
.eyebrow {
  color: var(--forest);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-media {
  overflow: hidden;
  min-height: 520px;
  background: var(--sage-2);
  border-radius: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }

.points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 48px;
  counter-reset: step;
}
.points article {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 8px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  padding: 22px 0;
}
.points article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--forest);
  padding-top: 8px;
}
.points article h2,
.points article p {
  grid-column: 2;
  min-width: 0;
}
.points article h2 { font-size: 28px; margin: 0; }
.points p { color: var(--muted); margin: 0; max-width: 42rem; }

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

.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.feature-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  gap: 28px;
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0;
  box-shadow: none;
}
.feature-card:last-child { border-bottom: 1px solid var(--line); }
.feature-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--white);
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
}
.feature-card h3 { font-size: 30px; margin: 0 0 6px; }
.feature-card > div { padding: 0; }
.feature-card .price { font-size: 20px; white-space: nowrap; }
.price { font-weight: 700; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.know {
  margin: 56px 0;
  background: var(--sage);
  color: var(--ink);
  padding: 64px max(24px, 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: center;
}
.know h2 { font-size: clamp(32px, 4vw, 48px); }
.know a { color: var(--ink); }
.know .btn { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.know .btn:hover { background: var(--forest-deep); }

.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  color: var(--ink);
  text-decoration: none;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 28px;
  background: transparent;
  border-radius: 0;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.tile:last-child { border-bottom: 1px solid var(--line); }
.tile img { width: 100%; height: 180px; object-fit: cover; min-height: 0; }
.tile span {
  position: static;
  padding: 0;
  background: none;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--ink);
}

.cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.card:last-child { border-right: 0; }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .body, .card-body { padding: 16px 20px 8px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 26px; margin: 0; }
.card p { color: var(--muted); margin: 0; flex: 1; }
.card .meta { color: var(--forest); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
blockquote {
  margin: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  padding: 24px 28px 24px 0;
}
blockquote p { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
blockquote footer { color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }

.cta-band {
  margin: 56px 0 0;
  padding: 56px max(24px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--forest);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 8px; color: var(--paper); }
.cta-band p { color: var(--sage); }
.cta-band .hero-actions { margin-top: 0; }
.cta-band .btn { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.cta-band .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.cta-band .btn-ghost:hover { background: var(--paper); color: var(--ink); }

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

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; padding-bottom: 30px; }
.product-photo { overflow: hidden; border-radius: 0; background: var(--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: 8px; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--forest); outline: 1px solid var(--forest); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.buy {
  border: 1px solid var(--ink);
  background: var(--white);
  border-radius: 0;
  padding: 24px 22px;
  box-shadow: none;
}
.meta { color: var(--forest); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.buy h1 { font-size: 36px; }
.price-lg { font-size: 28px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }

.prose h2 { font-size: 32px; margin-top: 1.2em; }
.prose h3 { font-size: 24px; 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: 12px;
  margin: 18px 0 28px;
}
.ingredients figure { margin: 0; }
.ingredients img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.ingredients figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }
.note {
  border-left: 3px solid var(--lime);
  padding: 2px 0 2px 14px;
  color: var(--ink);
  font-size: 15px;
}

label { display: block; font-size: 13px; font-weight: 650; margin: 12px 0 6px; letter-spacing: 0.03em; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--paper);
  border-radius: 0;
  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; accent-color: var(--forest); }
.totals { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); 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: #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: 1fr;
  gap: 0;
  padding-bottom: 40px;
}
.shop-grid .card {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  border-right: 0;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.shop-grid .card:last-child { border-bottom: 1px solid var(--line); }
.shop-grid .card img {
  width: 220px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  flex: none;
}
.shop-grid .card-body { padding: 0; }

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 20px;
}
.timeline article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  border-left: 1px solid var(--ink);
  margin-left: 12px;
  padding: 0 0 28px 28px;
  position: relative;
}
.timeline article:last-child { padding-bottom: 8px; }
.timeline .eyebrow {
  position: absolute;
  left: -12px;
  top: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.timeline h2 { font-size: 28px; }

details.faq {
  border-bottom: 1px solid var(--ink);
  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: 40px; padding-bottom: 40px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 22px 20px;
}

.site-footer {
  margin-top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 48px 0 18px;
  border-top: 1px solid var(--ink);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 13px; font-family: var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.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: 32px; 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: 0; 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: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 16px 12px 0;
}
.related img { width: 86px; height: 86px; object-fit: contain; background: #fff; border-radius: 0; }
.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(--paper);
    border-bottom: 1px solid var(--ink);
    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-left: 0; }
  .nav-link + .nav-link,
  .nav-item + .nav-link,
  .nav-link + .nav-item { border-left: 0; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
    background: transparent;
  }
  .nav-item.open > .dropdown { display: block; }
  .hero, .featured, .know, .cards, .quotes, .split, .contact-grid, .foot-grid, .related, .ingredients {
    grid-template-columns: 1fr;
  }
  .feature-card, .tile, .shop-grid .card { grid-template-columns: 1fr; }
  .shop-grid .card { flex-direction: column; align-items: stretch; }
  .shop-grid .card img { width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 280px; }
  .points article { column-gap: 16px; }
  .timeline article { grid-template-columns: 1fr; }
  .card { border-right: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}

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