:root {
  --pine: #14241c;
  --pine-mid: #1d3a2c;
  --mist: #e7efe8;
  --steam: #f4f8f4;
  --linen: #e4eee6;
  --honey: #c9a227;
  --honey-ink: #14241c;
  --ink: #14241c;
  --muted: #3f5549;
  --paper: #e7efe8;
  --paper-2: #d5e2d8;
  --stamp: #c9a227;
  --stamp-deep: #6f5a14;
  --flare: #c9a227;
  --line: #c5d4c8;
  --white: #f4f8f4;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --r: 1.75rem;
  --max: 1080px;
  --wide: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

h1 { font-size: clamp(3.2rem, 8vw, 7rem); margin: 0 0 1.1rem; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.55rem; margin: 0 0 0.35rem; line-height: 1.08; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: inherit;
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--steam);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  z-index: 80;
}

.skip:focus { top: 0.6rem; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.disclaimer-bar {
  background: var(--pine);
  color: #d7e4d9;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0;
  padding: 0.6rem 1.5rem;
}

.disclaimer-bar a { color: var(--honey); }

.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: 100%;
}

.cookie-modal[hidden] { display: none; }

.cookie-window {
  width: min(42rem, calc(100% - 1.5rem));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--pine);
  color: #e4eee6;
  border: 0;
  border-radius: var(--r);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(20, 36, 28, 0.28);
}

.cookie-copy { flex: 1; min-width: 0; }

.cookie-copy .eyebrow { margin: 0 0 0.3rem; color: var(--honey); }

.cookie-window p {
  margin: 0;
  max-width: 78ch;
  font-size: 0.95rem;
}

.cookie-window a { color: var(--honey); }

.cookie-actions {
  display: flex;
  flex: none;
  gap: 0.5rem;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--pine);
  color: var(--steam);
  border: 0;
}

.header-bar {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 981px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.5rem;
    width: 100%;
    padding: 0.7rem max(1.4rem, calc((100% - var(--wide)) / 2));
  }

  .header-bar { display: contents; }
  .logo { grid-column: 1; grid-row: 1; }
  .nav-panel { grid-column: 2; grid-row: 1; }
  .header-tools { grid-column: 3; grid-row: 1; position: static; transform: none; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--steam);
}

.logo-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.logo-mark circle { fill: var(--steam); }
.logo-mark ellipse { fill: var(--pine); }
.logo-mark path.flare { fill: none; stroke: var(--honey); }

.logo-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem 0.7rem;
}

.nav-panel a {
  color: #c5d6c9;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.2rem 0.38rem;
}

.nav-panel a:hover { color: var(--steam); }

.nav-panel a[aria-current="page"] { color: var(--steam); }

@media (min-width: 981px) {
  .nav-panel {
    max-width: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: var(--pine-mid);
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--steam);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wide {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  margin: 0;
  min-height: 0;
  background: var(--pine);
  color: var(--steam);
  padding: 0 0 2.2rem;
  border-radius: 0 0 2.6rem 2.6rem;
}

.hero-figure {
  margin: 0;
  position: relative;
  order: 1;
  padding: 0.85rem 0.85rem 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: calc(var(--r) + 0.4rem);
  min-height: 0;
}

.hero-figure figcaption {
  position: absolute;
  left: 1.6rem;
  bottom: 1rem;
  background: var(--steam);
  color: var(--pine);
  padding: 0.45rem 0.85rem;
  max-width: 18rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0;
  line-height: 1.3;
}

.hero-copy {
  order: 2;
  background: transparent;
  color: var(--steam);
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.3rem, 5vw, 4.5rem) 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  max-width: 58rem;
}

.hero-copy h1,
.hero-copy .eyebrow { color: var(--steam); }

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
}

.hero-copy .lede { color: #c5d6c9; font-size: 1.2rem; }

.hero-copy p { color: #c5d6c9; }

.hero-copy h1 em { color: inherit; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--stamp-deep);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before { content: none; }

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--honey);
  color: var(--honey-ink);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  cursor: pointer;
}

.btn:hover { background: #dbb43a; color: var(--pine); }

.btn-ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.btn-ghost:hover {
  background: var(--steam);
  color: var(--pine);
  box-shadow: none;
}

.hero-copy .btn { background: var(--honey); color: var(--pine); }
.hero-copy .btn:hover { background: #dbb43a; color: var(--pine); }
.hero-copy .btn-ghost { background: transparent; color: var(--steam); }
.hero-copy .btn-ghost:hover { background: var(--steam); color: var(--pine); }

.btn-small { padding: 0.6rem 0.9rem; font-size: 0.78rem; white-space: nowrap; }

.paths {
  display: grid;
  gap: 3.5rem;
  width: min(var(--wide), calc(100% - 2.5rem));
  margin: 4rem auto 2rem;
}

.path,
.path-flip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  min-height: 0;
  background: transparent;
  border: 0;
  align-items: center;
}

.path-flip .path-media { order: 2; }

.path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  border-radius: var(--r);
}

