@charset "UTF-8";
/* ════════════════════════════════════════════════════════════════
   SNAKE OIL SPICES — "The Apothecary Sheet"
   One stylesheet. Eight layers. Replaces 19 layers of sediment.
   1 Tokens · 2 Base · 3 Layout scaffold · 4 Components (co-located)
   5 Theme swap (token remap only) · 6 States/JS chrome
   7 Reduced motion + print · 8 Inline-legacy shims (the only !important)
   Laws: no boxed cards · no IDs for styling · no raw hex below tokens ·
   no glow · later-in-file always wins by design, never by fight.
   ════════════════════════════════════════════════════════════════ */

/* ───────────────────────── 1 · TOKENS ───────────────────────── */
:root {
  /* the 7 hues */
  --gold:        #C8841A;   /* legacy inline-style feed — remapped per theme */
  --gold-light:  #E8A83A;   /* legacy inline-style feed — remapped per theme */
  --ink:         #241A0F;
  --paper:       #F5EDDC;
  --paper-deep:  #EDE2CA;
  --black:       #201912;  /* V21.4: owner asked the dark world up a touch */
  --black-deep:  #15100A;
  --ember:       #B84A18;

  /* derived ramp */
  --gold-bright: #E8A83A;
  --gold-ink:    #8A5C14;
  --gold-ink-deep: #7E5410; /* paper-deep accent — clears 5:1 (CRITIQUE #19) */
  --gold-foil-hi:  #F2DCA6; /* foil-glint highlight stop (hero ticket) */
  --gold-fill:   #C8841A;   /* constant — never remapped */
  --ember-bright:#E0601C;
  --ember-ink:   #8A3411;
  --ink-muted:   #5C4B34;
  --input-fill:  #FFFDF6;
  --tide:        #2E8B74;  /* sea-teal — Angler's marker only (non-text) */

  /* alpha tokens (the only translucent colors allowed) */
  --ink-a50:   rgba(36, 26, 15, 0.50);
  --ink-a35:   rgba(36, 26, 15, 0.35);
  --ink-a30:   rgba(36, 26, 15, 0.30);
  --ink-a18:   rgba(36, 26, 15, 0.18);
  --ink-a04:   rgba(36, 26, 15, 0.04);
  --paper-a85: rgba(245, 237, 220, 0.85);
  --paper-a25: rgba(245, 237, 220, 0.25);
  --paper-a07: rgba(245, 237, 220, 0.07);
  --gold-a50:  rgba(232, 168, 58, 0.50);
  --gold-a28:  rgba(200, 132, 26, 0.28);
  --gold-a16:  rgba(200, 132, 26, 0.16);
  --scrim-92:  rgba(21, 16, 10, 0.92);
  --scrim-72:  rgba(21, 16, 10, 0.72);
  --scrim-55:  rgba(21, 16, 10, 0.55);
  --scrim-12:  rgba(21, 16, 10, 0.12);

  /* indirection — what components consume (dark defaults) */
  --tx:        var(--paper);
  --tx-muted:  #CFC2A4;
  --accent:    var(--gold-bright);
  --rule:      rgba(200, 132, 26, 0.22);
  --bg:        var(--black);
  --heat:      var(--ember-bright);
  --seam:      rgba(200, 132, 26, 0.38);

  /* type — 6 sizes, 3 trackings */
  --fs-display: clamp(3rem, 8vw, 6.5rem);
  --fs-title:   clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-sub:     clamp(1.375rem, 2vw, 1.625rem);
  --fs-lede:    1.0625rem;
  --fs-body:    1rem;
  --fs-meta:    0.8125rem;
  --track-label: 0.25em;
  --track-btn:   0.15em;
  --track-tight: -0.01em;

  /* space — 8 steps */
  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem;  --s-4: 1.25rem;
  --s-5: 2rem;     --s-6: 3.5rem;  --s-7: 5.5rem;
  --section-pad: clamp(5rem, 10vh, 7.5rem);

  /* geometry · elevation · motion · columns */
  --r-sm: 2px;
  --r-pill: 999px;
  --shadow-jar:   drop-shadow(0 18px 28px rgba(21, 16, 10, 0.45));
  --shadow-lift:  0 14px 40px rgba(21, 16, 10, 0.40);
  --shadow-paper: 0 10px 30px rgba(60, 40, 10, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s ease;
  --t-base: 0.45s var(--ease);
  --w-content: 1140px;
  --w-prose: 60ch;
  --w-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 72px;
}
@media (max-width: 720px) { :root { --nav-h: 64px; } }

/* ───────────────────────── 2 · BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--tx);
  font: 400 var(--fs-body) / 1.7 'Lato', sans-serif;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:is(section, article, div)[id] { scroll-margin-top: calc(var(--nav-h) + 60px); }
html.pre-lock { overflow: hidden; }

/* ───────────────────── 3 · LAYOUT SCAFFOLD ──────────────────── */
section, .cta-banner, footer {
  padding: var(--section-pad) var(--gutter);
}
/* .hero, .page-hero and .notfound set their own padding (it clears the fixed
   nav). They must NOT be zeroed here: `section.x` outranks `.x`, which wiped
   that padding and slid every page heading under the nav bar. */
.brand-band { padding: 0; }

/* every inner wrapper is width-only — compounding padding is impossible */
.section-inner, .edit-wrap, .feature-inner, .show-band-inner,
.heatmeter-inner, .counter-inner, .order-inner, .find-inner,
.about-inner, .footer-inner, .contact-grid {
  max-width: var(--w-content);
  margin-inline: auto;
  padding-block: 0;
}

/* the three editorial voices */
.section-label, .hero-eyebrow, .page-hero-eyebrow, .row-kicker,
.quiz-progress, .table-blend, .rx-section-label, .shelf-cap,
.strip-item span, .bl-name small, .featured-label, .footer-col h4 {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: none;
}
.section-title {
  font: 700 var(--fs-title) / 1.08 'Playfair Display', serif;
  letter-spacing: var(--track-tight);
  color: var(--tx);
  margin-top: var(--s-3);
}
.section-title em, .page-hero h1 em, .cta-banner h2 em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}
.section-subtitle, .feature-copy, .counter-desc, .order-desc, .row-desc {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--tx-muted);
  max-width: var(--w-prose);
  margin-top: var(--s-4);
}
.products-header { margin-bottom: var(--s-6); }
.products-header .section-subtitle { margin-inline: auto; }

/* ─────────────────────── 4 · COMPONENTS ─────────────────────── */

/* 4.1 NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 100;
  background: transparent;
  transition: background var(--t-fast), transform var(--t-base);
}
nav.scrolled { background: var(--scrim-92); border-bottom: 1px solid var(--rule); }
nav.nav-hidden { transform: translateY(-100%); }
.nav-logo { display: flex; align-items: center; gap: var(--s-3); }
.logo-img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: var(--s-4);
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tx-muted);
  transition: color var(--t-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-toggle { position: absolute; opacity: 0; }
.nav-hamburger { display: none; cursor: pointer; }
@media (max-width: 880px) {
  .nav-hamburger { display: grid; gap: 5px; place-content: center; min-width: 44px; min-height: 44px; }
  .nav-hamburger span { width: 22px; height: 1px; background: var(--paper); display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--black-deep);
    flex-direction: column; justify-content: center; gap: var(--s-5);
    transform: translateX(100%);
    transition: transform var(--t-base);
  }
  .nav-links a { font-size: var(--fs-lede); }
  #nav-toggle:checked ~ .nav-links { transform: translateX(0); }
}
/* Open mobile menu: lock page scroll behind the panel, and force the nav bar
   visible/opaque even when cinema.js has applied .nav-hidden or the bar is
   transparent at the top of the page. */
