:root {
  color-scheme: light;
  --paper: #fbf3e8;
  --surface: #fffbf5;
  --ink: #351f1d;
  --muted: #68514b;
  --wine: #56262e;
  --wine-dark: #291916;
  --clay: #eed9cb;
  --peach: #f3bda5;
  --light-ink: #fbf1e9;
  --light-muted: #e9cfc5;
  --rule: #dec8bb;
  --edge: #987b70;
  --focus: #973b3c;
  --sans: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
figure, p, dl, dd, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.26em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.block-space { padding-block: clamp(3.4rem, 8vw, 7rem); }
.skip-link { position: fixed; z-index: 4; top: 0.65rem; left: 0.65rem; transform: translateY(-200%); padding: 0.65rem 0.95rem; background: var(--surface); }
.skip-link:focus { transform: none; }

h2 { font-size: clamp(2.35rem, 5.3vw, 5rem); font-weight: 780; line-height: 0.97; letter-spacing: -0.07em; text-wrap: balance; }
h3 { font-size: 1.12rem; font-weight: 735; line-height: 1.25; letter-spacing: -0.025em; }
.eyebrow { color: var(--peach); font-size: 0.875rem; font-weight: 720; letter-spacing: 0.13em; text-transform: uppercase; }

.site-header { border-bottom: 1px solid #68413c; background: var(--wine-dark); color: var(--light-ink); }
.header-row { display: flex; min-height: 4.65rem; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.leaf-mark { position: relative; display: block; width: 0.9rem; height: 1.3rem; transform: rotate(28deg); border-radius: 100% 0; background: var(--peach); }
.leaf-mark::after { position: absolute; top: 28%; bottom: 18%; left: 49%; width: 1px; transform: rotate(34deg); background: var(--wine-dark); content: ""; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.desktop-nav a { color: var(--light-muted); font-size: 0.94rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .phone-link:hover { text-decoration: underline; }
.phone-link { font-weight: 720; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.header-phone { font-size: 0.94rem; }

.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: 0.68rem 1.4rem; border: 1px solid transparent; border-radius: 0.45rem; font: 720 0.94rem/1.28 var(--sans); text-align: center; text-decoration: none; transition: background-color 150ms, color 150ms, border-color 150ms; }
.button-primary { background: var(--wine); color: var(--light-ink); }
.button-primary:hover:not(:disabled) { background: #76323b; }
.button-primary:disabled { opacity: 0.5; }
.button-outline { min-height: 2.75rem; border-color: var(--edge); }
.button-outline:hover { background: var(--clay); }
.site-header .button-outline, .site-footer .button-outline { border-color: #9c746c; }
.site-header .button-outline:hover, .site-footer .button-outline:hover { background: #603731; }
.site-header :focus-visible, .hero :focus-visible, .about :focus-visible, .site-footer :focus-visible { outline-color: var(--peach); }

.hero { position: relative; display: grid; min-height: clamp(29rem, 52vw, 43rem); isolation: isolate; background: var(--wine-dark); color: var(--light-ink); }
.hero-image { position: absolute; z-index: -1; inset: 0; }
.hero-image img, .cooking-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image img { object-position: center 50%; }
.hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, #291916f2 4%, #291916cc 28%, #29191682 57%, #29191608 93%), linear-gradient(0deg, #291916a8, transparent 65%); content: ""; }
.hero-content { display: grid; min-width: 0; align-items: end; }
.hero-copy { padding-block: clamp(3.15rem, 9.5vw, 7rem) clamp(2.75rem, 7.5vw, 5.8rem); }
.hero h1 { margin-top: 0.65rem; font-size: clamp(3.9rem, 8.5vw, 8.1rem); font-weight: 800; line-height: 0.89; letter-spacing: -0.087em; text-shadow: 0 2px 0.4em #160b09a1; }
.hero h1 span { color: var(--peach); }
.hero-description { max-width: 34ch; margin-top: 1.35rem; color: var(--light-ink); font-size: clamp(1.05rem, 1.75vw, 1.26rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.35rem; margin-top: 1.5rem; }
.hero .button-primary { background: var(--peach); color: var(--wine-dark); }
.hero .button-primary:hover { background: #ffd2bc; }
.hero-price { color: var(--light-muted); font-variant-numeric: tabular-nums; }
.hero-price strong { margin-right: 0.25rem; color: var(--light-ink); font-size: 1.1rem; }

.cooking h2 { margin-bottom: clamp(1.15rem, 3.8vw, 2.35rem); }
.cooking-image { overflow: hidden; aspect-ratio: 3.5; border-radius: 0.7rem; background: #66503a; }
.cooking-image img { object-position: center 47%; }
.cooking-list, .benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.65rem, 2.4vw, 1.6rem); }
.cooking-list { margin-top: 1.15rem; }
.cooking-list > div { padding: 0.8rem 0 0; border-top: 1px solid var(--rule); }
.cooking-list dt, .benefit-list dt { font-size: 1.1rem; font-weight: 740; line-height: 1.28; letter-spacing: -0.025em; }
.cooking-list dd { margin-top: 0.3rem; color: var(--muted); }

.about { background: var(--wine); color: var(--light-ink); }
.about h2 { color: var(--peach); }
.benefit-list { margin-top: clamp(1.2rem, 3.8vw, 2.35rem); }
.benefit-list > div { min-width: 0; padding: clamp(0.9rem, 2.35vw, 1.5rem); border: 1px solid #956660; border-radius: 0.55rem; background: #653038; }
.benefit-list dd { margin-top: 0.3rem; color: var(--light-muted); }
.health-guide { display: grid; gap: 0.5rem; margin-top: clamp(1.05rem, 3vw, 1.8rem); }
.health-guide details { padding-inline: clamp(0.85rem, 2.5vw, 1.5rem); border: 1px solid #956660; border-radius: 0.42rem; }
.health-guide summary { color: var(--light-ink); }
.health-guide summary::after { color: var(--peach); }
.health-guide details[open] { background: #482229; }
.health-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.5rem; padding-bottom: 1rem; }
.health-grid dt { margin-bottom: 0.13rem; font-weight: 715; }
.health-guide dd, .health-intro { color: var(--light-muted); }
.health-intro { max-width: 74ch; padding-bottom: 0.95rem; }
summary { display: flex; min-height: 3.45rem; align-items: center; justify-content: space-between; gap: 0.85rem; padding-block: 0.55rem; font-weight: 670; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { width: 0.86rem; height: 0.86rem; flex: 0 0 auto; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; content: ""; }
details[open] > summary::after { background-size: 100% 1.5px, 0 0; }

.faq { padding-block: clamp(3.4rem, 7vw, 6rem); }
.faq h2 { text-align: center; }
.faq-list { max-width: 53rem; margin: clamp(1rem, 3vw, 1.8rem) auto 0; border-top: 1px solid var(--rule); }
.faq-list details { padding-inline: 0.25rem; border-bottom: 1px solid var(--rule); }
.faq-list summary::after { color: var(--wine); }
.faq-list p { max-width: 72ch; padding-bottom: 0.85rem; color: var(--muted); }

.packs { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); align-items: start; gap: 1.25rem clamp(1.25rem, 5vw, 4.8rem); padding-top: clamp(1.6rem, 4vw, 3.5rem); border-top: 1px solid var(--rule); }
.section-header > p, .checkout-intro > p { margin-top: 0.55rem; color: var(--muted); }
.pack-grid { display: grid; gap: 0.45rem; }
.pack-card { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) auto; align-items: center; gap: 0.65rem; min-width: 0; padding: clamp(0.65rem, 2vw, 1.1rem); border: 1px solid var(--rule); border-radius: 0.5rem; background: var(--surface); text-decoration: none; transition: background-color 150ms, border-color 150ms; }
.pack-card:hover { border-color: var(--edge); background: #f7e1d4; }
.pack-card > strong { color: var(--wine); font-size: clamp(2rem, 4.25vw, 3.6rem); font-weight: 780; line-height: 0.95; letter-spacing: -0.085em; white-space: nowrap; }
.pack-card small { margin-left: 0.12em; font-size: 0.48em; font-weight: 675; letter-spacing: -0.035em; }
.pack-price { font-size: clamp(0.92rem, 1.8vw, 1.2rem); font-weight: 740; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pack-action { padding: 0.35rem 0.6rem; border-radius: 0.25rem; background: var(--clay); color: var(--wine); font-size: 0.875rem; font-weight: 700; white-space: nowrap; }

.checkout-section { padding-block: clamp(2.65rem, 7vw, 6rem); border-top: 1px solid var(--rule); background: var(--clay); }
.checkout-intro { margin-bottom: clamp(1rem, 3vw, 1.85rem); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid #ccb3a6; border-radius: 0.8rem; background: var(--surface); }
.order-panel { min-width: 0; padding: clamp(1rem, 3.15vw, 2.45rem); }
.order-options { border-right: 1px solid var(--rule); background: #f9eee4; }
.product-preview { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.3rem; }
.product-preview img { width: 4.2rem; height: 4.2rem; flex: 0 0 auto; border: 1px solid var(--rule); border-radius: 0.45rem; background: #fff; object-fit: cover; }
.product-preview p { margin-top: 0.18rem; color: var(--muted); font-size: 0.92rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field > label { display: block; margin-bottom: 0.4rem; padding: 0; font-size: 0.94rem; font-weight: 680; }
.weight-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.weight-option { position: relative; min-width: 0; cursor: pointer; }
.weight-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.weight-option span { display: grid; min-height: 2.85rem; place-items: center; padding: 0.3rem; border: 1px solid var(--rule); border-radius: 0.4rem; background: var(--surface); font-weight: 695; }
.weight-option:hover span { border-color: var(--edge); }
.weight-option input:checked + span { border-color: var(--wine); background: #f6d5c4; box-shadow: inset 0 0 0 1px var(--wine); }
.weight-option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.order-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.8rem; margin-top: 0.95rem; }
.field { min-width: 0; }
.field select, .checkout-fields .field input, .checkout-fields textarea, .quantity { width: 100%; min-height: 2.95rem; border: 1px solid var(--edge); border-radius: 0.4rem; background: var(--surface); color: var(--ink); }
.field select { appearance: none; padding: 0.52rem 1.8rem 0.52rem 0.65rem; background-image: linear-gradient(45deg, transparent 50%, var(--wine) 50%), linear-gradient(135deg, var(--wine) 50%, transparent 50%); background-position: right 0.95rem center, right 0.65rem center; background-repeat: no-repeat; background-size: 0.31rem 0.31rem; }
.quantity { display: flex; width: fit-content; align-items: stretch; }
.quantity button { width: 2.75rem; padding: 0; border: 0; border-radius: 0.35rem; background: transparent; color: var(--wine); font-size: 1.2rem; }
.quantity button:hover:not(:disabled) { background: var(--clay); }
.quantity button:disabled { opacity: 0.4; }
.quantity input { appearance: textfield; width: 2.7rem; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: center; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.checkout-fields legend { margin-bottom: 0.7rem; font-size: 1.22rem; letter-spacing: -0.025em; }
.checkout-grid { display: grid; gap: 0.65rem; }
.checkout-fields .field input, .checkout-fields textarea { display: block; padding: 0.52rem 0.65rem; }
.checkout-fields .field input[aria-invalid="true"] { border-color: #9c382f; }
.checkout-fields textarea { resize: vertical; }
.extra-fields { margin-top: 0.45rem; }
.extra-fields summary { min-height: 2.75rem; color: var(--wine); font-size: 0.94rem; }
.optional-fields { display: grid; gap: 0.55rem; padding-block: 0.25rem 0.65rem; }
.order-summary { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.45rem 0.8rem; margin-top: 1.2rem; padding-block: 1rem 0.15rem; border-top: 1px solid var(--rule); }
#selection { font-size: 0.94rem; font-weight: 720; }
#selected-package, .order-total span { color: var(--muted); font-size: 0.875rem; }
.order-total { display: grid; text-align: right; }
.order-total output { color: var(--wine); font-size: clamp(1.3rem, 2.7vw, 2.15rem); font-weight: 770; font-variant-numeric: tabular-nums; line-height: 1.12; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.submit-button { width: 100%; margin-top: 0.65rem; }
.field-error, .form-status { margin-top: 0.4rem; color: #983a32; font-size: 0.9rem; font-weight: 620; }
.form-status:empty { margin: 0; }
.notice { margin-bottom: 0.75rem; padding: 0.65rem; border-radius: 0.45rem; background: var(--surface); }

.site-footer { padding-block: clamp(2rem, 5.5vw, 4.2rem); background: var(--wine-dark); color: var(--light-ink); }
.footer-row { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr) auto; align-items: start; gap: 1rem clamp(1.1rem, 3.5vw, 3.1rem); }
.site-footer h2 { color: var(--peach); font-size: clamp(2rem, 4vw, 3.2rem); }
.footer-contacts { display: grid; max-width: 50ch; justify-items: start; gap: 0.3rem; color: var(--light-muted); font-style: normal; }
.footer-phone { color: var(--light-ink); font-size: 1.16rem; }
.footer-hours { margin-top: 0.35rem; color: var(--light-muted); }
.footer-row > .button { justify-self: start; }

.receipt-page { display: grid; min-height: 100vh; place-items: center; padding: 1rem; background: var(--clay); }
.receipt { width: min(100%, 38rem); padding: clamp(1.35rem, 5vw, 3.5rem); border: 1px solid var(--rule); border-radius: 0.8rem; background: var(--surface); }
.receipt h1 { font-size: clamp(2.5rem, 6.5vw, 4.3rem); font-weight: 780; line-height: 1; letter-spacing: -0.065em; }
.receipt p { margin-top: 0.7rem; color: var(--muted); }
.receipt .eyebrow { margin: 0 0 0.85rem; color: var(--wine); }
.receipt .button { margin-top: 1.35rem; }

@media (max-width: 55rem) {
  .wrap { width: min(100% - 3rem, 76rem); }
  .desktop-nav { display: none; }
  .footer-row { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-location { grid-row: 2; }
}

@media (max-width: 43rem) {
  .wrap { width: min(100% - 2rem, 76rem); }
  .header-row { min-height: 4rem; }
  .hero { min-height: 0; }
  .hero-image { position: relative; inset: auto; grid-row: 1; aspect-ratio: 1.54; }
  .hero-image::after { background: linear-gradient(0deg, var(--wine-dark), #29191600 55%); }
  .hero-content { position: relative; grid-row: 2; }
  .hero-copy { margin-top: -1.6rem; padding-block: 0 2.35rem; }
  .hero h1 { font-size: clamp(2.9rem, 10.4vw, 4.6rem); line-height: 0.94; }
  .hero-description { margin-top: 0.8rem; }
  .hero-actions { margin-top: 0.95rem; }
  .cooking-image { aspect-ratio: 1.9; }
  .cooking-list, .benefit-list, .health-grid, .packs, .order-grid { grid-template-columns: minmax(0, 1fr); }
  .cooking-list { gap: 0.65rem; }
  .order-options { border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 30rem) {
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 0.65rem; padding-block: 0.55rem; }
  .header-actions { display: contents; }
  .header-phone { grid-area: 2 / 1; }
  .header-cta { grid-area: 1 / 2 / span 2 / 3; align-self: center; }
  .footer-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 25rem) {
  .button { padding-inline: 0.85rem; }
  .pack-card { gap: 0.45rem; }
  .pack-action { padding-inline: 0.42rem; }
  .order-fields { grid-template-columns: minmax(0, 1fr); }
  .order-total { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .pack-card { transition: none; }
}
