:root {
  --ink: #241c18;
  --muted: #6d5f56;
  --paper: #f4efe6;
  --paper-2: #e9e0d2;
  --card: #fffdf9;
  --wine: #7a3142;
  --wine-deep: #431923;
  --clay: #c56a45;
  --moss: #2f463c;
  --line: #ddcfc0;
  --gold: #8d5a32;
  --danger: #8d2f2a;
  --serif: Didot, "Bodoni MT", "Bodoni 72", "Times New Roman", serif;
  --sans: "Gill Sans", "Gill Sans MT", "Trebuchet MS", "Segoe UI", sans-serif;
  --max: 1140px;
  --header: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 400px at 100% -10%, rgba(197, 106, 69, 0.16), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.65;
  border-top: 7px solid var(--wine);
}

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

a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--clay); }

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

p { margin: 0 0 0.9em; }

::selection { background: #f0c7b6; color: var(--ink); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--wine);
  color: white;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; color: white; }

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

.ribbon {
  background: var(--wine-deep);
  color: #f6ebe6;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ribbon-inner {
  display: flex;
  gap: 14px 28px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 9px 0;
}
.ribbon a { color: #f6ebe6; text-decoration: none; }
.ribbon a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { width: 40px; height: 40px; }
.brand span {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 8px 14px;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-btn,
.nav-link {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px 8px;
  cursor: pointer;
}
.nav-btn:hover,
.nav-link:hover,
.nav-link.is-active,
.nav-btn.is-active,
.nav-item:hover > .nav-btn {
  color: var(--wine);
  border-bottom-color: var(--clay);
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 260px;
  background: var(--card);
  border: 1px solid var(--ink);
  padding: 8px;
  z-index: 40;
  box-shadow: 6px 6px 0 rgba(122, 49, 66, 0.15);
}
.dropdown a {
  display: block;
  padding: 9px 12px;
  color: var(--ink);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.dropdown a:hover {
  border-left-color: var(--clay);
  color: var(--wine);
  background: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wine);
  color: white;
  text-decoration: none;
  border: 1px solid var(--wine);
  padding: 12px 18px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--wine-deep);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-small { padding: 8px 12px; font-size: 13px; }
.btn-full { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
  padding: 48px 0 18px;
}
.kicker {
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  font-style: italic;
  max-width: 14ch;
}
.lead { font-size: 19px; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.frame {
  background: var(--card);
  border: 1px solid var(--ink);
  padding: 10px;
  box-shadow: 12px 12px 0 var(--clay);
}
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 42px 0 10px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.steps article {
  padding: 22px 22px 22px 0;
  margin-right: 22px;
  border-right: 1px solid var(--line);
}
.steps article:last-child { border-right: 0; margin-right: 0; }
.steps .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
  font-size: 28px;
}
.steps h2 { font-size: 28px; }
.steps p { color: var(--muted); margin: 0; }

.section { padding: 42px 0 8px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(34px, 4vw, 48px); font-style: italic; margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 34rem; }

.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  background: var(--card);
  border: 1px solid var(--line);
}
.row h3 { font-size: 30px; margin: 0 0 4px; }
.row p { margin: 0; color: var(--muted); }
.row .price { font-family: var(--serif); font-size: 28px; color: var(--wine); }
.meta {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.band {
  margin: 48px 0;
  background: var(--moss);
  color: #f4f7f4;
  padding: 56px max(24px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
}
.band h2 { font-size: clamp(34px, 4vw, 52px); font-style: italic; }
.band p { color: #d5e4db; max-width: 40rem; }
.band .btn { background: var(--paper); color: var(--moss); border-color: var(--paper); }
.band .btn:hover { background: white; color: var(--wine-deep); }

.essay { max-width: 44rem; }
.essay h2 { font-size: 36px; font-style: italic; margin-top: 0.4em; }

.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.tile {
  position: relative;
  min-height: 210px;
  display: block;
  overflow: hidden;
  color: white;
  text-decoration: none;
  background: var(--wine-deep);
}
.tile:first-child { grid-row: 1 / span 2; min-height: 440px; }
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.05;
  color: white;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.cta {
  margin: 36px 0 8px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta h2 { font-size: clamp(32px, 4vw, 46px); font-style: italic; margin: 0 0 6px; }
.cta .hero-actions { margin: 0; }

.page-hero { padding: 36px 0 8px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); font-style: italic; max-width: 16ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 28px;
}
.buy {
  border: 1px solid var(--ink);
  background: var(--card);
  padding: 22px 22px 18px;
  position: sticky;
  top: 96px;
}
.buy h1 { font-size: 40px; font-style: italic; }
.price-lg {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--wine);
  margin: 0 0 4px;
}
.buy ul { margin: 0 0 8px; padding-left: 1.1em; }
.buy li { margin: 0.2em 0; }

.prose h2 { font-size: 32px; font-style: italic; margin-top: 1.15em; }
.prose h3 { font-size: 24px; margin-top: 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0.28em 0; }
.wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--ink);
  margin: 8px 0 18px;
  background: var(--card);
}
.ingredients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0 22px;
}
.ingredients figure { margin: 0; }
.ingredients img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: white;
}
.ingredients figcaption { font-size: 14px; margin-top: 6px; color: var(--muted); }
.note {
  border-left: 3px solid var(--clay);
  padding: 2px 0 2px 14px;
  color: var(--ink);
  font-size: 15px;
}

label { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; margin: 14px 0 4px; }
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--wine);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 450;
  font-size: 14.5px;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 12px;
}
.check input { width: auto; margin-top: 4px; }
.check.is-invalid { color: var(--danger); }
.totals {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin: 14px 0;
}
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 2px 0; }
.form-error { color: var(--danger); font-size: 14px; margin: 8px 0; min-height: 1.2em; }
.field-error { border-bottom-color: var(--danger) !important; background: #fff6f4; }
.field-hint { font-size: 12px; color: var(--muted); margin: 4px 0 0; letter-spacing: 0; text-transform: none; font-weight: 450; }
.field-msg { color: var(--danger); font-size: 13px; margin: 4px 0 0; letter-spacing: 0; text-transform: none; font-weight: 450; }
.field-msg:empty { display: none; }
.form-section {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 22px 0 2px;
}
.thanks-card {
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--clay);
  padding: 28px;
  max-width: 720px;
}
.thanks-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 8px;
}
.thanks-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 16px;
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.thanks-dl dt { color: var(--muted); font-size: 14px; }
.thanks-dl dd { margin: 0; }
.order-thanks { margin-top: 8px; }
.order-thanks h2 { font-style: italic; font-size: 32px; }

.catalog { display: flex; flex-direction: column; padding-bottom: 36px; }
.catalog article {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}
.catalog article:last-child { border-bottom: 1px solid var(--ink); }
.catalog img { width: 200px; height: 200px; object-fit: cover; background: white; border: 1px solid var(--line); }
.catalog h2 { font-size: 34px; font-style: italic; margin: 0; }
.catalog h2 a { color: inherit; text-decoration: none; }
.catalog h2 a:hover { color: var(--wine); }
.catalog .price { font-family: var(--serif); font-size: 28px; color: var(--wine); white-space: nowrap; }

.stack { display: flex; flex-direction: column; padding-bottom: 28px; }
.story {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.story img { width: 220px; height: 150px; object-fit: cover; border: 1px solid var(--ink); }
.story h2 { font-size: 32px; font-style: italic; margin: 0 0 6px; }
.story p { color: var(--muted); margin: 0; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; padding-bottom: 36px; }
blockquote {
  margin: 0;
  padding: 8px 0 8px 16px;
  border-left: 3px solid var(--wine);
}
blockquote p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; }
blockquote footer { color: var(--muted); font-size: 15px; font-style: normal; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  padding-bottom: 40px;
}

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 36px; }
.related a {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.related img { width: 84px; height: 84px; object-fit: cover; border: 1px solid var(--line); }
.related strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; }

.site-footer {
  margin-top: 28px;
  background: var(--wine-deep);
  color: #f6ebe6;
  padding: 42px 0 18px;
}
.site-footer a { color: #f6ebe6; text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-style: normal;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.legal-note {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 26px;
  padding-top: 14px;
  font-size: 13px;
  color: #e4cfc8;
}
.copyright { font-size: 13px; color: #e4cfc8; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

[hidden] { display: none !important; }

@media (min-width: 901px) {
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown { display: block; }
}

@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%; }
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    background: transparent;
    padding: 0 0 8px 8px;
  }
  .nav-item.open > .dropdown { display: block; }
  .hero, .steps, .band, .split, .contact-grid, .foot-grid, .quotes, .related, .ingredients, .mosaic {
    grid-template-columns: 1fr;
  }
  .tile:first-child { grid-row: auto; min-height: 240px; }
  .row, .catalog article, .story { grid-template-columns: 1fr; }
  .row img, .catalog img, .story img { width: 100%; height: auto; aspect-ratio: 16/10; }
  .cta, .band { flex-direction: column; align-items: flex-start; }
  .band { display: flex; }
  .grid-2, .thanks-dl { grid-template-columns: 1fr; }
  .thanks-dl dt { margin-top: 8px; }
  .buy { position: static; }
  .steps article { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; }
}

img.device { object-fit: contain; background: #fff; }

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .ribbon-inner { justify-content: flex-start; }
  .hero h1, .page-hero h1 { max-width: none; }
}

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