/* Scoops draft site. Palette sampled from Scoops' own logo, posters and shop walls. */
:root {
  --ink: #023542;          /* poster navy-teal */
  --teal: #239096;         /* badge teal (decorative) */
  --teal-text: #0f6266;    /* teal for text: 5.4:1 or better on white, aqua and blossom */
  --aqua: #bfe7ea;         /* shop walls */
  --glass: #e6f6f7;        /* freezer-case glass */
  --pink: #d9466f;         /* script pink, for accents and dots */
  --pink-ui: #b8325a;      /* white text on this passes WCAG AA (5.8:1) */
  --pink-deep: #b8325a;
  --blossom: #f9dce5;
  --chalk: #24292b;
  --chalk-ink: #f3efe8;
  --chalk-pink: #e58fa9;
  --paper: #ffffff;
  --display: "Young Serif", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
@media (min-width: 760px) { html { scroll-padding-top: 88px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-text); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--pink-deep); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 8px clamp(16px, 4vw, 40px);
  background: rgba(191, 231, 234, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(2, 53, 66, 0.08);
}
.topbar__home img { width: 44px; height: 44px; }
.topbar nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 8px 7px; border-radius: 999px; white-space: nowrap;
}
.topbar nav a:hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
@media (min-width: 640px) { .topbar nav a { font-size: 0.95rem; padding: 8px 12px; } }

/* Hero: the shop wall */
.hero {
  background: var(--aqua);
  display: grid; gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 4vw, 48px) clamp(16px, 5vw, 64px) clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__logo {
  width: clamp(170px, 34vw, 280px);
  margin: 0 0 12px -8px;
  filter: drop-shadow(0 10px 14px rgba(2, 53, 66, 0.22));
  transform: rotate(-4deg);
  animation: slap 520ms cubic-bezier(.2, 1.4, .4, 1) both 120ms;
}
@keyframes slap {
  from { transform: scale(1.18) rotate(-12deg); opacity: 0; }
  to   { transform: scale(1) rotate(-4deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 4.2vw, 4.4rem); max-width: 11ch; margin-bottom: 0.35em; }
.hero__lede { font-size: 1.15rem; max-width: 46ch; }
.hero__window { margin: 0; }
.hero__window img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px 18px 18px;        /* shop-window arch */
  border: 10px solid var(--paper);
  box-shadow: 0 18px 40px -18px rgba(2, 53, 66, 0.45);
}
.hero__window figcaption { font-size: 0.9rem; margin-top: 10px; text-align: center; color: var(--ink); opacity: 0.8; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; }
  .hero__window img { aspect-ratio: 4 / 5; }
}

