/*
Theme Name: TykeSkater
Theme URI: https://github.com/WP-SEO-AI-Agency/agency-theme-gutenberg
Author: WP SEO AI Web Agency
Author URI: https://github.com/WP-SEO-AI-Agency
Description: TykeSkater — client child theme of Agency Theme Gutenberg. Brand values live in theme.json tokens; sections come from the parent's pattern library.
Template: agency-theme-gutenberg
Version: 0.1.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tykeskater
Tags: block-theme, full-site-editing, block-patterns
*/

/*
 * Structural plumbing only: breakpoints, grid placement, decorative layers and
 * motion keyed to registered variation classes. Looks live in theme.json and styles/.
 */

/*
 * Rules are grouped by section, in the design's order, and each group targets its own
 * variation context; specificity therefore does not descend within one element's cascade.
 */
/* stylelint-disable no-descending-specificity */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--wp--custom--header-h) + var(--wp--custom--header-top) + 1rem);
}

/* The site script eases mouse wheels itself; native smooth scrolling would fight it. */
html.tk-smooth-scroll {
	scroll-behavior: auto;
}

body {
	overflow-x: clip;
	overflow-wrap: break-word;
}

:root :where(h1, h2, h3, h4, h5, h6, .is-style-pull, .is-style-giant-word, .is-style-marquee) {
	font-stretch: var(--wp--custom--stretch);
}

/* As in the design, only the h1–h3 display headings are balanced and spaced. */
:root :where(h1, h2, h3) {
	word-spacing: 0.06em;
	text-wrap: balance;
}

/* The kicker keeps its own spacing inside every section (container resets below would clear it). */
:root .is-style-kicker.is-style-kicker {
	margin-top: 0;
	margin-bottom: 1.1rem;
}

:root :focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

:root :where(.is-style-band-blue, .is-style-feature-blue, .is-style-marquee-band) :focus-visible {
	outline-color: var(--wp--preset--color--base);
}

:root .wp-site-blocks > *,
:root .wp-site-blocks > main > .wp-block-post-content > * {
	margin-block: 0;
}

/* Button icons: arrow for internal links, diagonal arrow for external ones. */
:root .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	text-align: start;
	gap: 0.75rem;
	min-height: 3.5rem;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

:root .wp-block-button__link:not(:has(.tk-icon))::after,
:root .is-style-shop > .wp-block-navigation-item__content:not(:has(.tk-icon))::after {
	content: "";
	flex: none;
	width: 1.1em;
	height: 1.1em;
	background: currentcolor;
	mask: var(--tk-icon-arrow) no-repeat center / contain;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .wp-block-button__link[href^="http"]:not(:has(.tk-icon))::after,
:root .is-style-shop > .wp-block-navigation-item__content:not(:has(.tk-icon))::after {
	mask-image: var(--tk-icon-external);
}

:root .wp-block-button__link:hover::after {
	transform: translateX(0.3rem);
}

:root {
	--tk-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h16.5M13.5 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
	--tk-icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5h10v10M19 5 6 18' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
	--tk-icon-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/g%3E%3C/svg%3E");
	--tk-icon-flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fc8f2' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10'/%3E%3Cpath d='M9.5 3.8 12 6.3l2.5-2.5M9.5 20.2 12 17.7l2.5 2.5M4 10.4l3.4-.9-.9-3.4M20 13.6l-3.4.9.9 3.4M4 13.6l3.4.9-.9 3.4M20 10.4l-3.4-.9.9-3.4'/%3E%3C/svg%3E");
}

/* Translucent frosted fills of the video hero (token tints; the block owns its structure). */
.wp-block-tykeskater-video-hero__pause {
	background: rgb(var(--wp--custom--rgb--surface), 0.88);
}

:root .wp-block-tykeskater-video-hero__pane {
	background: rgb(var(--wp--custom--rgb--surface), 0.84);
}

@media (width >= 64em) {
	:root .wp-block-tykeskater-video-hero__pane {
		background: none;
	}
}

/* Frost texture layers (decorative, not content). */
:root .wp-block-tykeskater-video-hero__bg::after {
	background-image: url("assets/images/hero-frost-overlay.webp");
}

/* ---------------------------------------------------------------- Header */
:root header.wp-block-template-part {
	position: fixed;
	top: var(--wp--custom--header-top);
	left: 0;
	right: 0;
	z-index: 50;
	padding-inline: clamp(0.5rem, 2vw, 1.5rem);
	pointer-events: none;
	transition: transform 0.5s var(--wp--custom--ease-glide);
}

:root .admin-bar header.wp-block-template-part {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header-top));
}

:root header.wp-block-template-part.is-hidden:not(.is-open, :focus-within) {
	transform: translate3d(0, calc(-100% - var(--wp--custom--header-top) - 0.5rem), 0);
}

:root .wp-block-group.is-style-site-header {
	position: relative;
	pointer-events: auto;
	width: min(100%, 100rem);
	min-height: var(--wp--custom--header-h);
	margin-inline: auto;
	padding: 0 0.5rem 0 1.25rem;
	background: rgb(var(--wp--custom--rgb--surface), 0.72);
	backdrop-filter: blur(18px) saturate(1.4);
	transition: background-color 0.35s, box-shadow 0.35s;
}

:root .is-scrolled .wp-block-group.is-style-site-header,
:root .is-open .wp-block-group.is-style-site-header {
	background: rgb(var(--wp--custom--rgb--surface), 0.9);
	box-shadow: var(--wp--preset--shadow--frost-bar-raised);
}

:root .is-style-site-header .wp-block-site-logo {
	display: flex;
	align-items: center;
	min-height: 3rem; /* the toggle's height: with the menu open it sets the first row, as in the design */
	line-height: 0;
}

:root .is-style-site-header .wp-block-site-logo a {
	display: block;
	padding: 0.5rem 0;
}

:root .is-style-site-header .wp-block-site-logo img {
	width: clamp(9.5rem, 7.5rem + 6vw, 11.5rem);
	height: auto;
}

:root .is-style-site-nav {
	flex: 1;
	justify-content: flex-end;
}

:root .is-style-site-nav .wp-block-navigation-item__content {
	text-decoration: none;
}

:root .is-style-site-nav .wp-block-navigation__responsive-container-open,
:root .is-style-site-nav .wp-block-navigation__responsive-container-close {
	width: 3rem;
	height: 3rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	color: var(--wp--preset--color--contrast);
}

:root .is-style-site-nav .is-style-shop > .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--wp--preset--color--base);
	line-height: 1.65;
}

:root .is-style-shop > .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0 1.35rem;
	border-radius: 0.75rem;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 700;
	transition: background-color 0.25s;
}

:root .is-style-shop > .wp-block-navigation-item__content:not(:has(.tk-icon))::after {
	width: 0.95em;
	height: 0.95em;
}

:root .is-style-shop > .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--base);
}

:root .is-style-language .wp-block-navigation-item__content,
:root .is-style-language .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
	font-weight: 700;
}

