/* Magadhi Mewa — storefront styles
   Palette: kohl green, antique brass and stone.
   Each product also carries its jar-label colour as --c. */

:root {
  --kohl: oklch(0.22 0.022 170);
  --kohl-2: oklch(0.285 0.03 172);
  --kohl-deep: oklch(0.175 0.018 170);
  --brass: oklch(0.75 0.085 80);
  --brass-light: oklch(0.89 0.05 86);
  --brass-deep: oklch(0.5 0.075 72); /* brass dark enough for text on stone */
  --marigold: oklch(0.82 0.135 78); /* brass turned up: used only for deals */

  --stone: oklch(0.975 0.004 165);
  --mist: oklch(0.948 0.009 165);
  --ink: oklch(0.22 0.02 170);
  --ink-2: oklch(0.45 0.018 170);
  --line: oklch(0.87 0.012 165);
  --on-dark: oklch(0.94 0.018 88);
  --on-dark-2: oklch(0.8 0.025 85);
  --error: oklch(0.5 0.17 25);

  --c: var(--kohl);

  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-body: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --font-hindi: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --header-h: 76px;

  --z-sticky: 10;
  --z-bagbar: 40;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: 'opsz' 16; /* Bodoni Moda only; other families ignore it */
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:lang(hi) { font-family: var(--font-hindi); }
[hidden] { display: none !important; }
:focus-visible { outline: 1.5px solid var(--focus, var(--kohl)); outline-offset: 3px; }
.on-dark { --focus: var(--brass); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 150px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--kohl); color: var(--stone); text-decoration: none;
}
.skip:focus { top: 12px; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* crest + pendant lifted from the logo, recoloured through a mask */
.crest, .pendant {
  display: block; margin-inline: auto; background: var(--crest-color, var(--brass));
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.crest { --m: url(../assets/ornament-top.png); width: var(--w, 110px); aspect-ratio: 460 / 135; }
.pendant { --m: url(../assets/ornament-bottom.png); width: var(--w, 100px); aspect-ratio: 392 / 123; }

/* ---------- buttons & links ---------- */
.btn {
  --btn-bg: var(--kohl); --btn-fg: var(--stone); --btn-border: var(--btn-bg);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 34px;
  border: 1px solid var(--btn-border); border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 .8125rem/1.2 var(--font-body); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
/* fill rises from the bottom on hover */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--kohl-2));
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-expo);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--btn-hover-fg, var(--btn-fg)); }
.btn .i { width: 18px; height: 18px; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: oklch(0.22 0.02 170 / .35); --btn-hover: var(--kohl); --btn-hover-fg: var(--stone); }
.btn-outline:hover { border-color: var(--kohl); }
.btn-block { width: 100%; }

.text-btn {
  border: 0; background: none; padding: 10px 0; margin-block: -6px;
  color: var(--ink-2); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.text-btn:hover { color: var(--ink); }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  color: var(--link, var(--ink)); text-decoration: none;
  font: 500 .8125rem/1.2 var(--font-body); letter-spacing: .15em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: gap .4s var(--ease-out);
}
.link-arrow::after { content: ''; position: absolute; inset: -12px -6px; } /* 44px tap area, no visual change */
.link-arrow:hover { gap: 16px; }
.link-arrow .i { width: 16px; height: 16px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--kohl); color: var(--on-dark-2); text-align: center; padding: 9px var(--gutter); }
.topbar p { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.topbar [aria-hidden] { margin-inline: 10px; color: var(--brass); }

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: oklch(0.975 0.004 165 / .9); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px oklch(0.2 0.02 170 / .5); }
.header-row { height: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.brand { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }

.nav {
  /* undo popover defaults; on desktop the nav sits inline */
  position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none;
  color: inherit; overflow: visible; width: auto; height: auto;
  grid-column: 1; grid-row: 1; display: flex; gap: clamp(18px, 2.2vw, 34px);
}
.nav a {
  position: relative; padding: 6px 0; text-decoration: none;
  font-size: .78rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass-deep); scale: 0 1; transform-origin: right; transition: scale .5s var(--ease-out);
}
.nav a:hover::after { scale: 1 1; transform-origin: left; }
.nav .menu-close { display: none; }
.header-link { position: relative; margin-right: 18px; padding: 6px 0; text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.header-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-deep); scale: 0 1; transform-origin: right; transition: scale .5s var(--ease-out); }
.header-link:hover::after { scale: 1 1; transform-origin: left; }
@media (min-width: 1081px) { .nav .nav-more { display: none; } }

.header-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; margin-right: -10px; }
.icon-btn, .bag-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 10px; border: 0; background: none; color: inherit;
}
.bag-btn .label { padding-top: 2px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.bag-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--kohl); color: var(--stone);
  font: 600 .7rem/20px var(--font-body); text-align: center;
}
.bag-count.bump { animation: bump .55s var(--ease-out); }
@keyframes bump { 35% { scale: 1.35; } }
.menu-btn { display: none; grid-column: 1; grid-row: 1; justify-self: start; margin-left: -10px; }

@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: .92rem; letter-spacing: .16em; }
  .menu-btn { display: inline-flex; }
  .bag-btn .label { display: none; }
  .nav:not(:popover-open) { display: none; }
  .nav {
    position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
    flex-direction: column; justify-content: center; gap: 0;
    padding: 80px var(--gutter) 40px; background: var(--kohl); color: var(--on-dark);
    opacity: 1; transition: opacity .4s var(--ease-out), overlay .4s allow-discrete, display .4s allow-discrete;
    --focus: var(--brass);
  }
  @starting-style { .nav:popover-open { opacity: 0; } }
  .nav a {
    padding: 14px 0; border-bottom: 1px solid oklch(0.75 0.085 80 / .2);
    font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: 0; text-transform: none; color: var(--on-dark);
  }
  .nav a::after { display: none; }
  .header-link { display: none; }
  .nav .menu-close { display: inline-flex; position: absolute; top: 12px; right: calc(var(--gutter) - 10px); color: var(--on-dark); }
}
@media (max-width: 340px) { .brand-name { display: none; } }
@media (max-width: 600px) { .topbar .more { display: none; } }

