/* ==========================================================================
   FroYo Bliss — Yogurt Bar Natural
   Design system: chunky, playful, sticker-driven. Big rounded type,
   saturated colour blocks, bouncy motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — pulled from the Froyo cup logo */
  --lime:    #5CD62B;
  --blue:    #23A7F5;
  --red:     #FF4438;
  --orange:  #FFA31A;
  --pink:    #FF6FA8;
  --teal:    #17C9A4;
  --grape:   #9B6BF2;
  --yellow:  #FFD028;

  /* Soft fills for bands + cards */
  --lime-soft:   #E4FBD7;
  --blue-soft:   #DCF0FE;
  --pink-soft:   #FFE4EF;
  --orange-soft: #FFF0D6;
  --grape-soft:  #EEE5FF;
  --teal-soft:   #D6F8F1;
  --cream:       #FFF7EC;

  --ink:      #17151F;
  --ink-2:    #4A4657;
  --ink-3:    #7C7789;
  --line:     #17151F;
  --white:    #FFFFFF;

  /* Type */
  --display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --body:    "Nunito", system-ui, -apple-system, sans-serif;

  /* Shape — the thick outline + hard shadow is the signature */
  --bw: 3px;                    /* border weight */
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 34px;
  --r-xl: 48px;
  --shadow-hard: 0 6px 0 var(--ink);
  --shadow-hard-lg: 0 10px 0 var(--ink);
  --shadow-soft: 0 18px 40px rgba(23, 21, 31, .12);

  /* Motion */
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease:   cubic-bezier(.22, .61, .36, 1);

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `clip` (not `hidden`) so the sticky header keeps working */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
}

h1 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--grape);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

/* --------------------------------------------------------------------------
   2b. Reveal on scroll
   Declared HERE, before the components, on purpose: `.reveal.in` and a
   component's `:hover` have the same specificity, so whichever comes last
   wins. Keeping this first lets every card's hover transform take over.
   Elements with a resting tilt declare it in --rest-transform.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(.96);
  transition: opacity .7s var(--ease), transform .7s var(--bounce);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: var(--rest-transform, none); }

/* --------------------------------------------------------------------------
   3. Scroll progress
   -------------------------------------------------------------------------- */
.scroll-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 5px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--blue), var(--pink), var(--orange));
  z-index: 300;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.stuck { box-shadow: 0 4px 0 rgba(23, 21, 31, .08); }

.header-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: padding .3s var(--ease);
}
.site-header.stuck .header-inner { padding-block: 10px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand img {
  height: 42px;
  width: auto;
  transition: transform .45s var(--bounce);
}
.brand:hover img { transform: rotate(-6deg) scale(1.07); }
.site-header.stuck .brand img { height: 36px; }

.brand .tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .16em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 9px 16px;
  border-radius: 999px;
  position: relative;
  transition: background .25s var(--ease), color .25s var(--ease), transform .35s var(--bounce);
}
.nav-links a:hover { background: var(--cream); transform: translateY(-2px); }
.nav-links a.active { background: var(--ink); color: var(--white); }

.nav-tools { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
  /* Without this the auto rows stretch to fill the button and the bars no
     longer sit 8px apart, so the X below wouldn't line up. */
  align-content: center;
  gap: 5px;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-toggle:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.nav-toggle span {
  display: block;
  width: 22px; height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform .3s var(--bounce), opacity .2s linear;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  /* Below the header (200) so its close button stays reachable */
  z-index: 190;
  background: var(--cream);
  padding: 96px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-102%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  padding: 14px 20px;
  border-radius: var(--r-md);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  opacity: 0;
  transform: translateY(24px);
}
.mobile-nav.open a { animation: dropIn .5s var(--bounce) forwards; }
.mobile-nav.open a:nth-child(1) { animation-delay: .06s; }
.mobile-nav.open a:nth-child(2) { animation-delay: .12s; }
.mobile-nav.open a:nth-child(3) { animation-delay: .18s; }
.mobile-nav.open a:nth-child(4) { animation-delay: .24s; }
.mobile-nav.open a:nth-child(5) { animation-delay: .3s; }
.mobile-nav a:nth-child(4n+1) { background: var(--pink-soft); }
.mobile-nav a:nth-child(4n+2) { background: var(--blue-soft); }
.mobile-nav a:nth-child(4n+3) { background: var(--lime-soft); }
.mobile-nav a:nth-child(4n+4) { background: var(--orange-soft); }

@keyframes dropIn { to { opacity: 1; transform: translateY(0); } }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); filter: brightness(1.05); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }

