/**
 * Fuze Play – base styles.
 *
 * Colours, fonts, spacing and sizes are theme.json presets (var(--wp--preset--*)),
 * so changing them in Styles updates everything here too.
 *
 * 0. Font fallbacks         5. Page title band     10. Section edges & decoration
 * 1. Base & accessibility   6. Footer              11. Icons
 * 2. Header                 7. Mobile quick bar    12. Motion
 * 3. Navigation             8. Back to top         13. Print (Prices, Party Packages)
 * 4. Notice bar             9. Block styles
 *
 * This file is also loaded in the editor (add_editor_style), where `body` becomes
 * `.editor-styles-wrapper`. Front-end-only rules therefore start with
 * `body:not(.editor-styles-wrapper)` so they never apply inside the editor canvas.
 *
 * Motion: every movement (lifts, presses, wiggles, drifting shapes) sits inside
 * `@media (prefers-reduced-motion: no-preference)`; colour and shadow changes work for everyone.
 */

/* ------------------------------------------------------------------ *
 * 0. Font fallbacks
 * While Fredoka and Nunito download, text is drawn in a local Arial (or a metric-compatible
 * Helvetica, Liberation Sans, Arimo or Roboto) that has been resized to the same widths and
 * given the same ascent and descent, so nothing jumps when the web fonts swap in.
 * theme.json lists these families straight after the web fonts.
 * size-adjust = web font width ÷ Arial width, measured in Chrome on the site's own text for each
 * weight in use, then fine-tuned so the multi-line headings (the home H1 above all) break onto
 * the same lines at every width from 360 to 1920px; ascent/descent = the web font's own
 * metrics (Fredoka 974/236, Nunito 1011/353 per 1000) ÷ size-adjust. Line gap is 0 in both.
 * ------------------------------------------------------------------ */
@font-face {
	font-family: "Fredoka Fallback";
	src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("LiberationSans"), local("Arimo"), local("Roboto"), local("Roboto-Regular");
	font-style: normal;
	font-weight: 300 500;
	size-adjust: 100.65%;
	ascent-override: 96.77%;
	descent-override: 23.45%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Fredoka Fallback";
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold"), local("Arimo-Bold"), local("Roboto Bold"), local("Roboto-Bold");
	font-style: normal;
	font-weight: 600;
	size-adjust: 93%;
	ascent-override: 104.73%;
	descent-override: 25.38%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Fredoka Fallback";
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold"), local("Arimo-Bold"), local("Roboto Bold"), local("Roboto-Bold");
	font-style: normal;
	font-weight: 700;
	size-adjust: 92.25%;
	ascent-override: 105.58%;
	descent-override: 25.58%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Nunito Fallback";
	src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("LiberationSans"), local("Arimo"), local("Roboto"), local("Roboto-Regular");
	font-style: normal;
	font-weight: 200 600;
	size-adjust: 102.3%;
	ascent-override: 98.83%;
	descent-override: 34.51%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Nunito Fallback";
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold"), local("Arimo-Bold"), local("Roboto Bold"), local("Roboto-Bold");
	font-style: normal;
	font-weight: 700 1000;
	size-adjust: 98.6%;
	ascent-override: 102.54%;
	descent-override: 35.8%;
	line-gap-override: 0%;
}

/* ------------------------------------------------------------------ *
 * 1. Base & accessibility
 * ------------------------------------------------------------------ */
:root {
	--fuze-focus: var(--wp--preset--color--navy);
	--fuze-focus-halo: var(--wp--preset--color--yellow);
	/* How much of the top of the screen the stuck header covers (its main bar). fuze.js measures it;
	 * this is the fallback. Anchor jumps (html scroll-padding) and the calculator's sticky total use it. */
	--fuze-header-offset: 73px;
	--fuze-ease: var(--wp--custom--ease, cubic-bezier(.2, .8, .2, 1));
	--fuze-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--fuze-radius-sm: var(--wp--custom--radius--sm, 8px);
	--fuze-radius-md: var(--wp--custom--radius--md, 14px);
	--fuze-radius-lg: var(--wp--custom--radius--lg, 24px);
	--fuze-radius-xl: var(--wp--custom--radius--xl, 40px);
	--fuze-radius-pill: var(--wp--custom--radius--pill, 999px);
	/* Button "press": the darker ledge a button rises onto when hovered, and its soft shadow. */
	--fuze-press: rgb(15 27 61 / 0.28);
	--fuze-press-soft: rgb(15 27 61 / 0.3);
}

@media (min-width: 782px) {
	:root {
		--fuze-header-offset: 88px;
	}
}

/* Anchor jumps land just below the stuck header (one offset, applied here only). On phones,
 * content scrolled into view from below also stops above the quick bar. */
html {
	scroll-padding-top: var(--fuze-header-offset);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (max-width: 781.98px) {
	html {
		scroll-padding-bottom: calc(var(--wp--custom--cta-bar, 64px) + env(safe-area-inset-bottom));
	}
}

body {
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--wp--preset--color--pink-strong);
	color: var(--wp--preset--color--white);
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

/* Top-level template areas sit flush; sections provide their own spacing. */
.wp-site-blocks > * {
	margin-block: 0;
}

/* Full-width bands inside page content stack without gaps. */
.wp-block-post-content > .alignfull {
	margin-block: 0;
}

.wp-block-post-content > .alignfull + :not(.alignfull) {
	margin-block-start: var(--wp--preset--spacing--60);
}

.wp-block-post-content > :not(.alignfull):first-child {
	margin-block-start: var(--wp--preset--spacing--60);
}

.wp-block-post-content > :not(.alignfull):last-child {
	margin-block-end: var(--wp--preset--spacing--60);
}

/* Focus: bold navy ring with a sunshine halo; flips on dark sections.
 * The ring follows each control's own shape (round − / + buttons, pill fields and buttons, rounded
 * number boxes). Only things without a shape of their own, such as text links, get a softly rounded
 * ring, and that rule has zero specificity so any component's own radius wins. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--fuze-focus);
	outline-offset: 3px;
	box-shadow: 0 0 0 7px var(--fuze-focus-halo);
}

:where(a, summary, [tabindex]):where(:focus-visible) {
	border-radius: 4px;
}

:where(.wp-element-button, .wp-block-button__link):focus-visible,
.wp-social-link a:focus-visible {
	border-radius: var(--fuze-radius-pill);
}

.is-style-section-purple,
.is-style-section-night,
.is-style-section-gradient,
.fuze-utility,
.fuze-cta-bar,
.wp-block-navigation__responsive-container.is-menu-open {
	--fuze-focus: var(--wp--preset--color--yellow);
	--fuze-focus-halo: var(--wp--preset--color--navy);
	--fuze-press: rgb(9 12 30 / 0.45);
	--fuze-press-soft: rgb(9 12 30 / 0.5);
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	border-radius: var(--fuze-radius-pill);
	padding: 0.9em 1.4em;
	z-index: 100001;
}

/* Every link that looks like a button is at least 48px tall. */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	transition: background-color 0.2s var(--fuze-ease), border-color 0.2s var(--fuze-ease), color 0.2s var(--fuze-ease), transform 0.25s var(--fuze-ease-spring), box-shadow 0.25s var(--fuze-ease);
}

