/* =========================================================================
   TeaVinoBD — storefront and shared component styles.
   Loaded by every page, including the admin layout, so the two panels share
   one token set and one button/form language.
   Mobile-first: 375 base, then 768 / 1024 / 1440.
   ========================================================================= */

/* 1. Tokens
   --------------------------------------------------------------------- */
:root {
  --green-900: #143522;
  --green-700: #1F4D36;
  --green-500: #2E6B4A;
  --green-100: #E4EEE6;
  --gold: #C9A227;
  --gold-hi: #E8C558; /* the only gold that clears 4.5:1 on the hero veil */
  --gold-soft: #F4E9CC;
  --cream: #F7F4EC;
  --surface: #FFFFFF;
  --ink: #1A2421;
  --border: #E2DDD1;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1180px;

  /* Body-size grey text on cream has to clear 4.5:1. The lighter #6B7A72
     behind labels is 4.11:1 and fails, so muted text uses this instead. */
  --muted: #6B7A72;
  --muted-text: #5F6E65;

  --danger: #A3271B;
  --danger-soft: #FBE9E7;
  --warn: #8A5A0B;
  --warn-soft: #FDF3E0;
  --ok: #1F6B3A;
  --ok-soft: #E7F3EA;
  --wa: #0F7B6E; /* darkened from brand #128C7E: white label text needs 4.5:1 */

  --shadow-sm: 0 1px 2px rgba(20, 53, 34, .06), 0 2px 8px rgba(20, 53, 34, .06);
  --shadow-md: 0 6px 22px rgba(20, 53, 34, .11);
  --shadow-lg: 0 18px 46px rgba(20, 53, 34, .18);

  /* ৳ (U+09F3) lives in Bengali fonts only, and none of the display faces
     above carry it — without these tails the currency sign renders as tofu. */
  --bangla-fallback: "Nirmala UI", "Noto Sans Bengali", "Bangla MN", "Shonar Bangla", "Vrinda";
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif, var(--bangla-fallback);
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif, var(--bangla-fallback);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 200ms;

  --header-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* 2. Reset
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.js { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lock-scroll { overflow: hidden; }

/* =========================================================================
 | Languages. Bangla and Devanagari need their own faces, a looser line and
 | no negative tracking: matras sit above the headline and would collide, and
 | Fraunces/Inter carry no glyphs for either script at all.
 * ---------------------------------------------------------------------- */
html[lang="bn"] {
  --serif: "Noto Serif Bengali", "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Noto Sans Bengali", "Inter", "Segoe UI", system-ui, sans-serif;
}
html[lang="hi"] {
  --serif: "Noto Serif Devanagari", "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Noto Sans Devanagari", "Inter", "Segoe UI", system-ui, sans-serif;
}
html[lang="bn"] body,
html[lang="hi"] body { font-size: 1.02rem; line-height: 1.8; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4,
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 {
  letter-spacing: 0;
  line-height: 1.35;
}
/* Uppercase does nothing for these scripts and the tracking just splinters
   the word apart; colour and size still carry the label role. */
html[lang="bn"] .eyebrow, html[lang="hi"] .eyebrow { text-transform: none; letter-spacing: .02em; }

.lang-switch { display: flex; align-items: center; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface); overflow: hidden; }
.lang-switch__opt { padding: 5px 11px; font-size: .76rem; font-weight: 600; line-height: 1.4;
  color: var(--muted-text); text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.lang-switch__opt + .lang-switch__opt { border-left: 1px solid var(--border); }
.lang-switch__opt:hover { color: var(--green-700); background: var(--green-100); }
.lang-switch__opt.is-on { color: #fff; background: var(--green-700); }
.lang-switch__opt.is-on:hover { color: #fff; background: var(--green-700); }
.lang-switch__opt:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
/* The header copy only has room from the breakpoint the nav itself appears at;
   below that the switcher lives in the slide-out panel. */
.lang-switch--header { display: none; }
.lang-switch--nav { margin-top: 1.2rem; }
/* `.site-nav a` styles every link in the bar and the drawer at (0,2,1), so the
   pill has to answer at three classes or it inherits full-width nav rows. */
.site-nav .lang-switch .lang-switch__opt,
.site-nav.is-open .lang-switch .lang-switch__opt {
  width: auto; min-height: 0; padding: 5px 11px; font-size: .76rem; border-radius: 0; font-weight: 600;
}
.site-nav .lang-switch .lang-switch__opt:hover { background: var(--green-100); color: var(--green-700); }
.site-nav .lang-switch .lang-switch__opt.is-on,
.site-nav .lang-switch .lang-switch__opt.is-on:hover { background: var(--green-700); color: #fff; }
@media (min-width: 1024px) {
  .lang-switch--header { display: flex; }
  .lang-switch--nav { display: none; }
}

img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--green-900);
  text-wrap: balance;
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.05rem); }
h3 { font-size: clamp(1.14rem, 1.02rem + .6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding: 0; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-500); }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold-soft); color: var(--green-900); }

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--green-900);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