/* ---------- arch window (signature motif) ---------- */
.window { position: relative; flex: none; width: var(--w, 100%); margin: 0; }
.window img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  background: #fff;
  -webkit-mask: url(../assets/arch.svg) 0 0 / 100% 100% no-repeat;
  mask: url(../assets/arch.svg) 0 0 / 100% 100% no-repeat;
}
.window .outline {
  position: absolute; left: -12px; top: -14px; width: calc(100% + 24px); height: calc(100% + 26px);
  max-width: none; fill: none; stroke: var(--outline, var(--brass)); stroke-width: 1; overflow: visible; pointer-events: none;
}
.window .outline path { vector-effect: non-scaling-stroke; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(600px, calc(100svh - var(--header-h) - 34px), 860px);
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)); /* % of the page width, so it lines up with .wrap */
}
.hero-copy {
  align-self: center;
  padding-block: clamp(56px, 7vw, 96px);
  padding-right: clamp(32px, 5vw, 80px);
}
.hero .crest { --w: 88px; margin-inline: 0; }
.hero-kicker { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 26px; }
.hero-kicker :lang(hi) { font-size: 1.65rem; font-style: italic; line-height: 1.3; color: var(--brass-deep); }
.hero-kicker .tr { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.hero h1 {
  margin-top: 18px; max-width: 11ch;
  font-size: clamp(2.7rem, 1.6rem + 3.4vw, 4.8rem); line-height: 1.04; letter-spacing: -0.015em;
}
.hero-sub { max-width: 44ch; margin-top: 26px; color: var(--ink-2); font-size: 1.125rem; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.hero-offer { margin-top: 18px; color: var(--ink-2); font-size: .98rem; }
.hero-offer strong { color: var(--ink); font-weight: 600; }
.hero-fc {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none;
}
.hero-fc-label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.hero-fc-brand { display: inline-flex; align-items: center; gap: 10px; transition: opacity .3s; }
.hero-fc-brand img:first-child { width: 40px; height: 40px; }
.hero-fc-brand img:last-child { width: auto; height: 19px; }
.hero-fc-note { font-size: .88rem; }
.hero-fc:hover .hero-fc-brand { opacity: .8; }
.hero-fc:hover .hero-fc-note { color: var(--ink); }

.hero-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  padding: clamp(64px, 8vw, 104px) clamp(32px, 6vw, 96px) clamp(96px, 9vw, 124px);
  /* takes the colour of the jar on show (set by js/app.js) */
  --stage: oklch(0.36 0.09 22);
  background: radial-gradient(70% 60% at 50% 46%, var(--stage), color-mix(in oklab, var(--stage), black 35%) 70%, color-mix(in oklab, var(--stage), black 60%));
  transition: --stage 1.4s var(--ease-out);
  color: var(--on-dark);
  --focus: var(--brass);
}
@property --stage { syntax: '<color>'; inherits: true; initial-value: oklch(0.36 0.09 22); }
.stage-price { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; color: var(--on-dark); font-variant-numeric: tabular-nums; }

/* spinning deal sticker */
.stamp {
  position: absolute; z-index: 2; top: clamp(24px, 4vw, 52px); right: clamp(20px, 4.5vw, 64px);
  display: grid; place-items: center; width: clamp(108px, 10vw, 136px); aspect-ratio: 1; border-radius: 50%;
  background: var(--marigold); color: var(--kohl); text-decoration: none;
  box-shadow: 0 18px 34px -16px oklch(0 0 0 / .6); rotate: -10deg;
  transition: scale .5s var(--ease-out);
}
.stamp:hover { scale: 1.07; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp text { font: 600 8.4px var(--font-body); letter-spacing: .1em; text-transform: uppercase; fill: currentColor; }
.stamp > span { display: grid; justify-items: center; font-size: .6rem; font-weight: 600; line-height: 1.15; letter-spacing: .14em; text-transform: uppercase; }
.stamp strong { font: italic 500 1.9rem/1 var(--font-display); letter-spacing: -0.02em; text-transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .stamp svg { animation: spin 26s linear infinite; }
  @keyframes spin { to { rotate: 1turn; } }
}
.stage-crest {
  position: absolute; z-index: -1; left: 50%; top: 46%; width: 125%; aspect-ratio: 460 / 135; translate: -50% -50%;
  background: var(--brass); opacity: .07;
  -webkit-mask: url(../assets/ornament-top.png) center / contain no-repeat; mask: url(../assets/ornament-top.png) center / contain no-repeat;
}
.hero-window { --w: min(100%, 430px); }
.hero-window img:not(:first-of-type) { position: absolute; inset: 0; }
.hero-window img { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero-window img.is-active { opacity: 1; }
.stage-caption {
  position: absolute; left: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 48px); bottom: clamp(26px, 3vw, 38px);
  display: flex; align-items: center; gap: 16px;
  font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2);
}
.stage-caption .rule { flex: 1; height: 1px; background: oklch(0.75 0.085 80 / .35); }
.stage-caption a { color: var(--brass-light); text-decoration: none; }
.stage-caption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.stage-caption .n { color: var(--brass); font-variant-numeric: tabular-nums; }
.stage-caption .dots { display: flex; margin-right: -9px; }
.stage-caption .dots button { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; background: none; }
.stage-caption .dots button::before {
  content: ''; width: 6px; height: 6px; border-radius: 3px; background: oklch(0.75 0.085 80 / .45);
  transition: width .45s var(--ease-out), background-color .3s;
}
.stage-caption .dots button:hover::before { background: var(--brass-light); }
.stage-caption .dots button[aria-pressed='true']::before { width: 18px; background: var(--brass); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-left: 0; }
  .hero-copy { padding: 44px var(--gutter) 56px; text-align: center; }
  .hero .crest { margin-inline: auto; }
  .hero-kicker { align-items: center; }
  .hero h1, .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-fc { justify-content: center; }
  .hero-window { --w: min(70vw, 340px); }
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease-expo) both; animation-delay: calc(var(--d, 0) * 60ms); }
  @keyframes rise { from { opacity: 0; translate: 0 18px; filter: blur(6px); } }
  .hero-window { animation: open 1s var(--ease-expo) both; }
  @keyframes open { from { clip-path: inset(100% -6% 0 -6%); } to { clip-path: inset(-6% -6% -6% -6%); } }
  .stage-caption { animation: rise .9s var(--ease-expo) .5s both; }
}