/* Mobile: the menu opens as a panel inside the frosted bar, which grows to hold it. */
@media (width <= 69.99em) {
	:root .is-style-site-nav.is-style-site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

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

	:root .is-style-site-nav.is-style-site-nav .wp-block-navigation__responsive-container-open,
	:root .is-style-site-nav.is-style-site-nav .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: calc((var(--wp--custom--header-h) - 3rem) / 2);
		right: 0.5rem;
		z-index: 2;
		display: inline-flex;
	}

	:root .is-style-site-nav.is-style-site-nav .wp-block-navigation__responsive-container-open:hover,
	:root .is-style-site-nav.is-style-site-nav .wp-block-navigation__responsive-container-close:hover {
		background: rgb(var(--wp--custom--rgb--primary), 0.08);
	}

	/* The bar, not the nav, positions the toggle and the close button. */
	:root .wp-block-navigation.is-style-site-nav.is-style-site-nav {
		position: static;
	}

	:root .is-style-site-header:has(.is-menu-open) > .is-style-site-nav.is-style-site-nav {
		flex: 0 0 100%;
	}

	:root .is-style-site-header:has(.is-menu-open) .is-style-site-nav.is-style-site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none;
	}

	:root .wp-block-navigation.is-style-site-nav.is-style-site-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
		position: static;
		inset: auto;
		z-index: auto;
		width: 100%;
		max-height: calc(100dvh - var(--wp--custom--header-h) - 2 * var(--wp--custom--header-top));
		padding: 0.25rem 0.75rem 1.25rem 0;
		overflow-y: auto;
		background: none;
		animation: none;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog) {
		position: static;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	/* Animate the content only: a transform on the container would move the close button. */
	:root .is-style-site-nav.is-style-site-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: stretch;
		gap: 0;
		padding: 0;
		animation: tk-menu-in 0.45s var(--wp--custom--ease-glide) both;
	}

	/* Page links fill the width; language list and shop share one wrapping actions row, as in the design. */
	:root .is-style-site-nav.is-style-site-nav .is-menu-open .wp-block-navigation__container {
		flex-flow: row wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0 1rem;
		width: 100%;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) {
		width: 100%;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content {
		display: flex;
		width: 100%;
		padding: 0.55rem 0;
		border-bottom: 1px solid var(--wp--preset--color--line);
		color: var(--wp--preset--color--contrast);
		font-family: var(--wp--preset--font-family--display);
		font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
		font-stretch: var(--wp--custom--stretch);
		font-style: italic;
		font-weight: 800;
		line-height: 1.15;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content[aria-current="page"] {
		color: var(--wp--preset--color--primary);
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-language {
		margin-top: 1.25rem;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-language > .wp-block-navigation-submenu__toggle,
	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-language > .wp-block-navigation__submenu-icon {
		display: none;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-language > .wp-block-navigation__submenu-container {
		display: flex;
		flex-flow: row wrap;
		gap: 0.25rem;
		margin: 0;
		padding: 0;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-language .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
		padding: 0 0.75rem;
		border-radius: 0.6rem;
		color: var(--wp--preset--color--muted);
		font-size: 0.875rem;
		font-weight: 700;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-language .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child .wp-block-navigation-item__content {
		background: var(--wp--preset--color--ice);
		color: var(--wp--preset--color--primary);
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-shop {
		margin-top: 1.25rem;
	}

	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-shop > .wp-block-navigation-item__content {
		padding: 0 1.35rem;
	}
}

/* On phones the shop wraps below the languages, spaced by the design's 1rem actions gap. */
@media (width < 32em) {
	:root .is-style-site-nav.is-style-site-nav .is-menu-open .is-style-shop {
		margin-top: 1rem;
	}
}

@keyframes tk-menu-in {
	from {
		opacity: 0;
		transform: translate3d(0, -0.5rem, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Desktop: centred links with a growing underline, language dropdown and shop on the right. */
@media (width >= 70em) {
	:root .wp-block-group.is-style-site-header {
		flex-wrap: nowrap;
		padding: 0 0.5rem 0 1.5rem;
	}

	:root .is-style-site-nav .wp-block-navigation__responsive-container-open {
		display: none;
	}

	:root .is-style-site-nav .wp-block-navigation__container {
		flex: 1;
		gap: 0.15rem;
		align-items: center;
	}

	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item:first-child {
		margin-left: auto;
	}

	/* Links centre in the space left of the actions, which sit 1.5rem away (the item gap counts too). */
	:root .is-style-site-nav .wp-block-navigation__container > .is-style-language {
		margin-left: auto;
		margin-right: 0.35rem;
		padding-left: 1.35rem; /* 1.5rem less the list's 0.15rem item gap */
	}

	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content {
		position: relative;
		padding: 0.6rem 0.85rem;
		border-radius: 0.6rem;
		color: var(--wp--preset--color--muted);
		font-size: 0.9375rem;
		font-weight: 700;
		transition: color 0.2s;
	}

	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		left: 0.85rem;
		right: 0.85rem;
		bottom: 0.3rem;
		height: 2px;
		border-radius: 2px;
		background: var(--wp--preset--color--primary);
		transform: scaleX(0);
		transform-origin: right;
		transition: transform 0.45s var(--wp--custom--ease-glide);
	}

	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content:hover,
	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content:focus-visible {
		color: var(--wp--preset--color--primary-dark);
	}

	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:focus-visible::after,
	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"]::after {
		transform: scaleX(1);
		transform-origin: left;
	}

	:root .is-style-site-nav .wp-block-navigation__container > .wp-block-navigation-item:not(.is-style-language, .is-style-shop) > .wp-block-navigation-item__content[aria-current="page"] {
		color: var(--wp--preset--color--contrast);
	}

	:root .is-style-language > .wp-block-navigation-submenu__toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		min-height: 2.75rem;
		padding: 0 0.75rem;
		border-radius: 0.6rem;
		transition: background-color 0.2s, color 0.2s;
	}

	:root .is-style-language > .wp-block-navigation-submenu__toggle:not(:has(.tk-icon))::before {
		content: "";
		width: 1.1em;
		height: 1.1em;
		background: currentcolor;
		mask: var(--tk-icon-globe) no-repeat center / contain;
	}

	:root .is-style-language > .wp-block-navigation-submenu__toggle:hover,
	:root .is-style-language > .wp-block-navigation-submenu__toggle[aria-expanded="true"] {
		background: rgb(var(--wp--custom--rgb--primary), 0.08);
		color: var(--wp--preset--color--primary-dark);
	}

	:root .is-style-language .wp-block-navigation__submenu-icon {
		width: 0.9em;
		height: 0.9em;
		margin: 0;
		transition: transform 0.3s var(--wp--custom--ease-glide);
	}

	:root .is-style-site-nav .is-style-language > .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
		top: calc(100% + 0.6rem);
		right: 0;
		left: auto;
		width: auto;
		min-width: 11rem;
		gap: 0.1rem;
		padding: 0.4rem;
		border: 1px solid rgb(var(--wp--custom--rgb--base), 0.8);
		border-radius: 0.9rem;
		background: rgb(var(--wp--custom--rgb--surface), 0.95);
		backdrop-filter: blur(18px) saturate(1.4);
		box-shadow: var(--wp--preset--shadow--dropdown);
	}

	:root .is-style-site-nav .is-style-language .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
		display: flex;
		width: 100%;
		min-height: 2.75rem;
		align-items: center;
		padding: 0 0.75rem;
		border-radius: 0.6rem;
	}

	:root .is-style-language .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child .wp-block-navigation-item__content,
	:root .is-style-language .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
		background: var(--wp--preset--color--ice);
		color: var(--wp--preset--color--primary);
	}
}

/* ---------------------------------------------------------------- Word band */
:root .is-style-marquee-band {
	position: relative;
	z-index: 1;
	overflow: hidden;
}

:root .is-style-marquee-band::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: clamp(1.5rem, 1rem + 1.4vw, 2.5rem);
	background: url("assets/images/hero-frost-overlay.webp") no-repeat center top / 100% auto;
	opacity: 0.45;
	transform: scaleY(-1);
	mask-image: linear-gradient(to bottom, currentcolor 20%, transparent);
	pointer-events: none;
}

:root .is-style-marquee-band > .is-style-marquee {
	width: calc(100% - 2 * var(--wp--custom--gutter));
	margin-inline: auto;
}

/* Snowflake separators are added at render time (inc/icons.php); shown from 56em. */
.wp-block-list.is-style-marquee li.tk-sep {
	display: none;
}

@media (width >= 56em) {
	/* Words and snowflakes are all flex items spread with space-between: every gap is equal. */
	:root .wp-block-list.is-style-marquee {
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		gap: 0;
	}

	:root .wp-block-list.is-style-marquee li {
		font-size: 2.75vw;
	}

	:root .wp-block-list.is-style-marquee li.tk-sep {
		display: block;
		flex: none;
		width: 1.65vw;
		height: 1.65vw;
		background: var(--tk-icon-flake) no-repeat center / contain;
	}
}

/* ---------------------------------------------------------------- Choose */
:root .is-style-choose-head {
	display: grid;
	gap: 1.25rem 4rem;
}

:root .is-style-choose-head > .wp-block-group > .wp-block-heading {
	max-width: 16ch;
	margin: 0;
}

:root .is-style-choose-head > p {
	max-width: 60ch;
	margin: 0;
}

@media (width >= 64em) {
	:root .is-style-choose-head {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		align-items: end;
	}

	:root .is-style-choose-head > p {
		padding-bottom: 0.35rem;
	}
}

:root .is-style-card-pair {
	display: grid;
	align-items: start;
	gap: 1.25rem;
	margin-top: clamp(2rem, 1rem + 3vw, 4rem);
}

@media (width >= 48em) {
	:root .is-style-card-pair {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}

	:root .is-style-card-pair > :nth-child(2 of .wp-block-group) {
		margin-top: clamp(3rem, 8vw, 8rem);
	}

	:root .is-style-card-pair .is-style-image-card img {
		aspect-ratio: 4 / 5 !important;
	}
}

:root .is-style-card-pair > * {
	margin-block-start: 0;
}

:root .wp-block-group.is-style-image-card {
	position: relative;
	overflow: hidden;
}

:root .is-style-image-card > .wp-block-image {
	margin: 0;
}

:root .is-style-image-card img {
	display: block;
	width: 100%;
	transition: transform 0.9s var(--wp--custom--ease-glide);
}

:root .is-style-card-pair > :first-child img {
	object-position: 45% 50%;
}

:root .is-style-card-pair > :nth-child(2 of .wp-block-group) img {
	object-position: 62% 50%;
}

:root .is-style-image-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(var(--wp--custom--rgb--contrast), 0.82) 0%, rgb(var(--wp--custom--rgb--contrast), 0.4) 38%, transparent 62%);
	pointer-events: none;
}

