/* ==========================================================================
   Hans & Gretel Malta
   Layout and motion patterns follow Ahmed's reference template; everything
   here is built from scratch in the H&G brand.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand colours (palette pass 2026-11-18: official H&G colours + the H&G London site).
     Roles, with contrast measured against the backgrounds they sit on:
     --red      brand red. Fills (buttons, Order, ribbon, pills), and LARGE text only
                (headings 24px+ / 19px+ bold): 4.03:1 on blush, 4.36:1 on cream, 5.0:1 on white.
                White on red is 5.0:1, so white button labels are fine.
     --cherry   deep cherry (London). Small red text (prices, links, labels: 5.26:1 on blush,
                5.68:1 cream, 5.07:1 card pink), hover/pressed, ribbon tails, the bold
                reviews section (white on cherry 6.51:1).
     --hotpink  pop accent only: Signature/Super pill outline, sparkles, active pill plate ring,
                hover sweep tint, the open dot, a few doodle fills. Never text, never big areas.
     --blue     cool accent only: focus rings (3.56:1 on blush, 3.85:1 cream), a couple of
                doodle fills. --blue-ink is the text-safe version for links (4.85:1+ everywhere).
     --cream    warm cream (London): alternate section background so the site isn't all pink. */
  --red: #D82236;
  --cherry: #B71C32;
  --cherry-deep: #8E1426;   /* pressed state on cherry, the ribbon's shadowed fold */
  --red-text: var(--cherry);
  --hotpink: #FA1B90;
  --blue: #186FFF;
  --blue-ink: #135BD6;
  --blue-candy: color-mix(in srgb, var(--blue) 42%, var(--white));   /* soft doodle fill */
  --hotpink-candy: color-mix(in srgb, var(--hotpink) 16%, var(--white));
  --cream: #F5EFE1;
  --cream-light: #FAF6EC;
  --pink: #ED94A1;
  --pink-card: #F5C4CB;      /* Signature cards: red headings 3.25:1 (large), ink 9.7:1 */
  --blush: #F6E2E7;
  --blush-light: #FBF0F3;
  --white: #FFFFFF;
  /* menu card tints, cycled per card */
  --tint-1: #FBE8EC;
  --tint-2: #F9DCE2;
  --tint-3: #FCEEF1;
  --ink: #4A1420;          /* body text: deep berry, never black */
  --ink-soft: #7A2A38;

  /* Soft candy tints (review cards). Ink text on all of them is 11:1 or better. */
  --tint-strawberry: #FBD3DB;
  --tint-sour: #EAF2C6;
  --tint-lilac: #E8DDF3;
  --tint-peach: #FCDDC6;
  --tint-liquorice: #F1E6E8;
  --star-empty: rgba(216, 34, 54, 0.22);
  --cloud-white: #FFFFFF;

  /* Footer candy doodles (hand-drawn, 2026-11-17) */
  --doodle-line: #7A1F30;      /* the sketchy dark-crimson pen */
  --doodle-pink: #F7B7C3;
  --doodle-pink-light: #FCE0E6;
  --doodle-cream: #FFF3E3;
  --doodle-mint: #BFE9D2;
  --doodle-mint-deep: #86CFAE;
  --doodle-lemon: #FFDA74;
  --doodle-caramel: #F2C27B;
  --doodle-ice: #CFEFF6;
  --doodle-cinnamon: #B8743F;   /* chai doodle's cinnamon stick */
  --doodle-ginger: #E8AE6E;      /* About gingerbread house: walls */
  --doodle-ginger-deep: #CF8A4E; /* About gingerbread house: roof */
  --card-pink: var(--tint-2);   /* the shared smoothie card (cherry prices 5.07:1 on it) */

  /* Type */
  --font-display: "Dela Gothic One", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-small: 0.875rem;
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 3.4vw, 4.25rem);
  --fs-hero: clamp(3.25rem, 1.6rem + 8.4vw, 9.5rem);
  --fs-giant: clamp(2.75rem, 1rem + 8vw, 9rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --gutter: 1rem;
  --max: 78rem;

  /* Shape and depth */
  --radius-s: 0.75rem;
  --radius-m: 1.5rem;
  --radius-l: 2.5rem;
  --pill: 999px;
  --shadow-soft: 0 1px 2px rgba(122, 42, 56, 0.06), 0 12px 32px -12px rgba(216, 34, 54, 0.28);
  --shadow-lift: 0 2px 4px rgba(122, 42, 56, 0.08), 0 24px 48px -16px rgba(216, 34, 54, 0.36);
  --ring: 0 0 0 3px var(--white), 0 0 0 6px var(--blue);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 4.5rem;
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 5.25rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 3rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--red);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-s);
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--red);
  color: var(--white);
  border-radius: var(--pill);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


.lead { font-size: var(--fs-lead); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s;
}
.btn svg { width: 1.1rem; height: 1.1rem; transition: transform 0.25s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--ghost {
  --btn-bg: var(--white);
  --btn-fg: var(--red);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .btn:hover svg { transform: translateX(3px); }
  .btn:not(.btn--ghost):hover { --btn-bg: var(--cherry); }
}

.link-soon {
  position: relative;
}
.soon-note {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.6rem);
  transform: translateX(-50%);
  padding: 0.4rem 0.8rem;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  transition: background-color 0.3s, box-shadow 0.3s;
}
/* Over the full-screen About film the bar drops its blush glass so the film runs edge to edge */
.site-header.is-over-film,
.site-header.is-scrolled.is-over-film { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled {
  /* white glass (2026-11-18): it takes the tint of whatever is under it, pink or cream */
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(216, 34, 54, 0.08);
}
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

.site-header__logo {
  justify-self: start;
  display: block;
  width: 3rem;
}
.site-header__logo img { width: 100%; height: auto; }
@media (min-width: 768px) { .site-header__logo { width: 3.75rem; } }

.burger {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--red);
  cursor: pointer;
  box-shadow: var(--shadow-soft), inset 0 -3px 0 rgba(237, 148, 161, 0.55);
  transition: transform 0.2s var(--ease-out);
}
.burger:active { transform: scale(0.95); }
.burger svg { width: 1.9rem; height: 1.25rem; overflow: visible; }
.burger path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}
@media (hover: hover) {
  .burger:hover path:nth-child(1) { transform: translateX(2px); }
  .burger:hover path:nth-child(3) { transform: translateX(-2px); }
}
.menu-open .burger path:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger path:nth-child(2) { opacity: 0; }
.menu-open .burger path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header__links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: var(--space-3);
  font-weight: 700;
  color: var(--red-text);
  text-decoration: none;
  border-radius: var(--pill);
}
.site-header__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.site-header__links .nav-order {
  background: var(--red);
  color: var(--white);
  padding-inline: var(--space-4);
  transition: background-color 0.2s;
}
@media (hover: hover) { .site-header__links .nav-order:hover { background: var(--cherry); } }
.site-header__links .nav-order:active { background: var(--cherry-deep); }
@media (min-width: 768px) {
  .site-header__links { gap: var(--space-3); }
  .site-header__links .nav-order { padding-inline: var(--space-5); }
}

/* ---------- Menu overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + var(--space-5)) var(--gutter) var(--space-5);
  background: var(--blush-light);
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0% at 50% 2.5rem);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
}
.menu-open .overlay {
  visibility: visible;
  clip-path: circle(150% at 50% 2.5rem);
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
}
.overlay__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.overlay__bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
}
.overlay__bg .blob--1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -15vmax; background: var(--pink); opacity: 0.35; }
.overlay__bg .blob--2 { width: 50vmax; height: 50vmax; right: -18vmax; bottom: -20vmax; background: var(--pink); opacity: 0.4; }
.overlay__bg .sprinkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.overlay__nav {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.overlay__list li { display: flex; align-items: center; gap: var(--space-4); }
.overlay__link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.5rem + 8vw, 8rem);
  line-height: 1.05;
  color: var(--red);
  text-decoration: none;
  transition: transform 0.45s var(--ease-out), color 0.2s;
  transform-origin: center;
}
.overlay__link[aria-current="page"] { color: var(--pink); -webkit-text-stroke: 2px var(--red); }
@media (hover: hover) {
  .overlay__link:hover { transform: scale(1.1) rotate(-2deg); }
}
/* Official H&G cups beside Menu and Order (portrait, so narrower than the old cutouts) */
.overlay__treat {
  display: block;
  flex: none;
  width: clamp(2.5rem, 1.4rem + 3.4vw, 5.5rem);
  filter: drop-shadow(0 8px 12px rgba(216, 34, 54, 0.25));
}
.overlay__treat img { display: block; width: 100%; height: auto; }
.overlay__treat--r { transform: rotate(12deg); }
/* Tray chimney cake beside Order (2026-11-17): wide, so it gets about 1.7x the cup's width */
.overlay__treat--cake { width: clamp(4.25rem, 2.4rem + 5.8vw, 9.5rem); }
.overlay__treat--cake.overlay__treat--r { transform: rotate(-6deg) translateY(8%); }
.overlay__treat--l { transform: rotate(-10deg); }

.overlay__foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

.overlay__list li, .overlay__foot { opacity: 0; transform: translateY(24px); transition: opacity 0.3s, transform 0.3s; }
.menu-open .overlay__list li, .menu-open .overlay__foot {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
.menu-open .overlay__list li:nth-child(1) { transition-delay: 0.18s; }
.menu-open .overlay__list li:nth-child(2) { transition-delay: 0.24s; }
.menu-open .overlay__list li:nth-child(3) { transition-delay: 0.30s; }
.menu-open .overlay__list li:nth-child(4) { transition-delay: 0.36s; }
.menu-open .overlay__foot { transition-delay: 0.42s; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.socials a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease-out);
}
.socials svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) { .socials a[href]:hover { transform: translateY(-2px) rotate(-6deg); } }
.socials a:focus-visible { outline: none; box-shadow: var(--ring); }


/* ---------- Clouds ----------
   Procedural cloud artwork (images/clouds/, generated, not sourced).
   Blended with screen so the white tops glow and the blush undersides melt
   into the pastel backgrounds. Decorative only. */
.sky {
  position: absolute;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  z-index: 3;
  width: var(--w, 40vw);
}
.sky img { width: 100%; height: auto; animation: sky-drift var(--drift, 18s) ease-in-out infinite alternate; }
@keyframes sky-drift {
  from { translate: -1.5% 0; }
  to   { translate: 1.5% -2%; }
}

/* Cloud bank on the hero/About seam (the welcome section was removed on 2026-11-18). Three passes of the same light image plus a
   soft white fog band centred on the seam, so the line between the two sections and
   the base of the bag are never visible, at any width. */