.btn-sm { padding: 12px 20px; font-size: .95rem; box-shadow: 0 4px 0 var(--ink); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--ink); }

.btn-pink   { --btn-bg: var(--pink);  --btn-fg: var(--ink); }
.btn-lime   { --btn-bg: var(--lime);  --btn-fg: var(--ink); }
.btn-yellow { --btn-bg: var(--yellow);--btn-fg: var(--ink); }
.btn-blue   { --btn-bg: var(--blue);  --btn-fg: var(--ink); }
.btn-white  { --btn-bg: var(--white); --btn-fg: var(--ink); }

.btn .arrow { transition: transform .3s var(--bounce); }
.btn:hover .arrow { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. Sections & colour bands
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding-block: clamp(44px, 6vw, 76px); }

.band-cream  { background: var(--cream); }
.band-pink   { background: var(--pink-soft); }
.band-blue   { background: var(--blue-soft); }
.band-lime   { background: var(--lime-soft); }
.band-grape  { background: var(--grape-soft); }
.band-teal   { background: var(--teal-soft); }
.band-white  { background: var(--white); }

.band-ink    { background: var(--ink); color: var(--white); }
.band-ink h2, .band-ink h3 { color: var(--white); }

/* Solid, fully saturated hero-style block */
.band-solid-pink   { background: var(--pink); }
.band-solid-blue   { background: var(--blue); }
.band-solid-orange { background: var(--orange); }
.band-solid-lime   { background: var(--lime); }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
  margin-bottom: 22px;
  transform: rotate(-2deg);
}
.eyebrow.on-ink { background: var(--yellow); }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-2);
  max-width: 62ch;
}
.section-head.center .section-sub { margin-inline: auto; }
.band-ink .section-sub { color: rgba(255, 255, 255, .78); }

/* Marker highlight behind a word */
.mark {
  position: relative;
  display: inline-block;
  font-style: normal;
  z-index: 0;
}
.mark::before {
  content: "";
  position: absolute;
  inset: 12% -4% 6% -4%;
  background: var(--yellow);
  border-radius: 999px 999px 999px 999px / 60% 40% 60% 40%;
  transform: rotate(-1.4deg);
  z-index: -1;
}
.mark.mark-pink::before  { background: var(--pink); }
.mark.mark-lime::before  { background: var(--lime); }
.mark.mark-blue::before  { background: var(--blue); }

/* Wobbly blob divider between bands */
.blob-divider { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.blob-divider svg { display: block; width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(30px, 5vw, 60px);
  overflow: hidden;
}

.hero-head {
  max-width: 1020px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}

.hero h1 { position: relative; display: inline-block; }

/* Photo swapped in for a letter — the signature trick */
.letter-cup {
  display: inline-block;
  width: .92em;
  height: .92em;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  vertical-align: -.08em;
  background: var(--pink-soft);
  animation: spinSlow 14s linear infinite;
}
.letter-cup img { width: 100%; height: 100%; object-fit: cover; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Hand-drawn sparkle doodles */
.doodle {
  position: absolute;
  pointer-events: none;
  color: var(--ink);
}
.doodle svg { width: 100%; height: 100%; display: block; }
.doodle-1 { width: clamp(34px, 5vw, 62px); top: -6%;  left: 2%;  animation: twinkle 3.4s ease-in-out infinite; }
.doodle-2 { width: clamp(28px, 4vw, 52px); top: 8%;   right: 1%; animation: twinkle 3.4s ease-in-out .9s infinite; }
.doodle-3 { width: clamp(22px, 3vw, 40px); bottom: 4%; right: 12%; animation: twinkle 3.4s ease-in-out 1.7s infinite; }

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(.72) rotate(18deg); opacity: .55; }
}