html:has(#nav-toggle:checked) { overflow: hidden; }
nav:has(#nav-toggle:checked) { transform: none; background: var(--black-deep); }

/* 4.2 PRELOADER (home) */
#preloader {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--black-deep);
  display: grid; place-content: center; justify-items: center;
  gap: var(--s-3);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
html:not(.cinema) #preloader { display: none; }   /* no GSAP → no preloader, ever */
html.reveal-all #preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-snake { width: 56px; height: auto; }
.pre-word-wrap { overflow: hidden; }
.pre-word {
  display: block;
  font: 700 italic var(--fs-sub) / 1.2 'Playfair Display', serif;
  color: var(--tx);
}
.pre-num {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label);
  color: var(--accent);
}

/* 4.3 HERO (home) */
.hero {
  min-height: 100svh;
  display: grid; align-content: center; justify-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--s-6)) var(--gutter) var(--s-7);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -1;
  background: url('/assets/food-hero.jpg?v=7') center / cover no-repeat;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--scrim-55), rgba(21, 16, 10, 0.40) 45%, var(--scrim-72));
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 50% 35%, rgba(200,132,26,0.08), transparent 70%);
}
.hero-grid-lines, .hero-snake, .cta-banner-grid, .world-glow, .hero-divider, .hero-sub,
.hero .hero-scroll { display: none; }
.hero-eyebrow { color: var(--gold-bright); }
.hero-headline { margin: 0; }
.hero-logo {
  width: clamp(160px, 18vw, 220px); height: auto;
  margin: var(--s-4) auto;
}
.hero-bite {
  font: 900 var(--fs-display) / 0.95 'Playfair Display', serif;
  letter-spacing: var(--track-tight);
  color: var(--tx);
}
.bite-line { display: block; overflow: hidden; padding: 0.04em 0.1em; }
.bite-accent { font-style: italic; font-weight: 700; color: var(--gold-bright); }
.hero-bite .ch { display: inline-block; transform-origin: 50% 100%; }
.hero-tagline {
  font: 400 italic var(--fs-lede) / 1.6 'Playfair Display', serif;
  color: var(--tx-muted);
  max-width: var(--w-prose);
  margin: var(--s-4) auto 0;
}
.hero-actions {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.hero-ticket {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--s-4);
  margin-top: var(--s-5);
  background: linear-gradient(180deg, var(--gold-a16), transparent 60%), var(--scrim-55);
  border: 1px solid var(--gold-a50);
  border-radius: var(--r-pill);
  padding: 0.7em 1.8em 0.8em 1.5em;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.hero-ticket:hover { border-color: var(--gold-bright); }
.ticket-copy { display: block; }
.ticket-copy small {
  display: block;
  font: 700 0.6875rem / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
}
.ticket-copy strong {
  display: block;
  font: 700 italic var(--fs-sub) / 1.2 'Playfair Display', serif;
  background: linear-gradient(100deg, var(--gold-bright) 20%, var(--gold-foil-hi) 50%, var(--gold-bright) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-bright);
  animation: foil-glint 4.5s ease-in-out infinite;
}
@keyframes foil-glint {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
.hero-ticket:hover .ticket-copy strong { animation-duration: 1.6s; }
.ticket-tri {
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: var(--r-pill);
  background: var(--gold-fill);
  display: grid; place-content: center;
  transition: background var(--t-fast);
}
.ticket-tri::after {
  content: '';
  width: 0; height: 0;
  border-left: 11px solid var(--ink);
  border-block: 7px solid transparent;
  margin-left: 3px;
}
.hero-ticket:hover .ticket-tri { background: var(--gold-bright); }
.hero-ticket::after {
  content: ''; position: absolute; inset: -5px;
  border: 1px solid var(--gold-a50);
  border-radius: var(--r-pill);
  animation: ticket-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ticket-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
}
.hero-scroll {
  position: absolute; bottom: var(--s-5); left: 50%; transform: translateX(-50%);
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
}
.hero-scroll-line {
  width: 1px; height: 44px;
  margin: 0 auto var(--s-2);
  background: linear-gradient(var(--gold-bright), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (max-width: 480px) {
  /* keep both CTAs inside the first fold on small phones */
  .hero { padding-bottom: var(--s-5); }
  .hero-logo { width: clamp(110px, 30vw, 160px); margin: var(--s-3) auto; }
  .hero-actions, .hero-ticket { margin-top: var(--s-4); }
  .hero-ticket { gap: var(--s-3); padding: 0.6em 1.2em 0.7em 1.1em; }
  .ticket-copy small { letter-spacing: 0.1em; }
}

/* PAGE-HERO (subpages) */
.page-hero {
  background: var(--black-deep);
  padding: calc(var(--nav-h) + var(--s-7)) var(--gutter) var(--s-7);
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font: 700 var(--fs-title) / 1.08 'Playfair Display', serif;
  letter-spacing: var(--track-tight);
  color: var(--tx);
  margin-top: var(--s-3);
}
.page-hero p {
  font-size: var(--fs-lede); line-height: 1.6;
  color: var(--tx-muted);
  max-width: var(--w-prose);
  margin: var(--s-4) auto 0;
}

/* 4.4 MARQUEE */
.marquee {
  background: var(--black-deep);
  border-block: 1px solid var(--rule);
  overflow: hidden;
  padding-block: var(--s-4);
}
.marquee-inner {
  display: flex; width: max-content; gap: 0;
  animation: marquee 60s linear infinite;
}
.marquee-inner span {
  white-space: nowrap;
  font: 400 italic var(--fs-sub) / 1.2 'Playfair Display', serif;
  color: var(--tx-muted);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* 4.5 FEATURED BAND (home) */
.featured-band {
  background: var(--black-deep);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-5) var(--gutter);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--s-4);
}
.featured-rx { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--gold-bright); }
.featured-band .featured-label { color: var(--tx-muted); }
.featured-name {
  font: 700 italic var(--fs-lede) / 1.2 'Playfair Display', serif;
  color: var(--tx);
}
.featured-cta {
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.featured-cta:hover { color: var(--tx); }

/* 4.6 BLEND-INDEX LEDGER (home, paper) */
.blend-index { border-top: 1px solid var(--rule); margin-top: var(--s-6); }
.blend-line {
  display: grid;
  grid-template-columns: 3.5rem auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--rule);
  color: inherit; text-decoration: none;
}
.bl-num { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--tx-muted); }
.blend-line img { height: 88px; width: auto; filter: var(--shadow-jar); }
.bl-name {
  font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif;
  color: var(--tx);
  transition: color var(--t-fast);
}
.bl-name small { display: block; color: var(--tx-muted); margin-top: var(--s-1); }
.bl-go {
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.blend-line:hover .bl-name { color: var(--accent); }
.blend-line:hover .bl-go { color: var(--tx); }
@media (max-width: 720px) {
  .blend-line { grid-template-columns: 2.5rem auto 1fr; gap: var(--s-4); }
  /* keep the affordance, drop the word: bare arrow on small screens */
  .bl-go { font-size: 0; border-bottom: 0; }
  .bl-go::after { content: '→'; font-size: var(--fs-lede); }
  .blend-line img { height: 72px; }
}

/* 4.7 FULL-BLEED BANDS — ocean / feature / show */
.ocean-band, .feature-band, .show-band {
  min-height: 70vh;
  display: grid; align-content: center;
  background-size: cover;
}
.ocean-band {
  background-image:
    linear-gradient(90deg, var(--scrim-92) 0%, var(--scrim-55) 45%, var(--scrim-12) 78%),
    url('/assets/gallery-15.jpg?v=10');
  background-position: center 62%;
}
.feature-band {
  background-image:
    linear-gradient(90deg, var(--scrim-92) 0%, var(--scrim-55) 45%, var(--scrim-12) 78%),
    url('/assets/lineup-dark.jpg?v=17');
  background-position: center 35%;
}
.show-band {
  background-image:
    radial-gradient(ellipse 90% 80% at 50% 50%, var(--scrim-55) 0%, var(--scrim-92) 100%),
    url('/assets/food-pitmaster.jpg?v=8');
  background-position: center 40%;
  text-align: center;
}
.feature-inner > * { max-width: var(--w-prose); }
.feature-copy { color: var(--paper-a85); }
.ocean-band .section-label, .feature-band .section-label { color: var(--gold-bright); }
.feature-inner .btn-primary, .feature-inner .btn-outline { margin-top: var(--s-5); }
.show-band-inner > * { margin-inline: auto; }

.show-open {
  margin-top: var(--s-5);
  background: var(--scrim-55);
  border: 1px solid var(--gold-a50);
  border-radius: var(--r-pill);
  width: 96px; height: 96px;
  display: inline-grid; place-content: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.show-open:hover { border-color: var(--gold-bright); background: var(--gold-a16); }
.show-play { display: flex; align-items: center; gap: var(--s-1); }
.show-play-rx { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--gold-bright); }
.show-play-tri {
  width: 0; height: 0;
  border-left: 14px solid var(--paper);
  border-block: 9px solid transparent;
}
.show-runtime {
  display: block; margin-top: var(--s-3);
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-label); color: var(--tx-muted);
}
.show-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(21, 16, 10, 0.94);
  display: grid; place-items: center;
  padding: var(--s-5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.show-lightbox.on { opacity: 1; visibility: visible; pointer-events: auto; }
/* curtain-fall: fades out but stays rendered (visible) until the browser has
   fully left fullscreen — hiding a fullscreen element mid-exit black-screens Chrome */
.show-lightbox.on.closing { opacity: 0; pointer-events: none; }
.show-lightbox video {
  width: auto; height: auto;
  max-width: 96vw; max-height: 94vh;
  background: var(--black-deep);
  box-shadow: var(--shadow-lift);
}
.show-lightbox:fullscreen { background: var(--black-deep); padding: 0; }
.show-lightbox:fullscreen video {
  max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; object-fit: contain;
  box-shadow: none;
}
.show-close {
  position: absolute; top: var(--s-5); right: var(--s-5);
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: none; color: var(--tx);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: border-color var(--t-fast);
}
.show-close:hover { border-color: var(--gold-bright); }

/* 4.8 PHOTO STRIP (home — composed kitchen band) */
.photo-strip { background: var(--black); }
.strip-head { text-align: center; margin-bottom: var(--s-6); }
.strip-row {
  max-width: var(--w-content); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.strip-item { position: relative; display: block; overflow: hidden; }
.strip-item img {
  width: 100%; height: clamp(240px, 36vh, 360px); object-fit: cover;
  transition: transform var(--t-base);
}
.strip-item::after {
  content: ''; position: absolute; inset: 55% 0 0 0;
  background: linear-gradient(transparent, var(--scrim-72));
  opacity: 0; transition: opacity var(--t-fast);
}
.strip-item span {
  position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 1;
  color: var(--paper);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.strip-item:hover img { transform: scale(1.05); }
.strip-item:hover::after, .strip-item:hover span { opacity: 1; transform: none; }
@media (hover: none) {
  .strip-item::after, .strip-item span { opacity: 1; transform: none; }
}
.strip-foot { text-align: center; margin-top: var(--s-5); }
.strip-foot a {
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.strip-foot a:hover { color: var(--tx); }
@media (max-width: 880px) {
  .strip-row { grid-template-columns: 1fr 1fr; }
  .strip-item img { height: clamp(200px, 28vh, 280px); }
}

/* 4.9 CTA-BANNER + BRAND-BAND */
.cta-banner {
  background: var(--black-deep);
  border-block: 1px solid var(--seam);
  text-align: center;
}
.cta-banner h2 {
  font: 700 var(--fs-title) / 1.08 'Playfair Display', serif;
  letter-spacing: var(--track-tight); color: var(--tx);
}
.cta-banner p {
  font-size: var(--fs-lede); color: var(--tx-muted);
  margin: var(--s-4) auto 0; max-width: var(--w-prose);
}
.cta-banner .btn-dark { margin-top: var(--s-5); }
.brand-band {
  background: var(--paper-deep);
  border-top: 1px solid var(--seam);
  display: grid; place-items: center;
}
.brand-band img {
  width: min(920px, 92%); height: auto;
  padding-block: var(--s-5);
}

/* 4.10 PRODUCT ROWS (blends, paper) */
.product-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7); align-items: center;
  max-width: var(--w-content); margin-inline: auto;
  padding-block: var(--s-7);
}
.product-row + .product-row { border-top: 1px solid var(--rule); }
.product-row.flip .product-row-media { order: 2; }
.product-row-media img {
  max-width: min(100%, 480px); height: auto; max-height: 440px;
  width: auto; margin-inline: auto;
  filter: var(--shadow-jar);
}
/* photographic media (fresh-batch items shot in situ, not cutouts) */
.product-row-media img.is-photo {
  filter: none;
  width: 100%; max-width: 520px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
}
.product-row-body h2 {
  font: 700 var(--fs-title) / 1.08 'Playfair Display', serif;
  letter-spacing: var(--track-tight); color: var(--tx);
  margin-top: var(--s-3);
}
.row-kicker { display: block; margin-top: var(--s-2); }
.product-badge {
  display: inline-block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  padding: 0.25em 0.9em;
  border: 1px solid currentColor;
  border-radius: var(--r-sm);
  background: none;
}
.badge-smoke { color: var(--tx-muted); }
.badge-fire { color: var(--heat); }
.badge-ocean { color: var(--accent); }
.product-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-block: var(--s-4); }
.tag {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  color: var(--tx-muted);
  background: none; border: 0; padding: 0;
}
.tag + .tag::before { content: '· '; color: var(--accent); }
.product-perfect-for {
  font: 400 italic var(--fs-meta) / 1.6 'Lato', sans-serif;
  color: var(--tx-muted);
  margin-bottom: var(--s-4);
}
.product-perfect-for strong {
  font-style: normal; font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
  display: block; margin-bottom: var(--s-1);
}
.heat-meter { max-width: 360px; margin-top: var(--s-4); }
.heat-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: var(--s-2);
}
.heat-bar { height: 3px; background: var(--rule); }
.heat-fill { height: 100%; width: 60%; background: linear-gradient(90deg, var(--gold-bright), var(--gold-fill)); }
.heat-fill.mild { width: 35%; background: var(--gold-bright); }
.heat-fill.hot { width: 92%; background: linear-gradient(90deg, var(--gold-fill), var(--ember)); }
.heat-fill.none { width: 12%; background: var(--rule); }
.row-cta { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-5); }
.row-price { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--tx); }
.row-price small {
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  color: var(--tx-muted); margin-left: 2px;
}
@media (max-width: 880px) {
  .product-row { grid-template-columns: 1fr; gap: var(--s-5); }
  .product-row.flip .product-row-media { order: 0; }
  .product-row-media img { max-height: 320px; }
}