.cloud-bank {
  --bank-w: 230vw;
  --bank-left: -65vw;
  --fog-up: clamp(5.5rem, 13vw, 12rem);
  --fog-down: clamp(4.5rem, 10vw, 9rem);
  position: relative;
  z-index: 6;
  height: 0;
  pointer-events: none;
  overflow-x: clip;      /* wide artwork never causes horizontal scroll */
  overflow-y: visible;
}
@media (min-width: 768px)  { .cloud-bank { --bank-w: 150vw; --bank-left: -25vw; } }
@media (min-width: 1024px) { .cloud-bank { --bank-w: 118vw; --bank-left: -9vw; } }

.cloud-bank__fog {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--fog-up));
  height: calc(var(--fog-up) + var(--fog-down));
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 26%,
    rgba(255, 255, 255, 0.94) 46%,
    rgba(255, 255, 255, 0.94) 56%,
    color-mix(in srgb, var(--cream-light) 70%, transparent) 76%,
    color-mix(in srgb, var(--cream-light) 0%, transparent) 100%);
}
.cloud-bank img {
  position: absolute;
  left: var(--bank-left);
  width: var(--bank-w);
  max-width: none;
  height: auto;
  mix-blend-mode: screen;
  /* fade the flat base so it melts into the fog */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
/* Main bank: its dense puffs sit right on the seam and bury the base of the bag */
.cloud-bank__img--main { bottom: calc(var(--bank-w) * -0.115); animation: sky-drift 26s ease-in-out infinite alternate; }
/* A mirrored, slightly offset pass behind it for density across the full width */
.cloud-bank__img--back { bottom: calc(var(--bank-w) * -0.1); left: calc(var(--bank-left) - 12vw); scale: -1 1; opacity: 0.85; animation: sky-drift 34s ease-in-out infinite alternate-reverse; }
/* Upside-down pass hanging into the About section, so the clouds overlap both */
.cloud-bank__img--under { top: calc(var(--bank-w) * -0.03); scale: -1 -1; opacity: 0.7; animation: sky-drift 30s ease-in-out infinite alternate; }

/* Menu top: big left, small blurred middle, big right that bleeds off the edge */
.sky--ml { --w: 70vw; left: -22vw; bottom: -4%; }
.sky--mm { --w: 34vw; left: 38%; bottom: 14%; opacity: 0.6; filter: blur(5px); z-index: 0; --drift: 24s; }
.sky--mr { --w: 72vw; right: -30vw; bottom: -6%; --drift: 20s; }
@media (min-width: 768px) {
  .sky--ml { --w: 40vw; left: -6vw; bottom: -6%; }
  .sky--mm { --w: 20vw; left: 42%; bottom: 20%; }
  .sky--mr { --w: 42vw; right: -10vw; bottom: -8%; }
}

/* Order page: clouds behind the two delivery cards */
.sky--ol { --w: 80vw; left: -26vw; bottom: 2%; }
.sky--or { --w: 80vw; right: -30vw; bottom: 22%; --drift: 21s; }
@media (min-width: 768px) {
  .sky--ol { --w: 42vw; left: 2vw; bottom: -2%; }
  .sky--or { --w: 40vw; right: 2vw; bottom: 10%; }
}

.dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(237, 148, 161, 0.7) 0 1.5px, transparent 2.5px);
  background-size: 90px 110px, 140px 130px;
  background-position: 0 0, 40px 60px;
  animation: dust 40s linear infinite;
  opacity: 0.8;
}
@keyframes dust { to { background-position: 0 -440px, 40px -460px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + var(--space-6)) var(--gutter) var(--space-9);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 42%, var(--white) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(80% 60% at 15% 10%, rgba(237, 148, 161, 0.45), rgba(237, 148, 161, 0) 70%),
    radial-gradient(70% 60% at 90% 80%, rgba(237, 148, 161, 0.4), rgba(237, 148, 161, 0) 70%),
    var(--blush);
}
.hero__inner {
  position: relative;
  z-index: 4;
  max-width: 62rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.95;
}
.hero__title .line { display: block; }
.hero__sub {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--ink);
  max-width: 34rem;
}
.hero__sub .line { display: block; }

/* Split text masks */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.08em; margin-block: -0.08em; }
.split-word { display: inline-block; will-change: transform; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; }

/* Floating products */
.treats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.treat {
  position: absolute;
  width: var(--w, 7rem);
  left: var(--x);
  top: var(--y);
  /* individual transform properties, so GSAP's transform can layer on top */
  translate: -50% -50%;
  rotate: var(--r, 0deg);
  filter: drop-shadow(0 18px 22px rgba(216, 34, 54, 0.22));
}
.treat img { width: 100%; height: auto; }
.treat--blur { z-index: -1; filter: blur(10px); opacity: 0.55; }

/* Mobile positions: kept to the edges so the headline stays clear */
.treat--a { --x: 12%; --y: 22%; --w: 5.5rem; --r: -14deg; }
.treat--b { --x: 88%; --y: 20%; --w: 5rem;   --r: 12deg; }
.treat--c { --x: 14%; --y: 84%; --w: 6rem;   --r: 10deg; }
.treat--d { --x: 86%; --y: 82%; --w: 6.25rem; --r: -9deg; }
.treat--e { --x: 50%; --y: 92%; --w: 4.5rem;  --r: 4deg; }
.treat--logo { --x: 50%; --y: 12%; --w: 3.5rem; --r: -6deg; display: none; }
.treat--f { --x: 30%; --y: 8%;  --w: 6rem; --r: 20deg; }
.treat--g { --x: 78%; --y: 58%; --w: 8rem; --r: -18deg; }
.treat--h { --x: 6%;  --y: 55%; --w: 7rem; --r: 8deg; }

@media (min-width: 768px) {
  .treat--a { --x: 12%; --y: 30%; --w: 9rem; }
  .treat--b { --x: 88%; --y: 26%; --w: 8.5rem; }
  .treat--c { --x: 18%; --y: 78%; --w: 10rem; }
  .treat--d { --x: 82%; --y: 76%; --w: 10.5rem; }
  .treat--e { --x: 50%; --y: 94%; --w: 7rem; }
  .treat--f { --w: 9rem; }
  .treat--g { --w: 12rem; }
  .treat--h { --w: 10rem; }
}
@media (min-width: 1024px) {
  .treat--a { --x: 13%; --y: 34%; --w: 11.5rem; }
  .treat--b { --x: 87%; --y: 30%; --w: 10.5rem; }
  .treat--c { --x: 22%; --y: 80%; --w: 12rem; }
  .treat--d { --x: 78%; --y: 78%; --w: 12.5rem; }
  .treat--e { --x: 50%; --y: 98%; --w: 8rem; }
  .treat--logo { display: block; --x: 6%; --y: 70%; --w: 5rem; }
}

/* ---------- Generic section ---------- */
.section { position: relative; padding-block: var(--space-8); }
@media (min-width: 1024px) { .section { padding-block: var(--space-9); } }
.section__head { display: grid; gap: var(--space-4); max-width: 46rem; margin-bottom: var(--space-7); }
.section__head h2 { font-size: var(--fs-h2); }
/* Steps title (2026-11-18): on desktop it runs across most of the content width in 1-2
   balanced lines instead of a narrow 46rem column. Phones keep the default. */
@media (min-width: 1024px) {
  #oven .section__head { max-width: none; }
  #oven .section__head h2 { text-wrap: balance; }
}
.section--white { background: var(--white); }
.section--red { background: var(--red); color: var(--white); }
.section--red h2, .section--red h3 { color: var(--white); }
.section--red .lead { color: rgba(255, 255, 255, 0.9); }
/* Cream sections (2026-11-18). --from is the colour of the section above: the top fades from it
   into cream over ~4.5rem, so there's never a hard stripe between pink and cream. */
.section--cream {
  --from: var(--cream);
  background: linear-gradient(to bottom, var(--from) 0, var(--cream) var(--space-8)) var(--cream);
}
.section--cream.from-pink { --from: var(--blush); }

.reveal { will-change: transform, opacity; }

/* ---------- About: the film that grows as you scroll (v5) ----------
   Static layout (the default, used for reduced motion and when GSAP is missing):
   the headline on pink, then the store film full-bleed (one screen tall) with the
   lead + body over it on a soft dark scrim.
   Motion layout (.about.is-grow, set by js/main.js): one pinned screen. The headline
   is centred above a small rounded film card (sized by .about__slot); scrolling grows
   the card's box edge to edge while its corners go square, then the copy rises in.
   The box itself is resized (width/height/top/left), never the video, so the footage
   stays sharp. No frame or border at any point. */
.about {
  position: relative;
  /* cream since 2026-11-18 (the welcome section is gone). About sits ABOVE the hero's cloud
     bank (z 7 > 6), so the bank's lower passes never wash over the headline at the pin start;
     its top starts at the fog's near-white and melts into cream, so the seam stays invisible.
     Pink resumes at #sweets. */
  z-index: 7;
  background: linear-gradient(var(--about-top) 0, var(--cream-light) clamp(5rem, 12vw, 10rem), var(--cream) 45%) var(--cream);
  --scrim: rgba(38, 8, 16, 0.78);
  --about-ink: #FFF7F0;          /* warm cream for the copy over the film */
  --about-top: var(--white);     /* the hero cloud-bank fog is pure white at the seam */
  --card-w: 60vw;
  --card-h: calc(var(--card-w) * 4 / 3);   /* portrait footage on phones */
  --card-r: var(--radius-l);
}
.about__stage {
  position: relative;
  display: grid;
  gap: var(--space-7);
  padding-top: var(--space-8);
}
.about__title {
  font-size: clamp(2.375rem, 1.2rem + 5vw, 6rem);
  line-height: 1;
  max-width: 14ch;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
  text-wrap: balance;
  box-sizing: content-box;
}
.about__slot, .about__candies { display: none; }
.about__film {
  position: relative;
  overflow: hidden;
  height: 100svh;
  min-height: 34rem;
  isolation: isolate;
  color: var(--about-ink);
  /* the poster lives here, so only the matching one downloads (same rule as the <source media>) */
  background: var(--ink) url("../video/about-store-poster.jpg") center / cover no-repeat;
}
.about__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__scrim {
  position: absolute;
  inset: 0;
  /* the copy sits in the lower middle (2026-11-18), so the scrim covers the middle too */
  background: linear-gradient(to top, rgba(38, 8, 16, 0.8) 0%, rgba(38, 8, 16, 0.66) 40%, rgba(38, 8, 16, 0.5) 72%, rgba(38, 8, 16, 0.3) 100%);
  pointer-events: none;
}
/* Copy over the full-screen film: vertically centred, nudged a little below the middle
   (more padding on top than below), never pinned to the bottom edge. */