.hero-lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ink-2);
  max-width: 60ch;
  margin: 26px auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* Big rounded picture slab */
.hero-stage {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
}
.hero-frame {
  position: relative;
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  background: linear-gradient(140deg, var(--pink-soft) 0%, var(--blue-soft) 52%, var(--lime-soft) 100%);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(22px, 3.4vw, 46px);
}

/* Three product shots side by side, each in its own rounded frame */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 28px);
  align-items: center;
}
.hero-collage .tile {
  margin: 0;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-hard);
  aspect-ratio: 4 / 4.6;
  transition: transform .5s var(--bounce), box-shadow .3s var(--ease);
}
.hero-collage .tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.hero-collage .t1 { transform: rotate(-3deg); }
.hero-collage .t2 { transform: rotate(1.5deg) scale(1.07); z-index: 2; }
.hero-collage .t3 { transform: rotate(3deg); }
.hero-collage .tile:hover { transform: rotate(0deg) scale(1.1); box-shadow: 0 12px 0 var(--ink); z-index: 3; }
.hero-collage .tile:hover img { transform: scale(1.07); }

/* Floating stickers around the hero slab */
.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
  z-index: 3;
}
.sticker .emoji { font-size: 1.3rem; line-height: 1; }
.sticker-1 { top: -22px;  left: 4%;    background: var(--yellow); transform: rotate(-6deg); animation: bob 5s ease-in-out infinite; }
.sticker-2 { bottom: 26px; right: 3%;  background: var(--lime);   transform: rotate(5deg);  animation: bob 5s ease-in-out 1.2s infinite; }
.sticker-3 { bottom: -20px; left: 12%; background: var(--blue);   transform: rotate(3deg);  animation: bob 5s ease-in-out 2.1s infinite; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* Rotating seal badge */
.seal {
  position: absolute;
  top: -34px; right: 4%;
  width: clamp(92px, 11vw, 132px);
  aspect-ratio: 1;
  z-index: 4;
  display: grid;
  place-items: center;
}
.seal .seal-ring {
  position: absolute;
  inset: 0;
  animation: spinSlow 20s linear infinite;
}
.seal .seal-core {
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}
.seal text { font-family: var(--display); font-weight: 600; font-size: 12.2px; letter-spacing: .1em; fill: var(--ink); }
.seal circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 22px);
  margin-top: clamp(36px, 5vw, 58px);
}
.stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transition: transform .35s var(--bounce);
}
.stat:nth-child(1) { background: var(--pink-soft); }
.stat:nth-child(2) { background: var(--blue-soft); }
.stat:nth-child(3) { background: var(--lime-soft); }
.stat:hover { transform: translateY(-6px) rotate(-1.5deg); }
.stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1;
}
/* Direct child only — the counter <span> lives inside <strong> */
.stat > span {
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   8. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(52px, 7vw, 96px) 0 clamp(52px, 7vw, 90px);
  text-align: center;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  max-width: 62ch;
  margin-inline: auto;
  color: var(--ink-2);
}

/* Soft colour wash behind hero text — heavily blurred so it reads as
   atmosphere, not as stray circles. */
.bg-blob {
  position: absolute;
  border-radius: 48% 52% 60% 40% / 52% 44% 56% 48%;
  filter: blur(70px);
  opacity: .55;
  z-index: 0;
  animation: morph 16s ease-in-out infinite;
}
.bg-blob-1 { width: 380px; aspect-ratio: 1; background: var(--pink);   top: -60px;     left: -60px; }
.bg-blob-2 { width: 320px; aspect-ratio: 1; background: var(--yellow); bottom: -100px; right: -40px; animation-delay: 3s; }
.bg-blob-3 { width: 240px; aspect-ratio: 1; background: var(--blue);   top: 34%;       right: 14%;   animation-delay: 6s; opacity: .4; }

