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

:root {
  --forest: #243044;
  --forest-deep: #141925;
  --moss: #4a5d78;
  --fox: #d4652a;
  --fox-deep: #a84a18;
  --ink: #1a1c20;
  --muted: #5c6169;
  --paper: #f5f3ef;
  --paper-2: #eae6df;
  --white: #fffcf8;
  --line: #d8d2c8;
  --shadow: 0 1px 0 rgba(36, 48, 68, 0.08);
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --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(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  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% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--forest);
  color: #f3eee4;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar-inner {
  display: flex;
  gap: 16px 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8px 0;
}
.topbar a { color: #f3eee4; text-decoration: none; }
.topbar a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 248, 0.96);
  border-bottom: 1px solid var(--line);
}
.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(--forest);
  margin-right: auto;
}
.logo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--forest);
}
.logo span {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--forest);
  background: transparent;
  border-radius: var(--radius);
  padding: 8px 14px;
  font: inherit;
  color: var(--forest);
  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;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 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;
  border-bottom-color: var(--fox);
  color: var(--forest);
}
.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(--line);
  border-radius: 0;
  padding: 6px 0;
  z-index: 40;
  box-shadow: 0 12px 28px rgba(20, 25, 37, 0.12);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  color: var(--ink);
  text-decoration: none;
}
.dropdown a:hover { background: var(--paper-2); 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 22px;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.btn:hover { background: var(--forest-deep); color: white; }
.btn-ghost {
  background: transparent;
  color: #f4f1ea;
  border: 1px solid rgba(244, 241, 234, 0.55);
}
.btn-ghost:hover { background: rgba(244, 241, 234, 0.12); color: white; }
.hero-actions .btn-ghost {
  color: #f4f1ea;
}
.cta-band .btn-ghost,
.know .btn-ghost {
  color: inherit;
}
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-full { width: 100%; }

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  color: #f7f4ee;
  overflow: hidden;
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--forest);
}
.hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 560px;
  filter: saturate(0.85);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 25, 37, 0.88) 0%, rgba(20, 25, 37, 0.55) 48%, rgba(20, 25, 37, 0.18) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  max-width: 38rem;
}
.eyebrow {
  color: var(--fox);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 16px; color: #f7f4ee; }
.lead { font-size: 18px; color: var(--muted); max-width: 38rem; }
.hero .lead { color: #d9d3c6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-media {
  overflow: hidden;
  min-height: 420px;
  background: var(--paper-2);
  border-radius: 0;
}

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

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  padding: 0 0 12px;
}
.timeline article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  border: 0;
  border-left: 2px solid var(--moss);
  padding: 0 0 28px 28px;
  margin-left: 10px;
  position: relative;
}
.timeline article:last-child { padding-bottom: 8px; }
.timeline article::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--fox);
  border-radius: 1px;
}
.timeline .eyebrow { grid-column: 1; margin: 0; }
.timeline h2, .timeline p { grid-column: 2; }
.timeline h2 { margin-top: 0; }

.section { padding: 40px 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: repeat(3, 1fr); gap: 22px; }
.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  gap: 18px;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  min-height: 240px;
  aspect-ratio: 1;
  border-radius: 0;
  border: 1px solid var(--line);
}
.feature-card h3 { font-size: 28px; }
.feature-card > div { padding: 0; display: flex; flex-direction: column; justify-content: flex-start; }
.price { font-weight: 700; color: var(--forest); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.prose.section {
  max-width: none;
}
.prose.section p {
  max-width: 68ch;
}

.know {
  margin: 48px 0;
  background: var(--moss);
  color: #f6f1e8;
  padding: 56px max(20px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.know h2 { font-size: clamp(30px, 4vw, 44px); }
.know a { color: white; }
.know .btn { background: var(--forest-deep); }
.know .btn:hover { background: var(--forest); }
.know .eyebrow { color: #f0d2bf; }

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 460px;
}
.mosaic .tile:first-child {
  grid-row: 1 / span 2;
  min-height: 460px;
}
.tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  color: white;
  text-decoration: none;
  display: block;
  background: var(--forest);
  border-radius: 0;
}
.tile img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(transparent, rgba(20, 25, 37, 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: 0;
  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: 24px; margin: 0; }
.card p { color: var(--muted); margin: 0; flex: 1; }
.card .meta { color: var(--fox); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

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

.cta-band {
  margin: 48px 0 0;
  padding: 56px max(20px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--forest-deep);
  color: #f4f1ea;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; color: #f4f1ea; }
.cta-band p { color: #d4cec2; }
.cta-band .hero-actions { margin-top: 0; }
.cta-band .btn { background: var(--fox); }
.cta-band .btn:hover { background: var(--fox-deep); }

.page-hero { padding: 36px 0 10px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); max-width: 20ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; padding-bottom: 30px; }
.product-photo { overflow: hidden; border-radius: 0; 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: 1px solid var(--line);
  background: var(--paper-2);
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--forest); border-width: 2px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.buy {
  border: 1px solid var(--line);
  border-left: 4px solid var(--fox);
  background: var(--white);
  border-radius: 0;
  padding: 24px 22px;
  box-shadow: none;
}
.meta { color: var(--fox); 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(--forest); 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: 0; }
.ingredients figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.note {
  border-left: 3px solid var(--fox);
  padding: 2px 0 2px 14px;
  color: var(--ink);
  font-size: 15px;
}

label { display: block; font-size: 14px; font-weight: 650; 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: 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: #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: 16px; padding-bottom: 40px; }
.shop-grid .card {
  display: flex;
  flex-direction: column;
}
.shop-grid .card img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.shop-grid .card-body { justify-content: flex-start; }

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

.site-footer {
  margin-top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 44px 0 18px;
  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.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(--forest); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .logo { color: var(--forest); }
.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: 0;
  padding: 8px;
}
.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(--white);
    border-bottom: 1px solid var(--line);
    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; border-bottom: 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, .points, .mosaic, .cards, .quotes, .split, .contact-grid, .foot-grid, .shop-grid, .related, .ingredients {
    grid-template-columns: 1fr;
  }
  .feature-card { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: none; min-height: 0; }
  .mosaic .tile:first-child { grid-row: auto; min-height: 240px; }
  .points article,
  .points article:not(:first-child),
  .points article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .timeline article { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero, .hero .hero-media img { min-height: 480px; }
}

@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; }
}