.about__copy {
  position: absolute;
  inset: 0 0 0 0;
  display: grid;
  align-content: center;
  gap: var(--space-4);
  padding: calc(var(--header-h) + 7vh) var(--gutter) calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
  max-width: 44rem;
  text-shadow: 0 1px 12px rgba(38, 8, 16, 0.35);
}
.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
  max-width: 16ch;
  line-height: 1.1;
  color: var(--about-ink);
  text-wrap: balance;
}
.about__body {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--about-ink);
  max-width: 40ch;
}

@media (min-width: 768px) {
  .about { --card-w: 34vw; }
  .about__body { max-width: 46ch; }
}
@media (min-width: 768px) and (orientation: landscape) {
  .about { --card-h: calc(var(--card-w) * 10 / 16); }
  .about__film { background-image: url("../video/about-store-wide-poster.jpg"); }
}
@media (min-width: 1024px) {
  .about { --card-w: 34vw; }
  .about__stage { padding-top: var(--space-9); }
  .about__title { max-width: 18ch; }
  .about__copy { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-inline: 0; }
  /* wide screens: the copy sits left of centre, so the scrim leans that way */
  .about__scrim {
    background:
      linear-gradient(to right, rgba(38, 8, 16, 0.72) 0%, rgba(38, 8, 16, 0.55) 38%, rgba(38, 8, 16, 0.12) 72%, rgba(38, 8, 16, 0) 100%),
      linear-gradient(to top, rgba(38, 8, 16, 0.35) 0%, rgba(38, 8, 16, 0) 60%);
  }
}

/* ----- Motion layout: one pinned screen ----- */
.about.is-grow .about__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  height: 100vh;               /* vh, not svh: a pinned screen must not change size as the phone's toolbar hides */
  padding: var(--header-h) 0 var(--space-5);
  overflow: hidden;
}
.about.is-grow .about__title { position: relative; z-index: 1; will-change: transform, opacity; }
.about.is-grow .about__slot {
  display: block;
  flex: none;
  width: var(--card-w);
  height: min(var(--card-h), 52vh);
}
.about.is-grow .about__film {
  position: absolute;
  z-index: 2;
  min-height: 0;
  /* JS sets top/left/width/height from the slot, then grows them to the whole stage */
  border-radius: var(--card-r);
  box-shadow: 0 30px 60px -30px rgba(122, 42, 56, 0.45);
}
.about.is-grow .about__scrim,
.about.is-grow .about__copy { opacity: 0; }
.about.is-grow .about__candies {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.about__candy {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: auto;
  translate: -50% -50%;
  rotate: var(--r, 0deg);
  filter: drop-shadow(0 10px 14px rgba(122, 42, 56, 0.25));
}
/* Phone placement: tucked around the card's corners, clear of the headline */
.about__candy--a { --x: 12%; --y: 48%; --w: 4.2rem; --r: -14deg; }
.about__candy--b { --x: 89%; --y: 44%; --w: 3.2rem; --r: 12deg; }
.about__candy--c { --x: 86%; --y: 84%; --w: 4.4rem; --r: 24deg; }
.about__candy--d { --x: 16%; --y: 86%; --w: 2.4rem; --r: -22deg; }
.about__candy--e { display: none; }
@media (min-width: 768px) {
  /* beside and below the card, never over the headline; since 2026-11-18 pushed out past the
     gingerbread frame's lollipop (left) and candy cane (right) so nothing touches them */
  .about__candy--a { --x: 14%; --y: 59%; --w: 5.5rem; }
  .about__candy--b { --x: 86%; --y: 57%; --w: 4.2rem; }
  .about__candy--c { --x: 87%; --y: 85%; --w: 6rem; }
  .about__candy--d { --x: 19%; --y: 91%; --w: 3rem; }
  .about__candy--e { display: block; --x: 7%; --y: 82%; --w: 3.4rem; --r: 18deg; }
}
@media (min-width: 1024px) {
  .about__candy--a { --w: 6.5rem; }
  .about__candy--b { --w: 4.8rem; }
  .about__candy--c { --w: 7rem; }
  .about__candy--d { --w: 3.4rem; }
  .about__candy--e { --w: 4rem; }
}

/* About candies: a slow float on the CSS translate property, so it never fights the
   GSAP scatter (which uses transform). Reduced motion never shows them. */
.about.is-grow .about__candy { animation: about-float 4.6s var(--ease-in-out) infinite alternate; }
.about.is-grow .about__candy:nth-child(2n) { animation-duration: 5.4s; animation-delay: -2s; }
.about.is-grow .about__candy:nth-child(3n) { animation-duration: 3.9s; animation-delay: -1s; }
@keyframes about-float {
  from { translate: -50% -50%; }
  to   { translate: -50% calc(-50% - 0.6rem); }
}

/* Gingerbread frame (2026-11-18, roof + chimney removed and desktop added the same day): the small
   rounded film state on every screen. Hand-drawn inline SVG (same pen as the footer candy): gingerbread
   walls round the card with white icing dots, a soft piped icing line closing the top edge, gumdrops
   at the foot, a lollipop left and a candy cane right. Two variants from scripts/gingerbread-house.py,
   each drawn in units where the card is 300 wide starting at x 60, so CSS (--card-w x offsets) lands
   it exactly round the card:
     --tall  3:4 card (portrait phones + portrait tablets), card rect 60..360 x 170..570 of -40 0 500 640
     --wide  16:10 card (landscape tablet + desktop), card rect 60..360 x 40..227.5 of -40 0 500 300
   It sits UNDER the film (z 1 < 2), so it can never cover the video; as the film grows it swallows
   the frame while JS fades and scales it away. Only where the card keeps its true shape (not capped
   by 52vh). Never in the static / reduced-motion layout (no .is-grow there: the film is full-bleed). */
.about__house { display: none; }
.about.is-grow .about__house {
  position: absolute;
  z-index: 1;
  left: calc(var(--card-w) * -100 / 300);
  width: calc(var(--card-w) * 500 / 300);
  max-width: none;
  height: auto;
  overflow: visible;
  pointer-events: none;
  will-change: transform, opacity;
}
.about.is-grow .about__house--tall { top: calc(var(--card-w) * -170 / 300); transform-origin: 50% 57.8%; }   /* the card's centre */
.about.is-grow .about__house--wide { top: calc(var(--card-w) * -40 / 300); transform-origin: 50% 44.6%; }
@media (max-width: 767px) and (max-aspect-ratio: 13/20), (min-width: 768px) and (orientation: portrait) {
  .about.is-grow .about__slot { position: relative; margin-top: calc(var(--card-w) * 0.1); }
  .about.is-grow .about__house--tall { display: block; }
  /* the frame is the decoration here: the lollipop and cane take the side margins, so the
     floating candies step aside */
  .about.is-grow .about__candies { display: none; }
}
@media (min-width: 768px) and (orientation: landscape) and (max-aspect-ratio: 12/5) {
  .about.is-grow .about__slot { position: relative; margin-top: calc(var(--card-w) * 0.1); }
  .about.is-grow .about__house--wide { display: block; }
}
.doodle .d-ginger { fill: var(--doodle-ginger); }
.doodle .d-ginger-deep { fill: var(--doodle-ginger-deep); }
.doodle .d-icing { fill: var(--white); }
.doodle .d-dot { stroke: var(--doodle-line); stroke-width: 1.5; }
.doodle .d-icing-out { fill: none; stroke: var(--doodle-line); stroke-width: 19; stroke-linecap: round; stroke-linejoin: round; }
.doodle .d-icing-in { fill: none; stroke: var(--white); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.doodle .d-icing-out.d-icing--soft { stroke-width: 12; }
.doodle .d-icing-in.d-icing--soft { stroke-width: 7; }
.doodle .d-band--thin { stroke-width: 4; }
.doodle .d-shine--ice { stroke: var(--doodle-ice); }

/* ---------- Signature products: two identical cards ---------- */
.products { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .products { grid-template-columns: 1fr 1fr; } }
.product {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-l);
  background: var(--pink-card);
}
.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  background: radial-gradient(circle at 50% 55%, var(--white) 0 38%, rgba(255, 255, 255, 0.45) 62%, rgba(255, 255, 255, 0.15) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product__media .tag { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 1; }
.product__media img { filter: drop-shadow(0 18px 22px rgba(216, 34, 54, 0.25)); }
/* Absolute boxes give the images a definite height, so both wells crop identically */
/* Signature card: two official H&G cups floating in the well (client-supplied cutouts) */
.product__cups { position: absolute; inset: 0; }
.product__cup { position: absolute; bottom: 7%; display: block; }
.product__cup img { display: block; width: auto; height: 100%; }
/* 2026-11-17: cups on the left (caramel behind, blue in front), the client's tray chimney cake
   lying on the right, just overlapping the blue cup's foot so the three read as one group */
.product__cup--front { left: 46%; height: 72%; bottom: 11%; translate: -104% 0; rotate: -3deg; z-index: 1; }
.product__cup--back  { left: 46%; height: 56%; bottom: 25%; translate: -152% 0; rotate: -11deg; }
.product__cake { position: absolute; left: 46%; bottom: 7%; width: 50%; translate: -14% 0; rotate: -3deg; z-index: 2; display: block; }
.product__cake img { display: block; width: 100%; height: auto; }
/* Bubble waffle Signature card (2026-11-17): the client's ice cream waffle cutout, standing a
   touch right of centre with a slight tilt so it mirrors the chimney cake group's energy */
.product__waffle { position: absolute; left: 50%; bottom: 5%; height: 88%; translate: -50% 0; rotate: 4deg; display: block; }
.product__waffle img { display: block; width: auto; height: 100%; }
.product__body { display: grid; gap: var(--space-3); align-content: start; padding: 0 var(--space-2) var(--space-2); }
.product h3 { font-size: var(--fs-h3); }
.product__body p { color: var(--ink); }
.tag {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  padding: 0.35rem 0.8rem;
  border-radius: var(--pill);
  align-items: center;
  gap: 0.4em;
  background: var(--white);
  color: var(--red);
  font-size: var(--fs-small);
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px var(--hotpink);
}
/* a tiny hot-pink candy dot before the label (Signature, Super) */
.tag::before { content: ""; flex: none; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--hotpink); }
.tag--tbc { background: var(--ink); color: var(--white); box-shadow: none; }
.tag--tbc::before { display: none; }


.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}
.chip__price { font-weight: 500; color: var(--ink-soft); }

/* ---------- Oven steps ---------- */
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: var(--space-4);
  margin: 0;
  padding: 0 var(--gutter) var(--space-4);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: center; display: grid; gap: var(--space-3); }
.step__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--blush);
}
.step__photo img, .step__video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--red); }
.step p { color: var(--ink-soft); }
@media (hover: hover) { .step:hover .step__video { transform: scale(1.04); } }
@media (min-width: 768px) { .steps { grid-auto-columns: 42%; } }
@media (min-width: 1024px) {
  .steps {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max);
    margin-inline: auto;
    overflow: visible;
  }
}

/* ---------- In-store ---------- */