@keyframes morph {
  0%, 100% { border-radius: 48% 52% 60% 40% / 52% 44% 56% 48%; transform: rotate(0deg) scale(1); }
  33%      { border-radius: 62% 38% 42% 58% / 44% 62% 38% 56%; transform: rotate(8deg) scale(1.06); }
  66%      { border-radius: 38% 62% 55% 45% / 60% 38% 62% 40%; transform: rotate(-6deg) scale(.96); }
}

/* --------------------------------------------------------------------------
   9. Marquee
   -------------------------------------------------------------------------- */
.marquee-band {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
  transform: rotate(-1.6deg) scale(1.06);
  margin-block: clamp(30px, 5vw, 56px);
  border-block: var(--bw) solid var(--ink);
}
.marquee-band.alt { transform: rotate(1.4deg) scale(1.06); background: var(--pink); }

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  padding-block: 16px;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
  animation: slide 32s linear infinite;
  will-change: transform;
}
.marquee-band.alt .marquee-track { animation-duration: 26s; animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  color: var(--white);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marquee-band.alt .marquee-track span { color: var(--ink); }

@keyframes slide { to { transform: translateX(-100%); } }

/* --------------------------------------------------------------------------
   10. Sticker cards (the Toca-style framed card)
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.sticker-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transition: transform .4s var(--bounce), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.sticker-card:hover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 14px 0 var(--ink); }
.sticker-card:nth-child(even):hover { transform: translateY(-8px) rotate(1.2deg); }

.sticker-card .icon {
  width: 66px; height: 66px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  border-radius: 20px;
  border: var(--bw) solid var(--ink);
  margin-bottom: 20px;
  transition: transform .5s var(--bounce);
}
.sticker-card:hover .icon { transform: rotate(-10deg) scale(1.1); }

.sticker-card p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.sticker-card h3 { margin-bottom: .45em; }

.fill-lime   { background: var(--lime); }
.fill-blue   { background: var(--blue); }
.fill-pink   { background: var(--pink); }
.fill-orange { background: var(--orange); }
.fill-grape  { background: var(--grape); }
.fill-yellow { background: var(--yellow); }
.fill-teal   { background: var(--teal); }

.card-pink   { background: var(--pink-soft); }
.card-blue   { background: var(--blue-soft); }
.card-lime   { background: var(--lime-soft); }
.card-orange { background: var(--orange-soft); }
.card-grape  { background: var(--grape-soft); }
.card-teal   { background: var(--teal-soft); }

.band-ink .sticker-card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 6px 0 rgba(255, 255, 255, .18);
}
.band-ink .sticker-card:hover { box-shadow: 0 12px 0 rgba(255, 255, 255, .18); }
.band-ink .sticker-card p { color: rgba(255, 255, 255, .74); }

/* --------------------------------------------------------------------------
   11. Flavour / product cards
   -------------------------------------------------------------------------- */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.flavor-card {
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  transition: transform .4s var(--bounce), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.flavor-card:hover { transform: translateY(-10px) rotate(-1.4deg); box-shadow: 0 16px 0 var(--ink); }
.flavor-card:nth-child(3n+2):hover { transform: translateY(-10px) rotate(1.4deg); }

.flavor-card .shot {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--cream);
}
.flavor-card .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.flavor-card:hover .shot img { transform: scale(1.1) rotate(1.5deg); }

.flavor-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.flavor-card h4 { font-size: 1.28rem; margin-bottom: .35em; }
.flavor-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 6px 13px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  white-space: nowrap;
}
.chip-pink  { background: var(--pink); }
.chip-lime  { background: var(--lime); }
.chip-blue  { background: var(--blue); }
.chip-grape { background: var(--grape); }
.chip-teal  { background: var(--teal); }

.flavor-card .tags { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* Corner ribbon on the shot */
.shot-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  transform: rotate(-4deg);
  box-shadow: 0 3px 0 var(--ink);
}

