/* ==========================================================================
   Sedi Events — premium party planner, Soweto
   Design system + page styles.

   Palette is built from Gloria's own logo pink. Two rounded faces only:
   Fredoka carries display and the label layer, Nunito carries body. The
   brochure's scalloped bunting becomes the section divider motif, so the site
   and the printed flyer read as one brand.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  /* Brand. --pink is the logo pink and is reserved for LARGE type, graphics
     and fills: at 3.5:1 on white it fails AA for body copy. --pink-600 is the
     same hue pushed to 4.5:1 and is what every link and button label uses. */
  --pink: #ff2e88;
  --pink-600: #e11d74;
  --pink-700: #b8145d;
  --pink-200: #ffd3e6;
  --pink-100: #ffe6f1;
  --pink-50: #fff0f7;

  --plum: #4a1133;
  --ink: #2a0a1d;
  --ink-70: rgba(42, 10, 29, 0.72);
  --ink-55: rgba(42, 10, 29, 0.58);
  --line: rgba(74, 17, 51, 0.12);

  --cream: #fff7fb;
  --white: #ffffff;

  /* One colour per treat. These drive the treat cards, the machine graphics
     and the calculator chips, so a child can track "the yellow one" across
     six pages. */
  --butter: #ffc83d;
  --butter-ink: #6b4a00;
  --sky: #5cc9f0;
  --sky-ink: #0b4a63;
  --grape: #9046c8;
  --mint: #3fce9e;
  --mint-ink: #0a5540;

  --rgb-pink: 255, 46, 136;
  --rgb-plum: 74, 17, 51;

  /* Type */
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-mega: clamp(3rem, 11vw, 7.5rem);
  --fs-display: clamp(2.5rem, 7.5vw, 5.5rem);
  --fs-h1: clamp(2.1rem, 5.5vw, 3.8rem);
  --fs-h2: clamp(1.75rem, 3.8vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-lede: clamp(1.05rem, 1.1vw + 0.85rem, 1.35rem);
  --fs-body: clamp(1rem, 0.35vw + 0.92rem, 1.1rem);
  --fs-sm: 0.94rem;
  --fs-xs: 0.8rem;

  /* Rhythm */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --wrap: 1240px;
  --wrap-narrow: 760px;
  --section: clamp(4rem, 9vw, 8rem);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --r-xl: 44px;
  --pill: 999px;

  --sh-1: 0 2px 8px rgba(var(--rgb-plum), 0.06), 0 10px 26px rgba(var(--rgb-plum), 0.07);
  --sh-2: 0 4px 16px rgba(var(--rgb-plum), 0.08), 0 20px 52px rgba(var(--rgb-plum), 0.11);
  --sh-pink: 0 10px 28px rgba(var(--rgb-pink), 0.3);

  --bar: 74px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --bar: 86px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchored sections must clear the fixed bar. */
  scroll-padding-top: calc(var(--bar) + 1rem);
  /* The tilted marquees and the hero blobs are wider than the viewport by
     design. This has to be `clip` and not `hidden`: `hidden` would turn the
     element into a scroll container and silently stop every position:sticky
     on the site from sticking. */
  overflow-x: clip;
}

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

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

img, svg, video { display: block; max-width: 100%; }
/* A width/height attribute pair without this turns every fluid image into a
   fixed-height box. It has bitten this studio before — leave it in. */
img { height: auto; }

a { color: var(--pink-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink-700); }

button, input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: var(--pink-200); color: var(--plum); }

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

.section { padding-block: var(--section); position: relative; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
}
.skip:focus { left: 0; }

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

/* -------------------------------------------------------- 3. label + eyebrow */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-600);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px; border-radius: 2px;
  background: currentColor;
}
.eyebrow--plain::before { display: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 2px solid var(--pink-200);
  color: var(--plum);
  border-radius: var(--pill);
  padding: 0.45rem 1rem 0.45rem 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.02em;
  box-shadow: var(--sh-1);
}
.badge b { color: var(--pink-600); }
.badge .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(63, 206, 158, 0.22);
  flex: none;
}