/* ---------- Visit ---------- */
.visit { display: grid; gap: var(--space-6); }
.visit__card {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.visit__card h3 { font-size: 1.375rem; }
.address { font-style: normal; font-size: var(--fs-lead); font-weight: 600; }
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--pill);
  background: var(--blush);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-small);
  justify-self: start;
}
.status::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink-soft); }
.status.is-open::before { background: var(--hotpink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hotpink) 20%, transparent); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 0.6rem 0; text-align: left; border-bottom: 1px solid rgba(216, 34, 54, 0.12); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); font-weight: 700; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 500; color: var(--ink-soft); }

.map {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Candy-cane ring round the map (2026-11-18), same stripes as the Super smoothies.
   .map clips its overflow, so the ring sits along the INSIDE edge, above the iframe,
   and lets clicks/drags through to the map. */
.map::after {
  --cane: 10px;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--cane);
  border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--red) 0 9px, var(--white) 9px 18px);
  background-size: 25.46px 25.46px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  animation: cane-drift 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .map::after { animation: none; } }
@media (min-width: 1024px) { .map { min-height: 100%; } }

/* Visit is two blocks: the hours card and the map.
   Phones: stacked, card then a 22rem map.
   Tablet (768-1023): still stacked, but the card turns landscape (address and status on
   the left, hours on the right) and the map below is a wide 16:9 band, so the hours never wrap.
   Desktop: side by side; the map takes the larger share and stretches to the card's height. */
.hours td { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .visit__card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: var(--space-7); align-items: start; }
  .visit__card > :nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .map { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .visit { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-7); align-items: stretch; }
}

/* ---------- Order block ---------- */
.order-block { text-align: center; display: grid; justify-items: center; gap: var(--space-5); }
.order-block h2 { font-size: var(--fs-h2); }
.order-options { display: grid; gap: var(--space-4); width: 100%; max-width: 52rem; }
@media (min-width: 768px) { .order-options { grid-template-columns: 1fr 1fr; } }
.order-option {
  /* Partner-branded order buttons. Official colours: Bolt green, Wolt blue. */
  --brand: var(--white);
  --on-brand: var(--ink);
  position: relative;
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  align-content: end;
  text-align: left;
  min-height: 11rem;
  padding: var(--space-6);
  padding-right: calc(var(--space-6) + 3.5rem);
  border-radius: var(--radius-l);
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.order-option--bolt { --brand: #34D186; --on-brand: #0B3B25; }
.order-option--wolt { --brand: #009DE0; --on-brand: #002338; }
.order-option__logo { display: block; height: auto; margin-bottom: var(--space-3); }
.order-option__logo--bolt { width: 7.5rem; }
.order-option__logo--wolt { width: 8.5rem; }
.order-option__label { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.05; color: var(--on-brand); }
.order-option__line { font-size: var(--fs-small); font-weight: 600; color: var(--on-brand); }
.order-option__go {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--on-brand);
  transition: transform 0.3s var(--ease-out);
}
.order-option__go svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) {
  .order-option:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow-lift); }
  .order-option:hover .order-option__go { transform: rotate(-45deg) scale(1.08); }
}
.order-option:active { transform: scale(0.98); }

/* ---------- Page hero (Menu / Order) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-8);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 40%, var(--white) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 60% at 10% 0%, rgba(237, 148, 161, 0.45), rgba(237, 148, 161, 0) 70%),
    var(--blush);
}
.page-hero .wrap { position: relative; z-index: 4; display: grid; justify-items: center; gap: var(--space-5); }
.page-hero h1 { font-size: clamp(3rem, 1.6rem + 7vw, 8rem); line-height: 0.95; }
.page-hero .lead { max-width: 36rem; }
.page-hero .treat { z-index: 2; }

/* ---------- Menu page ---------- */
.menu-top {
  position: relative;
  min-height: 82svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-8);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(55% 45% at 50% 45%, var(--white) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(70% 60% at 0% 0%, rgba(237, 148, 161, 0.6), rgba(237, 148, 161, 0) 70%),
    radial-gradient(60% 55% at 100% 30%, rgba(237, 148, 161, 0.5), rgba(237, 148, 161, 0) 70%),
    linear-gradient(180deg, var(--blush) 0%, var(--blush) 75%, var(--blush-light) 100%);
}
@media (min-width: 1024px) { .menu-top { min-height: 100svh; } }
/* Copy sits ABOVE every candy and cloud layer, same as the home hero */
.menu-top .wrap { position: relative; z-index: 6; display: grid; justify-items: center; gap: var(--space-5); }
/* Arched ribbon headline (2026-11-17): "PICK YOUR" in white on a red banner bent into an arch
   (inline SVG in menu.html, letters on a textPath), "potion" in the hollow underneath.
   The whole lock-up scales with its width (container query units), so it holds at any size. */
.potion {
  --ribbon: var(--red);
  --ribbon-tail: var(--cherry);       /* the ends folded back: deep cherry */
  --ribbon-fold: var(--cherry-deep);  /* the fold itself, in shadow */
  position: relative;
  container-type: inline-size;
  width: min(60rem, 100%);
  margin: 0;
  line-height: 1;
}
/* tablets: a touch narrower, so the tails clear the hovering candy in the margins */
@media (min-width: 768px) and (max-width: 1023px) { .potion { width: 78%; } }
.ribbon {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(122, 30, 48, 0.22));
}
.ribbon__band { fill: var(--ribbon); }
.ribbon__tail { fill: var(--ribbon-tail); }
.ribbon__fold { fill: var(--ribbon-fold); }
.ribbon__hi { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-width: 2.5; stroke-linecap: round; }
.ribbon__lo { fill: none; stroke: rgba(110, 21, 35, 0.35); stroke-width: 2; stroke-linecap: round; }
.ribbon__text { fill: var(--white); font-family: var(--font-display); letter-spacing: 0.1em; }
.ribbon__wipe { fill: none; stroke: #fff; }
.potion__word {
  position: absolute;
  left: 0;
  right: 0;
  top: 49%;
  font-size: 12.6cqw;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 22px rgba(251, 240, 243, 0.9), 0 0 6px rgba(251, 240, 243, 0.8);
}

/* Candy rain (2026-11-17; replaced the floating cups and tray cakes).
   Layers inside .menu-top (isolated): middle blurred cloud (0) < blurred rain (1)
   < sharp rain (2) < hovering candy (3) < side clouds (3, later in the DOM)
   < cloud bank (5) < copy (6). .candies has no transform, so the layers interleave.
   Pieces come from data/candy.js (MENU_*) and are placed / animated by js/main.js. */
.candies--rain .candy--rain { z-index: 2; }
.candies--rain .candy--rain, .candies--rain .candy--rain-blur { visibility: hidden; }   /* until launched */
.candies--rain .candy--hover { z-index: 3; }
.candies--rain .candy--blur { z-index: 1; filter: blur(7px); opacity: 0.5; }
.menu-top .candy { will-change: transform; }

/* Soft cloud bank along the bottom edge: the rain disappears into it. The fog is
   opaque at the very bottom (same blush-light as the menu below), so no candy is
   ever seen leaving the hero. */
.rain-bank {
  --rb-w: 210vw;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5.5rem, 15svh, 9rem);
  z-index: 5;
  pointer-events: none;
}
@media (min-width: 768px)  { .rain-bank { --rb-w: 140vw; } }
@media (min-width: 1024px) { .rain-bank { --rb-w: 112vw; height: clamp(6rem, 17svh, 10rem); } }
.rain-bank__img {
  position: absolute;
  left: calc((100% - var(--rb-w)) / 2);
  bottom: calc(var(--rb-w) * -0.07);
  width: var(--rb-w);
  max-width: none;
  height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  animation: sky-drift 26s ease-in-out infinite alternate;
}
.rain-bank__img--back { left: calc((100% - var(--rb-w)) / 2 - 10vw); bottom: calc(var(--rb-w) * -0.05); scale: -1 1; opacity: 0.85; animation-duration: 34s; animation-direction: alternate-reverse; }
.rain-bank__fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(251, 240, 243, 0) 0%,
    rgba(255, 255, 255, 0.55) 38%,
    rgba(251, 240, 243, 0.92) 66%,
    var(--blush-light) 84%);
}
@media (prefers-reduced-motion: reduce) { .rain-bank__img { animation: none; } }

/* Search */
.search {
  display: flex;
  gap: var(--space-2);
  width: 100%;
  max-width: 34rem;
  margin-top: var(--space-2);
}
.search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 3.25rem;
  padding-inline: var(--space-4);
  border-radius: var(--pill);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.search__field svg { flex: none; width: 1.2rem; height: 1.2rem; color: var(--red); }
.search__field input {
  flex: 1;
  min-width: 0;
  height: 3.25rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}
.search__field input::placeholder { color: var(--ink-soft); opacity: 1; }
.search__field:focus-within { box-shadow: var(--ring); }
.search__field input::-webkit-search-cancel-button { cursor: pointer; }

/* Filters */
.filters-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  padding-block: var(--space-3);
  background: rgba(251, 240, 243, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--red);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.filters-toggle svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease-out); }
.filters-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.filters-bar__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.result-count { font-size: var(--fs-small); color: var(--ink-soft); font-weight: 600; }

