/* ═══════════════════════════════════════════════════════
   Cowboy Tony's Doughnuts — SPA Stylesheet
   Palette + typography aligned with bigdirty.agency
   ═══════════════════════════════════════════════════════ */

/* ── bigdirty.agency brand fonts ──────────────────────── */
@font-face {
  font-family: Tayroadrunner;
  src: url("https://cdn.prod.website-files.com/66ea043823ed617ec77550a4/670f2ffffad2b4c4138b038c_TAYRoadRunner.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Daily Spark Script";
  src: url("https://cdn.prod.website-files.com/66ea043823ed617ec77550a4/670f33c04e9bfff84add9ee3_Daily%20Spark%20Script.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Reset + shared tokens ────────────────────────────── */
:root {
  --bd-orange: #ef642d;
  --bd-tan: #faf3e7;
  --bd-black: #1c1c1c;
  --bd-yellow: #ebbf58;
  --bd-border: #d9d9d9;
  --font-body: Montserrat, sans-serif;
  --font-display: Tayroadrunner, sans-serif;
  --font-script: "Daily Spark Script", cursive;
  --font-ui: Roboto, sans-serif;
  /* vanilla defaults — overridden per html[data-theme] */
  --bg: #faf7f2;
  --fg: #422006;
  --gold: #d97706;
  --gold-light: #b45309;
  --gold-dark: #92400e;
  --pink: #d4577a;
  --pink-glow: rgba(212,87,122,0.45);
  --card-bg: rgba(255,255,255,0.92);
  --card-border: rgba(217,119,6,0.35);
  --flavor-glow: none;
  --section-tint: transparent;
  --section-copy: rgba(66,32,6,0.78);
  --hero-tagline: rgba(66,32,6,0.62);
  --feature-label: #92400e;
  --feature-icon: #d97706;
  --nav-bg: rgba(250,247,242,0.95);
  --nav-link: #92400e;
  --tone-warm-bg: #ef642d;
  --tone-warm-fg: #1c1c1c;
  --tone-dark-bg: #422006;
  --tone-dark-fg: #faf3e7;
  --btn-solid-bg: #ef642d;
  --btn-solid-fg: #faf3e7;
  --btn-solid-border: #1c1c1c;
  --progress-fill: #ef642d;
  --hat-hover-bg: #fff;
  --title-shadow: none;
  --neon-shadow: none;
  --parallax-start: 42px;
  --parallax-end: -24px;
  --reveal-y: 34px;
  --reveal-duration: 0.75s;
}
html[data-theme="vanilla"] {
  --bg: #faf7f2;
  --fg: #422006;
  --gold: #d97706;
  --gold-light: #b45309;
  --gold-dark: #92400e;
  --pink: #d4577a;
  --pink-glow: rgba(212,87,122,0.45);
  --card-bg: rgba(255,255,255,0.92);
  --card-border: rgba(217,119,6,0.35);
  --flavor-glow: none;
  --section-tint: transparent;
  --section-copy: rgba(66,32,6,0.78);
  --hero-tagline: rgba(66,32,6,0.62);
  --feature-label: #92400e;
  --feature-icon: #d97706;
  --confetti-speed: 8s;
  --bean-speed: 7s;
  --title-shadow: none;
  --neon-shadow: none;
  --nav-bg: rgba(250,247,242,0.95);
  --nav-link: #92400e;
  --tone-warm-bg: #ef642d;
  --tone-warm-fg: #1c1c1c;
  --tone-dark-bg: #422006;
  --tone-dark-fg: #faf3e7;
  --btn-solid-bg: #ef642d;
  --btn-solid-fg: #faf3e7;
  --btn-solid-border: #1c1c1c;
  --progress-fill: #ef642d;
  --hat-hover-bg: #fff;
  --parallax-start: 42px;
  --parallax-end: -24px;
  --reveal-y: 34px;
  --reveal-duration: 0.75s;
}
html[data-theme="chocolate"] {
  --bg: #000;
  --fg: #f8d994;
  --gold: #d6a13a;
  --gold-light: #ffd88a;
  --gold-dark: #b97820;
  --pink: #c45a78;
  --pink-glow: rgba(196,90,120,0.55);
  --card-bg: rgba(0,0,0,0.76);
  --card-border: rgba(214,161,58,0.55);
  --flavor-glow: radial-gradient(ellipse at 70% 30%, rgba(62,31,10,0.32) 0%, transparent 60%),
                 radial-gradient(ellipse at 20% 80%, rgba(92,51,23,0.22) 0%, transparent 50%);
  --section-tint: radial-gradient(ellipse at 50% 0%, rgba(92,51,23,0.1), transparent 70%);
  --section-copy: rgba(232,201,130,0.82);
  --hero-tagline: #e8ae45;
  --feature-label: #eab64c;
  --feature-icon: #e5a93b;
  --confetti-speed: 11s;
  --bean-speed: 9s;
  --title-shadow: 0 2px 0 #2a1408, 0 0 20px rgba(139,80,16,0.45), 0 0 48px rgba(0,0,0,0.95);
  --neon-shadow: 0 0 10px rgba(196,90,120,0.7), 0 0 24px rgba(139,80,16,0.4);
  --nav-bg: rgba(0,0,0,0.82);
  --nav-link: var(--gold);
  --tone-warm-bg: #5c3317;
  --tone-warm-fg: #ffd88a;
  --tone-dark-bg: #000;
  --tone-dark-fg: #ffd88a;
  --btn-solid-bg: #d6a13a;
  --btn-solid-fg: #0a0500;
  --btn-solid-border: #d6a13a;
  --progress-fill: #d6a13a;
  --hat-hover-bg: rgba(0,0,0,0.55);
  --parallax-start: 56px;
  --parallax-end: -32px;
  --reveal-y: 42px;
  --reveal-duration: 0.95s;
}
html[data-theme="cotton-candy"] {
  --bg: #2b104a;
  --fg: #ffd88a;
  --gold: #f7cf73;
  --gold-light: #ffe9a8;
  --gold-dark: #d4a020;
  --pink: #ff5eb8;
  --pink-glow: rgba(255,58,166,0.85);
  --card-bg: rgba(30, 10, 55, 0.62);
  --card-border: rgba(247, 207, 115, 0.48);
  --flavor-glow: radial-gradient(ellipse at 50% 38%, rgba(255,58,166,0.14) 0%, transparent 58%);
  --section-tint: radial-gradient(ellipse at 50% 0%, rgba(255,58,166,0.1), transparent 70%);
  --section-copy: rgba(255,255,255,0.88);
  --hero-tagline: #ffe9a8;
  --feature-label: #f7cf73;
  --feature-icon: #ff3aa6;
  --confetti-speed: 5.5s;
  --bean-speed: 5.5s;
  --title-shadow: 0 3px 0 #3e1a08, 0 6px 14px rgba(0,0,0,0.65);
  --neon-shadow: 0 0 12px rgba(255,94,184,0.95), 0 0 32px rgba(255,58,166,0.85), 0 0 64px rgba(255,58,166,0.45);
  --nav-bg: rgba(20, 6, 36, 0.88);
  --nav-link: var(--gold-light);
  --tone-warm-bg: #4a1f6e;
  --tone-warm-fg: #ffe9a8;
  --tone-dark-bg: #1a0828;
  --tone-dark-fg: #ffe9a8;
  --btn-solid-bg: linear-gradient(90deg, #ff3aa6 0%, #c44dff 52%, #8b5cf6 100%);
  --btn-solid-fg: #fff;
  --btn-solid-border: transparent;
  --progress-fill: #ff3aa6;
  --hat-hover-bg: rgba(43, 16, 74, 0.92);
  --parallax-start: 36px;
  --parallax-end: -30px;
  --reveal-y: 28px;
  --reveal-duration: 0.85s;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; }
html { background: var(--bg); transition: background-color 280ms ease; }
html:not(.lenis-active) { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 400ms ease, color 400ms ease, font-family 400ms ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--flavor-glow);
  transition: background 400ms ease;
}
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(239,100,45,0.35); color: var(--bd-black); }

/* ── Typography (bigdirty.agency) ─────────────────────── */
.western-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  text-shadow: none;
  color: var(--fg);
}
.neon-script,.hero-script {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  text-shadow: var(--neon-shadow);
  color: var(--pink);
}
.neon-truck-heading {
  font-family: var(--font-display);
  text-shadow: none;
  color: var(--bd-tan);
}
.eyebrow {
  color: var(--pink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-script);
  line-height: 1.1;
}
.section-title {
  margin-top: .65rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  text-transform: none;
  text-shadow: none;
}
.section-copy {
  color: var(--section-copy);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 400;
  line-height: 1.75;
}
.text-flavor-gold { color: var(--gold-light); }
.text-gold-light { color: var(--gold-light); }

/* ── Buttons ──────────────────────────────────────────── */
.gold-button,.outline-button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.gold-button {
  border: 1px solid var(--btn-solid-border);
  background: var(--btn-solid-bg);
  background-size: 100% 100%;
  color: var(--btn-solid-fg);
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}
.outline-button {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--fg);
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}
.gold-button:hover,.outline-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(28,28,28,0.12);
}

