/* ==========================================================================
   Components — built only from tokens.
   One tactile vocabulary sitewide: glossy candy surfaces (top highlight +
   darker lip), hover lifts 2px with a shine sweep, press squishes to .95.
   Lift and squish use the individual `translate` / `scale` properties so they
   never fight GSAP, which owns `transform`.
   ========================================================================== */

/* ---- Icon ---- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ==========================================================================
   Buttons — candy gloss
   ========================================================================== */
.btn {
  --btn-bg: var(--red-ink);
  --btn-hi: #D8321F;
  --btn-fg: #fff;
  --btn-glow: rgba(196, 41, 26, .55);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px;
  padding: .85em 1.6em;
  border-radius: var(--r-pill);
  border: 0;
  background: linear-gradient(180deg, var(--btn-hi) 0%, var(--btn-bg) 72%);
  color: var(--btn-fg);
  box-shadow: var(--gloss), 0 12px 24px -12px var(--btn-glow);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: translate var(--dur-2) var(--ease-spring), scale var(--dur-1) var(--ease-spring),
              box-shadow var(--dur-2) var(--ease-out), filter var(--dur-2) var(--ease-out);
}
/* the shine: a soft diagonal highlight that sweeps across on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 48%, transparent 62%);
  translate: -130% 0;
  transition: translate .75s var(--ease-out);
}
.btn:hover { translate: 0 -2px; box-shadow: var(--gloss), 0 18px 30px -12px var(--btn-glow); filter: saturate(1.08); }
.btn:hover::after { translate: 130% 0; }
.btn:active { scale: .95; translate: 0 0; }
.btn .i { width: 1.15em; height: 1.15em; transition: translate var(--dur-2) var(--ease-spring); }
.btn:hover .i--arrow { translate: 4px 0; }

.btn--yellow { --btn-bg: #FFD43B; --btn-hi: #FFEA8F; --btn-fg: var(--ink); --btn-glow: rgba(214, 160, 0, .55); }
.btn--white  { --btn-bg: #F3F1FA; --btn-hi: #FFFFFF; --btn-fg: var(--ink); --btn-glow: rgba(27, 26, 51, .35); }
.btn--white .i--wa { color: var(--wa); }
.btn--grape  { --btn-bg: var(--grape-ink); --btn-hi: #7448EA; --btn-fg: #fff; --btn-glow: rgba(91, 47, 208, .55); }
.btn--wa     { --btn-bg: var(--wa); --btn-hi: #1B9454; --btn-fg: #fff; --btn-glow: rgba(15, 122, 64, .5); }
.btn--glass  { --btn-bg: rgba(255, 255, 255, .1); --btn-hi: rgba(255, 255, 255, .2); --btn-fg: #fff; --btn-glow: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn--glass:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--sm { min-height: 44px; padding: .6em 1.2em; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; translate: none; }

.magnetic { display: inline-block; }

/* Text link with a drawn underline */
.link {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-weight: 700; color: var(--red-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 80% / 0 2px no-repeat;
  transition: background-size var(--dur-2) var(--ease-out);
}
.link:hover { background-size: 100% 2px; }
.link .i { width: 1em; height: 1em; transition: translate var(--dur-2) var(--ease-spring); }
.link:hover .i { translate: 4px 0; }
.on-color .link { color: #fff; }

/* ---- Pills, chips, stars ---- */
.pill {
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px;
  padding: .42em 1.1em;
  border-radius: var(--r-pill);
  background: #fff; color: var(--ink);
  box-shadow: var(--sh-1);
  font-size: .92rem; font-weight: 500; text-decoration: none;
  transition: translate var(--dur-2) var(--ease-spring);
}
a.pill:hover { translate: 0 -2px; }
.pill b { font-weight: 800; }
.pill .stars { color: #F2A800; }
.stars { letter-spacing: .08em; font-size: .92em; }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .34em .85em; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 800; letter-spacing: .01em;
  background: #fff; color: var(--ink); box-shadow: var(--sh-1);
}

/* ---- Keyword highlight with hand-drawn squiggle ---- */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.squiggle {
  position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .3em;
  overflow: visible; pointer-events: none;
}
.squiggle path {
  fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}

/* Rainbow letters ("play & grow"): each letter its own crayon, hops on hover */
.rainbow .l { display: inline-block; transition: translate .4s var(--ease-spring), rotate .4s var(--ease-spring); }
.rainbow:hover .l { translate: 0 -.1em; }
.rainbow:hover .l:nth-child(odd) { rotate: -6deg; }
.rainbow:hover .l:nth-child(even) { rotate: 6deg; }
.c-red { color: var(--red-ink); }
.c-sky { color: var(--sky-ink); }
.c-leaf { color: var(--leaf-ink); }
.c-grape { color: var(--grape-ink); }
.c-bubble { color: var(--bubble-ink); }
.c-tangerine { color: var(--tangerine-ink); }
.c-ink { color: var(--ink); }

/* Word-split headline wrapper (created by motion.js) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }

/* ---- Photos ----
   Real photos, never distorted: object-fit cover + a per-photo focal point. */
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--yellow-soft); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
/* Polaroid: thick white frame, deeper at the bottom, soft long shadow */
.polaroid {
  position: relative; display: block;
  background: #fff;
  padding: var(--frame) var(--frame) calc(var(--frame) * 3.4);
  border-radius: 20px;
  box-shadow: var(--sh-2);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); border-radius: 14px; }