/* ---------- promises (scrolling band) ---------- */
.promises { overflow: hidden; background: var(--kohl-deep); color: var(--marigold); }
.marquee { display: flex; width: max-content; }
.promises ul { display: flex; margin: 0; padding: 0; list-style: none; }
.promises li {
  display: flex; align-items: center; gap: 28px; padding: 20px 0 20px 28px; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
}
.promises li::after { content: '✦'; font-style: normal; font-size: .7em; color: var(--brass); }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 48s linear infinite; }
  .promises:hover .marquee { animation-play-state: paused; }
  @keyframes marquee { to { translate: -50% 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .promises { overflow-x: auto; }
  .promises ul[aria-hidden] { display: none; }
}

/* ---------- section heads ---------- */
.section-head { max-width: 620px; margin: 0 auto clamp(48px, 6vw, 76px); text-align: center; }
.section-head .crest { --w: 92px; margin-bottom: 24px; }
.section-head h2, .collection-head h2 { font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; color: var(--ink-2); text-wrap: balance; }

/* ---------- collection ---------- */
.collection-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  margin-bottom: clamp(44px, 5vw, 64px); padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.collection-head p { max-width: 46ch; margin-top: 14px; color: var(--ink-2); }
.tabs { display: flex; gap: 28px; }
.tabs button {
  position: relative; padding: 12px 0; border: 0; background: none;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  transition: color .3s;
}
.tabs button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--kohl);
  scale: 0 1; transition: scale .5s var(--ease-out);
}
.tabs button:hover, .tabs button[aria-pressed='true'] { color: var(--ink); }
.tabs button[aria-pressed='true']::after { scale: 1 1; }

.grid {
  --gap: clamp(14px, 2.4vw, 36px);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(52px, 6vw, 84px) var(--gap);
  margin: 0; padding: 0; list-style: none;
}
.grid > li { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: 0; }
@media (max-width: 900px) { .grid > li { flex-basis: calc((100% - var(--gap)) / 2); } }

.card { position: relative; display: flex; flex-direction: column; text-align: center; }
/* photos are shot on white: multiply lets the jar's own colour wash the backdrop */
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in oklab, var(--c) 18%, white); }
.card-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: scale 1.6s var(--ease-out), opacity .7s var(--ease-out); }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media:has(.alt) img:first-child { opacity: 0; }
.card-media::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid oklch(1 0 0 / 0); transition: border-color .7s var(--ease-out), inset .7s var(--ease-out);
}
.card:hover .card-media img { scale: 1.04; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media::after { border-color: oklch(1 0 0 / .85); inset: 18px; }
.card-body { display: flex; flex-direction: column; align-items: center; flex: 1; padding-top: 24px; }
.card-hi { font-size: 1rem; font-style: italic; line-height: 1.4; color: var(--c); }
.card-title { margin-top: 4px; font-size: clamp(1.3rem, 1.05rem + .8vw, 1.7rem); line-height: 1.15; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-notes { margin-top: 8px; color: var(--ink-2); font-size: .875rem; line-height: 1.5; }
.price { margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--font-body); color: var(--ink-2); font-weight: 400; font-size: .9rem; }
.card-buy { position: relative; z-index: 2; width: 100%; margin-top: 16px; }
.btn-add {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 12px;
  border: 1px solid var(--kohl); background: var(--kohl); color: var(--stone);
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .35s var(--ease-out), color .35s, border-color .35s;
}
.btn-add:hover { background: var(--c); border-color: var(--c); }
.btn-add .i { width: 16px; height: 16px; stroke-width: 1.8; }
.buy-stepper {
  --focus: var(--brass);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; border: 1px solid var(--kohl); background: var(--kohl); color: var(--stone);
}
.buy-stepper button { display: grid; place-items: center; width: 48px; align-self: stretch; padding: 0; border: 0; background: none; color: inherit; transition: background-color .2s; }
.buy-stepper button:hover { background: var(--kohl-2); }
.buy-stepper button:focus-visible { outline-offset: -5px; }
.buy-stepper button:disabled { opacity: .35; cursor: default; background: none; }
.buy-stepper .i { width: 16px; height: 16px; stroke-width: 1.8; }
.buy-stepper output { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .card-body { padding-top: 16px; }
  .card-title { font-size: 1.15rem; }
  .card-notes { font-size: .8rem; }
  .card-hi { font-size: .9rem; }
  .btn-add { letter-spacing: .08em; font-size: .75rem; }
}

/* ---------- reviews ---------- */
.reviews { background: var(--mist); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.reviews-head h2 { max-width: 16ch; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: -0.01em; }
.reviews blockquote { margin: 0; }
.stars { color: var(--brass-deep); font-size: .95rem; letter-spacing: .18em; }
.review-feature { margin: 0; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.review-feature blockquote p {
  max-width: 34ch; margin-top: 14px;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.25;
}
.review-feature figcaption, .who { margin-top: 18px; color: var(--ink-2); font-size: .9rem; }
.review-feature strong, .who strong { color: var(--ink); font-weight: 600; }
.review-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px);
  margin: clamp(40px, 5vw, 56px) 0 0; padding: 0; list-style: none;
}
.review-list blockquote p { max-width: 40ch; margin-top: 10px; font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 860px) { .review-list { grid-template-columns: 1fr; } }

/* ---------- deals ---------- */
.deal-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: clamp(40px, 5vw, 56px); padding: 14px 20px;
  background: var(--marigold); color: var(--kohl); font-size: 1rem; line-height: 1.45; text-align: center;
}
.deal-banner .i { width: 20px; height: 20px; }
.deal-banner strong { font-weight: 600; }

