/* ===========================================================================
   550 PIZZERIA - homepage styles (vanilla port of the Claude Design UI kit)
   Hand-painted poster / scrapbook: ink + cream surfaces, gold & red accents,
   sticker shadows, taped polaroids, chunky outlines, animated doodles.
   =========================================================================== */
@import url('tokens-fonts.css');
@import url('tokens-colors.css');
@import url('tokens-typography.css');
@import url('tokens-spacing.css');
@import url('tokens-effects.css');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); }
body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { -webkit-user-drag: none; user-select: none; }
.rounded { font-family: 'Kids Abah Funny', 'Fredoka', system-ui, sans-serif; }

/* ===========================================================================
   PAGE SHELL - sticky hero stage + content scrolling up over it
   =========================================================================== */
.page { position: relative; background: var(--ink); }

/* ===========================================================================
   STAGE - hero + oven transition share ONE pin. A single pizza travels from
   the hero down into the brick oven; the oven fire/cream frame-sequence fades
   in beneath it; then the cream resolves and the content (over the looping
   cream-doodle video) reveals.
   =========================================================================== */
/* the scene's final cream-doodle frame, held static behind the content for the rest of the site */
.bg-still {
  position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  z-index: 0; opacity: 0; pointer-events: none; background: var(--cream); will-change: opacity;
}
/* second scrubbed scene - fixed behind the Gallery/Reviews/end content (above the static bg) */
.scene2-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 1; opacity: 0; pointer-events: none; will-change: opacity;
}

/* hand-drawn doodle ring on the portal edge (JS sizes/positions it to the portal) */
.portal-ring {
  position: absolute; left: 50%; top: 72%; width: 0; height: 0;
  transform: translate(-50%, -50%); overflow: visible; z-index: 32; opacity: 0;
  pointer-events: none; will-change: width, height, opacity;
}

/* total scroll length of the whole hero->oven->cream scene (lower = About arrives sooner) */
.stage { position: relative; height: 220svh; background: transparent; z-index: 2; }
/* transparent pin so the fixed loop shows through once the oven canvas fades out at cream */
.stage-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: transparent; }
/* hero backdrop - fills the whole viewport (cover) on any window aspect; composition sits on top */
.hero-bg-fill {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  display: block; z-index: 8; pointer-events: none; will-change: opacity; background: var(--ink);
}

/* dark seam at the bottom of the hero - the pizza + tray overhang onto it (fades with the hero) */
.stage-seam {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26svh; z-index: 12; pointer-events: none;
  background: linear-gradient(to bottom, rgba(22,11,5,0) 0%, rgba(22,15,9,0.82) 55%, var(--ink) 90%);
}

/* oven fire/cream - opens as a portal FROM the pizza (sits above it, clipped to a growing circle) */
.oven-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 30; opacity: 0; background: #160b05; }
.oven-glow { position: absolute; inset: 0; pointer-events: none; z-index: 31; opacity: 0; }

/* the single pizza lives INSIDE the hero, behind the wordmark/banner (z2) so it never covers them.
   Centered so the oven portal opens from its middle. */
.journey-pizza {
  position: absolute; left: 12%; top: 42%; width: 76%; height: 76%;
  z-index: 2; transform-origin: center; pointer-events: none; will-change: transform, opacity;
}
.journey-pizza .jp {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 26px 32px rgba(0,0,0,.45)); will-change: opacity;
}
.journey-pizza .jp-top { opacity: 0; }

/* About sits ABOVE the stage (z3 > stage z2) and is pulled UP by --about-overlap so its
   first screen is already positioned over the pinned cream. Its content stays hidden
   (.reveal opacity 0) until the cream resolves, then assembles IN PLACE (scrapbook) -
   it does not slide up from below, because it is already where it lands. */
.content {
  position: relative; z-index: 3; background: transparent;
  margin-top: var(--about-overlap, -128svh);
}

/* ===========================================================================
   HERO - 1280×854 design frame, layers positioned as % of the frame.
   Sits at the top of the pin; ink shows below = the seam the pizza overhangs.
   =========================================================================== */
/* the hero composition fits INSIDE the viewport (contain): width-driven on tall
   windows, but capped by height on wide/short windows so the bottom row (CTAs +
   bubble + pizza) never overflows below the fold. Centered when height-capped. */
.hero {
  position: absolute; left: 50%; top: 0;
  width: min(100%, calc(100svh * 1280 / 854)); transform: translateX(-50%);
  aspect-ratio: 1280 / 854;
  overflow: visible; container-type: inline-size; perspective: 1200px;
  z-index: 10; will-change: opacity;
}
.hero__fg {
  position: absolute; left: 50%; top: 0;
  width: min(100%, calc(100svh * 1280 / 854)); transform: translateX(-50%);
  aspect-ratio: 1280 / 854;
  container-type: inline-size; z-index: 35; will-change: opacity;
}
/* outer layer = parallax box (JS sets translate); inner img = rotate + hover */
.hero__layer { position: absolute; transform-origin: center; will-change: transform; }
.hero__layer > img {
  width: 100%; height: 100%; display: block; transform-origin: center;
  transform: rotate(var(--rot, 0deg));
  transition: transform 220ms var(--ease-pop), filter 220ms ease;
}
.hero__plain { pointer-events: none; }
.hero__plain.is-bg { object-fit: fill; }
.hero__doodle { pointer-events: none; object-fit: fill; }
.hero__interactive { cursor: pointer; pointer-events: auto; }
.hero__interactive:hover {
  transform: rotate(calc(var(--rot, 0deg) + 5deg)) scale(var(--hov, 1.14));
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.28));
}
.hero__wordmark { object-fit: contain; filter: drop-shadow(5px 6px 0 var(--red-deep)); cursor: pointer; }
.hero__wordmark:hover {
  transform: rotate(var(--rot, 0deg)) scale(1.05);
  filter: drop-shadow(5px 6px 0 var(--red-deep)) drop-shadow(0 6px 14px rgba(0,0,0,.28));
}
.hero__halo {
  pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(20,16,11,0.62) 0%, rgba(20,16,11,0.38) 45%, rgba(20,16,11,0) 72%);
  filter: blur(8px);
}

/* ---- gold brush tagline banner (real asset, text baked in) ---- */
.hero__banner {
  position: absolute; z-index: 6; transform: rotate(-1deg); transition: transform 220ms var(--ease-pop);
}
.hero__banner img { width: 100%; height: auto; display: block;
  filter: drop-shadow(0 5px 10px rgba(14,12,9,.28)); }
.hero__banner:hover { transform: rotate(1deg) scale(1.03); }

/* ---- speech bubble (real gold blob + live copy) ---- */
.hero__bubble {
  position: absolute; z-index: 7; transition: transform 220ms var(--ease-pop);
}
.hero__bubble:hover { transform: rotate(3deg) scale(1.06); }
.hero__bubble-art {
  position: relative; width: 100%; height: auto; display: block;   /* sizes the bubble; text overlays it */
  filter: drop-shadow(2px 4px 0 rgba(14,12,9,.35));
}
.hero__bubble-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.04em;
  font-weight: 400; text-transform: uppercase; line-height: 1.02; text-align: center;
  color: var(--ink); font-size: clamp(11px, 2.05cqw, 30px);
  transform: rotate(-3deg); padding-bottom: 22%;
}
.hero__bubble-text .accent { color: var(--red); }