/* ── Cards & Shells ───────────────────────────────────── */
.border-card {
  border: 1px solid var(--card-border); border-radius: 8px;
  background: var(--card-bg);
  box-shadow: inset 0 1px 0 rgba(255,216,138,0.1), 0 22px 60px rgba(0,0,0,0.36);
  transition: background 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
}
.section-shell {
  position: relative;
  margin-inline: auto;
  width: min(100%,1280px);
  padding: 6rem 1.25rem;
  background: transparent;
}
@media(min-width:768px) { .section-shell { padding: 7.5rem 2rem; } }

/* ── Section tones (theme-aware slide colors) ─────────── */
.section-tone-tan {
  background-color: var(--bg);
  color: var(--fg);
  transition: background-color 420ms ease, color 420ms ease;
}
.section-tone-orange {
  background-color: var(--tone-warm-bg);
  color: var(--tone-warm-fg);
  transition: background-color 420ms ease, color 420ms ease;
}
.section-tone-black {
  background-color: var(--tone-dark-bg);
  color: var(--tone-dark-fg);
  transition: background-color 420ms ease, color 420ms ease;
}
.journey-panel[class*="section-tone-"] .section-shell { background: transparent; }
.section-tone-tan .section-title { color: var(--gold-light); }
.section-tone-orange .section-title { color: var(--tone-warm-fg); }
.section-tone-black .section-title { color: var(--tone-dark-fg); }
.section-tone-tan .eyebrow { color: var(--pink); }
.section-tone-orange .eyebrow { color: var(--tone-warm-fg); opacity: .9; }
.section-tone-black .eyebrow { color: var(--pink); }
.section-tone-tan .section-copy { color: var(--section-copy); }
.section-tone-orange .section-copy { color: var(--tone-warm-fg); opacity: .88; }
.section-tone-black .section-copy { color: var(--tone-dark-fg); opacity: .85; }
.section-tone-tan .text-flavor-gold { color: var(--gold-light); }
.section-tone-orange .text-flavor-gold { color: var(--tone-warm-fg); }
.section-tone-black .text-flavor-gold { color: var(--gold-light); }
.section-tone-black .field {
  background: rgba(255,255,255,0.06);
  border-color: var(--gold);
  color: var(--tone-dark-fg);
}
.section-tone-black .field::placeholder { color: rgba(255,216,138,0.5); }
.journey-panel h3,
.journey-panel .text-2xl,
.journey-panel .text-3xl,
.journey-panel .text-4xl,
.journey-panel .text-5xl {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Forms ────────────────────────────────────────────── */
.field {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--bd-black);
  background: #fff;
  color: var(--bd-black);
  padding: .95rem 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  outline: none;
}
.field::placeholder { color: rgba(28,28,28,0.45); }
.field:focus { border-color: var(--bd-orange); box-shadow: 0 0 0 3px rgba(239,100,45,0.16); }

/* ── Doughnut nav trigger (all viewports) ───────────── */
.nav-donut-toggle {
  position: fixed;
  left: .75rem;
  top: 50%;
  z-index: 58;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(-50%);
  cursor: pointer;
  line-height: 0;
  transition: transform 320ms cubic-bezier(0.34,1.56,0.64,1), filter 220ms ease;
}
@media (min-width: 768px) {
  .nav-donut-toggle { left: 1.15rem; }
}
.nav-donut-toggle:hover,
.nav-donut-toggle[aria-expanded="true"] {
  transform: translateY(-50%) scale(1.12) rotate(-8deg);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.18));
}
.nav-donut-icon {
  display: grid;
  place-items: center;
  width: clamp(2.85rem, 6.5vw, 3.65rem);
  height: clamp(2.85rem, 6.5vw, 3.65rem);
}
.nav-donut-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
html[data-theme="cotton-candy"] .nav-donut-toggle:hover,
html[data-theme="cotton-candy"] .nav-donut-toggle[aria-expanded="true"] {
  filter: drop-shadow(0 4px 22px rgba(255,58,166,0.45));
}
.journey-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 56;
  height: 3px;
  background: rgba(28,28,28,0.08);
  pointer-events: none;
}
.journey-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--progress-fill);
  transform-origin: left;
  box-shadow: none;
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 68;
  background: rgba(28,28,28,0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}