/* Playful "press": hovered with a mouse, a button rises onto a slightly darker ledge; pressed, it
 * sinks back down. Touch screens get the press only: they keep :hover on the last thing tapped,
 * which would leave a tapped button raised. So hover looks for things that stay on screen after a
 * tap (buttons, the calculator's − / +, cards) sit in `@media (hover: hover) and (pointer: fine)`.
 * (Zero-specificity :where() so a component can still give its button its own shadow.) */
@media (hover: hover) and (pointer: fine) {
	:where(.wp-element-button, .wp-block-button__link):hover {
		box-shadow: 0 4px 0 var(--fuze-press), 0 12px 20px -10px var(--fuze-press-soft);
	}
}

:where(.wp-element-button, .wp-block-button__link):active {
	box-shadow: 0 1px 0 var(--fuze-press);
	transition-duration: 0.08s;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	:where(.wp-element-button, .wp-block-button__link):hover {
		transform: translateY(-2px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	:where(.wp-element-button, .wp-block-button__link):active {
		transform: translateY(1px);
	}
}

/* Keyboard focus keeps its full ring and halo while hovered or pressed (must follow the press effect). */
/* stylelint-disable-next-line no-duplicate-selectors */
:where(.wp-element-button, .wp-block-button__link):focus-visible {
	box-shadow: 0 0 0 7px var(--fuze-focus-halo);
}

/* Section headers share one rhythm on every page: the eyebrow label sits tight above its heading. */
.is-style-eyebrow + .wp-block-heading {
	margin-block-start: 0.35rem;
}

/* Text links: thicker, offset underline. */
:where(.wp-site-blocks) a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

/* Tel links wrap nicely and never break the number. */
a[href^="tel:"] {
	white-space: nowrap;
}

/* Tidy line breaks everywhere: balanced headings, no lonely last words in text. */
:where(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

:where(p, li, dd, figcaption, blockquote) {
	text-wrap: pretty;
}

/* Bold text in headings font for a friendly look. */
:where(p, li) strong {
	font-weight: 800;
	color: inherit;
}

.screen-reader-text:not(:focus) {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	overflow-wrap: normal !important;
}

/* ------------------------------------------------------------------ *
 * 2. Header
 * ------------------------------------------------------------------ */
/* The header sticks with only its main bar in view: the navy utility strip above it (exactly
 * --wp--custom--header--utility tall) scrolls away with the page. */
.fuze-site-header {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--wp--custom--header--utility, 44px));
	z-index: 90;
}

.fuze-utility {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.2;
}

.fuze-utility__inner {
	min-height: var(--wp--custom--header--utility, 44px);
	gap: var(--wp--preset--spacing--30);
}

.fuze-utility p {
	margin: 0;
}

.fuze-utility a {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.fuze-utility a:hover {
		color: var(--wp--preset--color--yellow);
		text-decoration: underline;
	}
}

/* Phones: the strip holds only today's opening status, centred (the quick bar has Call and
 * Directions; the footer has the address and social links). */
@media (max-width: 781.98px) {
	.fuze-utility .fuze-utility__links {
		display: none;
	}

	.fuze-utility .fuze-utility__inner {
		justify-content: center;
	}
}

.fuze-utility__links {
	gap: var(--wp--preset--spacing--40) !important;
}

.fuze-utility .wp-block-social-links {
	gap: 0.35rem;
	flex: none;
	flex-wrap: nowrap;
}

.fuze-utility__links > * {
	flex: none;
}

/* Tablets: keep the strip to one tidy line (address is in the footer and on Contact). */
@media (max-width: 1099.98px) {
	.fuze-utility__links .fuze-icon-pin {
		display: none;
	}
}

/* Comfortable tap targets that fill the strip's height, and no taller: the open-now link drops the
 * block's own compact padding here, or the strip would outgrow the height the sticky header
 * slides up by and leave a navy sliver above the main bar. */
.fuze-utility__links p a,
.fuze-utility .fuze-open-today.is-variant-compact .fuze-open-today__link {
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--header--utility, 44px);
	padding-block: 0;
}

.fuze-utility .wp-block-social-links .wp-social-link a {
	padding: calc((var(--wp--custom--header--utility, 44px) - 1em) / 2);
}

.fuze-mainbar {
	position: relative;
	transition: box-shadow 0.25s var(--fuze-ease);
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(90deg, var(--wp--preset--color--pink) 0 50%, var(--wp--preset--color--lime) 50% 100%) 1;
}

.fuze-mainbar__inner {
	min-height: var(--wp--custom--header--compact, 64px);
	gap: var(--wp--preset--spacing--30);
	padding-block: 0.4rem;
}

.is-scrolled .fuze-mainbar {
	box-shadow: 0 8px 24px rgb(15 27 61 / 0.12);
}

/* Logo roundel. The header and footer share one "Logo" template part (parts/logo.html),
 * so replacing the image there updates both; each area sets its own size here. */
.fuze-logo-part,
.fuze-logo {
	flex: none;
	margin: 0;
	line-height: 0;
}

.fuze-logo img {
	display: block;
	width: 88px !important;
	height: 88px !important;
	border-radius: 50% !important;
	transition: width 0.25s var(--fuze-ease), height 0.25s var(--fuze-ease), transform 0.25s var(--fuze-ease);
}

.fuze-mainbar .fuze-logo img {
	width: 56px !important;
	height: 56px !important;
}

/* The link is only as wide as the logo (in the footer column it would otherwise span the column). */
.fuze-logo a {
	display: block;
	width: fit-content;
	border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
	.fuze-logo a:hover img {
		transform: rotate(-8deg) scale(1.04);
	}
}

@media (min-width: 782px) {
	.fuze-mainbar__inner {
		min-height: var(--wp--custom--header--height, 84px);
	}

	.fuze-mainbar .fuze-logo img {
		width: 88px !important;
		height: 88px !important;
	}

	.fuze-site-header .fuze-logo {
		margin-block: -2px -22px;
		position: relative;
		z-index: 2;
	}

	.fuze-site-header .fuze-logo img {
		box-shadow: 0 0 0 5px var(--wp--preset--color--white), 0 10px 24px rgb(15 27 61 / 0.18);
	}

	.is-scrolled .fuze-site-header .fuze-logo {
		margin-block: 0;
	}

	.is-scrolled .fuze-site-header .fuze-logo img {
		width: 60px !important;
		height: 60px !important;
		box-shadow: none;
	}
}

/* Header buttons */
.fuze-header-ctas {
	flex: none;
	gap: 0.5rem !important;
	flex-wrap: nowrap !important;
}

.fuze-header-ctas .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.7em 1.15em;
	white-space: nowrap;
}

.fuze-header-ctas .fuze-btn-phone .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--purple);
	color: var(--wp--preset--color--purple);
	background: transparent;
}

@media (hover: hover) and (pointer: fine) {
	.fuze-header-ctas .fuze-btn-phone .wp-block-button__link:hover {
		background: var(--wp--preset--color--purple);
		color: var(--wp--preset--color--white);
	}
}

/* Phone button: hidden on phones (quick bar has Call), icon-only on tablets. */
.fuze-header-ctas .fuze-btn-phone {
	display: none;
}

@media (min-width: 782px) {
	.fuze-header-ctas .fuze-btn-phone {
		display: block;
	}
}

@media (min-width: 782px) and (max-width: 1279.98px) {
	.fuze-header-ctas .fuze-btn-phone .wp-block-button__link {
		font-size: 0;
		gap: 0;
		width: 48px;
		padding: 0;
	}

	.fuze-header-ctas .wp-block-button.fuze-btn-phone .wp-block-button__link::before {
		width: 22px;
		height: 22px;
	}
}