/* ---- nav ---- */
.hero__nav {
  position: absolute; top: 11%; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5.5%;
}
.hero__nav-group { display: flex; align-items: center; gap: 3cqw; flex: 1; min-width: 0; }
.hero__nav-group--right { justify-content: flex-end; }
.hero__nav-center { flex: 0 0 26%; }
.nav-dot { width: 0.55cqw; height: 0.55cqw; border-radius: 50%; background: var(--red);
  flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.nav-link {
  position: relative; background: none; border: none; cursor: pointer; padding: 7px 4px;
  font-family: 'Kids Abah Funny', 'Fredoka', system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 400; white-space: nowrap;
  font-size: 1.55cqw; color: var(--cream);
  text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.75);
  transition: color 160ms ease, transform 160ms ease;
}
.nav-link:hover { color: var(--gold); transform: translateY(-1px); }
.nav-link .underline {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 0.7em;
  overflow: visible; pointer-events: none;
}
.nav-link .underline path {
  stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .85;
  transition: stroke-dashoffset 340ms cubic-bezier(.45,.05,.25,1), opacity 120ms ease;
}
.nav-link:hover .underline path { stroke-dashoffset: 0; opacity: 1; }

/* ---- CTAs ---- */
.hero__ctas {
  position: absolute; left: 50%; top: 79.5%; transform: translate(-50%,-50%);
  z-index: 30; display: flex; gap: clamp(12px, 3.4cqw, 48px); white-space: nowrap;
}
/* responsive: scale with the frame width so they never blow up on narrow windows */
.cta {
  position: relative; width: clamp(116px, 19cqw, 268px); height: clamp(38px, 5.6cqw, 80px);
  padding: 0; border: none; background: transparent; cursor: pointer;
  transition: transform 130ms var(--ease-pop);
}
.cta:hover { transform: translateY(-3px) scale(1.04); }
.cta:active { transform: translateY(2px) scale(0.99); }
.cta__face {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Kids Abah Funny', 'Fredoka', system-ui, sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(0.78rem, 1.85cqw, 1.6rem); color: var(--cream);
}
.cta__face--red { background: var(--red); }
.cta__face--ink { background: var(--ink); }
.cta__frame {
  position: absolute; top: 50%; left: 50%;
  width: clamp(220px, 33cqw, 520px); height: clamp(220px, 33cqw, 520px);
  transform: translate(-50%,-50%); pointer-events: none;
}

/* ===========================================================================
   ABOUT - cream section, torn top, copy + taped polaroid cluster
   =========================================================================== */
.about {
  position: relative; z-index: 1; background: transparent;  /* looping cream-doodle video shows through */
  padding: clamp(96px, 11vw, 165px) clamp(20px,5vw,72px) clamp(40px,4vw,64px);
  overflow: visible;
}
.about__seam { display: none; }  /* transition is the oven video now, no torn-paper seam */
.about__grid {
  max-width: 1240px; margin: 0 auto; position: relative; display: grid;
  grid-template-columns: minmax(240px,0.78fr) minmax(440px,1.34fr);
  gap: clamp(24px,3vw,48px); align-items: start;
}
/* ---- sketch-style reveal: the About is "drawn onto the paper" element by element ---- */
.reveal { opacity: 0; }
.is-revealed .reveal { opacity: 1; }

@keyframes sketchIn { from { opacity: 0; transform: translateY(-12px) rotate(-1deg); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; } }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
/* heading is "stamped" down onto the page */
@keyframes stampIn { 0% { opacity: 0; transform: translateY(-20px) rotate(-3deg) scale(1.14); }
  55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* a photo FALLS from above-left, overshoots, and settles into its taped tilt (--rot) */
@keyframes dropPin {
  0%   { opacity: 0; transform: translate(-22px, -58px) rotate(calc(var(--rot, 0deg) - 11deg)) scale(.9); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0,0) rotate(var(--rot, 0deg)) scale(1); } }

/* the red marker underline literally draws in */
.about__underline path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-revealed .about__underline path { animation: drawStroke .85s ease .42s forwards; }

/* copy is written/stamped onto the cream page, staggered */
.is-revealed .about__h       { animation: stampIn .5s var(--ease-pop) both; }
.is-revealed .about__kicker  { animation: sketchIn .5s var(--ease-out) .26s both; }
.is-revealed .about__body p:nth-of-type(1) { animation: sketchIn .46s var(--ease-out) .42s both; }
.is-revealed .about__body p:nth-of-type(2) { animation: sketchIn .46s var(--ease-out) .54s both; }
.is-revealed .about__body p:nth-of-type(3) { animation: sketchIn .46s var(--ease-out) .66s both; }
.is-revealed .about__cta-row { animation: sketchIn .46s var(--ease-out) .80s both; }