.mobile-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: min(92vw, 24rem);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.35rem 1.75rem;
  border-right: 1px solid var(--card-border);
  background: var(--nav-bg);
  color: var(--fg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 16px 0 48px rgba(0,0,0,0.18);
  transition: background-color 400ms ease, color 400ms ease;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-105%, 0, 0);
  transition: transform 480ms cubic-bezier(0.22,1,0.36,1), visibility 0s linear 480ms;
}
@media (min-width: 768px) {
  .mobile-nav {
    width: min(58vw, 30rem);
    padding: 2.5rem 2rem 2rem;
  }
}
@media (min-width: 1024px) {
  .mobile-nav {
    width: min(42vw, 34rem);
    padding: 3rem 2.5rem 2.5rem;
  }
}
.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.22,1,0.36,1), visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav { transition: transform 200ms ease, visibility 200ms; }
}
body.nav-open { overflow: hidden; }
.mobile-nav-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
}
.mobile-nav-eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pink);
  line-height: 1.1;
}
.mobile-nav-title {
  margin-top: .35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  line-height: .95;
}
.mobile-nav-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--fg);
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 180ms, background 180ms;
}
.mobile-nav-close:hover {
  border-color: var(--gold);
  background: var(--hat-hover-bg);
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.mobile-nav-list::-webkit-scrollbar { display: none; }
.mobile-nav-link {
  display: grid;
  grid-template-columns: 2rem 2.75rem 1fr;
  align-items: center;
  gap: .85rem;
  padding: .85rem .65rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  color: var(--nav-link);
  transition: transform 280ms cubic-bezier(0.34,1.56,0.64,1), border-color 220ms, background 220ms, box-shadow 220ms;
}
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  border-color: var(--gold);
  background: var(--card-bg);
  box-shadow: none;
}
.mobile-nav-link.is-active {
  transform: translateX(4px);
  color: var(--gold);
}
.mobile-nav-link.is-active .donut-icon { transform: scale(1.08) rotate(-8deg); }
.mobile-nav-num {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold);
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.mobile-nav-copy { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.mobile-nav-label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  line-height: 1.05;
}
.mobile-nav-flavor {
  font-family: var(--font-body);
  font-size: clamp(.65rem, 1.4vw, .82rem);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--section-copy);
  opacity: .72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-nav-foot {
  display: grid;
  gap: .55rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(214,161,58,0.14);
}
.mobile-nav-cta,
.mobile-nav-home { width: 100%; height: 2.65rem; font-size: .62rem; letter-spacing: .12em; }

/* ── Outlined donut SVG icons ─────────────────────────── */
.donut-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.34,1.56,0.64,1);
}
.donut-icon svg { width: 100%; height: 100%; display: block; }
.mobile-nav-link .donut-icon { width: 2.5rem; height: 2.5rem; }
@media (min-width: 768px) {
  .mobile-nav-link .donut-icon { width: 2.85rem; height: 2.85rem; }
}
.site-rail-link .donut-icon { width: 1.5rem; height: 1.5rem; }
.site-rail-link:hover .donut-icon,
.mobile-nav-link:hover .donut-icon { transform: scale(1.12) rotate(-6deg); }

/* ── Framer-style left rail (desktop) ─────────────────── */
.site-rail {
  display: none !important;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 55;
  width: 11.75rem;
  flex-direction: column;
  padding: 1.75rem 1rem 1.5rem 1.35rem;
  border-right: 1px solid var(--bd-border);
  background: var(--bd-tan);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (min-width: 1024px) {
  #home, .hero-section { padding-top: 2.5rem; }
}

/* ── Horizontal journey (left → right on scroll) ──────── */
.journey-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
}
.journey-track {
  display: flex;
  flex-wrap: nowrap;
}
html.is-journey-horizontal .journey-track {
  position: sticky;
  top: 0;
  height: 100svh;
  will-change: transform;
}
html.is-journey-horizontal .journey-wrap { position: relative; }
html.low-power .bg-motion { display: none; }
html.low-power .site-rail,
html.low-power .top-nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
.journey-panel {
  flex: 0 0 100vw;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  scroll-snap-align: start;
  content-visibility: auto;
  contain-intrinsic-size: auto 100svh;
}
#home.journey-panel,
#food-truck-stage.journey-panel,
#site-footer.journey-panel { content-visibility: visible; }
html.journey-vertical .journey-track {
  flex-direction: column;
}
html.journey-vertical .journey-panel {
  flex: none;
  width: 100%;
  min-height: auto;
}
.journey-panel .section-shell {
  min-height: calc(100svh - 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#food-truck-stage.journey-panel,
#site-footer.journey-panel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel-transition .panel-content,
.panel-transition > .mx-auto,
.panel-transition > .grid,
.panel-transition > .border-card {
  opacity: 0;
  transform: translateX(48px);
}
.panel-transition.is-entered .panel-content,
.panel-transition.is-entered > .mx-auto,
.panel-transition.is-entered > .grid,
.panel-transition.is-entered > .border-card,
.panel-transition.is-entered .hero-center,
.panel-transition.is-entered .site-footer-inner {
  opacity: 1;
  transform: translateX(0);
}
.panel-transition .panel-content,
.panel-transition > .mx-auto,
.panel-transition > .grid,
.panel-transition .hero-center,
.panel-transition .site-footer-inner {
  transition: opacity 680ms cubic-bezier(0.22,1,0.36,1), transform 680ms cubic-bezier(0.22,1,0.36,1);
}
#home.panel-transition.is-entered .hero-center {
  opacity: 1;
  transform: none;
}

/* ── Scroll reveals + parallax (CSS, no GSAP) ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 34px));
  transition: opacity var(--reveal-duration, 0.75s) ease, transform var(--reveal-duration, 0.75s) cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@supports (animation-timeline: view()) {
  html:not(.low-power) .parallax-section:not(.reveal) {
    animation: section-parallax linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  html.is-journey-horizontal:not(.low-power) .parallax-section:not(.reveal) {
    animation-timeline: view(inline);
  }
}
@keyframes section-parallax {
  from { transform: translateY(var(--parallax-start, 42px)); }
  to { transform: translateY(var(--parallax-end, -24px)); }
}
.mouse-drift {
  transition: transform 0.18s ease-out;
  will-change: transform;
}

/* ── Order Now FAB (always visible, bottom-left) ──────── */
.order-now-fab {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 3rem;
  padding: 0 1.15rem 0 .85rem;
  font-size: .68rem;
  letter-spacing: .14em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 24px rgba(214,161,58,0.35);
  animation: order-fab-pulse 3s ease-in-out infinite;
}
@media (min-width: 1024px) {
  .order-now-fab { left: 1.5rem; bottom: 2rem; }
}
@media (min-width: 1024px) {
}
.order-now-fab:hover { animation: none; transform: translateY(-3px) scale(1.04); }
.order-now-fab-dot {
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #ff3aa6;
  box-shadow: 0 0 10px var(--pink-glow);
  animation: order-dot-blink 1.8s ease-in-out infinite;
}
@keyframes order-fab-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 20px rgba(214,161,58,0.28); }
  50% { box-shadow: 0 10px 36px rgba(0,0,0,0.5), 0 0 32px var(--pink-glow); }
}
@keyframes order-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .65; transform: scale(.85); }
}

/* ── Top social bar ───────────────────────────────────── */
.social-top-bar {
  position: fixed;
  top: .65rem;
  right: .85rem;
  z-index: 57;
  display: flex;
  gap: .45rem;
  align-items: center;
}
.social-top-link {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(8px);
  color: var(--fg);
  transition: transform 280ms cubic-bezier(.34,1.56,.64,1), background 220ms ease, box-shadow 220ms ease, color 220ms ease, border-color 220ms ease;
}
.social-top-link svg {
  width: 1.05rem;
  height: 1.05rem;
}
.social-top-link:hover,
.social-top-link:focus-visible {
  transform: translateY(-3px) scale(1.12);
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
  border-color: transparent;
  box-shadow: 0 6px 22px var(--pink-glow);
}
.social-top-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
html[data-theme="chocolate"] .social-top-link:hover {
  box-shadow: 0 6px 22px rgba(214,161,58,0.45);
}
html[data-theme="cotton-candy"] .social-top-link:hover {
  box-shadow: 0 6px 24px rgba(255,58,166,0.55);
}