/* ------------------------------------------------------------------ *
 * 3. Navigation
 * ------------------------------------------------------------------ */
.fuze-nav {
	--fuze-nav-gap: clamp(0.9rem, 1.4vw, 1.75rem);
}

.fuze-nav .wp-block-navigation__container {
	gap: var(--fuze-nav-gap);
}

.fuze-nav .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.4em;
	/* Side padding gives the focus ring room; the negative margin keeps the spacing unchanged. */
	padding-inline: 0.3em;
	margin-inline: -0.3em;
	color: var(--wp--preset--color--heading);
	white-space: nowrap;
}

.fuze-nav .wp-block-navigation-item__content:hover,
.fuze-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--purple);
}

/* Squiggle under the hovered and current page. */
.fuze-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0.3em;
	right: 0.3em;
	bottom: -0.15em;
	height: 0.4em;
	background: var(--wp--preset--color--pink);
	-webkit-mask: url(../images/decor/squiggle.svg) left center / auto 100% repeat-x;
	mask: url(../images/decor/squiggle.svg) left center / auto 100% repeat-x;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--fuze-ease);
}

.fuze-nav .wp-block-navigation-item__content:hover::after,
.fuze-nav .current-menu-item > .wp-block-navigation-item__content::after,
.fuze-nav [aria-current="page"]::after {
	transform: scaleX(1);
}

.fuze-nav .current-menu-item > .wp-block-navigation-item__content,
.fuze-nav [aria-current="page"] {
	color: var(--wp--preset--color--purple);
	font-weight: 600;
}

/* Hamburger button */
.fuze-nav .wp-block-navigation__responsive-container-open {
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--purple);
	color: var(--wp--preset--color--white);
	transition: background-color 0.2s var(--fuze-ease), box-shadow 0.25s var(--fuze-ease), transform 0.25s var(--fuze-ease-spring);
}

.fuze-nav .wp-block-navigation__responsive-container-open:hover {
	background: var(--wp--preset--color--pink-strong);
	box-shadow: 0 4px 0 var(--fuze-press);
}

@media (prefers-reduced-motion: no-preference) {
	.fuze-nav .wp-block-navigation__responsive-container-open:hover {
		transform: translateY(-2px);
	}

	.fuze-nav .wp-block-navigation__responsive-container-open:active {
		transform: scale(0.94);
		box-shadow: none;
	}
}

.fuze-nav .wp-block-navigation__responsive-container-open svg {
	width: 26px;
	height: 26px;
}

/* Collapse to the hamburger below 1080px (core collapses at 600px). */
@media (min-width: 600px) and (max-width: 1079.98px) {
	.fuze-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.fuze-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.fuze-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		display: flex;
	}
}

/* Collapsed menu: logo on the left; buttons and the menu button grouped on the right.
 * (The child selector beats core's `.is-layout-flex > *{ margin: 0 }`.) */
@media (max-width: 1079.98px) {
	.fuze-mainbar__inner > .fuze-header-ctas {
		margin-inline-start: auto;
	}

	.fuze-mainbar__inner > .fuze-nav {
		order: 3;
		margin-inline-start: 0;
	}
}

/* Full-screen menu overlay.
 * The sticky header is a stacking context, so while the menu is open (core adds
 * `has-modal-open` to <html>) the whole header is lifted above everything, and the
 * notice bar and quick bar step aside so nothing covers the menu or its close button. */
html.has-modal-open .fuze-site-header {
	z-index: 100000;
}

html.has-modal-open .fuze-notice-part,
html.has-modal-open .fuze-cta-bar {
	display: none !important;
}

.fuze-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--gradient--purple-to-pink) !important;
	color: var(--wp--preset--color--white) !important;
	padding: var(--wp--preset--spacing--40);
	padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--preset--spacing--40));
}

.fuze-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: center;
	padding-top: var(--wp--preset--spacing--60);
}

.fuze-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: center;
	gap: var(--wp--preset--spacing--20);
}

.fuze-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	padding: 0.25em 0.5em;
	margin-inline: 0;
}

.fuze-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
	background: var(--wp--preset--color--yellow);
}

.fuze-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--yellow);
}

.fuze-nav .wp-block-navigation__responsive-container-close {
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.18);
	color: var(--wp--preset--color--white);
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--preset--spacing--30));
	right: var(--wp--preset--spacing--30);
}

.fuze-nav .wp-block-navigation__responsive-container-close svg {
	width: 30px;
	height: 30px;
}

/* ------------------------------------------------------------------ *
 * 4. Notice bar
 * ------------------------------------------------------------------ */
.fuze-notice-part {
	position: relative;
	z-index: 91;
}

/* Soft, light sunshine tint behind the text for easy reading; the stripes sit only
 * in a thin strip along the bottom edge as a playful accent. */
.fuze-notice {
	padding-block: 0.6rem 0.75rem;
	padding-inline-end: 3.5rem !important;
	background-color: #FFF3CC !important;
	background-image: repeating-linear-gradient(-45deg, var(--wp--preset--color--yellow) 0 10px, #FFE08A 10px 20px);
	background-size: 100% 5px;
	background-repeat: no-repeat;
	background-position: left bottom;
}

.fuze-notice p {
	margin: 0;
	line-height: 1.45;
}

/* Phones: every extra line pushes the page down, so the bar is a little tighter. */
@media (max-width: 599.98px) {
	.fuze-notice {
		padding-block: 0.45rem 0.6rem;
	}

	.fuze-notice p {
		line-height: 1.35;
	}
}

.fuze-notice a {
	color: var(--wp--preset--color--indigo);
	font-weight: 800;
}

/* A yellow halo on a yellow bar adds nothing and hides the neighbouring words. */
.fuze-notice a:focus-visible {
	box-shadow: none;
	outline-offset: 2px;
}

.fuze-notice__close {
	position: absolute;
	top: 50%;
	right: max(0.5rem, var(--wp--preset--spacing--20));
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgb(15 27 61 / 0.1);
	color: var(--wp--preset--color--navy);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.fuze-notice__close:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--yellow);
}

.fuze-notice-dismissed .fuze-notice-part,
.fuze-notice-part[hidden] {
	display: none;
}

/* ------------------------------------------------------------------ *
 * 5. Page title band (inner pages)
 * ------------------------------------------------------------------ */
.fuze-page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	text-align: center;
}

/* Depth for the flat purple band: a soft glow behind the title, deepening to indigo at the edges. */
.fuze-page-hero.is-style-section-purple {
	background-image:
		radial-gradient(60% 90% at 50% 0%, rgb(255 255 255 / 0.1), transparent 70%),
		radial-gradient(70% 120% at 100% 100%, rgb(52 28 119 / 0.5), transparent 70%),
		radial-gradient(60% 110% at 0% 100%, rgb(52 28 119 / 0.35), transparent 70%);
}

/* Brush-stroke corners echo the "Events at FuZe" artwork (::after is kept free for the edge).
 * Light sections get the soft full-colour art; dark sections get the light art at full
 * strength (fading the whole layer over purple turned the green muddy). */
.fuze-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		url(../images/decor/brush-corner.svg) left -40px bottom -10px / clamp(140px, 22vw, 300px) auto no-repeat,
		url(../images/decor/brush-corner-br.svg) right -30px top -20px / clamp(120px, 18vw, 260px) auto no-repeat;
	opacity: 0.5;
	pointer-events: none;
}