:root .wp-block-group.is-style-image-card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	margin: 0;
	padding: clamp(1.1rem, 0.75rem + 1.75vw, 2.25rem);
	padding-right: calc(clamp(1.1rem, 0.75rem + 1.75vw, 2.25rem) + clamp(2.25rem, 1.5rem + 2vw, 3.5rem) + 1rem);
}

:root .is-style-image-card-body:not(:has(.tk-icon))::after {
	content: "";
	position: absolute;
	right: clamp(1.1rem, 0.75rem + 1.75vw, 2.25rem);
	bottom: clamp(1.1rem, 0.75rem + 1.75vw, 2.25rem);
	width: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
	height: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
	background: currentcolor;
	mask: var(--tk-icon-arrow) no-repeat center / contain;
	transition: transform 0.5s var(--wp--custom--ease-glide);
}

:root .is-style-card-title {
	max-width: 11ch;
}

:root .is-style-card-title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is the link target. */
:root .is-style-card-title a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

:root .is-style-image-card:hover img {
	transform: scale(1.05) translateX(-1.5%);
}

:root .is-style-image-card:hover .is-style-image-card-body:not(:has(.tk-icon))::after {
	transform: translateX(0.6rem);
}

/* ---------------------------------------------------------------- Feature sections (ice / inline) */
:root .wp-block-group.is-style-feature,
:root .wp-block-group.is-style-feature-blue {
	position: relative;
	display: grid;
	grid-template-columns: [full-start] var(--wp--custom--gutter) [content-start] minmax(0, 1fr) [content-end] var(--wp--custom--gutter) [full-end];
	overflow-x: clip;
}

:root .is-style-feature > *,
:root .is-style-feature-blue > * {
	position: relative;
	z-index: 1;
	margin-block: 0;
}

:root .is-style-feature > .is-style-giant-word,
:root .is-style-feature-blue > .is-style-giant-word {
	grid-column: full;
	z-index: 2;
}

:root .is-style-feature-blue > .is-style-giant-word {
	text-align: right;
	color: rgb(var(--wp--custom--rgb--base), 0.3);
}

:root .is-style-giant-word .tk-glide {
	display: inline-block;
	transform: translate3d(var(--gx, 0), 0, 0);
	will-change: transform;
}

:root .is-style-feature-text {
	grid-column: content;
}

/* The design spaces the button from the tag list on both sides (no margin collapse). */
:root .is-style-feature-text > .wp-block-buttons {
	margin-top: 1.5rem;
}

:root .is-style-feature-text > p:not(.is-style-kicker, .is-style-pull-ruled) {
	max-width: 52ch;
}

:root .is-style-feature .is-style-feature-text > p:not(.is-style-kicker, .is-style-pull-ruled) {
	color: var(--wp--preset--color--muted);
}

:root .is-style-feature-blue .is-style-kicker,
:root .is-style-feature-blue .is-style-pull,
:root .is-style-feature-blue .is-style-pull-ruled {
	color: var(--wp--preset--color--base);
}

:root .is-style-feature-blue .is-style-audience li {
	border-color: rgb(var(--wp--custom--rgb--base), 0.45);
	background: rgb(var(--wp--custom--rgb--base), 0.08);
	color: var(--wp--preset--color--base);
}

:root .is-style-feature-blue::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: clamp(3rem, 2rem + 3vw, 5rem);
	background: url("assets/images/hero-frost-overlay.webp") no-repeat center top / 100% auto;
	opacity: 0.7;
	transform: scaleY(-1);
	mask-image: linear-gradient(to bottom, currentcolor 20%, transparent);
	pointer-events: none;
}

:root .wp-block-group.is-style-collage {
	grid-column: content;
	margin-top: calc(var(--wp--preset--font-size--giant) * -0.14);
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

:root .is-style-collage > .wp-block-image {
	margin: 0;
}

:root .is-style-collage > .wp-block-image:first-child {
	width: 82%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--wp--preset--color--ice);
}

:root .is-style-collage > .wp-block-image:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

:root .is-style-collage > .wp-block-image:nth-child(2 of .wp-block-image) {
	position: absolute;
	right: 0;
	bottom: 1.5rem;
	width: 46%;
	border: 3px solid var(--wp--preset--color--base);
	background: var(--wp--preset--color--ice);
	box-shadow: var(--wp--preset--shadow--photo);
}

:root .is-style-collage > .wp-block-image:nth-child(2 of .wp-block-image) img {
	width: 100%;
}

:root .is-style-feature-blue > .wp-block-image.is-style-parallax {
	grid-column: full;
	margin-top: calc(var(--wp--preset--font-size--giant) * -0.14);
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--primary-dark);
}

:root .is-style-parallax img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

:root.tk-motion .is-style-parallax img {
	transform: translate3d(0, var(--py, 0), 0) scale(1.08);
	will-change: transform;
}

@media (width >= 40em) {
	:root .is-style-feature-blue > .wp-block-image.is-style-parallax {
		aspect-ratio: 16 / 10;
	}
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-feature,
	:root .wp-block-group.is-style-feature-blue {
		grid-template-columns: [full-start] minmax(var(--wp--custom--gutter), 1fr) [content-start] repeat(12, minmax(0, calc(100rem / 12))) [content-end] minmax(var(--wp--custom--gutter), 1fr) [full-end];
	}

	:root .is-style-feature > .is-style-giant-word {
		grid-row: 1;
	}

	:root .wp-block-group.is-style-collage {
		grid-column: 2 / 8;
		grid-row: 2;
		margin-top: calc(var(--wp--preset--font-size--giant) * -0.16);
		margin-bottom: 0;
		padding-right: 2rem;
	}

	:root .is-style-collage > .wp-block-image:nth-child(2 of .wp-block-image) {
		right: 0;
		bottom: 2rem;
		width: 40%;
	}

	:root .is-style-collage > .wp-block-image:first-child {
		clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
	}

	:root .is-style-feature > .is-style-feature-text {
		grid-column: 9 / 14;
		grid-row: 1 / 3;
		align-self: center;
	}

	:root .is-style-feature-blue > .wp-block-image.is-style-parallax {
		grid-column: 9 / 15;
		grid-row: 2;
		min-height: clamp(30rem, 60vh, 44rem);
		margin: calc(var(--wp--preset--font-size--giant) * -0.16) 0 0;
		aspect-ratio: auto;
		clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
	}

	:root .is-style-feature-blue > .is-style-feature-text {
		grid-column: 2 / 8;
		grid-row: 2;
		align-self: start;
		padding: calc(var(--wp--preset--font-size--giant) * 0.06) 2rem 0 0;
	}
}

/* ---------------------------------------------------------------- Footer */
:root footer.wp-block-template-part {
	background: var(--wp--preset--color--base);
}

:root .wp-block-group.is-style-site-footer {
	position: relative;
}

:root .is-style-site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: clamp(4rem, 3rem + 4vw, 7rem);
	background: var(--wp--preset--color--ice) url("assets/images/hero-frost-overlay.webp") no-repeat center top / 100% auto;
	mask-image: linear-gradient(to bottom, currentcolor 25%, transparent);
	pointer-events: none;
}

:root .is-style-site-footer > * {
	position: relative;
}

:root .is-style-footer-grid {
	display: grid;
	gap: 2.5rem;
}

:root .is-style-footer-grid > * {
	margin-block: 0;
}

/* Inline-block link on the text baseline, as in the design (keeps its descender gap). */
:root .wp-block-site-logo.is-style-footer-logo {
	margin-bottom: 0;
	line-height: inherit;
}

:root .is-style-footer-logo a {
	margin-bottom: 1.25rem;
}

:root .is-style-footer-logo img {
	display: block;
	width: clamp(12rem, 10rem + 6vw, 17rem);
	height: auto;
}

:root .is-style-footer-grid > :first-child > p {
	max-width: 36ch;
	margin-top: 0;
	margin-bottom: 1em;
}

:root .is-style-key-flag img {
	width: 85px;
	height: auto;
}

:root .is-style-footer-links .wp-block-navigation__container {
	gap: 0;
}

:root .is-style-footer-links .wp-block-navigation-item__content,
:root .is-style-site-footer .is-style-address a,
:root .is-style-footer-bottom a {
	color: var(--wp--preset--color--contrast);
	text-decoration-color: var(--wp--preset--color--line);
	text-decoration-thickness: 2px;
}

:root .is-style-footer-links .wp-block-navigation-item__content {
	display: inline-block;
	padding: 0.2rem 0;
	text-decoration-line: underline;
}

:root .is-style-footer-links .wp-block-navigation-item__content:hover,
:root .is-style-site-footer .is-style-address a:hover,
:root .is-style-footer-bottom a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration-color: currentcolor;
}

:root .wp-block-social-links.is-style-plain-icons {
	gap: 0.25rem;
	margin: 0 0 0 -0.6rem;
}

