/* ClownParty: one stylesheet for every page. Mobile first: the base rules are
   for phones, wider screens add to them (min-width media queries). The five
   theme colours and the three fonts are custom properties; /theme.css (made
   by the server from the editor's theme) sets them after this file. */

/* 1. Fonts, kept with the site (SIL Open Font License, see /fonts) ------- */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}

/* 2. Tokens ------------------------------------------------------------- */
:root {
  /* the theme (the editor changes these through /theme.css) */
  --red: #d62839;
  --yellow: #ffc833;
  --blue: #1f5fd6;
  --ink: #1d1f3f;
  --paper: #ffffff;
  --font-display: "Fredoka", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-heading: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* made from the theme */
  --red-dark: color-mix(in srgb, var(--red) 78%, #000);
  --blue-dark: color-mix(in srgb, var(--blue) 80%, #000);
  --yellow-dark: color-mix(in srgb, var(--yellow) 72%, #000);
  --red-soft: color-mix(in srgb, var(--red) 8%, var(--paper));
  --yellow-soft: color-mix(in srgb, var(--yellow) 20%, var(--paper));
  --blue-soft: color-mix(in srgb, var(--blue) 8%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 78%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 12%, var(--paper));
  --on-dark: color-mix(in srgb, var(--paper) 88%, var(--ink));

  --radius: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgb(29 31 63 / 6%), 0 6px 18px -6px rgb(29 31 63 / 12%);
  --shadow: 0 18px 40px -16px rgb(29 31 63 / 28%);
  --section-space: clamp(56px, 8vw, 104px);
  --header-height: 68px;
}

/* 3. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 14px 14px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }

/* 4. Layout and type ---------------------------------------------------- */
.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
.container-narrow { width: min(100% - 32px, 820px); }
.section { padding-block: var(--section-space); position: relative; }
.section-tint-yellow { background: var(--yellow-soft); }
.section-tint-blue { background: var(--blue-soft); }
.section-tint-red { background: var(--red-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head .lead { margin-top: 14px; }
.section-more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.06; }
h1 { font-size: clamp(2.3rem, 4.6vw + 0.9rem, 4rem); }
h2 {
  font: 700 clamp(1.8rem, 2.2vw + 1.05rem, 2.7rem)/1.14 var(--font-heading);
  letter-spacing: -0.02em; text-wrap: balance;
}
h3 { font: 700 1.3rem/1.25 var(--font-heading); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1rem, 0.6vw + 0.95rem, 1.3rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em; margin-bottom: 14px;
  padding: 0.3em 0.95em 0.3em 0.75em; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--yellow);
  font: 600 0.95rem/1.3 var(--font-display); letter-spacing: 0.01em; color: var(--ink);
}
.eyebrow::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--red); box-shadow: 0.85em 0 0 -0.08em var(--blue); margin-right: 0.85em; }

.prose { display: grid; gap: 1em; }
.prose h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.8rem); margin-top: 0.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose a { font-weight: 600; }

/* 5. Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-edge: color-mix(in srgb, var(--btn-bg) 70%, #000);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 4px 0 var(--btn-edge);
  font: 600 1.05rem/1.15 var(--font-display); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn-red { --btn-bg: var(--red); }
.btn-blue { --btn-bg: var(--blue); }
.btn-yellow { --btn-bg: var(--yellow); --btn-fg: var(--ink); --btn-edge: var(--yellow-dark); }
.btn-ghost { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-edge: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink), 0 6px 0 var(--ink); }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost-light:hover, .btn-ghost-light:active { box-shadow: inset 0 0 0 2px #fff; background: rgb(255 255 255 / 12%); }
.btn-lg { min-height: 56px; padding: 0.8em 1.6em; font-size: 1.15rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35em; }
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* 6. Top bar and the currency switch ------------------------------------ */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 0.9rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.topbar-tag { display: none; }
.topbar a { color: #fff; text-decoration: none; }
.contact-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; overflow-wrap: break-word; }
.topbar .contact-link:hover { text-decoration: underline; }
.currency-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 10%); }
.currency-switch a { min-width: 52px; min-height: 32px; padding: 4px 12px; display: inline-grid; place-items: center; border-radius: 999px; font: 600 0.9rem/1 var(--font-display); letter-spacing: 0.04em; }
.currency-switch a:hover { background: rgb(255 255 255 / 16%); }
.currency-switch a[aria-current="true"] { background: var(--yellow); color: var(--ink); }
.topbar :focus-visible { outline-color: var(--yellow); }