.fuze-page-hero:is(.is-style-section-purple, .is-style-section-gradient, .is-style-section-night)::before {
	background:
		url(../images/decor/brush-corner-light.svg) left -40px bottom -10px / clamp(140px, 22vw, 300px) auto no-repeat,
		url(../images/decor/brush-corner-light.svg#br) right -30px top -20px / clamp(120px, 18vw, 260px) auto no-repeat;
	opacity: 1;
}

/* Phones and small tablets: a title that wraps onto two lines reaches the bottom-left corner, so
 * the strokes there are smaller and pulled further out (they must never run behind the letters). */
@media (max-width: 781.98px) {
	.fuze-page-hero::before,
	.fuze-page-hero:is(.is-style-section-purple, .is-style-section-gradient, .is-style-section-night)::before {
		background-size: 110px auto, clamp(120px, 18vw, 260px) auto;
		background-position: left -80px bottom -30px, right -30px top -20px;
	}
}

.fuze-page-hero .wp-block-post-title {
	margin: 0;
}

.fuze-page-hero :is(h1, .wp-block-post-title) {
	text-wrap: balance;
}

.fuze-page-hero .fuze-page-hero__eyebrow {
	margin: 0 0 0.4rem;
}

/* ------------------------------------------------------------------ *
 * 6. Footer
 * ------------------------------------------------------------------ */
.fuze-footer {
	position: relative;
	font-size: var(--wp--preset--font-size--small);
}

.fuze-footer__cols > .wp-block-column {
	min-width: 0;
}

.fuze-footer .fuze-footer__title {
	font-size: var(--wp--preset--font-size--large);
	margin-block: 0 0.75rem;
}

/* Every column starts its content the same distance below its heading. */
.fuze-footer .wp-block-column > .fuze-footer__title + * {
	margin-block-start: 0;
}

.fuze-footer p {
	margin-block: 0 0.6rem;
}

.fuze-footer .fuze-logo-part {
	margin-block-end: var(--wp--preset--spacing--30);
}

.fuze-footer .fuze-logo img {
	width: 96px !important;
	height: 96px !important;
}

.fuze-footer .wp-block-navigation {
	font-size: var(--wp--preset--font-size--medium);
}

.fuze-footer .wp-block-navigation .wp-block-navigation__container {
	gap: 0;
}

/* Footer links are at least 44px tall for easy tapping. */
.fuze-footer .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--cream);
	padding-block: 0;
}

.fuze-footer p > a:only-child {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.fuze-footer p:has(> a:only-child) {
	align-items: center;
	margin-block-end: 0;
}

.fuze-footer p:has(> a:only-child)::before {
	margin-top: 0;
}

.fuze-footer .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--yellow);
}

.fuze-footer .wp-block-social-links .wp-social-link {
	background: var(--wp--preset--color--lime) !important;
	color: var(--wp--preset--color--navy) !important;
}

.fuze-footer .wp-block-social-links .wp-social-link:hover {
	background: var(--wp--preset--color--yellow) !important;
}

.fuze-footer .wp-block-social-links .wp-social-link svg {
	fill: currentColor;
}

.fuze-footer .wp-block-social-links .wp-social-link a {
	padding: calc((44px - 1em) / 2);
}

/* One column on phones, a 2 x 2 grid on tablets and small laptops, four columns from 1200px.
 * (!important and the extra class beat core's column stacking and no-wrap rules.) */
@media (min-width: 600px) and (max-width: 1199.98px) {
	.fuze-footer .fuze-footer__cols.wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: var(--wp--preset--spacing--50);
	}

	.fuze-footer .fuze-footer__cols.wp-block-columns > .wp-block-column {
		flex-basis: calc(50% - var(--wp--preset--spacing--50) / 2) !important;
		flex-grow: 0 !important;
	}
}

.fuze-footer-bottom {
	margin-block-start: 0;
	font-size: var(--wp--preset--font-size--small);
}

.fuze-footer-bottom p {
	margin: 0;
}

.fuze-footer-bottom__inner {
	align-items: center !important;
	gap: var(--wp--preset--spacing--30) !important;
	text-align: center;
}

/* The UK Government funding badge is shown at its full size (FuZe's building was funded by it):
 * the Image block's own width sets the size; it only shrinks to fit narrow screens. */
.fuze-footer-bottom .fuze-funding img {
	max-width: 100%;
	height: auto;
	aspect-ratio: 579 / 92;
	border-radius: var(--fuze-radius-sm);
	box-shadow: var(--wp--preset--shadow--soft);
}

.fuze-copyright {
	text-wrap: balance;
}

.fuze-footer-bottom .wp-block-image {
	margin: 0;
}

/* ------------------------------------------------------------------ *
 * 7. Mobile quick-action bar
 * ------------------------------------------------------------------ */
.fuze-cta-bar-part {
	display: contents;
}

/* In the editor the bar stays in the flow so it can be seen and edited; on the site it is
 * fixed to the bottom of phone screens. */
.fuze-cta-bar {
	padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom)) !important;
}

body:not(.editor-styles-wrapper) .fuze-cta-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	box-shadow: 0 -8px 24px rgb(15 27 61 / 0.18);
}

.fuze-cta-bar .wp-block-buttons {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
	max-width: 560px;
	margin-inline: auto;
}

.fuze-cta-bar .wp-block-button {
	width: 100%;
	margin: 0;
}

.fuze-cta-bar .wp-block-button__link {
	width: 100%;
	flex-direction: column;
	gap: 0.15rem;
	min-height: 52px;
	padding: 0.35rem 0.25rem;
	font-size: 0.875rem;
	border-radius: var(--fuze-radius-md);
}

.fuze-cta-bar .wp-block-button__link::before {
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
}

body:not(.editor-styles-wrapper) {
	padding-bottom: calc(var(--wp--custom--cta-bar, 64px) + env(safe-area-inset-bottom));
}

@media (min-width: 782px) {
	body:not(.editor-styles-wrapper) .fuze-cta-bar {
		display: none !important;
	}

	body:not(.editor-styles-wrapper) {
		padding-bottom: 0;
	}
}

/* ------------------------------------------------------------------ *
 * 8. Back to top
 * ------------------------------------------------------------------ */
/* Tablets and up only: on phones the quick bar is always at hand, and the button
 * would cover text at the edge of the screen. */
.fuze-to-top {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: calc(1.5rem + env(safe-area-inset-bottom));
	z-index: 80;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--purple);
	color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--soft);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s var(--fuze-ease), transform 0.25s var(--fuze-ease), visibility 0.25s, background-color 0.2s, box-shadow 0.25s var(--fuze-ease);
}

.fuze-to-top::before {
	content: "";
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url(../images/icons/arrow-up.svg) center / contain no-repeat;
	mask: url(../images/icons/arrow-up.svg) center / contain no-repeat;
}

.fuze-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.fuze-to-top:hover {
	background: var(--wp--preset--color--pink-strong);
	box-shadow: 0 4px 0 var(--fuze-press), var(--wp--preset--shadow--soft);
}

@media (prefers-reduced-motion: no-preference) {
	.fuze-to-top.is-visible:hover {
		transform: translateY(-2px);
	}

	.fuze-to-top.is-visible:active {
		transform: translateY(1px);
		box-shadow: 0 1px 0 var(--fuze-press);
	}
}

@media (max-width: 781.98px) {
	.fuze-to-top {
		display: none;
	}
}

/* ------------------------------------------------------------------ *
 * 9. Block styles
 * ------------------------------------------------------------------ */