:root .wp-block-social-links.is-style-plain-icons .wp-social-link {
	background: none;
	color: var(--wp--preset--color--primary);
}

:root .wp-block-social-links.is-style-plain-icons .wp-social-link a {
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	padding: 0;
}

:root .wp-block-social-links.is-style-plain-icons .wp-social-link svg {
	width: 1.5rem;
	height: 1.5rem;
}

:root .wp-block-social-links.is-style-plain-icons .wp-social-link:hover {
	color: var(--wp--preset--color--contrast);
	transform: none;
}

:root .is-style-footer-bottom {
	gap: 0.5rem 2rem;
}

:root .is-style-footer-bottom > p {
	margin: 0;
}

@media (width >= 40em) {
	:root .is-style-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width >= 64em) {
	:root .is-style-footer-grid {
		grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------- Back to top (added by assets/js/site.js) */
:root .tk-to-top {
	position: fixed;
	right: clamp(1rem, 2vw, 1.75rem);
	bottom: clamp(1rem, 2vw, 1.75rem);
	z-index: 40;
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(var(--wp--custom--rgb--surface), 0.85);
	backdrop-filter: blur(14px) saturate(1.3);
	color: var(--wp--preset--color--primary-dark);
	cursor: pointer;
	box-shadow: var(--wp--preset--shadow--glass-control);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 1rem, 0);
	transition: opacity 0.35s, transform 0.5s var(--wp--custom--ease-glide), visibility 0s 0.35s, background-color 0.2s;
}

:root .tk-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.35s, transform 0.5s var(--wp--custom--ease-glide), visibility 0s, background-color 0.2s;
}

:root .tk-to-top:hover {
	background: var(--wp--preset--color--base);
}

:root .tk-to-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none;
}

:root .tk-to-top__track {
	fill: none;
	stroke: rgb(var(--wp--custom--rgb--primary), 0.16);
	stroke-width: 3;
}

:root .tk-to-top__bar {
	fill: none;
	stroke: var(--wp--preset--color--primary);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 141.37;
	stroke-dashoffset: 141.37;
}

:root .tk-to-top__icon {
	position: relative;
	width: 1.25rem;
	height: 1.25rem;
	background: currentcolor;
	mask: var(--tk-icon-arrow) no-repeat center / contain;
	transform: rotate(-90deg);
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .tk-to-top:hover .tk-to-top__icon {
	transform: rotate(-90deg) translateX(3px);
}

/* ---------------------------------------------------------------- Small screens */
@media (width <= 40em) {
	:root h1,
	:root h2,
	:root h3 {
		hyphens: auto;
	}

	:root .is-style-giant-word .tk-glide {
		transform: none;
	}

	:root .wp-block-tykeskater-video-hero .wp-block-button,
	:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .wp-block-button,
	:root .is-style-cta-band .wp-block-button,
	:root .is-style-partners-head .wp-block-button {
		flex: 1 1 100%;
	}

	:root .wp-block-tykeskater-video-hero .wp-block-button__link,
	:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .wp-block-button__link,
	:root .is-style-cta-band .wp-block-button__link,
	:root .is-style-partners-head .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}
}

/* ---------------------------------------------------------------- Scroll reveal */
:root.tk-motion .tk-reveal {
	opacity: 0;
	transform: translate3d(0, 1.5rem, 0);
	transition: opacity 0.8s var(--wp--custom--ease-glide) var(--tk-delay, 0s), transform 1s var(--wp--custom--ease-glide) var(--tk-delay, 0s);
}

:root.tk-motion .tk-reveal.tk-reveal--zoom {
	transform: scale(0.96);
	transition-duration: 0.9s, 1.2s;
}

:root.tk-motion .tk-reveal.is-in {
	opacity: 1;
	transform: none;
}

@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;
	}
}

/* ---------------------------------------------------------------- Video cards */
:root .is-style-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: clamp(2rem, 1rem + 3vw, 4rem);
	text-align: center;
}

:root .is-style-section-head > * {
	margin-block: 0;
}

:root .is-style-section-head .is-style-kicker {
	justify-content: center;
}

:root .is-style-section-head .wp-block-heading {
	max-width: 18ch;
	margin-inline: auto;
}

:root .is-style-section-head > p {
	max-width: 40ch;
}

:root .is-style-section-head > p a {
	font-weight: 700;
}

:root .is-style-video-cards {
	display: grid;
	gap: 1.25rem;
}

:root .is-style-video-cards > * {
	margin-block: 0;
}

:root .wp-block-group.is-style-video-card {
	position: relative;
	display: block;
	overflow: hidden;
}

:root .is-style-video-card > .wp-block-image {
	margin: 0;
}

:root .is-style-video-card img {
	display: block;
	width: 100%;
	height: 100%;
	transition: transform 0.9s var(--wp--custom--ease-glide);
}

:root .is-style-video-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(var(--wp--custom--rgb--contrast), 0.8) 0%, rgb(var(--wp--custom--rgb--contrast), 0.35) 40%, transparent 65%);
	pointer-events: none;
}

/* Play mark. */
:root .is-style-video-card:not(:has(.tk-play))::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	z-index: 1;
	width: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	height: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	background: var(--wp--preset--color--base);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5v17L20.5 12z'/%3E%3C/svg%3E") no-repeat center / contain;
	filter: drop-shadow(0 0.4rem 1.2rem rgb(var(--wp--custom--rgb--contrast), 0.5));
	transform: translate(-45%, -50%);
	transition: transform 0.6s var(--wp--custom--ease-glide);
}

:root .wp-block-group.is-style-video-card-label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
	padding: clamp(1rem, 0.75rem + 1.5vw, 2rem);
}

:root .is-style-video-card-label > * {
	margin-block: 0;
}

:root .is-style-video-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

:root .is-style-video-kicker:not(:has(.tk-icon))::before {
	content: "";
	width: 1.4em;
	height: 1.4em;
	background: currentcolor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4a2.5 2.5 0 0 0-1.8 1.8A26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8c1.6.4 7.8.4 7.8.4s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15V9l5.2 3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

:root .is-style-video-title a {
	color: inherit;
	text-decoration: none;
}

:root .is-style-video-title a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

:root .is-style-video-card:hover img {
	transform: scale(1.04) translateX(-1%);
}

:root .is-style-video-card:hover::before {
	transform: translate(-25%, -50%);
}

@media (width >= 48em) {
	:root .is-style-video-cards {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 1.5rem;
	}

	:root .is-style-video-cards > :first-child {
		grid-column: 1 / 9;
		align-self: start;
	}

	:root .is-style-video-cards > :nth-child(2 of .wp-block-group) {
		grid-column: 9 / 13;
		align-self: start;
		margin-top: clamp(3rem, 8vw, 9rem);
	}

	:root .is-style-video-cards > :nth-child(2 of .wp-block-group) img {
		aspect-ratio: 4 / 5 !important;
		object-position: 70% 50%;
	}

	:root .is-style-video-cards > :nth-child(2 of .wp-block-group) .is-style-video-title {
		font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
	}
}

/* ---------------------------------------------------------------- Partners */
:root .is-style-partners-head {
	display: grid;
	gap: 1.25rem 4rem;
	margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}

:root .is-style-partners-head > * {
	margin-block: 0;
}

:root .is-style-partners-head > :last-child > p {
	max-width: 48ch;
}

:root .is-style-partners-head .wp-block-buttons {
	gap: 0.75rem;
}

@media (width >= 64em) {
	:root .is-style-partners-head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: end;
	}
}

:root .wp-block-group.is-style-partner-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

:root .is-style-partner-grid > * {
	margin-block: 0;
}

:root .wp-block-group.is-style-partner-row {
	display: grid;
	grid-template-columns: 9.5rem minmax(0, 1fr);
	align-items: center;
	gap: 0.25rem 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid rgb(var(--wp--custom--rgb--primary), 0.18);
}

:root .is-style-partner-row > * {
	margin-block: 0;
}

:root .wp-block-group.is-style-partner-country {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 0.6rem;
}

:root .is-style-partner-country > * {
	margin-block: 0;
}

:root .is-style-partner-country > .wp-block-image {
	grid-row: 1 / 3;
}

:root .wp-block-image.is-style-flag,
:root .wp-block-image.is-style-flag-square {
	line-height: 0;
}

:root .wp-block-image.is-style-flag :is(img, svg),
:root .wp-block-image.is-style-flag-square :is(img, svg) {
	display: block;
	width: 1.65rem;
	height: 1.1rem;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgb(var(--wp--custom--rgb--contrast), 0.12);
}

:root .wp-block-image.is-style-flag-square :is(img, svg) {
	width: 1.1rem;
	margin-inline: 0.275rem;
}

:root .wp-block-list.is-style-partner-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1rem;
	list-style: none;
}

:root .is-style-partner-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	min-height: 1.75rem;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

