/* =====================================================================
   THE REGGIE! BAR — styles.css
   Hand-written, mobile-first. No framework. CSS custom properties.
   Palette sampled from the real packaging: vivid orange wrapper,
   royal-blue "REGGIE!" wordmark, gold baseball burst, milk chocolate.
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette */
  --orange:        #ea4a1c;   /* wrapper orange — primary CTA / brand */
  --orange-dark:   #c6390f;
  --orange-soft:   #fdece4;
  --royal:         #2b39a6;   /* the REGGIE! wordmark blue */
  --navy:          #171f4d;   /* deep brand blue — headers, footer, dark bands */
  --navy-2:        #202a63;
  --gold:          #f6c544;   /* baseball burst accent */
  --gold-dark:     #d9a417;
  --chocolate:     #3a2419;   /* milk-chocolate brown */

  /* Neutrals */
  --cream:         #fbf6ec;   /* warm page background */
  --cream-2:       #f4ecdd;
  --white:         #ffffff;
  --ink:           #241a12;   /* body text on cream */
  --ink-soft:      #5a4c40;
  --line:          #e7ddcb;   /* hairline borders */
  --line-strong:   #d8cbb2;

  /* Semantic */
  --bg:            var(--cream);
  --text:          var(--ink);
  --accent:        var(--orange);
  --success:       #2f8a4e;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-md:   clamp(1.06rem, 1rem + 0.4vw, 1.25rem);
  --fs-lg:   clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-xl:   clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  --fs-2xl:  clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem);
  --fs-3xl:  clamp(2.6rem, 1.8rem + 4.2vw, 5rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(58, 36, 25, 0.06), 0 1px 3px rgba(58, 36, 25, 0.08);
  --shadow-md: 0 6px 18px rgba(58, 36, 25, 0.10), 0 2px 6px rgba(58, 36, 25, 0.06);
  --shadow-lg: 0 18px 44px rgba(58, 36, 25, 0.16);
  --shadow-cta: 0 6px 16px rgba(234, 74, 28, 0.30);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --header-h: 66px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 800;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 1em; }
a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
strong { font-weight: 700; }
:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- 3. LAYOUT HELPERS ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-4); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--sp-7); }
.section-lg { padding-block: var(--sp-8); }
.bg-cream-2 { background: var(--cream-2); }
.bg-navy { background: var(--navy); color: #eef0ff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-orange { background: var(--orange); color: var(--white); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 var(--sp-2);
}
.bg-navy .eyebrow { color: var(--gold); }
.lead { font-size: var(--fs-md); color: var(--ink-soft); max-width: 62ch; }
.bg-navy .lead { color: #c9cdf0; }
.section-head { max-width: 66ch; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base);
  line-height: 1; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; min-height: 48px;
  border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); background: var(--white); }
.btn-ghost-light { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2rem; font-size: var(--fs-md); }
.btn-sm { padding: 0.6rem 1rem; min-height: 40px; font-size: var(--fs-sm); }

/* ---------- 5. ANNOUNCEMENT BAR ---------- */
.announce {
  background: var(--navy); color: #fff; font-size: var(--fs-sm);
  position: relative; overflow: hidden;
}
.announce[hidden] { display: none; }
.announce-track {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 38px; padding: 0.4rem 2.6rem; text-align: center;
}
.announce-msg { font-weight: 500; }
.announce-msg strong { color: var(--gold); font-family: var(--font-display); }
.announce-msg { transition: opacity 0.4s var(--ease); }
.announce-close {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; cursor: pointer; padding: 0.4rem;
  line-height: 0; opacity: 0.8; border-radius: 50%;
}
.announce-close:hover { opacity: 1; }