/* Fuze card – group */
.is-style-fuze-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--body);
	border: 3px solid var(--wp--preset--color--lime);
	border-radius: var(--fuze-radius-md);
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--soft);
	transition: border-color 0.25s var(--fuze-ease), box-shadow 0.35s var(--fuze-ease);
}

.is-style-fuze-card > * {
	margin-block: 0;
}

/* Hovered with a mouse, or with keyboard focus inside: a pink border and a deeper shadow.
 * The card itself never moves: a lifting card slid out from under a resting pointer and flickered.
 * Cards that are not links (price cards) opt out in their own component CSS. */
.is-style-fuze-card:focus-within {
	border-color: var(--wp--preset--color--pink);
	box-shadow: var(--wp--preset--shadow--lift);
}

@media (hover: hover) and (pointer: fine) {
	.is-style-fuze-card:hover {
		border-color: var(--wp--preset--color--pink);
		box-shadow: var(--wp--preset--shadow--lift);
	}
}

.is-style-fuze-card :where(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--heading);
}

.is-style-fuze-card a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--purple);
}

.is-style-fuze-card .wp-block-image,
.is-style-fuze-card > figure {
	margin: 0;
}

.is-style-fuze-card .wp-block-image img {
	width: 100%;
	border-radius: 0;
	display: block;
	object-fit: cover;
}

/* Card body: any inner group with this class gets comfy padding and pushes its last item down. */
.fuze-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--40) !important;
}

.fuze-card__body > * {
	margin-block: 0 !important;
}

.fuze-card__body > :last-child {
	margin-top: auto !important;
	padding-top: var(--wp--preset--spacing--20);
}

/* Whole-card link: add class `fuze-card--link`; the first heading link covers the card. */
.fuze-card--link :where(h2, h3, h4) a {
	text-decoration: none;
	color: inherit;
}

.fuze-card--link :where(h2, h3, h4) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.fuze-card--link :where(.wp-block-buttons, .fuze-card__alt) {
	position: relative;
	z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
	.fuze-card--link:hover :where(h2, h3, h4) a {
		color: var(--wp--preset--color--pink-ink);
	}
}

/* Callout – group */
.is-style-fuze-callout {
	background: var(--wp--preset--color--cream);
	border-left: 6px solid var(--wp--preset--color--pink-ink);
	border-radius: var(--fuze-radius-sm) var(--fuze-radius-md) var(--fuze-radius-md) var(--fuze-radius-sm);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--heading);
}

.is-style-fuze-callout > * {
	margin-block: 0;
}

.is-style-fuze-callout > * + * {
	margin-block-start: 0.5em;
}

/* Headings */
.is-style-brush-heading::after {
	content: "";
	display: block;
	width: 4.2em;
	max-width: 70%;
	height: 0.32em;
	margin-top: 0.18em;
	background: var(--wp--preset--color--pink);
	-webkit-mask: url(../images/decor/brush-underline.svg) center / 100% 100% no-repeat;
	mask: url(../images/decor/brush-underline.svg) center / 100% 100% no-repeat;
}

.is-style-brush-heading.has-text-align-center::after {
	margin-inline: auto;
}

.is-style-brush-heading.has-text-align-right::after {
	margin-inline-start: auto;
}

.is-style-section-purple .is-style-brush-heading::after,
.is-style-section-gradient .is-style-brush-heading::after,
.is-style-section-night .is-style-brush-heading::after {
	background: var(--wp--preset--color--lime);
}

.is-style-burst-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	text-align: center;
	text-wrap: balance;
}

.is-style-burst-heading::before,
.is-style-burst-heading::after {
	content: "";
	flex: none;
	width: 0.55em;
	height: 0.75em;
	background: var(--wp--preset--color--lime);
	-webkit-mask: url(../images/decor/burst.svg) center / contain no-repeat;
	mask: url(../images/decor/burst.svg) center / contain no-repeat;
}

.is-style-burst-heading::after {
	background: var(--wp--preset--color--pink);
	transform: scaleX(-1);
}

.is-style-section-gradient .is-style-burst-heading::after,
.is-style-section-purple .is-style-burst-heading::after {
	background: var(--wp--preset--color--yellow);
}

/* Paragraph styles */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--pink-ink);
}

.is-style-section-purple .is-style-eyebrow,
.is-style-section-night .is-style-eyebrow,
.is-style-section-gradient .is-style-eyebrow {
	color: var(--wp--preset--color--yellow);
}

/* An eyebrow label can be a link (e.g. "Birthday parties" → Book Online): same colour, clear underline. */
.is-style-eyebrow a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.3em;
}

@media (hover: hover) and (pointer: fine) {
	.is-style-eyebrow a:hover {
		text-decoration-thickness: 0.18em;
	}
}

.is-style-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	font-weight: 500;
}

.is-style-price {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1;
	color: var(--wp--preset--color--purple);
	letter-spacing: -0.02em;
}

.is-style-price-badge {
	display: inline-grid;
	place-items: center;
	place-content: center;
	row-gap: 0.15em;
	width: 5.2em;
	aspect-ratio: 1;
	padding: 0.4em;
	border-radius: 50%;
	background: var(--wp--preset--color--pink-strong);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.05;
	text-align: center;
	transform: rotate(-8deg);
	box-shadow: 0 0 0 4px var(--wp--preset--color--white), var(--wp--preset--shadow--pink-glow);
}

.is-style-price-badge small,
.is-style-price-badge sub {
	display: block;
	font-size: 0.62em;
	font-weight: 600;
	opacity: 0.95;
}

/* Image styles */
.is-style-sticker {
	--fuze-tilt: -2deg;
}

.is-style-sticker:nth-of-type(even),
.fuze-sticker-tilt-right.is-style-sticker {
	--fuze-tilt: 2deg;
}

.is-style-sticker img {
	border: 8px solid var(--wp--preset--color--white);
	border-radius: var(--fuze-radius-md) !important;
	box-shadow: var(--wp--preset--shadow--sticker);
	transform: rotate(var(--fuze-tilt));
	transition: transform 0.35s var(--fuze-ease);
}

/* Hovered, a sticker photo gives a quick wiggle and settles straight. */
@media (prefers-reduced-motion: no-preference) {
	.is-style-sticker:hover img {
		transform: rotate(0deg) scale(1.02);
		animation: fuze-sticker-wiggle 0.6s var(--fuze-ease);
	}
}

@keyframes fuze-sticker-wiggle {
	0% { transform: rotate(var(--fuze-tilt)); }
	30% { transform: rotate(calc(var(--fuze-tilt) * -1.5)) scale(1.02); }
	55% { transform: rotate(calc(var(--fuze-tilt) * 0.9)) scale(1.02); }
	80% { transform: rotate(calc(var(--fuze-tilt) * -0.35)) scale(1.02); }
	100% { transform: rotate(0deg) scale(1.02); }
}

.is-style-blob img {
	border-radius: 58% 42% 55% 45% / 45% 55% 45% 55% !important;
}

/* List styles */
.is-style-ticks {
	list-style: none;
	padding-left: 0;
}

.is-style-ticks > li {
	position: relative;
	padding-left: 1.9em;
	margin-block: 0.45em;
}

.is-style-ticks > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.3em;
	height: 1.3em;
	border-radius: 50%;
	background: var(--wp--preset--color--lime) url(../images/icons/check.svg) center / 70% no-repeat;
	background-blend-mode: normal;
}