/* 3. Layout helpers
   --------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap--narrow { max-width: 760px; }

.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.section--cats { padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.section--how { background: var(--surface); border-block: 1px solid var(--border); }
.section--garden { background: var(--surface); border-bottom: 1px solid var(--border); }
.section--delivery { background: var(--green-100); }
.section--story { background: var(--surface); border-block: 1px solid var(--border); }
.section--cta { padding-block: clamp(2rem, 4vw, 3.5rem); }

.section__head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.section__head h2 { margin-bottom: .25em; }
.section__head p { color: var(--muted-text); margin: 0; }
.section__lede { color: var(--muted-text); font-size: 1.05rem; max-width: 62ch; }

.section__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: .6rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-700);
}
.section__more:hover { color: var(--green-500); text-decoration: underline; }
.section__more svg { transition: transform var(--dur) var(--ease); }
.section__more:hover svg { transform: translateX(3px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 .7rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--green-500);
}
.eyebrow svg { color: var(--gold); }

.accent { color: var(--green-700); font-style: italic; }
.muted { color: var(--muted-text); }
.fineprint { font-size: .85rem; color: var(--muted-text); line-height: 1.55; }
.foot-note { font-size: .85rem; color: var(--muted-text); margin: .8rem 0 0; }
.break { overflow-wrap: anywhere; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ta-r { text-align: right; }
.inline { display: inline; }
.two-col { display: grid; gap: 1.5rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.split { display: grid; gap: 1rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow-sm);
}

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose p { line-height: 1.72; }
.prose a { text-decoration: underline; }

.ordered, .bulleted { padding-left: 1.35rem; }
.ordered li, .bulleted li { margin-bottom: .55em; padding-left: .2rem; }
.ordered { list-style: decimal; counter-reset: item; }
.ordered li::marker { font-family: var(--serif); font-weight: 600; color: var(--green-700); }
.bulleted { list-style: none; padding-left: 0; }
.bulleted li { position: relative; padding-left: 1.5rem; }
.bulleted li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.bulleted--tight li { margin-bottom: .3em; font-size: .95rem; }

/* 4. Buttons
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--green-900);
  --btn-bd: var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform 120ms var(--ease),
              box-shadow var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn:hover { border-color: var(--green-500); color: var(--green-900); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }

.btn--primary {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  --btn-bd: var(--green-700);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { --btn-bg: var(--green-900); --btn-bd: var(--green-900); color: #fff; }

.btn--whatsapp {
  --btn-bg: var(--wa);
  --btn-fg: #fff;
  --btn-bd: var(--wa);
}
.btn--whatsapp:hover { --btn-bg: #0d6f64; --btn-bd: #0d6f64; color: #fff; }

.btn--ghost { --btn-bg: transparent; --btn-bd: var(--green-500); color: var(--green-700); }
.btn--ghost:hover { --btn-bg: var(--green-100); }

.btn--quiet { --btn-bg: var(--cream); --btn-bd: var(--border); color: var(--muted-text); font-weight: 500; }
.btn--quiet:hover { --btn-bg: var(--surface); color: var(--ink); }

.btn--danger { --btn-bg: var(--danger-soft); --btn-fg: var(--danger); --btn-bd: #F0C8C4; }
.btn--danger:hover { --btn-bg: #F6D8D4; --btn-bd: var(--danger); color: var(--danger); }

.btn--add { --btn-bg: var(--gold); --btn-fg: var(--green-900); --btn-bd: var(--gold); }
.btn--add:hover { --btn-bg: #b8921f; --btn-bd: #b8921f; color: var(--green-900); }

.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.04rem; }
.btn--sm { min-height: 38px; padding: 6px 12px; font-size: .86rem; gap: 6px; }
.btn--block { display: flex; width: 100%; }
.btn--is-now { --btn-bg: var(--green-100); --btn-fg: var(--green-900); --btn-bd: var(--green-500); }
.btn.is-now { --btn-bg: var(--green-100); --btn-bd: var(--green-500); color: var(--green-900); }

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 6px;
  border: 0;
  background: none;
  color: var(--muted-text);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-quiet:hover { color: var(--green-700); }

.link-danger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 6px;
  border: 0;
  background: none;
  color: var(--danger);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-danger:hover { color: #7d1d14; }

.icon-link,
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--green-900);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-link:hover, .icon-btn:hover { background: var(--green-100); border-color: var(--border); color: var(--green-900); }

.icon-btn.is-open { background: var(--green-900); color: #fff; }

/* 5. Header, nav, footer
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 236, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(247, 244, 236, .98); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-900);
  flex: 0 1 auto;
  min-width: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--gold-soft);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.015em; }
.brand__text small { font-size: .7rem; color: var(--muted-text); letter-spacing: .04em; text-transform: uppercase; }

.site-nav { display: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.site-nav a:hover { background: var(--green-100); color: var(--green-900); }
.site-nav a.is-active { background: var(--green-900); color: #fff; font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: 2px; }

.cart-link__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-900);
  font-size: .72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cart-link.is-bumped .cart-link__count { animation: bump 420ms var(--ease); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-900);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before,
.nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { transform: translateY(-6px); }
.nav-toggle__bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(0) rotate(-45deg); }

/* Mobile drawer */
html.js .site-nav--drawer-open,
.site-nav.is-open {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 55;
  padding: 12px 20px calc(24px + var(--safe-b));
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  animation: nav-in 220ms var(--ease);
}
.site-nav.is-open ul { flex-direction: column; gap: 2px; }
.site-nav.is-open a { width: 100%; min-height: 48px; font-size: 1.02rem; }
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 50;
  background: rgba(20, 53, 34, .4);
  border: 0;
  padding: 0;
}

.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3rem) 0;
  background: var(--green-900);
  color: #D9E4DC;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.site-footer a { color: #EAF2EC; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer nav ul { list-style: none; }