/* ---------- 6. HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-condensed { box-shadow: var(--shadow-sm); background: rgba(251,246,236,0.98); }
.header-inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h); padding-block: 0.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand svg { height: 30px; width: auto; display: block; }
.brand-tag { display: none; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--navy); padding: 0.55rem 0.7rem; border-radius: var(--r-sm);
  text-transform: uppercase; letter-spacing: 0.03em; display: inline-flex; align-items: center; gap: 0.3rem;
}
.primary-nav a:hover { background: var(--orange-soft); color: var(--orange-dark); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--orange-dark); }

/* dropdown mega */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: var(--sp-4); min-width: 460px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega a { text-transform: none; letter-spacing: 0; padding: 0.6rem 0.7rem; display: flex; flex-direction: column; gap: 0.1rem; }
.mega a strong { font-family: var(--font-display); color: var(--navy); font-size: var(--fs-base); }
.mega a span { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--ink-soft); text-transform: none; }
.mega a:hover strong { color: var(--orange-dark); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: none;
  color: var(--navy); cursor: pointer; position: relative; transition: background 0.15s var(--ease);
}
.icon-btn:hover { background: var(--orange-soft); color: var(--orange-dark); }
.icon-btn svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 0.7rem; line-height: 19px; text-align: center; border-radius: var(--r-pill);
  transform: scale(0); transition: transform 0.25s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
.cart-count.bump { animation: bump 0.35s var(--ease); }
@keyframes bump { 0%,100%{transform:scale(1)} 40%{transform:scale(1.35)} }
.nav-toggle { display: inline-flex; }

/* ---------- 7. SEARCH PANEL ---------- */
.search-panel {
  position: fixed; inset: 0 0 auto 0; z-index: 260;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: var(--sp-4); transform: translateY(-100%); transition: transform 0.3s var(--ease);
}
.search-panel.is-open { transform: translateY(0); }
.search-form { display: flex; gap: 0.5rem; max-width: var(--maxw); margin-inline: auto; align-items: center; }
.search-form input {
  flex: 1; font-size: var(--fs-md); padding: 0.85rem 1rem; border: 2px solid var(--line-strong);
  border-radius: var(--r-pill); font-family: var(--font-body);
}
.search-form input:focus { border-color: var(--royal); outline: none; }
.search-results { max-width: var(--maxw); margin: var(--sp-3) auto 0; list-style: none; padding: 0; }
.search-results li a { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; border-radius: var(--r-sm); color: var(--navy); font-weight: 600; }
.search-results li a:hover { background: var(--orange-soft); text-decoration: none; }
.search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-sm); }
.search-hint { max-width: var(--maxw); margin: var(--sp-3) auto 0; color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------- 8. MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300; visibility: hidden;
}
.mobile-menu.is-open { visibility: visible; }
.mm-backdrop {
  position: absolute; inset: 0; background: rgba(23, 31, 77, 0.5);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.mobile-menu.is-open .mm-backdrop { opacity: 1; }
.mm-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(84vw, 340px);
  background: var(--cream); box-shadow: var(--shadow-lg); padding: var(--sp-4);
  transform: translateX(-100%); transition: transform 0.32s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.is-open .mm-panel { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.mm-nav { list-style: none; margin: 0; padding: 0; }
.mm-nav > li { border-bottom: 1px solid var(--line); }
.mm-nav a, .mm-nav .mm-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md);
  color: var(--navy); padding: 0.9rem 0.25rem; width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
}
.mm-nav a:hover { text-decoration: none; color: var(--orange-dark); }
.mm-sub { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 0.75rem; display: none; }
.mm-sub.is-open { display: block; }
.mm-sub a { font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; padding: 0.55rem 0.25rem; }
.mm-foot { margin-top: auto; padding-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-soft); }
.mm-foot a { color: var(--royal); font-family: var(--font-body); font-weight: 600; display: inline; padding: 0; }