/* --------------------------------------------------------------------------
   12. Split layout
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.split-media { position: relative; }
.split-media > img {
  width: 100%;
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  transition: transform .5s var(--bounce);
}
.split-media:hover > img { transform: rotate(-1.5deg) scale(1.01); }
/* Crop modifiers — match the frame to the source photo's shape */
.split-media.wide > img      { aspect-ratio: 4 / 3; }
.split-media.landscape > img { aspect-ratio: 16 / 9; }
.split-media.square > img    { aspect-ratio: 1; }
.split-media.tall > img      { aspect-ratio: 3 / 4.1; }

/* hero-home.jpg has the old address burned into its right-hand side.
   This crop keeps only the child; the address is re-added as real text
   in .photo-caption below, so it stays editable. */
.split-media.crop-child > img {
  aspect-ratio: 3 / 4;
  object-position: 12% center;
}

.photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: var(--bw) solid var(--ink);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-hard);
}
.photo-caption .pc-logo { height: 30px; width: auto; flex: 0 0 auto; }
.photo-caption .pc-addr {
  font-family: var(--display);
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.25;
  color: var(--ink);
}
/* The caption owns the bottom of the frame, so the badge moves up */
.split-media.crop-child .badge-pill { bottom: auto; top: 26px; }

.badge-pill {
  position: absolute;
  right: -14px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
  animation: bob 6s ease-in-out infinite;
}
.badge-pill .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
}
.badge-pill .lbl { font-size: .78rem; font-weight: 700; line-height: 1.25; color: var(--ink-2); }

.check-list { display: grid; gap: 16px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  background: var(--lime);
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 0 3px 0 var(--ink);
}
.check-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.06rem; }
.check-list .desc { font-size: .94rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   13. Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 26px 28px;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transition: transform .4s var(--bounce);
}
.step:hover { transform: translateY(-8px) rotate(1.4deg); }
.step:nth-child(even):hover { transform: translateY(-8px) rotate(-1.4deg); }

.step .num {
  position: absolute;
  top: -24px; left: 22px;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .5s var(--bounce);
}
.step:hover .num { transform: rotate(-14deg) scale(1.08); }
.step:nth-child(4n+1) .num { background: var(--pink); }
.step:nth-child(4n+2) .num { background: var(--yellow); }
.step:nth-child(4n+3) .num { background: var(--blue); }
.step:nth-child(4n+4) .num { background: var(--lime); }
.step h4 { margin: 16px 0 .35em; font-size: 1.22rem; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
   14. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.gallery figure {
  margin: 0;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform .4s var(--bounce), box-shadow .3s var(--ease);
}
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:nth-child(odd)  { --rest-transform: rotate(-1.6deg); transform: rotate(-1.6deg); }
.gallery figure:nth-child(even) { --rest-transform: rotate(1.6deg);  transform: rotate(1.6deg); }
.gallery figure:hover,
.gallery figure.in:hover { transform: rotate(0deg) scale(1.04); box-shadow: 0 14px 0 var(--ink); z-index: 2; }
.gallery figure:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(23, 21, 31, .88);
  display: grid;
  place-items: center;
  padding: 5vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(760px, 92vw);
  max-height: 86vh;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--white);
  transform: scale(.9);
  transition: transform .4s var(--bounce);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: var(--bw) solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform .3s var(--bounce);
}
.lightbox-close:hover { transform: rotate(90deg) scale(1.1); }

/* --------------------------------------------------------------------------
   15. Tabs (menu page)
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(34px, 4.5vw, 56px);
}
.tab-btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.tab-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.tab-btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.tab-btn.active { background: var(--ink); color: var(--white); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pill cloud (toppings) */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-cloud span {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .3s var(--bounce), background .25s var(--ease);
  cursor: default;
}
.pill-cloud span:hover { transform: translateY(-4px) rotate(-3deg); }
.pill-cloud span:nth-child(5n+1):hover { background: var(--pink); }
.pill-cloud span:nth-child(5n+2):hover { background: var(--yellow); }
.pill-cloud span:nth-child(5n+3):hover { background: var(--blue); }
.pill-cloud span:nth-child(5n+4):hover { background: var(--lime); }
.pill-cloud span:nth-child(5n+5):hover { background: var(--grape); }