.packs { background: var(--marigold); --focus: var(--kohl); }
.packs .rail-head p { color: var(--ink); }
.packs .rail-btn { border-color: oklch(0.22 0.02 170 / .45); }
.pack { border-color: transparent; box-shadow: 0 26px 44px -30px oklch(0.3 0.08 60 / .7); }
.rail-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.rail-head h2 { font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: -0.01em; }
.rail-head p { max-width: 54ch; margin-top: 14px; color: var(--ink-2); }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid oklch(0.22 0.02 170 / .3); background: none; color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.rail-btn:hover:not(:disabled) { background: var(--kohl); border-color: var(--kohl); color: var(--stone); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn .i { width: 18px; height: 18px; }
.rail.is-static .rail-nav { visibility: hidden; }
.rail-track {
  display: flex; gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0 0 6px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > li { flex: 0 0 clamp(272px, calc((100% - 2 * 28px) / 3), 420px); scroll-snap-align: start; }
@media (max-width: 640px) {
  .rail-track { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rail-track > li { flex-basis: 82%; }
  .rail-nav { display: none; }
}

.pack { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--stone); }
.pack-visual {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  aspect-ratio: 16 / 10; padding: 22px 18px 0; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, var(--kohl-2), var(--kohl) 70%);
}
.pack-visual img {
  --c-i: calc((var(--n) - 1) / 2);
  --d: max(var(--i) - var(--c-i), var(--c-i) - var(--i));
  position: relative; z-index: calc(10 - var(--d));
  width: calc(115% / var(--n)); max-width: 36%; aspect-ratio: 4 / 5; object-fit: cover; margin-inline: -2.5%;
  background: var(--mist); transform-origin: bottom center; scale: calc(1.1 - var(--d) * 0.07);
  -webkit-mask: url(../assets/arch.svg) 0 0 / 100% 100% no-repeat; mask: url(../assets/arch.svg) 0 0 / 100% 100% no-repeat;
  transition: translate .6s var(--ease-out);
}
.pack:hover .pack-visual img { translate: 0 -6px; }
.pack-times { position: absolute; z-index: 20; top: 12px; right: 18px; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--brass-light); }
.pack-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.pack-tag { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); }
.pack h3 { margin-top: 8px; font-size: 1.55rem; }
.pack-items { margin-top: 8px; font-size: .85rem; line-height: 1.5; color: var(--ink); }
.pack-blurb { margin-top: 6px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.pack-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: auto 0 18px; padding-top: 20px; }
.pack-price strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.pack-price s { color: var(--ink-2); font-size: .95rem; }
.pack-price span { padding: 2px 8px; background: var(--brass-light); color: var(--kohl); font-size: .72rem; font-weight: 600; letter-spacing: .06em; }

.fc-band { padding-block: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.fc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 44px); }
.fc-icon { width: 80px; height: 80px; }
.fc-copy h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); }
.fc-copy p { max-width: 52ch; margin-top: 6px; color: var(--ink-2); }
.fc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
@media (max-width: 900px) {
  .fc-row { grid-template-columns: auto minmax(0, 1fr); }
  .fc-icon { width: 64px; height: 64px; }
  .fc-actions { grid-column: 1 / -1; }
}

/* ---------- pantry (ingredients) ---------- */
.pantry { background: var(--stone); }
.pantry-list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px);
  margin: 0; padding: 0; list-style: none; text-align: center;
}
.pantry-img {
  width: min(100%, 180px); aspect-ratio: 1; margin: 0 auto 26px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 6px var(--stone), 0 0 0 7px oklch(0.75 0.085 80 / .8);
}
.pantry-hi { font-size: 1.5rem; font-style: italic; line-height: 1.3; color: var(--brass-deep); }
.pantry h3 { margin-top: 2px; font-size: 1.3rem; }
.pantry-list .desc { max-width: 24ch; margin: 10px auto 0; color: var(--ink-2); font-size: .9rem; line-height: 1.55; }
.never { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; margin-top: clamp(52px, 6vw, 80px); }
.never > span { margin-right: 6px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.never s {
  padding: 7px 18px; border: 1px solid oklch(0.22 0.02 170 / .25);
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic;
  text-decoration-thickness: 1px; text-decoration-color: var(--brass-deep);
}
@media (max-width: 900px) {
  .pantry-list {
    display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .pantry-list::-webkit-scrollbar { display: none; }
  .pantry-list li { flex: 0 0 min(46%, 210px); scroll-snap-align: start; }
}

/* ---------- story ---------- */
.story { background: var(--kohl); color: var(--on-dark); overflow: clip; --focus: var(--brass); }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.story-photo { position: relative; margin: 0; }
.story-photo img { width: 100%; aspect-ratio: 768 / 860; object-fit: cover; }
.story-photo::after { content: ''; position: absolute; inset: 16px; border: 1px solid oklch(0.89 0.05 86 / .7); pointer-events: none; }
.story-mark { font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); font-style: italic; line-height: 1.1; color: oklch(0.75 0.085 80 / .5); }
.story h2 { margin-top: 6px; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); color: var(--brass-light); }
.story-copy > p:not([lang]) { max-width: 54ch; margin-top: 22px; color: var(--on-dark-2); line-height: 1.8; }
.story-sign { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding-top: 32px; border-top: 1px solid oklch(0.75 0.085 80 / .25); }
.story-sign .pendant { --w: 72px; margin: 0; }
.story-sign q { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.3; color: var(--brass-light); quotes: none; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { width: min(100%, 420px); }
}