/* ---------- 9. CART DRAWER ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 320; visibility: hidden; }
.cart-drawer.is-open { visibility: visible; }
.cd-backdrop {
  position: absolute; inset: 0; background: rgba(23, 31, 77, 0.5);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.cart-drawer.is-open .cd-backdrop { opacity: 1; }
.cd-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 420px);
  background: var(--cream); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.34s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.is-open .cd-panel { transform: translateX(0); }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4); border-bottom: 1px solid var(--line); }
.cd-head h2 { margin: 0; font-size: var(--fs-lg); }
.cd-ship-progress { padding: var(--sp-4); border-bottom: 1px solid var(--line); background: var(--white); }
.cd-ship-msg { font-size: var(--fs-sm); margin-bottom: 0.5rem; color: var(--ink-soft); }
.cd-ship-msg strong { color: var(--orange-dark); font-family: var(--font-display); }
.cd-ship-msg.is-unlocked strong { color: var(--success); }
.cd-bar { height: 8px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.cd-bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: var(--r-pill); transition: width 0.4s var(--ease); }
.cd-items { flex: 1; overflow-y: auto; padding: var(--sp-4); list-style: none; margin: 0; }
.cd-empty { text-align: center; color: var(--ink-soft); padding: var(--sp-7) var(--sp-4); }
.cd-empty svg { width: 54px; height: 54px; color: var(--line-strong); margin: 0 auto var(--sp-3); }
.cd-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 0.8rem; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.cd-item img { width: 68px; height: 68px; object-fit: cover; border-radius: var(--r-sm); background: var(--white); }
.cd-item-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--navy); line-height: 1.2; }
.cd-item-variant { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: 0.15rem; }
.cd-item-price { font-weight: 700; color: var(--navy); font-size: var(--fs-sm); margin-top: 0.25rem; }
.cd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); margin-top: 0.4rem; }
.cd-qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--navy); line-height: 1; border-radius: 50%; }
.cd-qty button:hover { background: var(--orange-soft); color: var(--orange-dark); }
.cd-qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: var(--fs-sm); }
.cd-remove { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-size: var(--fs-xs); padding: 0.25rem; text-decoration: underline; align-self: start; justify-self: end; }
.cd-remove:hover { color: var(--orange-dark); }
.cd-foot { border-top: 1px solid var(--line); padding: var(--sp-4); background: var(--white); }
.cd-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--navy); margin-bottom: 0.35rem; }
.cd-note { font-size: var(--fs-xs); color: var(--ink-soft); margin-bottom: var(--sp-3); }

/* ---------- 10. PRODUCT CARD ---------- */
.grid { display: grid; gap: var(--sp-4); }
.product-grid { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--cream-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem; border-radius: var(--r-pill);
}
.card-badge.badge-gold { background: var(--gold); color: var(--navy); }
.card-badge.badge-orange { background: var(--orange); }
.card-body { padding: var(--sp-4); display: flex; flex-direction: column; flex: 1; gap: 0.3rem; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); color: var(--navy); line-height: 1.15; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--orange-dark); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { font-size: var(--fs-xs); color: var(--ink-soft); }
.card-price { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: var(--fs-md); margin-top: 0.1rem; }
.card-price .compare { color: var(--ink-soft); font-weight: 500; text-decoration: line-through; font-size: var(--fs-sm); margin-left: 0.3rem; }
.card-foot { margin-top: auto; padding-top: var(--sp-3); position: relative; z-index: 2; }
.card .btn { position: relative; z-index: 2; }

/* stars */
.stars { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--gold-dark); }
.stars svg { width: 15px; height: 15px; }
.stars .count { color: var(--ink-soft); font-size: var(--fs-xs); font-family: var(--font-body); }

/* ---------- 11. HERO ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img,
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,31,77,0.36) 0%, rgba(23,31,77,0.72) 62%, rgba(23,31,77,0.92) 100%);
}
@media (min-width: 700px) {
  .hero-scrim { background: linear-gradient(90deg, rgba(23,31,77,0.92) 0%, rgba(23,31,77,0.72) 42%, rgba(23,31,77,0.28) 100%); }
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 12vw, 7rem); display: flex; }

/* hero with 1978 archival b-roll behind it — scoped so still-image heroes
   elsewhere keep their lighter scrim. Moving footage needs more cover. */