.site-footer nav li { margin-bottom: .35rem; }
.site-footer nav a { text-decoration: none; font-size: .93rem; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer__slogan { color: #A9BDB1; font-size: .92rem; max-width: 34ch; }
.site-footer .brand__mark { background: var(--gold); color: var(--green-900); }
.site-footer .brand__text strong { color: #fff; }
.pay-list { list-style: none; margin-top: 1rem; }
.pay-list li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #BFD0C5; margin-bottom: .35rem; }
.pay-list svg { color: var(--gold); flex: none; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2rem;
  padding-block: 1.1rem calc(1rem + var(--safe-b));
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  color: #9FB4A6;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.footer-credit__sep { opacity: .55; padding-inline: .35rem; }

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--safe-b));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.fab:hover { background: #0d6f64; color: #fff; transform: translateY(-2px); }

/* 6. Flash messages
   --------------------------------------------------------------------- */
.flash-stack {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(94vw, 520px);
  pointer-events: none;
}
.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: .93rem;
  font-weight: 500;
  pointer-events: auto;
  animation: flash-in 260ms var(--ease);
}
.flash svg { flex: none; margin-top: 2px; }
.flash--success { background: var(--ok-soft); border-color: #BFDCC8; color: #17492A; }
.flash--error { background: var(--danger-soft); border-color: #EFC9C4; color: #7A1B12; }
.flash--warning, .flash--info { background: var(--warn-soft); border-color: #EBDCB8; color: #6A4408; }
.flash__close {
  margin-left: auto;
  border: 0;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0 4px;
  color: inherit;
  opacity: .6;
  min-height: 28px;
}
.flash__close:hover { opacity: 1; }
.flash.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
@keyframes flash-in {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* 7. Hero
   The photograph is the hero, so the copy never sits on the raw image: the
   veil in .hero__scrim is what carries the 7:1-plus contrast, and it is
   heaviest exactly where the text lands.
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(440px, 74vh, 620px);
  padding-block: clamp(2.25rem, 6vw, 4.25rem) clamp(3.75rem, 9vw, 5rem);
  overflow: hidden;
  background: var(--green-900);
}
.hero__media {
  position: absolute;
  inset: 0 0 -22%;
  z-index: -2;
  will-change: transform;
  animation: hero-curtain 1100ms var(--ease) backwards;
}
.hero__media .shot,
.hero__media .shot__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 44%; }
.hero__media .shot__img { animation: ken-breathe 28s var(--ease) infinite alternate; }

@keyframes hero-curtain {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes ken-breathe {
  from { transform: scale(1.03); }
  to   { transform: scale(1.13) translate3d(-1.4%, -1.2%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(11, 32, 19, .86) 0%,
    rgba(11, 32, 19, .78) 42%,
    rgba(11, 32, 19, .74) 70%,
    rgba(11, 32, 19, .52) 86%,
    rgba(11, 32, 19, .60) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}
.hero__title { margin-bottom: .45em; font-weight: 700; color: #fff; }
.hero__title .accent { color: var(--gold-hi); }
.hero__lede { font-size: 1.06rem; color: #D7E4DB; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.2rem; }

/* Word-by-word mask: each line box is clipped, and the inner span rises into
   it. The padding gives descenders room so "g" and "y" are never cut. */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .18em;
  margin-bottom: -.18em;
}
.w__in {
  display: inline-block;
  transform: translateY(125%);
  animation: word-rise 780ms var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 82ms + 240ms);
}
@keyframes word-rise { to { transform: none; } }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted-text); }
.trust-row svg { color: var(--green-500); flex: none; }
.trust-row strong { color: var(--green-900); }

.trust-row--light li { color: #C7D6CB; }
.trust-row--light svg { color: var(--gold); }
.trust-row--light strong { color: #fff; }

.eyebrow--light { color: #B6CFBC; }
.eyebrow--light svg { color: var(--gold); }

.btn--glass {
  --btn-bg: rgba(255, 255, 255, .10);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .5);
  backdrop-filter: blur(5px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); --btn-bd: #fff; color: #fff; }

.hero__aside { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero__badge {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(11, 32, 19, .66);
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.hero__badge strong { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); line-height: 1; }
.hero__badge span { font-size: .76rem; letter-spacing: .02em; color: #C7D6CB; }
.hero__credit {
  margin: 0;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(11, 32, 19, .62);
  backdrop-filter: blur(6px);
  font-size: .8rem;
  color: #C7D6CB;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #BFD4C5;
  text-decoration: none;
}
.hero__cue:hover { color: #fff; }
.hero__cue svg { animation: cue-bob 2100ms var(--ease) infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  55% { transform: translateY(5px); }
}

/* 8. Category pills
   --------------------------------------------------------------------- */
.cat-pills {
  list-style: none;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cat-pills li { flex: none; scroll-snap-align: start; }
.cat-pills--compact { margin-bottom: 1.4rem; }

.cat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform 120ms var(--ease);
}
.cat-pill:hover { border-color: var(--green-500); transform: translateY(-1px); color: var(--green-900); }
.cat-pill strong { font-size: .96rem; }
.cat-pill small { font-size: .8rem; color: var(--muted-text); }
.cat-pill.is-active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.cat-pill.is-active small { color: #BBD0C1; }
.cat-pills--compact .cat-pill { min-height: 44px; padding: 7px 14px; }

.cat-pill__swatch { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 1px solid rgba(20, 53, 34, .18); }
.cat-pill__swatch--black { background: linear-gradient(150deg, #8A5A2B, #3B2314); }
.cat-pill__swatch--green { background: linear-gradient(150deg, #A9CBA5, #2E6B4A); }
.cat-pill__swatch--white { background: linear-gradient(150deg, #F4F1E4, #CBD8CB); }
.cat-pill__swatch--chai { background: linear-gradient(150deg, #D9A86C, #A65A2E); }
.cat-pill__swatch--herbal { background: linear-gradient(150deg, #F0DFA8, #C9A227); }

/* 9. Product card
   --------------------------------------------------------------------- */
.p-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.p-card:hover { box-shadow: var(--shadow-md); border-color: #CFC8B8; }
.p-card.is-sold { opacity: .9; }

.p-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / .82;
  overflow: hidden;
  background: var(--cream);
}
.p-card__media svg, .p-card__media img { width: 100%; height: 100%; object-fit: cover; }

.p-card__flag {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
  background: var(--green-900);
  color: #fff;
}
.p-card__flag--deal { background: var(--gold); color: var(--green-900); }
.p-card__sold {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 53, 34, .58);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: .02em;
}

.p-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 14px 16px 16px; flex: 1; }
.p-card__eyebrow { margin: 0; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-text); }
.p-card__title { margin: 0; font-size: 1.1rem; }
.p-card__title a { color: var(--green-900); text-decoration: none; }
.p-card__title a:hover { text-decoration: underline; }
.p-card__note { margin: 0; font-size: .88rem; color: var(--muted-text); line-height: 1.5; }
.p-card__price { display: flex; align-items: baseline; gap: 8px; margin: .15rem 0 0; }
.p-card__price .money { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; color: var(--green-900); }
.p-card__compare { font-size: .88rem; color: var(--muted); }

.p-card__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ok);
}
.p-card__stock svg { flex: none; }
.p-card__stock.is-low { color: var(--warn); }
.p-card__stock.is-out { color: var(--danger); }
.p-card__form { margin-top: auto; display: grid; gap: 10px; padding-top: .5rem; }

/* Add to cart and the WhatsApp order side by side, because they are two ways
   of doing the same thing and should read as a pair. Wrapping rather than
   squashing: a card in a four-up grid is narrower than two labelled buttons,
   so the second one drops to its own line instead of truncating its text. */
.p-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.p-card__actions .btn { flex: 1 1 auto; min-width: 0; gap: 6px; padding: 10px 12px; font-size: .9rem; }
.p-card__actions .btn span { white-space: nowrap; }

/* Four-up, a card is too narrow for two labelled buttons, so the WhatsApp one
   keeps its glyph and gives up its words rather than forcing the pair onto two
   rows. Measured on the card, not the viewport, because the card is what
   changes size. Older browsers that miss the query simply keep the label. */
.p-card { container-type: inline-size; }
@container (max-width: 290px) {
  .p-card__actions .btn--whatsapp { flex: 0 0 auto; padding-inline: 14px; }
  .p-card__actions .btn--whatsapp span { display: none; }
}

/* Stepper */
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.stepper__btn {
  width: 46px;
  flex: none;
  border: 0;
  background: var(--cream);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-700);
  transition: background-color 120ms var(--ease);
}
.stepper__btn:hover { background: var(--green-100); }
.stepper__btn:active { background: var(--gold-soft); }
.stepper__input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 10px 6px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.stepper--sm .stepper__btn { width: 40px; }
.stepper--sm .stepper__input { padding-block: 8px; }

/* 10. Shop listing
   --------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem) .5rem;
}
.page-head h1 { margin-bottom: .3em; }
.page-head__lede { color: var(--muted-text); font-size: 1.02rem; max-width: 62ch; margin: 0; }

.filters {
  margin-bottom: 1.25rem;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.filters__row { display: grid; gap: 10px; align-items: end; }
.filters select, .filters input[type="search"] { width: 100%; }

.field--search .field__wrap { position: relative; display: block; }
.field--search .field__wrap svg {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
/* The bare `input[type="search"]` reset further down ties on specificity and
   wins on source order, so both inset paddings need the wrapper class to hold. */
.field--search .field__wrap input { padding-left: 42px; }

/* 11. Product detail
   --------------------------------------------------------------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--muted-text); }
.crumbs li { display: flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; color: var(--border); }
.crumbs a { color: var(--muted-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--green-700); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.crumbs { margin-bottom: 1.2rem; }

/* align-items:start — without it the media cell stretches to the height of the
   much taller info column and the card's white background shows below the art. */
.p-detail { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.p-detail__media {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.p-detail__media svg, .p-detail__media img { width: 100%; height: auto; }
.p-detail__sold {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0;
  padding: 10px;
  text-align: center;
  background: rgba(20, 53, 34, .85);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}
.p-detail__info h1 { margin-bottom: .3em; }
.p-detail__note { font-size: 1.05rem; color: var(--muted-text); }
.p-detail__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: .3rem 0 .6rem; }
.p-detail__price .money { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--green-900); }
.p-detail__price s { color: var(--muted); font-size: 1.05rem; }
.p-detail__unit { font-size: .85rem; color: var(--muted-text); }
.p-detail__info .prose { margin-top: 1.5rem; }

.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  background: var(--ok-soft);
  color: #17492A;
}
.stock-line svg { flex: none; }
.stock-line--low { background: var(--warn-soft); color: #6A4408; }
.stock-line--out { background: var(--danger-soft); color: #7A1B12; }

.buy-box { display: grid; gap: 10px; margin: 1.1rem 0; }
.buy-box__row { display: grid; gap: 10px; }
.buy-box__row .stepper { justify-self: start; }
/* Cart and WhatsApp are two routes to the same order, so they read as a pair
   rather than a primary button with an afterthought underneath. The stepper
   keeps its own row: three controls across a ~565px column is what wraps
   "Add to cart" onto three lines. */
.buy-box__actions { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; }
.buy-box__cta { min-height: 54px; }
.buy-box__wa { min-height: 54px; justify-content: center; gap: 7px; white-space: nowrap; }
@media (max-width: 559px) {
  /* Two lg buttons share one phone row; trim their padding before the label
     starts wrapping, which is what makes the pair look broken. */
  .buy-box__actions .btn { gap: 6px; padding-inline: 13px; font-size: .93rem; }
}

.assure { list-style: none; display: grid; gap: 8px; margin: 1.2rem 0; padding: 1.1rem 0; border-block: 1px solid var(--border); }
.assure li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted-text); }
.assure svg { color: var(--green-500); flex: none; }
.assure strong { color: var(--ink); }

/* The brew strip reads as one instrument, not three cards: hairline cells,
   uppercase labels, serif values. It goes horizontal only when the info
   column itself is wide enough, which a viewport media query cannot tell —
   at 768px the column is ~350px and three cells would break every value. */
.p-detail__info { container-type: inline-size; }
.brew-strip {
  display: grid;
  margin: 0 0 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.brew-strip__cell {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}
.brew-strip__cell + .brew-strip__cell { border-top: 1px solid var(--border); }
.brew-strip dt {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-text);
}
.brew-strip dd { margin: 0; font-family: var(--serif); font-size: 1.02rem; color: var(--green-900); }
@container (min-width: 30rem) {
  .brew-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brew-strip__cell { flex-direction: column; align-items: flex-start; gap: 4px; padding: 13px 15px; }
  .brew-strip__cell + .brew-strip__cell { border-top: 0; border-left: 1px solid var(--border); }
}

.sku { font-size: .82rem; color: var(--muted-text); }
.sku code { font-family: var(--mono); font-size: .82rem; background: var(--cream); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--border); }

.brew { margin-top: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.brew summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  min-height: 46px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.brew summary::-webkit-details-marker { display: none; }
.brew summary svg { transition: transform var(--dur) var(--ease); }
.brew[open] summary svg { transform: rotate(180deg); }
.brew__body { padding: 0 16px 16px; font-size: .93rem; }
.brew__body p { margin-bottom: .6em; }

/* 12. Cart
   --------------------------------------------------------------------- */
.cart-layout, .checkout-layout { display: grid; gap: 1.25rem; align-items: start; }

.cart-list { list-style: none; }
.cart-line {
  display: grid;
  gap: 12px;
  grid-template-columns: 76px 1fr;
  grid-template-areas: "art info" "total total";
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line__art { grid-area: art; }
.cart-line__art svg, .cart-line__art img { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; object-fit: cover; }
.cart-line__info { grid-area: info; min-width: 0; }
.cart-line__info h3 { margin: 0 0 2px; font-size: 1rem; }
.cart-line__info h3 a { color: var(--green-900); text-decoration: none; }
.cart-line__info h3 a:hover { text-decoration: underline; }
.cart-line__meta { margin: 0 0 .5rem; font-size: .82rem; color: var(--muted-text); }
.cart-line__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cart-line__form .stepper { width: 132px; }
.cart-line__total {
  grid-area: total;
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--green-900);
}
.cart-list__foot { padding-top: 12px; text-align: right; }

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted-text);
}
.cart-empty svg { color: var(--muted); }
.cart-empty__title { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--green-900); }

.summary { position: relative; }
.summary h2 { font-size: 1.2rem; }

.totals { margin: 0; border-top: 1px solid var(--border); padding-top: .9rem; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .45rem; }
.totals dt { color: var(--muted-text); font-size: .92rem; }
.totals dd { margin: 0; font-weight: 600; }
.totals__grand {
  border-top: 1px solid var(--border);
  margin-top: .6rem !important;
  padding-top: .7rem !important;
}
.totals__grand dt { color: var(--ink); font-weight: 700; font-size: 1rem; }
.totals__grand dd { font-family: var(--serif); font-size: 1.45rem; color: var(--green-900); }

.zone-pick { margin: 1.1rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--cream); }
.zone-pick legend, .zone-pick > fieldset > legend {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: .4rem;
}
.zone-pick fieldset { border: 0; padding: 0; margin: 0; }

.empty-state {
  display: grid;
  justify-items: center;
  gap: .6rem;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted-text);
}
.empty-state svg { color: var(--green-500); }
.empty-state h2 { margin: 0; }
.empty-state p { max-width: 46ch; margin: 0 auto .4rem; }
.empty-inline { color: var(--muted-text); font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.empty-inline svg { flex: none; color: var(--green-500); }

/* 13. Forms
   --------------------------------------------------------------------- */
.form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.4rem;
  min-width: 0;
}
.form legend {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: .8rem;
  padding: 0;
}

.field { display: grid; gap: 5px; min-width: 0; }
.field__label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field__help { margin: 0; font-size: .82rem; color: var(--muted-text); line-height: 1.5; }
.field__error, .field-error { margin: 0; font-size: .82rem; font-weight: 600; color: var(--danger); min-height: 0; }
.field__error:empty, .field-error:empty { display: none; }
.field__error::before, .field-error::before { content: ""; }
.req { color: var(--danger); font-weight: 700; }
.optional { font-weight: 400; color: var(--muted-text); font-size: .82rem; }

input[type="text"], input[type="tel"], input[type="email"], input[type="search"],
input[type="number"], input[type="date"], input[type="password"], input[type="file"],
select, textarea, .input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F4D36' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
input::placeholder, textarea::placeholder { color: #6F7F75; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--green-500); }
input:focus-visible, select:focus-visible, textarea:focus-visible,
.input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--green-500);
}
.is-invalid { border-color: var(--danger) !important; background: #FFF9F8; }
input[readonly] { background: var(--cream); color: var(--muted-text); }

.input--sm { min-height: 40px; padding: 6px 10px; font-size: .88rem; }

.field__wrap { position: relative; display: block; }
.field__wrap.field__wrap--pw input { padding-right: 108px; }
.pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted-text);
  font-size: .82rem;
  font-weight: 600;
}
.pw-toggle:hover { background: var(--green-100); color: var(--green-900); }
.pw-toggle__off { display: none; }
.pw-toggle.is-shown .pw-toggle__eye { display: none; }
.pw-toggle.is-shown .pw-toggle__off { display: block; }

.input-money, .input-count { display: flex; align-items: stretch; }
.input-money > span, .input-count > span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--cream);
  color: var(--muted-text);
  font-weight: 600;
}
.input-money input, .input-count input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-count input { text-align: center; font-variant-numeric: tabular-nums; }

.check, .radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  font-size: .93rem;
  cursor: pointer;
}
.check input, .radio input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--green-700);
  cursor: pointer;
}
.radio span { flex: 1; min-width: 0; }
.radio strong { display: block; }
.radio em { font-style: normal; font-size: .84rem; color: var(--muted-text); }

.radio--fee, .pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  min-height: 44px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.radio--fee:hover, .pay-option:hover { border-color: var(--green-500); }
.radio--fee input, .pay-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.radio--fee:has(input:checked), .pay-option:has(input:checked) {
  border-color: var(--green-700);
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px var(--green-700);
}
.radio--fee em { font-style: normal; display: block; font-size: .84rem; color: var(--muted-text); }
.radio--tight { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 8px; font-size: .86rem; }

.pay-grid { display: grid; gap: 10px; }
.pay-option strong { display: block; }
.pay-option em { font-style: normal; display: block; font-size: .85rem; color: var(--muted-text); line-height: 1.45; }
.pay-option--bkash:has(input:checked) { border-color: var(--wa); background: #E7F4F1; box-shadow: inset 0 0 0 1px var(--wa); }

.switches { border: 0; padding: 0; margin: 0; }
.switches legend, .switches > .field__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-text);
  padding: 0;
  margin-bottom: .5rem;
}
.switch-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  min-height: 48px;
  cursor: pointer;
}
.switch-line input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.switch-line span strong { display: block; font-size: .95rem; }
.switch-line span small { display: block; font-size: .82rem; color: var(--muted-text); }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: .4rem; }
.form__error {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 1rem;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  border: 1px solid #EFC9C4;
  color: #7A1B12;
  font-size: .9rem;
  font-weight: 600;
}
.form__error:empty { display: none; }
.form__error svg { flex: none; }