/* BLENDS SUBNAV */
.blends-subnav {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: var(--scrim-92);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-3) var(--gutter);
  display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-2);
}
.blends-subnav a {
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--tx-muted); text-decoration: none;
  padding: 0.45em 1.2em;
  border: 1px solid transparent; border-radius: var(--r-pill);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.blends-subnav a:hover { color: var(--gold-bright); border-color: var(--rule); }
@media (max-width: 720px) {
  /* one scrollable pill row — no wrap, no scrollbar chrome */
  .blends-subnav {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blends-subnav::-webkit-scrollbar { display: none; }
  .blends-subnav a { flex: 0 0 auto; padding-block: 0.7em; }
}

/* 4.11 HEAT METER SECTION (blends, dark) */
.heatmeter-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7); align-items: center;
}
.heatmeter-visual img { width: 100%; height: auto; }
.heatmeter-content { min-width: 0; }
.heatscale { margin-top: var(--s-5); }
.heatscale-snake { width: 100%; height: auto; display: block; margin-bottom: var(--s-3); }
.heatscale path[fill="#E03020"] { fill: var(--ember); }
.heatscale-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.heat-tier {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-3);
  background: none; border-radius: 0; box-shadow: none;
  text-align: left;
}
.heat-tier-name {
  display: block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
}
.heat-tier:nth-child(1) .heat-tier-name { color: var(--gold-bright); }
.heat-tier:nth-child(2) .heat-tier-name { color: var(--gold-fill); }
.heat-tier:nth-child(3) .heat-tier-name { color: var(--ember-bright); }
.heat-tier-blend {
  display: block;
  font: 700 var(--fs-lede) / 1.3 'Playfair Display', serif;
  color: var(--tx); margin-top: var(--s-1);
}
.heat-tier-note {
  display: block;
  font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif;
  color: var(--tx-muted); margin-top: var(--s-1);
}
@media (max-width: 880px) {
  .heatmeter-inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .heatscale-tiers { grid-template-columns: 1fr; }
}

/* 4.12 QUIZ (blends, dark) */
.quiz { max-width: var(--w-narrow); margin: var(--s-6) auto 0; }
.quiz-progress { display: block; margin-bottom: var(--s-4); }
.quiz-step h3 { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); }
.quiz-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-3); margin-top: var(--s-5);
}
.quiz-opt {
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: var(--s-4);
  color: var(--tx);
  font: 700 var(--fs-body) / 1.4 'Lato', sans-serif;
  text-align: left; cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--accent); color: var(--accent); }
.quiz-result { display: none; text-align: center; padding-top: var(--s-5); }
.quiz-result.show { display: block; }
.quiz-result .rx { font: 700 var(--fs-title) / 1 'Playfair Display', serif; color: var(--accent); }
.quiz-result img { height: 200px; width: auto; margin: var(--s-4) auto; filter: var(--shadow-jar); }
.quiz-result h3 { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); }
.quiz-restart {
  display: inline-block; margin-top: var(--s-4);
  background: none; border: 0; cursor: pointer;
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--tx-muted);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.quiz-restart:hover { color: var(--accent); }
@media (max-width: 600px) { .quiz-options { grid-template-columns: 1fr; } }

/* 4.13 TABLE MOSAIC (blends, dark) */
.table-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-1); margin-top: var(--s-6);
}
.table-card {
  position: relative; display: block; overflow: hidden;
  text-decoration: none;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
.table-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto;
  transition: transform var(--t-base);
}
.table-card:hover img { transform: scale(1.04); }
.table-meta {
  position: absolute; inset: auto 0 0 0;
  padding: var(--s-6) var(--s-4) var(--s-4);
  background: linear-gradient(transparent, var(--scrim-92) 75%);
}
.table-blend { color: var(--gold-bright); }
.table-meta h3 {
  font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif;
  color: var(--paper); margin-top: var(--s-1);
}
.table-meta p { font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--paper-a85); margin-top: var(--s-1); }
@media (max-width: 720px) { .table-grid { grid-template-columns: 1fr; } }

/* 4.14 ORDER OPTIONS (blends, paper-deep) */
.order-options {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6); margin-top: var(--s-6);
}
.order-option {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
  background: none; border-radius: 0; box-shadow: none;
  position: relative;
  display: flex; flex-direction: column;  /* bottom-aligned full-width CTAs */
}
/* featured = ink band strip, not a card — the .light remap in reverse:
   a local token swap to dark-world values that already exist in the token
   block. Every child rule below keeps reading the same indirection tokens. */