.hero.has-video { min-height: clamp(440px, 76vh, 720px); display: grid; align-items: center; }
.hero.has-video .hero-media video { background: var(--navy); }
.hero.has-video .hero-scrim {
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(23,31,77,0) 30%, rgba(23,31,77,0.45) 100%),
    linear-gradient(180deg, rgba(23,31,77,0.60) 0%, rgba(23,31,77,0.78) 58%, rgba(23,31,77,0.94) 100%);
}
@media (min-width: 700px) {
  .hero.has-video .hero-scrim {
    background:
      radial-gradient(110% 100% at 78% 50%, rgba(23,31,77,0) 34%, rgba(23,31,77,0.42) 100%),
      linear-gradient(90deg, rgba(23,31,77,0.94) 0%, rgba(23,31,77,0.82) 38%, rgba(23,31,77,0.44) 74%, rgba(23,31,77,0.30) 100%);
  }
}
/* pause control — background motion must be stoppable (WCAG 2.2.2) */
.hero-videobtn {
  position: absolute; z-index: 3; right: clamp(0.85rem, 3vw, 2rem); bottom: clamp(0.85rem, 3vw, 2rem);
  width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(23,31,77,0.5); color: #fff; border: 1.5px solid rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-videobtn:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.07); }
.hero-videobtn svg { width: 16px; height: 16px; }
.hero-videobtn .ico-play { display: none; }
.hero-videobtn[data-paused="true"] .ico-pause { display: none; }
.hero-videobtn[data-paused="true"] .ico-play { display: block; }
.hero-content { max-width: 800px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4);
}
/* the hero headline is a full sentence, so it runs a step smaller than the
   global --fs-3xl to keep it to two lines instead of four */
.hero h1 {
  color: #fff; font-weight: 900; text-shadow: 0 2px 20px rgba(0,0,0,0.25); margin-bottom: 0.35em;
  font-size: clamp(2.2rem, 1.5rem + 3.2vw, 4rem); line-height: 1.05;
}
.hero h1 em { color: var(--gold); font-style: normal; }
/* break the line where the color changes, so the gold phrase reads as one
   unit. Below this width it wraps inline wherever it needs to. */
@media (min-width: 700px) { .hero h1 em { display: block; } }
.hero-sub { color: #dfe2ff; font-size: var(--fs-md); max-width: 46ch; margin-bottom: var(--sp-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-proof { margin-top: var(--sp-5); display: flex; align-items: center; gap: 0.75rem; color: #dfe2ff; font-size: var(--fs-sm); }
.hero-proof .stars { color: var(--gold); }

/* ---------- 12. FEATURED COLLECTION TILES ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 220px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,31,77,0) 40%, rgba(23,31,77,0.85) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile:hover { text-decoration: none; }
.tile-label { position: relative; z-index: 2; padding: var(--sp-5); }
.tile-label h3 { color: #fff; margin: 0 0 0.15rem; font-size: var(--fs-lg); }
.tile-label span { font-size: var(--fs-sm); color: #e7e9ff; display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; }

/* ---------- 13. VALUE / TRUST BAR ---------- */
.valprops { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.valprop { text-align: center; padding: var(--sp-3); }
.valprop-ico {
  width: 52px; height: 52px; margin: 0 auto var(--sp-2); border-radius: 50%;
  display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-dark);
}
.valprop-ico svg { width: 26px; height: 26px; }
.valprop h3 { font-size: var(--fs-base); margin: 0 0 0.15rem; text-transform: uppercase; letter-spacing: 0.03em; }
.valprop p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* ---------- 14. STORY SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); align-items: center; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.split-media { position: relative; }
/* crop variants — lets photos of any orientation (IG verticals, 16:9 archive
   frames) sit in a split without blowing out the row height */
.split-media.is-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.split-media.is-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.is-portrait { max-width: 460px; margin-inline: auto; }
.split-tag {
  position: absolute; bottom: -14px; left: 16px; background: var(--gold); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; padding: 0.5rem 1rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm); font-size: var(--fs-sm); transform: rotate(-3deg);
}