.filters {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.filters > div { overflow: hidden; }
.filters.is-open { grid-template-rows: 1fr; }
.filters__panel {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: var(--space-4);
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--blush);
  color: var(--red-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.15s var(--ease-out);
}
.pill:focus-visible { outline: none; box-shadow: var(--ring); }
.pill[aria-pressed="true"] { background: var(--red); color: var(--white); }
.pills--diet .pill { background: var(--white); box-shadow: inset 0 0 0 2px var(--blush); }
@media (hover: hover) { .pills--diet .pill:not([aria-pressed="true"]):hover { background: var(--pink); color: var(--ink); } }

/* ---------- Category pills (2026-11-17): candy buttons with a hand-drawn icon ----------
   Equal widths, laid out as a tidy grid: 2 columns in the phone dropdown ("All" spans
   both), 4 per row on tablet, two centred rows (6 + 5) on desktop.
   Hover: a candy-stripe fill sweeps in from the left and the icon wiggles.
   Press: a jelly squish. Active: H&G red with a hot-pink ring on the icon plate and a little wobble. Reduced motion keeps
   the colours and drops every movement. */
.pill-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pills--cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.pills--cats > li:first-child { grid-column: 1 / -1; }
.pill--cat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 3rem;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem 0.3rem 0.35rem;
  background: var(--white);
  color: var(--red);
  font-size: 0.875rem;
  line-height: 1.15;
  text-align: left;
  box-shadow: inset 0 0 0 1.5px rgba(216, 34, 54, 0.16), 0 6px 16px -10px rgba(216, 34, 54, 0.45);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pills--cats > li:first-child .pill--cat { justify-content: center; }
@media (min-width: 768px) {
  .pills--cats > li:first-child .pill--cat { justify-content: flex-start; }
  .pill--cat { font-size: 0.9375rem; }
  .pill__ico { width: 2.35rem; height: 2.35rem; }
  .pill__ico svg { width: 1.85rem; height: 1.85rem; }
}
/* the candy stripe that sweeps in on hover */
.pill--cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, var(--hotpink-candy) 0 7px, var(--blush-light) 7px 14px);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}
.pill__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--blush-light);
  box-shadow: inset 0 0 0 1px rgba(216, 34, 54, 0.1);
}
.pill__ico svg { width: 1.7rem; height: 1.7rem; overflow: visible; transition: transform 0.4s var(--ease-out); }
.pill__label { min-width: 0; }
/* the doodle pen: same sketchy dark-crimson line and soft fills as the footer candy */
:is(.pill__ico, .card__ph, .card-list__ico) path, :is(.pill__ico, .card__ph, .card-list__ico) circle, :is(.pill__ico, .card__ph, .card-list__ico) ellipse { stroke: var(--doodle-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:is(.pill__ico, .card__ph, .card-list__ico) .ln { fill: none; }
:is(.pill__ico, .card__ph, .card-list__ico) .ln--thin { stroke-width: 1.5; }
:is(.pill__ico, .card__ph, .card-list__ico) .ln--sprinkle { stroke: var(--red); stroke-width: 1.8; }
:is(.pill__ico, .card__ph, .card-list__ico) .spr { stroke-width: 1.8; }
:is(.pill__ico, .card__ph, .card-list__ico) .spr--white { stroke: var(--white); }
:is(.pill__ico, .card__ph, .card-list__ico) .spr--lemon { stroke: #E9A93A; }
:is(.pill__ico, .card__ph, .card-list__ico) .sh { fill: none; stroke: var(--white); stroke-width: 1.8; opacity: 0.9; }
:is(.pill__ico, .card__ph, .card-list__ico) .pink { fill: var(--doodle-pink); }
:is(.pill__ico, .card__ph, .card-list__ico) .pink-light { fill: var(--doodle-pink-light); }
:is(.pill__ico, .card__ph, .card-list__ico) .cream { fill: var(--doodle-cream); }
:is(.pill__ico, .card__ph, .card-list__ico) .caramel { fill: var(--doodle-caramel); }
:is(.pill__ico, .card__ph, .card-list__ico) .mint { fill: var(--doodle-mint); }
:is(.pill__ico, .card__ph, .card-list__ico) .lemon { fill: var(--doodle-lemon); }
:is(.pill__ico, .card__ph, .card-list__ico) .red { fill: var(--red); }
:is(.pill__ico, .card__ph, .card-list__ico) .ice { fill: var(--doodle-ice); }
:is(.pill__ico, .card__ph, .card-list__ico) .ice-dot { fill: var(--white); stroke-width: 1.2; }
:is(.pill__ico, .card__ph, .card-list__ico) .red-band { fill: none; stroke: var(--red); stroke-width: 3; }
:is(.pill__ico, .card__ph, .card-list__ico) .cinnamon { fill: none; stroke: var(--doodle-cinnamon); stroke-width: 3.4; }
:is(.pill__ico, .card__ph, .card-list__ico) .cream-band { fill: none; stroke: var(--doodle-cream); stroke-width: 2.4; }

@media (hover: hover) {
  .pill--cat:not([aria-current="true"]):hover { color: var(--red-text); box-shadow: inset 0 0 0 1.5px rgba(216, 34, 54, 0.3), 0 10px 22px -12px rgba(216, 34, 54, 0.55); }
  .pill--cat:not([aria-current="true"]):hover::before { transform: translateX(0); }
  .pill--cat:not([aria-current="true"]):hover .pill__ico svg { animation: pill-wiggle 0.6s var(--ease-in-out); }
}
/* jelly squish on press; it springs back through the transform transition above */
.pill--cat:active { transform: scale(0.95, 0.9); transition-duration: 0.12s; }
.pill--cat[aria-current="true"] {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 22px -12px rgba(183, 28, 50, 0.8);
  animation: pill-wobble 0.6s var(--ease-out);
}
.pill--cat[aria-current="true"]::before { transform: translateX(-101%); }
.pill--cat[aria-current="true"] .pill__ico { background: var(--white); box-shadow: 0 0 0 2px var(--hotpink); }
@keyframes pill-wiggle {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-12deg) scale(1.08); }
  65% { transform: rotate(8deg) scale(1.04); }
}
@keyframes pill-wobble {
  0% { transform: rotate(0); }
  25% { transform: rotate(-2.2deg) scale(1.03); }
  55% { transform: rotate(1.6deg); }
  80% { transform: rotate(-0.6deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pill--cat, .pill--cat::before, .pill__ico svg { transition: none; }
  .pill--cat:active { transform: none; }
  .pill--cat[aria-current="true"], .pill--cat:hover .pill__ico svg { animation: none !important; }
}

@media (min-width: 768px) {
  .filters-toggle { display: none; }
  .filters-bar__row { justify-content: center; }
  .filters { grid-template-rows: 1fr; }
  .filters__panel { margin-top: 0; padding: 0; background: transparent; box-shadow: none; justify-items: center; }
  .result-count { display: none; }
  /* equal-width pills, 4 per row, last row centred */
  .pills--cats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); width: 100%; }
  .pills--cats > li { flex: 0 0 calc((100% - 3 * var(--space-2)) / 4); }
}
@media (min-width: 1024px) {
  /* two even, centred rows: 6 + 5 */
  .pills--cats { gap: var(--space-3); max-width: 74rem; }
  .pills--cats > li { flex-basis: calc((100% - 5 * var(--space-3)) / 6); }
}

.notice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m);
  background: var(--white);
  border: 2px dashed var(--pink);
  font-size: var(--fs-small);
}
.notice strong { color: var(--red); }

/* Menu sections */
.menu-body { padding-block: var(--space-6) var(--space-8); background: var(--blush-light); }
.menu-cat, .menu-more { padding-top: var(--space-7); scroll-margin-top: calc(var(--header-h) + 5rem); }
.menu-cat__head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); max-width: 44rem; }
.menu-cat__head h2 { font-size: var(--fs-h2); }
.menu-cat__head .lead { color: var(--ink-soft); }

/* Product grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px)  { .menu-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
/* Extra step for wide screens, per the reference's 4-up desktop grid */
@media (min-width: 1280px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }
/* A row of exactly three (Gelato, since the Cones card went on 2026-11-17): three even columns
   on wide screens instead of three cards and an empty fourth slot. */
@media (min-width: 1280px) { .menu-grid[data-n="3"] { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .card--large { grid-column: span 2; } .card--large .card__well { aspect-ratio: 2 / 1; } }

.card {
  --tint: var(--blush);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-3);
  border-radius: 30px;
  background: var(--tint);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card:nth-child(4n+2) { --tint: var(--tint-1); }
.card:nth-child(4n+3) { --tint: var(--tint-2); }
.card:nth-child(4n+4) { --tint: var(--tint-3); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .card:hover .card__well img.cutout, .card:hover .card__well .glass { transform: rotate(-4deg) scale(1.05); }
}
/* Super smoothies (tag "Super", 2026-11-17): a red-and-white candy-cane border wrapped round
   the card. It's a ring drawn OUTSIDE the card (::before, masked to the ring), so the card
   keeps its size, padding and 30px corners and lines up with its neighbours. The stripes drift
   very slowly (one stripe pair every 6 s); still under reduced motion. */
.card--super { position: relative; }
.card--super::before {
  --cane: 9px;
  content: "";
  position: absolute;
  inset: calc(-1 * var(--cane));
  z-index: 0;
  padding: var(--cane);
  border-radius: calc(30px + var(--cane));
  background: repeating-linear-gradient(-45deg, var(--red) 0 9px, var(--white) 9px 18px);
  background-size: 25.46px 25.46px;   /* one stripe pair across the diagonal (18px / sin 45deg) */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  box-shadow: inset 0 0 0 1px rgba(122, 31, 48, 0.18);
  pointer-events: none;
  animation: cane-drift 6s linear infinite;
}
@keyframes cane-drift { to { background-position: 25.46px 0; } }
@media (prefers-reduced-motion: reduce) { .card--super::before { animation: none; } }
.card__well {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 58%, var(--white) 0 42%, rgba(255, 255, 255, 0.55) 72%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Smoothies: every card shares one pink (card and well); only the glass, the line under the
   photo and the Super glow carry each drink's own colour, so they still tell apart at a glance. */
.card.card--swatch { --tint: var(--card-pink); }
.card--swatch .card__well {
  background:
    radial-gradient(circle at 50% 55%, var(--white) 0 30%, rgba(255, 255, 255, 0) 64%),
    color-mix(in srgb, var(--pink) 34%, var(--white));
}
.card__well img.cutout {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(216, 34, 54, 0.22));
  transition: transform 0.5s var(--ease-out);
}
/* Client cutout on a pink well (e.g. the tray chimney cake): contained, never cropped, soft shadow.
   Wide objects get a little more width than the portrait cutouts and sit slightly low, like on a table. */
.card--cutout .card__well {
  /* Candy swirl tints: low contrast against each other so the product, not the swirl, pops */
  --swirl-a: color-mix(in srgb, var(--pink) 58%, var(--white));
  --swirl-b: color-mix(in srgb, var(--pink) 14%, var(--blush-light));
  --swirl-c: color-mix(in srgb, color-mix(in srgb, var(--hotpink) 22%, var(--pink)) 80%, var(--white));
  background: var(--swirl-a);
  isolation: isolate;
}
/* Lollipop swirl (inline SVG from js/main.js swirlSVG): bigger than the well's diagonal so it
   can turn without showing a corner; centred where the product sits. */
.swirl { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.swirl__spin {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 190%;
  height: 190%;
  max-width: none; /* beats the global img/svg max-width reset */
  translate: -50% -50%;
  animation: swirl-turn 140s linear infinite;
}
.swirl__a { fill: var(--swirl-a); }
.swirl__b { fill: var(--swirl-b); }
.swirl__c { fill: var(--swirl-c); }
/* Soft light in the middle calms the swirl right behind the product; the edges keep the candy */
.swirl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 56%, rgba(255, 255, 255, 0.42) 0 14%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 62%);
}
.swirl__sparks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.swirl__spark { fill: var(--white); opacity: 0.9; }
.swirl__spark:nth-child(2n) { fill: var(--hotpink); opacity: 0.75; }
@keyframes swirl-turn { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .swirl__spin { animation: none; } }
.swirl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.card__well img.cutout--wide {
  inset: 6% 4% 6%;
  width: 92%;
  height: 88%;
  object-position: 50% 58%;
  filter: drop-shadow(0 16px 14px rgba(122, 30, 48, 0.22)) drop-shadow(0 4px 4px rgba(122, 30, 48, 0.12));
}
/* Near-square cutouts (e.g. the combo: cup + tray cake) are taller, so they get more room
   at the top for the tag and sit a touch smaller. */