.order-option.featured {
  --bg: var(--black-deep);
  --tx: var(--paper);             /* 16.2:1 on --black-deep (V21.4 lift) */
  --tx-muted: var(--paper-a85);   /* composites to ≈11.8:1 */
  --accent: var(--gold-bright);   /* 9.1:1 */
  --rule: var(--gold-a28);
  --heat: var(--ember-bright);    /* 5.3:1 — feeds the save chip */
  --gold: var(--gold-bright);     /* defensive inline-style feeds, mirrors .light */
  --gold-light: var(--gold-bright);
  background: var(--bg);
  color: var(--tx);
  border-top: 2px solid var(--accent);
  padding: var(--s-6) var(--s-5);
  margin-block: calc(-1 * var(--s-5));  /* desktop overhang — reset ≤880px */
}
.order-option .featured-label {
  position: static; display: inline-block; align-self: flex-start;
  color: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--r-sm);
  padding: 0.2em 0.8em;
  margin-bottom: var(--s-3);
}
.order-media { margin-bottom: var(--s-4); }
.order-media img { width: 100%; height: auto; }
.order-media-jar img { width: auto; height: 220px; margin-inline: auto; filter: var(--shadow-jar); }
.order-media-trio { margin-inline: calc(-1 * var(--s-5)); }  /* trio bleeds to panel edges — the hero */
.order-media-trio img { filter: var(--shadow-jar); }
.order-media-rack { position: relative; }
.order-media-rack::after {
  /* the sheet's warm veil — scrim tokens only, no CSS-filter hacks */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--scrim-12), var(--scrim-55));
  pointer-events: none;
}
.order-option h3 {
  font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif;
  color: var(--tx);
  transition: color var(--t-fast);
}
.order-option:hover h3 { color: var(--accent); }
.order-price {
  font: 700 var(--fs-sub) / 1 'Playfair Display', serif;
  color: var(--tx); margin-top: var(--s-3);
}
.order-price span { font: 700 var(--fs-meta) / 1 'Lato', sans-serif; color: var(--tx-muted); }
.order-price-inquire { font-size: var(--fs-lede); padding-top: var(--s-2); }  /* replaces the old inline style */
.order-save {
  display: inline-block; align-self: flex-start;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--heat);
  border: 1px solid var(--heat); border-radius: var(--r-pill);
  padding: 0.2em 0.9em;
  margin-top: var(--s-3);
}
.order-includes { list-style: none; margin: var(--s-4) 0; padding: 0; }
.order-includes li {
  font: 400 var(--fs-meta) / 1.6 'Lato', sans-serif;
  color: var(--tx-muted);
  padding-block: var(--s-2);
  border-top: 1px solid var(--rule);
}
.order-includes li:first-child { border-top: 0; }
.order-includes li::before { content: '✦ '; color: var(--accent); }
/* blend color-coding (featured includes) — markers only, never body text;
   equal specificity (0,1,1) to the rule above, later-in-file wins by design */
li.inc-cureall::before  { color: var(--accent); }
li.inc-butchers::before { color: var(--heat); }
li.inc-anglers::before  { color: var(--tide); }
.order-option .order-btn { width: 100%; margin-top: auto; }
@media (max-width: 880px) {
  .order-options { grid-template-columns: 1fr; }
  .order-option.featured { margin-block: 0; padding: var(--s-5) var(--s-4); }
  .order-media-trio { margin-inline: calc(-1 * var(--s-4)); }
}

/* 4.15 ABOUT (story, paper) */
.about-inner {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: var(--s-7); align-items: start;
}
.about-visual { position: relative; }
.about-frame {
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 6px;
  padding: var(--s-2);
}
.about-photo { width: 100%; height: auto; object-fit: cover; }
.about-quote {
  font: 400 italic var(--fs-lede) / 1.6 'Playfair Display', serif;
  color: var(--tx); margin-top: var(--s-4); padding-inline: var(--s-2);
}
.about-quote-attr {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
  margin-top: var(--s-2); padding: 0 var(--s-2) var(--s-2);
}
.about-stamp {
  position: absolute;
  top: calc(-1 * var(--s-4)); right: calc(-1 * var(--s-4));
  width: 110px; height: 110px;
  border: 2px solid rgba(184, 74, 24, 0.55);
  border-radius: var(--r-pill);
  display: grid; place-content: center; text-align: center;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--ember-ink);
  transform: rotate(-12deg);
  background: var(--bg);
}
.about-content { min-width: 0; }
.about-body { color: var(--tx-muted); max-width: var(--w-prose); margin-top: var(--s-4); }
.about-body strong { color: var(--tx); }
.about-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  border-top: 1px solid var(--rule);
  margin-top: var(--s-6); padding-top: var(--s-5);
}
.about-fact-num {
  display: block;
  font: 700 var(--fs-sub) / 1 'Playfair Display', serif;
  color: var(--accent);
}
.about-fact-label {
  display: block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted); margin-top: var(--s-1);
}
@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .about-stamp { right: 0; }
}

/* 4.16 SHELF WALL (story, dark) */
.shelf-head { text-align: center; margin-bottom: var(--s-6); }
.shelf-hint { display: none; }
.shelf-grid-wrap { max-width: var(--w-content); margin-inline: auto; }
.shelf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px; grid-auto-flow: dense;
  gap: var(--s-1);
}
.shelf-item { position: relative; margin: 0; overflow: hidden; width: auto; }
.shelf-item img { width: 100%; height: 100%; object-fit: cover; }
.shelf-grid .shelf-item.tall { grid-row: span 2; width: auto; }
.shelf-item::after {
  content: ''; position: absolute; inset: 60% 0 0 0;
  background: linear-gradient(transparent, var(--scrim-72));
}
.shelf-cap {
  position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 1;
  color: var(--paper); margin: 0;
}
.shelf-cap span { color: var(--gold-bright); margin-right: var(--s-2); }
@media (max-width: 720px) { .shelf-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } }

/* 4.17 REVIEWS (story, paper) */
.reviews-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-6) var(--s-7);
  margin-top: var(--s-6);
}
.review-card {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-4);
  background: none; border-radius: 0; box-shadow: none;
  margin: 0;
}
.review-stars { color: var(--accent); letter-spacing: var(--track-label); }
.review-stars span { color: var(--ink-a18); }
.review-card blockquote {
  font: 400 italic var(--fs-lede) / 1.6 'Playfair Display', serif;
  color: var(--tx); margin-top: var(--s-3);
}
.review-card figcaption {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted); margin-top: var(--s-3);
}
.review-card figcaption em { display: block; font-style: normal; color: var(--accent); margin-top: var(--s-1); }
.reviews-empty { grid-column: 1 / -1; text-align: center; font-size: var(--fs-lede); color: var(--tx-muted); }
.review-form-wrap {
  max-width: var(--w-narrow); margin: var(--s-7) auto 0;
  border-top: 2px solid var(--accent);
  padding-top: var(--s-5);
  background: none; border-radius: 0; box-shadow: none;
}
.review-form-wrap h3 { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); margin-bottom: var(--s-4); }
.review-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (max-width: 720px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 1fr; }
}

/* 4.18 FAQ (story, paper-deep) */
.faq-list {
  max-width: var(--w-narrow); margin: var(--s-6) auto 0;
  border-bottom: 1px solid var(--rule);
}
.faq-item {
  border-top: 1px solid var(--rule);
  background: none; border-radius: 0; box-shadow: none;
  margin: 0;
}
.faq-item summary {
  font: 700 var(--fs-lede) / 1.5 'Lato', sans-serif;
  color: var(--tx);
  padding-block: var(--s-4);
  padding-right: var(--s-6);
  cursor: pointer; list-style: none;
  position: relative;
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: var(--s-2); top: 50%; transform: translateY(-50%);
  font: 400 var(--fs-sub) / 1 'Playfair Display', serif;
  color: var(--accent);
  transition: transform var(--t-fast);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary, .faq-item summary:hover { color: var(--accent); }
.faq-item p { color: var(--tx-muted); padding: 0 0 var(--s-4); max-width: var(--w-prose); }
.faq-item a { color: var(--accent); }

/* 4.19 FIND (story, dark) */
.find-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6); margin-top: var(--s-6);
}
.find-card {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-4);
  background: none; border-radius: 0; box-shadow: none;
}
.find-card-icon { display: block; margin-bottom: var(--s-3); }
.find-card-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; }
.find-card h3 { font: 700 var(--fs-lede) / 1.3 'Playfair Display', serif; color: var(--tx); }
.find-card p { font: 400 var(--fs-meta) / 1.6 'Lato', sans-serif; color: var(--tx-muted); margin-top: var(--s-2); }
.find-card a {
  display: inline-block; margin-top: var(--s-3);
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.find-card a:hover { color: var(--tx); }
@media (max-width: 720px) { .find-cards { grid-template-columns: 1fr; } }

/* 4.20 COUNTER (pricing, paper) */
.counter-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6); margin-top: var(--s-6);
}
.counter-card {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
  background: none; border-radius: 0; box-shadow: none;
  position: relative;
}
.counter-card.featured { border-top: 2px solid var(--accent); }
.counter-ribbon {
  position: static; display: inline-block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--r-sm);
  padding: 0.2em 0.8em; margin-bottom: var(--s-3);
}
.counter-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto;
  border: 0; border-radius: 0;
  margin-bottom: var(--s-4);
}
.counter-card h3 { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); }
.counter-card h3 em {
  display: block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  font-style: normal;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted); margin-top: var(--s-1);
}
.counter-price { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--tx); margin-top: var(--s-3); }
.counter-price span { font: 700 var(--fs-meta) / 1 'Lato', sans-serif; color: var(--tx-muted); }
.counter-save {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent); margin-top: var(--s-1); min-height: 1.4em;
}
.counter-desc { font-size: var(--fs-body); }
.counter-card .order-btn { margin-top: var(--s-4); }
.counter-foot {
  border-top: 1px solid var(--rule);
  margin-top: var(--s-7); padding-top: var(--s-4);
  text-align: center; color: var(--tx-muted);
}
.counter-foot a { color: var(--accent); }
.market-card { width: 100%; height: auto; box-shadow: var(--shadow-paper); margin-top: var(--s-6); }
@media (max-width: 880px) { .counter-grid { grid-template-columns: 1fr; } }