/* ── Site footer panel ────────────────────────────────── */
.site-footer {
  background: transparent;
  border-top: 1px solid var(--bd-border);
  padding: 3rem 1.25rem 2.5rem;
}
.site-footer-inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  text-align: left;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 2.5rem;
  }
}
.footer-col-title {
  margin: 0 0 .85rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--section-copy);
}
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.site-footer-brand img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}
.site-footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bd-black);
}
.site-footer-tag {
  margin-top: .25rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--section-copy);
}
.footer-address {
  font-style: normal;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--section-copy);
  margin-bottom: 1rem;
}
.footer-address a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-address a:hover { color: var(--gold); }
.footer-hours {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--section-copy);
  margin-bottom: 1.25rem;
}
.footer-social-row {
  display: flex;
  gap: .5rem;
}
.footer-social-link {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--fg);
  transition: transform 260ms cubic-bezier(.34,1.56,.64,1), background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}
.footer-social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px) scale(1.1);
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
  box-shadow: 0 4px 16px var(--pink-glow);
}
.footer-map-wrap {
  overflow: hidden;
  border-radius: var(--card-radius, .65rem);
  aspect-ratio: 4 / 3;
}
.footer-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-map-link {
  display: inline-block;
  margin-top: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--section-copy);
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-map-link:hover { color: var(--gold); }
.social-feed {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: .25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.social-feed-card {
  padding: .85rem 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.social-feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.social-feed-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .55rem;
}
.social-feed-head img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  object-fit: contain;
}
.social-feed-user {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--bd-black);
}
.social-feed-time {
  margin: 0;
  font-size: .65rem;
  color: var(--section-copy);
  opacity: .75;
}
.social-feed-text {
  margin: 0 0 .45rem;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--section-copy);
}
.social-feed-meta {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  color: var(--section-copy);
  opacity: .7;
}
.site-footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--section-copy);
  opacity: .65;
}
@media (max-width: 480px) {
  .social-top-bar {
    gap: .35rem;
    right: .55rem;
  }
  .social-top-link {
    width: 2rem;
    height: 2rem;
  }
  .social-top-link svg {
    width: .95rem;
    height: .95rem;
  }
}
.site-rail-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bd-border);
}
.site-rail-logo {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--bd-black);
  border-radius: 50%;
  background: #fff;
  padding: 0;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.site-rail-logo:hover {
  transform: scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--pink-glow);
}
.site-rail-logo img { width: 1.65rem; height: 1.65rem; object-fit: contain; }
.site-rail-meta { display: flex; flex-direction: column; gap: .1rem; }
.site-rail-est {
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--section-copy);
  opacity: .7;
}
.site-rail-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--bd-black);
}
.site-rail-nav {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.site-rail-nav::-webkit-scrollbar { display: none; }
.site-rail-link {
  position: relative;
  display: grid;
  grid-template-columns: 1.35rem 1.65rem 1fr;
  align-items: center;
  gap: .3rem;
  padding: .38rem .3rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  color: var(--nav-link);
  opacity: .55;
  transition: opacity 220ms ease, color 220ms ease, transform 220ms cubic-bezier(0.22,1,0.36,1), border-color 220ms, background 220ms;
}
.site-rail-link:hover {
  opacity: 1;
  color: var(--bd-black);
  transform: translateX(3px);
  border-color: var(--bd-border);
  background: rgba(255,255,255,0.45);
}
.site-rail-link.is-active {
  opacity: 1;
  color: var(--bd-orange);
  border-color: var(--bd-orange);
  background: rgba(255,255,255,0.55);
}
.site-rail-link--home { margin-bottom: .35rem; padding-bottom: .5rem; border-bottom: 1px solid var(--bd-border); border-radius: 0; }
.site-rail-link--home:hover,
.site-rail-link--home.is-active { border-bottom-color: var(--bd-border); }
.site-rail-num {
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--bd-orange);
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.site-rail-copy { min-width: 0; }
.site-rail-label {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-rail-track {
  position: relative;
  width: 2px;
  height: 5.5rem;
  margin: 1rem 0 1.25rem .55rem;
  border-radius: 999px;
  background: rgba(214,161,58,0.12);
  overflow: hidden;
}
.site-rail-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--pink), var(--gold));
  border-radius: inherit;
  transform-origin: top;
}
.site-rail-active {
  position: absolute;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--pink-glow);
  pointer-events: none;
}
.site-rail-cta {
  width: 100%;
  height: 2.35rem;
  font-size: .58rem;
  letter-spacing: .12em;
  padding: 0 .5rem;
}