.card__well img.cutout--square { inset: 14% 7% 5%; width: 86%; height: 81%; object-position: 50% 70%; }
@media (hover: hover) {
  .card:hover .card__well img.cutout--wide { transform: rotate(-2deg) scale(1.04); }
}
/* Portrait cutouts (the gelato cups): as tall as the well allows, standing on its lower edge */
.card__well img.cutout--tall { inset: 9% 8% 5%; width: 84%; height: 86%; object-position: 50% 100%; }
@media (hover: hover) {
  .card:hover .card__well img.cutout--tall { transform: rotate(-3deg) scale(1.04); }
}

/* "Photo coming soon" placeholder (an item with no media): the same candy swirl as the photo
   cards, with the category's hand-drawn doodle on a soft white plate and the note below.
   Adding cutoutSet to the item in data/menu.js swaps in the real photo. */
.card__ph {
  display: grid;
  place-items: center;
  width: 44%;
  aspect-ratio: 1;
  margin-bottom: 7%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 30px -16px rgba(122, 30, 48, 0.45), inset 0 0 0 1.5px rgba(216, 34, 54, 0.12);
}
.card__ph svg { width: 68%; height: 68%; overflow: visible; transition: transform 0.5s var(--ease-out); }
@media (hover: hover) {
  .card:hover .card__ph svg { transform: rotate(-6deg) scale(1.06); }
}
.card--ph .card__soon { bottom: var(--space-4); background: var(--white); color: var(--red-text); box-shadow: var(--shadow-soft); }

/* Small price-list card in a photo-card grid (category listCard): the milkshake Extras and
   the gelato Cones. Same outer card; a white panel inside, rows like the price lists. */
.card--list { grid-template-rows: 1fr; }
.card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) var(--space-2);
  border-radius: 22px;
  background: var(--white);
}
.card-list__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--blush);
}
.card-list__titles { display: grid; gap: 0.15rem; min-width: 0; }
.card-list__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--blush-light);
  box-shadow: inset 0 0 0 1px rgba(216, 34, 54, 0.1);
}
.card-list__ico svg { width: 2.15rem; height: 2.15rem; overflow: visible; }
.card-list__sub { font-size: 0.875rem; font-weight: 600; color: var(--red-text); }
.card-list__rows { margin: 0; padding: 0; list-style: none; }
.card-list .row { padding: 0.6rem 0; }
.card-list .row__name small { margin-top: 0.1rem; }
/* A short list (the 2 cones) beside taller photo cards: the spare space becomes a soft candy
   stripe (the pills' hover stripe) instead of empty white. Only in multi-column grids. */
@media (min-width: 768px) {
  .card-list:not(:has(.card-list__rows > :nth-child(4)))::after {
    content: "";
    flex: 1 1 auto;
    min-height: 3rem;
    margin: var(--space-2) 0 var(--space-2);
    border-radius: 14px;
    background: repeating-linear-gradient(-45deg, var(--blush) 0 9px, var(--blush-light) 9px 18px);
  }
}
.card__well picture { display: contents; }
.card__well img.photo { width: 100%; height: 100%; object-fit: cover; }
.card__well .glass { width: auto; height: 62%; filter: drop-shadow(0 12px 14px rgba(122, 42, 56, 0.18)); transition: transform 0.5s var(--ease-out); }
.card__soon {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  translate: -50% 0;
  padding: 0.25rem 0.7rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.card__well .ph-mark { width: 34%; opacity: 0.28; }
.card__tags { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-1); }
.card__tags .tag { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--hotpink), var(--shadow-soft); }
.card__body { display: grid; gap: var(--space-2); align-content: start; padding: 0 var(--space-3) var(--space-3); }
.card__line { display: block; width: 2.5rem; height: 0.3rem; border-radius: var(--pill); background: var(--swatch); }
.card__name {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--red-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__desc { font-size: 0.9375rem; color: var(--ink-soft); }
/* e.g. "+ 1 scoop of ice cream": the name's red so the price step reads at a glance. Small text,
   so it takes --red-text (cherry, 5.07:1 on the darkest card tint), not the brand red (3.89:1). */
.card__desc--accent { color: var(--red-text); font-weight: 600; }
/* Prices use --red-text (cherry): the brand red is only 3.89:1 on the darkest card tint;
   cherry is 5.07:1 there and 6.51:1 on the white price lists. */
.card__price { font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; color: var(--red-text); }
.card__price.is-tbc { color: var(--ink-soft); }

/* Compact price lists, like the printed menu */
.menu-lists { columns: 1; column-gap: var(--space-5); }
@media (min-width: 768px)  { .menu-lists { columns: 2; } }
@media (min-width: 1024px) { .menu-lists { columns: 3; } }
.list-block {
  break-inside: avoid;
  margin: 0 0 var(--space-5);
  border-radius: var(--radius-m);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.list-block__head {
  padding: 0.85rem var(--space-5);
  background: var(--head);
  color: var(--on);
  font-size: 1.375rem;
  line-height: 1.15;
}
.list-block__rows { margin: 0; padding: var(--space-2) var(--space-5) var(--space-3); list-style: none; }
.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(216, 34, 54, 0.2);
}
.row:last-child { border-bottom: 0; }
.row__name { font-weight: 600; color: var(--ink); }
.row__name small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); }
.row__price { flex: none; font-weight: 700; color: var(--red-text); font-variant-numeric: tabular-nums; }
.row__price.is-tbc { color: var(--ink-soft); }
.list-block__note {
  margin: 0 var(--space-5) var(--space-4);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-s);
  background: var(--blush-light);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.empty { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-8) var(--space-4); text-align: center; }
.empty h2 { font-size: var(--fs-h3); }

.order-band {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--red);
  color: var(--white);
  text-align: center;
  justify-items: center;
}
.order-band h2 { color: var(--white); font-size: var(--fs-h2); }
.order-band .order-options { max-width: 46rem; }
@media (min-width: 1024px) { .order-band { padding: var(--space-8); } }

/* ---------- Order page ---------- */
.order-page .order-options { margin-inline: auto; }
.order-page .order-option { min-height: 13rem; }
@media (min-width: 768px) { .order-page .order-option { min-height: 16rem; } }
.order-page .order-option { grid-template-rows: 1fr auto auto; align-content: stretch; }
.order-page .order-option__logo { align-self: start; margin-bottom: 0; }
/* The official H&G cup cutouts can return in the top-right corner of these cards
   (position: absolute; right/top: var(--space-4); ~5.5rem phones, 8rem tablet up). */


/* ---------- Home hero: candy bursting out of a bag ----------
   Layer order inside the hero (it is isolated): blurred candy (1) < bag back (2)
   < flying candy (3) < bag front (4) < headline (6).
   .candies and .bag create no stacking context, so their children interleave. */
.hero { place-items: start center; }
.hero__inner { z-index: 6; padding-top: 0; gap: clamp(0.75rem, 2.2svh, 1.5rem); }
.hero { padding-top: calc(var(--header-h) + clamp(0.5rem, 3svh, 2.5rem)); }
.hero__title { font-size: min(clamp(2.75rem, 1rem + 5.4vw, 7rem), 10.5svh); }
.hero .hero__inner { max-width: 74rem; }
.candies { position: absolute; inset: 0; pointer-events: none; }
.candy {
  position: absolute;
  left: var(--mx, var(--x));
  top: var(--my, var(--y));
  width: var(--mw, calc(var(--w) * 0.62));
  translate: -50% -50%;
  rotate: var(--r, 0deg);
  z-index: 3;
  filter: drop-shadow(0 14px 16px rgba(122, 42, 56, 0.22));
}
.candy img { width: 100%; height: auto; }
.candy--blur { z-index: 1; filter: blur(8px); opacity: 0.45; }
.candy--wide { display: none; }
@media (min-width: 768px) {
  .candy { left: var(--x); top: var(--y); width: calc(var(--w) * 0.8); }
  .candy--wide { display: block; }
}
@media (min-width: 1024px) {
  .candy { width: var(--w); }
}

/* Bag geometry, measured against Ahmed's reference screenshot (1440-wide desktop):
   visible bag ~64vw wide, centred; the highest point of the open top at ~66% of the
   hero height; the rest of the bag runs off the bottom and is cropped.
   The artwork is 4:5 with transparent margins: the bag body spans 95% of the image
   width, the back rim (highest point) is at 5% of the image height (0.0625 x width)
   and the front scalloped rim is at 16.5% (0.206 x width).
   --bag-w = image width, --rim = highest point of the opening (share of hero height).
   Both live on .hero so the mouth candies can be placed relative to the opening. */
.hero { --bag-w: 110vw; --rim: 72%; }
@media (min-width: 480px)  { .hero { --bag-w: 104vw; --rim: 71%; } }
@media (min-width: 768px)  { .hero { --bag-w: 84vw;  --rim: 68%; } }
@media (min-width: 1024px) { .hero { --bag-w: 67vw;  --rim: 66%; } }

.bag {
  /* One box for both layers, full hero height. No transform on .bag or .candies:
     a transform would create a stacking context and the candy could no longer
     slip between the two bag layers. */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--bag-w);
  margin-left: calc(var(--bag-w) / -2);
  pointer-events: none;
}
.bag img {
  position: absolute;
  left: 0;
  top: calc(var(--rim) - var(--bag-w) * 0.0625);
  width: 100%;
  height: auto;
}
.bag__back { z-index: 2; filter: drop-shadow(0 30px 60px rgba(216, 34, 54, 0.25)); }
.bag__front { z-index: 4; }

/* Candy peeking out of the opening: placed relative to the rim, so the front
   panel always hides its lower half, at every breakpoint. */
.candy.candy--mouth { top: calc(var(--rim) + var(--bag-w) * var(--dy, 0.09)); }

/* Big soft clouds over the lower sides of the bag, as in the reference */
.sky--hl, .sky--hr { z-index: 5; }
.sky--hl { --w: 70vw; left: -24vw; bottom: -6%; --drift: 22s; }
.sky--hr { --w: 74vw; right: -26vw; bottom: -4%; }
@media (min-width: 768px) {
  .sky--hl { --w: 46vw; left: -10vw; bottom: -10%; }
  .sky--hr { --w: 48vw; right: -12vw; bottom: -6%; }
}
@media (min-width: 1024px) {
  .sky--hl { --w: 40vw; left: -6vw; bottom: -12%; }
  .sky--hr { --w: 40vw; right: -6vw; bottom: -8%; }
}



/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .dust, .sky img, .cloud-bank img { animation: none !important; }
  /* Match the motion version's resting position, so the bag logo stays clear of the clouds */
  .cloud-bank__img--main { translate: 0 12%; }
}