.error-summary {
  margin-bottom: 1.25rem;
  padding: 16px 18px;
  border: 2px solid var(--danger);
  border-radius: var(--radius);
  background: var(--danger-soft);
}
.error-summary h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; color: var(--danger); margin-bottom: .4em; }
.error-summary p { margin: 0 0 .4em; color: #7A1B12; font-size: .93rem; }
.error-summary:empty { display: none; }

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 1rem;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: .9rem;
  line-height: 1.55;
}
.notice p { margin: 0; }
.notice svg { flex: none; margin-top: 2px; }
.notice--error { background: var(--danger-soft); border-color: #EFC9C4; color: #7A1B12; }
.notice--warn { background: var(--warn-soft); border-color: #EBDCB8; color: #6A4408; }
.notice--info { background: var(--green-100); border-color: #C5DCcb; color: var(--green-900); }

.field-grid { display: grid; gap: 14px; }

.review-list { list-style: none; margin-bottom: 1rem; }
.review-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.review-list li:last-child { border-bottom: 0; }
.review-list__qty { color: var(--muted-text); font-variant-numeric: tabular-nums; }
.review-list__name small { display: block; color: var(--muted-text); font-size: .78rem; }
.review-list .money { font-weight: 600; }

.copy-box { display: grid; gap: 10px; }
.copy-box textarea {
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.55;
  background: var(--cream);
  min-height: 180px;
}

.wa-fallback { margin-top: 1rem; }
.wa-fallback summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--green-700); min-height: 40px; display: flex; align-items: center; }
.wa-fallback[open] summary { margin-bottom: .5rem; }

.sent-form { margin-top: .9rem; }
.need-help {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .92rem;
  color: var(--muted-text);
}

/* 14. Order status
   --------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  background: var(--green-100);
  color: var(--green-900);
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill svg { flex: none; }
.pill--new { background: var(--gold-soft); color: #6A4408; border-color: #E6D2A2; }
.pill--confirmed { background: #E6F0F8; color: #14456B; border-color: #BCD6EA; }
.pill--packed { background: #EDE7F6; color: #4A2A7B; border-color: #D6C9EA; }
.pill--shipped { background: var(--warn-soft); color: #6A4408; border-color: #EBDCB8; }
.pill--delivered { background: var(--ok-soft); color: #17492A; border-color: #BFDCC8; }
.pill--cancelled { background: var(--danger-soft); color: #7A1B12; border-color: #EFC9C4; }
.pill--pay-unpaid { background: var(--warn-soft); color: #6A4408; border-color: #EBDCB8; }
.pill--pay-paid { background: var(--ok-soft); color: #17492A; border-color: #BFDCC8; }
.pill--pay-refunded { background: var(--danger-soft); color: #7A1B12; border-color: #EFC9C4; }

.timeline { list-style: none; display: grid; gap: 0; margin: 1.25rem 0; }
.timeline__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 1.15rem 0;
}
.timeline__step::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 2px;
  width: 2px;
  background: var(--border);
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:last-child::before { display: none; }
.timeline__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  color: #fff;
}
.timeline__label { font-size: .92rem; color: var(--muted-text); font-weight: 500; }
.timeline__step.is-done .timeline__dot { background: var(--green-700); border-color: var(--green-700); }
.timeline__step.is-done::before { background: var(--green-500); }
.timeline__step.is-now .timeline__dot {
  background: var(--gold);
  border-color: var(--green-900);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .25);
}
.timeline__step.is-now .timeline__label { color: var(--green-900); font-weight: 700; }

.order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.order-head h2 { margin: 0; }
.order-head__total { margin: 0; font-size: 1.9rem; color: var(--green-900); }

.placed { display: grid; justify-items: center; text-align: center; gap: .4rem; margin-bottom: 1.25rem; }
.placed__tick {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  margin-bottom: .3rem;
}
.placed h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.2rem); }
.placed p { color: var(--muted-text); max-width: 44ch; margin: 0 auto; }
.send-card { margin-bottom: 1.25rem; }
.send-card h2 { font-size: 1.2rem; }

.lines-table { font-size: .93rem; }
.lines-table th, .lines-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.lines-table thead th { font-family: var(--sans); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-text); font-weight: 700; }
.lines-table tbody th { font-weight: 600; color: var(--ink); }
.lines-table tfoot th { font-weight: 600; color: var(--muted-text); padding-top: 12px; }
.lines-table .ta-r { text-align: right; }
.lines-table .totals__grand th, .lines-table .totals__grand td { border-top: 2px solid var(--green-900); font-weight: 700; color: var(--green-900); font-size: 1.02rem; }
.lines-table .totals__grand td { font-family: var(--serif); }

.data-table { font-size: .93rem; margin-bottom: 1.5rem; }
.data-table th, .data-table td { padding: 11px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.data-table thead th { background: var(--green-100); color: var(--green-900); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.data-table tbody tr:nth-child(even) { background: #FBFAF6; }
.data-table .ta-r { text-align: right; }

address { font-style: normal; line-height: 1.7; }

/* 15. Home sections
   --------------------------------------------------------------------- */

/* 15a. Scroll reveal.
   Only ever applied under .js, and the observer adds .is-revealed to
   everything at once when motion is off or IntersectionObserver is missing,
   so no element can be stranded invisible. */
.shot { display: block; }

.js [data-reveal],
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 660ms var(--ease) var(--d, 0ms), transform 660ms var(--ease) var(--d, 0ms);
}
.js [data-reveal].is-revealed,
.js [data-stagger].is-revealed > * { opacity: 1; transform: none; }
.js [data-stagger] > :nth-child(2) { --d: 70ms; }
.js [data-stagger] > :nth-child(3) { --d: 140ms; }
.js [data-stagger] > :nth-child(4) { --d: 210ms; }
.js [data-stagger] > :nth-child(5) { --d: 280ms; }
.js [data-stagger] > :nth-child(6) { --d: 350ms; }