/* each framed photo DROPS IN, then its tape lands on TOP after, one polaroid after another */
@keyframes dropShot { 0% { opacity: 0; transform: translateY(-56px) scale(.9); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes tapeOn  { 0% { opacity: 0; transform: translateX(-50%) translateY(-30px) rotate(calc(var(--tape-rot,-4deg) - 13deg)) scale(1.18); }
  100% { opacity: 1; transform: translateX(-50%) rotate(var(--tape-rot,-4deg)); } }
.polaroid__shot, .polaroid__tape, .polaroid__cap { opacity: 0; }
.is-revealed .about__main .polaroid__shot { animation: dropShot .60s var(--ease-pop) .30s both; }
.is-revealed .p1 .polaroid__shot          { animation: dropShot .54s var(--ease-pop) .54s both; }
.is-revealed .p2 .polaroid__shot          { animation: dropShot .54s var(--ease-pop) .68s both; }
.is-revealed .p3 .polaroid__shot          { animation: dropShot .54s var(--ease-pop) .82s both; }
.is-revealed .about__main .polaroid__tape { animation: tapeOn .40s var(--ease-pop) .58s both; }
.is-revealed .p1 .polaroid__tape          { animation: tapeOn .38s var(--ease-pop) .82s both; }
.is-revealed .p2 .polaroid__tape          { animation: tapeOn .38s var(--ease-pop) .96s both; }
.is-revealed .p3 .polaroid__tape          { animation: tapeOn .38s var(--ease-pop) 1.10s both; }
.is-revealed .p1 .polaroid__cap { animation: sketchIn .5s var(--ease-out) .96s both; }
.is-revealed .p2 .polaroid__cap { animation: sketchIn .5s var(--ease-out) 1.10s both; }
.is-revealed .p3 .polaroid__cap { animation: sketchIn .5s var(--ease-out) 1.24s both; }
.about__badge { opacity: 0; }
.is-revealed .about__badge { animation: popIn .5s var(--ease-pop) .56s both; }

.about__copy { position: relative; padding-top: 24px; transform: translate(var(--tx, 0px), var(--ty, 0px)); }

/* ---- drag-to-position edit mode (About + Gallery; toggled from the layout editor / E key) ---- */
.editing .polaroid,
.editing .about__badge,
.editing .about__copy { cursor: grab; outline: 2px dashed rgba(206,32,39,.6); outline-offset: 4px; }
.editing .polaroid__tape { cursor: grab; pointer-events: auto; outline: 2px dashed rgba(246,183,30,.9); }
/* hero doodles + gold streak become draggable in edit mode */
.hero.editing .hero__doodle, .hero.editing .hero__banner { cursor: grab; pointer-events: auto; outline: 2px dashed rgba(246,183,30,.85); outline-offset: 2px; }
.hero.editing .hero__layer { opacity: 1 !important; }
.editing .polaroid:active,
.editing .polaroid__tape:active,
.editing .about__badge:active,
.editing .about__copy:active { cursor: grabbing; }
/* keep everything visible + static while editing (no reveal animations fighting the drag) */
.editing .polaroid__shot, .editing .polaroid__tape, .editing .polaroid__cap,
.editing .about__badge, .editing .reveal, .editing .about__h,
.editing .about__kicker, .editing .about__body p, .editing .about__cta-row,
.editing .about__underline path { animation: none !important; opacity: 1 !important; }
.about__h { margin: 0; }
/* the "about us" brand wordmark (art asset) - nudged left to sit over the text column edge */
.about__h--img { display: block; width: clamp(220px, 33vw, 430px); height: auto; margin-left: clamp(-46px, -2.6vw, -18px); }
.about__kicker {
  font-family: 'Kids Abah Funny', 'Fredoka', system-ui, sans-serif; font-weight: 400;
  text-transform: uppercase; font-size: clamp(1.2rem,2.1vw,1.7rem); line-height: 1.08;
  letter-spacing: 0.01em; color: var(--red); margin: 18px 0 0; max-width: 18ch;
}
.about__body { max-width: 44ch; margin-top: 24px; }
.about__body p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--paper-ink); margin: 0 0 16px; }
.about__cta-row { margin-top: 26px; display: flex; align-items: center; gap: 8px; }

/* hero-style framed red button (Our Story) */
.story-btn {
  position: relative; width: 220px; height: 68px; padding: 0; border: none; background: transparent;
  cursor: pointer; flex: none; transition: transform 130ms var(--ease-pop);
}
.story-btn:hover { transform: translateY(-3px) scale(1.04); }
.story-btn:active { transform: translateY(2px) scale(0.99); }
.story-btn__face {
  position: absolute; inset: 0; background: var(--red); display: flex; align-items: center; justify-content: center;
  font-family: 'Kids Abah Funny','Fredoka',system-ui,sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 1.45rem; color: var(--cream);
}
.story-btn__frame { position: absolute; top: 50%; left: 50%; width: calc(252px / 0.58); height: calc(252px / 0.58);
  transform: translate(-50%,-50%); pointer-events: none; }
.about__arrow { width: 64px; height: auto; pointer-events: none; }

/* photo cluster - layered vintage polaroids (photo -> frame -> tape), freely positioned.
   Each .polaroid carries --x/--y (position), --w (size), --rot, and --tape-* (tape placement). */
.about__cluster { position: relative; aspect-ratio: 1 / 1.04; container-type: inline-size; }