:root .is-style-partner-links a:not(:has(.tk-icon))::after {
	content: "";
	flex: none;
	width: 0.8rem;
	height: 0.8rem;
	background: var(--wp--preset--color--primary);
	mask: var(--tk-icon-external) no-repeat center / contain;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-partner-links a:hover {
	color: var(--wp--preset--color--primary-dark);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

:root .is-style-partner-links a:hover::after {
	transform: translate(2px, -2px);
}

@media (width >= 52em) {
	:root .wp-block-group.is-style-partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width >= 88em) {
	:root .wp-block-group.is-style-partner-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (width <= 51.99em) {
	:root .is-style-partner-grid > :last-child {
		border-bottom: 0;
	}
}

@media (width >= 52em) and (width <= 87.99em) {
	:root .is-style-partner-grid > :nth-last-child(-n + 1),
	:root .is-style-partner-grid > :nth-last-child(2):nth-child(odd) {
		border-bottom: 0;
	}
}

@media (width >= 88em) {
	:root .is-style-partner-grid > :nth-last-child(-n + 3) {
		border-bottom: 0;
	}
}

@media (width <= 36em) {
	:root .wp-block-group.is-style-partner-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.4rem;
	}

	:root .wp-block-list.is-style-partner-links {
		gap: 0.1rem 1rem;
	}
}

:root .is-style-resell a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
}

:root .is-style-resell a:not(:has(.tk-icon))::after {
	content: "";
	width: 1em;
	height: 1em;
	background: currentcolor;
	mask: var(--tk-icon-arrow) no-repeat center / contain;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-resell a:hover::after {
	transform: translateX(3px);
}

/* ================================================================ Inner pages */

/* ---------------------------------------------------------------- Page hero (core Cover) */
:root .wp-block-cover:is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) {
	align-items: flex-end;
	min-height: clamp(30rem, 80svh, 52rem);
	padding: calc(var(--wp--custom--header-top) + var(--wp--custom--header-h) + 3rem) var(--wp--custom--gutter) clamp(3rem, 2rem + 3vw, 5rem);
	background: #0c1d2e;
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored) > .wp-block-cover__background {
	z-index: 1;
}

/* The homepage frost frame, lighter. */
:root :is(.is-style-page-hero, .is-style-page-hero-mirrored)::after {
	--tk-frost-clear: 42%;

	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: url("assets/images/hero-frost-overlay.webp") no-repeat center / 100% 100%;
	opacity: 0.7;
	mask-image:
		radial-gradient(ellipse 80% 80% at 50% 48%, transparent var(--tk-frost-clear), currentcolor calc(var(--tk-frost-clear) + 22%)),
		linear-gradient(to bottom, currentcolor 0%, currentcolor 55%, rgb(var(--wp--custom--rgb--contrast), 0.35) 85%, rgb(var(--wp--custom--rgb--contrast), 0.25) 100%);
	mask-composite: intersect;
	pointer-events: none;
}

/* Content sits in the centred 100rem measure, left-aligned within it (out-ranks core's custom content position width). */
:root .wp-block-cover.wp-block-cover:is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) > .wp-block-cover__inner-container {
	z-index: 3;
	width: min(100%, 100rem);
	margin-inline: auto;
	color: var(--wp--preset--color--base);
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) > .wp-block-cover__inner-container > * {
	margin-block: 0;
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) > .wp-block-cover__inner-container > :is(.is-style-hero-lead, .is-style-film-link) {
	margin-top: 1.25rem;
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .is-style-kicker {
	margin-bottom: 1.1rem;
	color: var(--wp--preset--color--base);
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .is-style-kicker::before {
	background: var(--wp--preset--color--sky);
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) h1 {
	max-width: 16ch;
	color: var(--wp--preset--color--base);
	text-shadow: var(--wp--custom--hero--text-shadow);
}

:root .is-style-hero-lead {
	max-width: 48ch;
	text-shadow: 0 1px 1rem rgb(4 14 26 / 35%);
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .wp-block-buttons {
	gap: 0.75rem;
	margin-top: 1.75rem;
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) :focus-visible {
	outline-color: var(--wp--preset--color--base);
}

:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .wp-block-cover__image-background {
	transform: scaleX(var(--tk-flip, 1));
}

/* Parallax room: the photo is taller than the hero and slides as the page scrolls. */
:root.tk-motion :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) .wp-block-cover__image-background {
	top: -22%;
	height: 122%;
	transform: translate3d(0, var(--py, 0), 0) scaleX(var(--tk-flip, 1));
	will-change: transform;
}

@media (width >= 64em) {
	:root .is-style-page-hero-mirrored .wp-block-cover__image-background {
		--tk-flip: -1;

		object-position: 58% 40% !important;
	}
}

@media (prefers-reduced-motion: no-preference) {
	:root :is(.is-style-page-hero, .is-style-page-hero-mirrored)::after {
		animation: tk-freeze 2.6s 0.2s var(--wp--custom--ease-glide) both;
	}

	:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) > .wp-block-cover__inner-container {
		animation: tk-glide-in 1.1s 0.2s var(--wp--custom--ease-glide) both;
	}
}

@keyframes tk-freeze {
	from {
		--tk-frost-clear: 92%;
	}

	to {
		--tk-frost-clear: 42%;
	}
}

@keyframes tk-glide-in {
	from {
		opacity: 0;
		transform: translate3d(0, 1.25rem, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

:root .is-style-film-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	color: var(--wp--preset--color--base);
	text-decoration: underline;
	text-decoration-color: rgb(var(--wp--custom--rgb--base), 0.5);
	text-underline-offset: 0.25em;
}

:root .is-style-film-link a:not(:has(.tk-icon))::before {
	content: "";
	width: 1.1rem;
	height: 1.1rem;
	background: var(--wp--preset--color--sky);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5v17L20.5 12z'/%3E%3C/svg%3E") no-repeat center / contain;
}

:root .is-style-film-link a:hover {
	color: var(--wp--preset--color--base);
	text-decoration-color: currentcolor;
}

/* ---------------------------------------------------------------- Page sections */
:root .wp-block-group.is-style-page-section-blue {
	padding: clamp(3.5rem, 2.5rem + 5vw, 7.5rem) var(--wp--custom--gutter);
}

:root .is-style-page-section-blue :is(.is-style-kicker, .is-style-pull, .is-style-pull-ruled, .is-style-split-text > p) {
	color: var(--wp--preset--color--base);
}

:root .is-style-page-head,
:root .is-style-page-head-center {
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

:root .is-style-page-head > *,
:root .is-style-page-head-center > * {
	margin-block: 0;
}

:root .is-style-page-head > .is-style-kicker,
:root .is-style-page-head-center > .is-style-kicker {
	margin-bottom: 1.1rem;
}

:root .is-style-page-head .wp-block-heading,
:root .is-style-page-head-center .wp-block-heading {
	max-width: 20ch;
}

:root .is-style-page-head > .is-style-section-intro,
:root .is-style-page-head-center > .is-style-section-intro {
	max-width: 60ch;
	margin-top: 1.25rem;
}

:root .is-style-page-head-center {
	text-align: center;
}

:root .is-style-page-head-center > .is-style-kicker {
	justify-content: center;
}

:root .is-style-page-head-center > .wp-block-heading,
:root .is-style-page-head-center > .is-style-section-intro {
	margin-inline: auto;
}

:root .wp-block-heading.is-style-calm {
	max-width: 22ch;
}

/* Photo + text. */
:root .wp-block-group:is(.is-style-split, .is-style-split-reverse) {
	display: grid;
	gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
	align-items: center;
}

:root :is(.is-style-split, .is-style-split-reverse) > * {
	margin-block: 0;
}

:root .wp-block-image:is(.is-style-split-media, .is-style-split-media-x45, .is-style-split-media-x40) {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--ice);
}

:root :is(.is-style-split-media, .is-style-split-media-x45, .is-style-split-media-x40) img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

:root .is-style-split-text > p:not(.is-style-kicker, .is-style-pull-ruled) {
	max-width: 56ch;
}

/* As in the design, body paragraphs keep a bottom margin, also as the last item (it collapses with the gap otherwise). */
:root .is-style-split-text > p:not(.is-style-kicker, .is-style-pull-ruled, .is-style-emphasis) {
	margin-bottom: 1em;
	color: var(--wp--preset--color--muted);
}

:root .is-style-page-section-blue .is-style-split-text > p:not(.is-style-kicker, .is-style-pull-ruled, .is-style-emphasis) {
	color: var(--wp--preset--color--base);
}

:root :is(.is-style-split, .is-style-split-reverse) > .is-style-video-card .is-style-video-title {
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem);
}

:root .wp-block-buttons.is-style-page-actions {
	gap: 0.75rem;
	margin-top: 1.75rem;
}

:root .is-style-emphasis + .is-style-audience {
	margin-top: 0;
	margin-bottom: 0;
}

:root .is-style-companions + .is-style-page-actions {
	margin-top: 2rem;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-split {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}

	:root .wp-block-group.is-style-split-reverse {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	:root .wp-block-image:is(.is-style-split-media, .is-style-split-media-x45, .is-style-split-media-x40) {
		aspect-ratio: 5 / 4;
	}

	:root .is-style-split > :is(.is-style-split-media, .is-style-split-media-x45, .is-style-split-media-x40) {
		clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
	}

	:root .is-style-split-reverse > :is(.is-style-split-media, .is-style-split-media-x45, .is-style-split-media-x40) {
		order: 2;
		clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
	}
}

/* Numbered big list. */
:root .wp-block-list.is-style-companions {
	list-style: none;
	counter-reset: tk-companion;
}

:root .is-style-companions li {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
	font-stretch: var(--wp--custom--stretch);
	font-style: italic;
	font-weight: 800;
	line-height: 1.05;
	counter-increment: tk-companion;
}

:root .is-style-companions li::before {
	content: counter(tk-companion, decimal-leading-zero) / "";
	flex: none;
	min-width: 2rem;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--text);
	font-size: 0.8125rem;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.16em;
}

/* Facts grid. */
:root .wp-block-group.is-style-facts {
	display: grid;
	gap: 2.5rem;
	margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

:root .is-style-facts > *,
:root .is-style-fact > * {
	margin-block: 0;
}

:root .is-style-fact > .is-style-fact-number {
	margin-bottom: 0.75rem;
}

:root .is-style-fact > .is-style-fact-title {
	max-width: 24ch;
	margin-bottom: 1rem;
}

:root .is-style-fact > p:not(.is-style-fact-number) {
	max-width: 58ch;
	color: var(--wp--preset--color--muted);
}

:root .wp-block-image.is-style-facts-photo {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--base);
}

:root .is-style-facts-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (width >= 56em) {
	:root .wp-block-group.is-style-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(3rem, 2rem + 2vw, 4.5rem) clamp(2rem, 1rem + 3vw, 5rem);
	}

	:root .wp-block-image.is-style-facts-photo {
		align-self: stretch;
		min-height: 20rem;
		aspect-ratio: auto;
		clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
	}
}

/* YouTube poster: the caption is the play button; the site script swaps in the player. */
.wp-block-image.is-style-youtube-poster {
	position: relative;
	max-width: 64rem;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--contrast);
	box-shadow: 0 2rem 4rem -2.5rem rgb(0 40 80 / 55%);
}