/* ------------------------------------------------------------- 4. buttons */
.btn {
  --btn-bg: var(--pink-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  min-height: 52px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--pill);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--sh-pink);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), background 0.2s;
  will-change: transform;
}
.btn:hover { color: var(--btn-fg); box-shadow: 0 14px 34px rgba(var(--rgb-pink), 0.42); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--plum);
  border: 2px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--white); border-color: var(--pink-200); box-shadow: var(--sh-1); }

.btn--wa { --btn-bg: #1faf54; box-shadow: 0 10px 28px rgba(31, 175, 84, 0.32); }
.btn--wa:hover { box-shadow: 0 14px 34px rgba(31, 175, 84, 0.42); }

.btn--plum { --btn-bg: var(--plum); box-shadow: 0 10px 28px rgba(var(--rgb-plum), 0.3); }

.btn--lg { padding: 1.1rem 2.1rem; min-height: 60px; font-size: 1.12rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
/* On a phone two buttons of different natural widths read as a mistake, and
   the narrower one is a poor thumb target. Below the fold-out they share the
   column. */
@media (max-width: 519px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ------------------------------------------------------------- 5. the bar */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--bar);
  z-index: 90;
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 247, 251, 0.88);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--sh-1);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.bar.is-stuck::after { opacity: 1; }

.bar .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--plum);
  margin-right: auto;
  flex: none;
}
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-sub {
  display: block;
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--pink-600);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--pill);
  color: var(--plum);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  transition: color 0.2s, background 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover { color: var(--pink-600); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--pink-600); }

.bar .btn { padding: 0.7rem 1.25rem; min-height: 46px; font-size: 0.95rem; }

.burger {
  display: none;
  width: 48px; height: 48px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger span {
  display: block;
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: var(--plum);
  position: relative;
  transition: background 0.2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: var(--plum);
  transition: transform 0.35s var(--ease-spring);
}
.burger span::before { top: -6.5px; }
.burger span::after { top: 6.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6.5px) rotate(-45deg); }

/* The collapse happens at 1024, not at tablet: the wordmark, six links and a
   button will not share a 74px bar below that. */
@media (max-width: 1023px) {
  .burger { display: flex; }
  .nav-wrap {
    position: fixed;
    inset: var(--bar) 0 0 0;
    background: var(--cream);
    padding: 1.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.4s var(--ease-out), visibility 0.3s;
  }
  .nav-wrap.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav a {
    padding: 1rem 1.1rem;
    font-size: 1.22rem;
    font-family: var(--display);
    border-radius: var(--r);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { background: var(--pink-50); }
  .bar .btn { width: 100%; }
}
@media (min-width: 1024px) {
  .nav-wrap { display: flex; align-items: center; gap: 1rem; }
}

/* ------------------------------------------------- 6. mobile action dock */
/* Two taps that matter — message Gloria, or ring her. Always in the thumb
   zone, clear of the iOS home indicator. */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 247, 251, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.dock.is-up { transform: none; }
.dock .btn { flex: 1; min-height: 50px; padding-inline: 0.8rem; font-size: 0.97rem; }
@media (max-width: 767px) {
  .dock { display: flex; }
  body { padding-bottom: 0; }
}

/* ------------------------------------------------------ 7. scallop divider */
/* The bunting edge from her printed flyer, as a section cap. */
.scallop {
  display: block;
  width: 100%;
  height: clamp(22px, 3.4vw, 42px);
  color: var(--cream);
}
.scallop svg { width: 100%; height: 100%; display: block; }
.scallop--flip svg { transform: rotate(180deg); }

/* ---------------------------------------------------------------- 8. hero */
.hero {
  position: relative;
  padding-top: calc(var(--bar) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 78% 8%, var(--pink-100) 0%, transparent 62%),
    radial-gradient(70% 60% at 8% 92%, #fff4d6 0%, transparent 58%),
    linear-gradient(180deg, #fff9fc 0%, var(--cream) 100%);
}

/* Ambient sugar. Canvas because sixty DOM nodes drifting is a paint storm on a
   mid-range Android; the canvas draws one layer and is skipped entirely under
   reduced motion. */
.sprinkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.blob--1 { width: 46vw; height: 46vw; background: var(--pink-200); top: -8vw; right: -10vw; }
.blob--2 { width: 34vw; height: 34vw; background: #ffe9a8; bottom: -12vw; left: -8vw; }
.blob--3 { width: 26vw; height: 26vw; background: #cfeeff; top: 42%; right: 32%; opacity: 0.42; }

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}

.hero h1 {
  font-size: var(--fs-display);
  margin: 1.1rem 0 0;
  letter-spacing: -0.035em;
}
/* Per-word spring entrance. Each word is wrapped by the script; the mask means
   the letters rise out of nothing rather than fading on the spot. */
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
/* The accent word's swoosh hangs below the baseline, so its mask stays open
   and the rise is carried by the transform alone. */
.hero h1 .w--free { overflow: visible; }
.hero h1 .w > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transition: transform 0.9s var(--ease-spring);
  transition-delay: var(--d, 0ms);
}
.hero h1 .w--free > span { transform: translateY(105%) rotate(4deg); }
.is-ready .hero h1 .w > span { transform: none; }

.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--pink);
  white-space: nowrap;
}
/* Hand-drawn candy-floss swoosh under the accent word. */
.hero h1 em svg {
  position: absolute;
  left: -2%;
  bottom: -0.26em;
  width: 104%;
  height: 0.42em;
  overflow: visible;
  color: var(--butter);
}
.hero h1 em path {
  fill: none;
  stroke: currentColor;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  transition: stroke-dashoffset 1.1s var(--ease-out) 0.75s;
}
.is-ready .hero h1 em path { stroke-dashoffset: 0; }

.hero-lede {
  font-size: var(--fs-lede);
  color: var(--ink-70);
  max-width: 34ch;
  margin-top: 1.4rem;
}
.hero .btn-row { margin-top: 2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--plum);
}
.hero-trust svg { width: 19px; height: 19px; color: var(--mint); flex: none; }