/* hand-inked "Chef. Owner." badge - slightly organic ink blob, tucked by the owner photo */
.about__badge {
  position: absolute; left: var(--bx, 70%); top: var(--by, -2%); z-index: 4;
  width: clamp(208px, 22vw, 262px); height: clamp(208px, 22vw, 262px);
  transform: rotate(var(--brot, -4deg));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%;
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; text-transform: uppercase; color: var(--cream); line-height: 1.08;
}
/* the hand-painted ink blob (rough brushy edge) sits behind the text */
.about__badge-blob {
  position: absolute; inset: -7%; width: 114%; height: 114%; z-index: 0; overflow: visible;
  filter: drop-shadow(3px 5px 0 rgba(14,12,9,.26));
}
.about__badge-line { position: relative; z-index: 1; font-size: clamp(16px, 1.95vw, 25px); white-space: nowrap; }
.about__badge .accent { color: var(--gold); display: block; margin-top: .25em; }
.polaroid {
  position: absolute; left: var(--x, 0%); top: var(--y, 0%); width: var(--w, 32%); margin: 0;
  transform: rotate(var(--rot, 0deg)) scale(var(--scale, 1)); transform-origin: center;
}
.polaroid__shot { position: relative; display: block; filter: drop-shadow(0 14px 24px rgba(14,12,9,.34)); }
.polaroid__frameimg { display: block; width: 100%; height: auto; }
/* the actual photo sits in the frame's black window (frame border shows around it) */
.polaroid__win { position: absolute; overflow: hidden; background: #0e0c09; }
.polaroid--land .polaroid__win { left: 23.8%; top: 15.3%; width: 52.6%; height: 55.5%; }
.polaroid--port .polaroid__win { left: 23.2%; top: 9.3%;  width: 53.6%; height: 65.2%; }
.polaroid__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid--land .polaroid__photo { object-position: center 20%; }  /* keep the owner's face in frame */
.polaroid--port .polaroid__photo { object-position: center; }
/* real tape strip, laid on top after the photo lands */
.polaroid__tape {
  position: absolute; left: var(--tape-x, 50%); top: var(--tape-y, -6%); width: var(--tape-w, 40%);
  height: auto; transform: translateX(-50%) rotate(var(--tape-rot, -4deg)); pointer-events: none; z-index: 3;
}
/* caption written ON the polaroid's thick cream bottom border (classic look) */
.polaroid__cap {
  position: absolute; left: 8%; right: 8%; top: 78%; text-align: center;
  font-family: var(--font-brand); text-transform: uppercase; font-style: italic;
  line-height: 1.04; color: var(--ink); font-size: clamp(0.6rem,1vw,0.86rem);
}
.polaroid__cap .accent { color: var(--red); }

/* ===========================================================================
   COMMUNITY BAND - ink brush blob with 3 animated stat blocks
   =========================================================================== */
.community {
  position: relative; z-index: 1; background: transparent;  /* looping video shows through, blob sits on top */
  padding: 4px clamp(16px,4vw,56px) clamp(70px,9vw,120px);
}

/* the band assembles LAST, after the About scrapbook - brush in, write the copy, then the
   stat blocks pop in one by one as the final beat */
@keyframes bandIn { from { opacity: 0; transform: translateY(46px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes popIn  { 0% { opacity: 0; transform: translateY(20px) scale(.8); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* the black brush blob is PAINTED ON in one streak, left -> right (diagonal leading edge =
   a brush swipe), then the copy + stats write on top */
@keyframes paintRight {
  from { clip-path: polygon(0 0, 0 0, -10% 100%, -10% 100%); }
  to   { clip-path: polygon(0 0, 115% 0, 105% 100%, 0 100%); }
}
.community__panel::before { clip-path: polygon(0 0, 0 0, -10% 100%, -10% 100%); }
.community__text > *, .community__stats .stat, .community__stats .divider { opacity: 0; }
.community.is-revealed .community__panel::before { animation: paintRight .8s cubic-bezier(.32,.08,.28,1) both; }
.community.is-revealed .community__h   { animation: sketchIn .5s var(--ease-out) .84s both; }
.community.is-revealed .community__sub { animation: sketchIn .5s var(--ease-out) .96s both; }
.community.is-revealed .community__p   { animation: sketchIn .5s var(--ease-out) 1.08s both; }
.community.is-revealed .community__btn { animation: sketchIn .5s var(--ease-out) 1.20s both; }
/* stat blocks + dividers are the final pieces to land */
.community.is-revealed .community__stats .stat    { animation: popIn .5s var(--ease-pop) both; }
.community.is-revealed .community__stats .divider { animation: sketchIn .45s var(--ease-out) both; }
.community.is-revealed .community__stats > *:nth-child(1) { animation-delay: 1.30s; }
.community.is-revealed .community__stats > *:nth-child(2) { animation-delay: 1.42s; }
.community.is-revealed .community__stats > *:nth-child(3) { animation-delay: 1.54s; }
.community.is-revealed .community__stats > *:nth-child(4) { animation-delay: 1.66s; }
.community.is-revealed .community__stats > *:nth-child(5) { animation-delay: 1.78s; }
.community__panel {
  position: relative; max-width: 1280px; margin: 0 53px -70px;
  padding: 98px 91px 0;
}
/* the brush blob lives on a pseudo-element so it can be clip-wiped without clipping the copy */
.community__panel::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: url('../assets/marks/brush-ink-black.png');
  background-size: 100% 100%; background-repeat: no-repeat; background-position: center;
}
.community__grid {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(260px,1fr) minmax(320px,0.85fr); gap: 136px; align-items: center;
}
.community__text { transform: translate(51px,-41px); }
.community__h {
  font-family: var(--font-brand); font-weight: 400; text-transform: uppercase;
  font-size: 2.25rem; line-height: 0.98; letter-spacing: 0.01em; color: var(--gold); margin: 0;
}
.community__sub {
  font-family: var(--font-brand); font-weight: 400; text-transform: uppercase;
  font-size: 1.8rem; line-height: 1.04; letter-spacing: 0.01em; color: var(--on-dark); margin: 10px 0 18px;
}
.community__sub .accent { color: var(--red-soft); }
.community__p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--on-dark-2); max-width: 44ch; margin: 0 0 24px; }
.community__btn {
  position: relative; background: transparent; border: none; cursor: pointer;
  padding: 18px 40px; display: inline-flex; align-items: center; justify-content: center;
  transform: translate(26px, -44px);
}
.community__btn span {
  position: relative; z-index: 1; font-family: var(--font-brand); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.55rem; color: var(--cream);
}
.community__btn img { position: absolute; top: 50%; left: 50%; width: 176%; height: 460%;
  transform: translate(-50%,-50%); pointer-events: none; }

.community__stats { display: flex; gap: 10px; justify-content: space-around; align-items: flex-start;
  transform: translate(-60px,-64px); }
.stat { text-align: center; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
/* "Countless" is the widest value - nudge the last stat right so its C clears the red divider */
.community__stats .stat:last-child { margin-left: clamp(30px, 3.8vw, 54px); }
.stat img { width: 130px; height: 130px; object-fit: contain; margin-bottom: 10px; }
.stat__val { font-family: var(--font-brand); font-weight: 400; text-transform: uppercase; line-height: 0.95;
  font-size: 2.55rem; color: var(--gold); white-space: nowrap; }
.stat__lab { font-family: var(--font-brand); font-weight: 400; text-transform: uppercase; line-height: 1.05;
  font-size: 1.42rem; letter-spacing: 0.04em; color: var(--on-dark); margin-top: 6px; }
.divider { position: relative; width: 30px; align-self: stretch; min-height: 240px; flex: none; }
.divider img { position: absolute; top: 50%; left: 50%; height: 240px; width: auto;
  transform: translate(-50%,-50%); pointer-events: none; }

/* ===========================================================================
   CONTACT + SITE FOOTER - red band: brand + contact, taped map, quick links
   =========================================================================== */
/* clean red band - gold rule + subtle vertical gradient + paper grain (matches menu.html) */
.sitefoot {
  position: relative; z-index: 1; color: var(--cream);
  background-color: var(--red);
  background-image: var(--paper-noise), linear-gradient(180deg, #d8262e 0%, var(--red) 34%, var(--red-deep) 100%);
  border-top: 5px solid var(--gold);
  box-shadow: inset 0 7px 16px -7px rgba(0,0,0,.34);   /* soft depth beneath the gold rule */
  margin-top: clamp(26px,3.6vw,52px);
  padding: clamp(32px,3.6vw,52px) clamp(20px,5vw,72px) 0;
}
.sitefoot__inner {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(190px,0.78fr) minmax(340px,1.5fr) minmax(150px,0.62fr);
  gap: clamp(26px,3.6vw,56px); align-items: center;
}

/* left - logo + contact blocks */
.sitefoot__brand { display: flex; flex-direction: column; gap: clamp(14px,1.7vw,22px); }
.sitefoot__logo {
  width: clamp(122px,12.5vw,178px); height: auto; display: block;
  filter: drop-shadow(0 8px 16px rgba(14,12,9,.34));
}
.sitefoot__h {
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .05em; font-size: clamp(1.18rem,1.9vw,1.55rem); color: var(--gold); margin: 0 0 9px;
}
.sitefoot__line {
  display: inline-block; font-family: var(--font-body); font-weight: 600; line-height: 1.5;
  font-size: clamp(1rem,1.35vw,1.16rem); color: var(--cream); text-decoration: none;
  transition: color .16s ease;
}
.sitefoot__line:hover { color: var(--gold-soft); }
.sitefoot__phone { letter-spacing: .01em; }

/* center - taped Google map (scrapbook polaroid treatment) */
.sitefoot__map { position: relative; justify-self: stretch; }
.sitefoot__mapframe {
  position: relative; background: var(--cream); padding: 10px 10px 12px; border-radius: 3px;
  box-shadow: var(--shadow-polaroid), 0 4px 0 rgba(14,12,9,.12); transform: rotate(-1.1deg);
}
.sitefoot__mapembed {
  display: block; width: 100%; height: clamp(206px,18.5vw,278px); border: 0; border-radius: 2px;
  filter: saturate(1.03) contrast(1.02); background: var(--cream-2);
}
/* washi tape straddling the top edge of the frame - looks like it pins the map up */
.sitefoot__map-tape {
  position: absolute; top: -30px; left: 50%; width: clamp(74px,7vw,98px); height: auto;
  transform: translateX(-50%) rotate(-3.5deg); pointer-events: none; z-index: 3;
  filter: drop-shadow(0 3px 5px rgba(14,12,9,.22));
}

/* right - quick links */
.sitefoot__links { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sitefoot__link {
  position: relative; background: none; border: none; cursor: pointer; padding: 9px 0 9px 0;
  text-align: left; font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; font-size: clamp(1rem,1.35vw,1.16rem); color: var(--cream);
  transition: color .16s ease, transform .16s ease; min-height: 44px;
}
.sitefoot__link::before {
  content: ''; position: absolute; left: -16px; top: 50%; width: 9px; height: 9px;
  transform: translateY(-50%) scale(0); transform-origin: center; border-radius: 50%;
  background: var(--gold); transition: transform .18s var(--ease-pop);
}
.sitefoot__link:hover { color: var(--gold-soft); transform: translateX(14px); }
.sitefoot__link:hover::before { transform: translateY(-50%) scale(1); }

/* base strip - dashed rule, three notes */
.sitefoot__base {
  max-width: 1240px; margin: clamp(22px,2.8vw,40px) auto 0; padding: 15px 0 20px;
  border-top: 1.5px dashed rgba(244,236,218,.32);
  display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap;
  font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(244,236,218,.78);
}
.sitefoot__base-mid { color: var(--gold-soft); }

/* gentle staggered entrance as the footer scrolls into view */
.sitefoot.is-revealed .sitefoot__col { animation: bandIn .6s var(--ease-out) both; }
.sitefoot.is-revealed .sitefoot__col:nth-child(2) { animation-delay: .1s; }
.sitefoot.is-revealed .sitefoot__col:nth-child(3) { animation-delay: .2s; }

/* ===========================================================================
   PRIVACY POLICY MODAL - cream paper card over an ink scrim
   =========================================================================== */
.privacy {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: clamp(14px,4vw,48px); background: rgba(14,12,9,.74);
  opacity: 0; pointer-events: none; transition: opacity .26s ease;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.privacy.open { opacity: 1; pointer-events: auto; }
.privacy__card {
  position: relative; width: min(720px,100%); max-height: min(86vh,900px);
  background: var(--cream); background-image: var(--paper-noise);
  border: 3px solid var(--ink); border-radius: 7px;
  box-shadow: 8px 10px 0 rgba(14,12,9,.22), 0 30px 80px rgba(0,0,0,.5);
  transform: translateY(18px) scale(.975); transition: transform .3s var(--ease-pop); overflow: hidden;
}
.privacy.open .privacy__card { transform: none; }
.privacy__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px;
  display: grid; place-items: center; background: var(--red); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 50%; cursor: pointer;
  box-shadow: var(--shadow-sticker); transition: transform .16s var(--ease-pop), background .16s ease;
}
.privacy__close:hover { transform: rotate(90deg) scale(1.06); background: var(--red-deep); }
.privacy__close svg { width: 20px; height: 20px; }
.privacy__scroll { overflow-y: auto; max-height: min(86vh,900px); padding: clamp(28px,4.4vw,54px); -webkit-overflow-scrolling: touch; }
.privacy__title {
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem,4.4vw,2.9rem); line-height: .96; color: var(--red); margin: 0; padding-right: 40px;
}
.privacy__eff {
  font-family: var(--font-body); font-weight: 600; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--paper-ink-2); margin: 8px 0 22px;
}
.privacy__scroll h3 {
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .02em; font-size: clamp(1.08rem,2vw,1.38rem); color: var(--ink); margin: 24px 0 7px;
}
.privacy__scroll p { font-family: var(--font-body); font-size: .95rem; line-height: 1.62; color: var(--paper-ink); margin: 0 0 12px; }
.privacy__scroll ul { margin: 0 0 14px; padding-left: 1.15rem; }
.privacy__scroll li { font-family: var(--font-body); font-size: .93rem; line-height: 1.56; color: var(--paper-ink); margin: 0 0 7px; }
.privacy__scroll li::marker { color: var(--red); }
.privacy__scroll strong { color: var(--ink); font-weight: 700; }
.privacy__scroll a { color: var(--red); font-weight: 600; text-decoration: none; }
.privacy__scroll a:hover { text-decoration: underline; }
.privacy__contact { font-weight: 600; color: var(--ink); margin-top: 4px; }

.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--gold); color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--shadow-sticker);
  padding: 12px 22px; border-radius: 2px; font-family: var(--font-label); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; font-size: 0.9rem;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s var(--ease-pop);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===========================================================================
   SHARED - script wordmark, gold brush banner, gold star row
   =========================================================================== */
.script-mark {
  font-family: 'Pacifico', cursive; font-weight: 400; line-height: .92; margin: 0;
  color: var(--cream); text-shadow: 5px 6px 0 var(--red-deep), 8px 9px 0 rgba(14,12,9,.16);
}
/* a hand-painted gold brush streak - same family as the hero tagline streak, just smaller */
.brush-banner {
  display: inline-block; margin: 16px auto 0; color: var(--ink);
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .03em; font-size: clamp(.82rem,1.5vw,1.18rem); padding: .46em 2.1em .52em;
  transform: rotate(-1.5deg);
  background: url('../assets/vectors/streak-gold.svg?v=2') center center / 100% 100% no-repeat;
}
.brush-banner .accent { color: var(--red-deep); }
.stars { display: inline-block; width: clamp(88px,9vw,108px); height: auto; color: var(--gold); }

/* ===========================================================================
   GALLERY - script wordmark + masonry of taped photos
   =========================================================================== */
.gallery {
  position: relative; z-index: 1; text-align: center;
  padding: clamp(46px,6vw,96px) clamp(16px,3vw,44px) clamp(30px,4vw,60px);
}
.gallery__head { display: flex; flex-direction: column; align-items: center; }
.gallery__word { display: block; width: clamp(290px, 46vw, 600px); height: auto; margin: 0 auto; }
.gallery__intro {
  max-width: 940px; margin: clamp(22px,3vw,44px) auto clamp(26px,3.4vw,48px);
  display: grid; grid-template-columns: auto 1fr; gap: 4px clamp(24px,3vw,46px); align-items: center; text-align: left;
}
.gallery__lead {
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem,3.4vw,2.8rem); line-height: .98; color: var(--ink); margin: 0;
}
.gallery__lead .accent { color: var(--red); }
.gallery__sub { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--paper-ink); max-width: 38ch; margin: 0; }