:root .is-style-youtube-poster a,
:root .is-style-youtube-poster iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

:root .is-style-youtube-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--wp--custom--ease-glide);
}

:root .is-style-youtube-poster a:hover img {
	transform: scale(1.03);
}

:root .is-style-youtube-poster figcaption.wp-element-caption {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0.9rem 1.5rem 0.9rem 1.2rem;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: 1.0625rem;
	font-weight: 700;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	box-shadow: 0 1rem 2rem -1rem rgb(0 0 0 / 60%);
	pointer-events: none;
	transition: background-color 0.25s, transform 0.5s var(--wp--custom--ease-glide);
}

:root .is-style-youtube-poster figcaption.wp-element-caption:not(:has(.tk-icon))::before {
	content: "";
	width: 1.1rem;
	height: 1.1rem;
	background: currentcolor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5v17L20.5 12z'/%3E%3C/svg%3E") no-repeat center / contain;
}

:root .is-style-youtube-poster:hover figcaption.wp-element-caption {
	background: var(--wp--preset--color--primary-dark);
	transform: translate(-50%, -50%) scale(1.05);
}

/* Call-to-action band, frost rising from the bottom. */
:root .wp-block-group.is-style-cta-band {
	position: relative;
	overflow: hidden;
}

:root .is-style-cta-band::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: clamp(3rem, 2rem + 3vw, 5rem);
	background: url("assets/images/hero-frost-overlay.webp") no-repeat center top / 100% auto;
	opacity: 0.7;
	transform: scaleY(-1);
	mask-image: linear-gradient(to bottom, currentcolor 20%, transparent);
	pointer-events: none;
}

:root .wp-block-group.is-style-cta-inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.5rem 4rem;
	align-items: end;
}

:root .is-style-cta-inner > *,
:root .is-style-cta-inner > .wp-block-group > * {
	margin-block: 0;
}

:root .is-style-cta-inner .is-style-kicker {
	margin-bottom: 1.1rem;
	color: var(--wp--preset--color--base);
}

:root .is-style-cta-inner .wp-block-heading {
	max-width: 16ch;
}

:root .is-style-cta-inner .is-style-cta-text {
	max-width: 48ch;
	margin-top: 1rem;
}

:root .is-style-cta-inner .wp-block-buttons {
	gap: 0.75rem;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-cta-inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

/* ---------------------------------------------------------------- Long-form text (imprint, privacy) */
:root .wp-block-group.is-style-prose {
	max-width: 72ch;
}

:root .is-style-prose > * {
	margin-block: 0;
}

:root .is-style-prose > * + * {
	margin-top: 1em;
}

:root :is(.is-style-prose) h2 {
	margin-top: 2.25em;
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
	line-height: 1.05;
}

:root .is-style-prose h3 {
	margin-top: 1.75em;
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
	line-height: 1.1;
}

:root .is-style-prose h2 + *,
:root .is-style-prose h3 + * {
	margin-top: 0.6em;
}

:root .is-style-prose p,
:root .is-style-prose li {
	color: var(--wp--preset--color--muted);
}

:root .is-style-prose :is(ul, ol) {
	padding-left: 1.25em;
}

:root .is-style-prose li + li {
	margin-top: 0.4em;
}

:root .is-style-prose a {
	font-weight: 700;
}

:root .is-style-prose .is-style-address {
	color: var(--wp--preset--color--contrast);
}

:root .is-style-prose strong {
	color: var(--wp--preset--color--contrast);
}

/* No icon on phone and e-mail buttons, as in the design. */
:root .wp-block-button__link:is([href^="tel:"], [href^="mailto:"])::after {
	content: none;
}

/* ---------------------------------------------------------------- Dealer directory */
:root .wp-block-group.is-style-region-nav {
	display: grid;
	gap: 1rem 3rem;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

:root .is-style-region-nav > * {
	margin-block: 0;
}

:root .wp-block-list.is-style-region-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
}

:root .is-style-region-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-stretch: var(--wp--custom--stretch);
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

:root .is-style-region-links a:not(:has(.tk-icon))::after {
	content: "";
	width: 1.1rem;
	height: 1.1rem;
	background: var(--wp--preset--color--primary);
	mask: var(--tk-icon-arrow) no-repeat center / contain;
	transform: rotate(90deg);
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-region-links a:hover {
	color: var(--wp--preset--color--primary-dark);
}

:root .is-style-region-links a:hover::after {
	transform: rotate(90deg) translateX(3px);
}

:root .is-style-region-shop {
	max-width: 52ch;
}

:root .is-style-region-shop a {
	font-weight: 700;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-region-nav {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
	}

	:root .is-style-region-shop {
		justify-self: end;
		text-align: right;
	}
}

:root .wp-block-group.is-style-region {
	display: grid;
	gap: 1.25rem 4rem;
}

:root .is-style-region > *,
:root .is-style-region-head > * {
	margin-block: 0;
}

:root .is-style-region + .is-style-region {
	margin-top: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-region {
		grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
		align-items: start;
	}

	:root .wp-block-group.is-style-region-head {
		position: sticky;
		top: calc(var(--wp--custom--header-top) + var(--wp--custom--header-h) + 1.5rem);
	}
}

:root .is-style-countries > * {
	margin-block: 0;
}

:root .wp-block-group.is-style-country {
	display: grid;
	gap: 1rem 2rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid rgb(var(--wp--custom--rgb--primary), 0.18);
}

:root .is-style-country > * {
	margin-block: 0;
}

:root .is-style-country:last-child {
	border-bottom: 0;
}

:root .is-style-country .is-style-partner-role {
	font-size: 0.6875rem;
}

@media (width >= 48em) {
	:root .wp-block-group.is-style-country {
		grid-template-columns: 12rem minmax(0, 1fr);
		align-items: start;
	}

	:root .is-style-country > .is-style-partner-country {
		padding-top: 0.15rem;
	}
}

:root .wp-block-group.is-style-dealers {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1.5rem 2rem;
}

:root .is-style-dealers > *,
:root .is-style-dealer > * {
	min-width: 0;
	margin-block: 0;
}

:root .is-style-dealer > .is-style-dealer-address {
	margin: 0.35rem 0 0.5rem;
}

:root .is-style-dealer-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 2rem;
	font-weight: 700;
	overflow-wrap: anywhere;
	text-decoration: none;
}

:root .is-style-dealer-link a:not(:has(.tk-icon))::after {
	content: "";
	flex: none;
	width: 0.85rem;
	height: 0.85rem;
	background: currentcolor;
	mask: var(--tk-icon-external) no-repeat center / contain;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-dealer-link a:hover {
	text-decoration: underline;
}

:root .is-style-dealer-link a:hover::after {
	transform: translate(2px, -2px);
}

/* ---------------------------------------------------------------- Inline icons (inc/icons.php) */
:root .tk-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

:root .tk-icon {
	flex: none;
	width: 1.1em;
	height: 1.1em;
}

:root .wp-block-button__link .tk-icon {
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .wp-block-button__link:hover .tk-icon {
	transform: translateX(0.3rem);
}

:root .is-style-shop .tk-icon {
	width: 0.95em;
	height: 0.95em;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-shop .wp-block-navigation-item__content:hover .tk-icon {
	transform: translate(2px, -2px);
}

:root .is-style-language > .wp-block-navigation-submenu__toggle {
	gap: 0.4rem;
}

:root .is-style-partner-links .tk-icon {
	width: 0.8rem;
	height: 0.8rem;
	color: var(--wp--preset--color--primary);
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-partner-links a:hover .tk-icon {
	transform: translate(2px, -2px);
}

:root .is-style-region-links .tk-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--wp--preset--color--primary);
	transform: rotate(90deg);
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-region-links a:hover .tk-icon {
	transform: rotate(90deg) translateX(3px);
}

:root .is-style-dealer-link .tk-icon {
	width: 0.85rem;
	height: 0.85rem;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-dealer-link a:hover .tk-icon {
	transform: translate(2px, -2px);
}

:root .is-style-resell .tk-icon {
	width: 1em;
	height: 1em;
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-resell a:hover .tk-icon {
	transform: translateX(3px);
}

:root .is-style-film-link .tk-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--wp--preset--color--sky);
}

:root .is-style-youtube-poster figcaption .tk-icon {
	width: 1.1rem;
	height: 1.1rem;
}

:root .is-style-video-kicker .tk-icon {
	width: 1.4em;
	height: 1.4em;
}

:root .is-style-image-card-body .tk-card-arrow {
	position: absolute;
	right: clamp(1.1rem, 0.75rem + 1.75vw, 2.25rem);
	bottom: clamp(1.1rem, 0.75rem + 1.75vw, 2.25rem);
	width: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
	height: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
	transition: transform 0.5s var(--wp--custom--ease-glide);
}

:root .is-style-image-card:hover .tk-card-arrow {
	transform: translateX(0.6rem);
}

:root .is-style-video-card .tk-play {
	position: absolute;
	left: 50%;
	top: 45%;
	z-index: 1;
	width: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	height: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	color: var(--wp--preset--color--base);
	filter: drop-shadow(0 0.4rem 1.2rem rgb(0 0 0 / 50%));
	transform: translate(-45%, -50%);
	transition: transform 0.6s var(--wp--custom--ease-glide);
}

:root .is-style-video-card:hover .tk-play {
	transform: translate(-25%, -50%);
}

/* ---------------------------------------------------------------- Gallery: people mosaic */
:root .wp-block-group.is-style-people {
	display: grid;
	gap: 1rem;
}

:root .is-style-people > * {
	margin-block: 0;
}

:root .wp-block-image.is-style-people-photo {
	position: relative;
	margin: 0;
}

:root .is-style-people-photo a {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--wp--preset--color--ice);
	color: var(--wp--preset--color--base);
}

:root .is-style-people-photo a:focus-visible {
	outline-offset: 4px;
}

:root .is-style-people-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--wp--custom--ease-glide);
}

:root .is-style-people-photo a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(var(--wp--custom--rgb--contrast), 0.75) 0%, rgb(var(--wp--custom--rgb--contrast), 0.3) 30%, rgb(var(--wp--custom--rgb--contrast), 0) 55%);
	pointer-events: none;
}