/* 4.21 ℞ ORDER PAD (/order — parchment document on dark page) */
.rx-pad {
  max-width: var(--w-narrow); margin-inline: auto;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  padding: var(--s-6) var(--s-5);
  position: relative; overflow: hidden;
}
.rx-watermark {
  position: absolute; inset: 0;
  display: grid; place-content: center;
  font: 700 16rem / 1 'Playfair Display', serif;
  color: var(--ink-a04);
  pointer-events: none; user-select: none;
}
.rx-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid var(--tx);
  padding-bottom: var(--s-4);
  position: relative;
}
.rx-clinic {
  font: 700 var(--fs-meta) / 1.5 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
}
.rx-logo { height: 40px; width: auto; margin-bottom: var(--s-2); }
.rx-symbol { font: 700 var(--fs-title) / 1 'Playfair Display', serif; color: var(--accent); }
.rx-body { position: relative; padding-top: var(--s-5); }
.rx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.rx-field { display: flex; flex-direction: column; }
.rx-field.full { grid-column: 1 / -1; }
.rx-field label {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted); margin-bottom: var(--s-1);
}
.rx-pad .rx-field input, .rx-pad .rx-field textarea {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--ink-a35);
  border-radius: 0;
  padding: var(--s-2) 0;
  font: 400 var(--fs-body) / 1.5 'Lato', sans-serif;
  color: var(--tx);
  resize: vertical;
}
.rx-pad .rx-field input:focus, .rx-pad .rx-field textarea:focus {
  outline: none; border-bottom-color: var(--accent);
}
.rx-returning {
  border-top: 1px solid var(--rule);
  margin-top: var(--s-5); padding-top: var(--s-4);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3);
}
.rx-section-label { margin-top: var(--s-5); display: block; }
.rx-mini { font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--tx-muted); }
.rx-lines { margin-top: var(--s-4); }
.rx-line, .rx-hist-row {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: var(--s-4); align-items: center;
  border-top: 1px dashed var(--ink-a30);
  padding-block: var(--s-3);
}
.rx-thumb { width: 72px; height: auto; max-height: 108px; object-fit: contain; }
.rx-hist-row { grid-template-columns: 1fr auto; }   /* history rows carry no thumbnail */
.rx-thumb-round { height: 56px; object-fit: cover; border-radius: var(--r-pill); }
.rx-line-info .name { font: 700 var(--fs-body) / 1.4 'Lato', sans-serif; color: var(--tx); }
.rx-line-info .meta { font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--tx-muted); }
.qty { display: flex; align-items: center; gap: var(--s-2); }
.qty button {
  width: 32px; height: 32px;
  background: none;
  border: 1px solid var(--ink-a35); border-radius: var(--r-sm);
  color: var(--tx); font: 700 var(--fs-body) / 1 'Lato', sans-serif;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.qty button:hover { border-color: var(--accent); color: var(--accent); }
.qty input {
  width: 44px; text-align: center;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink-a35);
  font: 700 var(--fs-body) / 1.5 'Lato', sans-serif; color: var(--tx);
}
.rx-optin {
  display: flex; align-items: center; gap: var(--s-2);
  font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif;
  color: var(--tx-muted); margin-top: var(--s-4);
}
.rx-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--tx);
  margin-top: var(--s-5); padding-top: var(--s-4);
}
.rx-total .label {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
}
.rx-total .amount { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--tx); }
.rx-save {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
}
.rx-req { font-weight: 400; text-transform: none; letter-spacing: 0; }
.rx-fulfill-label {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted); margin-bottom: var(--s-1);
}
/* fulfillment = two big toggle pills; the radios stay in the form for the POST */
.rx-fulfill-opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); padding-top: var(--s-1); }
.rx-fulfill-opts label { position: relative; cursor: pointer; }
.rx-fulfill-opts input { position: absolute; opacity: 0; pointer-events: none; }
.rx-fulfill-opts span {
  display: block; text-align: center;
  border: 1px solid var(--ink-a50);
  padding: var(--s-3) var(--s-2);
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.rx-fulfill-opts label:hover span { border-color: var(--accent); color: var(--tx); }
.rx-fulfill-opts input:checked + span {
  background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink);
}
.rx-fulfill-opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rx-addr-hint { font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--tx-muted); margin-top: var(--s-1); }

/* numbered step rules — Prescription / Patient / Dispense */
.rx-step {
  display: flex; align-items: baseline; gap: var(--s-2);
  margin-top: var(--s-6);
  border-bottom: 2px solid var(--tx);
  padding-bottom: var(--s-2);
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
}
.rx-step-num { font: 700 var(--fs-lede) / 1 'Playfair Display', serif; color: var(--tx); }
.rx-lookup-link {
  margin-left: auto;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: 0; text-transform: none;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* quick-pick bundles */
.rx-bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-4); }
.rx-bundle {
  background: none; cursor: pointer;
  border: 1px dashed var(--ink-a50);
  padding: var(--s-3) var(--s-2);
  text-align: center;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.rx-bundle strong {
  display: block; margin-top: 2px;
  font: 700 var(--fs-lede) / 1.2 'Playfair Display', serif;
  letter-spacing: 0; text-transform: none;
  color: var(--tx);
}
.rx-bundle small { display: block; margin-top: 2px; font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif; color: var(--accent); }
.rx-bundle:hover { border-color: var(--accent); }
.rx-bundle.on { border: 1px solid var(--accent); background: var(--gold-a16); }
.rx-bundle.on small { color: var(--tx); }  /* accent fails 4.5:1 on the gold wash */

/* a line that's on the script lights up; tap anywhere on it to add one */
.rx-line { cursor: pointer; transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.rx-heat { font-weight: 700; }
.rx-heat.mild { color: var(--accent); }
.rx-heat.hot { color: var(--heat); }
.rx-line.on .rx-heat.mild { color: var(--tx); }  /* accent is 4.31:1 on the gold wash */
.rx-line.on { background: var(--gold-a16); box-shadow: inset 3px 0 0 var(--accent); }
.rx-line.on .name::after {
  content: ' ✓ on the script';
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx);   /* ink on the gold wash — accent only hits 4.31:1 there */
  margin-left: var(--s-2);
}

/* savings ladder toward the $38 cabinet */
.rx-ladder { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
.rx-ladder-track { flex: 1; height: 5px; background: var(--ink-a18); }
.rx-ladder-fill { height: 100%; width: 0; background: var(--accent); transition: width var(--t-base); }
.rx-ladder-note {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
}
.rx-printlink {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--tx-muted); text-decoration: underline;
}

/* gift orders */
.rx-gift-msg[hidden] { display: none; }
.rx-gift-msg textarea { min-height: 70px; }
.rx-confirm-gift { font: 700 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--accent); }

/* restored-draft notice */
.rx-resume {
  margin-top: var(--s-3);
  border-left: 3px solid var(--accent);
  padding-left: var(--s-3);
  font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif;
  color: var(--tx-muted);
}

/* field-level error flag — cleared on first input */
.rx-pad .rx-field.invalid label { color: var(--heat); }
.rx-pad .rx-field.invalid input, .rx-pad .rx-field.invalid textarea { border-color: var(--heat); }
.rx-field-err {
  display: block; margin-top: var(--s-1);
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  color: var(--heat);
}
/* pad checkboxes wear the house gold, not UA blue */
.rx-pad input[type="checkbox"] { accent-color: var(--accent); }