.topping-group { margin-bottom: 34px; }
.topping-group h3 { margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   15b. Cup sizes
   Three cards whose drawn cups scale with the real size difference.
   -------------------------------------------------------------------------- */
.size-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  align-items: end;
}

.size-card {
  position: relative;
  text-align: center;
  padding: clamp(26px, 3vw, 36px) 24px 30px;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transition: transform .4s var(--bounce), box-shadow .3s var(--ease);
}
.size-card:hover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 14px 0 var(--ink); }
.size-card:nth-child(2) { background: var(--pink-soft); }
.size-card:nth-child(2):hover { transform: translateY(-8px) rotate(1.2deg); }
.size-card:nth-child(1) { background: var(--blue-soft); }
.size-card:nth-child(3) { background: var(--lime-soft); }

.size-card h3 { margin: 18px 0 .35em; }
.size-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.size-flag {
  position: absolute;
  top: -14px; left: 50%;
  translate: -50% 0;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 var(--ink);
  white-space: nowrap;
}

/* The cup itself — a tapered tub, sized S / M / L */
.size-cup {
  display: grid;
  place-items: center;
  margin-inline: auto;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 10px 10px 26px 26px / 8px 8px 34px 34px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  transition: transform .5s var(--bounce);
}
.size-cup .swirl { font-size: 1.7rem; translate: 0 -14%; }
.size-cup.s { width: 68px;  height: 58px; }
.size-cup.m { width: 88px;  height: 78px; }
.size-cup.l { width: 108px; height: 98px; }
.size-cup.m .swirl { font-size: 2.1rem; }
.size-cup.l .swirl { font-size: 2.5rem; }
.size-card:hover .size-cup { transform: rotate(-6deg) scale(1.06); }

/* Flavour of the week feature */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  background: var(--grape-soft);
  box-shadow: var(--shadow-hard-lg);
}
.feature img {
  width: 100%;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   16. CTA banner
   -------------------------------------------------------------------------- */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 40px);
  padding: clamp(30px, 4.4vw, 56px);
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow-hard-lg);
  position: relative;
  overflow: hidden;
}
.cta h2 { margin-bottom: .25em; }
.cta p { font-weight: 700; margin: 0; }
.cta .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta.cta-pink { background: var(--pink); }
.cta.cta-blue { background: var(--blue); }
.cta.cta-lime { background: var(--lime); }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--r-lg);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transition: transform .4s var(--bounce);
}
.info-card:hover { transform: translateY(-6px) rotate(-1deg); }
.info-card .icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.55rem;
  border-radius: 18px;
  border: var(--bw) solid var(--ink);
}
.info-card h4 { margin-bottom: .25em; }
.info-card p { color: var(--ink-2); font-size: .96rem; margin: 0; }

.map-frame {
  display: flex;                  /* lets the iframe fill a stretched grid cell */
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-hard-lg);
  min-height: 440px;
  background: var(--cream);
}
.map-frame iframe { flex: 1; width: 100%; min-height: 440px; border: 0; display: block; }

.form-card {
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard-lg);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: var(--bw) solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 5px 0 var(--ink);
  transform: translateY(-2px);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); font-weight: 600; }

.form-note {
  margin-top: 14px;
  font-size: .86rem;
  color: var(--ink-3);
  text-align: center;
}

/* Capcana pentru roboți — invizibilă, dar nu prin display:none, fiindcă
   unele bot-uri sar peste câmpurile ascunse așa. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-msg {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: var(--bw) solid var(--ink);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 0 var(--ink);
}
.form-msg.ok  { background: var(--lime-soft); }
.form-msg.err { background: var(--pink-soft); }

.field-err {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: #c62828;
}

/* Opening-hours poster — replaces the printed one, so the hours stay editable */
.hours-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  aspect-ratio: 1;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-xl);
  border: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  transition: transform .5s var(--bounce);
}
.hours-poster::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 3px dashed var(--orange);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.hours-poster:hover { transform: rotate(-1.5deg) scale(1.01); }