/* gallery is an absolutely-positioned polaroid cluster (SAME system as About) - drag/editable */
.gallery__cluster { position: relative; aspect-ratio: 1 / 1.04; max-width: 1360px; margin: 0 auto; }
.gallery .polaroid__photo { object-position: center; }            /* gallery frames centre their photo */
.gallery .polaroid { transition: transform .2s var(--ease-pop); }
.gallery .polaroid:hover { z-index: 8; }
.gallery .polaroid:hover .polaroid__shot,
.about .polaroid:hover .polaroid__shot { filter: drop-shadow(0 24px 38px rgba(14,12,9,.46)); }
.about .polaroid:hover { z-index: 7; }
.polaroid__shot { will-change: transform; }

/* gallery reveal: wordmark + banner + copy, then each polaroid drops in and tapes on (like About) */
.gallery__word, .gallery .brush-banner, .gallery__lead, .gallery__sub { opacity: 0; }
.gallery.is-revealed .gallery__word { animation: stampIn .55s var(--ease-pop) both; }
.gallery.is-revealed .brush-banner  { animation: sketchIn .5s var(--ease-out) .2s both; }
.gallery.is-revealed .gallery__lead { animation: sketchIn .5s var(--ease-out) .3s both; }
.gallery.is-revealed .gallery__sub  { animation: sketchIn .5s var(--ease-out) .4s both; }
.gallery.is-revealed .polaroid__shot { animation: dropShot .5s var(--ease-pop) both; }
.gallery.is-revealed .polaroid__tape { animation: tapeOn .4s var(--ease-pop) both; }
.gallery.is-revealed .g1 .polaroid__shot{animation-delay:.40s}.gallery.is-revealed .g1 .polaroid__tape{animation-delay:.58s}
.gallery.is-revealed .g2 .polaroid__shot{animation-delay:.48s}.gallery.is-revealed .g2 .polaroid__tape{animation-delay:.66s}
.gallery.is-revealed .g3 .polaroid__shot{animation-delay:.56s}.gallery.is-revealed .g3 .polaroid__tape{animation-delay:.74s}
.gallery.is-revealed .g4 .polaroid__shot{animation-delay:.64s}.gallery.is-revealed .g4 .polaroid__tape{animation-delay:.82s}
.gallery.is-revealed .g5 .polaroid__shot{animation-delay:.72s}.gallery.is-revealed .g5 .polaroid__tape{animation-delay:.90s}
.gallery.is-revealed .g6 .polaroid__shot{animation-delay:.80s}.gallery.is-revealed .g6 .polaroid__tape{animation-delay:.98s}
.gallery.is-revealed .g7 .polaroid__shot{animation-delay:.88s}.gallery.is-revealed .g7 .polaroid__tape{animation-delay:1.06s}
.gallery.is-revealed .g8 .polaroid__shot{animation-delay:.96s}.gallery.is-revealed .g8 .polaroid__tape{animation-delay:1.14s}
.gallery.is-revealed .g9 .polaroid__shot{animation-delay:1.04s}.gallery.is-revealed .g9 .polaroid__tape{animation-delay:1.22s}