/* Floating photo stack. Three of Gloria's own pictures, held at different
   depths and tilted, parallaxed to the pointer through --mx/--my. */
.stack {
  position: relative;
  aspect-ratio: 1 / 1.02;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.stack figure {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  border: 6px solid var(--white);
  background: var(--white);
  will-change: transform;
  transform: translate3d(calc(var(--mx, 0) * var(--d, 10px)), calc(var(--my, 0) * var(--d, 10px)), 0) rotate(var(--r, 0deg));
  transition: transform 0.5s var(--ease-out);
}
.stack img { width: 100%; height: 100%; object-fit: cover; }
.stack .s1 { width: 62%; left: 0; top: 4%; --r: -5deg; --d: 16px; z-index: 3; aspect-ratio: 4/5; }
.stack .s2 { width: 50%; right: 0; top: 0; --r: 6deg; --d: 26px; z-index: 2; aspect-ratio: 4/5; }
.stack .s3 { width: 56%; right: 4%; bottom: 0; --r: -3deg; --d: 38px; z-index: 4; aspect-ratio: 4/5; }

/* The price flag that rides the stack. */
.stack .flag {
  position: absolute;
  left: -4%;
  bottom: 12%;
  z-index: 6;
  background: var(--butter);
  color: var(--butter-ink);
  border-radius: var(--pill);
  padding: 0.7rem 1.2rem;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: var(--sh-2);
  border: 4px solid var(--white);
  transform: rotate(-7deg) translate3d(calc(var(--mx, 0) * 46px), calc(var(--my, 0) * 46px), 0);
  text-align: center;
  transition: transform 0.5s var(--ease-out);
}
.stack .flag b { display: block; font-size: 1.35rem; }
.stack .flag span { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

@media (max-width: 999px) {
  .stack { max-width: 440px; }
}
@media (max-width: 479px) {
  .stack .flag { left: 0; padding: 0.55rem 0.9rem; }
  .stack .flag b { font-size: 1.1rem; }
}

/* --------------------------------------------------------- 9. the marquee */
.marquee {
  overflow: hidden;
  background: var(--pink);
  color: #fff;
  padding: 0.85rem 0;
  border-block: 4px solid var(--plum);
  transform: rotate(-1.3deg) scale(1.03);
  position: relative;
  z-index: 3;
}
.marquee--alt { background: var(--plum); transform: rotate(1deg) scale(1.03); }
.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee--alt .marquee-track { animation-direction: reverse; animation-duration: 42s; }
.marquee-track span {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
}
.marquee-track span::after { content: "★"; color: var(--butter); font-size: 0.8em; }
.marquee--alt .marquee-track span::after { color: var(--pink-200); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ------------------------------------------------------- 10. section heads */
.head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.head--centre { margin-inline: auto; text-align: center; }
.head h2 { font-size: var(--fs-h2); margin-top: 0.9rem; }
.head p { color: var(--ink-70); font-size: var(--fs-lede); margin-top: 1rem; }

/* ------------------------------------------------------- 11. treat cards */
.treats {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.treat {
  --tint: var(--pink);
  --tint-ink: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out);
  will-change: transform;
}
.treat:hover { transform: translateY(-10px); box-shadow: var(--sh-2); color: inherit; }

.treat-art {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--tint);
}
.treat-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.treat:hover .treat-art img { transform: scale(1.07); }

.treat-num {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--plum);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.treat-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.treat-body h3 { font-size: 1.42rem; }
.treat-body p { color: var(--ink-70); font-size: var(--fs-sm); flex: 1; }

.treat-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.3rem;
  padding-top: 0.9rem;
  border-top: 2px dashed var(--line);
}
.treat-price b { font-family: var(--display); font-size: 1.5rem; color: var(--pink-600); }
.treat-price span { font-size: var(--fs-xs); color: var(--ink-55); font-weight: 700; }

.treat--pop { --tint: var(--butter); }
.treat--floss { --tint: var(--sky); }
.treat--slush { --tint: var(--grape); }
.treat--cream { --tint: var(--mint); }

/* Colour bleeds up from the foot of the card on hover — the only cue that the
   whole card is a link. */
.treat::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--tint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.treat:hover::after { transform: scaleX(1); }

/* ------------------------------------------------------ 12. combo feature */
.combo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--plum) 0%, #6d1a4b 52%, var(--pink-700) 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.6rem);
  box-shadow: var(--sh-2);
}
.combo::before {
  content: "";
  position: absolute;
  width: 60%; aspect-ratio: 1;
  right: -14%; top: -30%;
  background: radial-gradient(circle, rgba(255, 200, 61, 0.34), transparent 66%);
  pointer-events: none;
}
.combo-grid { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .combo-grid { grid-template-columns: 1.25fr 1fr; } }
.combo h2 { font-size: var(--fs-h2); color: #fff; }
.combo p { color: rgba(255, 255, 255, 0.86); margin-top: 1rem; font-size: var(--fs-lede); }
.combo .eyebrow { color: var(--butter); }
.combo ul { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.combo li { display: flex; gap: 0.7rem; align-items: center; font-weight: 700; }
.combo li svg { width: 22px; height: 22px; color: var(--butter); flex: none; }

.combo-price {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  text-align: center;
  backdrop-filter: blur(6px);
}
.combo-price .amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 1;
  color: var(--butter);
  display: block;
}
.combo-price .sub { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.78); display: block; margin-top: 0.5rem; }
.combo-price .btn { margin-top: 1.4rem; width: 100%; }