:root .is-style-people-photo a:hover img {
	transform: scale(1.04) translateX(-1%);
}

:root .is-style-people-photo figcaption.wp-element-caption {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	margin: 0;
	padding: clamp(1rem, 0.75rem + 1.25vw, 2rem);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.75rem);
	font-stretch: var(--wp--custom--stretch);
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	text-align: left;
	pointer-events: none;
}

@media (width >= 48em) {
	:root .wp-block-group.is-style-people {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 1.25rem;
	}

	:root .is-style-people > :nth-child(1 of .wp-block-image) {
		grid-column: 1 / 8;
	}

	:root .is-style-people > :nth-child(2 of .wp-block-image) {
		grid-column: 8 / 13;
	}

	:root .is-style-people > :nth-child(3 of .wp-block-image) {
		grid-column: 1 / 6;
	}

	:root .is-style-people > :nth-child(4 of .wp-block-image) {
		grid-column: 6 / 13;
	}

	:root .is-style-people-photo a {
		aspect-ratio: auto;
		height: clamp(17rem, 30vw, 34rem);
	}

	:root .is-style-people > :nth-child(odd of .wp-block-image) a {
		clip-path: polygon(0 0, 100% 0, calc(100% - 3rem) 100%, 0 100%);
	}

	:root .is-style-people > :nth-child(even of .wp-block-image) a {
		clip-path: polygon(3rem 0, 100% 0, 100% 100%, 0 100%);
	}

	:root .is-style-people > :nth-child(even of .wp-block-image) figcaption.wp-element-caption {
		padding-left: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
	}
}

/* ---------------------------------------------------------------- Gallery: heading + photo grids */
:root .wp-block-group.is-style-gallery-head {
	display: grid;
	gap: 1.25rem 4rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

:root .is-style-gallery-head > *,
:root .is-style-gallery-head > * > * {
	margin-block: 0;
}

:root .is-style-gallery-head .wp-block-heading {
	max-width: 18ch;
}

:root .is-style-gallery-head .is-style-pull {
	margin-bottom: 1rem;
}

:root .is-style-gallery-head .wp-block-buttons {
	margin-top: 1.25rem;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-gallery-head {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: end;
	}
}

/* Masonry-like grid: explicit spans in source order (keyboard order matches). */
:root .wp-block-group.is-style-shots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 31vw;
	gap: 0.75rem;
}

:root .is-style-shots > .wp-block-image {
	margin: 0;
}

:root .is-style-shots > .is-style-shot-wide {
	grid-column: span 2;
}

:root .is-style-shots > :is(.is-style-shot-tall, .is-style-shot-tall-right) {
	grid-row: span 2;
}

:root .is-style-shots > .is-style-shot-big {
	grid-column: span 2;
	grid-row: span 2;
}

:root .is-style-shots > .wp-block-image a {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	background: var(--wp--preset--color--ice);
}

:root .is-style-shots > .wp-block-image a:focus-visible {
	outline-offset: 3px;
}

:root .is-style-shots > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--wp--custom--ease-glide);
}

:root .is-style-shots > .wp-block-image a:hover img {
	transform: scale(1.05);
}

:root .is-style-shot-tall-right img {
	object-position: 64% 50%;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-shots {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: min(16vw, 17rem);
		gap: 1rem;
	}
}

/* ---------------------------------------------------------------- Gallery: video grid */
:root .is-style-videos-note a {
	font-weight: 700;
}

:root .wp-block-group.is-style-video-grid {
	display: grid;
	gap: 1.25rem;
}

:root .is-style-video-grid > * {
	margin-block: 0;
}

:root .is-style-video-grid > .is-style-video-card {
	height: 100%;
}

:root .is-style-video-grid .is-style-video-title {
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
}

:root .is-style-video-grid > :first-child .is-style-video-title {
	font-size: var(--wp--preset--font-size--h-3);
}

@media (width >= 48em) {
	:root .wp-block-group.is-style-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}

	:root .is-style-video-grid > :first-child {
		grid-column: 1 / -1;
	}
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-video-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	:root .is-style-video-grid > :nth-child(1 of .wp-block-group) {
		grid-column: 1 / 9;
		grid-row: 1 / 3;
	}

	:root .is-style-video-grid > :nth-child(2 of .wp-block-group) {
		grid-column: 9 / 13;
		grid-row: 1;
	}

	:root .is-style-video-grid > :nth-child(3 of .wp-block-group) {
		grid-column: 9 / 13;
		grid-row: 2;
	}

	:root .is-style-video-grid > :nth-child(n + 4 of .wp-block-group) {
		grid-column: span 3;
	}

	/* The big card takes its height from the two cards beside it. */
	:root .is-style-video-grid > :first-child .wp-block-image,
	:root .is-style-video-grid > :first-child img {
		position: absolute;
		inset: 0;
		aspect-ratio: auto !important;
	}

	:root .is-style-video-grid > :nth-child(n + 2 of .wp-block-group) .is-style-video-card-label {
		padding: 1rem 1.1rem;
	}

	:root .is-style-video-grid > :nth-child(n + 2 of .wp-block-group) .tk-play {
		width: 3.5rem;
		height: 3.5rem;
	}
}