.doodle { position: absolute; pointer-events: none; z-index: var(--z-deco); }
.doodle path { fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Cards ---- */
.card { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-1); }

/* Tilt + glare: pointer position arrives as --rx/--ry/--gx/--gy from motion.js */
.tilt { position: relative; transition: transform .5s var(--ease-out); }
.tilt.is-tilting, .tilt.was-tilted { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt.is-tilting { transition: transform .12s linear; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 50%);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.tilt.is-tilting::after { opacity: 1; }

/* ---- Icon badge ---- */
.badge-ico {
  display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; border-radius: 16px;
  background: var(--yellow); color: var(--ink);
  box-shadow: var(--gloss);
  rotate: -6deg;
}
.badge-ico .i { width: 23px; height: 23px; }
.badge-ico--grape { background: var(--grape); color: #fff; }
.badge-ico--bubble { background: var(--bubble); color: var(--ink); }

/* ==========================================================================
   Toy blocks (hero) — glossy, throwable
   ========================================================================== */
.blocks { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.block {
  --hi: #FF7A63; --base: var(--red); --fg: #fff;
  position: absolute; left: var(--x); top: var(--y);
  width: clamp(54px, 5.6vw, 82px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 24%;
  font-family: var(--font-brand); font-weight: 800; font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1; padding-top: .08em;
  color: var(--fg);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .18);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 38%),
    linear-gradient(155deg, var(--hi), var(--base));
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .17), inset 0 3px 0 rgba(255, 255, 255, .55), 0 20px 28px -14px rgba(27, 26, 51, .55);
  rotate: var(--r);
  pointer-events: auto;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}
.block:active { cursor: grabbing; }
.block--yellow { --hi: #FFF0A0; --base: #FFC928; --fg: var(--red-ink); text-shadow: 0 3px 0 rgba(255, 255, 255, .5); }
.block--leaf   { --hi: #7EE3A6; --base: #22A95B; }
.block--grape  { --hi: #B79BFF; --base: #7447EE; }
.block--bubble { --hi: #FFA8CF; --base: #F2468F; }
.block--sky    { --hi: #9BE2FF; --base: #1FA6E0; }

/* ---- Stickers ---- */
.sticker {
  position: absolute; z-index: 6;
  display: grid; line-height: 1.1; text-align: center;
  padding: .7em 1.1em; border-radius: 18px;
  background: #fff; color: var(--ink);
  box-shadow: var(--sh-2), inset 0 0 0 3px var(--yellow);
  font-size: .8rem; font-weight: 600;
  rotate: -7deg;
  animation: bob 4.5s ease-in-out infinite;
}
.sticker b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  padding-top: 14px;
  transition: transform .45s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  width: min(100% - 2 * var(--gutter) + 24px, var(--maxw) + 24px);
  margin-inline: auto;
  padding: 8px 8px 8px 12px;
  border-radius: var(--r-pill);
  color: var(--ink);
  border: 1px solid transparent;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.nav.is-solid .nav__bar {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: var(--sh-1);
}

@media (max-width: 1099px), (pointer: coarse) {
  .nav.is-solid .nav__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__badge {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 30% 25%, #FFF3B0, var(--yellow) 55%);
  color: var(--red);
  display: grid; place-items: center;
  font-family: var(--font-brand); font-weight: 800; font-size: 2rem; line-height: 1;
  padding-bottom: 4px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1), 0 6px 14px -6px rgba(214, 160, 0, .8);
  rotate: -4deg;
  transition: rotate var(--dur-3) var(--ease-spring), scale var(--dur-3) var(--ease-spring);
}
.brand:hover .brand__badge { rotate: 12deg; scale: 1.08; }
.brand__word { display: flex; flex-direction: column; line-height: .9; }
.brand__word .a { font-family: var(--font-brand); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; color: var(--red-ink); }
.brand__word .c { font-family: var(--font-brand); font-weight: 800; font-size: .7rem; letter-spacing: .34em; align-self: flex-end; margin-right: -.34em; }

.nav__links { display: none; position: relative; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; z-index: 1;
  padding: .55em .95em; border-radius: var(--r-pill);
  font-size: .94rem; font-weight: 600; text-decoration: none;
  transition: color var(--dur-2) var(--ease-out);
}
.nav__links a:hover { color: var(--red-ink); }
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__ind {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #FFEA8F, #FFD43B);
  box-shadow: var(--gloss);
  transform: translateY(-50%); opacity: 0;
  transition: transform .55s var(--ease-spring), width .55s var(--ease-spring), opacity .3s var(--ease-out);
  pointer-events: none;
}
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__phone { display: none; align-items: center; gap: .45em; font-weight: 700; font-size: .94rem; text-decoration: none; padding: .5em .6em; }
.nav__phone:hover { color: var(--red-ink); }

.menu-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: var(--sh-1);
}
.menu-btn__lines { position: relative; width: 20px; height: 12px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-2) var(--ease-spring), top var(--dur-2) var(--ease-out);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 9.5px; }
.menu-open .menu-btn__lines::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1100px) { .nav__links { display: flex; } .menu-btn { display: none; } }
@media (min-width: 1240px) { .nav__phone { display: inline-flex; } }
@media (max-width: 420px) { .nav__cta { display: none; } }

/* Mobile menu — full-screen brand-red sheet */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 222, 89, .28), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 111, 174, .3), transparent 45%),
    var(--red-ink);
  color: #fff;
  padding: 100px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  visibility: hidden;
  transition: clip-path .6s var(--ease-in-out), visibility 0s linear .6s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .6s var(--ease-in-out); }