/* Live open/closed sign */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 16px 6px 12px; font-weight: 600; font-size: 0.98rem;
  margin: 4px 0 20px;
}
.status__dot { width: 12px; height: 12px; border-radius: 50%; background: #9aa9ad; flex: none; }
.status.is-open .status__dot { background: #1d9b5b; box-shadow: 0 0 0 4px rgba(29, 155, 91, 0.18); }
.status.is-closed .status__dot, .status--closed .status__dot { background: var(--pink); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; line-height: 1.2;
}
.btn--pink { background: var(--pink-ui); color: #fff; }
.btn--pink:hover { background: #9c2a4c; color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* Sections share one rhythm */
.case, .menu, .visit, .treats, .story { padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px); }

/* The flavor case: the one loud moment */
.case { display: grid; gap: 28px; }
.case__intro p { font-size: 1.1rem; }
.case__glass {
  background: var(--glass);
  border: 2px solid #b9dfe2;
  border-top: 6px solid #d4eef0;
  border-radius: 22px 22px 6px 6px;
  padding: clamp(14px, 2.5vw, 28px);
  position: relative;
}
.case__glass::after {               /* the steel lip along the front of the case */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -14px; height: 12px;
  background: linear-gradient(#c9d3d5, #9fb0b4); border-radius: 0 0 6px 6px;
}
.placards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.placards li {
  background: var(--paper);
  border: 1px solid #d5e3e5;
  border-radius: 3px;
  min-height: 88px;
  padding: 14px 10px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--display); font-size: 1.12rem; line-height: 1.15;
  box-shadow: 0 3px 0 rgba(2, 53, 66, 0.10);
}
.placards li small {
  font-family: var(--body); font-size: 0.8rem; font-weight: 600; color: var(--teal-text); margin-top: 6px;
}
.placards li.ice { border-top: 4px solid var(--teal); }
.case__aside { display: grid; gap: 14px; align-content: start; }
.case__aside img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; }
.case__aside p { font-weight: 600; }
@media (min-width: 640px) { .placards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .case { grid-template-columns: minmax(0, 1fr) 260px; grid-template-areas: "intro intro" "glass aside"; column-gap: 40px; }
  .case__intro { grid-area: intro; }
  .case__glass { grid-area: glass; }
  .case__aside { grid-area: aside; }
  .placards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Chalkboard menu, after the board above the counter */
.menu { background: var(--paper); padding-top: 24px; }
.board {
  background: var(--chalk); color: var(--chalk-ink);
  border-radius: 10px; border: 10px solid #1a1e1f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: clamp(22px, 4vw, 44px);
  display: grid; gap: 28px;
}
.board h3 { color: var(--chalk-ink); font-size: 1.55rem; margin-bottom: 14px; }
.board__col + .board__col { border-top: 3px dotted var(--chalk-pink); padding-top: 26px; }
.prices { margin: 0 0 14px; display: grid; gap: 6px; }
.prices div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.prices dt { font-family: var(--display); font-size: 1.25rem; }
.prices dd { margin: 0; font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.prices--small dt, .prices--small dd { font-family: var(--body); font-size: 0.98rem; font-weight: 500; }
.board__price { font-family: var(--display); font-size: 1.2rem; }
.board__script { color: #9fdfe3; font-weight: 600; margin-bottom: 8px; }
.board__note { font-size: 0.95rem; opacity: 0.9; margin-top: -6px; }
.floats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.floats li { font-size: 0.98rem; }
.floats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--chalk-ink); }
@media (min-width: 900px) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .board__col { padding: 0 28px; }
  .board__col:first-child { padding-left: 0; }
  .board__col:last-child { padding-right: 0; }
  .board__col + .board__col { border-top: 0; padding-top: 0; border-left: 3px dotted var(--chalk-pink); }
}

/* Two storefronts, each with its own awning */
.visit { background: var(--blossom); }
.places { display: grid; gap: 40px; }
.place { background: var(--paper); border-radius: 0 0 16px 16px; position: relative; display: grid; }
.place__body { padding: 30px clamp(18px, 3vw, 32px) 28px; }
.place__where { font-weight: 600; }
.place__map { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 0 16px 16px; }
.awning { height: 46px; position: relative; border-radius: 8px 8px 0 0; }
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px;
  background:
    radial-gradient(circle at 15px 0, var(--a) 14px, transparent 14.5px) 0 0 / 60px 14px repeat-x,
    radial-gradient(circle at 45px 0, var(--b) 14px, transparent 14.5px) 0 0 / 60px 14px repeat-x;
}
.awning { background: repeating-linear-gradient(90deg, var(--a) 0 30px, var(--b) 30px 60px); }
.awning--mono { --a: #1f2324; --b: #ffffff; box-shadow: inset 0 0 0 1px #1f2324; }
.awning--pink { --a: #e2678f; --b: #ffffff; }
.table, .hours { border-collapse: collapse; margin: 0 0 16px; }
.hours th, .hours td { text-align: left; padding: 6px 18px 6px 0; border-bottom: 1px solid #e8eef0; font-size: 1rem; }
.hours th { font-weight: 600; }
.place .btn { margin-top: 4px; }
@media (min-width: 900px) { .places { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Treats: photos lead, sizes follow the content */
.treats__grid { display: grid; gap: 22px; }
.treat { display: grid; gap: 14px; align-content: start; }
.treat img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.treat--tall img { aspect-ratio: 4 / 5; }
.treat--plain { background: var(--ink); color: #fff; border-radius: 14px; padding: 28px; align-content: center; }
.treat--plain h3 { color: #fff; font-size: 1.6rem; }
.treat--plain p { color: #e7f3f4; }
.treat__aside { font-size: 0.98rem; border-left: 3px solid var(--pink); padding-left: 12px; }
@media (min-width: 760px) {
  .treats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 32px; }
  .treat--tall { grid-row: span 2; }
}

/* Story */
.story { background: var(--aqua); display: grid; gap: 32px; align-items: center; }
.story__text p { font-size: 1.12rem; }
.story blockquote { margin: 28px 0 0; padding: 0; }
.story blockquote p { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); line-height: 1.3; max-width: 30ch; }
.story blockquote footer { font-weight: 600; }
.story__figure { margin: 0; justify-self: center; width: 100%; max-width: 420px; }
.story__photo { border-radius: 18px; border: 10px solid var(--paper); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.story__figure figcaption { text-align: center; font-size: 0.92rem; margin-top: 10px; font-weight: 600; }
@media (min-width: 900px) { .story { grid-template-columns: 1.3fr 0.7fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #e7f3f4; padding: 48px clamp(16px, 5vw, 64px) 72px; }
.site-footer h2 { font-size: 1.45rem; color: #fff; }
.site-footer a { color: #9fdfe3; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer ul a { display: inline-block; padding: 8px 0; }
.site-footer__cols { display: grid; gap: 32px; }
.site-footer__small { margin-top: 36px; font-size: 0.88rem; opacity: 0.75; }
@media (min-width: 760px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* Draft marker so nobody mistakes the preview for the live site */
.draft-strip p { margin: 0 auto; max-width: none; }
.draft-strip {
  margin: 0; max-width: none; text-align: center;
  background: var(--paper); color: var(--ink);
  border-bottom: 2px dashed var(--pink);
  padding: 6px 12px; font-size: 0.85rem; font-weight: 700;
}

/* ---------- v2: two locations ---------- */
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--blossom); color: var(--ink); }

/* Top bar: logo, location switch, page sections */
.topbar { flex-wrap: wrap; row-gap: 6px; }
.loc-switch { border: 2px solid var(--ink); border-radius: 999px; padding: 3px; gap: 2px; background: rgba(255, 255, 255, 0.65); }
.topbar .loc-switch a { padding: 6px 12px; font-weight: 700; }
.topbar .loc-switch a[aria-current="page"] { background: var(--ink); color: #fff; }
.topbar .sections { flex-basis: 100%; }
@media (min-width: 760px) { .topbar .sections { flex-basis: auto; margin-left: auto; } }
.theme-park .topbar { background: rgba(249, 220, 229, 0.94); }
.theme-park .hero { background: var(--blossom); }
.theme-park .visit { background: var(--aqua); }

/* Status notice from the staff page: closed today, closed for the season, a message */
.notice { background: var(--pink-ui); color: #fff; text-align: center; padding: 12px 16px; font-weight: 700; }
.notice p { margin: 0 auto; max-width: 70ch; }

/* Live board states */
.case__note { font-size: 1.12rem; font-weight: 600; border-left: 4px solid var(--pink); padding-left: 12px; }
.case__updated { font-size: 0.92rem; font-weight: 600; color: #4d6b73; margin: 0; }
.placards li .placard__name { display: block; }
.placard__tag { margin-top: 8px; font-family: var(--body); font-size: 0.76rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.placards li.is-low .placard__tag { background: #f2b33d; color: var(--ink); }
.placards li.is-out { background: #f4f6f7; }
.placards li.is-out .placard__name { color: #6b8389; text-decoration: line-through; text-decoration-color: var(--pink); }
.placards li.is-out .placard__tag { background: var(--pink-ui); color: #fff; }
.placards li.placards__empty { grid-column: 1 / -1; font-family: var(--body); font-size: 1rem; color: #4d6b73; }
.placards__noscript { margin: 12px 0 0; }

/* One storefront per location page */
.places--single { max-width: 760px; }
.visit__other { margin-top: 28px; font-weight: 600; }
.hours__label { font-weight: 700; margin: 0 0 4px; }

/* Intro: two doors, one sticker on the seam */
body.intro { background: var(--ink); }
.split { position: relative; display: grid; grid-template-columns: 1fr; }
.door {
  position: relative; overflow: hidden; min-height: 62svh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 64px clamp(14px, 3vw, 40px) clamp(14px, 3vw, 40px);
  color: var(--ink); text-decoration: none; isolation: isolate;
}
.door:hover, .door:focus-visible { color: var(--ink); }
.door__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms ease; }
.door--central .door__photo { object-position: 50% 40%; }
.door--park .door__photo { object-position: 50% 60%; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 53, 66, 0) 55%, rgba(2, 53, 66, 0.35) 100%); }
.door .awning { position: absolute; top: 0; left: 0; right: 0; border-radius: 0; z-index: 1; }
.door__text {                       /* a tile, so the words read over any photo */
  position: relative; width: min(440px, 100%);
  display: grid; gap: 10px; justify-items: start;
  background: var(--paper); border-radius: 18px; padding: 22px 24px 24px;
  box-shadow: 0 20px 40px -18px rgba(2, 53, 66, 0.6);
}
.door--park .door__text { background: var(--blossom); }
.door__name { font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.05; max-width: 14ch; }
.door__where { font-weight: 600; font-size: 1.02rem; color: #24515c; }
.door .status { margin: 2px 0 4px; }
.door:hover .door__photo, .door:focus-visible .door__photo { transform: scale(1.035); }
.door:focus-visible { outline-offset: -6px; outline-color: var(--pink); }
.split__logo {
  position: absolute; left: 50%; top: 62svh; z-index: 5; width: clamp(120px, 30vw, 210px);
  transform: translate(-50%, -50%) rotate(-4deg); pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(2, 53, 66, 0.45));
  border-radius: 50%;
  animation: slap-center 520ms cubic-bezier(.2, 1.4, .4, 1) both 150ms;
}
@keyframes slap-center {
  from { transform: translate(-50%, -50%) scale(1.2) rotate(-12deg); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1) rotate(-4deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .split__logo { animation: none; } .door__photo { transition: none; } }
@media (max-width: 799px) { .door--central { padding-bottom: 76px; } }
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; }
  .door { min-height: 100svh; }
  .split__logo { top: 40%; width: clamp(170px, 16vw, 240px); }
  .door--park { align-items: flex-end; }
}
.intro__footer { background: var(--ink); color: #e7f3f4; text-align: center; padding: 22px 16px 28px; }
.intro__footer p { margin: 4px auto; max-width: none; }
.intro__footer a { color: #9fdfe3; }

/* ---------- Menu board: a copy of the board above the counter at Scoops on Central ---------- */
.mb {
  --mb-bg: #3e3d40; --mb-ink: #f3f1ec; --mb-line: #a6c2bf; --mb-rule: #cfcac2; --mb-dot: #ee93ab; --mb-teal: #86d2d4;
  --mb-serif: "Yeseva One", "Young Serif", Georgia, serif;
  --mb-script: "Sacramento", "Segoe Script", cursive;
  --mb-sans: "Quicksand", "Figtree", sans-serif;
  --mb-dots-x: radial-gradient(circle, var(--mb-dot) 2.3px, transparent 2.8px) 0 50% / 8.5px 6px repeat-x;
  --mb-dots-y: radial-gradient(circle, var(--mb-dot) 2.3px, transparent 2.8px) 50% 0 / 6px 8.5px repeat-y;
  background: radial-gradient(ellipse at 55% 18%, #4a494c 0%, var(--mb-bg) 55%, #363538 100%);
  color: var(--mb-ink); border-radius: 4px; padding: 9px;
  box-shadow: 0 22px 44px -26px rgba(2, 53, 66, 0.7);
}
.mb__frame { border: 1.5px solid var(--mb-line); padding: 5px; }
.mb__inner { border: 1.5px solid var(--mb-line); padding: clamp(18px, 3vw, 34px) clamp(12px, 2.4vw, 34px) clamp(10px, 1.6vw, 18px); }
.mb ul { list-style: none; margin: 0; padding: 0; }
.mb b { font-family: var(--mb-serif); font-weight: 400; letter-spacing: 0.005em; }
.mb__script { font-family: var(--mb-script); -webkit-text-stroke: 0.028em currentColor; paint-order: stroke fill; letter-spacing: 0.01em; }
.mb__price { font-family: var(--mb-sans); font-weight: 400; letter-spacing: 0.02em; white-space: nowrap; }
.mb__add { font-family: var(--mb-sans); font-style: italic; font-size: 0.92em; white-space: nowrap; }
.mb__top { display: grid; gap: 22px; text-align: center; }
.mb__col { min-width: 0; }
.mb__title { font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.1; margin: 0 auto 10px; padding-bottom: 4px; border-bottom: 1.5px solid var(--mb-rule); max-width: 15em; color: var(--mb-ink); }
.mb__list--big { display: grid; gap: 4px; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1.5px solid var(--mb-rule); }
.mb__list--big li { font-size: clamp(1.45rem, 1.05rem + 1.1vw, 1.9rem); line-height: 1.6; }
.mb__list--big .mb__price { font-size: 0.92em; }
.mb__list--small li { font-size: clamp(0.98rem, 0.85rem + 0.4vw, 1.12rem); line-height: 1.75; }
.mb__list--ruled li { font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.42rem); line-height: 1.5; padding: 6px 0 7px; }
.mb__list--ruled li + li { border-top: 1.5px solid var(--mb-rule); }
.mb__desc { display: block; font-size: 1.12em; line-height: 1.5; margin-top: 2px; }
.mb__logo { width: clamp(180px, 80%, 262px); margin: 0 auto 4px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }
.mb__floats { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 2px; font-family: var(--mb-serif); font-size: clamp(2rem, 1.5rem + 1.3vw, 2.6rem); color: var(--mb-ink); }
.mb__dash { width: 52px; height: 6px; background: var(--mb-dots-x); }
.mb__price--center { font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.45rem); margin: 0 auto 2px; }
.mb__note { font-size: clamp(1.1rem, 0.92rem + 0.45vw, 1.38rem); margin: 0 auto; white-space: nowrap; }
.mb__create { color: var(--mb-teal); text-align: center; font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.35rem); margin: 18px auto 2px; max-width: none; }
.mb__floatrow { display: grid; grid-template-columns: 1fr; text-align: center; padding-top: 14px; background: var(--mb-dots-x); background-position: 0 0; }
.mb__floatrow li { padding: 8px 8px 12px; position: relative; }
.mb__floatrow li::before { content: ""; position: absolute; left: -3px; top: 6px; bottom: 6px; width: 6px; background: var(--mb-dots-y); display: none; }
.mb__floatrow b { display: block; font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem); padding-bottom: 6px; margin: 0 6px 6px; border-bottom: 1.5px solid var(--mb-rule); }
.mb__floatrow .mb__script { display: block; font-size: clamp(1.1rem, 0.88rem + 0.42vw, 1.36rem); line-height: 1.32; white-space: nowrap; }
.mb__col--mid { order: -1; }
.mb__col--left, .mb__col--right { padding-top: 18px; background: var(--mb-dots-x); background-position: 0 0; }
@media (min-width: 560px) {
  .mb__floatrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb__floatrow li:nth-child(2n)::before { display: block; }
}
@media (min-width: 760px) {
  .mb__floatrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb__floatrow li:nth-child(2n)::before { display: none; }
  .mb__floatrow li:not(:nth-child(3n+1))::before { display: block; }
}
@media (min-width: 980px) {
  .mb__top { grid-template-columns: 1.15fr 0.85fr 1.15fr; gap: 0; align-items: start; }
  .mb__col { padding: 0 clamp(14px, 1.8vw, 28px); }
  .mb__col--mid { order: 0; }
  .mb__col--left, .mb__col--right { padding-top: 0; background: none; }
  .mb__col--mid, .mb__col--right { position: relative; }
  .mb__col--mid::before, .mb__col--right::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 6px; background: var(--mb-dots-y); }
  .mb__create { margin-top: 6px; }
  .mb__title { white-space: nowrap; font-size: clamp(1.45rem, 0.5rem + 1.55vw, 2.3rem); }
}
@media (min-width: 1180px) {
  .mb__floatrow { grid-template-columns: 0.95fr 0.95fr 0.95fr 1.1fr 1.2fr 1.3fr; }
  .mb__floatrow li:nth-child(n+2)::before { display: block; }
  .mb__floatrow b { white-space: nowrap; font-size: clamp(0.92rem, 0.42rem + 0.6vw, 1.25rem); }
}

/* ---------- Sprinkle texture on the coloured sections ---------- */
.hero, .story, .visit, body.intro .intro__footer {
  background-image: url("/img/sprinkles.svg");
  background-size: 240px 240px;
}
.hero { background-color: var(--aqua); }
.story { background-color: var(--aqua); }
.visit { background-color: var(--blossom); }
.theme-park .hero { background-color: var(--blossom); }
.theme-park .visit { background-color: var(--aqua); }
body.intro .intro__footer { background-color: var(--ink); }

/* ---------- Build your cone ---------- */
.builder { padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px); background: var(--glass); display: grid; gap: 24px; }
.builder__intro p { font-size: 1.1rem; }
.builder__stage { background: var(--paper); border-radius: 22px; padding: 18px 18px 22px; text-align: center; border: 2px solid #cfe9eb; align-self: start; }
.builder__svg { width: min(260px, 70vw); height: auto; display: block; margin: 0 auto; overflow: visible; }
.builder__hint { font-family: var(--display); font-size: 18px; fill: #8aa6ac; }
.builder__total { font-family: var(--display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); margin: 4px auto 0; }
.builder__breakdown { font-size: 0.95rem; color: #4d6b73; margin: 0 auto; min-height: 1.5em; }
.scoop.is-plop { animation: plop 420ms cubic-bezier(.25, 1.6, .45, 1) both; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes plop { from { transform: translateY(-60px) scale(1.05, .9); opacity: 0; } 60% { opacity: 1; } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .scoop.is-plop { animation: none; } }
.builder__controls { display: grid; gap: 18px; }
.builder__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.builder__step legend { font-family: var(--display); font-size: 1.35rem; margin-bottom: 10px; }
.builder__step legend small { font-family: var(--body); font-size: 0.9rem; color: #4d6b73; margin-left: 6px; }
.cones { display: flex; flex-wrap: wrap; gap: 8px; }
.cones label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 600; cursor: pointer; }
.cones label:has(input:checked) { background: var(--ink); color: #fff; }
.cones label small { font-weight: 500; opacity: 0.85; }
.cones input { accent-color: var(--pink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 999px; border: 2px solid #cfe0e2; background: var(--paper); color: var(--ink); cursor: pointer; }
.chip:hover:not(:disabled) { border-color: var(--teal); }
.chip:disabled { cursor: not-allowed; opacity: 0.55; }
.chip.is-out span:not(.chip__dot) { text-decoration: line-through; text-decoration-color: var(--pink); }
.chip small { font-weight: 600; font-size: 0.72rem; color: var(--teal-text); }
.chip.is-out small:last-child { color: var(--pink-deep); }
.chip__dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(2, 53, 66, 0.2); flex: none; }
.stack { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 6px 5px 14px; font-weight: 600; font-size: 0.92rem; }
.stack__rm { font: inherit; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
.stack__empty { margin: 10px 0 0; color: #4d6b73; font-size: 0.95rem; }
.builder__extras { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.builder__extras legend { width: 100%; }
.stepper { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.stepper button { font: inherit; font-size: 1.2rem; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; line-height: 1; }
.stepper output { min-width: 1.2em; text-align: center; font-family: var(--display); font-size: 1.3rem; }
.builder__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.builder__actions .btn { cursor: pointer; font-family: inherit; }
.linkish { font: inherit; font-weight: 600; background: none; border: 0; color: var(--teal-text); text-decoration: underline; cursor: pointer; padding: 8px; }
@media (min-width: 900px) {
  .builder { grid-template-columns: minmax(280px, 0.8fr) 1.2fr; grid-template-areas: "intro intro" "stage controls"; column-gap: 40px; }
  .builder__intro { grid-area: intro; }
  .builder__stage { grid-area: stage; position: sticky; top: 90px; }
  .builder__controls { grid-area: controls; }
}


/* ---------- Motion. One idea per moment; all of it off for reduced motion. ---------- */
.drip { position: relative; height: 0; z-index: 2; pointer-events: none; }
.drip svg { position: absolute; left: 0; top: -2px; width: 100%; height: 72px; display: block; }
.drip__band, .drip__finger { fill: var(--aqua); }
.theme-park .drip__band, .theme-park .drip__finger { fill: var(--blossom); }
.topbar { transition: box-shadow 0.25s ease; }
.topbar.is-scrolled { box-shadow: 0 8px 20px -14px rgba(2, 53, 66, 0.55); }
.btn { transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
.chip, .cones label, .stepper button, .seg__btn { transition: transform 0.12s ease, border-color 0.15s ease, background-color 0.15s ease; }
.builder__total.is-bump { animation: bump 0.38s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -12px rgba(2, 53, 66, 0.55); }
  .btn:active, .chip:active:not(:disabled), .cones label:active, .stepper button:active { transform: scale(0.96); }

  /* live "open now" dot breathes */
  .status.is-open .status__dot { animation: live 2.4s ease-out infinite; }
  @keyframes live { 0% { box-shadow: 0 0 0 0 rgba(29, 155, 91, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(29, 155, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 155, 91, 0); } }

  /* hero: one entrance, in order */
  .hero h1, .hero__lede, .hero .status, .hero .actions { animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) backwards; }
  .hero h1 { animation-delay: 0.18s; }
  .hero__lede { animation-delay: 0.28s; }
  .hero .status { animation-delay: 0.36s; }
  .hero .actions { animation-delay: 0.44s; }
  .hero__window img { animation: window-open 1s cubic-bezier(.2, .8, .2, 1) 0.15s backwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes window-open { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }

  /* the hero melts into the page */
  .drip__finger { transform-box: fill-box; transform-origin: 50% 0; animation: drip 1.6s cubic-bezier(.35, .1, .25, 1) backwards; animation-delay: calc(0.5s + var(--d)); }
  @keyframes drip { from { transform: scaleY(0.1); } }

  /* flavors drop into the case once, then only changed cards move */
  .js .placards[data-reveal]:not(.is-in) li { opacity: 0; }
  .js .placards.is-in:not(.is-settled) li { animation: drop 0.5s cubic-bezier(.2, 1.3, .4, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
  .placards.is-settled li.is-changed { animation: flip 0.7s ease; }
  .placards.is-settled li.is-new { animation: drop 0.5s cubic-bezier(.2, 1.3, .4, 1); }
  @keyframes drop { from { opacity: 0; transform: translateY(-16px) rotate(-2deg); } }
  @keyframes flip { 0% { transform: perspective(500px) rotateX(0); } 50% { transform: perspective(500px) rotateX(90deg); } 100% { transform: perspective(500px) rotateX(0); } }

  /* a few things arrive as you reach them; not every section */
  .js [data-reveal]:not(.placards) { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in:not(.placards) { opacity: 1; transform: none; }
  .js .story__figure[data-reveal] { transform: translateY(22px) rotate(3deg); }
  .js .story__figure[data-reveal].is-in { transform: rotate(1.5deg); }

  /* build your cone */
  .builder__svg.is-wiggle { animation: wiggle 0.45s ease; transform-origin: 50% 90%; }
  @keyframes wiggle { 25% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
  .stack li { animation: pop 0.3s cubic-bezier(.2, 1.4, .4, 1); }
  @keyframes pop { from { transform: scale(0.6); opacity: 0; } }

  /* intro: awnings unroll, photos settle, tiles rise, then the badge lands */
  .door .awning { transform-origin: 50% 0; animation: unroll 0.7s cubic-bezier(.2, .9, .3, 1) backwards; }
  .door--park .awning { animation-delay: 0.12s; }
  @keyframes unroll { from { transform: scaleY(0); } }
  .door__photo { animation: settle 1.4s cubic-bezier(.2, .8, .2, 1) backwards; }
  @keyframes settle { from { transform: scale(1.12); opacity: 0.2; } }
  .door__text { animation: rise 0.8s cubic-bezier(.2, .8, .2, 1) 0.45s backwards; }
  .door--park .door__text { animation-delay: 0.6s; }
  .split__logo { animation-delay: 0.85s; }

  /* sprinkles drift a little as you scroll (where the browser supports scroll timelines) */
  @supports (animation-timeline: scroll()) {
    .hero, .story, .visit { animation: sprinkle-drift linear both; animation-timeline: scroll(root); }
    @keyframes sprinkle-drift { to { background-position: 0 -360px; } }
  }
}

/* ---------- Can't decide? quiz ---------- */
.quiz { padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px); display: grid; gap: 20px; }
.quiz__intro p { font-size: 1.1rem; }
.quiz__card { background: var(--blossom); border-radius: 22px; padding: clamp(20px, 3vw, 32px); max-width: 760px; width: 100%; }
.quiz__progress { font-weight: 700; color: #7a2944; margin: 0 0 6px; font-size: 0.95rem; }
.quiz__q { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 16px; outline: none; }
.quiz__options { display: grid; gap: 10px; }
.quiz__opt { font: inherit; font-weight: 700; font-size: 1.05rem; text-align: left; padding: 15px 18px; border-radius: 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.quiz__opt:hover { background: var(--ink); color: #fff; }
.quiz__card .linkish { margin-top: 10px; padding-left: 0; }
.quiz__pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 8px; }
.quiz__swatch { width: 56px; height: 56px; border-radius: 50% 50% 46% 46%; box-shadow: inset 0 -6px 0 rgba(2, 53, 66, 0.15), 0 0 0 4px #fff; flex: none; }
.quiz__name { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); margin: 0; outline: none; }
.quiz__pick small { font-weight: 700; color: var(--teal-text); }
.quiz__why { font-size: 1.1rem; font-weight: 600; }
.quiz__alt { color: #3b5b63; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.quiz__actions .btn { cursor: pointer; font-family: inherit; }
@media (min-width: 640px) { .quiz__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Mix a float ---------- */
.floats { padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px); background-color: var(--blossom); background-image: url("/img/sprinkles.svg"); background-size: 240px 240px; display: grid; gap: 24px; }
.floats__intro p { font-size: 1.1rem; }
.floats__stage { background: var(--paper); border-radius: 22px; padding: 18px 18px 22px; text-align: center; align-self: start; }
.floats__svg { width: min(230px, 64vw); height: auto; display: block; margin: 0 auto; overflow: visible; }
.floats__result { min-height: 6.5em; }
.floats__kicker { margin: 6px 0 0; font-weight: 700; color: var(--teal-text); }
.floats__name { font-family: var(--display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.1; margin: 2px auto 4px; }
.floats__price { margin: 0 auto; color: #3b5b63; font-size: 0.98rem; }
.floats__hint { margin: 10px auto 0; color: #3b5b63; font-weight: 600; }
.floats__controls { display: grid; gap: 18px; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small { color: #9fdfe3; }
@media (min-width: 900px) {
  .floats { grid-template-columns: minmax(280px, 0.8fr) 1.2fr; grid-template-areas: "intro intro" "stage controls"; column-gap: 40px; }
  .floats__intro { grid-area: intro; }
  .floats__stage { grid-area: stage; position: sticky; top: 90px; }
  .floats__controls { grid-area: controls; }
}
@media (prefers-reduced-motion: no-preference) {
  .quiz__card.is-question .quiz__q, .quiz__card.is-question .quiz__options { animation: rise 0.45s cubic-bezier(.2, .8, .2, 1) backwards; }
  .quiz__card.is-question .quiz__options { animation-delay: 0.08s; }
  .quiz__card.is-result .quiz__swatch { animation: plop-swatch 0.6s cubic-bezier(.25, 1.6, .45, 1) backwards; }
  .quiz__card.is-result .quiz__name, .quiz__card.is-result .quiz__why { animation: rise 0.5s cubic-bezier(.2, .8, .2, 1) 0.12s backwards; }
  @keyframes plop-swatch { from { transform: translateY(-40px) scale(0.6); opacity: 0; } }
  .floats__bubble { animation: fizz 2.4s linear infinite; transform-box: fill-box; }
  @keyframes fizz { from { transform: translateY(0); opacity: 0.6; } to { transform: translateY(-160px); opacity: 0; } }
  .floats__liquid.is-pour { animation: pour 0.9s cubic-bezier(.3, .7, .2, 1); transform-box: fill-box; transform-origin: 50% 100%; }
  @keyframes pour { from { transform: scaleY(0.05); } }
  .floats__top.is-drop { animation: plop 0.5s cubic-bezier(.25, 1.6, .45, 1) both; transform-box: fill-box; transform-origin: 50% 100%; }
  .floats__result.is-match .floats__name { animation: bump 0.5s ease; }
}
@media (min-width: 900px) {
  .quiz { grid-template-columns: minmax(260px, 0.8fr) 1.2fr; column-gap: 40px; align-items: start; }
  .quiz__card { max-width: none; }
}

/* ---------- Sound toggle ---------- */
.sound-toggle {
  order: 1; margin-left: auto; flex: none;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.75); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0;
}
.sound-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .spk { fill: currentColor; }
.sound-toggle .mute { display: none; }
.sound-toggle.is-off .wave { display: none; }
.sound-toggle.is-off .mute { display: inline; }
.sound-toggle.is-off { opacity: 0.8; }
.topbar .sections { order: 2; }
@media (min-width: 760px) {
  .sound-toggle { order: 3; margin-left: 6px; }
  .topbar .sections { order: 2; }
}
.sound-toggle--float { position: fixed; right: 14px; bottom: 14px; z-index: 30; background: #fff; box-shadow: 0 8px 18px -10px rgba(2, 53, 66, 0.6); }

/* ---------- Visit card near the top: details beside the map on wide screens ---------- */
.places--top { max-width: 1100px; }
.place__maplink { display: block; border-radius: 0 0 16px 16px; overflow: hidden; }
.place__maplink img { transition: transform 0.4s ease; }
.place__maplink:hover img { transform: scale(1.03); }
.visit { padding-top: clamp(64px, 8vw, 104px); }
@media (min-width: 900px) {
  .places--top .place { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .places--top .awning { grid-column: 1 / -1; }
  .places--top .place__maplink { border-radius: 0 0 16px 0; height: 100%; }
  .places--top .place__maplink img { height: 100%; aspect-ratio: auto; border-radius: 0; }
}
@media (min-width: 900px) { .places.places--top { grid-template-columns: 1fr; } }
.place__maplink { position: relative; }
.place__attr { position: absolute; left: 0; bottom: 0; background: rgba(255, 255, 255, 0.85); color: #333; font-size: 0.7rem; padding: 2px 6px; border-top-right-radius: 6px; }

/* ---------- Privacy note, 404 ---------- */
.intro__privacy { font-size: 0.82rem; opacity: 0.75; max-width: 60ch !important; }
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 32px 18px;
        background: var(--aqua) url("/img/sprinkles.svg"); background-size: 240px 240px; }
.lost img { width: 180px; transform: rotate(-4deg); filter: drop-shadow(0 10px 14px rgba(2, 53, 66, 0.22)); }
.lost h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); margin: 0; }
.lost p { margin: 0 auto; }
.lost .actions { justify-content: center; }

/* ---------- Credit ---------- */
.site-footer__credit { margin-top: 6px; }
.site-footer__credit a { color: #9fdfe3; font-weight: 600; }
.intro__credit { font-size: 0.9rem; margin: 6px auto 0 !important; }
.intro__credit a { font-weight: 700; }
.lost__credit { font-size: 0.9rem; margin-top: 18px !important; }