/* ── Image Masks ──────────────────────────────────────── */
.feathered-image { mask-image: radial-gradient(circle,#000 52%,rgba(0,0,0,0.84) 68%,transparent 83%); -webkit-mask-image: radial-gradient(circle,#000 52%,rgba(0,0,0,0.84) 68%,transparent 83%); }

/* ── Hero — flavor-specific title & banner ────────────── */
.hero-section { position: relative; min-height: 100svh; overflow: visible; background: var(--bg); padding-top: 2rem; transition: background 500ms ease; }
#home { position: relative; min-height: 100svh; overflow: visible; background: transparent; padding-top: 2rem; }
.hero-banner { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity 500ms ease; }
html[data-theme="vanilla"] .hero-banner--vanilla,
html[data-theme="chocolate"] .hero-banner--chocolate,
html[data-theme="cotton-candy"] .hero-banner--cotton-candy { display: block; }
.hero-banner--vanilla { background: var(--bg); }
.hero-banner--vanilla::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 18%;
  width: min(42vw, 440px);
  height: min(42vw, 440px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,193,0.22) 0%, rgba(255,182,193,0.08) 42%, transparent 68%);
  box-shadow: 0 0 0 36px rgba(255,182,193,0.1), 0 0 0 72px rgba(255,182,193,0.05);
}
.hero-banner--chocolate {
  background: radial-gradient(ellipse at 50% 28%, rgba(62,31,10,0.45) 0%, #000 72%);
}
.hero-banner--cotton-candy {
  background:
    repeating-conic-gradient(
      from 0deg at 50% 42%,
      rgba(61, 27, 99, 0.55) 0deg 7deg,
      rgba(43, 16, 74, 0.15) 7deg 14deg
    ),
    radial-gradient(ellipse at 50% 42%, rgba(140, 60, 180, 0.42) 0%, transparent 54%),
    linear-gradient(180deg, #3d1b63 0%, #2b104a 42%, #1a0828 100%);
}
.hero-orbs { position: absolute; inset: 0; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.78;
  animation: hero-orb-float 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes hero-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
}
.hero-doughnuts {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.hero-overlay { display: none; position: absolute; inset: 0; z-index: 3; background: rgba(0,0,0,0.2); pointer-events: none; }
.hero-dust { display: none; position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
html[data-theme="cotton-candy"] .hero-dust,
html[data-theme="chocolate"] .hero-dust { display: block; }
.hero-copy { display: none; width: 100%; }
html[data-theme="vanilla"] .hero-copy--vanilla,
html[data-theme="chocolate"] .hero-copy--chocolate,
html[data-theme="cotton-candy"] .hero-copy--cotton-candy { display: block; }
.hero-title-plain {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.02;
  color: var(--bd-black);
  text-align: center;
}
html[data-theme="vanilla"] .hero-title-plain {
  color: #92400e;
  max-width: 14ch;
  margin: 0 auto;
}
html[data-theme="chocolate"] .hero-title-plain--lg {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--gold-light);
  text-shadow: var(--title-shadow);
}
html[data-theme="cotton-candy"] .hero-title-plain {
  color: var(--gold);
  text-shadow: var(--title-shadow);
}
.hero-subtitle {
  margin-top: 1.25rem;
  max-width: 42rem;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: var(--section-copy);
  text-align: center;
}
html[data-theme="vanilla"] .hero-tagline,
html[data-theme="chocolate"] .hero-tagline,
html[data-theme="cotton-candy"] .hero-tagline {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hero-tagline);
}
.hero-ticker {
  display: none;
  position: relative;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 75rem;
  overflow: hidden;
  background: linear-gradient(135deg, #b8962e 0%, var(--gold) 40%, #e2c87d 60%, var(--gold) 100%);
  padding: .65rem 0;
  border-radius: 4px;
}
html[data-theme="chocolate"] .hero-ticker { display: block; }
.hero-ticker-track { display: inline-flex; white-space: nowrap; animation: tickerScroll 30s linear infinite; }
.hero-ticker-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #050301;
  padding: 0 .5rem;
}
.hero-ticker-dot { color: #050301; opacity: .5; padding: 0 .4rem; font-size: .7em; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hero-strip { display: none; }
html[data-theme="vanilla"] .bg-motion { opacity: 0; }
html[data-theme="cotton-candy"] .bg-motion { opacity: 1; }
html[data-theme="vanilla"] .hero-dust { display: none; }
html[data-theme="vanilla"] .feature-card { background: var(--card-bg); }
html[data-theme="vanilla"] .feature-sub { color: rgba(66,32,6,0.62); }
html[data-theme="chocolate"] .hero-cta-secondary,
html[data-theme="cotton-candy"] .hero-cta-secondary,
html[data-theme="cotton-candy"] .hero-hat,
html[data-theme="cotton-candy"] .hero-strip,
html[data-theme="cotton-candy"] .hero-doughnut,
html[data-theme="vanilla"] .hero-hat,
html[data-theme="vanilla"] .hero-copy--cotton-candy .brand-medallion { display: none; }
.hero-doughnut {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8%;
  will-change: transform;
}
.hero-doughnut .donut-icon {
  width: 100%;
  height: 100%;
}
.hero-doughnut .donut-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.15));
}
.hero-center { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: calc(100svh - 5rem); width: 100%; max-width: 80rem; margin: 0 auto; padding: 1.25rem; }
.brand-medallion { position: relative; margin-bottom: 1rem; width: 7rem; height: 7rem; border-radius: 50%; border: 1px solid var(--gold); background: rgba(0,0,0,0.7); overflow: hidden; box-shadow: 0 0 45px rgba(214,161,58,0.25); }
.brand-medallion img { width: 100%; height: 100%; object-fit: cover; }
.hero-hat { position: relative; margin-bottom: .25rem; width: min(68vw,430px); height: 3.5rem; }
.hero-hat img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 0 28px rgba(214,161,58,0.45)); }
@media(min-width:768px) { .brand-medallion { width: 10rem; height: 10rem; } .hero-hat { height: 7rem; width: min(78vw,430px); } }
.hero-title { font-family: var(--font-display); font-size: clamp(3.15rem,10vw,8.3rem); line-height: .9; color: var(--bd-black); text-shadow: none; font-weight: 400; }
.hero-script { font-size: clamp(2.6rem,7vw,5.8rem); line-height: 1; color: var(--pink); margin-top: .25rem; }
.hero-tagline {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: clamp(1rem,2vw,1.25rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hero-tagline);
}
.hero-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.journey-hint {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  text-align: center;
  transition: opacity 400ms ease, transform 400ms ease;
}
.journey-hint.is-dismissed {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
html.journey-vertical .journey-hint { display: none; }
.journey-hint-line {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(.72rem, 1.6vw, .88rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bd-black);
  opacity: .72;
  animation: journey-hint-nudge 2.4s ease-in-out infinite;
}
.journey-hint-line--accent {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bd-orange);
  opacity: 1;
  animation: journey-hint-pulse 2.4s ease-in-out infinite;
}
@keyframes journey-hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
@keyframes journey-hint-pulse {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}
.feature-row { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: .75rem; width: 100%; max-width: 72rem; }
@media(min-width:768px) { .feature-row { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1280px) { .feature-row { grid-template-columns: repeat(4,1fr); } }
.feature-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; min-height: 7rem; text-align: left; }
.feature-icon { flex-shrink: 0; width: 3rem; text-align: center; font-size: 2rem; color: var(--feature-icon); }
.feature-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: none;
  color: var(--feature-label);
}
.feature-sub {
  margin-top: .25rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 400;
  text-transform: none;
  line-height: 1.4;
  color: var(--feature-label);
  opacity: .72;
}
.footer-strip { position: relative; margin-top: 1rem; width: 100%; max-width: 75rem; height: 50px; overflow: hidden; }
.footer-strip img { width: 100%; height: 100%; object-fit: fill; }
@media(min-width:768px) { .footer-strip { height: 62px; } }