.menu-open .nav { z-index: calc(var(--z-menu) + 1); }
.menu-open .nav .nav__bar { background: transparent; box-shadow: none; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .brand__word .a { color: #fff; }
.menu__links { list-style: none; padding: 0; display: grid; gap: 2px; }
.menu__links a {
  display: flex; align-items: baseline; gap: var(--s4);
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.9rem, 8vw, 2.8rem); line-height: 1.2;
  text-decoration: none; padding: .1em 0;
  opacity: 0; translate: 0 24px;
  transition: opacity .5s var(--ease-out), translate .5s var(--ease-spring), color var(--dur-2);
}
.menu__links a span { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .85); letter-spacing: .1em; }
.menu__links a:hover { color: var(--yellow); }
.menu-open .menu__links a { opacity: 1; translate: 0 0; }
.menu-open .menu__links li:nth-child(1) a { transition-delay: .18s; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: .22s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: .26s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: .30s; }
.menu-open .menu__links li:nth-child(5) a { transition-delay: .34s; }
.menu-open .menu__links li:nth-child(6) a { transition-delay: .38s; }
.menu-open .menu__links li:nth-child(7) a { transition-delay: .42s; }
.menu__foot { display: grid; gap: var(--s3); margin-top: var(--s7); }
.menu__foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Floating actions, progress, cursor, confetti
   ========================================================================== */
/* Bottom bar: tab-bar on phones, a floating candy pill on desktop.
   The only place outside the enquiry form that shows the phone number. */