.section__head[data-reveal] h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: .55rem;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 700ms var(--ease) 160ms;
}
.js .section__head[data-reveal].is-revealed h2::after { transform: scaleX(1); }

/* 15b. Ticker — one loop is the width of both sets, so -50% is seamless. */
.ticker {
  overflow: hidden;
  background: var(--green-900);
  color: #C7D6CB;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ticker__set li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 15px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__set li svg { flex: none; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 15c. Garden postcards */
.postcards { display: grid; gap: 1.4rem 1.25rem; grid-template-columns: 1fr; }
.postcard { margin: 0; }
.postcard__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--green-100);
  box-shadow: var(--shadow-md);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 460ms var(--ease), box-shadow 460ms var(--ease);
}
.postcard__frame .shot,
.postcard__frame .shot__img { width: 100%; height: 100%; }
.postcard__frame .shot__img { object-fit: cover; transform: scale(1.02); transition: transform 1100ms var(--ease); }
.postcard:hover .postcard__frame { transform: rotate(0deg) translateY(-7px); box-shadow: var(--shadow-lg); }
.postcard:hover .postcard__frame .shot__img { transform: scale(1.1); }
.postcard--pluck { --tilt: -1.6deg; }
.postcard--terrace { --tilt: 1.2deg; }
.postcard--factory { --tilt: -.9deg; }
.postcard figcaption { padding: .8rem .3rem 0; }
.postcard figcaption strong { display: block; font-family: var(--serif); font-size: 1.06rem; color: var(--green-900); }
.postcard figcaption span { display: block; font-size: .86rem; color: var(--muted-text); line-height: 1.5; }

