:root {
  color-scheme: light;
  --cream: #fff;
  --ink: #171717;
  --muted: #565656;
  --rust: #272727;
  --rust-hover: #414141;
  --wine: #f7f7f5;
  --line: #d8d8d4;
  --font: "Helvetica Neue", Arial, sans-serif;
  --wide: min(100% - 8rem, 79rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--wine); color: var(--ink); font-family: var(--font); }
body:has(dialog[open]) { overflow: hidden; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
:is(a, button, input) { touch-action: manipulation; }
button:active:not(:disabled), a.outline-button:active { opacity: .82; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: var(--wide); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; padding: .7rem 1rem; background: var(--ink); color: var(--wine); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 1; background: #2e070a; border-bottom: 1px solid var(--line); }
.nav { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .45rem; }
.brand svg { height: 1.8rem; width: 1.8rem; color: var(--rust); }
.nav-links { list-style: none; display: flex; padding: 0; margin: 0; gap: clamp(1rem, 3vw, 3rem); }
.nav-toggle { display: none; }
.nav-links a { position: relative; display: grid; place-items: center; min-height: 4.7rem; font-size: .85rem; font-weight: 650; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current]::after { content: ""; position: absolute; height: 2px; inset: auto 0 -1px; background: var(--rust); }
.bag-button { justify-self: end; display: flex; align-items: center; min-height: 2.75rem; gap: .55rem; padding: .35rem .65rem; border: 1px solid transparent; background: transparent; font-size: .85rem; font-weight: 650; }
.bag-button:hover { border-color: var(--line); }
.bag-button b { display: grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding-inline: .2rem; color: var(--wine); background: var(--rust); border-radius: 50%; font-size: .67rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 54% 43%, #a72c31 0%, #78181f 42%, #480b11 83%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .19; background: url("assets/grain.svg"); mix-blend-mode: screen; pointer-events: none; }
.hero-slash { position: absolute; z-index: -1; width: 38%; inset: 0 auto 0 49%; transform: skewX(20deg); background: linear-gradient(165deg, rgb(255 141 136 / .14), rgb(255 123 117 / .025)); border-inline: 1px solid rgb(255 223 214 / .08); }
.hero-inner { position: relative; min-height: clamp(38rem, 51vw, 47rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.68fr) minmax(0, .84fr); align-items: start; column-gap: clamp(1rem, 3vw, 3.25rem); padding-top: clamp(6rem, 10.3vw, 9rem); }
.hero-index { position: absolute; display: flex; align-items: center; gap: .6rem; color: var(--muted); font: var(--featured-label-font); letter-spacing: var(--featured-label-spacing); }
.hero-index { top: 1.5rem; left: 0; }
.hero-index b { color: var(--rust); }
.hero-index i, .eyebrow i { width: .4rem; height: .4rem; display: inline-block; background: var(--rust); transform: rotate(45deg); margin-right: .18rem; }
.featured-picker { position: absolute; z-index: 4; top: .8rem; right: 0; display: flex; gap: .3rem; }
.featured-arrow { min-height: 2.75rem; border: 1px solid var(--line); background: #39090ee8; }
.featured-arrow { display: grid; place-items: center; padding: 0; width: 2.75rem; }
.featured-arrow:hover { background: #65000e; }
.featured-prev .icon { transform: rotate(180deg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-content { position: relative; z-index: 3; min-width: 0; }
.eyebrow { color: var(--rust); display: inline-flex; align-items: center; gap: .42rem; font: 700 .68rem/1.3 ui-monospace, monospace; letter-spacing: .15em; }
.hero h1 { font-size: clamp(2.7rem, 5.3vw, 5.2rem); margin: .8rem 0 1rem; line-height: .93; font-weight: 900; letter-spacing: -.069em; }
.content-section h2 span { color: var(--rust); }
.hero-content p { font-size: .97rem; line-height: 1.55; color: #ffe3dd; max-width: 15.5rem; margin: 0 0 1.5rem; }
.outline-button { min-height: 2.85rem; display: inline-flex; gap: .65rem; justify-content: center; align-items: center; padding: .6rem .85rem; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: .75rem; font-weight: 700; transition: background-color 160ms ease, border-color 160ms ease; }
.outline-button:hover { border-color: var(--rust); background: rgb(127 127 127 / .08); }
.outline-button .icon { height: .95rem; width: .95rem; }
.hero-product { position: absolute; z-index: 2; pointer-events: none; display: grid; place-items: center; width: clamp(24rem, 36vw, 35rem); aspect-ratio: 1; left: 50%; top: clamp(3.25rem, 5vw, 5.65rem); margin: 0; transform: translateX(-50%); }
.product-orbit { position: absolute; top: 10%; left: 12%; width: 85%; height: 82%; border: 1px solid rgb(255 217 210 / .16); border-radius: 50%; }
.product-orbit::before, .product-orbit::after { content: "+"; position: absolute; color: #ffd5cb; font: 1rem/1 ui-monospace, monospace; }
.product-orbit::before { top: 16%; left: 10%; }
.product-orbit::after { bottom: 15%; right: 9%; }
.product-shadow { position: absolute; left: 23%; right: 23%; bottom: 2%; height: 10%; background: rgb(31 0 2 / .62); border-radius: 50%; filter: blur(1.05rem); }
.alternate-cutout { z-index: 1; display: block; width: 74%; height: 87%; filter: drop-shadow(-.85rem 1rem 1rem rgb(35 0 2 / .46)); }
.stepper { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: stretch; border: 1px solid var(--line); background: #f1f1ef; text-align: center; }
.stepper button { border: 0; background: transparent; min-height: 2.75rem; display: grid; place-items: center; padding: 0; }
.stepper button:hover:not(:disabled) { background: #ddd; }
.stepper button:disabled { opacity: .38; }
.stepper output { align-self: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.primary-button { border: 0; background: var(--rust); color: #fff; min-height: 3.15rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; padding: .55rem .85rem; font-size: .82rem; font-weight: 850; text-transform: uppercase; letter-spacing: .065em; transition: background-color 160ms ease; }
.primary-button:hover { background: var(--rust-hover); }
.wordmark { position: absolute; z-index: 1; left: 50%; bottom: 1.95rem; width: max-content; max-width: 100%; transform: translateX(-50%); display: grid; justify-items: end; color: var(--cream); pointer-events: none; }
.wordmark small { font: 600 clamp(.5rem, 1vw, .85rem)/1.3 ui-monospace, monospace; letter-spacing: .24em; margin-top: 1rem; }
.scroll-link { position: absolute; z-index: 3; bottom: 1.35rem; left: 0; display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border: 1px solid var(--line); border-radius: 50%; }
.scroll-link:hover { background: rgb(255 255 255 / .1); }

.content-section { padding-block: clamp(3rem, 7.5vw, 7.25rem); scroll-margin-top: 1rem; }
.editorial { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: 3rem; max-width: 66rem; }
.content-section h2 { margin: .7rem 0 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.02; }
.editorial-copy > p { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0; }
.nutrition-list div { display: flex; justify-content: space-between; align-items: start; gap: .65rem; border-top: 1px solid var(--line); padding-block: .75rem; }
.nutrition-list div:last-child { border-bottom: 1px solid var(--line); }
.nutrition-list dt { font-weight: 700; }
.nutrition-list dd { margin: 0; text-align: right; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #ececea; }
.footer-inner { min-height: 5.7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-inner small { color: var(--muted); }
.footer-top { display: flex; align-items: center; gap: .3rem; font-size: .75rem; min-height: 2.75rem; }
.footer-top:hover { color: var(--rust); }
.footer-top .icon { width: .95rem; height: .95rem; }

.modal { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 1.35rem; width: min(calc(100% - 2rem), 29rem); max-height: calc(100% - 2rem); box-shadow: 0 .85rem 3rem rgb(0 0 0 / .45); }
.modal::backdrop { background: rgb(0 0 0 / .62); }
.modal p, .modal small { color: var(--muted); line-height: 1.5; }
.modal .dialog-header { display: flex; align-items: start; justify-content: space-between; gap: .65rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.dialog-header > div { min-width: 0; }
.dialog-header form { flex: none; }
.dialog-header h2 { margin: .3rem 0 0; font-size: 2rem; letter-spacing: -.05em; }
.icon-button { background: transparent; display: grid; place-items: center; border: 1px solid var(--line); height: 2.75rem; width: 2.75rem; }
.icon-button:hover { background: #f1f1ef; }
.drawer { margin: 0 0 0 auto; inset: 0 0 0 auto; height: 100%; max-height: 100%; width: min(100%, 28rem); }
.drawer::backdrop { background: rgb(0 0 0 / .52); }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-line h3 { margin: 0; font-size: 1rem; }
.cart-line p { margin: .2rem 0 0; font-size: .82rem; }
.cart-line .stepper { width: 9rem; }
.remove-line { background: transparent; border: 0; color: var(--muted); text-decoration: underline; min-height: 2.75rem; padding: .25rem; justify-self: end; font-size: .75rem; }
.remove-line:hover { color: var(--ink); }
.cart-summary > p { display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.cart-summary small { display: block; margin-top: .6rem; }
.nutrition-list { margin-top: 1.25rem; }

@media (max-width: 64rem) {
  :root { --wide: calc(100% - 4rem); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, .95fr); column-gap: 1.2rem; }
  .hero-product { width: clamp(20rem, 40vw, 28rem); top: 5.6rem; }
  .wordmark { bottom: 2.25rem; }
}
@media (max-width: 47rem) {
  :root { --wide: calc(100% - 2.5rem); }
  .nav { grid-template-columns: 1fr 1fr; gap: 0; min-height: 0; padding-top: .4rem; }
  .nav-links { grid-area: 2 / 1 / auto / -1; justify-content: space-between; gap: .4rem; }
  .nav-links a { min-height: 2.85rem; font-size: .8rem; }
  .hero-inner { display: grid; grid-template-columns: 1fr; padding-top: 3.7rem; row-gap: 1.2rem; }
  .hero-index { top: 1rem; }
  .featured-picker { position: relative; top: auto; justify-self: center; }
  .hero-content { text-align: center; }
  .hero h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .hero h1 br { display: none; }
  .hero-content p { margin-inline: auto; max-width: 19rem; margin-bottom: .9rem; }
  .hero-product { position: relative; left: auto; top: auto; transform: none; width: min(81%, 23rem); margin: 0 auto -2.55rem; }
  .wordmark { position: relative; left: auto; bottom: auto; margin: -.15rem auto .45rem; transform: none; }
  .wordmark small { letter-spacing: .16em; margin-top: .55rem; }
  .scroll-link { display: none; }
  .editorial { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-inner { flex-wrap: wrap; min-height: 0; padding-block: 1rem; }
  .footer-inner small { order: 3; width: 100%; }
}
@media (max-width: 21rem) {
  .nav-links a { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

.brand { width: clamp(9.1rem, 17vw, 12.15rem); min-height: 2.75rem; }
.brand svg { width: 100%; height: auto; aspect-ratio: 331 / 53; display: block; }
.hero { background: radial-gradient(ellipse at 61% 41%, #a8373a 0%, #871d23 47%, #59090e 88%); }
.hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.8fr) minmax(0, .8fr); min-height: clamp(36rem, 51vw, 46.5rem); }
.hero-content h1 { font-size: clamp(2.45rem, 4.1vw, 4.1rem); letter-spacing: -.052em; line-height: .97; }
.hero-content .long-product-title { font-size: clamp(1.65rem, 2.9vw, 3rem); overflow-wrap: anywhere; }
.hero-content p { max-width: 17rem; }
.hero-product { width: clamp(20rem, 36vw, 34rem); top: clamp(2.9rem, 6vw, 5.65rem); }
.hero-pack { position: relative; z-index: 1; display: block; width: 64%; max-height: 103%; overflow: visible; transform: rotate(-5deg); filter: drop-shadow(-.9rem 1.3rem 1.2rem rgb(35 0 2 / .64)); }
.product-shadow { left: 22%; right: 22%; bottom: -3%; }
.product-orbit { width: 86%; height: 80%; }
.catalog-section { background: #fff; }
.catalog-heading { margin-bottom: 1.4rem; }
.catalog-controls { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { min-height: 2.75rem; padding: .5rem .85rem; border: 1px solid var(--line); background: transparent; font-size: .78rem; font-weight: 750; }
.filters button:hover { border-color: var(--rust); }
.filters button[aria-pressed=true] { color: #fff; border-color: var(--rust); background: var(--rust); }
.search-field { display: grid; gap: .3rem; font-size: .75rem; color: var(--muted); font-weight: 650; }
.search-field input { font: 500 .86rem/1.3 var(--font); width: min(100%, 16rem); min-height: 2.75rem; padding: .6rem .75rem; color: var(--ink); border: 1px solid var(--line); background: #fff; border-radius: 0; }
.search-field input::placeholder { color: var(--muted); opacity: .78; }
.catalog-count { color: var(--muted); font: 650 .7rem/1.4 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; margin: 1rem 0 .7rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.product-card { min-width: 0; }
.card-trigger { width: 100%; height: 100%; background: #fff; text-align: left; color: inherit; padding: 0; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-trigger:hover { border-color: var(--rust); }
.card-media { display: block; position: relative; flex: none; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #f1f1ef; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.card-media--packshot { padding: clamp(.75rem, 2vw, 1.5rem); background: #fff; }
.card-media svg { display: block; width: 100%; height: 100%; }
.card-body { position: relative; display: grid; width: 100%; align-content: start; padding: .85rem 2.75rem 1rem .85rem; gap: .33rem; }
.card-brand, .card-variant { color: var(--muted); font-size: .76rem; }
.card-brand { font-weight: 700; }
.card-body strong { font-size: clamp(.96rem, 1.65vw, 1.24rem); line-height: 1.12; letter-spacing: -.015em; }
.card-arrow { position: absolute; top: 1rem; right: .85rem; color: var(--rust); }
.product-pricing { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .65rem; margin-top: .6rem; font-variant-numeric: tabular-nums; }
.product-pricing del { color: var(--muted); font-size: .875rem; font-weight: 400; }
.product-pricing strong { color: var(--ink); font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 750; }
.price-unit { font-size: .75rem; color: var(--muted); }
@supports (grid-template-rows: subgrid) {
  .product-card, .card-trigger { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
  .card-body { grid-template-rows: subgrid; grid-row: span 4; }
  .card-brand { grid-row: 1; }
  .card-body > strong { grid-row: 2; }
  .card-variant { grid-row: 3; }
  .card-body > .product-pricing { grid-row: 4; }
}
#featured-price .product-pricing { margin: 0 0 1rem; }
#featured-price strong { color: inherit; font-size: 1.4rem; }
#featured-price del { color: inherit; opacity: .75; }
#detail-price .product-pricing { margin: .25rem 0 .8rem; }
#detail-price strong { font-size: 1.75rem; }
.empty-results { grid-column: 1 / -1; color: var(--muted); }
.visit-section { background: #f1f1ef; border-top: 1px solid var(--line); }
.visit-section address { font-size: 1.2rem; line-height: 1.35; font-weight: 750; font-style: normal; margin-bottom: .7rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cart-product { display: flex; align-items: center; gap: .65rem; grid-column: 1 / -1; }
.cart-product img { object-fit: cover; background: #f1f1ef; }
.cart-summary .live-store { margin-top: .55rem; width: 100%; }
.product-modal { width: min(calc(100% - 2rem), 52rem); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1.3rem; padding-top: 1rem; }
.detail-media { position: relative; margin: 0; background: #f1f1ef; }
.detail-media img { display: block; width: 100%; height: min(51vh, 27rem); object-fit: contain; }
.image-note { position: absolute; left: .5rem; bottom: .5rem; max-width: calc(100% - 1rem); padding: .125rem .375rem; font-size: .875rem; color: var(--muted); background: var(--cream); }
.nutrition-list .stat-space { visibility: hidden; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-top: .55rem; }
.gallery-controls button { font-size: 1.45rem; }
.gallery-controls output { font: 650 .7rem/1 ui-monospace, monospace; color: var(--muted); }
.detail-copy .eyebrow { color: var(--rust); text-transform: uppercase; margin-top: 0; }
.detail-copy > p:last-child { font-size: .82rem; }
.variant-choice { margin: 1.2rem 0; }
.variant-choice > p { font-size: .875rem; font-weight: 650; margin: 0 0 .5rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-options button { min-height: 2.75rem; min-width: 5rem; max-width: 100%; padding: .55rem 1rem; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; font-size: .875rem; text-align: left; cursor: pointer; }
.variant-options button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (max-width: 64rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, .89fr); }
  .hero-product { width: clamp(18rem, 40vw, 27rem); top: 5rem; }
  .catalog-controls { align-items: start; flex-direction: column; }
  .search-field, .search-field input { width: 100%; }
}
@media (max-width: 47rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
  .hero-content .long-product-title { font-size: clamp(1.9rem, 7.8vw, 3.2rem); }
  .hero-product { top: auto; width: min(76%, 19rem); margin: 0 auto -2.6rem; }
  .hero-pack { width: 60%; }
  .catalog-heading { display: block; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .card-body { padding: .7rem 1.65rem .8rem .65rem; }
  .card-arrow { right: .4rem; top: .65rem; }
  .card-arrow .icon { width: .95rem; }
  .card-brand, .card-variant { font-size: .69rem; }
}
@media (max-width: 34rem) {
  .detail-layout { grid-template-columns: 1fr; gap: .85rem; }
  .detail-media img { height: min(44vh, 19rem); }
}

.site-header, .hero {
  --ink: #fff;
  --muted: #ffd5db;
  --rust: #ffbd7b;
  --wine: #550710;
  --line: #ffd5db66;
  color: var(--ink);
}
.site-header { background: linear-gradient(104deg, #9f0518, #a9061c 37%, #b91e31 72%, #bc293a); border: 0; }
.nav { min-height: 4.9rem; }
.nav-links a { color: var(--ink); font-size: .84rem; min-height: 4.9rem; }
.nav-links a[aria-current]::after { display: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: .28em; }
.hero {
  --featured-label-font: 600 .64rem/1.15 ui-monospace, monospace;
  --featured-label-spacing: .12em;
  background: linear-gradient(104deg, #9f0518 0%, #a9061c 37%, #b91e31 72%, #bc293a 100%);
}
.hero::before { opacity: .14; }
.hero-slash { inset-inline-start: 65%; width: 37%; background: #dc41522e; border: 0; transform: skewX(-17deg); }
.hero-inner { width: var(--wide); }
.hero-content h1 { font-family: Arial, var(--font); font-size: clamp(1.6rem, 2.38vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; margin: .55rem 0 .8rem; }
.hero-content .long-product-title { font-size: clamp(1.4rem, 2vw, 2.35rem); }
.hero-content > p { border-top: 1px solid #ff7b8a; padding-top: 1rem; font-size: clamp(.76rem, 1.1vw, .95rem); }
.hero-content .outline-button { border-color: #ffd4da; border-radius: .22rem; letter-spacing: .035em; text-transform: uppercase; }
.hero-content .outline-button:hover { background: #ffffff1a; }
.hero-content .eyebrow, .hero-index { color: #ffd5db; }
.hero-product { top: clamp(4rem, 5.45vw, 7rem); width: clamp(17rem, 30vw, 32rem); }
.hero-pack { width: 70%; transform: none; }
.product-orbit { border-radius: 0; border: 1px solid #ff9aa87a; width: 82%; height: 72%; top: -6%; left: 40%; clip-path: polygon(0 0, 100% 0, 100% 100%, 98% 100%, 98% 17%, 0 17%); }
.product-orbit::before, .product-orbit::after { display: none; }
.product-shadow { bottom: 5%; }
.wordmark { bottom: clamp(1.65rem, 2.4vw, 3rem); width: min(70vw, 59rem); }
.wordmark-lettering { display: block; width: 100%; overflow: visible; }
.wordmark small { font-family: var(--font); letter-spacing: .22em; margin-top: .85rem; }
.featured-arrow { background: #84000f; border: 0; border-radius: .3rem; }
.featured-stats { position: relative; z-index: 2; grid-column: 3; display: grid; justify-self: center; width: min(100%, 12.5rem); margin: clamp(1.3rem, 3.75vw, 4rem) 0 0; }
.featured-stats div { display: flex; flex-direction: column-reverse; gap: .25rem; border-left: 1px solid var(--line); padding: .65rem 0 .7rem 1rem; }
.featured-stats :is(dt, dd) { font: var(--featured-label-font); letter-spacing: var(--featured-label-spacing); overflow-wrap: anywhere; }
.featured-stats dd { margin: 0; font-size: clamp(1.35rem, 2.75vw, 2.6rem); }
.featured-stats dt { color: var(--muted); text-transform: uppercase; }

@media (width > 47rem) {
  .hero-inner { min-height: clamp(35rem, 47vw, 50rem); padding-top: clamp(4rem, 6vw, 6.5rem); }
}
@media (max-width: 47rem) {
  .nav { min-height: 0; width: var(--wide); }
  .nav-links a { min-height: 2.85rem; }
  .hero-inner { width: var(--wide); min-height: 0; padding-top: 4.2rem; padding-bottom: 1.6rem; }
  .hero-index { top: 1.6rem; }
  .featured-picker { position: absolute; top: .6rem; }
  .wordmark { bottom: auto; width: 100%; }
  .featured-stats { grid-column: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: auto; width: 100%; margin: 0; gap: .65rem; }
  .featured-stats div { border: 0; border-top: 1px solid var(--line); padding: .5rem 0 0; }
  .featured-stats dd { font-size: clamp(1.05rem, 4.75vw, 1.85rem); }
  .hero-content h1 { font-size: clamp(1.85rem, 7.4vw, 3.6rem); }
  .hero-content .long-product-title { font-size: clamp(1.65rem, 6.8vw, 3rem); }
  .hero-product { top: auto; width: min(76%, 19rem); }
  .hero-pack { width: 64%; }
}
@media (width > 47rem) and (height < 38rem) {
  .hero-inner { min-height: clamp(22rem, calc(100svh - 4rem), 34rem); padding-top: clamp(3.35rem, 10svh, 4.5rem); }
  .hero-product { width: min(clamp(17rem, 30vw, 32rem), 56svh); top: clamp(3rem, 9svh, 4.2rem); }
  .featured-stats { margin-top: .85rem; }
  .featured-stats div { padding-block: .42rem; }
  .featured-stats dd { font-size: clamp(1.2rem, 4.9svh, 2rem); }
  .wordmark { width: min(65vw, 140svh, 56rem); bottom: 1.35rem; }
}
@media (min-width: 35rem) and (max-height: 32rem) and (orientation: landscape) {
  .nav { grid-template-columns: 1fr auto 1fr; min-height: 3.25rem; padding-top: 0; }
  .nav-links { grid-area: auto; gap: clamp(.65rem, 2vw, 1.7rem); }
  .nav-links a { min-height: 3.25rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .85fr); gap: .75rem; min-height: clamp(21rem, calc(100svh - 3.25rem), 28rem); padding: 3.65rem 0 0; }
  .hero-content { text-align: left; }
  .hero-content h1, .hero-content .long-product-title { font-size: clamp(1.15rem, 2.65vw, 1.85rem); }
  .hero-content > p { margin: 0 0 .65rem; padding-top: .5rem; line-height: 1.4; }
  .hero-product { position: absolute; width: min(27vw, 52svh); left: 50%; top: 3rem; margin: 0; transform: translateX(-50%); }
  .wordmark { position: relative; grid-area: 2 / 1 / auto / -1; align-self: end; width: min(60vw, 117svh, 50rem); left: auto; bottom: auto; margin: 0 auto 1rem; transform: none; }
  .wordmark small { margin-top: .35rem; }
  .featured-stats { grid-area: 1 / 3; grid-template-columns: 1fr; justify-self: end; width: min(100%, 8rem); margin: 0; gap: 0; }
  .featured-stats div { gap: .15rem; padding: .22rem 0 .23rem .55rem; border: 0; border-left: 1px solid var(--line); }
  .featured-stats dd { font-size: clamp(1rem, 4.5svh, 1.5rem); }
}
@media (max-width: 22rem) {
  .hero-index { top: .85rem; display: grid; grid-template-columns: .4rem auto; gap: .25rem .4rem; }
  .hero-index b { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: hero-enter 650ms cubic-bezier(.2,.7,.25,1) both; }
  .hero-pack { animation: pack-enter 800ms cubic-bezier(.2,.7,.25,1) both; }
  @media (width > 47rem) and (min-height: 38rem) {
    .hero { overflow: clip; }
    .hero::after { content: ""; display: block; height: 280px; }
    .hero-inner { position: sticky; top: 0; min-height: clamp(32rem, 49vw, 46rem); }
  }
  .hero-product {
    --progress: var(--feature-scroll, 0);
    transform: translateX(-50%) translateY(calc(130px * var(--progress))) rotate(calc(8deg * var(--progress))) scale(calc(1 + .12 * var(--progress)));
  }
  .wordmark-left { transform: translateX(calc(-150px * var(--feature-scroll, 0))); }
  .wordmark-right { transform: translateX(calc(150px * var(--feature-scroll, 0))); }
  .hero-slash { translate: calc(-130px * var(--feature-scroll, 0)) 0; }
  @media (max-width: 47rem) {
    .hero-product {
      transform: translateY(calc(48px * var(--progress))) rotate(calc(7deg * var(--progress))) scale(calc(1 + .12 * var(--progress)));
    }
    .wordmark-lettering { transform: scale(calc(1 - .17 * var(--feature-scroll, 0))); }
    .wordmark-left { transform: translateX(calc(-95px * var(--feature-scroll, 0))); }
    .wordmark-right { transform: translateX(calc(95px * var(--feature-scroll, 0))); }
  }
  @media (min-width: 35rem) and (max-height: 32rem) and (orientation: landscape) {
    .hero-product { transform: translateX(-50%) translateY(calc(30px * var(--progress))) rotate(calc(5deg * var(--progress))); }
  }
}
@keyframes hero-enter { from { opacity: 0; translate: 0 1rem; } to { opacity: 1; translate: 0 0; } }
@keyframes pack-enter { from { opacity: 0; transform: translateY(1.15rem) rotate(-5deg) scale(.96); } to { opacity: 1; transform: none; } }

/* Readable controls and predictable touch layouts on phones and tablets. */
@media (max-width: 64rem) {
  .nav-links a { min-width: 2.75rem; }
  .hero-content > p { font-size: .875rem; }
  .hero-content .eyebrow { font-size: .75rem; }
  .featured-stats dt { font-size: .75rem; line-height: 1.3; }
  .search-field { font-size: .875rem; }
  .search-field input { min-height: 3rem; font-size: 1rem; }
  .filters button { font-size: .875rem; }
  .card-body strong { font-size: 1rem; line-height: 1.22; }
  .card-brand { padding-inline-end: 1.1rem; font-size: .8125rem; line-height: 1.35; }
  .card-variant { font-size: .875rem; line-height: 1.35; }
  .card-body { padding-inline: .75rem; }
  .card-body .product-pricing { gap: .25rem .5rem; }
  .card-body .product-pricing strong { font-size: 1.125rem; }
  .cart-product, .cart-product > div { min-width: 0; }
  .cart-product img { flex: none; }
  .cart-line h3, .dialog-header h2 { overflow-wrap: anywhere; }
  .cart-line p, .cart-summary small { font-size: .875rem; }
  .remove-line { min-width: 2.75rem; font-size: .875rem; }
  .outline-button, .primary-button { font-size: .875rem; }
}

@media (max-width: 47rem) {
  body { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
  .site-header { padding-top: env(safe-area-inset-top); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
  .hero-content h1 { min-block-size: 2.16em; }
  .hero-content > p { font-size: .875rem; line-height: 1.5; min-block-size: calc(1rem + 4.5em + 1px); }
  #featured-price { min-block-size: 3.25rem; }
  .featured-stats dt { font-size: .75rem; line-height: 1.3; letter-spacing: .07em; }
  .featured-picker { gap: .5rem; }
  .catalog-section { padding-block: 2.5rem; }
  .catalog-controls, .search-field, .search-field input { min-width: 0; }
  .visit-actions > a { width: 100%; }
  .footer-inner { column-gap: .75rem; }
}

@media (max-width: 47rem), (max-height: 32rem) {
  .modal {
    padding: 1rem;
    max-height: calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    scroll-padding-block: calc(var(--dialog-header-height, 6rem) + 1rem) 1rem;
  }
  .product-modal { width: min(calc(100% - 1rem - env(safe-area-inset-left) - env(safe-area-inset-right)), 52rem); }
  .modal .dialog-header {
    position: sticky;
    z-index: 5;
    top: -1rem;
    margin: -1rem -1rem 0;
    padding: 1rem;
    background: var(--cream);
  }
  .dialog-header h2 { font-size: 1.5rem; line-height: 1.15; }
  .modal .eyebrow { font-size: .75rem; }
  .detail-copy .variant-choice { margin-block: 1rem; }
  .detail-copy > p { margin-block: .75rem; }
  .detail-copy .nutrition-list { margin-top: 1rem; }
  .drawer {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    height: 100dvh;
    max-height: 100dvh;
  }
}

@media (max-width: 34rem) {
  .detail-media img { height: min(30svh, 15rem); }
  .detail-copy .eyebrow { margin-top: .25rem; }
  .variant-options button { min-height: 2.75rem; }
}

@media (max-width: 22rem) {
  .product-grid { grid-template-columns: 1fr; }
  .card-body { padding: 1rem 2.75rem 1rem 1rem; }
}

@media (min-width: 24rem) and (max-width: 47rem) {
  .hero-content h1 { min-block-size: 1.08em; }
}

@media (min-width: 35rem) and (max-height: 32rem) and (orientation: landscape) {
  .hero-content h1 { min-block-size: 0; }
  .hero-content > p { min-block-size: 0; font-size: .875rem; }
  .detail-media img { height: min(45svh, 12rem); }
}

@media (max-width: 47rem), (max-width: 64rem) and (max-height: 32rem) {
  .nav[data-menu-ready] { grid-template-columns: minmax(0, 1fr) auto 2.75rem; gap: .5rem; min-height: 4rem; padding-block: .5rem; }
  .nav[data-menu-ready] > .brand { grid-column: 1; grid-row: 1; width: min(100%, 10rem); min-width: 0; }
  .nav[data-menu-ready] .bag-button { grid-column: 2; grid-row: 1; }
  .nav[data-menu-ready] .nav-toggle { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid transparent; background: transparent; color: inherit; }
  .nav[data-menu-ready] .nav-toggle:hover { border-color: var(--line); }
  .nav[data-menu-ready] .nav-links { display: none; grid-column: 1 / -1; grid-row: 2; flex-direction: column; gap: 0; width: 100%; padding: .5rem 0 .25rem; border-top: 1px solid var(--line); }
  .nav[data-menu-open="true"] .nav-links { display: flex; }
  .nav[data-menu-ready] .nav-links a { display: flex; align-items: center; justify-content: start; min-height: 3rem; padding: .5rem; font-size: 1rem; }
  .nav[data-menu-ready] .nav-links a[aria-current] { background: rgb(255 255 255 / .08); }
}

@media (max-width: 22rem) {
  .nav[data-menu-ready] .bag-button { padding-inline: .3rem; }
  .nav[data-menu-ready] .bag-button > span { display: none; }
}