.site-header__links .nav-order[aria-current="page"] { text-decoration: none; box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--red); }

/* Order page: leave room on the right for the cup cutout so it never covers the label */
.order-page .order-option { padding-right: 7.5rem; }
@media (min-width: 768px) { .order-page .order-option { padding-right: 9.5rem; } }



/* Hero without buttons: the copy block sits a little lower, centred in the space above the bag */
.hero .hero__inner { padding-top: clamp(0.5rem, 7svh, 5rem); }

/* ---------- Steps: 5 video cards ----------
   Phones and tablets: a swipeable row with scroll-snap; the next card peeks in and a
   small hint sits under the row. Desktop (1024+): all 5 in one row, staggered. */
.steps {
  grid-auto-columns: 72%;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.step { scroll-snap-align: start; align-content: start; }
.steps__hint {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  max-width: var(--max);
  margin: var(--space-2) auto 0;
  padding-inline: var(--gutter);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
}
.steps__hint svg { width: 1rem; height: 1rem; animation: hint-nudge 1.8s var(--ease-in-out) infinite; }
@keyframes hint-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@media (min-width: 768px) { .steps { grid-auto-columns: 38%; } }
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: clamp(0.5rem, 0.8vw, 1rem);
    max-width: none;
    padding-inline: clamp(1rem, 1.6vw, 2rem);
  }
  .steps__hint { display: none; }
  .step h3 { font-size: clamp(1.25rem, 0.8rem + 0.9vw, 1.75rem); }
}
@media (prefers-reduced-motion: reduce) { .steps__hint svg { animation: none; } }

/* ---------- Hero motion (Bombon-style) ----------
   Candy flies in front of the copy, as in the reference: copy (2) < flying candy (3)
   < bag front (4). The copy never overlaps the bag, so it can sit at the bag-back level. */
/* Copy sits ABOVE every candy layer (blur 1, bag back 2, flying/hovering candy 3,
   bag front 4, side clouds 5). It never overlaps the bag, so the bag sandwich still works. */
.hero .hero__inner { z-index: 6; }
/* A soft glow hugging the letters only (no block veil), so candy passing behind stays bright */
.hero__title { text-shadow: 0 0 22px rgba(251, 240, 243, 0.9), 0 0 6px rgba(251, 240, 243, 0.8); }
.hero__sub { text-shadow: 0 0 10px rgba(251, 240, 243, 0.95), 0 0 3px rgba(251, 240, 243, 0.9); }
/* Sharp hovering candies and extra stream pieces are created from data/candy.js */
.candy--extra { visibility: hidden; }
.hero-pending .candy--hover { visibility: hidden; }
.hero__title .hw { display: inline-block; will-change: transform; }
.hero__sub .sw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.1em; margin-block: -0.1em; }
.hero__sub .sw { display: inline-block; will-change: transform; }
/* Empty canvas until the hero starts: no candy of any kind above the rim at first paint.
   main.js then stows every piece inside the bag (or below the hero) before revealing it. */
.hero-pending .hero__title, .hero-pending .hero__sub, .hero-pending .candy { visibility: hidden; }

/* ---------- Reviews (home, between the steps and Visit) ----------
   Rating badge beside the headline, then a slow endless row of review cards in soft
   candy tints. js/main.js drifts the track (transform) and hands over to a native
   scroll-snap row when someone touches, wheels or keyboard-focuses it. */
.reviews { padding-bottom: var(--space-4); overflow-x: clip; }
.reviews__head {
  display: grid;
  gap: var(--space-5);
  justify-items: start;
  margin-bottom: var(--space-6);
}
.reviews__head h2 { font-size: var(--fs-h2); max-width: 15ch; }
@media (min-width: 768px) {
  .reviews__head { grid-template-columns: 1fr auto; align-items: end; gap: var(--space-6); margin-bottom: var(--space-7); }
}

/* Rating badge: a link to the Google listing, not a button */
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4);
  border-radius: var(--radius-m);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.rating:focus-visible { outline: none; box-shadow: var(--ring); }
@media (hover: hover) { .rating:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }
.rating__num { font-family: var(--font-display); font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1; color: var(--red); }
.rating__meta { display: grid; gap: 0.3rem; }
.rating__count { font-size: var(--fs-small); font-weight: 600; color: var(--blue-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue-ink) 40%, transparent); text-underline-offset: 0.2em; }

/* Stars: a pale row with a red row clipped on top (the badge fills 4.6 of 5) */
.stars {
  --s: 1.05rem;
  --g: 0.15rem;
  position: relative;
  display: inline-block;
  line-height: 0;
  color: var(--red);
}
.stars__base, .stars__fill { display: flex; gap: var(--g); }
.stars svg { width: var(--s); height: var(--s); flex: none; fill: currentColor; }
.stars__base { color: var(--star-empty); }
.stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  width: calc(var(--whole) * (var(--s) + var(--g)) + var(--part) * var(--s));
}
.stars--badge { --s: 1.2rem; }

/* The row */
.marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-block: var(--space-3) var(--space-5);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 6px var(--blue); border-radius: var(--radius-m); }
.marquee__track {
  display: flex;
  width: max-content;
  column-gap: var(--space-4);
  padding-inline: var(--gutter);
  will-change: transform;
}
.marquee.is-drifting { scroll-snap-type: none; }
.marquee.is-drifting.is-user { scroll-snap-type: x mandatory; }
.marquee.is-drifting .marquee__track { padding-inline: 0; }
.marquee__set { display: flex; column-gap: inherit; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .marquee__track { column-gap: var(--space-5); } }

/* A card */
.review {
  scroll-snap-align: start;
  flex: none;
  width: clamp(16rem, 78vw, 22rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5) var(--space-5);
  border-radius: 2rem;
  background: var(--tint-strawberry);
  color: var(--ink);
}
@media (min-width: 1024px) { .review { width: 23rem; padding: var(--space-6); } }
.review--sour { background: var(--tint-sour); }
.review--lilac { background: var(--tint-lilac); }
.review--peach { background: var(--tint-peach); }
.review--liquorice { background: var(--tint-liquorice); }
.review__text { margin: 0; }
.review__text p { margin: 0; font-size: 1.0625rem; line-height: 1.55; font-weight: 500; }
.review__by { margin: 0; display: grid; gap: 0.1rem; }
.review__name { font-weight: 700; }
.review__src { font-size: var(--fs-small); color: var(--ink-soft); }
/* Letter avatar instead of the reviewer's profile photo (privacy: no customer photos) */
.review__who { display: flex; align-items: center; gap: 0.75rem; }
.review__avatar {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display, "Dela Gothic One", sans-serif); font-size: 1.05rem; line-height: 1;
  color: #fff; background: var(--red, #D82236);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}