/* 15d. Story slideshow (Ken Burns) */
.story__media { margin: 0; }
.kb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--green-900);
  box-shadow: var(--shadow-md);
}
.kb .shot { display: contents; } /* the <picture> must not break the absolute stacking */
.kb__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 950ms var(--ease);
}
.kb__slide.is-on { opacity: 1; animation: kb-zoom 8200ms var(--ease) forwards; }
@keyframes kb-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}
.kb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; margin-top: .7rem; }
.kb__caption { flex: 1 1 200px; font-size: .86rem; color: var(--muted-text); }
.kb__dots { display: flex; }
.kb__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.kb__dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CFC8B8;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.kb__dot:hover::after { background: var(--green-500); }
.kb__dot.is-on::after { background: var(--gold); transform: scale(1.4); }
.kb__dot.is-on:hover::after { background: var(--gold); }

.steps { list-style: none; display: grid; gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding: 1.1rem 1.1rem 1.1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream); }
.step__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: .6rem;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
}
.step h3 { display: flex; align-items: center; gap: 8px; font-size: 1.06rem; margin-bottom: .35em; }
.step h3 svg { color: var(--green-500); flex: none; }
.step p { margin: 0; font-size: .92rem; color: var(--muted-text); }

.fee-cards { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.fee-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.fee-card__price { margin: 0 0 .2rem; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--green-900); line-height: 1; }
.fee-card h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.fee-card p { margin: 0; font-size: .9rem; }