.hp-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hours-poster h3 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--white);
  margin: 6px 0 14px;
  line-height: .95;
}
.hp-days {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--pink);
  margin: 0;
}
.hp-time {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  color: var(--lime);
  line-height: 1;
  margin: 4px 0 16px;
}
.hp-note {
  font-family: var(--display);
  font-weight: 600;
  font-size: .84rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 255, 255, .3);
}

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 18px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .35s var(--bounce), box-shadow .25s var(--ease), background .25s var(--ease);
}
.socials a svg { width: 25px; height: 25px; display: block; }
.socials a:hover { transform: translateY(-5px) rotate(-8deg); box-shadow: 0 8px 0 var(--ink); }

/* Fiecare rețea își are culoarea ei, indiferent de ordine */
.socials .s-instagram { background: var(--pink-soft); }
.socials .s-tiktok    { background: var(--blue-soft); }
.socials .s-whatsapp  { background: var(--lime-soft); }
.socials .s-facebook  { background: var(--blue-soft); }
.socials .s-instagram:hover { background: var(--pink); }
.socials .s-tiktok:hover    { background: var(--blue); }
.socials .s-whatsapp:hover  { background: var(--lime); }
.socials .s-facebook:hover  { background: var(--blue); }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
  padding: clamp(56px, 7vw, 90px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(26px, 4vw, 48px);
  margin-bottom: 46px;
}
.footer-brand img { height: 46px; margin-bottom: 16px; }
.footer-brand p { font-size: .96rem; max-width: 34ch; }
.footer-col h5 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; font-size: .96rem; }
.footer-col a { transition: color .2s var(--ease), padding-left .25s var(--ease); }
.footer-col a:hover { color: var(--yellow); padding-left: 5px; }

.site-footer .socials { margin-top: 20px; }
.site-footer .socials a {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 4px 0 rgba(255, 255, 255, .32);
  color: #fff;
}
.site-footer .socials .s-instagram:hover { background: var(--pink);  color: var(--ink); }
.site-footer .socials .s-tiktok:hover    { background: var(--blue);  color: var(--ink); }
.site-footer .socials .s-whatsapp:hover  { background: var(--lime);  color: var(--ink); }
.site-footer .socials .s-facebook:hover  { background: var(--blue);  color: var(--ink); }

.footer-bottom {
  padding-top: 26px;
  border-top: 2px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .88rem;
}

/* --------------------------------------------------------------------------
   19. Entrance & click effects   (reveal itself lives in §2b — see note there)
   -------------------------------------------------------------------------- */

/* Word-by-word headline entrance */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: wordUp .8s var(--bounce) forwards;
}
@keyframes wordUp { to { transform: translateY(0); } }

/* Sparkle burst on click */
.spark {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  animation: burst .7s var(--ease) forwards;
}
@keyframes burst {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to   { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav-tools .btn { display: none; }
  .hero-collage .t2 { transform: rotate(1.5deg) scale(1.03); }
  .sticker-1 { top: -18px; left: 0; }
  .sticker-2 { right: 0; }
  .sticker-3 { display: none; }
  .seal { width: 84px; top: -26px; right: 0; }
  .badge-pill { right: 8px; }
  .split-media > img { aspect-ratio: 4 / 3.2; }
}

@media (max-width: 620px) {
  /* Headline fills the width here, so the doodles would collide with it */
  .doodle-1, .doodle-3 { display: none; }
  .doodle-2 { top: -8%; right: -2%; }
  .hero-actions .btn { width: 100%; }

  /* One hero shot is plenty on a phone */
  .hero-collage { grid-template-columns: 1fr; }
  .hero-collage .t1, .hero-collage .t3 { display: none; }
  .hero-collage .t2 { transform: rotate(0deg); aspect-ratio: 4 / 4.2; }
  .stat-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .mobile-nav a { font-size: 1.6rem; }
  .sticker { font-size: .84rem; padding: 10px 15px; }
}

/* --------------------------------------------------------------------------
   21. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .scroll-bar, .marquee-band, .site-footer { display: none; }
  .reveal { opacity: 1; transform: none; }
}