.is-style-number-badges {
	list-style: none;
	padding-left: 0;
	counter-reset: fuze-count;
}

.is-style-number-badges > li {
	position: relative;
	counter-increment: fuze-count;
	padding-left: 3.1em;
	padding-block: 0.3em;
	margin-block: 0.9em;
	min-height: 2.3em;
	display: block;
}

.is-style-number-badges > li::before {
	content: counter(fuze-count);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%) rotate(-6deg);
	display: grid;
	place-items: center;
	width: 2.3em;
	height: 2.3em;
	border-radius: 50%;
	background: var(--wp--preset--color--pink-strong);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	box-shadow: 3px 3px 0 var(--wp--preset--color--navy);
}

/* Button styles */
.wp-block-button.is-style-lime .wp-block-button__link {
	background: var(--wp--preset--color--lime);
	color: var(--wp--preset--color--navy);
}

.wp-block-button.is-style-lime .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--navy);
}

.wp-block-button.is-style-white .wp-block-button__link {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--purple);
}

.wp-block-button.is-style-white .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--heading);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--purple);
	padding-block: calc(0.85em - 2px);
}

.is-style-section-purple .wp-block-button.is-style-outline .wp-block-button__link,
.is-style-section-night .wp-block-button.is-style-outline .wp-block-button__link,
.is-style-section-gradient .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--white);
}

/* Hover colours for the button styles (mouse only: a tapped button would keep them). */
@media (hover: hover) and (pointer: fine) {
	.wp-block-button.is-style-lime .wp-block-button__link:hover {
		background: var(--wp--preset--color--yellow);
		color: var(--wp--preset--color--navy);
	}

	.wp-block-button.is-style-white .wp-block-button__link:hover {
		background: var(--wp--preset--color--yellow);
		color: var(--wp--preset--color--heading);
	}

	.wp-block-button.is-style-outline .wp-block-button__link:hover {
		background: var(--wp--preset--color--purple);
		border-color: var(--wp--preset--color--purple);
		color: var(--wp--preset--color--white);
	}

	.is-style-section-purple .wp-block-button.is-style-outline .wp-block-button__link:hover,
	.is-style-section-night .wp-block-button.is-style-outline .wp-block-button__link:hover,
	.is-style-section-gradient .wp-block-button.is-style-outline .wp-block-button__link:hover {
		background: var(--wp--preset--color--white);
		border-color: var(--wp--preset--color--white);
		color: var(--wp--preset--color--purple);
	}
}

/* Separator */
.wp-block-separator.is-style-brush {
	border: 0 !important;
	height: 14px;
	width: min(220px, 60%);
	background: var(--wp--preset--color--lime);
	-webkit-mask: url(../images/decor/brush-underline.svg) center / 100% 100% no-repeat;
	mask: url(../images/decor/brush-underline.svg) center / 100% 100% no-repeat;
	opacity: 1;
}

.wp-block-separator.is-style-brush.has-text-color {
	background: currentColor;
}

/* Search – matches the site's form fields: roomy, 2px lilac border, purple focus. */
.wp-block-search__input {
	min-height: 52px;
	padding: 0.75rem 1.25rem;
	border: 2px solid #9A76B8;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--heading);
	font-size: max(16px, var(--wp--preset--font-size--medium));
}

.wp-block-search__input:focus-visible {
	border-color: var(--wp--preset--color--purple);
	outline: 3px solid var(--wp--preset--color--purple);
	outline-offset: 2px;
	box-shadow: none;
}

.wp-block-search__button {
	min-height: 52px;
	padding-inline: 1.4em;
}

/* Plugin fallbacks */
.fuze-fallback {
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--fuze-radius-md);
	background: var(--wp--preset--color--cream);
	text-align: center;
}

.fuze-fallback .wp-element-button {
	background: var(--wp--preset--color--pink-strong);
	color: var(--wp--preset--color--white);
	text-decoration: none;
	margin: 0.25rem;
}

.fuze-fallback .wp-element-button.is-secondary {
	background: var(--wp--preset--color--purple);
}

/* ------------------------------------------------------------------ *
 * 10. Section edges & decoration
 * Add `fuze-edge-bottom` to a full-width group to give it a brush-stroke bottom edge.
 * The edge is drawn in the colour of the next section: default white, or add
 * `fuze-edge-to-cream`, `fuze-edge-to-navy`, `fuze-edge-to-purple` or `fuze-edge-to-yellow`.
 * ------------------------------------------------------------------ */
.fuze-edge-bottom,
.fuze-edge-top {
	position: relative;
	isolation: isolate;
	--fuze-edge-color: var(--wp--preset--color--white);
	--fuze-edge-size: clamp(14px, 2.6vw, 36px);
}

.fuze-edge-bottom::after,
.fuze-edge-top::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: var(--fuze-edge-size);
	background: var(--fuze-edge-color);
	-webkit-mask: url(../images/decor/edge-brush.svg) center / 100% 100% no-repeat;
	mask: url(../images/decor/edge-brush.svg) center / 100% 100% no-repeat;
	pointer-events: none;
	z-index: 1;
}

.fuze-edge-bottom::after {
	bottom: -1px;
}

.fuze-edge-top::before {
	top: -1px;
	transform: scaleY(-1);
}

.fuze-edge-to-cream {
	--fuze-edge-color: var(--wp--preset--color--cream);
}

.fuze-edge-to-navy {
	--fuze-edge-color: var(--wp--preset--color--navy);
}

.fuze-edge-to-purple {
	--fuze-edge-color: var(--wp--preset--color--purple);
}

.fuze-edge-to-yellow {
	--fuze-edge-color: var(--wp--preset--color--yellow);
}

.fuze-edge-to-indigo {
	--fuze-edge-color: var(--wp--preset--color--indigo);
}

/* Edges follow the neighbouring section's colour automatically:
 * - the page title band's bottom edge takes the colour of the first section in the page;
 * - the footer's top edge takes the colour of the last section (flat when it is a gradient). */
body:has(.wp-block-post-content > .alignfull:first-child.is-style-section-cream) .fuze-page-hero { --fuze-edge-color: var(--wp--preset--color--cream); }
body:has(.wp-block-post-content > .alignfull:first-child.is-style-section-yellow) .fuze-page-hero { --fuze-edge-color: var(--wp--preset--color--yellow); }
body:has(.wp-block-post-content > .alignfull:first-child.is-style-section-night) .fuze-page-hero { --fuze-edge-color: var(--wp--preset--color--indigo); }
body:has(.wp-block-post-content > .alignfull:last-child.is-style-section-purple) .fuze-footer { --fuze-edge-color: var(--wp--preset--color--purple); }
body:has(.wp-block-post-content > .alignfull:last-child.is-style-section-cream) .fuze-footer { --fuze-edge-color: var(--wp--preset--color--cream); }
body:has(.wp-block-post-content > .alignfull:last-child.is-style-section-yellow) .fuze-footer { --fuze-edge-color: var(--wp--preset--color--yellow); }
body:has(.wp-block-post-content > .alignfull:last-child:is(.is-style-section-gradient, .is-style-section-night)) .fuze-footer { --fuze-edge-color: transparent; }

/* Brush-stroke corner decoration: add `fuze-brushes` to any full-width group.
 * Uses ::before, so combine it with `fuze-edge-bottom` (not `fuze-edge-top`). */