/* ===========================================================================
   REVIEWS - wordmark, 6 testimonial cards, dark CTA band with rating badge
   =========================================================================== */
.reviews {
  position: relative; z-index: 1; text-align: center;
  padding: clamp(34px,5vw,76px) clamp(20px,5vw,72px) clamp(14px,2.2vw,34px);
}
.reviews__head { display: flex; flex-direction: column; align-items: center; }
.reviews__word { display: block; width: clamp(320px, 54vw, 720px); height: auto; margin: 0 auto; }
.reviews__shout {
  font-family: 'Kids Abah Funny','Fredoka',sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.9rem,8.4vw,6.6rem); line-height: .82; color: var(--red); margin-top: -.04em;
  text-shadow: 4px 5px 0 var(--ink);
}
.reviews__grid { max-width: 1140px; margin: clamp(30px,4vw,56px) auto 0;
  display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(26px,2.4vw,40px) clamp(18px,2vw,30px); }
.review {
  position: relative; background: var(--cream); border: 2px solid rgba(14,12,9,.12); border-radius: 5px;
  box-shadow: var(--shadow-card); padding: 36px 22px 22px; text-align: center; transform: rotate(var(--rot,0deg));
}
.review__avatar {
  position: absolute; top: -27px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--cream);
  display: grid; place-items: center; font-family: 'Kids Abah Funny','Fredoka',sans-serif;
  font-size: 1.5rem; color: var(--cream); box-shadow: var(--shadow-sticker);
}
.review__avatar[data-c="gold"] { background: var(--gold); color: var(--ink); }
.review__avatar[data-c="red"]  { background: var(--red); }
.review__avatar[data-c="ink"]  { background: var(--ink); }
.review .stars { margin: 2px 0 12px; }
.review__quote { font-family: var(--font-body); font-style: italic; font-size: .95rem; line-height: 1.55; color: var(--paper-ink); margin: 0 0 16px; }
.review__by { font-family: 'Kids Abah Funny','Fredoka',sans-serif; text-transform: uppercase; font-size: 1.02rem; color: var(--ink); margin: 0; }
.review__src { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .03em; color: var(--red); margin-top: 3px; }