.path-copy {
  padding: 0.2rem 0.2rem 0.2rem 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.path-copy p:last-child { margin-bottom: 0; }

.text-link {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-underline-offset: 0.28em;
}

.pull {
  width: min(48rem, calc(100% - 2.5rem));
  margin: 1rem auto 3rem;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
}

.pull p {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.pull p::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 0.45rem;
  background: var(--honey);
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section { padding: 2.8rem 0 3.4rem; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  border: 0;
  padding: 0;
}

.section-head p { margin: 0; color: var(--muted); max-width: 34rem; }

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  color: inherit;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  background: var(--steam);
  border-radius: var(--r);
  padding: 0.7rem 0.7rem 1.05rem;
}

.card > a {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.4rem;
}

.card-add {
  justify-self: start;
  padding: 0.55rem 0.95rem;
}

.card img {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--r) - 0.45rem);
  background: var(--linen);
}

.card:hover h3 { color: var(--pine-mid); }

.card-kicker {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.card h3 { font-size: 1.45rem; }

.price {
  display: inline-flex;
  margin: 0.15rem 0 0;
  background: var(--linen);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
}

.anchor-offset { scroll-margin-top: 6.5rem; }

.ritual {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin: 0.6rem auto 2rem;
  background: var(--pine);
  color: #e4eee6;
  padding: 3.4rem 2rem 3.2rem;
  border-radius: 2.2rem;
}

.ritual h2 { color: var(--steam); }
.ritual h2 em { color: inherit; }
.ritual .eyebrow { color: var(--honey) !important; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
  border: 0;
}

.step {
  padding: 0;
  background: transparent;
}

.step span { display: none; }

.step h3 { color: var(--steam); font-size: 1.7rem; }
.step p { color: #b7c8ba; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.split img {
  border-radius: var(--r);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote {
  margin: 0;
  background: var(--steam);
  border: 0;
  border-radius: var(--r);
  padding: 1.4rem 1.35rem 1.2rem;
}

.voices .quote:nth-child(odd),
.voices .quote:nth-child(even) {
  padding: 1.4rem 1.35rem 1.2rem;
  border: 0;
}

.quote p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.quote footer {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.note {
  background: var(--steam);
  border: 0;
  border-radius: var(--r);
  padding: 0.95rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.assurance {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--steam);
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  padding: 0;
}

.assurance > div { padding: clamp(1.5rem, 3vw, 2.4rem); }

.assurance > div:first-child {
  background: var(--pine);
  color: var(--steam);
}

.assurance > div:first-child h2,
.assurance > div:first-child .eyebrow { color: var(--steam); }
.assurance > div:first-child h2 em { color: inherit; }

.page-hero {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin: 2rem auto 0;
  padding: 0.4rem 0 0.2rem;
  background: transparent;
}

.page-hero h1 { max-width: 16ch; }

.page-hero .lede { margin-bottom: 0; }

.page-hero + .section { padding-top: 1.6rem; }

.prose { max-width: 68ch; }

.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-top: 2.1rem;
  padding-top: 0;
  border: 0;
}

.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.15rem; }
.prose li { margin: 0.3rem 0; }

.crumbs {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 1rem;
}

.crumbs a { color: var(--muted); }

.product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
  margin: 0.4rem 0 2.5rem;
}

.product-layout img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: var(--r);
  background: var(--steam);
}

.product-layout h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }

.price-lg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  margin: 0.2rem 0;
  line-height: 1;
}

.meta-line { color: var(--muted); margin-top: 0; font-size: 0.95rem; }

.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.2rem;
}

.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.3rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.spec th {
  width: 34%;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.faq-list { border: 0; }

details.faq {
  border: 0;
  background: var(--steam);
  border-radius: 1.2rem;
  padding: 1rem 1.15rem;
  margin: 0 0 0.65rem;
}

details.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.15;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--ink);
  line-height: 0.8;
}

details.faq[open] summary::after { content: "–"; }

details.faq p { color: var(--muted); margin: 0.8rem 0 0.25rem; max-width: 68ch; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.2rem;
  align-items: start;
}

.form { display: grid; gap: 0.9rem; }

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

input, textarea, select {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--steam);
  border: 0;
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
}

textarea { min-height: 150px; resize: vertical; }

.address-card {
  background: var(--pine);
  color: var(--steam);
  border-radius: var(--r);
  padding: 1.6rem 1.45rem 1.3rem;
}

.address-card h2 { font-size: 2.2rem; color: var(--steam); }
.address-card a { color: var(--honey); }

.ingredient-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  border: 0;
}

.ingredient {
  background: var(--steam);
  border: 0;
  border-radius: var(--r);
  padding: 1.2rem 1.2rem 0.4rem;
}

.ingredient h3 { font-size: 1.45rem; }

.site-footer {
  background: var(--pine);
  color: #b7c8ba;
  padding: 3.4rem 0 1.5rem;
  margin: 2.4rem 0 0;
  border-radius: 2.4rem 2.4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer a { color: var(--steam); text-decoration: none; }
.site-footer a:hover { color: var(--honey); }

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--honey);
  margin: 0 0 0.85rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }

.site-footer .logo-name {
  color: var(--steam);
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.legal-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #8aa090;
}

.subhead { margin: 2.8rem 0 1rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0.4rem; }

.pill {
  text-decoration: none;
  border: 0;
  background: var(--steam);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.pill:hover { background: var(--pine); color: var(--steam); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--steam);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.cart-link span {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  display: inline-grid;
  place-items: center;
  background: var(--honey);
  color: var(--pine);
  border-radius: 999px;
  letter-spacing: 0;
  font-size: 0.75rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 0;
  background: var(--steam);
  border-radius: 1.2rem;
  padding: 0.85rem 1rem;
  margin: 0 0 0.7rem;
}

.cart-line img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--linen);
  border-radius: 1rem;
}

.cart-line h2 { font-size: 1.6rem; margin: 0 0 0.2rem; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: var(--linen);
  border-radius: 999px;
  margin: 0.45rem 0.8rem 0.45rem 0;
}

.qty button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
}

.qty span {
  min-width: 1.4rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.line-total {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.cart-total {
  border: 0;
  padding-top: 0.6rem;
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}

.cart-total p { margin: 0; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-grid .wide-field { grid-column: 1 / -1; }

.checkout-layout h2 { font-size: 2.2rem; margin: 0.2rem 0 0.8rem; }

.checkout-layout h2 + .form-grid { margin-bottom: 1.2rem; }

.checkout-layout textarea { min-height: 6.5rem; }

.order-card {
  border: 0;
  padding: 1.3rem 1.2rem;
  background: var(--steam);
  border-radius: var(--r);
}

.order-card h2 { font-size: 2rem; }

.sum-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.sum-lines li,
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0;
}

.sum-total {
  border: 0;
  padding-top: 0.7rem;
  font-size: 1.05rem;
}

.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(20, 36, 28, 0.55);
}

.thanks-modal[hidden] { display: none; }

.thanks-window {
  position: relative;
  width: min(32rem, 100%);
  background: var(--steam);
  border: 0;
  border-radius: var(--r);
  box-shadow: 0 18px 40px rgba(20, 36, 28, 0.22);
  padding: 2.2rem 1.4rem 1.4rem;
  text-align: center;
}

.thanks-window h2 {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin: 0.8rem 0 0.7rem;
}

.thanks-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--linen);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.thanks-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--linen);
}

.thanks-icon::after {
  content: "";
  width: 22px;
  height: 12px;
  margin-top: -5px;
  border-left: 3px solid var(--pine);
  border-bottom: 3px solid var(--pine);
  transform: rotate(-45deg);
}

.field-error {
  display: block;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: #8a2f1c;
}

.field-error-wide { grid-column: 1 / -1; }
#send-error { margin-top: 0.8rem; }

.field-error-fix {
  font: inherit;
  color: var(--stamp-deep);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px #8a2f1c;
}

.checkout-layout > *,
.form-grid > * { min-width: 0; }

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

button:disabled { opacity: 0.45; cursor: not-allowed; }

@media (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(22rem, 1fr) minmax(20rem, 0.92fr);
    align-items: stretch;
    min-height: calc(100vh - 7.2rem);
    padding: 1.1rem 1.3rem 1.4rem;
    gap: 1.6rem;
  }

  .hero-copy {
    order: 1;
    max-width: none;
    padding: 1.4rem 1.2rem 2.2rem 2.2rem;
    justify-content: flex-end;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  }

  .hero-figure {
    order: 2;
    padding: 0;
    min-height: 100%;
  }

  .hero-figure img {
    height: 100%;
    min-height: 36rem;
    aspect-ratio: auto;
    object-position: 62% 28%;
  }
}

@media (max-width: 980px) {
  .hero,
  .path,
  .split,
  .product-layout,
  .contact-grid,
  .assurance,
  .footer-grid,
  .checkout-layout,
  .form-grid { grid-template-columns: 1fr; }

  .cart-line { grid-template-columns: 88px 1fr; }
  .line-total { grid-column: 2; }

  .hero { min-height: 0; border-radius: 0 0 1.8rem 1.8rem; }
  .hero-copy { order: 2; padding-inline: 1.25rem; }
  .hero-figure { order: 1; }
  .hero-figure img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .path-flip .path-media { order: 0; }
  .steps, .voices, .ingredient-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .nav-panel { display: none; padding: 0 1.25rem; background: var(--pine); }
  .burger { display: flex; }

  .nav-toggle:checked ~ .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.2rem 1.25rem 1.1rem;
  }

  .nav-panel a { font-size: 0.95rem; padding: 0.4rem 0; color: var(--steam); }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(1) { transform: translateY(6.5px) rotate(40deg); }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-40deg); }
}

@media (max-width: 640px) {
  .catalog, .steps, .voices, .ingredient-grid { grid-template-columns: 1fr; }
  .cookie-window { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .cookie-actions .btn { flex: 1; }
  .section-head { flex-direction: column; align-items: start; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 3.8rem); }
  .page-hero h1 { max-width: none; }
  .ritual { padding: 2.2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .burger span { transition: none; }
}
