:root {
  color-scheme: light;
  --paper: #fff6ea;
  --paper-light: #fffaf3;
  --paper-deep: #f5e6d5;
  --ink: #271a16;
  --muted: #685249;
  --red: #94321f;
  --red-hover: #782717;
  --red-dark: #702619;
  --dark: #30201a;
  --line: #dfcbc0;
  --sans: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.15rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.58 var(--sans); }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: default; }
:focus-visible { outline: 2px solid #a93c24; outline-offset: 4px; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h2 { font: 400 clamp(2.65rem, 5.55vw, 5.1rem)/.97 var(--serif); letter-spacing: -.057em; }
h3 { font: 500 clamp(1.48rem, 2.35vw, 2rem)/1.08 var(--serif); letter-spacing: -.038em; }
h4 { font-size: 1.05rem; font-weight: 720; line-height: 1.3; }
p { max-width: 62ch; }
.wrap { width: min(100% - 5.25rem, 73rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.6vw, 7.5rem); }
.section-label { margin-bottom: .65rem; color: var(--red); font-size: .875rem; font-weight: 750; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 4.65rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; color: inherit; text-decoration: none; font-size: 1rem; font-weight: 750; letter-spacing: -.032em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; background: var(--red); color: #fff5e7; font: 1.18rem/1 var(--sans); }
.header-inner nav { display: flex; gap: clamp(.85rem, 2.8vw, 2.35rem); }
.header-inner nav a { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--muted); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover { color: var(--red); text-decoration: underline; text-underline-offset: .24em; }
.header-inner > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.2rem; padding: .68rem 1.18rem; border: 1px solid transparent; border-radius: .13rem; background: var(--red); color: #fff9f0; text-align: center; text-decoration: none; font-size: .9375rem; font-weight: 720; line-height: 1.25; }
.button:hover { background: var(--red-hover); }
.button-small { min-height: 2.75rem; padding: .47rem .85rem; }
.button-secondary { min-height: 2.75rem; padding: .55rem .85rem; border-color: #edbcab; background: transparent; color: #fff7eb; }
.button-secondary:hover { border-color: #fff3e3; background: #fff0dc; color: var(--red-dark); }
.button-accent { background: #f1d3b9; color: #4a2118; }
.button-accent:hover { background: #ffead5; }
.text-link { width: fit-content; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: .24em; }

.hero-inner { width: min(100% - 3rem, 86rem); }
.hero-copy { display: grid; justify-items: center; padding: clamp(2rem, 4vw, 3.95rem) 1rem clamp(1.7rem, 3vw, 2.9rem); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--red); font-size: .875rem; font-weight: 750; letter-spacing: .028em; }
.stock-dot { width: .43rem; height: .43rem; flex: 0 0 .43rem; border-radius: 50%; background: var(--red); }
.hero h1 { margin-block: .32rem .62rem; color: var(--ink); font: 400 clamp(3.55rem, 9.3vw, 8.6rem)/.95 var(--serif); letter-spacing: -.071em; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-description { max-width: 49ch; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.16rem); }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .55rem 1.15rem; margin-top: 1.1rem; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .38rem; color: var(--muted); font-size: .875rem; line-height: 1.3; }
.hero-price strong { color: var(--ink); font: 400 1.6rem/1 var(--serif); letter-spacing: -.044em; white-space: nowrap; }
.hero-scene { background: #883620; }
.hero-scene img { aspect-ratio: 2.65; object-fit: cover; object-position: 54% 51%; }

.product-facts { margin-top: clamp(.85rem, 2.1vw, 1.65rem); background: var(--dark); color: #fff4e7; }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .9rem 0; list-style: none; }
.facts-list li { min-width: 0; display: grid; align-content: start; gap: .08rem; padding: .3rem clamp(.62rem, 2vw, 1.45rem); }
.facts-list li:first-child { padding-left: 0; }
.facts-list li + li { border-left: 1px solid #745b50; }
.facts-list strong { font-size: 1.02rem; line-height: 1.25; }
.facts-list span, .facts-list a { width: fit-content; color: #efcdbb; font-size: .875rem; line-height: 1.35; }
.facts-list a { font-weight: 650; text-underline-offset: .22em; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); align-items: center; gap: clamp(2.1rem, 8vw, 7rem); }
.ingredient-photo { min-width: 0; }
.ingredient-photo img { aspect-ratio: 1.04; object-fit: cover; object-position: 50% 50%; }
.ingredient-photo figcaption { margin-top: .42rem; color: var(--muted); font-size: .8125rem; }
.about-copy h2 { max-width: 13ch; }
.about-copy > h2 + p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.specs { margin-top: 1.4rem; }
.specs div, .nutrition-table dl div { display: flex; justify-content: space-between; gap: .7rem; padding-block: .55rem; border-top: 1px solid var(--line); }
.specs div:last-child, .nutrition-table dl div:last-child { border-bottom: 1px solid var(--line); }
.specs dt, .nutrition-table dt { color: var(--muted); }
.specs dd, .nutrition-table dd { text-align: end; font-weight: 720; }

.uses-section { background: var(--paper-deep); }
.uses-layout, .packs-layout, .faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 1.85rem clamp(2rem, 6.6vw, 6rem); align-items: start; }
.uses-intro h2 { max-width: 12ch; }
.uses-grid { border-top: 1px solid #d5b9aa; }
.uses-grid article, .research-grid article { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: baseline; gap: .38rem 1rem; padding-block: .85rem; border-bottom: 1px solid #d5b9aa; }
.uses-grid article p, .research-grid article p { color: var(--muted); }
.cooking-note { margin-top: 1.45rem; padding: .4rem 0 .38rem 1rem; border-left: 2px solid var(--red); }
.cooking-note strong { color: var(--red); font-size: .875rem; font-weight: 750; }
.cooking-note p { max-width: 29ch; margin-top: .25rem; color: var(--muted); }

.packs-section { background: var(--red); color: #fff7ec; }
.packs-layout .section-heading > p { max-width: 29ch; margin-top: .9rem; color: #f8d8c6; }
.packs-grid { border-top: 1px solid #d28d77; }
.pack-card { min-width: 0; display: grid; grid-template-columns: minmax(5.2rem, .69fr) minmax(0, 1fr) auto; align-items: center; gap: .5rem .85rem; padding-block: .78rem; border-bottom: 1px solid #d28d77; }
.pack-card h3 { font-size: clamp(2.7rem, 5.35vw, 4.8rem); line-height: 1; letter-spacing: -.081em; white-space: nowrap; }
.pack-card h3 span { color: #f6ccb8; font: 650 .35em/1 var(--sans); letter-spacing: 0; }
.pack-card p { color: #ffeddd; }
.pack-bottom { min-width: 0; display: grid; justify-items: end; gap: .35rem; }
.pack-bottom > strong { color: #fff5e6; font-size: 1.04rem; letter-spacing: -.025em; white-space: nowrap; }
.packs-section :focus-visible, .product-facts :focus-visible, .site-footer :focus-visible { outline-color: #ffd5bc; }

.delivery-section { background: var(--paper-light); }
.delivery-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.5rem; }
.delivery-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.55rem; padding: 0; list-style: none; counter-reset: step; }
.delivery-steps li { padding-top: .75rem; border-top: 1px solid var(--red); counter-increment: step; }
.delivery-steps li::before { content: counter(step); display: grid; place-items: center; width: 1.48rem; height: 1.48rem; margin-bottom: .55rem; border: 1px solid #cfaa98; color: var(--red); font-size: .825rem; font-weight: 750; }
.delivery-steps p { margin-top: .45rem; color: var(--muted); }

.nutrition-section { border-top: 1px solid var(--line); }
.nutrition-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); align-items: end; gap: .7rem 2rem; margin-bottom: 1.65rem; }
.nutrition-intro p, .research-intro p { color: var(--muted); font-size: 1.04rem; }
.nutrition-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); grid-template-areas: "table composition" "table portion"; align-items: start; gap: 1rem 2rem; }
.nutrition-card { min-width: 0; padding-block: .8rem; }
.nutrition-card p { margin-top: .52rem; color: var(--muted); }
.nutrition-composition { grid-area: composition; border-block: 1px solid var(--line); }
.nutrition-portion { grid-area: portion; padding-top: 0; }
.nutrition-card .portion-value { display: flex; align-items: baseline; gap: .35rem; margin-top: .4rem; color: var(--red); }
.portion-value strong { font: 400 clamp(2rem, 4.3vw, 3.65rem)/1 var(--serif); letter-spacing: -.07em; }
.nutrition-table { grid-area: table; align-self: stretch; padding: clamp(1rem, 3.2vw, 2rem); background: var(--paper-deep); }
.nutrition-table dl { margin-top: .7rem; font-size: .9375rem; }
.nutrition-table dd { white-space: nowrap; }
.nutrition-card .nutrition-source { font-size: .8125rem; }
.research { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.research-intro { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: .55rem 1.55rem; align-items: start; }
.research-intro h3 { max-width: 19ch; }
.research-grid { margin-top: 1.15rem; border-top: 1px solid var(--line); }
.research-grid article { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); border-color: var(--line); }

.faq-section { background: var(--paper-deep); }
.faq-grid h2 { max-width: 12ch; }
.faq-list { border-top: 1px solid #d5b9aa; }
.faq-list details { border-bottom: 1px solid #d5b9aa; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 3.2rem; padding-block: .6rem; list-style: none; font-weight: 720; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--red); font-size: 1.38rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding-block: .12rem .85rem; color: var(--muted); }
.faq-list .text-link { display: inline-block; }

.order-section { background: var(--dark); color: #fff5e7; }
.order-intro { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1.5rem; margin-bottom: 1.35rem; }
.order-intro > p { max-width: 38ch; color: #f5d6c6; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1rem; align-items: stretch; }
.order-card { min-width: 0; padding: clamp(1rem, 3.1vw, 2.05rem); background: var(--paper-light); color: var(--ink); }
.order-card > h3 { margin-bottom: .85rem; font-size: clamp(1.72rem, 3.1vw, 2.55rem); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field-label { padding: 0; font-size: .875rem; font-weight: 750; }
.weight-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .48rem; margin-top: .42rem; }
.weight-option { position: relative; min-width: 0; }
.weight-option input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.weight-option-body { display: grid; gap: .13rem; min-width: 0; padding: .55rem .65rem; border: 1px solid var(--line); color: var(--muted); font-size: .875rem; white-space: nowrap; cursor: pointer; }
.weight-option-body strong { color: var(--ink); font: 400 clamp(1.25rem, 2.35vw, 1.63rem)/1.15 var(--serif); }
.weight-option-body:hover { border-color: var(--red); }
.weight-option input:checked + .weight-option-body { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fae7da; }
.weight-option input:focus-visible + .weight-option-body { outline: 2px solid var(--red); outline-offset: 3px; }
.order-options { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .7rem; margin-top: .9rem; }
.field-label { display: block; margin-bottom: .28rem; }
.packaging { position: relative; min-width: 0; }
.packaging select, .contact-fields input, .contact-fields textarea { display: block; width: 100%; min-width: 0; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .12rem; background: #fffdf8; color: var(--ink); opacity: 1; }
.packaging select { appearance: none; padding: .4rem 1.5rem .4rem .62rem; background: #f3e7dd; color: var(--muted); font-size: .875rem; -webkit-text-fill-color: var(--muted); }
.packaging::after { content: ''; position: absolute; right: .72rem; bottom: 1.12rem; width: .42rem; height: .42rem; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); }
.stepper button { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.625rem; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 1.32rem; line-height: 1; }
.stepper button:hover:enabled { background: #fae7da; }
.stepper button:focus-visible { outline-offset: -4px; }
.stepper button:disabled { color: #987e70; }
.stepper span { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.order-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .38rem .75rem; margin-block: .95rem .65rem; padding: .62rem .72rem; background: #f5e1d2; }
.order-total div { display: grid; }
.order-total div span { color: var(--muted); font-size: .875rem; }
.order-total output { color: var(--red); font: 400 clamp(1.8rem, 4.2vw, 2.85rem)/1 var(--serif); letter-spacing: -.064em; overflow-wrap: anywhere; }
.order-contact legend:not(.visually-hidden) { width: 100%; border-top: 1px solid var(--line); padding-top: .62rem; color: var(--ink); font-size: 1rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .58rem .68rem; margin-block: .5rem .7rem; }
.contact-fields label { min-width: 0; font-size: .875rem; font-weight: 700; }
.contact-fields label span { color: var(--muted); font-weight: 400; }
.contact-fields input, .contact-fields textarea { padding: .4rem .6rem; margin-top: .2rem; font-size: 1rem; font-weight: 400; }
.contact-fields textarea { min-height: 4rem; resize: vertical; }
.contact-fields input::placeholder, .contact-fields textarea::placeholder { color: var(--muted); }
.request-form .contact-fields :is(input, textarea):is(:user-invalid, .has-validation-errors :invalid) { border-color: #a02c37; background: #fff0ef; box-shadow: inset 0 0 0 1px #a02c37; }
.request-form .contact-fields :is(input, textarea):is(:user-invalid, .has-validation-errors :invalid):focus-visible { outline-color: #a02c37; }
.contact-fields .full-field { grid-column: 1 / -1; }
.submit-button:disabled { background: #ead9cc; color: #635045; }
.order-status { margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.order-status[data-error] { color: #882e31; font-weight: 720; }
.wholesale-card { border: 1px solid #d7a791; background: #f0d7c6; color: var(--ink); }
.wholesale-card > h3 { margin-bottom: .45rem; }
.wholesale-card > p { color: var(--muted); }
.wholesale-card .contact-fields { grid-template-columns: 1fr; margin-top: .85rem; }
.wholesale-card .button-accent { background: var(--red); color: #fff8f1; }
.wholesale-card .button-accent:hover { background: var(--red-hover); }
.wholesale-card .button-accent:disabled { background: #e2c6b5; color: #635045; }

.site-footer { padding-top: clamp(2.4rem, 5vw, 4rem); background: var(--red-dark); color: #fff5e8; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, .53fr) minmax(0, 1.47fr); gap: 1.05rem 2rem; padding-bottom: 1.65rem; }
.contacts-grid h2 { font-size: clamp(2.35rem, 4.8vw, 4.15rem); }
.contacts-grid dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .95fr) minmax(0, 1.62fr) minmax(0, 1fr); gap: .68rem; }
.contacts-grid dl div { padding-top: .48rem; border-top: 1px solid #c6846d; }
.contacts-grid dt { font-weight: 720; }
.contacts-grid dd { color: #f4d0be; font-size: .875rem; }
.contact-phone { color: #fff4e8; text-underline-offset: .22em; white-space: nowrap; }
.contact-phone:hover { color: #ffd0ae; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding-block: .82rem; border-top: 1px solid #c6846d; }
.footer-inner .text-link { color: #fff4e8; }
.footer-inner .brand-mark { background: #fff3e4; color: var(--red-dark); }

.result-page { min-height: 100svh; display: grid; place-items: center; padding-block: 2rem; }
.result-card { width: min(100%, 38rem); border-top: .24rem solid var(--red); }
.result-card h1 { font: 400 clamp(2.5rem, 7.2vw, 4.6rem)/.96 var(--serif); letter-spacing: -.072em; }
.result-card > p { margin-block: .8rem; color: var(--muted); }
.result-card .brand { margin-bottom: 1.2rem; }

@media (max-width: 975px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-inner { width: calc(100% - 2rem); }
  .about-grid { gap: 2.3rem; }
  .uses-layout, .packs-layout, .faq-grid { column-gap: 2.15rem; }
  .contacts-grid dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-grid { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 1.7rem); }
  .hero-inner { width: 100%; }
  .section { padding-block: 3.2rem; }
  .header-inner { grid-template-columns: 1fr auto; gap: .12rem .5rem; padding-block: .45rem .14rem; }
  .header-inner > .button { grid-column: 2; grid-row: 1; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .25rem; }
  .header-inner nav a { font-size: .875rem; }
  .hero-copy { padding: 1.85rem .85rem 1.4rem; }
  .hero h1 { margin-block: .44rem .6rem; font-size: clamp(3.4rem, 11vw, 5.4rem); line-height: .96; letter-spacing: -.064em; }
  .hero-description { max-width: 39ch; }
  .hero-scene img { aspect-ratio: 1.53; object-position: 58% 50%; max-height: 24rem; }
  .product-facts { margin-top: 0; }
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .32rem 0; }
  .facts-list li { padding: .5rem .52rem; }
  .facts-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid #745b50; }
  .facts-list strong { font-size: .96rem; }
  .about-grid, .uses-layout, .packs-layout, .faq-grid, .nutrition-intro, .research-intro, .order-grid, .contacts-grid { grid-template-columns: 1fr; }
  .about-grid, .uses-layout, .packs-layout { gap: 1.3rem; }
  .ingredient-photo img { aspect-ratio: 1.2; }
  .about-copy > h2 + p { margin-top: .68rem; }
  .cooking-note { margin-top: .8rem; }
  .packs-layout .section-heading > p { margin-top: .6rem; }
  .delivery-steps { grid-template-columns: 1fr; gap: .75rem; }
  .nutrition-intro { margin-bottom: 1rem; }
  .nutrition-grid { grid-template-columns: 1fr; grid-template-areas: "composition" "table" "portion"; gap: .75rem; }
  .research { margin-top: 1.6rem; }
  .research-grid article { grid-template-columns: 1fr; }
  .faq-grid h2 { max-width: none; }
  .order-grid { gap: .75rem; }
}

@media (max-width: 430px) {
  .uses-grid article { grid-template-columns: 1fr; padding-block: .66rem; }
  .pack-card { grid-template-columns: minmax(4.4rem, .68fr) minmax(0, 1fr) auto; gap: .45rem; }
  .pack-card h3 { font-size: clamp(2rem, 8.6vw, 2.75rem); }
  .pack-card p { font-size: .875rem; }
  .pack-bottom .button { padding-inline: .5rem; font-size: .84375rem; }
  .pack-bottom > strong { font-size: .9375rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-address { grid-column: 1 / -1; }
}

@media (max-width: 365px) {
  .header-inner .brand { gap: .38rem; font-size: .9rem; }
  .header-inner > .button { padding-inline: .5rem; font-size: .83rem; }
  .hero h1 { font-size: 3.18rem; }
  .order-options { grid-template-columns: 1fr; }
  .stepper { width: fit-content; }
  .weight-options { gap: .34rem; }
  .weight-option-body { padding-inline: .43rem; }
}