.reviews__cta {
  position: relative; max-width: 1140px; margin: clamp(40px,5vw,72px) auto 0;
  background-image: url('../assets/marks/brush-ink-black.png'); background-size: 100% 100%; background-repeat: no-repeat;
  padding: clamp(48px,5.6vw,84px) clamp(44px,5.5vw,90px);
  display: grid; grid-template-columns: minmax(190px,0.82fr) minmax(280px,1.18fr) auto;
  gap: clamp(20px,3.4vw,56px); align-items: center; text-align: left;
}
.reviews__cta-photo { position: relative; width: clamp(150px,16vw,212px); background: var(--white); padding: 9px 9px 12px; box-shadow: var(--shadow-polaroid); transform: rotate(var(--rot,-3deg)); }
.reviews__cta-photo img:not(.gphoto__tape) { display: block; width: 100%; height: auto; }
/* tape on the CTA photo (absolute so it never disturbs the band layout) */
.reviews__cta-photo .gphoto__tape {
  position: absolute; top: 0; left: 50%; width: 42%; height: auto;
  transform: translate(-50%,-50%) rotate(6deg); pointer-events: none; z-index: 2;
}
/* the 550 logo in the CTA - a living badge: floats, turns gently in 3D, and glows */
.reviews__cta-logo { width: clamp(210px,23vw,360px); justify-self: center; display: grid; place-items: center; }
.reviews__cta-logo img {
  width: 100%; height: auto; transform-origin: center;
  animation: logoTurn 5s ease-in-out infinite, logoGlow 3.2s ease-in-out infinite;
}
@keyframes logoTurn {
  0%,100% { transform: perspective(640px) translateY(0) rotateY(-17deg); }
  50%     { transform: perspective(640px) translateY(-9px) rotateY(17deg); }
}
@keyframes logoGlow {
  0%,100% { filter: drop-shadow(0 7px 12px rgba(0,0,0,.45)); }
  50%     { filter: drop-shadow(0 7px 12px rgba(0,0,0,.45)) drop-shadow(0 0 20px rgba(246,183,30,.62)); }
}
.reviews__cta-h { font-family: 'Kids Abah Funny','Fredoka',sans-serif; text-transform: uppercase; font-size: clamp(1.6rem,3vw,2.6rem); line-height: .98; margin: 0 0 10px; color: var(--gold); }
.reviews__cta-h .accent { color: var(--cream); }
.reviews__cta-copy p { font-family: var(--font-body); font-size: .95rem; line-height: 1.55; color: var(--on-dark); max-width: 44ch; margin: 0 0 18px; }
.reviews__cta-btn { width: 210px; height: 62px; }
.reviews__badge {
  position: relative;
  width: clamp(130px,13.6vw,180px); height: clamp(130px,13.6vw,180px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px;
  transform: rotate(-3.5deg);
}
/* the painted gold disc (rough brushy edge + ink rim) sits behind the rating text */
.reviews__badge-blob {
  position: absolute; inset: -9%; width: 118%; height: 118%; z-index: 0; overflow: visible;
  filter: drop-shadow(4px 6px 0 rgba(14,12,9,.30));
}
.reviews__badge-lab, .reviews__badge-num, .reviews__badge .stars--badge, .reviews__badge-sub { position: relative; z-index: 1; }
.reviews__badge-lab { font-family:'Kids Abah Funny','Fredoka',sans-serif; text-transform: uppercase; font-size: .68rem; letter-spacing: .05em; color: var(--ink-soft); }
.reviews__badge-num { font-family:'Kids Abah Funny','Fredoka',sans-serif; font-size: clamp(2.2rem,3.4vw,3rem); line-height: .82; color: var(--ink); }
.reviews__badge .stars--badge { width: 76px; color: var(--red); margin: 1px 0; }
.reviews__badge-sub { font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .02em; color: var(--ink-soft); }

/* reviews reveal */
.reviews__word, .reviews .brush-banner, .review, .reviews__cta { opacity: 0; }
.reviews.is-revealed .reviews__word { animation: stampIn .55s var(--ease-pop) both; }
.reviews.is-revealed .brush-banner  { animation: sketchIn .5s var(--ease-out) .2s both; }
.reviews.is-revealed .review { animation: popIn .5s var(--ease-pop) both; }
.reviews.is-revealed .review:nth-child(1){animation-delay:.40s}
.reviews.is-revealed .review:nth-child(2){animation-delay:.50s}
.reviews.is-revealed .review:nth-child(3){animation-delay:.60s}
.reviews.is-revealed .review:nth-child(4){animation-delay:.70s}
.reviews.is-revealed .review:nth-child(5){animation-delay:.80s}
.reviews.is-revealed .review:nth-child(6){animation-delay:.90s}
.reviews.is-revealed .reviews__cta { animation: bandIn .6s var(--ease-out) 1.0s both; }

/* ===========================================================================
   WE LOVE YOU TOO - final brush-blob send-off
   =========================================================================== */
/* tucked right under the reviews CTA, overlapping the bottom of its black blob -
   so it needs no blob of its own (the art sits on the CTA blob's dark base) */
.loveyou { position: relative; z-index: 2; display: flex; justify-content: center;
  margin-top: clamp(-178px, -12.5vw, -88px);
  padding: 0 clamp(20px,5vw,60px) clamp(6px,1.4vw,20px); }
.loveyou__band {
  position: relative; z-index: 1; display: inline-flex; align-items: center; padding: 0;
}
/* the "WE LOVE YOU TOO" art sits on the blob */
.loveyou__art {
  position: relative; z-index: 1; display: block; width: clamp(300px, 52vw, 760px); height: auto;
  transform-origin: center; filter: drop-shadow(2px 4px 0 rgba(0,0,0,.28));
}

/* hearts drift up off the sign - an ongoing loop */
.loveyou__sparks { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.love-spark { position: absolute; top: 60%; width: var(--s,18px); height: var(--s,18px);
  color: var(--red); opacity: 0; animation: heartRise var(--d,6s) ease-in var(--delay,0s) infinite; will-change: transform, opacity; }
.love-spark.is-gold { color: var(--gold); }
.love-spark use { fill: currentColor; }
@keyframes heartRise {
  0%   { transform: translateY(10px) translateX(0) scale(.45) rotate(0deg); opacity: 0; }
  16%  { opacity: .72; }
  70%  { opacity: .4; }
  100% { transform: translateY(calc(-1 * var(--rise,240px))) translateX(var(--sway,14px)) scale(1) rotate(var(--r,12deg)); opacity: 0; }
}

/* loveyou reveal: blob brushes on, the wordmark paints on behind it (one sweep),
   then floats gently with a warm glow - ongoing loop */
@keyframes lovePaint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes loveFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes loveGlow {
  0%,100% { filter: drop-shadow(2px 4px 0 rgba(0,0,0,.3)); }
  50% { filter: drop-shadow(2px 4px 0 rgba(0,0,0,.3)) drop-shadow(0 0 22px rgba(246,183,30,.5)); }
}
.loveyou__art { clip-path: inset(0 100% 0 0); }
.loveyou.is-revealed .loveyou__art {
  animation: lovePaint .68s cubic-bezier(.3,.1,.26,1) .34s both,
             loveFloat 4.6s ease-in-out 1.4s infinite,
             loveGlow 3.4s ease-in-out 1.4s infinite;
}

/* ===========================================================================
   RESPONSIVE - below the design frame width, stack the grids
   =========================================================================== */
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__chef-wrap { margin: 0 auto; }
  .about__caps { margin: 0 auto; padding-left: 0; flex-wrap: wrap; }
  .community__panel { margin: 0 0 -40px; padding: 64px 28px 0; }
  .community__grid { grid-template-columns: 1fr; gap: 40px; }
  .community__text { transform: none; }
  .community__stats { transform: none; gap: 4px; }
  .stat img { width: 92px; height: 92px; }
  .stat__val { font-size: 1.9rem; }
  .stat__lab { font-size: 1.05rem; }
  .divider { min-height: 120px; }
  .divider img { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .community__panel, .community__text > *, .community__stats .stat, .community__stats .divider { opacity: 1; }
  .community__panel::before { clip-path: none; }
  .is-revealed * { animation: none !important; }
}

/* ===========================================================================
   MOBILE HERO - stacked layout for narrow / portrait widths (matches mockup)
   =========================================================================== */
.hero-mobile { display: none; }

@media (max-width: 900px) {
  /* The stacked hero is the landing; the oven transition STILL plays after it.
     Strip the desktop landscape hero composition, but keep the backdrop + pizza + oven scene. */
  .stage { height: 205svh; }
  #hero-art, .hero__banner, .hero__bubble, .hero__fg, .stage-seam { display: none !important; }
  .hero { aspect-ratio: auto; height: 100svh; }                  /* frame fills the pin so the pizza centers */
  .journey-pizza { left: 4%; top: 26%; width: 92%; height: 46%; } /* big centered pizza -> portal */

  .hero-mobile {
    display: flex; flex-direction: column; height: max(660px, 100svh); position: relative; z-index: 3;
    background: var(--ink) url('../assets/imagery/hero-bg.png') center top / cover no-repeat;
    overflow: hidden; padding-bottom: 18px;
  }
  .hero-mobile::before {           /* readability scrim over the busy backdrop */
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(20,16,11,0.5) 0%, rgba(20,16,11,0.1) 24%, rgba(20,16,11,0) 46%);
  }

  .mhero__nav {
    position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
  }
  .mhero__icon {
    background: none; border: none; cursor: pointer; color: var(--cream); padding: 4px;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.85));
  }
  .mhero__icon svg { width: 28px; height: 28px; }
  .mhero__cart { position: relative; }
  .mhero__cart-badge {
    position: absolute; top: 1px; right: 0; background: var(--gold); color: var(--ink);
    font-family: var(--font-body); font-weight: 700; font-size: 10px; line-height: 1;
    min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center;
    justify-content: center; padding: 0 3px;
  }
  .mhero__logo { width: clamp(80px, 11svh, 104px); height: auto; display: block; }

  .mhero__scene {
    position: relative; z-index: 2; flex: 1 1 auto; display: flex; flex-direction: column;
    align-items: center; justify-content: space-between; gap: clamp(4px, 1svh, 10px);
    padding: 6px 16px; min-height: 0; overflow: hidden;
  }
  .mhero__wordmark {
    width: min(80%, 340px); height: auto; display: block; margin: 0 auto;
    filter: drop-shadow(4px 5px 0 var(--red-deep));
  }
  .mhero__row {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  }
  .mhero__banner {
    width: 61%; max-width: 270px; height: auto; display: block; transform: rotate(-1.5deg);
    filter: drop-shadow(0 4px 8px rgba(14,12,9,.3));
  }
  .mhero__bubble { position: relative; width: 33%; max-width: 142px; flex: none; }
  .mhero__bubble-art { width: 100%; height: auto; display: block; filter: drop-shadow(2px 3px 0 rgba(14,12,9,.35)); }
  .mhero__bubble-text {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-transform: uppercase; line-height: 1.02; text-align: center; color: var(--ink);
    font-size: clamp(8px, 2.8vw, 13px); transform: rotate(-3deg); padding-bottom: 20%;
  }
  .mhero__bubble-text .accent { color: var(--red); }
  .mhero__pizza {
    width: min(112%, 500px); height: auto; display: block; margin: 0 auto;
    filter: drop-shadow(0 14px 22px rgba(0,0,0,.45));
  }

  .mhero__doodle { position: absolute; pointer-events: none; z-index: 2; }
  .mhero__doodle.md1 { width: 44px; top: 9%;  right: 7%; }
  .mhero__doodle.md2 { width: 72px; top: 30%; left: -10px; }
  .mhero__doodle.md3 { width: 38px; top: 23%; left: 13%; }
  .mhero__doodle.md4 { width: 60px; bottom: 26%; right: 1%; transform: rotate(140deg); }

  .mhero__ctas {
    position: relative; z-index: 3; display: flex; gap: 12px; padding: 8px 18px 6px;
  }
  .mhero__cta {
    position: relative; flex: 1 1 0; width: auto; height: 54px; border: none; background: transparent; cursor: pointer;
    transition: transform 130ms var(--ease-pop);
  }
  .mhero__cta:active { transform: scale(0.98); }
  .mhero__cta .cta__face { font-size: clamp(0.92rem, 4vw, 1.12rem); }
  .mhero__cta .cta__frame {
    position: absolute; top: 50%; left: 50%; width: 110%; height: 250%;
    transform: translate(-50%,-50%); pointer-events: none;
  }
}