.dock {
  position: fixed; z-index: var(--z-fab);
  left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  translate: -50% 0;
  display: flex; align-items: center; gap: 6px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.8) blur(14px); backdrop-filter: saturate(1.8) blur(14px);
  box-shadow: 0 18px 40px -16px rgba(27, 26, 51, .45), inset 0 0 0 1px rgba(255, 255, 255, .9);
  transition: opacity var(--dur-2), translate var(--dur-3) var(--ease-spring);
}
.dock.is-away { opacity: 0; translate: -50% 30px; pointer-events: none; }
.menu-open .dock { opacity: 0; pointer-events: none; }
.dock__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.1em;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; color: var(--ink);
  transition: background-color var(--dur-2), scale var(--dur-1) var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.dock__btn:hover { background: var(--sky-soft); }
.dock__btn:active { scale: .94; }
.dock__btn .i { width: 20px; height: 20px; }
.dock__btn--wa .i { color: var(--wa); }
.dock__btn--ig { padding: 0; width: 48px; }
.dock__btn--ig span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dock__btn--ig .i { color: #D6307A; }
.dock__btn--book {
  background: linear-gradient(180deg, #D8321F, var(--red-ink) 72%); color: #fff;
  box-shadow: var(--gloss), 0 10px 20px -10px rgba(196, 41, 26, .6);
}
.dock__btn--book:hover { background: linear-gradient(180deg, #D8321F, var(--red-ink) 72%); filter: saturate(1.1); }
.dock :focus-visible { outline-offset: 2px; }

/* Phones: full-width tab bar, icon over label */
@media (max-width: 767px) {
  .dock {
    left: 10px; right: 10px; translate: none; bottom: max(10px, env(safe-area-inset-bottom));
    border-radius: 24px; gap: 4px; padding: 5px;
    -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .98);
  }
  .dock.is-away { translate: 0 30px; }
  .dock__btn { flex: 1 1 0; flex-direction: column; gap: 3px; min-height: 56px; padding: 6px 2px; border-radius: 19px; font-size: .72rem; line-height: 1.1; }
  .dock__btn--ig { flex: 0 0 52px; width: auto; }
  .dock__btn--ig span { position: static; width: auto; height: auto; clip: auto; }
}

.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: calc(var(--z-nav) + 1); pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--red), var(--tangerine), var(--yellow), var(--leaf), var(--sky), var(--grape), var(--bubble));
  transform-origin: left; transform: scaleX(0);
  border-radius: 0 4px 4px 0;
}

.cursor { display: none; }
.has-cursor .cursor {
  display: grid; place-items: center;
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor);
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--red); pointer-events: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7);
  transition: width .35s var(--ease-spring), height .35s var(--ease-spring), margin .35s var(--ease-spring),
              background-color .3s, opacity .3s;
}
.has-cursor .cursor.is-big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--grape-ink); }
.cursor__label { font-size: .8rem; font-weight: 800; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: calc(var(--z-modal) + 1); visibility: hidden; }

/* ==========================================================================
   Intro — the brand badge pops, "alphabet" bounces in letter by letter,
   then the curtain irises out. ~1.9s, first visit per session, click skips.
   ========================================================================== */