/* --------------------------------------------------------- 13. step rail */
.steps { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--sh-1);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -22px; left: 1.6rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--sh-pink);
  border: 4px solid var(--cream);
}
.step h3 { margin-top: 1.1rem; font-size: 1.3rem; }
.step p { color: var(--ink-70); margin-top: 0.6rem; font-size: var(--fs-sm); }

/* --------------------------------------------------------- 14. calculator */
.calc {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  overflow: hidden;
  display: grid;
}
@media (min-width: 920px) { .calc { grid-template-columns: 1.15fr 1fr; } }

.calc-in { padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.calc-out {
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: linear-gradient(160deg, var(--pink-50), var(--pink-100));
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.field { margin-bottom: 1.6rem; }
.field > label, .field > .lbl {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: var(--plum);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pink-50);
  border: 2px solid var(--pink-200);
  border-radius: var(--pill);
  padding: 0.4rem;
  width: fit-content;
}
.stepper button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--pink-600);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform 0.25s var(--ease-spring), background 0.2s;
}
.stepper button:hover { background: var(--pink-600); color: #fff; }
.stepper button:active { transform: scale(0.9); }
.stepper input {
  width: 4.5ch;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--plum);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--pill);
  border: 2px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  user-select: none;
}
.chip span::before {
  content: "";
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--c, var(--pink));
  flex: none;
  box-shadow: 0 0 0 0 var(--c, var(--pink));
  transition: box-shadow 0.3s;
}
.chip input:checked + span {
  border-color: var(--c, var(--pink));
  background: var(--white);
  box-shadow: 0 6px 18px rgba(var(--rgb-plum), 0.1);
  transform: translateY(-2px);
}
.chip input:checked + span::before { box-shadow: 0 0 0 4px rgba(var(--rgb-pink), 0.18); }
.chip input:focus-visible + span { outline: 3px solid var(--pink-600); outline-offset: 3px; }