/* ---------- how ordering works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin: 0; padding: 0; list-style: none; }
.steps li { padding-top: 28px; border-top: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--brass-deep); }
.steps h3 { margin-top: 16px; font-size: 1.55rem; }
.steps p { max-width: 34ch; margin-top: 10px; color: var(--ink-2); }
.order-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 36px; margin-top: clamp(48px, 6vw, 72px); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- stores ---------- */
.stores { background: var(--mist); }
.store-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); margin: 0; padding: 0; list-style: none; }
.store { padding-top: 30px; border-top: 1px solid var(--kohl); }
.store h3 { font-size: 1.75rem; }
.store-addr { max-width: 30ch; min-height: 3.3em; margin-top: 12px; color: var(--ink-2); }
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 22px; }
@media (max-width: 860px) {
  .store-list { grid-template-columns: 1fr; }
  .store-addr { min-height: 0; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--kohl-deep); color: var(--on-dark-2); padding-top: clamp(64px, 8vw, 104px); --focus: var(--brass); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; }
.footer-brand img { width: 104px; height: 104px; }
.footer-brand p { max-width: 22ch; margin-top: 22px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--brass-light); }
.fc-foot {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 16px;
  border: 1px solid oklch(0.75 0.085 80 / .3); text-decoration: none;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2);
  transition: border-color .3s;
}
.fc-foot:hover { border-color: var(--brass); }
.fc-foot img { width: auto; height: 17px; }
.footer-col h2 { font-family: var(--font-body); font-weight: 500; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.footer-col ul { display: grid; gap: 4px; margin: 20px 0 0; padding: 0; list-style: none; }
.footer-col a { display: inline-block; padding-block: 6px; color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(56px, 7vw, 88px); padding-block: 24px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid oklch(0.75 0.085 80 / .18);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-col a { overflow-wrap: anywhere; }

/* ---------- bag drawer ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(460px, 100%); height: 100dvh; max-width: none; max-height: none;
  padding: 0; border: 0; background: var(--stone); color: var(--ink);
  flex-direction: column;
  translate: 100% 0;
  transition: translate .6s var(--ease-expo), overlay .6s allow-discrete, display .6s allow-discrete;
}
.drawer[open] { display: flex; translate: 0 0; }
@starting-style { .drawer[open] { translate: 100% 0; } }
.drawer::backdrop { background: oklch(0.17 0.018 170 / 0); transition: background-color .5s, overlay .6s allow-discrete, display .6s allow-discrete; }
.drawer[open]::backdrop { background: oklch(0.17 0.018 170 / .5); }
@starting-style { .drawer[open]::backdrop { background: oklch(0.17 0.018 170 / 0); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 14px 20px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-head h2:focus { outline: none; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 24px; }
.drawer-foot { padding: 22px 28px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--stone); }
.drawer-foot:empty { display: none; }

.lines { margin: 0; padding: 0; list-style: none; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img img { width: 76px; height: 95px; object-fit: cover; background: var(--mist); }
.line-name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.line-name a { text-decoration: none; }
.line-meta { margin-top: 4px; color: var(--ink-2); font-size: .85rem; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.line-total { font-weight: 500; font-variant-numeric: tabular-nums; }

.stepper { display: inline-flex; align-items: center; margin-top: 12px; border: 1px solid var(--line); background: var(--stone); }
.stepper button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; transition: background-color .2s; }
.stepper button:hover { background: var(--mist); }
.stepper button:disabled { opacity: .3; cursor: default; background: none; }
.stepper .i { width: 15px; height: 15px; stroke-width: 1.8; }
.stepper output { min-width: 28px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }

.totals { display: grid; gap: 8px; margin: 0 0 20px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .deal-line dt, .totals .deal-line dd { color: var(--brass-deep); font-weight: 500; }
.totals .grand { align-items: baseline; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.totals .grand dt { color: var(--ink); font-weight: 500; }
.totals .grand dd { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; }
.fine { margin-top: 14px; color: var(--ink-2); font-size: .8rem; text-align: center; }

.offer { margin: 18px 0 4px; padding: 16px 16px 14px; background: var(--mist); }
.co-summary .offer { margin: 16px 0 0; background: var(--stone); }
.offer-deal { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.45; }
.offer-deal .i { width: 18px; height: 18px; margin-top: 2px; color: var(--brass-deep); }
.offer-deal strong { font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 5px; margin: 14px 0 0; padding: 0 0 18px; list-style: none; }
.slots li { position: relative; height: 5px; background: var(--line); transition: background-color .4s; }
.slots li.on { background: var(--kohl); }
.slots li span { position: absolute; right: 0; top: 9px; font-size: .72rem; font-weight: 600; color: var(--brass-deep); }
.offer-ship { font-size: .82rem; color: var(--ink-2); }
.meter { padding: 20px 0 8px; }
.meter p { color: var(--ink-2); font-size: .9rem; }
.meter strong { color: var(--ink); font-weight: 600; }
.meter-bar { display: block; height: 2px; margin-top: 12px; overflow: hidden; background: var(--line); }
.meter-bar span { display: block; height: 100%; transform-origin: left; scale: var(--p) 1; background: var(--brass-deep); }

.empty { display: grid; justify-items: center; gap: 14px; padding: 64px 8px; text-align: center; }
.empty .crest { --w: 92px; margin-bottom: 8px; }
.empty-title { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; }
.empty p:not(.empty-title) { max-width: 34ch; color: var(--ink-2); }
.empty .btn { margin-top: 14px; }

/* ---------- bag bar ---------- */
.bagbar {
  position: fixed; z-index: var(--z-bagbar); right: clamp(16px, 3vw, 32px); bottom: calc(20px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; translate: 0 140%;
  transition: translate .6s var(--ease-expo), opacity .3s var(--ease-out), visibility 0s linear .6s;
}
.bagbar.show { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
body.pd-buy-on .bagbar { opacity: 0; visibility: hidden; translate: 0 140%; }
.bagbar-btn {
  --focus: var(--brass);
  display: flex; align-items: center; gap: 18px; min-height: 58px; padding: 0 20px 0 24px;
  border: 0; background: var(--kohl); color: var(--on-dark);
  box-shadow: 0 18px 40px -16px oklch(0.17 0.018 170 / .65);
  font-size: .9rem; transition: background-color .3s;
}
.bagbar-btn:hover { background: var(--kohl-2); }
.bagbar-count { display: inline-block; font-weight: 500; }
.bagbar-count.bump { animation: bump .55s var(--ease-out); }
.bagbar-total { padding-left: 18px; border-left: 1px solid oklch(0.75 0.085 80 / .35); font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.bagbar-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; color: var(--brass); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.bagbar-cta .i { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .bagbar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .bagbar-btn { width: 100%; justify-content: space-between; }
  .bagbar-total { margin-right: auto; }
  body.has-bagbar .site-footer { padding-bottom: 76px; }
}

/* ---------- product page ---------- */
.product-page { padding-top: 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { display: inline-block; margin-block: -12px; padding-block: 12px; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: start; margin-top: 24px; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-stage {
  display: flex; justify-content: center; overflow: hidden;
  padding: clamp(48px, 8%, 76px) clamp(32px, 13%, 104px) 0;
  background: color-mix(in oklab, var(--c) 13%, var(--stone));
}
.pd-stage .window { max-width: 420px; }
.pd-stage .window img { transition: opacity .35s var(--ease-out); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 64px; padding: 0; overflow: hidden; border: 1px solid transparent; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
.pd-thumbs button[aria-pressed='true'], .pd-thumbs button:hover { opacity: 1; border-color: var(--ink); }

.pd-hi { font-size: 1.35rem; font-style: italic; line-height: 1.35; color: var(--c); }
.pd h1 { margin-top: 6px; font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); letter-spacing: -0.015em; }
.pd-notes { margin-top: 14px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 26px; }
.pd-price span { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pd-price small { color: var(--ink-2); font-size: .8rem; }
.pd-deal { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 14px; background: var(--kohl); color: var(--on-dark); font-size: .84rem; }
.pd-deal .i { width: 16px; height: 16px; color: var(--brass); }
.fc-inline {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--line); text-decoration: none; font-size: .88rem; color: var(--ink-2);
  transition: border-color .25s, color .25s;
}
.fc-inline:hover { border-color: var(--kohl); color: var(--ink); }
.fc-inline img { width: 28px; height: 28px; }
.fc-inline strong { color: var(--ink); font-weight: 600; }
.fc-inline .i { width: 14px; height: 14px; flex: none; }
.fc-inline span { line-height: 1.4; }
.pd-short { max-width: 44ch; margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); }

.pd-buy { display: grid; gap: 14px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; border: 0; }
.sizes legend { margin-bottom: 12px; padding: 0; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.sizes label span {
  display: flex; flex-direction: column; min-width: 132px; padding: 12px 20px;
  border: 1px solid var(--line); background: var(--stone);
  font-weight: 500; line-height: 1.4; transition: border-color .25s, box-shadow .25s;
}
.sizes label span small { color: var(--ink-2); font-weight: 400; font-size: .85rem; }
.sizes label:hover span { border-color: oklch(0.22 0.02 170 / .5); }
.sizes input:checked + span { border-color: var(--kohl); box-shadow: inset 0 0 0 1px var(--kohl); }
.sizes input:focus-visible + span { outline: 1.5px solid var(--kohl); outline-offset: 3px; }
.pd-size { margin-bottom: 6px; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pd-size strong { margin-left: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.pd-actions { display: flex; gap: 12px; }
.pd-actions .stepper { margin: 0; height: 54px; }
.pd-actions .stepper button { width: 46px; height: 52px; }
.pd-actions .btn { flex: 1; }
.pd-promise { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .9rem; }
.pd-promise li { display: flex; align-items: center; gap: 8px; }
.pd-promise .i { width: 16px; height: 16px; color: var(--brass-deep); stroke-width: 2; }

.pd-more { margin-top: 36px; border-top: 1px solid var(--line); }
.pd-more details { border-bottom: 1px solid var(--line); }
.pd-more summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.pd-more summary::-webkit-details-marker { display: none; }
.pd-more summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; letter-spacing: 0; line-height: 1; transition: rotate .4s var(--ease-out); }
.pd-more details[open] summary::after { rotate: 45deg; }
.pd-more details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
.pd-more details[open]::details-content { height: auto; }
.pd-more details p { max-width: 60ch; color: var(--ink-2); }
.pd-more details p:last-child { padding-bottom: 22px; }
.pd-more details p + p { margin-top: 12px; }

.related { padding-block: clamp(88px, 10vw, 140px); }
.related h2 { margin-bottom: clamp(36px, 5vw, 56px); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); text-align: center; }

@media (max-width: 860px) {
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-stage .window { max-width: 300px; }
}

/* ---------- checkout ---------- */
.checkout { padding-block: 28px clamp(80px, 9vw, 128px); }
.checkout h1 { margin-top: 18px; font-size: clamp(2.4rem, 1.8rem + 2.2vw, 3.6rem); letter-spacing: -0.01em; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: 36px; }
.co-form fieldset { margin: 0 0 40px; padding: 0; border: 0; }
.co-form legend { margin-bottom: 20px; padding: 0; font-family: var(--font-display); font-size: 1.6rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; line-height: 1.7; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.field label .opt { color: var(--ink-2); font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: .8rem; line-height: 1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid oklch(0.78 0.012 165); border-radius: 0;
  background: #fff; color: var(--ink); font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23384440' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.52 0.015 165); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--kohl); box-shadow: 0 0 0 1px var(--kohl); }
.field [aria-invalid='true'] { border-color: var(--error); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 1px var(--error); }
.err { color: var(--error); font-size: .85rem; }
.err:empty { display: none; }
.hint { color: var(--ink-2); font-size: .82rem; }
.phone { position: relative; }
.phone span { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.phone input { padding-left: 52px; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px 20px 18px 54px; border: 1px solid var(--line); background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.choice span::before {
  content: ''; position: absolute; left: 20px; top: 22px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid oklch(0.6 0.015 165); background: #fff; box-shadow: inset 0 0 0 4px #fff; transition: background-color .2s, border-color .2s;
}
.choice:hover span { border-color: oklch(0.22 0.02 170 / .5); }
.choice input:checked + span { border-color: var(--kohl); box-shadow: inset 0 0 0 1px var(--kohl); }
.choice input:checked + span::before { border-color: var(--kohl); background: var(--kohl); }
.choice input:focus-visible + span { outline: 1.5px solid var(--kohl); outline-offset: 3px; }
.choice strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.choice small { color: var(--ink-2); font-size: .85rem; line-height: 1.45; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }

.co-summary { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 36px); background: var(--mist); }
.co-summary h2 { font-size: 1.6rem; }
.co-summary .line { border-color: oklch(0.86 0.012 165); }
.co-summary .stepper { background: var(--mist); }
.co-summary .totals { margin: 8px 0 0; padding-top: 18px; border-top: 1px solid oklch(0.86 0.012 165); }
.co-submit { width: 100%; }
.co-submit-total { padding-left: 14px; border-left: 1px solid oklch(0.75 0.085 80 / .4); font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.co-note { display: flex; gap: 12px; margin-top: 16px; color: var(--ink-2); font-size: .88rem; }
.co-note .i { width: 20px; height: 20px; margin-top: 2px; color: var(--brass-deep); }
.co-pay-err { margin-bottom: 14px; padding: 12px 16px; border: 1px solid var(--error); background: color-mix(in oklab, var(--error) 6%, #fff); color: var(--error); font-size: .92rem; line-height: 1.5; }
.co-submit[aria-busy] { cursor: progress; }
.co-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.co-alt .text-btn { margin-left: 4px; color: var(--ink); font-size: inherit; font-weight: 500; }

.co-done { display: grid; justify-items: center; gap: 16px; max-width: 560px; margin: 40px auto 0; text-align: center; }
.co-done .crest { --w: 112px; margin-bottom: 8px; }
.co-done h2 { font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem); }
.co-done p { color: var(--ink-2); max-width: 46ch; }
.co-done .order-no { padding: 9px 20px; border: 1px solid var(--line); color: var(--ink); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.co-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
}
@media (max-width: 520px) { .fields > .field:not(.half) { grid-column: 1 / -1; } } /* city + PIN stay side by side */

/* ---------- checkout summary toggle ---------- */
.co-sum summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; list-style: none; }
.co-sum summary::-webkit-details-marker { display: none; }
.co-sum-peek { display: none; }
.show-sm { display: none; }
@media (min-width: 901px) { .co-sum summary { pointer-events: none; } }
@media (max-width: 900px) {
  .co-sum summary { margin-block: -10px; padding-block: 10px; cursor: pointer; }
  .co-sum-peek { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--ink); }
  .co-sum-peek::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; rotate: 45deg; translate: 0 -2px; transition: rotate .3s var(--ease-out); }
  .co-sum[open] .co-sum-peek::after { rotate: 225deg; translate: 0 2px; }
}

.pd-sticky { display: none; }
@media (max-width: 640px) {
  .pd-sticky {
    position: fixed; z-index: var(--z-bagbar); left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: oklch(0.975 0.004 165 / .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    translate: 0 110%; transition: translate .45s var(--ease-expo);
  }
  .pd-sticky.show { translate: 0 0; }
  .pd-sticky p { display: grid; font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
  .pd-sticky strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
  .pd-sticky .btn { min-height: 46px; padding: 0 22px; }
  body.pd-sticky-on .bagbar { opacity: 0; visibility: hidden; }
}

/* ---------- phone layout: denser, fewer screens to scroll ---------- */
@media (max-width: 640px) {
  .section { padding-block: 44px; }
  .section-head { margin-bottom: 22px; }
  .section-head .crest { display: none; }
  .section-head h2, .collection-head h2, .rail-head h2 { font-size: 1.85rem; }
  .section-head p { margin-top: 6px; font-size: .92rem; }
  .topbar { padding-block: 7px; }

  /* hero: copy first, then a compact jar showcase so the first screen shows the food */
  .hero-stage { padding: 34px 24px 70px; }
  .hero-window { --w: min(56vw, 230px); }
  .stage-crest { width: 150%; }
  .stage-caption { bottom: 22px; }
  .stage-caption .n { display: none; }
  .hero-copy { padding: 22px var(--gutter) 24px; }
  .hero .crest { display: none; }
  .hero-kicker { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; margin-top: 10px; }
  .hero-kicker :lang(hi) { font-size: 1.2rem; }
  .hero-kicker .tr { font-size: .7rem; }
  .hero h1 { margin-top: 8px; font-size: 2.3rem; }
  .hero-sub { margin-top: 10px; font-size: .98rem; line-height: 1.55; }
  .hero-sub .sub-more { display: none; }
  .hero-ctas { flex-wrap: nowrap; gap: 10px; margin-top: 18px; }
  .hero-ctas .btn { flex: 1; min-height: 48px; padding: 0 10px; letter-spacing: .1em; }
  .hero-offer { margin-top: 12px; font-size: .88rem; }
  .stamp { top: 16px; right: 14px; width: 92px; }
  .stamp text { font-size: 9px; }
  .stamp strong { font-size: 1.5rem; }
  .stamp > span { font-size: .52rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero-fc { margin-top: 16px; padding-top: 14px; gap: 4px 10px; }
  .hero-fc-label { font-size: .68rem; }
  .hero-fc-brand img:first-child { width: 28px; height: 28px; }
  .hero-fc-brand img:last-child { height: 14px; }
  .hero-fc-note { width: 100%; font-size: .85rem; text-align: center; }

  .promises li { gap: 20px; padding: 13px 0 13px 20px; font-size: 1.05rem; }

  /* collection: square photos, essentials only */
  .deal-banner { display: none; } /* the top bar already carries the deal */
  .collection-head { gap: 10px; margin-bottom: 20px; padding-bottom: 0; border: 0; }
  .collection-head p { display: none; }
  .tabs { gap: 22px; }
  .grid { gap: 26px 12px; }
  .card-media { aspect-ratio: 1; }
  .card-media::after { display: none; }
  .card-body { padding-top: 10px; }
  .card-hi { font-size: .9rem; }
  .card-title { margin-top: 0; font-size: 1.05rem; }
  .card-notes { display: none; }
  .price { padding-top: 4px; font-size: .95rem; }
  .card-buy { margin-top: 10px; }
  .btn-add, .buy-stepper { min-height: 44px; }
  .buy-stepper button { width: 44px; }

  .reviews-head { gap: 8px; margin-bottom: 18px; }
  .reviews-head h2 { font-size: 1.85rem; }
  .review-feature { padding-bottom: 24px; }
  .review-feature blockquote p { font-size: 1.35rem; }
  .review-list {
    display: flex; gap: 12px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .review-list::-webkit-scrollbar { display: none; }
  .review-list li { flex: 0 0 82%; padding: 18px; background: var(--stone); scroll-snap-align: start; }
  .review-list blockquote p { font-size: .95rem; }

  .rail-head { gap: 0; margin-bottom: 18px; }
  .rail-head p { margin-top: 6px; font-size: .92rem; }
  .rail-track > li { flex-basis: 72%; }
  .pack-visual { aspect-ratio: 2 / 1; padding-top: 12px; }
  .pack-body { padding: 14px 16px 16px; }
  .pack h3 { margin-top: 4px; font-size: 1.2rem; }
  .pack-items { margin-top: 4px; font-size: .84rem; }
  .pack-blurb { display: none; }
  .pack-price { margin-bottom: 12px; padding-top: 10px; }
  .pack-price strong { font-size: 1.3rem; }
  .pack .btn { min-height: 44px; }

  .fc-band { display: none; } /* FirstClub already sits in the hero on phones */

  .pantry .section-head p, .pantry-list .desc { display: none; }
  .pantry-list { gap: 14px; }
  .pantry-list li { flex-basis: 28%; }
  .pantry-img { width: 84px; margin-bottom: 10px; box-shadow: 0 0 0 4px var(--stone), 0 0 0 5px oklch(0.75 0.085 80 / .8); }
  .pantry-hi { font-size: 1.1rem; }
  .pantry h3 { font-size: .92rem; }
  .never { gap: 8px; margin-top: 18px; }
  .never s { padding: 4px 12px; font-size: .9rem; }

  .story-photo { display: none; }
  .story-mark { font-size: 2.1rem; }
  .story h2 { font-size: 1.75rem; }
  .story-copy > p:not([lang]) { margin-top: 12px; font-size: .94rem; line-height: 1.7; }
  .story-sign { margin-top: 18px; padding-top: 16px; }
  .story-sign .pendant { --w: 52px; }
  .story-sign q { font-size: 1.15rem; }

  .order .section-head p { display: none; }
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; padding: 14px 0; }
  .step-n { grid-row: span 2; font-size: 1.7rem; }
  .steps h3 { margin-top: 0; font-size: 1.12rem; }
  .steps p { margin-top: 2px; font-size: .88rem; line-height: 1.5; }
  .order-more { margin-top: 20px; }

  .stores .section-head p { display: none; }
  .store-list { gap: 0; }
  .store { padding: 16px 0; }
  .store h3 { font-size: 1.25rem; }
  .store-addr { margin-top: 2px; font-size: .88rem; }
  .store-links { gap: 8px 22px; margin-top: 8px; }

  .site-footer { padding-top: 40px; }
  .footer-grid { gap: 26px 16px; }
  .footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
  .footer-brand > img { width: 60px; height: 60px; }
  .footer-brand p { flex: 1; min-width: 180px; margin-top: 0; font-size: 1.05rem; }
  .fc-foot { margin-top: 0; }
  .footer-col ul { gap: 2px; margin-top: 10px; font-size: .92rem; }
  .footer-base { margin-top: 28px; padding-block: 16px calc(18px + env(safe-area-inset-bottom)); }

  /* product page */
  .product-page { padding-top: 12px; }
  .pd { gap: 18px; margin-top: 10px; }
  .pd-stage { padding: 18px 20% 0; }
  .pd-stage .window { max-width: 220px; }
  .pd-thumbs { margin-top: 8px; }
  .pd-thumbs button { width: 52px; }
  .pd-hi { font-size: 1.05rem; }
  .pd h1 { font-size: 2rem; }
  .pd-notes { margin-top: 6px; font-size: .7rem; letter-spacing: .12em; }
  .pd-price { margin-top: 12px; }
  .pd-price span { font-size: 1.6rem; }
  .pd-deal { margin-top: 10px; font-size: .82rem; }
  .pd-short { margin-top: 10px; font-size: .98rem; }
  .pd-buy { gap: 10px; margin-top: 16px; padding-top: 16px; }
  .sizes legend { margin-bottom: 8px; }
  .sizes label span { min-width: 0; padding: 8px 16px; }
  .pd-promise { gap: 4px 16px; margin-top: 14px; font-size: .84rem; }
  .fc-inline { margin-top: 12px; }
  .pd-more { margin-top: 18px; }
  .pd-more summary { padding: 15px 0; }
  .related { padding-block: 40px 56px; }
  .related h2 { margin-bottom: 20px; font-size: 1.7rem; }

  /* checkout */
  .checkout { padding-top: 14px; }
  .checkout h1 { margin-top: 8px; font-size: 2.1rem; }
  .co-grid { gap: 24px; margin-top: 18px; }
  .co-summary { padding: 18px 16px; }
  .co-summary h2 { font-size: 1.35rem; }
  .co-form fieldset { margin-bottom: 26px; }
  .co-form legend { margin-bottom: 12px; font-size: 1.35rem; }
  .fields { gap: 14px; }
  .choice span { padding: 14px 16px 14px 46px; }
  .choice span::before { left: 16px; top: 18px; }
}

/* ---------- scroll reveals (content stays visible where unsupported) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes reveal { from { opacity: 0; translate: 0 40px; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