/* the ℞ FILLED stamp — lands once, on confirmation */
.rx-stamp { display: grid; place-content: center; margin-bottom: var(--s-3); }
.rx-stamp span {
  display: inline-block; transform: rotate(-8deg);
  font: 700 var(--fs-lede) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--heat);
  border: 3px double var(--heat); border-radius: var(--r-sm);
  padding: 0.5em 1.1em;
  animation: rx-stamp-in 0.45s var(--ease) both;
}
@keyframes rx-stamp-in {
  from { transform: rotate(-8deg) scale(1.7); opacity: 0; }
  to   { transform: rotate(-8deg) scale(1); opacity: 1; }
}
/* itemized receipt under "3 · Dispense" */
.rx-receipt { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.rx-receipt li {
  display: flex; justify-content: space-between; gap: var(--s-3);
  font: 400 var(--fs-meta) / 1.6 'Lato', sans-serif;
  color: var(--tx-muted);
  padding-block: var(--s-1);
}
.rx-receipt li.sub {
  border-top: 1px dashed var(--ink-a30);
  font-weight: 700; color: var(--tx);
}
/* mobile sticky dispense bar — lives OUTSIDE .rx-pad (overflow:hidden kills sticky) */
.rx-stickybar { display: none; }
@media (max-width: 720px) {
  .rx-stickybar.ready {
    position: sticky; bottom: 0; z-index: 5;
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
    background: var(--paper);
    border-top: 2px solid var(--ink);
    box-shadow: var(--shadow-lift);
    padding: var(--s-3) var(--s-4);
    margin-top: var(--s-3);
  }
  .rx-stickybar-total small { font: inherit; }   /* defeat the UA 'smaller' — type floor */
  .rx-stickybar-total {
    font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
    letter-spacing: var(--track-label); text-transform: uppercase;
    color: var(--ink-muted);
  }
  .rx-stickybar-total span {
    font: 700 var(--fs-sub) / 1 'Playfair Display', serif;
    letter-spacing: 0; color: var(--ink); margin-left: var(--s-1);
  }
  .rx-stickybar-go {
    background: var(--gold-fill); color: var(--ink);
    border: 0; cursor: pointer;
    font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
    letter-spacing: var(--track-btn); text-transform: uppercase;
    padding: 0.9em 1.4em;
  }
  .rx-stickybar-go:hover { background: var(--gold-bright); }
}
.rx-actions .rx-btn.fill { width: 100%; }
.rx-nudge { display: block; margin-top: var(--s-2); font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--tx-muted); }
.rx-nudge-add {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 700 var(--fs-meta) / 1.5 'Lato', sans-serif;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.rx-trust { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.rx-trust li {
  font: 400 var(--fs-meta) / 1.8 'Lato', sans-serif;
  color: var(--tx-muted);
}
.rx-trust li::before { content: '✓  '; color: var(--accent); font-weight: 700; }
.rx-confirm { border-top: 2px solid var(--tx); margin-top: var(--s-4); padding-top: var(--s-4); }
.rx-confirm-label {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent); margin: 0;
}
.rx-confirm-num { font: 700 var(--fs-title) / 1.1 'Playfair Display', serif; color: var(--tx); margin: var(--s-2) 0 var(--s-3); }
.rx-confirm-items { list-style: none; margin: 0; padding: 0; }
.rx-confirm-items li {
  border-top: 1px dashed var(--ink-a30); padding-block: var(--s-2);
  font: 400 var(--fs-body) / 1.5 'Lato', sans-serif; color: var(--tx);
}
.rx-confirm-total { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); margin: var(--s-3) 0; }
.rx-confirm-next { font: 400 var(--fs-body) / 1.6 'Lato', sans-serif; color: var(--tx-muted); margin: 0 0 var(--s-4); }
.rx-foot {
  margin-top: var(--s-6);
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: var(--s-4);
}
.rx-sign {
  font: 400 italic var(--fs-sub) / 1.2 'Playfair Display', serif;
  color: var(--tx);
  border-top: 1px solid var(--ink-a35);
  padding-top: var(--s-2);
  min-width: 200px; text-align: center;
}
.rx-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.rx-status { display: none; margin-top: var(--s-4); font: 700 var(--fs-body) / 1.5 'Lato', sans-serif; }
.rx-status.show { display: block; }
.rx-status.ok { color: var(--accent); }
.rx-status.err { color: var(--heat); }
.rx-hist-note { font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif; color: var(--tx-muted); }
.rx-loyalty {
  display: inline-block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--r-pill);
  padding: 0.2em 0.9em;
}
@media (max-width: 600px) {
  .rx-grid { grid-template-columns: 1fr; }
  .rx-pad { padding: var(--s-5) var(--s-4); }
  /* product line wraps to two rows: thumb + info, then qty under the info */
  .rx-line { grid-template-columns: 56px 1fr; gap: var(--s-3); }
  .rx-thumb { width: 56px; max-height: 84px; }
  .rx-line .qty { grid-column: 2; justify-content: flex-start; }
  .qty button { width: 44px; height: 44px; }
  .rx-bundles { gap: var(--s-2); }
  .rx-bundle { padding: var(--s-2) 0.4rem; }
  .rx-ladder { flex-direction: column; align-items: stretch; gap: var(--s-2); }
  .rx-step { flex-wrap: wrap; }
  .rx-lookup-link { margin-left: 0; flex-basis: 100%; text-align: left; margin-top: var(--s-1); }
}

/* 4.22 TRACK */
.track-wrap { max-width: var(--w-narrow); margin-inline: auto; }
.track-form { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.track-form input { flex: 1; min-width: 0; }
.track-error { color: var(--heat); font-weight: 700; margin-top: var(--s-3); }
.track-error:empty { display: none; }
.track-result { display: none; margin-top: var(--s-6); }
.track-result.show { display: block; }
.track-card {
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  padding: var(--s-5);
}
.track-status-row {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--tx);
  padding-bottom: var(--s-3);
}
.track-num { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); }
.track-pill {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  border: 1px solid currentColor; border-radius: var(--r-pill);
  padding: 0.3em 1em;
}
.track-pill.pending { color: var(--tx-muted); }
.track-pill.confirmed { color: var(--accent); }
.track-pill.fulfilled { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); }
.track-pill.cancelled { color: var(--heat); }
.track-steps { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.track-steps .s {
  flex: 1;
  border-top: 3px solid var(--ink-a18);
  padding-top: var(--s-2);
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted);
}
.track-steps .s.on { border-top-color: var(--accent); color: var(--tx); }
.track-items { list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.track-items li {
  display: flex; justify-content: space-between;
  border-top: 1px dashed var(--ink-a30);
  padding-block: var(--s-3);
  font-size: var(--fs-body);
}
.track-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--tx);
  margin-top: var(--s-4); padding-top: var(--s-4);
}
.track-total span { font: 700 var(--fs-sub) / 1 'Playfair Display', serif; color: var(--tx); }
@media (max-width: 600px) { .track-form { flex-direction: column; } }

/* 4.23 CONTACT */
.contact-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: var(--s-7); align-items: start;
}
.contact-card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.contact-card .section-title { font-size: var(--fs-sub); }
.contact-form { margin-top: var(--s-5); }
.contact-form .rx-field { margin-bottom: var(--s-4); }
.contact-form .rx-field label {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--tx-muted); margin-bottom: var(--s-1);
}
.contact-form .rx-field input, .contact-form .rx-field textarea {
  width: 100%;
  background: var(--paper-a07);
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  padding: var(--s-3) var(--s-4);
  font: 400 var(--fs-body) / 1.5 'Lato', sans-serif;
  color: var(--tx);
  resize: vertical;
  transition: border-color var(--t-fast);
}
.contact-form .rx-field input:focus, .contact-form .rx-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-status { font-weight: 700; color: var(--accent); margin-top: var(--s-3); min-height: 1.5em; }
.contact-info { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
.contact-info h3 { font: 700 var(--fs-sub) / 1.2 'Playfair Display', serif; color: var(--tx); margin-top: var(--s-2); }
.contact-line { padding-block: var(--s-3); color: var(--tx-muted); }
.contact-line strong {
  display: block;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-1);
}
.contact-line a { color: var(--tx); text-decoration: none; }
.contact-line a:hover { color: var(--accent); }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-left: 0; border-top: 1px solid var(--rule); padding: var(--s-5) 0 0; }
}