/* 7. Header and menu ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgb(29 31 63 / 40%); }
.header-inner { display: flex; align-items: center; gap: 8px; min-height: var(--header-height); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; }
.bm-nose { fill: var(--red); }
.bm-yellow { fill: var(--yellow); }
.bm-blue { fill: var(--blue); }
.brand-name { font: 700 1.4rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand-clown { color: var(--red); }
.brand-party { color: var(--blue); }
.nav-cta { min-height: 42px; padding: 0.55em 1em; font-size: 0.98rem; }

/* The menu button: a checkbox and its label without JavaScript, a real button with it */
.nav-check { position: absolute; right: 0; width: 44px; height: 44px; margin: 0; opacity: 0; pointer-events: none; }
.nav-burger {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: var(--yellow-soft); color: var(--ink); cursor: pointer; padding: 0;
}
.nav-check:focus-visible + .nav-burger { outline: 3px solid var(--blue); outline-offset: 3px; }
.nav-burger-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.burger, .burger span, .burger::before, .burger::after { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger { position: relative; background: transparent; }
.burger span { position: absolute; top: 0; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-check:checked + .nav-burger .burger span, .menu-open .burger span { opacity: 0; }
.nav-check:checked + .nav-burger .burger::before, .menu-open .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-check:checked + .nav-burger .burger::after, .menu-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none; position: absolute; top: 100%; left: -16px; right: -16px;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(29 31 63 / 45%);
  padding: 8px 16px 20px;
}
.nav-check:checked ~ .site-nav, .menu-open .site-nav { display: block; }
.nav-list { list-style: none; display: grid; gap: 4px; }
.nav-list a {
  display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font: 600 1.15rem/1.2 var(--font-heading);
}
.nav-list a:hover { background: var(--yellow-soft); }
.nav-list a[aria-current="page"] { background: var(--yellow-soft); box-shadow: inset 4px 0 0 var(--red); }

/* 8. Heroes ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-home { background: var(--blue-soft); padding-bottom: 40px; }
.hero-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 68% 60%; background: var(--blue-soft); }
.hero-home-inner { position: relative; margin-top: -56px; }
.hero-card {
  position: relative; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 22px 30px;
}
.hero-card h1 { font-size: clamp(2.2rem, 4.2vw + 1rem, 3.9rem); text-wrap: balance; }
.hero-card .lead { margin-top: 16px; }
.bunting { position: absolute; top: 0; left: 0; right: 0; height: 44px; background: url("/img/bunting.svg") repeat-x 0 0 / auto 44px; pointer-events: none; }

.hero-page { background: var(--yellow-soft) url("/img/confetti.svg") repeat 0 0 / 280px; padding-block: 44px 56px; }
.hero-page-inner { display: grid; gap: 28px; align-items: center; }
.hero-page h1 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.5rem); text-wrap: balance; }
.hero-page .lead { margin-top: 16px; max-width: 36em; }
.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-art::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: var(--paper); opacity: 0.7; }
.hero-art img { position: relative; width: 100%; }

/* 9. Cards -------------------------------------------------------------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: 1fr; }
.cards:has(> .card:only-child), .area-grid:has(> li:only-child) { grid-template-columns: minmax(0, 420px) !important; justify-content: center; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-img { width: 100%; aspect-ratio: 800 / 520; object-fit: cover; background: var(--blue-soft); }
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 26px; }
.card-title { color: var(--ink); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 0.95rem; }
.card-meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.card-meta .icon { color: var(--red); }
.card-actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.card-price { margin-top: auto; padding-top: 4px; font-family: var(--font-display); font-size: 1.05rem; color: var(--muted); }
.card-price + .card-actions { margin-top: 0; }
.card-price .price-main { font-size: 1.55rem; font-weight: 600; color: var(--red); }
.price-label { margin-right: 0.25em; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: var(--blue); }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }
.empty-note { color: var(--muted); font-style: italic; text-align: center; grid-column: 1 / -1; padding: 24px; }
.tag { align-self: flex-start; padding: 0.25em 0.8em; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 0.88rem; font-weight: 600; }
.badge { align-self: flex-start; padding: 0.35em 0.9em; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 600 0.9rem/1.2 var(--font-display); }

/* feature cards: a coloured top edge and a round icon */
.feature { --accent: var(--red); padding: 28px 26px 30px; gap: 12px; border-top: 6px solid var(--accent); }
.feature-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 4px; }
.feature-red { background: var(--red-soft); color: var(--red); }
.feature-yellow { background: var(--yellow-soft); color: var(--yellow-dark); }
.feature-blue { background: var(--blue-soft); color: var(--blue); }
.feature:has(.feature-yellow) { --accent: var(--yellow); }
.feature:has(.feature-blue) { --accent: var(--blue); }
.feature p { color: var(--muted); }
.contact-big { margin-top: 4px; font-size: 1.2rem; }