.story { display: grid; gap: 1.75rem; align-items: start; }
.story h2 { margin-top: 0; }
.story p { color: var(--muted-text); }
.facts { list-style: none; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.facts li { display: flex; flex-direction: column; padding: 14px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.facts strong { font-family: var(--serif); font-size: 1.7rem; color: var(--green-900); line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { font-size: .82rem; color: var(--muted-text); line-height: 1.4; }

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--green-900), var(--green-700));
  color: #fff;
}
/* the garden again behind the last ask, kept under a heavy veil so the white
   headline still clears AA wherever the photo happens to be bright */
.cta-band__bg { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.cta-band__bg .shot, .cta-band__bg .shot__img { width: 100%; height: 100%; }
.cta-band__bg .shot__img { object-fit: cover; object-position: 50% 60%; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(150deg, rgba(20, 53, 34, .93), rgba(31, 77, 54, .8));
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #C7D6CB; max-width: 52ch; margin: 0 0 .6rem; }

.cta-inline {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--green-100);
  border: 1px solid #C5DCcb;
}
.cta-inline p { margin: 0 0 .6rem; }

.strip-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.75rem 0 0;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid #E6D2A2;
  font-size: .9rem;
  color: #5A4512;
}
.strip-note p { margin: 0; }
.strip-note svg { flex: none; color: var(--green-700); }