/* ---------------------------------------------------------------- Photo viewer (assets/js/site.js) */
html.tk-lightbox-open {
	overflow: hidden;
}

:root .tk-lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: clamp(4.5rem, 3.5rem + 3vw, 6rem) clamp(1rem, 4vw, 5rem) clamp(1rem, 0.5rem + 2vw, 2rem);
	border: 0;
	background: rgb(6 18 32 / 95%);
	color: var(--wp--preset--color--base);
	overscroll-behavior: contain;
}

:root .tk-lightbox[open] {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: 1rem;
	animation: tk-lightbox-in 0.35s var(--wp--custom--ease-glide);
}

:root .tk-lightbox::backdrop {
	background: rgb(6 18 32 / 60%);
}

@keyframes tk-lightbox-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

:root .tk-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin: 0;
}

:root .tk-lightbox__img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 60%);
}

:root .tk-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

:root .tk-lightbox__meta {
	min-width: 9rem;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
}

:root .tk-lightbox__btn {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 2px solid rgb(var(--wp--custom--rgb--base), 0.7);
	border-radius: 3px;
	background: transparent;
	color: var(--wp--preset--color--base);
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

:root .tk-lightbox__btn:hover {
	border-color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}

:root .tk-lightbox__btn:focus-visible {
	outline: 3px solid var(--wp--preset--color--base);
	outline-offset: 3px;
}

:root .tk-lightbox__btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

:root .tk-lightbox__prev svg {
	transform: rotate(180deg);
}

:root .tk-lightbox__close {
	position: absolute;
	top: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
	right: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}

/* ---------------------------------------------------------------- Contact */
:root :is(.is-style-page-hero, .is-style-page-hero-mirrored, .is-style-page-hero-summer) h1.is-style-hero-title-wide {
	max-width: 19ch;
}

:root .wp-block-group.is-style-contact-grid {
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	align-items: start;
}

:root .is-style-contact-grid > *,
:root .is-style-contact-panel > *,
:root .is-style-contact-aside > *,
:root .is-style-contact-card > *,
:root .is-style-contact-card-blue > * {
	margin-block: 0;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-contact-grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	}
}

/* White form panel with the slanted brand edge on top. */
:root .wp-block-group.is-style-contact-panel {
	position: relative;
}

:root .is-style-contact-panel::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: min(12rem, 45%);
	height: 0.5rem;
	background: var(--wp--preset--color--primary);
	clip-path: polygon(0 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
}

:root .is-style-contact-panel .is-style-kicker {
	margin-bottom: 1.1rem;
}

:root .is-style-contact-panel > .is-style-panel-title {
	margin-bottom: 0.75rem;
}

:root .is-style-contact-panel > .is-style-panel-intro {
	margin-bottom: 1.75rem;
}

:root :is(.is-style-contact-card, .is-style-contact-card-blue) > .is-style-contact-role {
	margin: 0.4rem 0 0.9rem;
}

:root :is(.is-style-contact-card, .is-style-contact-card-blue) > .is-style-contact-languages {
	margin-top: 0.9rem;
}

:root :is(.is-style-contact-card, .is-style-contact-card-blue) > .is-style-contact-address {
	margin-top: 0.75rem;
}

:root .is-style-panel-intro {
	max-width: 52ch;
}

:root .wp-block-group.is-style-contact-aside {
	display: grid;
	gap: 1.25rem;
}

:root .is-style-contact-card .is-style-kicker,
:root .is-style-contact-card-blue .is-style-kicker {
	margin-bottom: 0.85rem;
}

:root .is-style-contact-card-blue .is-style-kicker {
	color: var(--wp--preset--color--base);
}

:root .is-style-contact-card-blue :focus-visible {
	outline-color: var(--wp--preset--color--base);
}

:root :is(.is-style-contact-card, .is-style-contact-card-blue) a {
	font-weight: 700;
	overflow-wrap: anywhere;
}

:root .wp-block-list.is-style-contact-lines {
	list-style: none;
}

:root .is-style-contact-languages strong {
	color: var(--wp--preset--color--contrast);
}

:root .req {
	color: #b42318;
}

/* Forms: assets/css/forms.css, loaded with the Form block (inc/forms.php). */

/* ---------------------------------------------------------------- Blog article list */
:root .wp-block-group.is-style-post-list {
	display: grid;
}

:root .is-style-post-list > *,
:root .is-style-post-row > * {
	margin-block: 0;
}

@media (width >= 64em) {
	:root .wp-block-group.is-style-post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
	}
}

:root .wp-block-group.is-style-post-row {
	position: relative;
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.5rem 1.25rem;
	min-height: 5.75rem;
	padding: 1.1rem 0.25rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	transition: background-color 0.25s;
}

:root .is-style-post-row:hover {
	background: var(--wp--preset--color--ice);
}

:root .is-style-post-row > .is-style-post-date {
	grid-column: 1;
	display: grid;
	justify-items: start;
}

:root .is-style-post-date .tk-day {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	font-stretch: var(--wp--custom--stretch);
	font-style: italic;
	font-weight: 800;
}

:root .is-style-post-date .tk-month {
	margin-top: 0.15rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

:root .is-style-post-row > .is-style-post-title {
	grid-column: 2;
}

:root .is-style-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

/* The whole row is clickable; the link text stays the accessible name. */
.is-style-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

:root .is-style-post-row:hover .is-style-post-title a {
	color: var(--wp--preset--color--primary);
}

:root .is-style-post-title a:focus-visible {
	outline: none;
}

:root .is-style-post-title a:focus-visible::after {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

:root .is-style-post-row .tk-post-arrow {
	grid-column: 3;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--wp--preset--color--primary);
	transition: transform 0.4s var(--wp--custom--ease-glide);
}

:root .is-style-post-row:hover .tk-post-arrow {
	transform: translateX(0.35rem);
}

/* ---------------------------------------------------------------- Article templates */
:root .is-style-post-list .wp-block-post {
	margin: 0;
}

:root .wp-block-post-template.is-style-post-list {
	display: grid;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--wp--preset--color--primary);
	list-style: none;
}

@media (width >= 64em) {
	:root .wp-block-post-template.is-style-post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
	}
}

:root .wp-block-group.is-style-post-date {
	grid-column: 1;
	display: grid;
	justify-items: start;
	gap: 0;
}

:root .wp-block-post-content.is-style-prose {
	max-width: 72ch;
}

:root .wp-block-post-content.is-style-prose > * {
	margin-block: 1em 0;
}

:root .wp-block-post-content.is-style-prose > :first-child {
	margin-top: 0;
}

/* Language toggle: globe, label and chevron sit inside one button (inc/icons.php moves the chevron in). */
@media (width >= 70em) {
	:root .is-style-site-nav .is-style-language > .wp-block-navigation-submenu__toggle.wp-block-navigation-submenu__toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		min-height: 2.75rem;
		padding: 0 0.75rem;
		border-radius: 0.6rem;
		color: var(--wp--preset--color--muted);
		font-size: 0.875rem;
		font-weight: 700;
		line-height: normal;
	}

	:root .is-style-language > .wp-block-navigation-submenu__toggle .wp-block-navigation__submenu-icon {
		display: inline-flex;
		width: 0.9em;
		height: 0.9em;
		margin: 0;
		padding: 0;
		transition: transform 0.3s var(--wp--custom--ease-glide);
	}

	:root .is-style-language > .wp-block-navigation-submenu__toggle[aria-expanded="true"] .wp-block-navigation__submenu-icon {
		transform: rotate(180deg);
	}
}

:root .is-style-page-head-center > .is-style-videos-note {
	margin-top: 1rem;
}

:root .is-style-region-head > .is-style-region-meta {
	margin-top: 0.75rem;
}

/* Injected decorative icons are positioned; they take no flow margin. */
:root .is-style-video-card > .tk-play,
:root .is-style-image-card-body > .tk-card-arrow,
:root .is-style-post-row > .tk-post-arrow {
	margin: 0;
}

/* Split photos framed off-centre in the design. */
:root .is-style-split-media-x45 img {
	object-position: 45% 50%;
}

:root .is-style-split-media-x40 img {
	object-position: 40% 50%;
}

/* In the design the kicker sits inside the heading, so both wrap within the heading's 16ch. */
:root .is-style-choose-head > .wp-block-group:first-child {
	max-width: 16ch;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--h-2);
	font-stretch: var(--wp--custom--stretch);
	font-style: italic;
	font-weight: 800;
}

/* Headings kept for the document outline only, as in the design (screen readers only). */
:root .is-style-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

/* As in the design, an eyebrow heading's own 1rem sets the gap to what follows. */
:root .is-style-eyebrow + * {
	margin-top: 0;
}

/* A single button right after the text: the paragraph's 1em plus the button's own 0.75rem, as in the design (they do not collapse there). */
:root .wp-block-buttons.is-style-split-button {
	margin-top: calc(1em + 0.75rem);
}