/* packages */
.package-card { padding: 30px 28px 32px; gap: 14px; }
.package-card.is-highlight { border: 3px solid var(--red); box-shadow: var(--shadow); }
.package-price { font: 600 2.3rem/1.1 var(--font-display); color: var(--red); }
.package-price .price-alt { font-size: 1rem; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--blue); margin-top: 0.2em; stroke-width: 3; }

/* steps, numbered by CSS so a reordered list stays 1, 2, 3 */
.steps { list-style: none; display: grid; gap: clamp(18px, 2.4vw, 28px); counter-reset: step; }
.step {
  position: relative; display: grid; gap: 10px; padding: 84px 26px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; left: 26px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font: 700 1.4rem/1 var(--font-display);
}
.step:nth-child(3n + 2)::before { background: var(--blue); }
.step:nth-child(3n + 3)::before { background: var(--yellow); color: var(--ink); }
.step p { color: var(--muted); }

/* 10. Text and photo ---------------------------------------------------- */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-text h2 { margin-bottom: 18px; }
.split-text .prose { color: var(--muted); }
.split-text .prose ul { padding-left: 0; list-style: none; }
.split-text .prose li { position: relative; padding-left: 34px; }
.split-text .prose li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.split-text .prose li:nth-child(3n + 2)::before { background-color: var(--blue); }
.split-text .prose li:nth-child(3n + 3)::before { background-color: var(--yellow-dark); }
.split-text p:last-child { margin-top: 26px; }
.split-text .prose p:last-child { margin-top: 0; }