/* ── Menu Cards ───────────────────────────────────────── */
.menu-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media(min-width:768px) { .menu-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1280px) { .menu-grid { grid-template-columns: repeat(3,1fr); } }
.menu-card { overflow: hidden; background: var(--card-bg); }
.menu-card-img {
  position: relative;
  height: 12rem;
  display: grid;
  place-items: center;
  background: var(--bg);
  padding: 1.5rem;
}
.menu-donut-icon {
  display: grid;
  place-items: center;
  width: min(9rem, 72%);
  height: min(9rem, 72%);
  transition: transform 420ms cubic-bezier(0.34,1.56,0.64,1);
}
.menu-donut-icon svg { width: 100%; height: 100%; display: block; }
.menu-card:hover .menu-donut-icon { transform: scale(1.08) rotate(-6deg); }
.menu-card-body { padding: 1.25rem; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ── Truck Stage ──────────────────────────────────────── */
#food-truck-stage {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  min-height: 100svh;
  --truck-p: 0;
  --truck-text-p: 0;
  --truck-glow-p: 0;
  --truck-content-p: 0;
}
@media(min-width:768px) { #food-truck-stage { padding: 8rem 0; } }
.food-truck-rig {
  position: relative;
  z-index: 20;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 1rem;
  cursor: pointer;
  transform: translateX(calc(-120% + var(--truck-p) * 285%)) rotate(calc(-1deg + var(--truck-p) * 3deg));
  transition: transform 0.14s linear;
}
#food-truck-stage.truck-clicked .food-truck-rig {
  transform: translateX(170%) rotate(2.5deg);
  transition: transform 1.1s cubic-bezier(0.55, 0, 1, 0.45);
}
.food-truck-rig:hover img { transform: scale(1.04); }
.food-truck-rig img { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(214,161,58,0.4)); transition: transform 180ms ease; }
.neon-reveal { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem; pointer-events: none; }
.neon-reveal-text {
  font-size: clamp(2.8rem,8vw,7rem);
  font-weight: 950;
  text-transform: uppercase;
  line-height: .85;
  color: var(--pink);
  text-shadow: var(--neon-shadow);
  opacity: var(--truck-text-p);
  transform: translateY(calc(30px * (1 - var(--truck-text-p)))) scale(calc(0.8 + 0.2 * var(--truck-text-p)));
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.neon-reveal-glow {
  margin-top: .5rem;
  height: 4px;
  width: min(80%,500px);
  border-radius: 999px;
  background: var(--pink);
  transform-origin: center;
  box-shadow: 0 0 30px var(--pink), 0 0 60px var(--pink), 0 0 120px rgba(255,58,166,0.5);
  opacity: var(--truck-glow-p);
  transform: scaleX(calc(0.35 + 0.65 * var(--truck-glow-p)));
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.truck-reveal-content {
  pointer-events: auto;
  margin-top: 2rem;
  max-width: 42rem;
  opacity: var(--truck-content-p);
  transform: translateY(calc(24px * (1 - var(--truck-content-p))));
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#food-truck-stage.truck-clicked .neon-reveal-text {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}
#food-truck-stage.truck-clicked .neon-reveal-glow {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.55s;
}
#food-truck-stage.truck-clicked .truck-reveal-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
#food-truck-stage.is-truck-complete {
  --truck-p: 1;
  --truck-text-p: 1;
  --truck-glow-p: 1;
  --truck-content-p: 1;
}
.road-line { position: absolute; bottom: 2rem; left: 0; right: 0; z-index: 15; height: 3px; background: linear-gradient(to right,transparent,rgba(214,161,58,0.4),transparent); }

/* ── Depth titles (text depth on h1/h2) ──────────────── */
.depth-title {
  text-shadow:
    0 1px 0 rgba(0,0,0,0.15),
    0 2px 4px rgba(0,0,0,0.12),
    0 4px 8px rgba(0,0,0,0.08);
  -webkit-background-clip: text;
  position: relative;
}
[data-theme="vanilla"] .depth-title {
  text-shadow:
    0 1px 0 rgba(139,80,16,0.2),
    0 3px 6px rgba(139,80,16,0.12),
    0 6px 16px rgba(0,0,0,0.06);
}
[data-theme="chocolate"] .depth-title {
  text-shadow:
    0 0 20px rgba(214,161,58,0.35),
    0 2px 4px rgba(0,0,0,0.3),
    0 4px 12px rgba(214,161,58,0.15);
  color: var(--gold-light, #f7cf73);
}
[data-theme="cotton-candy"] .depth-title {
  text-shadow:
    0 0 24px rgba(255,58,166,0.4),
    0 0 48px rgba(255,107,157,0.2),
    0 2px 4px rgba(0,0,0,0.2);
}
.depth-hero {
  text-shadow:
    0 2px 0 rgba(0,0,0,0.2),
    0 4px 8px rgba(0,0,0,0.15),
    0 8px 24px rgba(0,0,0,0.1);
}
[data-theme="chocolate"] .depth-hero {
  text-shadow:
    0 0 30px rgba(214,161,58,0.5),
    0 4px 8px rgba(0,0,0,0.4),
    0 8px 24px rgba(214,161,58,0.2);
}
[data-theme="cotton-candy"] .depth-hero {
  text-shadow:
    0 0 40px rgba(255,58,166,0.5),
    0 0 80px rgba(255,107,157,0.25),
    0 4px 8px rgba(0,0,0,0.25);
}

/* ── Scroll reveal animations ────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.scroll-reveal[data-reveal="fade-up"] {
  transform: translateY(40px);
}
.scroll-reveal[data-reveal="fade-left"] {
  transform: translateX(-40px);
}
.scroll-reveal[data-reveal="fade-right"] {
  transform: translateX(40px);
}
.scroll-reveal[data-reveal="scale"] {
  transform: scale(0.92);
}
.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ── Parallax doughnut photos (hero) ─────────────────── */
.parallax-doughnut {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s linear;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}
.parallax-doughnut img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.parallax-doughnut--1 {
  top: 8%;
  right: 6%;
  width: clamp(120px, 18vw, 280px);
  opacity: 0.92;
}
.parallax-doughnut--2 {
  bottom: 15%;
  left: 4%;
  width: clamp(100px, 14vw, 240px);
  opacity: 0.88;
}
.parallax-doughnut--3 {
  top: 55%;
  right: 18%;
  width: clamp(80px, 12vw, 200px);
  opacity: 0.85;
}
@media (max-width: 767px) {
  .parallax-doughnut--1 { top: 4%; right: 2%; width: 100px; }
  .parallax-doughnut--2 { bottom: 8%; left: 2%; width: 80px; }
  .parallax-doughnut--3 { display: none; }
}

/* ── Parallax section images (floating beside content) ── */
.section-parallax-img {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s linear;
  opacity: 0.18;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
}
.section-parallax-img img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.section-parallax-img--right {
  right: -5%;
  top: 10%;
  width: clamp(160px, 22vw, 340px);
}
.section-parallax-img--left {
  left: -5%;
  top: 20%;
  width: clamp(160px, 22vw, 340px);
}
.section-parallax-img--low {
  top: auto;
  bottom: 5%;
}
.section-parallax-img--mid {
  top: 35%;
}
@media (max-width: 767px) {
  .section-parallax-img { display: none; }
}

/* ── Order Modal ──────────────────────────────────────── */
.modal-backdrop { display: none; position: fixed; inset: 0; z-index: 80; align-items: center; justify-content: center; background: rgba(0,0,0,0.88); padding: 1rem; }
@media (min-width: 768px) {
  .modal-backdrop { background: rgba(0,0,0,0.76); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.modal-backdrop.open { display: flex; }
.modal-body { max-height: 88vh; width: 100%; max-width: 48rem; overflow: auto; padding: 1.25rem; box-shadow: 0 0 60px rgba(255,58,166,0.18); background: #060403; }
.cart-row { display: grid; gap: 1rem; border-radius: 6px; border: 1px solid rgba(214,161,58,0.25); background: rgba(0,0,0,0.8); padding: 1rem; align-items: center; }
@media(min-width:640px) { .cart-row { grid-template-columns: 1fr auto; } }
.qty-control { display: flex; height: 2.75rem; align-items: center; justify-content: space-between; border-radius: 999px; border: 1px solid rgba(214,161,58,0.45); }
@media(min-width:640px) { .qty-control { width: 9rem; } }
.qty-btn { height: 100%; width: 2.75rem; font-size: 1.25rem; font-weight: 950; color: var(--gold-light); background: none; border: none; }
.cart-total-bar { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-radius: 6px; background: rgba(214,161,58,0.1); padding: 1.25rem; }

/* ── Below-fold rendering ─────────────────────────────── */
.cv-section { content-visibility: auto; contain-intrinsic-size: auto 720px; }
#food-truck-stage.cv-section { content-visibility: visible; }

/* ── Background Motion ────────────────────────────────── */
.bg-motion { pointer-events: none; position: fixed; inset: 0; z-index: 1; overflow: hidden; contain: strict; }
.coffee-bean {
  position: absolute; width: 24px; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg,transparent 45%,rgba(255,216,138,0.32) 48%,rgba(35,14,5,0.9) 52%,transparent 57%), radial-gradient(circle at 35% 35%,#8b5127,#321509 72%);
  box-shadow: 0 0 12px rgba(214,161,58,0.24), inset 0 1px 2px rgba(255,216,138,0.28);
  opacity: .6; transform: rotate(28deg); animation: bean-drift var(--bean-speed) ease-in-out infinite;
}
html[data-theme="chocolate"] .coffee-bean { opacity: .78; filter: saturate(0.85) brightness(0.9); }
html[data-theme="cotton-candy"] .coffee-bean { opacity: .35; }
.falling-sprinkle {
  position: absolute; width: 6px; height: 20px; border-radius: 999px;
  opacity: .86; box-shadow: 0 0 12px rgba(255,216,138,0.24);
  transform: rotate(24deg); animation: sprinkle-fall var(--confetti-speed) linear infinite;
}
html[data-theme="vanilla"] .falling-sprinkle { opacity: .72; }
html[data-theme="chocolate"] .neon-script,
html[data-theme="chocolate"] .hero-script { font-style: normal; letter-spacing: .04em; }

/* ── Cotton Candy — hero & UI (mockup match) ─────────── */
html[data-theme="cotton-candy"] .hero-copy--cotton-candy .brand-medallion {
  width: clamp(3.5rem, 8vw, 4.75rem);
  height: clamp(3.5rem, 8vw, 4.75rem);
  margin-bottom: .65rem;
  border: 2px solid var(--gold);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 28px rgba(255,58,166,0.4), 0 0 48px rgba(181,123,238,0.2);
}
html[data-theme="cotton-candy"] .hero-copy--cotton-candy .hero-title {
  font-size: clamp(3.2rem, 9.5vw, 7.2rem);
  line-height: .9;
  font-weight: 400;
  background: linear-gradient(180deg, #ff9a2e 0%, #ffd54a 42%, #f7e08a 68%, #e8a830 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #3e1a08) drop-shadow(0 6px 14px rgba(0,0,0,0.55));
}
html[data-theme="cotton-candy"] .hero-copy--cotton-candy .hero-script {
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  color: #ff8fd8;
  text-shadow: var(--neon-shadow);
  margin-top: .15rem;
}
html[data-theme="cotton-candy"] .hero-copy--cotton-candy .hero-tagline {
  margin-top: .85rem;
  font-size: clamp(.62rem, 1.35vw, .76rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
html[data-theme="cotton-candy"] .gold-button {
  border: none;
  background: linear-gradient(90deg, #ff3aa6 0%, #c44dff 50%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 22px rgba(255,58,166,0.55), 0 0 36px rgba(255,58,166,0.28);
}
html[data-theme="cotton-candy"] .gold-button:hover {
  box-shadow: 0 6px 28px rgba(255,58,166,0.65), 0 0 48px rgba(196,77,255,0.35);
  transform: translateY(-2px);
}
html[data-theme="cotton-candy"] .order-now-fab {
  background: linear-gradient(90deg, #ff3aa6 0%, #c44dff 55%, #8b5cf6 100%);
  border: none;
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,58,166,0.45), 0 0 28px rgba(255,58,166,0.3);
  animation: cc-fab-pulse 3s ease-in-out infinite;
}
@keyframes cc-fab-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(255,58,166,0.4), 0 0 24px rgba(255,58,166,0.25); }
  50% { box-shadow: 0 10px 40px rgba(255,58,166,0.55), 0 0 40px rgba(196,77,255,0.35); }
}
html[data-theme="cotton-candy"] .feature-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: .45rem;
  padding: 1.1rem 1rem;
  min-height: 8.75rem;
  background: rgba(30, 10, 55, 0.62);
  border: 1px solid rgba(247, 207, 115, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
html[data-theme="cotton-candy"] .feature-card::before {
  content: "";
  position: absolute;
  inset: -50% -30% auto;
  height: 90%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,58,166,0.42), transparent 68%);
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}
html[data-theme="cotton-candy"] .feature-card:hover::before,
html[data-theme="cotton-candy"] .feature-card:nth-child(2)::before,
html[data-theme="cotton-candy"] .feature-card:nth-child(3)::before {
  opacity: 1;
}
html[data-theme="cotton-candy"] .feature-card:nth-child(3)::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(181,123,238,0.38), transparent 68%);
}
html[data-theme="cotton-candy"] .feature-icon {
  font-size: 1.65rem;
  width: auto;
  margin-bottom: .15rem;
}
html[data-theme="cotton-candy"] .feature-label {
  color: var(--gold-light);
  font-size: 1rem;
}
html[data-theme="cotton-candy"] .feature-sub {
  color: rgba(255,255,255,0.9);
  opacity: 1;
  font-size: .78rem;
  line-height: 1.35;
}
html[data-theme="cotton-candy"] .journey-hint-line {
  color: rgba(255,233,168,0.65);
}
html[data-theme="cotton-candy"] .journey-hint-line--accent {
  color: var(--pink);
  text-shadow: 0 0 16px rgba(255,58,166,0.5);
}
html[data-theme="cotton-candy"] .falling-sprinkle {
  width: 7px;
  height: 22px;
  opacity: .92;
  box-shadow: 0 0 14px var(--pink-glow);
}
@keyframes bean-drift { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 18px -22px; rotate: 13deg; } }
@keyframes sprinkle-fall { 0% { translate: 0 -18vh; rotate: 0deg; opacity: 0; } 12% { opacity: .76; } 100% { translate: 42px 118vh; rotate: 360deg; opacity: 0; } }

/* ── Coffee Cup + Steam ───────────────────────────────── */
.coffee-cup {
  position: relative; width: 98px; height: 58px;
  border-bottom: 10px solid var(--gold); border-left: 10px solid var(--gold); border-right: 10px solid var(--gold);
  border-radius: 0 0 38px 38px; opacity: .72; filter: drop-shadow(0 0 18px rgba(214,161,58,0.35));
}
.coffee-cup::after { content: ""; position: absolute; right: -32px; top: 12px; width: 34px; height: 28px; border: 7px solid var(--gold); border-left: 0; border-radius: 0 24px 24px 0; }
.steam-wisp { position: absolute; bottom: 58px; left: 22px; width: 16px; height: 56px; border-left: 3px solid rgba(255,216,138,0.8); border-radius: 50%; opacity: .52; }
.steam-wisp:nth-child(2) { left: 43px; height: 68px; }
.steam-wisp:nth-child(3) { left: 64px; height: 52px; }

/* ── Utility helpers (Tailwind-equivalent) ────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.px-4 { padding-inline: 1rem; } .px-5 { padding-inline: 1.25rem; }
.px-7 { padding-inline: 1.75rem; } .px-8 { padding-inline: 2rem; }
.py-3 { padding-block: .75rem; }
.h-10 { height: 2.5rem; } .h-11 { height: 2.75rem; } .h-12 { height: 3rem; }
.h-13 { height: 3.25rem; } .h-14 { height: 3.5rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; }
.min-h-32 { min-height: 8rem; } .min-h-48 { min-height: 12rem; }
.grid { display: grid; }
.flex { display: flex; } .inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .items-start { align-items: start; } .items-end { align-items: end; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.self-center { align-self: center; }
.shrink-0 { flex-shrink: 0; }
.font-black { font-weight: 900; } .font-bold { font-weight: 700; } .font-semibold { font-weight: 600; }
.text-xs { font-size: .75rem; } .text-sm { font-size: .875rem; } .text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; } .text-5xl { font-size: 3rem; }
.uppercase { text-transform: uppercase; }
.leading-none { line-height: 1; } .leading-tight { line-height: 1.25; }
.tracking-wide { letter-spacing: .05em; }
.rounded-full { border-radius: 9999px; } .rounded-md { border-radius: 6px; }
.resize-none { resize: none; }
.object-cover { object-fit: cover; } .object-contain { object-fit: contain; }
.pointer-events-none { pointer-events: none; }
.disabled\:opacity-50:disabled { opacity: .5; cursor: not-allowed; }

/* ── Color utilities ──────────────────────────────────── */
.text-gold { color: var(--gold); } .text-gold-light { color: var(--gold-light); }
.text-pink { color: var(--pink); } .text-white { color: #fff; }
.bg-black { background: #000; }

/* ── Responsive grid helpers ──────────────────────────── */
@media(min-width:640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
}
@media(min-width:768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3,1fr); }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-6xl { font-size: 3.75rem; }
}
@media(min-width:1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
  .lg\:grid-2col-left { grid-template-columns: .95fr 1.05fr; }
  .lg\:grid-2col-right { grid-template-columns: 1.1fr .9fr; }
  .lg\:grid-contact { grid-template-columns: .85fr 1.15fr; }
  .lg\:grid-give { grid-template-columns: .8fr 1.2fr; }
}
@media(min-width:1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3,1fr); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4,1fr); }
}