/* ---------- 15. REVIEWS ---------- */
.reviews { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
}
.review .stars { margin-bottom: var(--sp-3); }
.review blockquote { margin: 0 0 var(--sp-3); font-size: var(--fs-md); color: var(--ink); line-height: 1.5; }
.review-author { font-weight: 700; color: var(--navy); font-size: var(--fs-sm); }
.review-badge { font-size: var(--fs-xs); color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.15rem; }

/* ---------- 16. EMAIL CAPTURE ---------- */
.emailcap { position: relative; overflow: hidden; }
.emailcap-inner { text-align: center; max-width: 620px; margin-inline: auto; }
.email-form { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 460px; margin: var(--sp-4) auto 0; }
.email-form input[type="email"] {
  flex: 1; min-width: 200px; font-size: var(--fs-base); padding: 0.9rem 1.1rem;
  border: 2px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.12); color: #fff;
  border-radius: var(--r-pill); font-family: var(--font-body);
}
.email-form input::placeholder { color: rgba(255,255,255,0.7); }
.email-form input:focus { border-color: #fff; outline: none; background: rgba(255,255,255,0.2); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: var(--sp-3); font-weight: 600; font-size: var(--fs-sm); min-height: 1.2em; }
.form-msg.ok { color: var(--gold); }
.form-msg.err { color: var(--rust); }
.btn.is-disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
html.is-commerce-busy [data-add-to-cart], html.is-commerce-busy [data-act] { pointer-events: none; opacity: .7; }
/* email cap on cream sections */
.emailcap.on-cream .email-form input[type="email"] { border-color: var(--line-strong); background: var(--white); color: var(--ink); }
.emailcap.on-cream .email-form input::placeholder { color: var(--ink-soft); }
.emailcap.on-cream .form-msg.ok { color: var(--success); }

/* ---------- 17. FOOTER ---------- */
.site-footer { background: var(--navy); color: #c9cdf0; padding-block: var(--sp-8) var(--sp-5); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.footer-brand svg { height: 30px; margin-bottom: var(--sp-3); }
.footer-brand p { max-width: 34ch; color: #b6bbec; font-size: var(--fs-sm); }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #c9cdf0; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.footer-signup input { width: 100%; }
.footer-social { display: flex; gap: 0.5rem; margin-top: var(--sp-4); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--sp-4); }
.pay-badges span { background: rgba(255,255,255,0.1); border-radius: var(--r-sm); padding: 0.3rem 0.55rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em; color: #dfe2ff; }
.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: #9aa0d6;
}
.footer-bottom a { color: #9aa0d6; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- 18. BREADCRUMBS ---------- */
.breadcrumbs { font-size: var(--fs-xs); color: var(--ink-soft); padding-block: var(--sp-3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li:not(:last-child)::after { content: "›"; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 700; }

/* ---------- 19. COLLECTION PAGE ---------- */
/* collection page heading lives in .collection-intro — see §26 */
.collection-toolbar {
  display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between;
  padding-block: var(--sp-3); border-block: 1px solid var(--line); margin-bottom: var(--sp-5);
  position: sticky; top: var(--header-h); background: var(--cream); z-index: 40;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.filter-chip {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong);
  background: var(--white); color: var(--navy); cursor: pointer; transition: all 0.15s var(--ease);
}
.filter-chip:hover { border-color: var(--orange); color: var(--orange-dark); }
.filter-chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.sort-select { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.sort-select select {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm); padding: 0.5rem 2rem 0.5rem 0.8rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); color: var(--navy);
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23171f4d' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center;
}
.result-count { font-size: var(--fs-sm); color: var(--ink-soft); }
.no-results { text-align: center; padding: var(--sp-8) var(--sp-4); color: var(--ink-soft); grid-column: 1 / -1; }
.seo-copy { max-width: 72ch; margin-top: var(--sp-7); color: var(--ink-soft); }
.seo-copy h2 { font-size: var(--fs-lg); color: var(--navy); }
.card.is-hidden { display: none; }

/* ---------- 20. PRODUCT PAGE ---------- */
.pdp { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); padding-block: var(--sp-5); }
.gallery-main {
  aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2);
  border: 1px solid var(--line); margin-bottom: var(--sp-3);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 68px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--line);
  cursor: pointer; padding: 0; background: var(--cream-2); flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[aria-current="true"] { border-color: var(--orange); }
.pdp-info h1 { margin-bottom: 0.25em; }
.pdp-price { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); color: var(--navy); }
.pdp-price .compare { color: var(--ink-soft); font-weight: 500; text-decoration: line-through; font-size: var(--fs-md); margin-left: 0.4rem; }
.pdp-rating { display: flex; align-items: center; gap: 0.5rem; margin: 0.4rem 0 var(--sp-4); }
.pdp-rating a { font-size: var(--fs-sm); color: var(--ink-soft); }
.pdp-desc { color: var(--ink-soft); margin: var(--sp-4) 0; }
.variant-group { margin: var(--sp-4) 0; }
.variant-group h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-2); color: var(--navy); }
.variant-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-opt {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  padding: 0.6rem 1rem; border-radius: var(--r-md); border: 2px solid var(--line-strong);
  background: var(--white); color: var(--navy); cursor: pointer; transition: all 0.15s var(--ease);
}
.variant-opt:hover { border-color: var(--orange); }
.variant-opt[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); }
.pdp-actions { display: flex; gap: 0.6rem; align-items: stretch; margin: var(--sp-5) 0; }
.qty-stepper { display: inline-flex; align-items: center; border: 2px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); }
.qty-stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.3rem; color: var(--navy); line-height: 1; border-radius: 50%; }
.qty-stepper button:hover { background: var(--orange-soft); color: var(--orange-dark); }
.qty-stepper input { width: 44px; text-align: center; border: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--navy); -moz-appearance: textfield; background: none; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-ship { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--fs-sm); color: var(--ink-soft); background: var(--cream-2); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); }
.pdp-ship svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }

/* details accordion */
.accordion { margin-top: var(--sp-5); border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); color: var(--navy);
  padding: var(--sp-4) 0; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; color: var(--orange); font-weight: 400; transition: transform 0.2s var(--ease); }
.accordion details[open] summary::after { content: "−"; }
.accordion-body { padding-bottom: var(--sp-4); color: var(--ink-soft); font-size: var(--fs-sm); }
.accordion-body table { width: 100%; border-collapse: collapse; }
.accordion-body td { padding: 0.4rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.accordion-body td:first-child { font-weight: 600; color: var(--navy); width: 42%; }

/* sticky mobile add-to-cart */
.sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 180;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(58,36,25,0.1); padding: 0.6rem var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-3);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
  padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
}
.sticky-atc.is-visible { transform: translateY(0); }
.sticky-atc-price { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--navy); line-height: 1; }
.sticky-atc-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-xs); color: var(--ink-soft); margin-top: 2px; }
.sticky-atc .btn { flex: 1; }

/* ---------- 21. RECIPES ---------- */
.recipe-card .card-media { aspect-ratio: 16 / 10; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin: var(--sp-4) 0; padding: var(--sp-4); background: var(--cream-2); border-radius: var(--r-md); }
.recipe-meta div { text-align: center; }
.recipe-meta dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); font-weight: 700; }
.recipe-meta dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: var(--fs-md); }
.article { max-width: 720px; }
.article p, .article li { font-size: var(--fs-md); line-height: 1.7; }
.article h2 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.article h3 { font-size: var(--fs-md); margin-top: var(--sp-5); }
.article img { border-radius: var(--r-lg); margin: var(--sp-5) 0; box-shadow: var(--shadow-sm); }
.article-hero { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); margin-bottom: var(--sp-5); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.callout {
  background: var(--orange-soft); border-left: 4px solid var(--orange); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); margin: var(--sp-5) 0;
}
.callout p:last-child { margin-bottom: 0; }
.recipe-ingredients { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.recipe-ingredients ul { margin: 0; }
.recipe-ingredients li { margin-bottom: 0.4rem; }

/* ---------- 22. RELATED / CAROUSEL ---------- */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-3); margin-inline: calc(-1 * var(--sp-4)); padding-inline: var(--sp-4); scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-pill); }