/* 4.24 SHARED FORMS + STATUS */
.join-form {
  display: flex; gap: var(--s-2);
  max-width: 480px; margin: var(--s-5) auto 0;
}
.join-form input[type="text"], .join-form input[type="email"],
.track-form input, .review-form input, .review-form select, .review-form textarea {
  background: var(--paper-a07);
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  padding: var(--s-3) var(--s-4);
  font: 400 var(--fs-body) / 1.5 'Lato', sans-serif;
  color: var(--tx);
  transition: border-color var(--t-fast);
}
.review-form input, .review-form select, .review-form textarea {
  width: 100%; background: var(--input-fill); color: var(--ink);
}
.review-form textarea { margin-bottom: var(--s-4); resize: vertical; }
.join-form input { flex: 1; min-width: 0; }
.join-form input:focus, .track-form input:focus,
.review-form :is(input, select, textarea):focus { outline: none; border-color: var(--accent); }
::placeholder { color: inherit; opacity: 0.55; }
.join-status, .review-status { font-weight: 700; color: var(--accent); margin-top: var(--s-3); min-height: 1.5em; }
.hp-field { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
@media (max-width: 600px) { .join-form { flex-direction: column; } }

/* 4.25 BUTTONS — one recipe, three skins */
.btn-primary, .btn-outline, .btn-dark, .order-btn, .rx-btn, .nav-links .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  padding: 0.9em 2em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  box-shadow: none; transform: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn-primary, .order-btn.primary, .rx-btn.fill, .nav-links .nav-cta, .btn-dark {
  background: var(--gold-fill);
  color: var(--ink);
}
.btn-primary:hover, .order-btn.primary:hover, .rx-btn.fill:hover,
.nav-links .nav-cta:hover, .btn-dark:hover { background: var(--gold-bright); color: var(--ink); }
.btn-outline, .order-btn.secondary, .rx-btn.alt {
  background: none;
  border-color: var(--gold-a50);
  color: var(--accent);
}
.btn-outline:hover, .order-btn.secondary:hover, .rx-btn.alt:hover {
  border-color: var(--accent); color: var(--tx);
}
.rx-pad .rx-btn.alt { border-color: var(--ink-a35); color: var(--tx); }
.rx-pad .rx-btn.alt:hover { border-color: var(--accent); color: var(--accent); }

/* 4.26 FOOTER */
footer {
  background: var(--black-deep);
  border-top: 1px solid var(--seam);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-6); }