.fuze-brushes {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.fuze-brushes > .fuze-brushes__art,
.fuze-brushes::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -20px;
	right: -30px;
	width: clamp(110px, 18vw, 340px);
	aspect-ratio: 4 / 3;
	background: url(../images/decor/brush-corner.svg) right top / contain no-repeat;
	transform: scale(-1, -1);
	opacity: 0.5;
	pointer-events: none;
}

/* Dark sections: light art at full strength instead of a faded (muddy) layer. */
:is(.is-style-section-purple, .is-style-section-gradient, .is-style-section-night).fuze-brushes > .fuze-brushes__art,
:is(.is-style-section-purple, .is-style-section-gradient, .is-style-section-night).fuze-brushes::before {
	background-image: url(../images/decor/brush-corner-light.svg);
	opacity: 1;
}

/* ------------------------------------------------------------------ *
 * 11. Icons – add `fuze-icon-{name}` to a paragraph, heading, list item or button.
 * ------------------------------------------------------------------ */
.fuze-icon-clock { --fuze-icon: url(../images/icons/clock.svg); }
.fuze-icon-phone { --fuze-icon: url(../images/icons/phone.svg); }
.fuze-icon-pin { --fuze-icon: url(../images/icons/pin.svg); }
.fuze-icon-ticket { --fuze-icon: url(../images/icons/ticket.svg); }
.fuze-icon-cake { --fuze-icon: url(../images/icons/cake.svg); }
.fuze-icon-cup { --fuze-icon: url(../images/icons/cup.svg); }
.fuze-icon-baby { --fuze-icon: url(../images/icons/baby.svg); }
.fuze-icon-climb { --fuze-icon: url(../images/icons/climb.svg); }
.fuze-icon-check { --fuze-icon: url(../images/icons/check.svg); }
.fuze-icon-arrow { --fuze-icon: url(../images/icons/arrow.svg); }
.fuze-icon-calendar { --fuze-icon: url(../images/icons/calendar.svg); }
.fuze-icon-directions { --fuze-icon: url(../images/icons/directions.svg); }
.fuze-icon-star { --fuze-icon: url(../images/icons/star.svg); }

:where(p, h2, h3, h4, h5, h6, li)[class*="fuze-icon-"] {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
}

:where(p, h2, h3, h4, h5, h6, li)[class*="fuze-icon-"].has-text-align-center {
	justify-content: center;
}

:where(p, h2, h3, h4, h5, h6, li)[class*="fuze-icon-"]::before,
.wp-block-button[class*="fuze-icon-"] .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 1.2em;
	height: 1.2em;
	background: currentColor;
	-webkit-mask: var(--fuze-icon) center / contain no-repeat;
	mask: var(--fuze-icon) center / contain no-repeat;
}

:where(p, li)[class*="fuze-icon-"]::before {
	margin-top: 0.2em;
	color: var(--wp--preset--color--pink-ink);
	background: var(--fuze-icon-color, var(--wp--preset--color--pink-ink));
}

.is-style-section-purple :where(p, li)[class*="fuze-icon-"]::before,
.is-style-section-night :where(p, li)[class*="fuze-icon-"]::before,
.is-style-section-gradient :where(p, li)[class*="fuze-icon-"]::before,
.fuze-utility :where(p, li)[class*="fuze-icon-"]::before {
	--fuze-icon-color: var(--wp--preset--color--lime-soft);
}

.fuze-utility :where(p)[class*="fuze-icon-"]::before {
	margin-top: 0;
	width: 1.05em;
	height: 1.05em;
}

.fuze-utility :where(p)[class*="fuze-icon-"] {
	align-items: center;
	gap: 0.4em;
}

/* ------------------------------------------------------------------ *
 * 12. Motion
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.is-style-sticker img,
	.is-style-price-badge,
	.is-style-number-badges > li::before {
		transform: none !important;
	}
}

/* ------------------------------------------------------------------ *
 * 13. Print – a clean A4 copy of any page, designed for Opening Times & Prices
 * and Party Packages: small logo at the top, black text on white, no menus, buttons,
 * banners or decoration, party packages two to a row, and the phone number and web
 * address at the end (from the footer, so they always match the site).
 * ------------------------------------------------------------------ */