.review__avatar--1 { background: var(--cherry, #B71C32); }
.review__avatar--2 { background: var(--hotpink, #FA1B90); }
.review__avatar--3 { background: var(--blue, #186FFF); }
/* Preview-only cards: dashed edge so nobody mistakes them for real reviews */
.review--placeholder { outline: 2px dashed rgba(122, 42, 56, 0.35); outline-offset: -8px; }
.review--placeholder .review__text p { font-style: italic; color: var(--ink-soft); }

/* ---------- Footer (2026-11-17, v3): a short, centred stack on a cloud bank ----------
   Logo, the three social icons and one credit line, centred and sitting on clouds.
   Layers, back to front: cloud bank (.footer__clouds) > candy doodles > front puffs >
   the content, so clouds and candy frame the text but never cover it. */
.footer {
  position: relative;
  background: linear-gradient(to bottom, var(--footer-from, var(--blush)) 0, var(--blush) 9rem);
  overflow: clip;
}
.footer--from-cream { --footer-from: var(--cream); }
.footer__clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; user-select: none; }
.footer__cloud { position: absolute; max-width: none; height: auto; mix-blend-mode: screen; filter: brightness(1.06); }
.footer__cloud--back { width: 230vw; left: -60vw; bottom: -10%; scale: -1 1; opacity: 0.9; animation: sky-drift 34s ease-in-out infinite alternate-reverse; }
.footer__cloud--main { width: 250vw; left: -80vw; bottom: -30%; animation: sky-drift 26s ease-in-out infinite alternate; }
/* white fog at the very bottom so the page ends inside the cloud */
.footer__fog {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 45%, var(--cloud-white) 100%);
}

.footer__stage {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: var(--space-7) var(--gutter) var(--space-7);
}
.footer__inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  text-align: center;
}
.footer__logo { width: 4rem; }
.footer__credit { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }
/* two centred lines on narrow phones, one line with a middle dot from 360px (the copy is ~300px wide) */
.footer__credit > span:not(.footer__sep) { display: block; white-space: nowrap; }
.footer__sep { display: none; }
@media (min-width: 360px) {
  .footer__credit > span:not(.footer__sep) { display: inline; }
  .footer__sep { display: inline; }
}
.footer__credit a { color: var(--blue-ink); font-weight: 600; text-decoration: none; border-radius: 4px; }
.footer__credit a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.footer__credit a:focus-visible { outline: none; box-shadow: var(--ring); }

/* Candy doodles + the small puffs they peek out of (decorative, aria-hidden) */
.footer__doodles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* the lollipop and the cane sit behind the puffs (they peek out), the sweet and the star in front */
.footer__doodle--lolly, .footer__doodle--cane { z-index: 1; }
.footer__doodle--sweet, .footer__doodle--star { z-index: 3; }
.footer__doodle { position: absolute; display: block; animation: doodle-bob var(--bob, 5s) var(--ease-in-out) infinite alternate; animation-delay: var(--bob-delay, 0s); }
.footer__doodle svg { display: block; width: 100%; height: auto; overflow: visible; rotate: var(--tilt, 0deg); }
@keyframes doodle-bob {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-6px) rotate(3deg); }
}
.footer__doodle--lolly { width: 2.6rem; left: 5%; top: 18%; --tilt: -14deg; --bob: 5.2s; }
.footer__doodle--cane  { width: 2.1rem; right: 7%; top: 16%; --tilt: 12deg; --bob: 4.6s; --bob-delay: -1.8s; }
.footer__doodle--sweet { width: 4rem; left: 2%; top: 52%; --tilt: -10deg; --bob: 4.2s; --bob-delay: -2.6s; }
.footer__doodle--star  { width: 2.4rem; right: 4%; top: 50%; --tilt: 14deg; --bob: 3.8s; --bob-delay: -0.9s; }
.footer__puff { position: absolute; z-index: 2; max-width: none; height: auto; filter: brightness(1.06); }
.footer__puff--l { width: 8.5rem; left: -2.25rem; top: 34%; }
.footer__puff--r { width: 9rem; right: -2.75rem; top: 30%; scale: -1 1; }
@media (min-width: 768px) {
  .footer__stage { padding: var(--space-8) var(--space-6) var(--space-7); }
  .footer__logo { width: 4.5rem; }
  .footer__cloud--back { width: 150vw; left: -25vw; bottom: -22%; }
  .footer__cloud--main { width: 140vw; left: -20vw; bottom: -46%; }
  .footer__doodle--lolly { width: 4rem; left: 8%; top: 10%; }
  .footer__doodle--cane  { width: 3.2rem; right: 12%; top: 13%; }
  .footer__doodle--sweet { width: 6rem; left: 17%; top: 56%; }
  .footer__doodle--star  { width: 3.4rem; right: 4%; top: 48%; }
  .footer__puff--l { width: 15rem; left: 0; top: 30%; }
  .footer__puff--r { width: 16rem; right: 2%; top: 30%; }
}
@media (min-width: 1024px) {
  .footer__cloud--back { width: 118vw; left: -9vw; bottom: -30%; }
  .footer__cloud--main { width: 112vw; left: -6vw; bottom: -52%; }
}

/* the sketch itself: soft brand fills, a wobbly dark-crimson pen line */
.doodle-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.doodle .d-line { fill: none; stroke: var(--doodle-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.doodle .d-line--2 { stroke-width: 1.4; opacity: 0.45; }
.doodle .d-line--thin { stroke-width: 1.8; }
.doodle .d-pink { fill: var(--doodle-pink); }
.doodle .d-pink-light { fill: var(--doodle-pink-light); }
.doodle .d-cream { fill: var(--doodle-cream); }
.doodle .d-red { fill: var(--red); }
.doodle .d-mint { fill: var(--doodle-mint); }
.doodle .d-mint-deep { fill: var(--doodle-mint-deep); }
.doodle .d-lemon { fill: var(--doodle-lemon); }
.doodle .d-mint, .doodle .d-mint-deep { stroke: var(--doodle-line); stroke-width: 2.4; stroke-linejoin: round; }
.doodle .d-band { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.doodle .d-band--red { stroke: var(--red); stroke-width: 7; }
.doodle .d-band--white { stroke: var(--white); stroke-width: 3; opacity: 0.85; }
.doodle .d-band--cream { stroke: var(--doodle-cream); stroke-width: 7; }
.doodle .d-shine { fill: none; stroke: var(--white); stroke-width: 3.2; stroke-linecap: round; opacity: 0.9; }
.doodle .d-cane-out { fill: none; stroke: var(--doodle-line); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.doodle .d-cane-in { fill: none; stroke: var(--doodle-cream); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.doodle .d-cane-stripe { fill: none; stroke: var(--red); stroke-width: 16; stroke-dasharray: 9 10; }

/* Donuts trail (2026-11-17): hand-drawn donuts bobbing along a crumb trail in the free cells
   beside the donut card(s). Decorative (aria-hidden). js/main.js fitTrails() spans it over the
   free cells and shows 2-4 donuts; with no free cell it hides; on phones it's a small strip. */
.donut-trail {
  --n: 4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: var(--space-2);
  min-height: 9rem;
  padding: var(--space-4) var(--space-2) var(--space-6);
  list-style: none;
  container-type: inline-size;
}
.donut-trail[hidden], .dt__item[hidden] { display: none; }
.dt__crumbs {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 40%;
  overflow: visible;
}
.dt__crumbs path { fill: none; stroke: var(--doodle-caramel); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0 15; vector-effect: non-scaling-stroke; opacity: 0.9; }
.dt__item {
  position: relative;
  flex: 0 1 auto;
  width: min(11rem, calc((100cqw - var(--n) * 1rem) / var(--n)));
  animation: dt-bob 3.6s var(--ease-in-out) infinite;
  animation-delay: calc(var(--i) * -0.9s);
}
.dt__item:nth-child(odd) { margin-top: 1.5rem; }    /* a loose, hand-placed line, not a ruler */
.dt__item::after {   /* soft shadow on the ground; shrinks as the donut lifts */
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -10%;
  height: 10%;
  border-radius: 50%;
  background: rgba(122, 31, 48, 0.14);
  filter: blur(3px);
  animation: dt-shadow 3.6s var(--ease-in-out) infinite;
  animation-delay: inherit;
}
.dt__donut { display: block; width: 100%; height: auto; overflow: visible; }
.dt__item:nth-child(3) .dt__donut { rotate: -8deg; }
.dt__item:nth-child(4) .dt__donut { rotate: 10deg; }
.dt__item:nth-child(5) .dt__donut { rotate: -4deg; }
.doodle .d-dough { fill: var(--doodle-caramel); }
.doodle .d-crumb { fill: #F7DDB0; }
.doodle .d-spr { fill: none; stroke-width: 4.2; stroke-linecap: round; }
.doodle .d-spr--red { stroke: var(--red); }
.doodle .d-spr--white { stroke: var(--white); }
.doodle .d-spr--lemon { stroke: #F0B43C; }
.doodle .d-spr--mint { stroke: #57B98E; }
@keyframes dt-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-4deg); }
}
@keyframes dt-shadow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.6; }
}
/* Phones (one column): a small strip of three under the card */
.donut-trail--strip { min-height: 0; padding: var(--space-2) var(--space-4) var(--space-5); }
.donut-trail--strip .dt__item { width: min(6.5rem, 26%); }
.donut-trail--strip .dt__item:nth-child(odd) { margin-top: 0.75rem; }
@media (prefers-reduced-motion: reduce) {
  .dt__item, .dt__item::after { animation: none; }
}

/* Footer social icons: same size, 44px targets, a small lift on hover */
.socials--footer { gap: var(--space-3); }
.socials--footer a {
  width: 2.75rem;
  height: 2.75rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}
.socials--footer svg { width: 1.3rem; height: 1.3rem; }
.socials--footer a:focus-visible { outline: none; box-shadow: var(--ring); }
@media (hover: hover) {
  .socials--footer a[href]:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow-lift); }
}

@media (prefers-reduced-motion: reduce) {
  .footer__cloud, .footer__doodle { animation: none !important; }
  .rating, .socials--footer a { transition: none; }
}

/* ==========================================================================
   Palette pass (2026-11-18): brand red, deep cherry, hot pink, electric blue, cream
   ========================================================================== */

/* ---------- Reviews: the one bold section (deep cherry, like H&G London) ----------
   The section itself stays cream (the colour around it); the cherry block is ::before,
   masked with a scalloped top and bottom edge, so the scallops show cream behind them on
   any width. ::after is a white hand-drawn wavy line just inside each scalloped edge. */
.reviews {
  --sc: 0.875rem;                          /* scallop radius */
  --wave-h: 0.75rem;
  isolation: isolate;
  background: var(--cream);
  color: var(--white);
  padding-block: calc(var(--space-8) + var(--sc)) calc(var(--space-7) + var(--sc));
}
@media (min-width: 768px) { .reviews { --sc: 1.25rem; } }
@media (min-width: 1024px) { .reviews { padding-block: calc(var(--space-9) + var(--sc)) calc(var(--space-8) + var(--sc)); } }
.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cherry);
  -webkit-mask:
    radial-gradient(circle var(--sc) at 50% 100%, #000 calc(100% - 0.5px), transparent) 50% 0 / calc(var(--sc) * 2) var(--sc) repeat-x,
    radial-gradient(circle var(--sc) at 50% 0, #000 calc(100% - 0.5px), transparent) 50% 100% / calc(var(--sc) * 2) var(--sc) repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--sc) - 1px) / 100% calc(100% - var(--sc) * 2 + 2px) no-repeat;
  mask:
    radial-gradient(circle var(--sc) at 50% 100%, #000 calc(100% - 0.5px), transparent) 50% 0 / calc(var(--sc) * 2) var(--sc) repeat-x,
    radial-gradient(circle var(--sc) at 50% 0, #000 calc(100% - 0.5px), transparent) 50% 100% / calc(var(--sc) * 2) var(--sc) repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--sc) - 1px) / 100% calc(100% - var(--sc) * 2 + 2px) no-repeat;
}
.reviews::after {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'%3E%3Cpath d='M0 6.5C8 1.5 15 1 22 5.5S36 11.5 43 6.8 56 .8 64 6.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  content: "";
  position: absolute;
  inset: calc(var(--sc) + 0.85rem) 0;
  z-index: -1;
  pointer-events: none;
  background: var(--white);
  opacity: 0.55;
  -webkit-mask:
    var(--wave) 0 0 / 4rem var(--wave-h) repeat-x,
    var(--wave) 1.3rem 100% / 4rem var(--wave-h) repeat-x;
  mask:
    var(--wave) 0 0 / 4rem var(--wave-h) repeat-x,
    var(--wave) 1.3rem 100% / 4rem var(--wave-h) repeat-x;
}
.reviews h2 { color: var(--white); }
/* the marquee's side fade shows the cherry; the review cards stay light so they pop */
.reviews .review { box-shadow: 0 18px 30px -18px rgba(40, 6, 14, 0.55); }
.reviews .rating { box-shadow: 0 18px 30px -18px rgba(40, 6, 14, 0.55); }
/* a little white hand-drawn sparkle by the headline */
.reviews__head h2 { position: relative; }
.reviews__head h2::after {
  content: "";
  position: absolute;
  right: -0.2em;
  top: -0.45em;
  width: 0.55em;
  height: 0.55em;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M0-10C.8-3 3-.9 10 0 3 .9.8 3 0 10-.8 3-3 .9-10 0-3-.9-.8-3 0-10Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M0-10C.8-3 3-.9 10 0 3 .9.8 3 0 10-.8 3-3 .9-10 0-3-.9-.8-3 0-10Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

/* ---------- Menu page rhythm: every other category sits on a cream band ----------
   Full-bleed band behind the boxed .wrap content (border-image trick, no extra markup),
   fading in and out at top and bottom so pink and cream melt into each other. */
.menu-cat:nth-of-type(even), .menu-more:nth-of-type(even) {
  border-image: linear-gradient(to bottom,
    color-mix(in srgb, var(--cream) 0%, transparent) 0,
    var(--cream) var(--space-7),
    var(--cream) calc(100% - var(--space-5)),
    color-mix(in srgb, var(--cream) 0%, transparent) 100%) fill 0 / / 0 100vw;
  padding-bottom: var(--space-5);
}

/* ---------- Doodle accents: a little hot pink and blue in the candy ---------- */
.doodle--sweet .d-pink-light { fill: var(--blue-candy); }                 /* footer wrapped sweet */
.dt__item:nth-child(5) .d-pink-light { fill: var(--blue-candy); }         /* one donut in the trail */
.doodle .d-spr--red { stroke: var(--hotpink); }                           /* donut sprinkles */
:is(.pill__ico, .card__ph, .card-list__ico) .ln--sprinkle { stroke: var(--hotpink); }