/* 11. Questions --------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 64px 18px 22px;
  font: 600 1.12rem/1.35 var(--font-heading); border-radius: var(--radius-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink);
  font: 700 1.3rem/1 var(--font-display); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.faq-item summary:hover { color: var(--blue-dark); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }

/* 12. Service areas, hours ---------------------------------------------- */
.area-grid { list-style: none; display: grid; gap: clamp(18px, 2.4vw, 28px); }
.area-card {
  --accent: var(--red); display: grid; gap: 8px; align-content: start; padding: 26px 26px 28px;
  background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.area-card:nth-child(3n + 2) { --accent: var(--blue); }
.area-card:nth-child(3n + 3) { --accent: var(--yellow); }
.area-name { display: flex; align-items: center; gap: 0.4em; font-size: 1.5rem; }
.area-name .icon { color: var(--red); }
.area-region { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.area-card p:not([class]) { color: var(--muted); }
.area-fee { justify-self: start; margin-top: 6px; padding: 0.35em 0.95em; border-radius: 999px; background: var(--yellow-soft); font-weight: 700; }

.hours { list-style: none; display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 600; }
.hours .closed { color: var(--muted); }

/* 13. Reviews ----------------------------------------------------------- */
.reviews-score { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin-bottom: 28px; font-size: 1.05rem; text-align: center; }
.reviews-score strong { font: 600 1.6rem/1 var(--font-display); }
.stars { color: var(--yellow-dark); letter-spacing: 0.08em; font-size: 1.2rem; }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; overscroll-behavior-x: contain;
}
.review-card { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.review-card figcaption { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.reviews-controls { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.reviews-controls button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow-sm); cursor: pointer; font: 700 1.3rem/1 var(--font-display); color: var(--ink); }
.reviews-credit { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* 14. Quote ------------------------------------------------------------- */
.quote-block { position: relative; text-align: center; padding-top: 56px; }
.quote-block::before {
  content: "“"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font: 700 7rem/1 var(--font-display); color: var(--red); pointer-events: none; /* a decoration: clicks go to the words */
}
.quote-block blockquote p { font: 500 clamp(1.4rem, 1.8vw + 0.9rem, 2.05rem)/1.35 var(--font-display); text-wrap: balance; }
.quote-block figcaption, .quote-author { margin-top: 18px; color: var(--muted); font-weight: 600; }

/* 15. Call to action: big-top stripes under a scalloped edge ------------- */
.cta-band {
  position: relative; color: #fff; text-align: center; padding-block: calc(var(--section-space) + 12px) var(--section-space);
  background: repeating-linear-gradient(115deg, var(--red) 0 46px, color-mix(in srgb, var(--red) 88%, #000) 46px 92px);
}
.cta-band::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 22px;
  background: radial-gradient(circle at 22px 0, var(--paper) 21px, transparent 22px) 0 0 / 44px 22px repeat-x;
}
.cta-inner { display: grid; justify-items: center; gap: 16px; max-width: 820px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3vw + 1rem, 3.2rem); letter-spacing: -0.01em; }
.cta-band .lead { color: #fff; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.cta-band :focus-visible { outline-color: var(--yellow); }

/* 16. Booking: choose, a day, a time, the details ----------------------- */
.hero-compact { padding-block: 36px 40px; }
.booking-box {
  max-width: 880px; margin-inline: auto; padding: clamp(20px, 4vw, 44px);
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
}
.booking-step { border: 0; margin: 0 0 clamp(28px, 4vw, 40px); padding: 0; min-width: 0; }
.booking-step[hidden] { display: none; }
.booking-step:focus { outline: none; }
.step-title { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font: 700 1.35rem/1.25 var(--font-heading); color: var(--ink); }
.step-num { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.15rem/1 var(--font-display); }
.step-num.num-2 { background: var(--blue); }
.step-num.num-3 { background: var(--yellow); color: var(--ink); }
.choices-title { margin: 18px 0 8px; font-weight: 700; color: var(--muted); font-size: 0.95rem; letter-spacing: 0.02em; }
.choices-title:first-of-type { margin-top: 0; }
.choices { display: grid; gap: 10px; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 14px; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice:hover { border-color: var(--blue); }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--red); }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.choice-text { display: grid; gap: 2px; }
.choice-name { font-weight: 700; }
.choice-meta { color: var(--muted); font-size: 0.92rem; }
.choice-price { font: 600 1.1rem/1.2 var(--font-display); color: var(--red-dark); text-align: right; }

.field-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid color-mix(in srgb, var(--ink) 30%, var(--paper)); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { font: inherit; font-size: 0.95rem; max-width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid color-mix(in srgb, var(--blue) 30%, transparent); outline-offset: 1px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-hint { color: var(--muted); font-size: 0.92rem; }
.field-error { color: var(--red-dark); font-weight: 600; font-size: 0.95rem; }
.field-error:empty { display: none; }
.field-error::before { content: "! "; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-errors { margin-bottom: 24px; padding: 16px 20px; border: 2px solid var(--red); border-radius: var(--radius-sm); background: var(--red-soft); }
.form-errors:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.form-errors-message { font-weight: 700; }
.form-errors-title { font: 700 1.1rem/1.3 var(--font-heading); }
.form-errors-message + .form-errors-title { margin-top: 10px; }
.form-errors ul { margin-top: 8px; padding-left: 1.2em; display: grid; gap: 4px; }
.form-errors a { color: var(--red-dark); font-weight: 600; }

.booking-chosen { display: grid; gap: 6px; margin-bottom: 28px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--blue-soft); }
.chosen-label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* the month calendar */
.calendar { max-width: 460px; }
.calendar:focus { outline: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cal-title { font: 600 1.25rem/1.2 var(--font-display); }
.cal-nav { width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font: 700 1.5rem/1 var(--font-display); cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--blue); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { padding: 4px 0; font-size: 0.85rem; font-weight: 700; color: var(--muted); text-align: center; }
.cal-grid td { padding: 0; text-align: center; }
.cal-day { display: grid; place-items: center; width: 100%; max-width: 54px; aspect-ratio: 1; margin: 0 auto; border-radius: 12px; font-weight: 700; font-size: 1rem; }
.cal-day.is-off { color: var(--muted); font-weight: 400; }
.cal-day.is-free { border: 0; padding: 0; background: var(--yellow-soft); color: var(--ink); box-shadow: inset 0 0 0 2px var(--yellow); cursor: pointer; font-family: inherit; }
.cal-day.is-free:hover { background: var(--yellow); }
.cal-day.is-chosen, .cal-day.is-chosen:hover { background: var(--red); color: #fff; box-shadow: none; }
.calendar-note { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

/* the free times */
.times-date { margin-bottom: 12px; font-weight: 600; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.time { position: relative; }
.time input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.time span { display: block; padding: 12px 8px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); text-align: center; font-weight: 700; }
.time:hover span { border-color: var(--blue); }
.time input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.time input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.times + .field-hint { margin-top: 10px; }
.no-times { font-weight: 600; margin-bottom: 8px; }
.next-days { margin: 6px 0 0 1.2em; display: grid; gap: 6px; }

.photo-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; }
.photo-preview img { width: 160px; height: 120px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-sm); }
.photo-status { color: var(--muted); font-size: 0.95rem; }
.photo-remove { min-height: 40px; padding: 0.45em 1em; font-size: 0.95rem; }
.booking-total { margin: 22px 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--yellow-soft); font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { color: var(--muted); font-size: 0.95rem; max-width: 30em; }
.booking-next { margin-top: 18px; }

/* 17. An event's page --------------------------------------------------- */
.event-hero { background: var(--yellow-soft) url("/img/confetti.svg") repeat 0 0 / 280px; padding-block: 28px clamp(40px, 6vw, 72px); }
.event-hero .container { display: grid; gap: 16px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--red); font-weight: 700; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.event-hero h1 { font-size: clamp(2.2rem, 3.6vw + 1rem, 3.6rem); text-wrap: balance; }
.event-meta { font-size: 1rem; }
.event-meta a { color: inherit; font-weight: 600; }
.event-cover { margin-top: 10px; }
.event-cover img { width: 100%; aspect-ratio: 16 / 9; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-block + .quote-block, .prose + .quote-block { margin-top: clamp(40px, 6vw, 64px); }
.gallery { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gallery figure { display: grid; gap: 10px; }
.gallery img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform 0.2s ease; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { color: var(--muted); font-size: 0.95rem; }

/* 18. Footer: a big-top valance on top ---------------------------------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark); padding-bottom: 28px; }
.footer-valance {
  height: 34px;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--paper) 40px 80px);
  -webkit-mask: radial-gradient(circle 20px at 20px 14px, #000 98%, transparent 100%) 0 0 / 40px 34px repeat-x, linear-gradient(#000, #000) 0 0 / 100% 14px no-repeat;
  mask: radial-gradient(circle 20px at 20px 14px, #000 98%, transparent 100%) 0 0 / 40px 34px repeat-x, linear-gradient(#000, #000) 0 0 / 100% 14px no-repeat;
}
.footer-grid { display: grid; gap: 32px; padding-block: 48px 40px; }
.brand-footer { margin-bottom: 14px; }
.brand-footer .brand-clown { color: var(--yellow); }
.brand-footer .brand-party { color: #fff; }
.footer-about p { max-width: 30em; }
.footer-title { font: 600 1.15rem/1.2 var(--font-display); color: var(--yellow); margin-bottom: 14px; letter-spacing: 0.01em; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #fff; }
.footer-list a { text-decoration: none; }
.footer-list a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-col p + p { margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 16%); font-size: 0.92rem; }
.site-footer :focus-visible { outline-color: var(--yellow); }

/* 19. Prices: the chosen currency; both without JavaScript --------------- */
.price-alt { display: none; }
@media (scripting: none) {
  .price-alt { display: inline; font-size: 0.8em; font-weight: 500; color: var(--muted); }
}

/* 20. Wider screens ----------------------------------------------------- */
@media (min-width: 640px) {
  .container { width: min(100% - 48px, 1200px); }
  .container-narrow { width: min(100% - 48px, 820px); }
  .topbar-tag { display: block; }
  .cards-2, .cards-3, .cards-4, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { max-width: 940px; margin-inline: auto; }
  .hero-card { padding: 40px 40px 42px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 20px 22px; }
  .field-wide { grid-column: 1 / -1; }
  .choices { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --header-height: 76px; }
  .hero-home { min-height: clamp(580px, 74vh, 720px); display: flex; align-items: center; padding-block: 72px; }
  .hero-media { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 62% 50%; }
  .hero-home-inner { margin-top: 0; }
  .hero-card { max-width: 610px; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .bunting { height: 56px; background-size: auto 56px; }
  .hero-page { padding-block: 64px 72px; }
  .hero-page-inner { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .hero-page-inner:has(> :only-child) { grid-template-columns: minmax(0, 820px); }
  .split { grid-template-columns: 1fr 1fr; }
  .split-flip .split-media { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .event-hero .container { gap: 18px; }
}

@media (min-width: 1040px) {
  .cards-3, .area-grid { grid-template-columns: repeat(3, 1fr); }
  /* only one or two cards (two events so far): centred, not a gap where the third would be */
  .cards-3:has(> .card:nth-child(2):last-child), .area-grid:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  /* the menu in the bar, no button */
  .nav-check, .nav-burger { display: none; }
  .site-nav, .menu-open .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; margin-right: 8px; }
  .nav-list { display: flex; gap: 2px; }
  .nav-list a { min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 1rem; }
  .nav-list a[aria-current="page"] { box-shadow: none; background: var(--yellow-soft); color: var(--ink); text-decoration: underline 3px var(--red); text-underline-offset: 6px; }
  .nav-cta { min-height: 46px; padding: 0.6em 1.25em; font-size: 1.02rem; }
}

@media (min-width: 1240px) {
  .nav-list a { padding: 0 16px; }
}

/* 21. Motion: only for those who haven't asked for less ----------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .reveal.is-waiting { opacity: 0; transform: translateY(26px); transition: none; } /* hidden at once, off screen */
  .card:hover, .step:hover, .area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .hero-art img { animation: float 7s ease-in-out infinite; }
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(-1deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* 22. Print: the content, not the chrome --------------------------------- */
@media print {
  .topbar, .site-header, .footer-valance, .bunting, .cta-band, .nav-cta { display: none !important; }
  .site-footer { background: none; color: var(--ink); }
  .site-footer a { color: var(--ink); }
  .reveal.is-waiting { opacity: 1; transform: none; }
}

/* Our work: the filters */
.event-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; margin-bottom: clamp(22px, 3vw, 32px); padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow-sm); }
.event-filters .field { flex: 1 1 200px; display: grid; gap: 6px; }
.event-filters select { min-height: 48px; padding: 8px 12px; border: 2px solid color-mix(in srgb, var(--ink) 30%, var(--paper)); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; }
.filter-buttons { display: flex; align-items: center; gap: 16px; }
.filter-buttons.is-live:not(:has(a)) { display: none; }
.filter-count { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 0.95rem; }
a[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

/* a draft, seen by a signed-in admin */
.draft-banner { position: sticky; top: 0; z-index: 60; margin: 0; padding: 10px 16px; background: var(--yellow-soft); border-bottom: 3px solid var(--ink); color: var(--ink); text-align: center; font-weight: 600; }

/* an event's photos, large */
.gallery-open { display: block; border-radius: var(--radius-sm); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #10111f; color: #fff; overflow: hidden; touch-action: pan-y pinch-zoom; }
.lightbox::backdrop { background: #10111f; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox-figure { display: grid; gap: 10px; justify-items: center; max-width: 100%; margin: 0; padding: 64px 64px 8px; }
.lightbox-figure img { max-width: min(100%, 1600px); max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #222; }
.lightbox-figure figcaption { max-width: 60ch; text-align: center; font-size: 1rem; color: #eef; }
.lightbox-count { margin: 0 0 18px; font-size: 0.95rem; color: #ccd; }
.lightbox-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid rgb(255 255 255 / 0.7); border-radius: 50%; background: rgb(0 0 0 / 0.45); color: #fff; font: 700 1.9rem/1 var(--font-body); cursor: pointer; }
.lightbox-btn:hover { background: rgb(0 0 0 / 0.7); border-color: #fff; }
.lightbox-btn:focus-visible { outline: 3px solid #ffd23f; outline-offset: 3px; }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) {
  .lightbox-figure { padding: 72px 10px 8px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; translate: none; }
  .lightbox-figure img { max-height: calc(100vh - 210px); }
  .lightbox-count { margin-bottom: 26px; }
}

/* Address suggestions on the booking form (js/address.js, when Google Maps is on) */
.field:has(> .places-list) { position: relative; }
.places-list { position: absolute; z-index: 30; left: 0; right: 0; margin: 4px 0 0; padding: 6px; list-style: none; border: 2px solid var(--blue); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.places-list[hidden] { display: none; }
.places-list li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.places-list li[aria-selected="true"], .places-list li:hover { background: var(--blue-soft); }
.places-main { font-weight: 600; }
.places-more { color: var(--muted); font-size: 0.92rem; }
.places-status { margin: 0; font-size: 0.95rem; color: var(--muted); }
.places-status:empty { display: none; }
.places-status.is-outside { color: var(--red-dark); font-weight: 600; }

/* The service area's map (Static Maps, made by the server) */
.area-map { margin: clamp(28px, 4vw, 40px) auto 0; max-width: 900px; display: grid; gap: 10px; text-align: center; }
.area-map img { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.area-map-link { display: block; border-radius: var(--radius-sm); }
.area-map figcaption { color: var(--muted); font-size: 0.95rem; }