.calc-total { margin-top: auto; }
.calc-lines { display: grid; gap: 0.55rem; margin-bottom: 1.2rem; }
.calc-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-sm);
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(var(--rgb-plum), 0.18);
}
.calc-line b { font-weight: 800; white-space: nowrap; }
.calc-line.is-note { border: none; color: var(--ink-55); font-size: var(--fs-xs); }

.calc-sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.4rem;
}
.calc-sum .lbl { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.calc-sum .amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3rem);
  color: var(--pink-600);
  line-height: 1;
}
.calc-out .btn { margin-top: 1.4rem; }
.calc-fine { font-size: var(--fs-xs); color: var(--ink-55); margin-top: 0.9rem; }

/* --------------------------------------------------------- 15. occasions */
.occasions { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.occasion {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.3s, transform 0.4s var(--ease-spring);
}
.occasion:hover { border-color: var(--pink-200); transform: translateY(-5px); }
.occasion .ico { font-size: 1.7rem; line-height: 1; }
.occasion h3 { font-size: 1.08rem; }
.occasion p { font-size: var(--fs-xs); color: var(--ink-55); }

/* ---------------------------------------------------------- 16. galleries */
/* Dense packing matters here: a figure that spans two columns cannot start in
   the last column, and without it every wide tile leaves a hole beside the
   picture before it. Dense pulls a later single-width figure into that gap. */
.gal {
  display: grid;
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  grid-auto-flow: dense;
}
.gal figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--pink-100);
  box-shadow: var(--sh-1);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.gal figure.wide { aspect-ratio: 3 / 2; grid-column: span 2; }
@media (max-width: 639px) { .gal figure.wide { grid-column: span 1; aspect-ratio: 4/5; } }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(var(--rgb-plum), 0.82));
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.gal figure:hover figcaption { transform: none; opacity: 1; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(var(--rgb-plum), 0.94);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.45s var(--ease-spring);
}
.lb.is-open img { transform: none; }
.lb-close, .lb-nav {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background 0.25s, transform 0.25s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.08); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-nav.prev { left: clamp(0.6rem, 2.5vw, 2rem); top: 50%; margin-top: -26px; }
.lb-nav.next { right: clamp(0.6rem, 2.5vw, 2rem); top: 50%; margin-top: -26px; }
.lb-cap {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: center;
  max-width: 80%;
}

/* ------------------------------------------------------------ 17. split */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* align-items:start is what lines the top of the picture up with the heading
   rather than centring a tall image against short prose. */
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
}
.split--flip > .split-media { order: -1; }
@media (max-width: 899px) { .split--flip > .split-media { order: 0; } }

.split-media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.split-body h2 { font-size: var(--fs-h2); margin-top: 0.9rem; }
.split-body p { color: var(--ink-70); margin-top: 1.1rem; font-size: var(--fs-lede); }
.split-body .btn-row { margin-top: 1.8rem; }

/* ----------------------------------------------------------- 18. promises */
.promises { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.promise {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--sh-1);
  border-top: 5px solid var(--c, var(--pink));
}
.promise .ico {
  width: 54px; height: 54px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--tint, var(--pink-50));
  margin-bottom: 1.1rem;
}
.promise .ico svg { width: 28px; height: 28px; color: var(--c, var(--pink-600)); }
.promise h3 { font-size: 1.2rem; }
.promise p { color: var(--ink-70); font-size: var(--fs-sm); margin-top: 0.55rem; }

/* ------------------------------------------------------------- 19. stats */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); text-align: center; }
.stat { padding: 1.4rem 0.8rem; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--pink-600);
}
.stat span { display: block; font-size: var(--fs-sm); color: var(--ink-70); margin-top: 0.4rem; font-weight: 700; }