.footer-brand { min-width: 0; }
.footer-logo-img { height: 44px; width: auto; }
.footer-tagline {
  font: 400 italic var(--fs-meta) / 1.7 'Playfair Display', serif;
  color: var(--tx-muted);
  margin-top: var(--s-3); max-width: 36ch;
}
.footer-social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--paper-a25); border-radius: var(--r-pill);
  display: grid; place-content: center;
  color: var(--tx-muted); text-decoration: none;
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.social-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.footer-col h4 { color: var(--tx-muted); margin-bottom: var(--s-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a, .footer-col address {
  display: block;
  font: 400 var(--fs-meta) / 1.5 'Lato', sans-serif;
  font-style: normal;
  color: var(--tx-muted); text-decoration: none;
  padding-block: var(--s-1);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  border-top: 1px solid var(--rule);
  margin-top: var(--s-6); padding-top: var(--s-4);
  font-size: var(--fs-meta); color: var(--tx-muted);
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr; gap: var(--s-5); } }

/* 4.27 404 */
.notfound {
  min-height: 100svh;
  display: grid; place-content: center; justify-items: center;
  text-align: center;
  padding: var(--s-7) var(--gutter);
  position: relative;
}
.notfound-code { font: 900 var(--fs-display) / 0.95 'Playfair Display', serif; color: var(--gold-bright); }
.notfound h1 { font: 700 var(--fs-title) / 1.1 'Playfair Display', serif; color: var(--tx); margin-top: var(--s-3); }
.notfound p { color: var(--tx-muted); max-width: var(--w-prose); margin-top: var(--s-4); }
.notfound .hero-actions { position: static; margin-top: var(--s-5); }

/* ──────────────── 5 · THEME SWAP (tokens only) ──────────────── */
.light, .rx-pad, .track-card {
  --tx: var(--ink);
  --tx-muted: var(--ink-muted);
  --accent: var(--gold-ink);
  --rule: rgba(60, 44, 24, 0.25);
  --bg: var(--paper);
  --heat: var(--ember-ink);
  --gold: var(--gold-ink);
  --gold-light: var(--gold-ink);
  /* ghost-button boundary: half-alpha gold composites to ~1.3:1 on parchment
     (WCAG 1.4.11 fail) — resolve to the opaque theme accent in light worlds */
  --gold-a50: var(--accent);
  background-color: var(--bg);
  color: var(--tx);
}
.light { border-block: 1px solid var(--seam); }
.light + .light { border-top: 0; }
.light.light-deep { --bg: var(--paper-deep); --accent: var(--gold-ink-deep); }
.rx-pad, .track-card { border-block: 0; }

/* ─────────────── 6 · STATES / JS CHROME / MOTION ────────────── */
/* one reveal system: site.js IO adds .in to exactly these targets */
html.js .products-header, html.js .counter-card, html.js .order-option,
html.js .find-card, html.js .about-visual, html.js .about-content,
html.js .cta-banner h2, html.js .cta-banner p {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js :is(.products-header, .counter-card, .order-option, .find-card,
.about-visual, .about-content, .cta-banner h2, .cta-banner p).in,
html.reveal-all :is(.products-header, .counter-card, .order-option, .find-card,
.about-visual, .about-content, .cta-banner h2, .cta-banner p) {
  opacity: 1; transform: none;
}
/* hero: GSAP owns its intro via inline styles; no CSS prehide —
   visitors without GSAP see everything instantly */
.fade-up { opacity: 1; }

/* Back-to-top: solid gold disc (sibling of .ticket-tri / .ask-fab), ink arrow +
   TOP label, gold scroll-progress ring orbiting OUTSIDE the disc on the dark bg.
   Injected by site.js on every page; print block hides it. */
.to-top {
  position: fixed; right: var(--s-5); bottom: var(--s-5);
  width: 58px; height: 58px; z-index: 110;
  border-radius: var(--r-pill);
  background: var(--gold-fill);
  border: 0;
  color: var(--ink); cursor: pointer;
  display: grid; place-content: center; justify-items: center; row-gap: 2px;
  box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--t-fast), transform var(--t-fast), background-color var(--t-fast);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top .tt-ring {
  position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.to-top .tt-ring circle { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.to-top .tt-track { stroke: var(--rule); }
.to-top .tt-prog { stroke: var(--gold-bright); }
.to-top .tt-arrow {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.to-top .tt-label {
  font: 700 0.5625rem / 1 'Lato', sans-serif;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.to-top:hover, .to-top:focus-visible { background: var(--gold-bright); transform: translateY(-2px); }
@media (max-width: 600px) {
  .to-top { right: var(--s-4); bottom: var(--s-4); width: 52px; height: 52px; }
}
@media (max-width: 720px) {
  /* /order only: lift floating chrome clear of the sticky dispense bar while it
     shows (.ready = total > 0). 4.5rem tracks user font scaling — the bar is em-sized. */
  body:has(.rx-stickybar.ready) .ask-fab,
  body:has(.rx-stickybar.ready) .to-top { bottom: calc(var(--s-4) + 4.5rem); }
}

.ask-fab {
  position: fixed; left: var(--s-5); bottom: var(--s-5); z-index: 110;
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--gold-fill); color: var(--ink);
  border: 0; border-radius: var(--r-pill);
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  padding: 0.9em 1.6em; cursor: pointer;
  transition: background var(--t-fast);
}
.ask-fab:hover { background: var(--gold-bright); }
.ask-fab.hide { display: none; }
@media (max-width: 600px) {
  /* icon-only ℞ disc on phones; keyboard-safe panel */
  .ask-fab { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .ask-fab .ask-label { display: none; }
  .ask-fab .ask-rx { font-size: 1.35rem; }
  .ask-panel { left: var(--s-4); right: var(--s-4); width: auto; max-height: 70dvh; }
}
@media (max-width: 720px) {
  .footer-col a { padding-block: var(--s-2); }
}
.ask-panel {
  position: fixed; left: var(--s-5); bottom: var(--s-5); z-index: 110;
  width: min(360px, calc(100vw - 2rem));
  max-height: 70vh;
  background: var(--black-deep);
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  display: none; flex-direction: column; overflow: hidden;
}
.ask-panel.open { display: flex; }
.ask-head {
  display: flex; justify-content: space-between; align-items: center;
  font: 700 var(--fs-lede) / 1.3 'Playfair Display', serif;
  color: var(--tx);
  padding: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.ask-close { background: none; border: 0; color: var(--tx-muted); font-size: 1.3rem; cursor: pointer; }
.ask-close:hover { color: var(--tx); }
.ask-msgs {
  flex: 1; overflow-y: auto;
  padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.ask-msg {
  font: 400 var(--fs-meta) / 1.6 'Lato', sans-serif;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  max-width: 85%;
}
.ask-msg.bot { background: var(--paper-a07); color: var(--tx); align-self: flex-start; }
.ask-msg.user { background: var(--gold-a16); color: var(--tx); align-self: flex-end; }
.ask-form { display: flex; border-top: 1px solid var(--rule); }
.ask-form input {
  flex: 1; min-width: 0;
  background: none; border: 0;
  padding: var(--s-3) var(--s-4);
  font: 400 var(--fs-body) / 1.5 'Lato', sans-serif;
  color: var(--tx);
}
.ask-form input:focus { outline: none; }
.ask-form button {
  background: var(--gold-fill); color: var(--ink);
  border: 0; padding: 0 var(--s-4);
  font: 700 var(--fs-meta) / 1 'Lato', sans-serif;
  letter-spacing: var(--track-btn); text-transform: uppercase;
  cursor: pointer;
}

/* ─────────────────── 7 · REDUCED MOTION + PRINT ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #preloader { display: none; }
  .marquee-inner { animation: none; }
  .hero-scroll-line { animation: none; }
  .rx-stamp span { animation: none; }
  .hero-ticket::after { animation: none; }
  .ticket-copy strong { animation: none; }
  html.js .products-header, html.js .counter-card, html.js .order-option,
  html.js .find-card, html.js .about-visual, html.js .about-content,
  html.js .cta-banner h2, html.js .cta-banner p {
    opacity: 1; transform: none; transition: none;
  }
  .strip-item img, .table-card img { transition: none; }
}
@media print {
  nav, .ask-fab, .ask-panel, .to-top, .marquee, .featured-band, footer,
  .page-hero, .cta-banner, .brand-band,
  .rx-bundles, .rx-ladder, .rx-printlink, .rx-nudge, .rx-stickybar { display: none !important; }
  .rx-stamp span { animation: none; }   /* fill-mode 'both' would print the opacity-0 frame */
  body { background: #fff; color: #000; }
  /* checked fulfillment survives "no background graphics" printing */
  .rx-fulfill-opts input:checked + span { outline: 3px solid #000; }
}

/* 4.28 LEGAL (privacy) — plain reading column on the dark ground, no panels */
.legal { max-width: var(--w-prose); }
.legal h2 {
  font: 700 1.35rem / 1.25 'Playfair Display', serif;
  color: var(--tx);
  margin: var(--s-6) 0 var(--s-3);
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--tx-muted); font-size: var(--fs-lede); line-height: 1.7; }
.legal p + p { margin-top: var(--s-3); }
.legal ul { margin: 0 0 var(--s-3); padding-left: 1.2em; display: grid; gap: 0.5rem; }
.legal strong { color: var(--tx); font-weight: 700; }
.legal a { color: var(--accent); }
.footer-legal { color: var(--gold-light); text-decoration: none; }
.footer-legal:hover { text-decoration: underline; }

/* short laptop screens: keep the whole home hero (through the video ticket) in view */
@media (min-width: 721px) and (max-height: 860px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s-3)); padding-bottom: var(--s-5); }
}

/* ──────────── 8 · INLINE-LEGACY SHIMS (documented) ──────────── */
/* cinematic.js 3D-tilts these via inline style on every page —
   perspective-shearing ruled text entries looks broken; kill it here. */
.counter-card, .find-card { transform: none !important; }
/* frozen inline hexes in /blends heat labels — retint per theme */
.light [style*="#F08060"] { color: var(--ember-ink) !important; }
.light [style*="#4ABFA0"] { color: var(--gold-ink) !important; }

/* contact addresses — footer, order page, track page (2026-10-10) */
.footer-col .footer-mail { color: var(--gold-light); overflow-wrap: anywhere; }
.footer-col .footer-mail span {
  display: block; color: var(--tx-muted);
  font-size: .72em; letter-spacing: var(--track-label); text-transform: uppercase;
}
.footer-col .footer-mail:hover { color: var(--gold-bright); }
.rx-trust .rx-mail { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.track-help { margin-top: var(--s-4); color: var(--tx-muted); font-size: var(--fs-meta); }
.track-help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-line a { overflow-wrap: anywhere; }

/* social: real brand logos + one-tap share (2026-10-10) */
.footer-social { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.social-follow { display: inline-flex; align-items: center; gap: 10px; color: var(--tx); text-decoration: none; font: 700 var(--fs-meta) / 1.2 'Lato', sans-serif; }
.social-follow img { width: 36px; height: 36px; display: block; }
.social-follow:hover { color: var(--gold-bright); }
.contact-fb { display: inline-flex; align-items: center; gap: 10px; }
.contact-fb img { width: 28px; height: 28px; display: block; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: var(--s-4); }
.share-label { font: 700 var(--fs-meta) / 1 'Lato', sans-serif; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--tx-muted); margin-right: 2px; }
.share-btn { width: 40px; height: 40px; padding: 0; border: 0; background: none; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; transition: transform var(--t-fast); }
.share-btn svg { width: 40px; height: 40px; display: block; }
.share-btn:hover { transform: translateY(-2px); }
.share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.share-status { font: 700 var(--fs-meta) / 1 'Lato', sans-serif; color: var(--accent); }
.footer-share .share-btn, .footer-share .share-btn svg { width: 36px; height: 36px; }
.rx-confirm .share-row { justify-content: center; }
.rx-confirm .share-label { color: inherit; }
@media print { .share-row { display: none !important; } }

/* ── Holiday gift page (2026-10-10) — no boxes: content sits on the page ── */
.gift-grid { max-width: var(--w-content); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
.gift-visual { position: relative; height: 460px; margin-top: var(--s-5); }
.gift-visual .gj { position: absolute; bottom: 0; width: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
.gift-visual .gj-l { left: 4%; height: 82%; }
.gift-visual .gj-c { left: 30%; height: 96%; z-index: 2; }
.gift-visual .gj-r { left: 57%; height: 85%; }
.gift-body .section-title { margin-bottom: var(--s-4); }
.gift-price { font: 400 var(--fs-lede) / 1.4 'Lato', sans-serif; color: var(--tx-muted); margin-bottom: var(--s-4); }
.gift-price strong { font: 900 clamp(2.4rem, 5vw, 3.2rem) / 1 'Playfair Display', serif; color: var(--tx); margin-right: var(--s-2); }
.gift-price span { display: block; color: var(--accent); font-weight: 700; margin-top: var(--s-2); }
.gift-points { list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.gift-points li { padding: var(--s-3) 0; border-top: 1px solid var(--rule); color: var(--tx-muted); line-height: 1.55; }
.gift-points li:last-child { border-bottom: 1px solid var(--rule); }
.gift-points strong { color: var(--tx); }
.gift-cta { font-size: 1.05rem; padding-inline: var(--s-5); }
.gift-note { margin-top: var(--s-3); font-size: var(--fs-meta); color: var(--tx-muted); }
.gift-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-6); }
.gift-who-item { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--tx); }
.gift-who-item img { height: 260px; width: auto; margin-bottom: var(--s-4); transition: transform var(--t-fast); filter: drop-shadow(0 16px 22px rgba(0,0,0,.25)); }
.gift-who-item:hover img { transform: translateY(-4px); }
.gift-who-for { font: 700 var(--fs-meta) / 1 'Lato', sans-serif; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-2); }
.gift-who-item strong { font: 900 var(--fs-sub) / 1.2 'Playfair Display', serif; margin-bottom: var(--s-1); }
.gift-who-why { color: var(--tx-muted); font-size: var(--fs-body); }
@media (max-width: 880px) {
  .gift-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .gift-visual { height: 320px; max-width: 420px; width: 100%; margin: 0 auto; }
  .gift-who { grid-template-columns: 1fr; gap: var(--s-6); }
  .gift-who-item img { height: 220px; }
}

/* ── Market-table scan page (2026-10-10): big, obvious tap rows, no boxes ── */
.scan-actions { max-width: var(--w-narrow); margin-inline: auto; }
.scan-act { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-2); border-bottom: 1px solid var(--rule); color: var(--tx); text-decoration: none; transition: background var(--t-fast); }
.scan-act:first-child { border-top: 1px solid var(--rule); }
.scan-act:hover, .scan-act:focus-visible { background: var(--paper-a07); }
.scan-ico { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 900 1.6rem/1 'Playfair Display', serif; }
.scan-ico-star { background: var(--accent); color: var(--ink); }
.scan-ico-rx { background: var(--paper); color: var(--ink); }
.scan-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.scan-txt strong { font: 900 clamp(1.35rem, 4.5vw, 1.9rem) / 1.15 'Playfair Display', serif; }
.scan-txt small { color: var(--tx-muted); font-size: var(--fs-body); line-height: 1.4; }
.scan-go { margin-left: auto; font-size: 1.8rem; color: var(--accent); padding-left: var(--s-2); }
.scan-act:hover .scan-txt strong { color: var(--accent); }

/* gift page: holiday pictures, no boxes, caption under each picture (2026-10-10) */
.gift-hol { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-6); }
.gift-hol-item { display: block; text-decoration: none; color: var(--tx); }
.gift-hol-wide { grid-column: auto; }
.gift-hol-item img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform var(--t-fast); }
.gift-hol-item:hover img { transform: translateY(-3px); }
.gift-hol-cap { display: block; margin-top: var(--s-3); color: var(--tx-muted); font-size: var(--fs-body); }
.gift-hol-cap strong { color: var(--accent); font: 700 var(--fs-meta) / 1 'Lato', sans-serif; letter-spacing: var(--track-label); text-transform: uppercase; margin-right: var(--s-2); }
.gift-hol-item:hover .gift-hol-cap { color: var(--tx); }
@media (max-width: 980px) { .gift-hol { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