@media print {
	@page {
		size: A4;
		margin: 12mm 12mm 14mm;
	}

	html {
		font-size: 12.5px;
	}

	body,
	body:not(.editor-styles-wrapper) {
		padding: 0 !important;
		background: #fff !important;
	}

	/* Black text on white; no tints, shadows or filters. (`:root` outranks the editor's
	 * !important colour classes such as .has-white-color.) */
	:root body *,
	:root body *::before,
	:root body *::after {
		color: #000 !important;
		background-color: transparent !important;
		background-image: none !important;
		box-shadow: none !important;
		text-shadow: none !important;
		filter: none !important;
		animation: none !important;
		transition: none !important;
	}

	/* Not needed on paper. */
	.skip-link,
	.fuze-notice-part,
	.fuze-cta-bar-part,
	.fuze-cta-bar,
	.fuze-to-top,
	.fuze-utility,
	.fuze-site-header .fuze-nav,
	.fuze-header-ctas,
	.wp-block-buttons,
	.wp-element-button,
	.wp-block-fuze-play-open-today,
	.wp-block-fuze-play-price-calculator,
	.fuze-calc,
	.fuze-cta-book,
	.fuze-cta-call-wrap,
	.fuze-tagline,
	.fuze-facebook,
	.fuze-map,
	.wp-block-gallery,
	.fuze-inside,
	.fuze-hero__media,
	.fuze-tile--today,
	.fuze-feature-grid .wp-block-image,
	.fuze-prices-overview__media,
	.fuze-prices-jump,
	.fuze-calc__peek,
	.fuze-party-intro__media,
	.fuze-party-card__media .wp-block-image,
	.fuze-footer .wp-block-social-links,
	.fuze-footer .fuze-icon-directions,
	.fuze-footer-bottom .fuze-funding,
	iframe,
	video {
		display: none !important;
	}

	/* Decoration: brush strokes, section edges, underlines and icons. */
	.fuze-page-hero::before,
	.fuze-edge-bottom::after,
	.fuze-edge-top::before,
	.fuze-brushes::before,
	.fuze-cta-call::after,
	.is-style-brush-heading::after,
	.is-style-burst-heading::before,
	.is-style-burst-heading::after,
	.fuze-price-card::before,
	.fuze-price-note::before,
	.fuze-open-today__dot,
	[class*="fuze-icon-"]::before {
		display: none !important;
	}

	a {
		text-decoration: none !important;
	}

	:where(h1, h2, h3, h4, .is-style-eyebrow) {
		break-after: avoid;
	}

	:where(p, li) {
		orphans: 3;
		widows: 3;
	}

	/* Sections: plain, left-aligned, with modest spacing. */
	main .alignfull,
	.fuze-page-hero {
		padding-block: 3mm !important;
		overflow: visible !important;
	}

	main :is(h1, h2, h3, p).has-text-align-center,
	.fuze-page-hero {
		text-align: start !important;
	}

	.wp-block-post-content > .alignfull + :not(.alignfull),
	.wp-block-post-content > :not(.alignfull):first-child,
	.wp-block-post-content > :not(.alignfull):last-child {
		margin-block: 3mm !important;
	}

	/* Logo, small, at the top of the first page. */
	.fuze-site-header {
		position: static !important;
	}

	.fuze-mainbar {
		border: 0 !important;
	}

	.fuze-mainbar__inner {
		min-height: 0 !important;
		padding: 0 !important;
	}

	.fuze-site-header .fuze-logo {
		margin: 0 !important;
	}

	.fuze-logo img,
	.fuze-mainbar .fuze-logo img,
	.fuze-footer .fuze-logo img {
		width: 18mm !important;
		height: 18mm !important;
		transform: none !important;
	}

	/* Page title */
	.fuze-page-hero {
		padding-block: 2mm 4mm !important;
		border-bottom: 1.5pt solid #000;
	}

	.fuze-page-hero .wp-block-post-title {
		font-size: 22pt;
	}

	.is-style-eyebrow {
		letter-spacing: 0.1em;
	}

	/* Cards: a thin grey outline and no lift. */
	.is-style-fuze-card,
	.is-style-fuze-callout,
	.fuze-price-note,
	.fuze-party-card__facts {
		border: 0.75pt solid #9a9a9a !important;
		border-radius: 3mm !important;
		transform: none !important;
		break-inside: avoid;
	}

	.is-style-fuze-callout {
		border-left-width: 2.5pt !important;
		border-left-color: #000 !important;
	}

	/* Ticks print as a plain check mark (background graphics are usually off when printing). */
	.is-style-ticks > li::before {
		content: "\2713";
		top: 0;
		width: auto;
		height: auto;
		font-weight: 700;
		line-height: inherit;
	}

	/* Price cards: three to a row. */
	.wp-block-group.fuze-price-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 3mm !important;
		break-inside: avoid;
	}

	.fuze-price-card {
		padding: 3mm 2mm !important;
		border-top-width: 2pt !important;
		border-top-color: #000 !important;
	}

	.fuze-price-card .fuze-price-card__price {
		font-size: 20pt;
	}

	.fuze-price-card__note,
	.fuze-price-note strong {
		padding: 0 !important;
	}

	.fuze-price-note {
		padding: 3mm 4mm !important;
	}

	/* Rules boxes side by side. */
	.fuze-prices-rules {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.fuze-rule {
		padding: 2.5mm 3mm !important;
	}

	/* Keep each section's heading with its prices or its table, and a list of hours in one piece. */
	.fuze-prices,
	.fuze-opening-times,
	.fuze-contact__hours,
	.fuze-visit__hours,
	.wp-block-fuze-play-hours-summary {
		break-inside: avoid;
	}

	/* Opening times: always the full table (the phone layout stacks it into cards). */
	.wp-block-table.is-style-fuze-hours {
		break-inside: avoid;
		font-size: 10.5pt;
	}

	.wp-block-table.is-style-fuze-hours table {
		display: table !important;
		width: 100% !important;
		table-layout: auto !important;
		border-collapse: collapse !important;
		border-radius: 0 !important;
		overflow: visible !important;
	}

	.wp-block-table.is-style-fuze-hours thead {
		display: table-header-group !important;
		position: static !important;
		width: auto !important;
		height: auto !important;
		overflow: visible !important;
		clip-path: none !important;
		white-space: normal !important;
	}

	.wp-block-table.is-style-fuze-hours tbody {
		display: table-row-group !important;
	}

	.wp-block-table.is-style-fuze-hours tr {
		display: table-row !important;
		border-radius: 0 !important;
		padding: 0 !important;
		break-inside: avoid;
	}

	.wp-block-table.is-style-fuze-hours :is(th, td) {
		display: table-cell !important;
		width: auto !important;
		padding: 1.6mm 2.5mm !important;
		border: 0.75pt solid #9a9a9a !important;
		text-align: start !important;
		font-size: 10.5pt !important;
		white-space: normal;
	}

	.wp-block-table.is-style-fuze-hours thead th {
		border-bottom: 1.5pt solid #000 !important;
		font-weight: 700 !important;
	}

	.wp-block-table.is-style-fuze-hours td[data-label]::before,
	.wp-block-table.is-style-fuze-hours tr.is-today > :first-child::after {
		content: none !important;
		display: none !important;
	}

	.wp-block-table.is-style-fuze-hours .fuze-closed,
	.wp-block-table.is-style-fuze-hours .fuze-season-now {
		padding: 0 !important;
		border-radius: 0 !important;
		font-size: 0.85em !important;
	}

	/* Party packages: two to a row, never split across pages. */
	.wp-block-group.fuze-party-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 4mm !important;
		max-width: none !important;
	}

	.fuze-party-card {
		position: relative;
		height: auto !important;
		break-inside: avoid;
	}

	.fuze-party-card .fuze-card__body {
		padding: 3.5mm 4mm !important;
		gap: 1.5mm !important;
	}

	.fuze-party-card .fuze-card__body > :last-child {
		padding-top: 0 !important;
	}

	/* The price sticker becomes a plain line in the card's top corner. */
	.fuze-party-card__media {
		position: absolute !important;
		top: 3.5mm;
		right: 4mm;
		z-index: 1;
	}

	.fuze-party-card__media .fuze-party-card__price {
		position: static !important;
		display: block !important;
		width: auto !important;
		aspect-ratio: auto !important;
		padding: 0 !important;
		border-radius: 0 !important;
		transform: none !important;
		font-size: 12pt !important;
		line-height: 1.2 !important;
		text-align: end !important;
	}

	.fuze-party-card__price br {
		display: none;
	}

	.fuze-party-card__price small {
		display: inline !important;
		margin-inline-start: 0.3em;
		font-size: 0.72em !important;
	}

	.fuze-party-intro__title {
		font-size: 17pt !important;
	}

	.fuze-party-card__title.wp-block-heading {
		font-size: 13pt;
	}

	.fuze-party-card__list {
		font-size: 10pt;
	}

	.fuze-party-card__list > li {
		margin-block: 0.25em !important;
	}

	.fuze-party-card__facts {
		padding: 2mm 3mm !important;
		font-size: 9.5pt;
	}

	.fuze-party-card__extra {
		font-size: 9pt;
	}

	/* The end of the page: logo and web address, address and phone number. */
	.fuze-footer {
		padding: 5mm 0 0 !important;
		margin-top: 6mm !important;
		border-top: 1.5pt solid #000;
		break-inside: avoid;
	}

	.fuze-footer .fuze-footer__cols.wp-block-columns {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 8mm !important;
	}

	.fuze-footer .fuze-footer__cols.wp-block-columns > .wp-block-column {
		flex: 0 1 auto !important;
		margin: 0 !important;
	}

	.fuze-footer .fuze-footer__cols > .wp-block-column:not(:has(.fuze-logo-part, a[href^="tel:"])),
	.fuze-footer .fuze-footer__cols > .wp-block-column:has(.fuze-logo-part) > :not(.fuze-logo-part),
	.fuze-footer .fuze-footer__title {
		display: none !important;
	}

	.fuze-footer .fuze-logo-part {
		margin: 0 !important;
	}

	.fuze-footer .fuze-logo a {
		display: flex;
		align-items: center;
		gap: 4mm;
		line-height: 1.3;
	}

	.fuze-footer .fuze-logo a::after {
		content: attr(href);
		font-family: var(--wp--preset--font-family--heading);
		font-size: 12pt;
		font-weight: 600;
	}

	.fuze-footer p {
		margin: 0 0 1mm !important;
		font-size: 11pt;
	}

	.fuze-footer a[href^="tel:"] {
		font-family: var(--wp--preset--font-family--heading);
		font-size: 14pt;
		font-weight: 700;
	}

	.fuze-footer-bottom {
		padding: 2mm 0 0 !important;
	}

	.fuze-copyright {
		font-size: 8.5pt;
	}
}