/* ── Mobile hero doughnuts ────────────────────────────── */
@media(max-width:767px) {
  .western-title { text-shadow: 0 1px 0 #5e3510, 0 0 16px rgba(214,161,58,0.4); }
  .section-shell { overflow: hidden; }
}

/* ── Pick your flavor — Motion-style FAB menu ─────────── */
.theme-fab-backdrop {
  position: fixed;
  inset: 0;
  z-index: 66;
  background: rgba(28,28,28,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.theme-fab-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.theme-fab {
  position: fixed;
  right: .75rem;
  bottom: 1.25rem;
  z-index: 72;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
  pointer-events: none;
}
@media (min-width: 768px) {
  .theme-fab { right: 1.25rem; bottom: 2rem; }
}
.theme-fab-menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: .65rem;
  pointer-events: none;
}
.theme-fab.is-open .theme-fab-menu {
  pointer-events: auto;
}
.theme-fab-action {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.55);
  pointer-events: none;
  will-change: transform, opacity;
}
.theme-fab.is-open .theme-fab-action {
  pointer-events: auto;
}
.theme-fab-tip {
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: color-mix(in srgb, var(--bg) 90%, #fff);
  backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bd-black);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 200ms ease, transform 220ms ease;
}
.theme-fab.is-open .theme-fab-tip {
  opacity: 1;
  transform: translateX(0);
}
.theme-fab.is-open .theme-fab-action[data-index="0"] .theme-fab-tip { transition-delay: 80ms; }
.theme-fab.is-open .theme-fab-action[data-index="1"] .theme-fab-tip { transition-delay: 140ms; }
.theme-fab.is-open .theme-fab-action[data-index="2"] .theme-fab-tip { transition-delay: 200ms; }
.theme-fab-action[aria-pressed="true"] .theme-fab-tip {
  border-color: var(--bd-orange);
  background: var(--bd-tan);
}
.theme-fab-dot {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 2px solid var(--bd-black);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 220ms cubic-bezier(.34,1.56,.64,1), box-shadow 220ms ease;
}
.theme-fab-dot--vanilla { background: #fff8e7; }
.theme-fab-dot--chocolate { background: #5c3317; }
.theme-fab-dot--cotton-candy {
  background: linear-gradient(135deg, #ff3aa6 0%, #ffd88a 40%, #2fd6ff 75%, #b57bee 100%);
}
.theme-fab-action:hover .theme-fab-dot,
.theme-fab-action:focus-visible .theme-fab-dot {
  transform: scale(1.1);
  box-shadow: 0 6px 20px var(--pink-glow);
}
.theme-fab-action:focus-visible { outline: none; }
.theme-fab-action:focus-visible .theme-fab-dot {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.theme-fab-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border: none;
  border-radius: 50%;
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 0 20px rgba(214,161,58,0.2);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 220ms cubic-bezier(.34,1.56,.64,1), box-shadow 220ms ease;
}
.theme-fab-trigger:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,0,0,0.28), 0 0 28px var(--pink-glow);
}
.theme-fab-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.theme-fab-trigger-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  opacity: 0;
  transition: opacity 220ms ease, background 220ms ease, border-color 220ms ease;
}
.theme-fab[data-active="vanilla"]:not([data-preview]) .theme-fab-trigger-ring,
.theme-fab[data-preview="vanilla"] .theme-fab-trigger-ring {
  opacity: 1;
  background: #fff8e7;
  border-color: #e8c05a;
}
.theme-fab[data-active="chocolate"]:not([data-preview]) .theme-fab-trigger-ring,
.theme-fab[data-preview="chocolate"] .theme-fab-trigger-ring {
  opacity: 1;
  background: #5c3317;
  border-color: #d4a574;
}
.theme-fab[data-active="cotton-candy"]:not([data-preview]) .theme-fab-trigger-ring,
.theme-fab[data-preview="cotton-candy"] .theme-fab-trigger-ring {
  opacity: 1;
  background: linear-gradient(135deg, #ff3aa6, #2fd6ff);
  border-color: #ff3aa6;
}
.theme-fab-trigger-icon {
  position: relative;
  z-index: 1;
  width: 1.35rem;
  height: 1.35rem;
}
.theme-fab.is-open .theme-fab-trigger {
  background: var(--bd-black);
  color: #fff;
}
.theme-fab-burst {
  position: fixed;
  right: 2.35rem;
  bottom: 2.85rem;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 73;
}
@media (min-width: 768px) {
  .theme-fab-burst { right: 2.85rem; bottom: 3.55rem; }
}
.theme-fab-burst-particle,
.flavor-burst-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
}
.theme-fab-burst-particle.is-bursting {
  animation: theme-fab-burst 0.7s ease-out forwards;
}
@keyframes theme-fab-burst {
  from { transform: translate(0, 0) scale(0); opacity: 1; }
  to { transform: translate(var(--bx, 0), var(--by, 0)) scale(var(--bs, 1)); opacity: 0; }
}
.theme-fab-trigger.is-pulse {
  animation: theme-fab-pulse 0.35s ease-out;
}
@keyframes theme-fab-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
html[data-theme="cotton-candy"] .theme-fab-trigger {
  background: linear-gradient(135deg, #ff3aa6 0%, #c44dff 55%, #8b5cf6 100%);
  color: #fff;
  border: none;
}

/* ── Client demo mode badge ───────────────────────────── */
.demo-mode-badge {
  position: fixed;
  top: .65rem;
  right: .65rem;
  z-index: 90;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--nav-bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: .82;
}
@media (min-width: 1024px) {
  .demo-mode-badge { top: .85rem; right: 1rem; font-size: .62rem; }
}

/* ── Reduced motion ───────────────────────────────────── */
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