/* ---------- 23. STATIC CONTENT PAGES ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: var(--sp-7); text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: #c9cdf0; max-width: 56ch; margin-inline: auto; }
.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-5); }
.prose p, .prose li { color: var(--ink-soft); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: var(--fs-md); padding: var(--sp-4) 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding-bottom: var(--sp-4); color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--navy); margin-bottom: 0.3rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: var(--fs-base); padding: 0.8rem 1rem;
  border: 2px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--royal); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.info-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.info-list a { color: var(--royal); font-weight: 600; }

/* cart page */
.cart-page-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r-sm); }
.cart-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); align-self: start; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: var(--fs-sm); }
.cart-summary-total { display: flex; justify-content: space-between; padding: var(--sp-3) 0 0; margin-top: var(--sp-2); border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--navy); }

/* ---------- 23b. DEALER / WHOLESALE CTA + MODAL ---------- */
.dealer-cta {
  margin-top: var(--sp-7); padding: var(--sp-5); border-radius: var(--r-lg);
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start;
}
.dealer-cta .eyebrow { color: var(--gold); }
.dealer-cta h2 { color: #fff; font-size: var(--fs-xl); margin: 0 0 0.4rem; }
.dealer-cta p { color: #dfe2ff; margin: 0; max-width: 58ch; }
.dealer-cta .btn { flex-shrink: 0; }
@media (min-width: 800px) {
  .dealer-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--sp-6); padding: var(--sp-6); }
}