/* ===========================================================================
   MOBILE ABOUT + COMMUNITY
   =========================================================================== */
@media (max-width: 900px) {
  .about { padding: 48px 20px 30px; overflow: hidden; }
  .about__grid {
    grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start;
    max-width: 600px;
  }

  .about__copy { min-width: 0; padding-top: 0; }
  .about__h--img { width: min(100%, 360px); margin-left: 0; }
  .about__underline { width: min(150px, 60%); }
  .about__kicker { font-size: clamp(1.05rem, 5vw, 1.35rem); margin-top: 14px; max-width: 20ch; }
  .about__body { margin-top: 18px; max-width: 38ch; }
  .about__body p { font-size: 0.96rem; line-height: 1.58; margin-bottom: 14px; }
  .about__cta-row { margin-top: 18px; gap: 8px; }
  .story-btn { width: 164px; height: 52px; }
  .story-btn__face { font-size: 1.12rem; }
  .story-btn__frame { width: calc(188px / 0.58); height: calc(188px / 0.58); }
  .about__arrow { width: 44px; }

  .about__cluster {
    display: block; width: min(100%, 430px); aspect-ratio: 1 / 1.02;
    margin: 2px auto 0;
  }
  .about__cluster .about__main { left: 0 !important; top: 0 !important; width: 72% !important; }
  .about__badge {
    left: auto; right: -1%; top: 2%;
    width: clamp(132px, 38vw, 168px); height: clamp(132px, 38vw, 168px);
  }
  .about__badge-line { font-size: clamp(12px, 3.7vw, 17px); }
  .about__cluster .p1 { left: -2% !important; top: 44% !important; width: 36% !important; }
  .about__cluster .p2 { left: 30.5% !important; top: 50% !important; width: 36% !important; }
  .about__cluster .p3 { left: 63% !important; top: 44% !important; width: 36% !important; }
  .polaroid__cap { font-size: clamp(0.52rem, 2.4vw, 0.68rem); }

  .community { padding: 2px 12px 54px; }
  .community__panel { margin: 0; padding: 38px 16px 8px; }
  .community__grid { grid-template-columns: 1fr; gap: 20px; }
  .community__text { transform: none; }
  .community__h { font-size: 1.7rem; }
  .community__sub { font-size: 1.35rem; }
  .community__p { font-size: 0.85rem; max-width: none; }
  .community__btn { transform: none; padding: 14px 30px; }
  .community__btn span { font-size: 1.2rem; }
  .community__stats { transform: none; gap: 2px; }
  .community__stats .stat:last-child { margin-left: 0; }
  .stat img { width: 54px; height: 54px; margin-bottom: 4px; }
  .stat__val { font-size: 1.4rem; }
  .stat__lab { font-size: 0.72rem; }
  .divider { width: 16px; min-height: 64px; }
  .divider img { height: 64px; }
}

/* ===========================================================================
   MOBILE - reviews CTA band + red contact footer stack into one column
   =========================================================================== */
@media (max-width: 860px) {
  .reviews { overflow: hidden; padding-left: 0; padding-right: 0; }
  .reviews__head { padding: 0 20px; }
  .reviews__word { width: min(90vw, 520px); }
  .reviews__grid {
    display: flex; max-width: none; gap: 18px; margin-top: 36px;
    overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
    padding: 30px 24px 34px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review {
    flex: 0 0 min(82vw, 330px); scroll-snap-align: center;
    padding: 40px 24px 26px;
  }
  .reviews__cta {
    grid-template-columns: 1fr; justify-items: center; text-align: center; margin-left: 16px; margin-right: 16px;
    gap: 22px; padding: clamp(36px,8vw,56px) clamp(24px,6vw,44px);
  }
  .reviews__cta-logo { width: clamp(180px,46vw,260px); }
  .reviews__cta-copy p { margin-left: auto; margin-right: auto; }
  .reviews__cta-btn { margin: 0 auto; }

  .sitefoot { padding: clamp(48px,11vw,72px) 22px 0; }
  .sitefoot__inner { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .sitefoot__brand { align-items: center; }
  .sitefoot__logo { margin: 0 auto; }
  .sitefoot__map { width: min(440px,100%); justify-self: center; }
  .sitefoot__links { align-items: center; }
  .sitefoot__link { text-align: center; }
  .sitefoot__link::before { display: none; }
  .sitefoot__link:hover { transform: translateY(-1px); }
  .sitefoot__base { flex-direction: column; text-align: center; gap: 6px; }
}