.fee-cards .strip-note { margin: 0; }
p.strip-note { display: inline-flex; }

.pay-cards { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.pay-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.06rem; }
.pay-card h3 svg { color: var(--green-500); }
.pay-card p { margin: 0; font-size: .92rem; color: var(--muted-text); }
.pay-card--bkash { border-color: #B7DED6; background: #F3FBF9; }

.brew-grid { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.brew-times { margin-bottom: 2rem; }
.brew-times h2 { margin-top: 0; }
.brew-card h3 { display: flex; align-items: center; gap: 9px; font-size: 1.06rem; }
.brew-card p { font-size: .93rem; }
.brew-card__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--green-900);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
}

.contact-grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.contact-card h2 { display: flex; align-items: center; gap: 9px; font-size: 1.08rem; }
.contact-card h2 svg { color: var(--green-500); flex: none; }
.contact-card__value { margin: 0 0 .3rem; font-family: var(--serif); font-size: 1.25rem; color: var(--green-900); overflow-wrap: anywhere; }
.contact-card__value a { color: inherit; text-decoration: none; }
.contact-card__value a:hover { text-decoration: underline; }
.contact-card p.muted { font-size: .88rem; margin-bottom: .8rem; }
.contact-card .btn { margin-top: auto; }
.form-card { margin-top: 1.5rem; background: var(--green-100); border-color: #C5DCcb; }
.form-card h2 { margin-top: 0; }
.form-card code { font-family: var(--mono); font-size: .85rem; }

.track-result .mini-list, .order-head + .muted { margin-top: .3rem; }
.mini-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list .money { font-weight: 600; }

.error-page { display: grid; justify-items: center; text-align: center; gap: .75rem; padding-block: clamp(2rem, 6vw, 4rem); }
.error-page__code { font-family: var(--serif); font-size: clamp(3.5rem, 2rem + 10vw, 7rem); font-weight: 700; color: var(--green-100); line-height: 1; margin: 0; }
.error-page h1 { margin: 0; }
.error-page p { color: var(--muted-text); max-width: 46ch; }
.error-page__links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: .5rem; }

/* 16. Breakpoints
   --------------------------------------------------------------------- */
@media (min-width: 560px) {
  .filters__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .error-page__links { justify-content: flex-start; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .wrap { padding-inline: 28px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; }
  .hero__aside { justify-content: flex-end; text-align: right; }
  .hero__credit { margin-left: auto; }
  .hero__scrim {
    background:
      linear-gradient(96deg, rgba(11, 32, 19, .92) 0%, rgba(11, 32, 19, .84) 40%, rgba(11, 32, 19, .34) 70%, rgba(11, 32, 19, .08) 100%),
      linear-gradient(180deg, rgba(11, 32, 19, .42) 0%, rgba(11, 32, 19, 0) 34%, rgba(11, 32, 19, .4) 100%);
  }
  .hero__media .shot__img { object-position: 56% 42%; }
  .postcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.1rem; }
  /* the middle card sits lower, like three postcards actually dropped on a table */
  .postcards > :nth-child(2) { padding-top: 26px; }
  .site-nav { display: block; position: static; background: none; box-shadow: none; padding: 0; max-height: none; overflow: visible; animation: none; }
  .site-nav.is-open { position: static; display: block; box-shadow: none; animation: none; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .nav-toggle, .nav-scrim { display: none; }
  .site-nav ul { gap: 0; }
  .p-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .p-detail__media { position: sticky; top: calc(var(--header-h) + 16px); }
  .cart-layout { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
  .checkout-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  .summary { position: sticky; top: calc(var(--header-h) + 16px); }
  .cart-line {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    grid-template-areas: "art info total";
    align-items: center;
  }
  .cart-line__art svg, .cart-line__art img { width: 92px; height: 92px; }
  .cart-line__total { text-align: right; }
  .fee-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Two across, not four: this grid sits inside .wrap--narrow, so a fourth
     column lands at ~140px and the cards collapse into vertical ribbons. */
  .brew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .section--cats .cat-pills { justify-content: center; overflow: visible; }
  .timeline { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
  .timeline__step { flex-direction: column; align-items: flex-start; text-align: left; padding: 0 8px 0 0; }
  .timeline__step::before { left: 26px; right: 6px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .filters__row { grid-template-columns: 1.4fr .9fr .9fr auto auto auto; }
}

@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .wrap--narrow { padding-inline: 20px; }
  .hero { min-height: clamp(560px, 80vh, 720px); }
  .story { grid-template-columns: 1.05fr .95fr; gap: 2.75rem; align-items: center; }
}

@media (min-width: 1440px) {
  .wrap { padding-inline: 40px; }
  .section { padding-block: 5rem; }
  .hero { padding-block: 4rem 3.25rem; }
}

/* 17. Print — the rider sheet and order receipts */
@media print {
  .site-header, .site-footer, .fab, .flash-stack, .nav-toggle, .btn, form, .pw-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .panel { border: 1px solid #ccc; box-shadow: none; }
}

/* 18. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .btn:active { transform: none; }
  .section__more:hover svg, .cat-pill:hover { transform: none; }

  /* Anything that loops, or that only ever ends up where it started, is
     switched off outright rather than run once. */
  .hero__media, .hero__media .shot__img, .hero__cue svg, .w__in, .kb__slide.is-on { animation: none !important; }
  .hero__media { clip-path: none !important; }
  .w__in { transform: none !important; }
  .kb__slide { transform: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .section__head[data-reveal] h2::after { transform: scaleX(1) !important; }
  .ticker__track { width: auto; flex-wrap: wrap; animation: none !important; }
  .ticker__set { width: 100%; flex-wrap: wrap; justify-content: center; }
  .ticker__set[aria-hidden="true"] { display: none; }
  .ticker__set li { padding-inline: 10px; }
}