.dealer-modal {
  width: min(100%, 720px); max-width: 100%; max-height: 90vh; padding: 0; border: 0;
  border-radius: var(--r-lg); background: var(--cream); color: var(--ink);
  box-shadow: 0 24px 60px rgba(23,31,77,0.35); overflow: hidden;
}
.dealer-modal::backdrop { background: rgba(23,31,77,0.62); backdrop-filter: blur(3px); }
/* the form is the flex column so the head/foot pin and only the body scrolls */
.dealer-form { display: flex; flex-direction: column; max-height: 90vh; }
.dealer-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5) var(--sp-4); background: var(--white); border-bottom: 1px solid var(--line);
}
.dealer-modal-head h2 { margin: 0; font-size: var(--fs-xl); color: var(--navy); }
.dealer-modal-body { padding: var(--sp-5); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.dealer-intro { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0 0 var(--sp-5); }
.dealer-fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
.dealer-fieldset legend {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0; margin-bottom: var(--sp-4);
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 var(--sp-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-hint { font-weight: 400; color: var(--ink-soft); }
.dealer-form .field textarea { min-height: 90px; }
.dealer-modal-foot {
  padding: var(--sp-4) var(--sp-5); background: var(--white); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.dealer-modal-foot .form-msg { margin: 0; flex: 1 1 14rem; }
.dealer-modal-foot .form-msg.ok { color: var(--royal); }
.dealer-modal-actions { display: flex; gap: 0.75rem; margin-left: auto; }

/* ---------- 24. ANIMATION UTIL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%);
  background: var(--navy); color: #fff; padding: 0.8rem 1.3rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg); z-index: 400; font-weight: 600; font-size: var(--fs-sm);
  display: flex; align-items: center; gap: 0.5rem; transition: transform 0.35s var(--ease); max-width: 90vw;
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- 25. MEDIA QUERIES (min-width, mobile-first) ---------- */
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .valprops { grid-template-columns: repeat(4, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .email-form { flex-wrap: nowrap; }
  .scroller { grid-auto-columns: 46%; }
}
@media (min-width: 768px) {
  .brand-tag { display: inline-block; font-family: var(--font-body); font-size: 0.7rem; color: var(--ink-soft); border-left: 1px solid var(--line-strong); padding-left: 0.55rem; margin-left: 0.1rem; line-height: 1.2; max-width: 120px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .cart-page-grid { grid-template-columns: 1.6fr 1fr; }
  .recipe-cards { grid-template-columns: repeat(3, 1fr); }
  .scroller { grid-auto-columns: 30%; }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .sticky-atc { display: none !important; }
  .pdp { grid-template-columns: 1.05fr 1fr; gap: var(--sp-8); align-items: start; }
  .pdp-media { position: sticky; top: calc(var(--header-h) + 1rem); }
  .hero-inner { padding-block: clamp(4rem, 9vw, 8rem); }
}
@media (min-width: 1024px) {
  .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 26. PHOTO & VIDEO BLOCKS ----------
   Components for the Instagram photo library and the 1978 archival footage.
   Responsive rules are colocated here rather than in §25 so each block stays
   self-contained. */

/* press / "as featured" photo row */
.press-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-top: var(--sp-6); }
.press-shot { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy-2); }
.press-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.press-shot:hover img { transform: scale(1.04); }
.press-shot:first-child { grid-column: span 2; }
@media (min-width: 700px) {
  .press-shots { grid-template-columns: repeat(3, 1fr); }
  .press-shot:first-child { grid-column: auto; }
}

/* social / "out in the wild" photo wall */
.social-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.social-shot {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 1; background: var(--navy-2); box-shadow: var(--shadow-sm);
}
.social-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.social-shot:hover img { transform: scale(1.06); }
.social-shot.is-feature { grid-column: span 2; }
/* the feature tile takes a 2x2 block; the remaining 8 tiles pack the grid
   with no gaps at 3 columns (3x4) or 4 columns (4x3) */
@media (min-width: 560px) {
  .social-wall { grid-template-columns: repeat(3, 1fr); }
  .social-shot.is-feature { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 900px) { .social-wall { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); } }

/* featured video (story page) */
.feature-figure { margin: 0; }
.feature-video {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #05060f; aspect-ratio: 16 / 9;
}
.feature-video video { width: 100%; height: 100%; display: block; object-fit: contain; background: #05060f; }
.feature-figure figcaption { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-soft); max-width: 68ch; }
.bg-navy .feature-figure figcaption { color: #b6bbec; }
.feature-figure figcaption strong { color: var(--navy); }
.bg-navy .feature-figure figcaption strong { color: var(--gold); }

/* archival still strip */
.archive-strip { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
.archive-shot { margin: 0; }
.archive-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-sm); display: block; }
.archive-shot figcaption { margin-top: 0.6rem; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.45; }
.bg-navy .archive-shot figcaption { color: #b6bbec; }
.archive-shot figcaption strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: var(--fs-sm); margin-bottom: 0.1rem; }
.bg-navy .archive-shot figcaption strong { color: var(--gold); }
@media (min-width: 700px) { .archive-strip { grid-template-columns: repeat(3, 1fr); } }

/* collection intro — heading + copy beside a lifestyle shot */
.collection-intro { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); align-items: center; padding-block: var(--sp-6) var(--sp-4); }
.collection-intro h1 { margin-bottom: 0.3em; }
.collection-intro .lead { margin-bottom: 0; }
.collection-intro-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.collection-intro-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
@media (min-width: 900px) {
  .collection-intro { grid-template-columns: 1.15fr 1fr; gap: var(--sp-7); }
}

/* two-up photo pair for prose sections */
.photo-pair { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
.photo-pair figure { margin: 0; position: relative; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: block; }
.photo-pair figcaption { margin-top: 0.6rem; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.45; }
@media (min-width: 700px) { .photo-pair { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }

/* ---------- 27. UTIL ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-gold { color: var(--gold); }
.pill-tag { display: inline-block; background: var(--orange-soft); color: var(--orange-dark); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; padding: 0.25rem 0.6rem; border-radius: var(--r-pill); }
.divider-flag { height: 6px; background: repeating-linear-gradient(90deg, var(--orange) 0 40px, var(--navy) 40px 80px); }
noscript .ns-note { display: block; background: var(--gold); color: var(--navy); text-align: center; padding: 0.5rem; font-weight: 600; font-size: var(--fs-sm); }