.intro { display: none; }
.has-intro { --intro: 1.55s; }
.has-intro .intro {
  position: fixed; inset: 0; z-index: var(--z-intro);
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 45%, #D8321F, var(--red-ink) 70%);
  animation: intro-out .7s 1.45s var(--ease-in-out) forwards;
}
.intro__inner { display: grid; justify-items: center; gap: 6px; }
.intro__badge {
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; padding-bottom: 10px;
  background: radial-gradient(circle at 30% 25%, #FFF3B0, var(--yellow) 55%);
  color: var(--red);
  font-family: var(--font-brand); font-weight: 800; font-size: 5rem; line-height: 1;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .1), 0 20px 40px -16px rgba(0, 0, 0, .5);
  animation: intro-pop .7s var(--ease-spring) both;
}
.intro__word { display: flex; font-family: var(--font-brand); font-weight: 800; font-size: clamp(3rem, 12vw, 5.5rem); line-height: 1; color: var(--yellow); margin-top: 10px; }
.intro__word span { display: inline-block; animation: intro-letter .6s var(--ease-spring) both; }
.intro__word span:nth-child(1) { animation-delay: .30s; } .intro__word span:nth-child(2) { animation-delay: .35s; }
.intro__word span:nth-child(3) { animation-delay: .40s; } .intro__word span:nth-child(4) { animation-delay: .45s; }
.intro__word span:nth-child(5) { animation-delay: .50s; } .intro__word span:nth-child(6) { animation-delay: .55s; }
.intro__word span:nth-child(7) { animation-delay: .60s; } .intro__word span:nth-child(8) { animation-delay: .65s; }
.intro__c { font-family: var(--font-brand); font-weight: 800; letter-spacing: .5em; margin-right: -.5em; color: #fff; font-size: clamp(.9rem, 3vw, 1.3rem); animation: intro-fade .5s .85s var(--ease-out) both; }
.intro.is-skipped { display: none !important; }
@keyframes intro-pop { from { scale: 0; rotate: -90deg; } }
@keyframes intro-letter { from { translate: 0 70%; opacity: 0; scale: .6; } }
@keyframes intro-fade { from { opacity: 0; translate: 0 8px; } }
@keyframes intro-out { to { clip-path: circle(0% at 50% 50%); visibility: hidden; } }
.has-intro .intro { clip-path: circle(150% at 50% 50%); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(27, 26, 51, .9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 72px 16px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-2) var(--ease-out); }
.lightbox figure { max-width: min(92vw, 720px); display: grid; gap: var(--s3); justify-items: center; }
.lightbox img {
  max-height: 76vh; width: auto; border-radius: 18px; border: 6px solid #fff;
  scale: .94; rotate: -2deg; transition: scale var(--dur-3) var(--ease-spring), rotate var(--dur-3) var(--ease-spring);
}
.lightbox.is-open img { scale: 1; rotate: 0deg; }
.lightbox figcaption { color: #fff; font-weight: 700; text-align: center; font-family: var(--font-display); font-size: 1.2rem; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  box-shadow: var(--sh-1);
  transition: scale var(--dur-2) var(--ease-spring);
}
.lightbox button:hover { scale: 1.08; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* ==========================================================================
   Form fields
   ========================================================================== */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field .req { color: var(--red-ink); }
.field .opt-l { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: .8em 1em;
  border-radius: 16px;
  border: 2px solid rgba(27, 26, 51, .14);
  background: #FDFCFF;
  font-size: 1rem;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1A33' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(27, 26, 51, .3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--grape-ink); background: #fff; box-shadow: 0 0 0 5px var(--grape-soft);
}
.field__err { display: none; color: var(--red-ink); font-size: .86rem; font-weight: 600; }
.field.is-invalid input { border-color: var(--red-ink); box-shadow: 0 0 0 5px var(--red-soft); }
.field.is-invalid .field__err { display: block; }
.field.is-invalid { animation: shake .4s var(--ease-out); }
@keyframes shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }

/* ==========================================================================
   Accordion (FAQ) — each question a white candy card
   ========================================================================== */
.acc { display: grid; gap: 12px; }
.acc__item {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1);
  padding: 0 1.25rem;
  transition: box-shadow var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-spring);
}
.acc__item:hover { translate: 0 -2px; }
.acc__item.is-open { box-shadow: var(--sh-2), inset 0 0 0 3px var(--c); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 1.15rem 0; text-align: left; min-height: 64px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  letter-spacing: -.01em; line-height: 1.3;
}
.acc__pm {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--c); color: var(--ink); box-shadow: var(--gloss);
  transition: rotate var(--dur-3) var(--ease-spring), scale var(--dur-2) var(--ease-spring);
}
.acc__q:hover .acc__pm { scale: 1.1; }
.acc__pm .i { width: 18px; height: 18px; stroke-width: 2.6; }
.acc__item.is-open .acc__pm { rotate: 135deg; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 2.5rem 1.3rem 0; color: var(--text-2); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }

/* The blocks wait (one frame) for motion.js to place them above the sky,
   so they never flash at their resting spots first. */
.js-motion:not(.blocks-on) .blocks { visibility: hidden; }