/* --------------------------------------------------------------- 20. FAQ */
.faq { display: grid; gap: 0.7rem; }
.qa {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3.2rem 1.25rem 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--plum);
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  position: absolute;
  right: 1.4rem; top: 50%;
  width: 13px; height: 13px;
  margin-top: -9px;
  border-right: 3px solid var(--pink-600);
  border-bottom: 3px solid var(--pink-600);
  border-radius: 2px;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.qa .a { padding: 0 1.4rem 1.4rem; color: var(--ink-70); font-size: var(--fs-sm); }
.qa .a p + p { margin-top: 0.8rem; }

/* -------------------------------------------------------------- 21. forms */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form .row--2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: 0.45rem; color: var(--plum); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--pink-600);
  box-shadow: 0 0 0 4px rgba(var(--rgb-pink), 0.14);
}
/* Used inside forms and beside the calculator controls alike, so it is a plain
   utility rather than a form descendant. */
.hint { font-size: var(--fs-xs); color: var(--ink-55); margin-top: 0.4rem; }

/* ------------------------------------------------------- 22. contact cards */
.contacts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.contact-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r);
  padding: 1.3rem;
  box-shadow: var(--sh-1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); color: inherit; }
.contact-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint, var(--pink-50));
  flex: none;
}
.contact-card .ico svg { width: 22px; height: 22px; color: var(--c, var(--pink-600)); }
.contact-card b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--plum); }
.contact-card span { font-size: var(--fs-sm); color: var(--ink-70); }

/* -------------------------------------------------------- 23. video facade */
/* Never an autoplaying YouTube iframe — it renders black and refuses to play.
   A poster plus a play button, and the iframe is only inserted on click. */
.video {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 16 / 9;
  background: var(--plum);
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  display: block;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: transform 0.7s var(--ease-out), opacity 0.4s; }
.video:hover img { transform: scale(1.04); opacity: 0.7; }
.video .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.video .play i {
  width: clamp(66px, 9vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 10px 40px rgba(var(--rgb-pink), 0.5);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-spring);
}
.video:hover .play i { transform: scale(1.12); }
.video .play svg { width: 32%; color: #fff; margin-left: 8%; }
.video .lbl {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--plum);
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  font-size: var(--fs-xs);
  font-weight: 800;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------- 24. notes */
/* Anything Gloria still has to supply or approve is flagged in the page, not
   buried in a handover note. */
.note {
  border: 2px dashed var(--pink-200);
  background: var(--pink-50);
  border-radius: var(--r);
  padding: 1.1rem 1.3rem;
  font-size: var(--fs-sm);
  color: var(--plum);
}
.note b { font-family: var(--display); }

/* ------------------------------------------------------------ 25. footer */
.foot {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  margin-top: var(--section);
  position: relative;
}
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--pink-200); text-decoration: underline; }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 800;
  margin-bottom: 1rem;
}
.foot ul { display: grid; gap: 0.6rem; }
.foot-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.foot-brand img { width: 62px; height: 62px; }
.foot-brand b { font-family: var(--display); font-size: 1.35rem; color: #fff; display: block; line-height: 1.1; }
.foot-brand span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-200); }
.foot-note { font-size: var(--fs-sm); max-width: 34ch; }
.colophon {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: var(--fs-xs);
}
@media (max-width: 767px) { .foot { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); } }

/* ------------------------------------------------------- 26. reveal + a11y */
.rv { opacity: 0; transform: translateY(26px); }
.rv.in { opacity: 1; transform: none; transition: opacity 0.75s var(--ease-out), transform 0.85s var(--ease-out); }
.rv:nth-child(2) { transition-delay: 0.07s; }
.rv:nth-child(3) { transition-delay: 0.14s; }
.rv:nth-child(4) { transition-delay: 0.21s; }
.rv:nth-child(5) { transition-delay: 0.28s; }
.rv:nth-child(6) { transition-delay: 0.35s; }

/* Motion is decoration here, never information. Everything above resolves to
   its finished state when the visitor has asked for less of it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
  .hero h1 em path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .blob, .sprinkles { display: none; }
  .stack figure, .stack .flag { transform: rotate(var(--r, 0deg)); }
  .dock { transform: none; }
}
