/*
 * Plenar: the original template's stylesheet (design/plenar/reference/DESIGN.md and its
 * beautified Tailwind build), on the theme's tokens. Component rules keep the original's
 * selectors (.btn, .glass, .roll, [data-header] …); Tailwind utilities became the pl- section
 * classes below. The motion's pre-hide only applies on the front end (html.motion and the data-*
 * attributes never reach the editor), so the editor shows every block at rest.
 *
 * Contents: tokens · base · type roles · components (port) · motion pre-hide · chrome (preloader,
 * header, menu, cursor, footer) · sections (home) · amx blocks restyled · inner pages · editor ·
 * reduced motion.
 */

/* ---------- Tokens ---------- */

:root {
	--amx-color-background: var(--wp--preset--color--background);
	--amx-color-surface: var(--wp--preset--color--surface);
	--amx-color-text: var(--wp--preset--color--text);
	--amx-color-text-muted: var(--wp--preset--color--text-muted);
	--amx-color-primary: var(--wp--preset--color--primary);
	--amx-color-on-primary: var(--wp--preset--color--on-primary);
	--amx-color-primary-text: var(--wp--preset--color--primary-text);
	--amx-color-primary-border: var(--wp--preset--color--primary-border);
	--amx-color-accent: var(--wp--preset--color--accent);
	--amx-color-on-accent: var(--wp--preset--color--on-accent);
	--amx-color-border: var(--wp--preset--color--border);
	--amx-color-border-strong: var(--wp--preset--color--border-strong);
	--amx-color-success: var(--wp--preset--color--success);
	--amx-color-on-success: var(--wp--preset--color--on-success);
	--amx-color-warning: var(--wp--preset--color--warning);
	--amx-color-on-warning: var(--wp--preset--color--on-warning);
	--amx-color-danger: var(--wp--preset--color--danger);
	--amx-color-on-danger: var(--wp--preset--color--on-danger);

	/* The original's names, for the ported rules. */
	--color-page: var(--wp--custom--color--page);
	--color-paper: var(--wp--custom--color--paper);
	--color-ink: var(--wp--custom--color--ink);
	--color-forest: var(--wp--custom--color--forest);
	--color-deeper: var(--wp--custom--color--deeper);
	--color-graphite: var(--wp--custom--color--graphite);
	--color-line: var(--wp--custom--color--line);
	--color-line-light: var(--wp--custom--color--line-light);
	--color-signal: var(--wp--custom--color--signal);
	--color-lime: var(--wp--custom--color--lime);
	--color-aqua: var(--wp--custom--color--aqua);
	--color-cobalt: var(--wp--custom--color--cobalt);
	--ease-silk: var(--wp--custom--ease--silk);
	--ease-out-soft: var(--wp--custom--ease--out-soft);
	--radius-card: var(--wp--custom--radius--media);
	--radius-panel: var(--wp--custom--radius--card);
	--text-display-2xl: var(--wp--custom--text--display-xxl);
	--text-display-xl: var(--wp--custom--text--display-xl);
	--text-display-hero: var(--wp--custom--text--display-hero);
	--text-display-lg: var(--wp--custom--text--display-lg);
	--text-display-md: var(--wp--custom--text--display-md);
	--text-display-sm: var(--wp--custom--text--display-sm);
	--font-display: var(--wp--preset--font-family--heading);
	--font-sans: var(--wp--preset--font-family--body);
	--font-mono: var(--wp--preset--font-family--mono);
	--sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C52 34 66 48 100 50 66 52 52 66 50 100 48 66 34 52 0 50 34 48 48 34 50 0Z'/%3E%3C/svg%3E");
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5'/%3E%3C/svg%3E");
	--circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke' d='M62 4.5C34 1.5 4.5 7.5 3 20.5 1.8 32 26 38.5 52 37.5 79 36.5 98 29.5 97 18 96 7.5 72 2.5 38 6.5'/%3E%3C/svg%3E");
}

/* A section wrapped in amx-needs-data hides when its event block renders nothing (contract). */
.amx-needs-data:not(:has([class*="wp-block-amx-"])) {
	display: none;
}

/* ---------- Base ---------- */

html {
	background: var(--color-page);
	color: var(--color-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

body {
	background: var(--color-page);
}

.pl-main,
.wp-site-blocks > footer {
	overflow-x: clip;
}

::selection {
	background: var(--color-lime);
	color: var(--color-ink);
}

/* ---------- Focus ring ----------
 * One ring for the whole site: 2px, 3px off the element, in --pl-focus. Each surface family sets
 * it once and everything inside inherits it, the plugin's blocks and fields included, so a new
 * component needs no focus rule of its own.
 * - Page, paper and the lime band: signal green (#10803E: 5:1 on white, 4.5:1 on paper,
 *   3.8:1 on lime).
 * - Green and blue glass (hero, menu, footer, closing band, 404), the deep green band and the
 *   spotlight: white (12.7:1 on #0D3A2A, 6:1 on the green glass's lighter mid tone).
 * - Mint glass (the quotes): ink (17.3:1).
 * A dark or coloured surface the lists below don't name joins its family here. */
:root {
	--pl-focus: var(--color-signal);
}

.glass,
.is-style-section-ink,
.pl-spot,
[data-header][data-on-dark]:not([data-solid]),
[data-menu-open] [data-header] {
	--pl-focus: #fff;
}

.glass-light,
.glass[data-tone="light"] {
	--pl-focus: var(--color-ink);
}

:focus-visible,
/* The plugin's blocks draw their own 2px ring in --amx-c-link (blocks.css). Same selectors as the
 * plugin's, so they take the family's ring instead. */
[class*="wp-block-amx-"] a:focus-visible,
[class*="wp-block-amx-"] button:focus-visible,
[class*="wp-block-amx-"] input:focus-visible,
[class*="wp-block-amx-"] summary:focus-visible,
[class*="wp-block-amx-"] [tabindex="0"]:focus-visible {
	outline: 2px solid var(--pl-focus);
	outline-offset: 3px;
}

button {
	cursor: pointer;
	font: inherit;
	color: inherit;
}

[hidden] {
	display: none !important;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(p, h1, h2, h3, h4, ul, ol, figure, blockquote) {
	margin: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(ul, ol) {
	padding: 0;
	list-style: none;
}

:where(.wp-site-blocks) img {
	display: block;
	max-width: 100%;
}

.pl-shell {
	width: 100%;
	max-width: var(--wp--custom--shell);
	margin-inline: auto;
	padding-inline: var(--wp--custom--gutter);
}

.pl-sec {
	margin-top: 7rem;
}

.pl-panel {
	margin-inline: 0.5rem;
	border-radius: var(--radius-panel);
}

/* A glass hero that opens the page keeps its frame above it: WordPress's flow layout zeroes the
 * first child's top margin with a stronger selector than the heroes' own margin-top. */
:root :where(.is-layout-flow) > :is(.pl-hero, .pl-ghero):first-child {
	margin-block-start: 0.5rem;
}

@media (width >= 48rem) {

	:root :where(.is-layout-flow) > :is(.pl-hero, .pl-ghero):first-child {
		margin-block-start: 0.75rem;
	}
}

@media (width >= 48rem) {
	.pl-shell {
		padding-inline: var(--wp--custom--gutter-wide);
	}

	.pl-sec {
		margin-top: 11rem;
	}

	.pl-panel {
		margin-inline: 0.75rem;
	}
}

/* The original's preflight: every box is border-box, so widths and min-widths include padding and
 * borders (the countdown cells, chips, pills and cards are sized that way). */
*,
::before,
::after {
	box-sizing: border-box;
}

/* ---------- Type roles ---------- */

.label {
	font-family: var(--font-sans);
	letter-spacing: 0.035em;
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	line-height: 1.4;
}

.mono {
	font-family: var(--font-mono);
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	font-size: 0.8125rem;
	font-weight: 450;
}

.display {
	font-family: var(--font-display);
	letter-spacing: -0.055em;
	text-wrap: balance;
	font-weight: 500;
	line-height: var(--wp--custom--line-height--hero);
}

.lede {
	font-family: var(--font-sans);
	letter-spacing: -0.03em;
	text-wrap: pretty;
	font-weight: 400;
	line-height: 1.16;
}

.pl-h2 {
	margin-top: 1.25rem;
	font-size: var(--text-display-lg);
}

.pl-muted {
	color: var(--color-graphite);
}

/* The section label: a sparkle, then the words, in signal green. */
.pl-label {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--color-signal);
}

.pl-label::before {
	content: "";
	flex: none;
	width: 0.625rem;
	height: 0.625rem;
	background: currentColor;
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
}

.pl-label-lime {
	color: var(--color-lime);
}

.pl-label-ink {
	color: inherit;
}

/* Twinkling stars (empty groups). */
.pl-star {
	position: absolute;
	width: 1.25rem;
	height: 1.25rem;
	color: #fff;
	background: currentColor;
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
	animation: twinkle 3.2s ease-in-out infinite;
	pointer-events: none;
}

.pl-star-lime {
	color: var(--color-lime);
}

/* ---------- Components (the original's, CSS:432 to 1159) ---------- */

.roll {
	vertical-align: top;
	height: 1.4em;
	line-height: 1.4;
	display: inline-block;
	overflow: hidden;
}

.roll > span {
	transition: transform 0.6s var(--ease-silk);
	display: block;
}

.roll > span::after {
	content: attr(data-text);
	display: block;
}

a:hover > .roll > span,
button:hover > .roll > span,
a:hover > span > .roll > span,
button:hover > span > .roll > span {
	transform: translateY(-50%);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.wp-block-button {
	margin: 0;
}

.btn {
	--fill: var(--color-ink);
	--on: #fff;
	isolation: isolate;
	letter-spacing: -0.01em;
	white-space: nowrap;
	transition: color 0.55s var(--ease-silk), border-color 0.55s var(--ease-silk);
	border: 1px solid;
	border-radius: 999px;
	justify-content: space-between;
	align-items: center;
	gap: 1.25rem;
	padding: 0.375rem 0.375rem 0.375rem 1.375rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	display: inline-flex;
	position: relative;
	overflow: hidden;
	background: transparent;
	color: var(--color-ink);
	text-decoration: none;
}

.wp-element-button.btn {
	background: transparent;
	color: var(--color-ink);
}

.btn::before {
	content: "";
	z-index: -1;
	background: var(--fill);
	clip-path: circle(0% at calc(100% - 1.5rem));
	transition: clip-path 0.7s var(--ease-silk);
	position: absolute;
	inset: 0;
}

.btn:hover,
.wp-element-button.btn:hover {
	color: var(--on);
	border-color: var(--fill);
}

.btn:hover::before {
	clip-path: circle(150% at calc(100% - 1.5rem));
}

/* Pressed: the fill is fully open in the variant's press colour (palette colours only). */
.btn:active,
.wp-element-button.btn:active {
	transition-duration: 0s;
	color: var(--on-press, #fff);
	border-color: var(--press, var(--color-forest));
}

.btn:active::before {
	clip-path: circle(150% at calc(100% - 1.5rem));
	background: var(--press, var(--color-forest));
	transition: none;
}

.btn:active .btn-dot:not(.btn-solid .btn-dot) > svg {
	color: var(--press, var(--color-forest));
}

.btn-dot {
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	transition: transform 0.7s var(--ease-silk);
	background: currentColor;
	border-radius: 999px;
	place-items: center;
	display: grid;
}

.btn-dot > svg {
	width: 0.875rem;
	height: 0.875rem;
	color: var(--btn-bg, #fff);
}

.btn:hover .btn-dot {
	transform: rotate(45deg);
}

.btn-solid,
.wp-element-button.btn-solid {
	--btn-bg: var(--color-ink);
	--fill: var(--color-lime);
	--on: var(--color-ink);
	border-color: var(--color-ink);
	background: var(--color-ink);
	color: #fff;
}

.btn-solid .btn-dot {
	background: var(--color-lime);
}

.btn-solid .btn-dot > svg {
	color: var(--color-ink);
}

.btn-light,
.wp-element-button.btn-light {
	--btn-bg: #fff;
	--fill: var(--color-lime);
	--on: var(--color-ink);
	color: var(--color-ink);
	background: #fff;
	border-color: #fff;
}

.btn-light .btn-dot > svg {
	color: #fff;
}

.btn-lime,
.wp-element-button.btn-lime {
	--btn-bg: var(--color-lime);
	--fill: var(--color-ink);
	border-color: var(--color-lime);
	background: var(--color-lime);
	color: var(--color-ink);
}

.btn-lime .btn-dot > svg {
	color: var(--color-lime);
}

.btn-glass,
.wp-element-button.btn-glass {
	--fill: #fff;
	--on: var(--color-ink);
	--press: var(--color-paper);
	--on-press: var(--color-ink);
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.35);
}

.btn-glass .btn-dot {
	background: #fff;
}

.btn-glass .btn-dot > svg {
	color: var(--color-forest);
}

.btn-glass:hover .btn-dot {
	background: var(--color-ink);
}

.btn-glass:hover .btn-dot > svg {
	color: #fff;
}

/* On the Deep green band (section-ink), the default (outline) pill is the White pill its section
 * style names, so it doesn't stay ink on deep green. Its states are the White pill's. */
.is-style-section-ink .wp-element-button.btn:not(.btn-solid, .btn-lime, .btn-glass) {
	--btn-bg: #fff;
	--fill: var(--color-lime);
	--on: var(--color-ink);
	color: var(--color-ink);
	background: #fff;
	border-color: #fff;
}

.is-style-section-ink .wp-element-button.btn:not(.btn-solid, .btn-lime, .btn-glass):hover {
	border-color: var(--color-lime);
}

.is-style-section-ink .wp-element-button.btn:not(.btn-solid, .btn-lime, .btn-glass):active {
	color: #fff;
	border-color: var(--color-forest);
}

.chip-btn {
	min-height: 2.75rem;
	border: 1px solid var(--color-line);
	border-radius: 999px;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.95rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	transition: background-color 0.35s, color 0.35s, border-color 0.35s;
	display: inline-flex;
	background: transparent;
	color: inherit;
}

.chip-btn:hover {
	border-color: var(--color-ink);
}

.chip-btn[aria-pressed="true"] {
	border-color: var(--color-ink);
	background: var(--color-ink);
	color: #fff;
}

/* Liquid glass (4.14). The field is also the panel's own background, so a panel without the
 * field spans (the editor) still reads as glass. */
.glass {
	--g-base: #0d3a2a;
	--g-mid: #157244;
	--g-a: var(--color-lime);
	--g-b: var(--color-aqua);
	--g-c: var(--color-cobalt);
	--flute: clamp(34px, 4.2vw, 70px);
	isolation: isolate;
	background:
		radial-gradient(38% 52% at 50% 75%, var(--g-b) 0%, transparent 70%),
		radial-gradient(60% 70% at 4% 104%, var(--g-c) 0%, transparent 62%),
		linear-gradient(155deg, var(--g-base) 8%, var(--g-mid) 56%, var(--g-base) 100%);
	background-color: var(--g-base);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.glass[data-glass] {
	background: var(--g-base);
}

.glass-blue,
.glass[data-tone="blue"] {
	--g-base: #050b18;
	--g-mid: #0f2c6b;
	--g-a: #9fd8ff;
	--g-b: #2a6cf0;
	--g-c: #0a1a3f;
}

.glass-light,
.glass[data-tone="light"] {
	--g-base: #dff8ee;
	--g-mid: #c9f5e4;
	--g-a: #b7ee2a;
	--g-b: #7ff0dd;
	--g-c: #3fb54a;
	color: var(--color-ink);
}

.glass-light:not([data-glass]) {
	background: linear-gradient(120deg, #8ff0e2 0%, #d8f9e6 42%, #b6ec2a 78%, #47b847 100%);
}

.glass-field {
	z-index: -3;
	background:
		radial-gradient(38% 52% at 50% 75%, var(--g-b) 0%, transparent 70%),
		radial-gradient(60% 70% at 4% 104%, var(--g-c) 0%, transparent 62%),
		linear-gradient(155deg, var(--g-base) 8%, var(--g-mid) 56%, var(--g-base) 100%);
	animation: 22s ease-in-out infinite alternate drift;
	position: absolute;
	inset: -12%;
	pointer-events: none;
}

.glass[data-tone="light"] .glass-field {
	background:
		radial-gradient(40% 60% at 50% 85%, var(--g-b) 0%, transparent 70%),
		radial-gradient(50% 60% at 0% 100%, #fff 0%, transparent 70%),
		linear-gradient(120deg, #8ff0e2 0%, #d8f9e6 42%, #b6ec2a 78%, #47b847 100%);
}

.glass-glow {
	background: radial-gradient(closest-side, var(--g-a) 0%, transparent 72%);
	will-change: transform;
	width: 84%;
	height: 116%;
	position: absolute;
	top: 18%;
	left: 72%;
	translate: -50% -50%;
}

.glass[data-tone="light"] .glass-glow {
	width: 96%;
	height: 140%;
}

.glass[data-idle] .glass-field {
	animation-play-state: paused;
}

.glass-flutes {
	z-index: -2;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) calc(var(--flute) * 0.32), rgba(0, 0, 0, 0.08) calc(var(--flute) * 0.86), rgba(255, 255, 255, 0.14) var(--flute));
	mix-blend-mode: soft-light;
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.glass::after {
	content: "";
	z-index: -1;
	pointer-events: none;
	opacity: 0.32;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	position: absolute;
	inset: 0;
}

@keyframes drift {

	0% {
		transform: translate(-2%, -1%) scale(1);
	}

	to {
		transform: translate(2%, 2%) scale(1.06);
	}
}

.frost {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.09));
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
}

.glass[data-tone="light"] .frost,
.glass-light .frost {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
	border-color: rgba(10, 15, 12, 0.12);
}

/* The hand-drawn circle (4.4). Without its svg (the editor) the circle is a background. */
.circled {
	white-space: nowrap;
	display: inline-block;
	position: relative;
}

.circled > svg {
	pointer-events: none;
	width: 114%;
	height: 124%;
	position: absolute;
	top: -10%;
	left: -7%;
	overflow: visible;
}

.circled path {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6px;
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
}

.circled:not(:has(svg))::after {
	content: "";
	position: absolute;
	width: 114%;
	height: 124%;
	top: -10%;
	left: -7%;
	background: currentColor;
	-webkit-mask: var(--circle) center / 100% 100% no-repeat;
	mask: var(--circle) center / 100% 100% no-repeat;
	pointer-events: none;
}

.line-mask {
	margin: -0.12em -0.2em -0.14em;
	padding: 0.12em 0.2em 0.14em;
}

.stack > * {
	opacity: 0;
	transition: opacity 0.9s var(--ease-out-soft), transform 1.6s var(--ease-out-soft);
	transform: scale(1.06);
}

.stack > [data-active] {
	opacity: 1;
	transform: scale(1);
}

.fold {
	transition: grid-template-rows 0.7s var(--ease-silk);
	grid-template-rows: 0fr;
	display: grid;
}

.fold > * {
	min-height: 0;
	overflow: hidden;
}

[data-open] > .fold,
[data-open] > * > .fold {
	grid-template-rows: 1fr;
}

[data-open] .fold-icon {
	transform: rotate(45deg);
}

[data-fit] {
	white-space: nowrap;
	display: inline-block;
	text-wrap-mode: nowrap !important;
}

.portrait img {
	filter: grayscale(1) contrast(1.05);
	transition: filter 0.9s var(--ease-silk), transform 1.6s var(--ease-out-soft);
}

.portrait:hover img {
	filter: grayscale(0);
	transform: scale(1.04);
}

.meter {
	background: color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 999px;
	height: 0.25rem;
	overflow: hidden;
}

.meter > span {
	border-radius: inherit;
	transform-origin: 0;
	background: currentColor;
	height: 100%;
	display: block;
}

[data-drag-track] {
	scrollbar-width: none;
	cursor: grab;
}

[data-drag-track]::-webkit-scrollbar {
	display: none;
}

[data-drag-track][data-dragging] {
	cursor: grabbing;
	scroll-snap-type: none;
}

[data-drag-track][data-dragging] * {
	pointer-events: none;
}

[data-progress] {
	transform-origin: 0;
	transform: scaleX(var(--progress, 0));
}

[data-lightbox-dialog] {
	background: var(--color-deeper);
	color: #fff;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	border: 0;
	padding: 0;
}

[data-lightbox-dialog]::backdrop {
	background: var(--color-deeper);
}

[data-lightbox-dialog][open] [data-lightbox-img] {
	animation: lightbox-in 0.8s var(--ease-out-soft);
}

@keyframes lightbox-in {

	0% {
		opacity: 0;
		transform: scale(0.96);
	}
}

.prose-body {
	font-size: clamp(1rem, 1.1vw, 1.125rem);
	line-height: 1.7;
}

.prose-body > * + * {
	margin-top: 1.2em;
}

.prose-body h2 {
	font-family: var(--font-display);
	font-size: var(--text-display-sm);
	letter-spacing: -0.035em;
	margin-top: 2em;
	font-weight: 500;
	line-height: 1.1;
}

.prose-body h3 {
	margin-top: 1.8em;
	font-weight: 600;
	font-size: 1.125rem;
}

.prose-body ul {
	padding-left: 1.2em;
	list-style: outside;
}

.prose-body li::marker {
	color: var(--color-signal);
}

.prose-body a {
	text-decoration: underline;
	text-decoration-color: var(--color-signal);
	text-underline-offset: 0.2em;
}

.prose-body blockquote,
.prose-body .wp-block-pullquote {
	border-left: 2px solid var(--color-lime);
	padding: 0 0 0 1.25em;
	font-size: 1.25em;
	line-height: 1.4;
	text-align: left;
}

@keyframes marquee {

	to {
		transform: translate(-50%);
	}
}

@keyframes twinkle {

	0%,
	to {
		opacity: 1;
		rotate: 0deg;
		scale: 1;
	}

	50% {
		opacity: 0.6;
		rotate: 45deg;
		scale: 0.6;
	}
}

@keyframes pulse-dot {

	0% {
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-lime) 80%, transparent);
	}

	80%,
	to {
		box-shadow: 0 0 0 0.6rem transparent;
	}
}

.pl-pulse {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--color-lime);
	animation: pulse-dot 2s ease-out infinite;
}

/* ---------- Motion pre-hide (CSS:743), front end only ---------- */

html.motion [data-reveal]:not([data-armed]),
html.motion [data-lines]:not([data-armed]),
html.motion [data-load]:not([data-armed]) {
	visibility: hidden;
	animation: 0s 3s forwards appear;
}

html.motion [data-clip]:not([data-armed]) {
	clip-path: inset(100% 0 0);
	animation: 0s 3s forwards appear;
}

@keyframes appear {

	to {
		visibility: visible;
		clip-path: inset(0);
	}
}

/* ---------- Chrome: preloader (4.1) ---------- */

.pl-preloader {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.25rem;
}

[data-preloader] {
	animation: 0s 4.5s forwards preloader-out;
}

html:not(.motion) [data-preloader],
html.loaded [data-preloader] {
	display: none !important;
}

@keyframes preloader-out {

	to {
		visibility: hidden;
	}
}

.pl-preloader-word {
	display: flex;
	overflow: hidden;
	font-size: clamp(4.5rem, 17vw, 16rem);
	line-height: 0.95;
	letter-spacing: -0.07em;
}

.pl-preloader-word > span {
	display: inline-block;
}

.pl-preloader-foot {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pl-preloader-line {
	height: 1px;
	flex: 1;
	transform-origin: left;
	background: #fff;
}

.pl-preloader-pill {
	gap: 0.75rem;
	padding: 0.5rem 1rem;
	color: var(--color-forest);
}

.pl-preloader-count {
	font-variant-numeric: tabular-nums;
}

@media (width >= 48rem) {

	.pl-preloader {
		padding: 2.5rem;
	}
}

/* Pills with the date from the platform: "17–18 Jun 2027 · Lisbon". */
.pl-pill {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 0.3em;
	border-radius: 999px;
	background: #fff;
	color: var(--color-ink);
	padding: 0.5rem 1.25rem;
	font-weight: 500;
	white-space: nowrap;
}

.pl-pill-forest {
	color: var(--color-forest);
}

.pl-date {
	display: inline;
	margin: 0;
	font-size: inherit;
	color: inherit;
}

.pl-date .amx-time,
.pl-date .amx-zone {
	display: none;
}

.pl-date .amx-date {
	display: inline;
	font-weight: inherit;
	font-size: inherit;
	color: inherit;
}

.pl-date time,
.pl-date .amx-now {
	color: inherit;
}

.pl-date .amx-was {
	opacity: 0.6;
}

.pl-rule {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pl-rule::before {
	content: "";
	height: 1px;
	flex: 1;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), #fff);
}

.pl-rule-both::after {
	content: "";
	height: 1px;
	flex: 1;
	background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}

.pl-rule-both::before {
	background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

/* ---------- Chrome: header (4.17) ---------- */

.pl-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
}

.admin-bar .pl-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

[data-header] {
	color: var(--color-ink);
	transition: transform 0.8s var(--ease-silk), color 0.4s, background-color 0.4s, border-color 0.4s;
}

[data-header][data-solid] {
	background: color-mix(in srgb, var(--color-page) 86%, transparent);
	border-color: var(--color-line);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

[data-header][data-on-dark]:not([data-solid]),
[data-menu-open] [data-header] {
	color: #fff;
}

[data-menu-open] [data-header] {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: 0 0 !important;
	border-color: transparent !important;
}

[data-header][data-hidden] {
	transform: translateY(-100%);
}

[data-header] .btn-solid {
	transition: color 0.55s var(--ease-silk), background-color 0.4s, border-color 0.4s;
}

[data-header][data-on-dark]:not([data-solid]) .btn-solid,
[data-menu-open] [data-header] .btn-solid {
	--btn-bg: #fff;
	color: var(--color-ink);
	background: #fff;
	border-color: #fff;
}

[data-header][data-on-dark]:not([data-solid]) .btn-solid .btn-dot,
[data-menu-open] [data-header] .btn-solid .btn-dot {
	background: var(--color-ink);
}

[data-header][data-on-dark]:not([data-solid]) .btn-solid .btn-dot > svg,
[data-menu-open] [data-header] .btn-solid .btn-dot > svg {
	color: #fff;
}

.pl-header-in {
	display: flex;
	height: 4rem;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.pl-logo a {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: inherit;
	text-decoration: none;
}

.pl-logo-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 1px solid currentColor;
	border-radius: 999px;
}

.pl-logo-mark::before {
	content: "";
	width: 55%;
	height: 55%;
	background: currentColor;
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
}

.pl-logo-name {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.045em;
	font-size: 1.25rem;
	line-height: 1.75rem;
}

.pl-logo-ed {
	display: none;
	transform: translateY(1px);
	opacity: 0.6;
}

.pl-nav {
	display: none;
	margin-right: auto;
	margin-left: 1.5rem;
}

.pl-nav .wp-block-navigation__container {
	gap: 1.75rem;
}

.pl-nav .wp-block-navigation-item__content {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin-block: -0.6875rem;
	color: inherit;
	padding: 0;
	text-decoration: none;
}

.pl-header-end {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.pl-header-date {
	display: none;
	align-items: center;
	gap: 0.3em;
}

.pl-header-date::before {
	content: "";
	width: 0.625rem;
	height: 0.625rem;
	margin-right: 0.2rem;
	background: currentColor;
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
}

.pl-header-city {
	opacity: 0.6;
}

.pl-header-btns {
	gap: 1rem;
	flex-wrap: nowrap;
	align-items: center;
}

.pl-header-btns .pl-header-cta {
	display: none;
}

.pl-header-cta .btn {
	min-height: 2.75rem;
	gap: 0.75rem;
	padding-block: 0.25rem;
	padding-left: 1rem;
	font-size: 0.875rem;
}

.pl-header-cta .btn-dot {
	width: 1.75rem;
	height: 1.75rem;
}

.pl-menu-toggle,
.wp-element-button.pl-menu-toggle {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
}

.pl-menu-toggle-label {
	display: none;
}

.pl-menu-icon {
	display: flex;
	width: 1.5rem;
	flex-direction: column;
	gap: 0.375rem;
}

.pl-menu-icon span {
	display: block;
	height: 1px;
	width: 100%;
	background: currentColor;
}

[data-menu-icon] span {
	transition: transform 0.6s var(--ease-silk);
}

[data-menu-open] [data-menu-icon] span:first-child {
	transform: translateY(3px) rotate(45deg);
}

[data-menu-open] [data-menu-icon] span:last-child {
	transform: translateY(-3px) rotate(-45deg);
}

.pl-header .amx-announcement {
	margin: 0;
	border-radius: 0;
	text-align: center;
}

@media (width >= 40rem) {

	.pl-logo-ed,
	.pl-menu-toggle-label {
		display: inline;
	}

	.pl-header-btns .pl-header-cta {
		display: block;
	}
}

@media (width >= 48rem) {

	.pl-header-in {
		height: 5rem;
	}

	.pl-logo-name {
		font-size: 1.5rem;
		line-height: 2rem;
	}

	.pl-header-end {
		gap: 1.5rem;
	}
}

@media (width >= 64rem) {

	.pl-nav {
		display: flex;
	}
}

@media (width >= 80rem) {

	.pl-header-date {
		display: flex;
	}
}

/* ---------- Chrome: full-screen menu (4.18) ---------- */

.pl-menu {
	position: fixed;
	inset: 0;
	z-index: 40;
	overflow-y: auto;
}

[data-menu] {
	clip-path: inset(0 0 100% round 0 0 2rem 2rem);
	visibility: hidden;
	transition: clip-path 1s var(--ease-silk), visibility 0s 1s;
}

[data-menu-open] [data-menu] {
	clip-path: inset(0);
	visibility: visible;
	transition: clip-path 1s var(--ease-silk);
}

.pl-menu-in {
	display: grid;
	min-height: 100%;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-top: 6rem;
	padding-bottom: 2.5rem;
}

.pl-menu-list {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pl-menu-link {
	display: flex;
	align-items: baseline;
	gap: 1.25rem;
	border-bottom: 1px solid var(--color-line-light);
	padding-block: 0.5rem;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.5s, color 0.5s;
}

[data-menu-list]:hover .pl-menu-link:not(:hover) {
	opacity: 0.3;
}

.pl-menu-link .label {
	width: 1.5rem;
	flex: none;
	color: rgba(255, 255, 255, 0.55);
}

.pl-menu-link .display {
	font-size: clamp(2.25rem, 7svh, 5.25rem);
	transition: transform 0.7s var(--ease-out-soft);
}

.pl-menu-link:hover .display {
	transform: translateX(0.75rem);
}

.pl-menu-side {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2rem;
	color: rgba(255, 255, 255, 0.8);
}

.pl-menu-card {
	border-radius: var(--radius-card);
	padding: 1.25rem;
}

.pl-menu-card-k {
	color: rgba(255, 255, 255, 0.6);
}

.pl-menu-card-date {
	display: block;
	margin-top: 0.5rem;
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 500;
	letter-spacing: -0.03em;
	color: #fff;
}

.pl-menu-card-venue {
	margin-top: 0.25rem;
	font-size: 0.875rem;
}

.pl-menu-links {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.875rem;
}

.pl-menu-links a {
	color: inherit;
	text-decoration: none;
}

@media (width >= 48rem) {

	.pl-menu-in {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		padding-top: 7rem;
	}

	.pl-menu-list {
		grid-column: span 8 / span 8;
	}

	.pl-menu-link {
		padding-block: 0.625rem;
	}

	.pl-menu-side {
		grid-column: 10 / span 3;
	}
}

/* ---------- Chrome: cursor disc (4.16) ---------- */

.pl-cursor {
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	margin: -2.75rem 0 0 -2.75rem;
	display: none;
	width: 5.5rem;
	height: 5.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--color-lime);
	color: var(--color-ink);
}

@media (pointer: fine) {

	.pl-cursor {
		display: flex;
	}
}

[data-cursor] {
	opacity: 0;
	transition: opacity 0.35s, scale 0.5s var(--ease-silk);
	scale: 0.4;
}

[data-cursor][data-on] {
	opacity: 1;
	scale: 1;
}

/* ---------- Chrome: footer ---------- */

.pl-footer {
	margin-bottom: 0.5rem;
}

.pl-footer-in {
	padding-top: 5rem;
}

.pl-footer-top,
.pl-footer-mid {
	display: grid;
	gap: 3rem;
}

.pl-footer-statement {
	font-size: var(--text-display-lg);
}

.pl-footer-letter-t {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: rgba(255, 255, 255, 0.7);
}

.pl-footer-letter-row {
	margin-top: 1.25rem;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	border-radius: 999px;
	padding: 0.375rem 0.375rem 0.375rem 1.25rem;
}

/* The original's field placeholder is now the address the button writes to: set as text, not as a
 * faded placeholder, so the pill doesn't read as a field to type into. */
.pl-footer-letter-hint {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.9);
}

.pl-footer-subscribe a {
	display: block;
	border-radius: 999px;
	background: #fff;
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s;
}

.pl-footer-subscribe a:hover {
	background: var(--color-lime);
}

.pl-footer-mid {
	margin-top: 5rem;
}

.pl-footer-address {
	font-size: 0.875rem;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.75);
}

.pl-footer-address > * + * {
	margin-top: 1rem;
}

:where(.pl-footer) a {
	color: inherit;
	text-decoration: none;
}

.pl-footer-mail a {
	display: block;
	color: #fff;
}

.pl-footer-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}

.pl-footer-k {
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.55);
}

.pl-footer-col ul {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.pl-footer-col li + li {
	margin-top: 0.5rem;
}

/* 44 px links on a 20 px line: the box is real, the negative margins give the height back. */
.pl-footer-col a,
.pl-footer-legal-links a {
	display: inline-flex;
	vertical-align: top;
	align-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin-block: -0.75rem;
}

.pl-footer-legal-links a {
	margin-block: -0.875rem;
}

.pl-footer-col a:hover {
	color: var(--color-lime);
}

.pl-footer-rule {
	margin-top: 4rem;
}

.pl-footer-rule::before {
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), #fff);
}

.pl-footer-rule .pl-pill {
	padding: 0.375rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.pl-footer-legal {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-block: 1rem;
	color: rgba(255, 255, 255, 0.6);
}

.pl-footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.pl-footer-legal a:hover {
	color: #fff;
}

.pl-wordmark {
	position: relative;
	padding: 0 0.75rem 0.5rem;
}

.pl-wordmark-t {
	line-height: 0.8;
	letter-spacing: -0.07em;
	color: #fff;
}

/* 40%: 3.3:1 on the glass's #0D3A2A base (the original's 35% was 2.9:1). */
.pl-wordmark-t > span {
	color: rgba(255, 255, 255, 0.4);
}

.pl-wordmark-star {
	top: 8%;
	right: 6%;
	width: clamp(1.5rem, 4vw, 4rem);
	height: clamp(1.5rem, 4vw, 4rem);
}

@media (width >= 40rem) {

	.pl-footer-cols {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (width >= 48rem) {

	.pl-footer {
		margin-bottom: 0.75rem;
	}

	.pl-footer-in {
		padding-top: 7rem;
	}

	.pl-footer-top,
	.pl-footer-mid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.pl-footer-top {
		align-items: end;
	}

	.pl-footer-statement {
		grid-column: span 7 / span 7;
	}

	.pl-footer-letter {
		grid-column: 9 / span 4;
	}

	.pl-footer-address {
		grid-column: span 4 / span 4;
	}

	.pl-footer-cols {
		grid-column: span 8 / span 8;
	}

	.pl-wordmark {
		padding-inline: 1.25rem;
	}
}

/* ---------- Sections: shared heads ---------- */

.pl-head {
	display: grid;
	gap: 2rem;
}

.pl-head-side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.pl-head-intro {
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.625;
}

@media (width >= 48rem) {

	.pl-head {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: end;
	}

	.pl-head-main {
		grid-column: span 7 / span 7;
	}

	.pl-head-side {
		grid-column: 9 / span 4;
		align-items: flex-end;
		text-align: right;
	}
}

/* Image frames: the photo covers a fixed-ratio frame on paper. */
.pl-media {
	position: relative;
	overflow: hidden;
	background: var(--color-paper);
}

.pl-media .pl-cover,
.pl-media .pl-parallax {
	position: absolute;
	inset: 0;
	margin: 0;
}

.pl-media .pl-parallax .pl-cover {
	position: absolute;
	inset: 0;
}

.pl-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Home: hero ---------- */

.pl-hero {
	margin-top: 0.5rem;
	display: flex;
	min-height: calc(100svh - 1rem);
	flex-direction: column;
}

.pl-hero::before {
	content: "";
	position: absolute;
	top: -14%;
	right: -12%;
	z-index: -1;
	width: min(70vw, 58rem);
	height: min(70vw, 58rem);
	background: rgba(255, 255, 255, 0.07);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
	pointer-events: none;
}

.pl-hero-star-1 {
	display: none;
	top: 30%;
	right: 8%;
	width: 2.5rem;
	height: 2.5rem;
}

.pl-hero-star-2 {
	display: none;
	bottom: 34%;
	left: 46%;
	animation-delay: 1.2s;
}

.pl-hero-in {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding-top: 5rem;
	padding-bottom: 1.25rem;
}

.pl-hero-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

/* The date tile: year, month and weekday beside the day, from the date block's split parts. */
.pl-datetile {
	display: flex;
	margin: 0;
	border-radius: 1rem;
	padding: 0.625rem 0.75rem 0.625rem 1rem;
	color: #fff;
}

.pl-datetile time {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto auto;
	align-items: center;
	column-gap: 0.75rem;
	font-size: 0;
	text-align: right;
}

.pl-datetile time > span,
.pl-datetile .amx-zone,
.pl-datetile .amx-dt-end,
.pl-datetile .amx-dt-time,
.pl-datetile .amx-was,
.pl-datetile .amx-now {
	display: none;
}

.pl-datetile time > .amx-dt-year,
.pl-datetile time > .amx-dt-month,
.pl-datetile time > .amx-dt-weekday,
.pl-datetile time > .amx-dt-day {
	display: block;
	grid-column: 1;
	font-size: 0.8125rem;
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}

.pl-datetile time > .amx-dt-year {
	grid-row: 1;
	align-self: end;
	font-size: 0.625rem;
	opacity: 0.7;
}

.pl-datetile time > .amx-dt-month {
	grid-row: 2;
}

.pl-datetile time > .amx-dt-weekday {
	grid-row: 3;
	align-self: start;
}

.pl-datetile time > .amx-dt-day {
	grid-column: 2;
	grid-row: 1 / span 3;
	display: grid;
	place-items: center;
	height: 3rem;
	min-width: 3rem;
	padding-inline: 0.5rem;
	border-radius: 0.75rem;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.09));
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
	font-size: 1.875rem;
	line-height: 1;
	letter-spacing: -0.05em;
}

.pl-hero-title {
	margin-top: auto;
	max-width: 15ch;
	padding-top: 2rem;
	font-size: var(--text-display-hero);
}

.pl-hero-rule {
	display: none;
	margin-top: 1.5rem;
}

.pl-pill-lg {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.pl-hero-row {
	margin-top: 1.5rem;
	display: grid;
	gap: 1.5rem;
}

.pl-hero-intro {
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.8);
}

.pl-countdown {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.pl-cd-cell {
	display: flex;
	min-width: 4.25rem;
	flex-direction: column;
	align-items: center;
	border-radius: 0.75rem;
	padding: 0.625rem 0.5rem;
}

.pl-cd-value {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 500;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}

.pl-cd-label {
	margin-top: 0.25rem;
	font-size: 0.625rem;
	opacity: 0.7;
}

.pl-cd-live {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	padding: 1rem 1.25rem;
	font-size: 1.25rem;
	font-weight: 500;
}

.pl-hero-stats {
	margin-top: 1.5rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pl-stat {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	padding-top: 1rem;
}

.pl-stat strong {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 500;
	letter-spacing: -0.04em;
}

.pl-stat span {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: rgba(255, 255, 255, 0.65);
}

@media (width >= 40rem) {

	.pl-hero-rule {
		display: flex;
	}
}

@media (width >= 48rem) {

	.pl-hero {
		margin-top: 0.75rem;
	}

	.pl-hero-star-1,
	.pl-hero-star-2 {
		display: block;
	}

	.pl-hero-in {
		padding-top: 7rem;
		padding-bottom: 2rem;
	}

	.pl-datetile {
		padding: 0.75rem 1rem 0.75rem 1.25rem;
	}

	.pl-datetile time {
		column-gap: 1rem;
	}

	.pl-datetile time > .amx-dt-month,
	.pl-datetile time > .amx-dt-weekday {
		font-size: 1rem;
	}

	.pl-datetile time > .amx-dt-year {
		font-size: 0.75rem;
	}

	.pl-datetile time > .amx-dt-day {
		height: 4rem;
		min-width: 4rem;
		font-size: 3rem;
	}

	.pl-hero-title {
		padding-top: 2.5rem;
	}

	.pl-hero-rule {
		margin-top: 2rem;
	}

	.pl-pill-lg {
		padding-inline: 1.25rem;
		font-size: 1rem;
		line-height: 1.5rem;
	}

	.pl-hero-row {
		margin-top: 2rem;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: end;
		gap: 2rem;
	}

	.pl-hero-intro {
		grid-column: span 4 / span 4;
		font-size: 1.125rem;
	}

	.pl-countdown {
		grid-column: span 4 / span 4;
		justify-content: center;
	}

	.pl-cd-cell {
		min-width: 5rem;
		padding-block: 0.75rem;
	}

	.pl-cd-value {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}

	/* Pinned to the last four columns, so they stay on the right when the countdown is gone
	 * (pre-sale, ended, cancelled: the countdown block renders nothing). */
	.pl-hero-ctas {
		grid-column: 9 / span 4;
		justify-content: flex-end;
	}

	.pl-hero-stats {
		margin-top: 2rem;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.pl-stat {
		padding-top: 1.25rem;
	}

	.pl-stat strong {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

/* Short viewports (the original's short: variant) drop the date rule and the facts. */
@media (height <= 760px) {

	.pl-hero-rule,
	.pl-hero-stats {
		display: none;
	}
}

/* ---------- Home: topics marquee (4.11) ---------- */

.pl-marquee {
	position: relative;
	overflow: hidden;
	border-block: 1px solid var(--color-line);
	padding-block: 1.5rem;
}

.pl-marquee-track {
	display: flex;
	width: max-content;
}

.animate-marquee {
	animation: marquee 48s linear infinite;
}

.pl-marquee-track:hover,
.pl-marquee:focus-within .pl-marquee-track,
[data-marquee][data-paused] .pl-marquee-track {
	animation-play-state: paused;
}

.pl-marquee-list {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.pl-marquee-list li {
	display: flex;
	align-items: center;
	padding-left: 0.35em;
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 0.92;
	letter-spacing: -0.055em;
	font-size: clamp(2.5rem, 6vw, 6rem);
	white-space: nowrap;
}

.pl-marquee-list li::after {
	content: "";
	flex: none;
	margin-left: 0.35em;
	width: clamp(1rem, 2vw, 2rem);
	height: clamp(1rem, 2vw, 2rem);
	background: var(--color-signal);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
}

/* Theme: the pause control the guidelines ask of loops, small at the band's right end. */
.pl-marquee-ctl {
	position: absolute;
	right: var(--wp--custom--gutter);
	bottom: 0.5rem;
}

.wp-element-button.pl-marquee-toggle {
	padding: 0.25rem 0.75rem;
	background: rgba(255, 255, 255, 0.9);
	color: var(--color-ink);
	font-size: 0.75rem;
}

@media (width >= 48rem) {

	.pl-marquee {
		padding-block: 2rem;
	}

	.pl-marquee-ctl {
		right: var(--wp--custom--gutter-wide);
	}
}

/* ---------- Home: about intro ---------- */

.pl-about-grid {
	display: grid;
	gap: 2.5rem;
}

.pl-about-side {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

.pl-about-photo {
	aspect-ratio: 4 / 5;
	width: 8rem;
	border-radius: var(--radius-card);
}

.pl-wordfill-text {
	font-size: var(--text-display-md);
}

.pl-about-notes {
	margin-top: 3rem;
	display: grid;
	gap: 2rem;
	border-top: 1px solid var(--color-line);
	padding-top: 2rem;
}

.pl-note {
	display: flex;
	gap: 0.75rem;
	font-size: 1rem;
	line-height: 1.625;
	color: var(--color-graphite);
}

.pl-note::before {
	content: "";
	flex: none;
	margin-top: 0.375rem;
	width: 0.625rem;
	height: 0.625rem;
	background: var(--color-signal);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
}

@media (width >= 40rem) {

	.pl-about-notes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pl-about-cta {
		grid-column: span 2 / span 2;
	}
}

@media (width >= 48rem) {

	.pl-about-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.pl-about-side {
		grid-column: span 3 / span 3;
		flex-direction: column;
	}

	.pl-about-photo {
		width: 100%;
		max-width: 14rem;
	}

	.pl-about-main {
		grid-column: span 9 / span 9;
	}

	.pl-about-notes {
		margin-top: 4rem;
	}
}

/* ---------- Home: speakers spotlight (4.12, 4.13) ---------- */

.pl-spot {
	--spot: clamp(9rem, 18vw, 17rem);
	position: relative;
	overflow: hidden;
	background: var(--color-deeper);
	color: #fff;
	padding-block: 5rem;
}

.pl-spot .pl-head-intro {
	color: rgba(255, 255, 255, 0.7);
}

.pl-spot .amx-speakers {
	margin: 0;
}

.pl-spot-stage {
	position: relative;
	margin-top: 3.5rem;
}

/* The names at rest are links, so they keep 3:1 (white at 34% on #06140E is 3.1:1; the original's
 * 14% was 1.5:1, unreadable without the torch, which touch screens never get). */
.pl-spot-dim {
	color: rgba(255, 255, 255, 0.34);
}

.pl-spot-names {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.055em;
	text-wrap: balance;
	font-size: clamp(2.25rem, 6.4vw, 7.5rem);
	line-height: 1.02;
}

.pl-spot-dim a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.pl-spot-dim a:hover,
.pl-spot-dim a:focus-visible {
	color: #fff;
}

.pl-spot-star {
	display: inline-block;
	width: 0.32em;
	height: 0.32em;
	margin-inline: 0.25em;
	transform: translateY(-0.12em);
	color: var(--color-lime);
}

[data-spotlight-window] {
	width: calc(var(--spot) * 1.44);
	aspect-ratio: 1;
	will-change: transform;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(closest-side, #000 42%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 42%, transparent 100%);
}

/* Until the script places it (or without the script), the torch stays off. */
[data-spotlight-window]:not([style]) {
	visibility: hidden;
}

[data-spotlight-lit] {
	will-change: transform;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
}

[data-spotlight-glow] {
	width: calc(var(--spot) * 3.2);
	aspect-ratio: 1;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--color-lime) 22%, transparent), transparent 70%);
	position: absolute;
	top: 0;
	left: 0;
	will-change: transform;
	pointer-events: none;
}

.pl-preview-frame {
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
	display: none;
	width: 12rem;
}

.pl-preview-frame .stack {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: var(--color-forest);
}

.pl-preview-img {
	position: absolute;
	inset: 0;
}

.pl-preview-img img,
.pl-preview-img .amx-monogram {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

[data-preview-frame] {
	opacity: 0;
	transition: opacity 0.35s;
}

[data-preview-frame][data-on] {
	opacity: 1;
}

[data-preview-frame] > div {
	clip-path: inset(50% 0 50% 0 round var(--radius-card));
	transition: clip-path 0.8s var(--ease-silk);
}

[data-preview-frame][data-on] > div {
	clip-path: inset(0 0 0 0 round var(--radius-card));
}

@media (width >= 48rem) {

	.pl-spot {
		padding-block: 8rem;
	}

	.pl-spot-stage {
		margin-top: 5rem;
	}

	.pl-preview-frame {
		display: block;
	}
}

@media (width >= 64rem) {

	.pl-preview-frame {
		width: 15rem;
	}
}

/* ---------- Home: last year, in numbers ---------- */

.pl-numbers-grid {
	display: grid;
	gap: 0.75rem;
}

.pl-numbers-head {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 1.5rem;
}

.pl-numbers-head .pl-h2 {
	margin-top: 0;
}

.pl-tiles {
	display: grid;
	gap: 0.75rem;
}

.pl-tile {
	position: relative;
	display: flex;
	min-height: 14rem;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	border-radius: var(--radius-panel);
	padding: 1.5rem;
}

.pl-tile-lime {
	background: var(--color-lime);
	color: var(--color-ink);
}

.pl-tile-paper {
	background: var(--color-paper);
	color: var(--color-ink);
}

.pl-tile-ink {
	background: var(--color-ink);
	color: #fff;
}

.pl-tile-k {
	max-width: 20ch;
	font-size: 0.9375rem;
	line-height: 1.375;
	opacity: 0.8;
}

.pl-tile-n {
	font-size: clamp(3.5rem, 8vw, 7.5rem);
	letter-spacing: -0.07em;
}

.pl-tile-star {
	top: 1.5rem;
	right: 1.5rem;
	width: 1rem;
	height: 1rem;
	color: var(--color-ink);
	animation: none;
}

.pl-tile-star.pl-star-lime {
	color: var(--color-lime);
}

@media (width >= 40rem) {

	.pl-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width >= 48rem) {

	.pl-numbers-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 1rem;
	}

	.pl-numbers-head {
		grid-column: span 4 / span 4;
		padding-right: 1.5rem;
	}

	.pl-tiles {
		grid-column: span 8 / span 8;
		gap: 1rem;
	}

	.pl-tile {
		min-height: 18rem;
		padding: 2rem;
	}

	.pl-tile-star {
		top: 2rem;
		right: 2rem;
	}
}

/* ---------- Home: why come ---------- */

.pl-cards {
	margin-top: 3rem;
	display: grid;
	gap: 0.75rem;
}

.pl-card {
	display: flex;
	min-height: 16rem;
	flex-direction: column;
	border-radius: var(--radius-panel);
	background: var(--color-paper);
	padding: 1.5rem;
	transition: background-color 0.5s;
}

.pl-card-n {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--color-graphite);
}

.pl-card-n::after {
	content: "";
	width: 1rem;
	height: 1rem;
	background: var(--color-signal);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
	transition: transform 0.7s var(--ease-out-soft);
}

.pl-card-t {
	margin-top: auto;
	padding-top: 2.5rem;
	font-size: 1.5rem;
	line-height: 1.3333; /* text-2xl's, kept at md:text-[1.75rem] as on the original */
	font-weight: 500;
	letter-spacing: -0.035em;
}

.pl-card-p {
	margin-top: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.625;
	color: var(--color-graphite);
}

@media (hover: hover) {

	.pl-card:hover {
		background: var(--color-lime);
	}

	.pl-card:hover .pl-card-n {
		color: var(--color-ink);
	}

	.pl-card:hover .pl-card-n::after {
		transform: rotate(90deg);
		background: var(--color-ink);
	}

	.pl-card:hover .pl-card-p {
		color: color-mix(in srgb, var(--color-ink) 75%, transparent);
	}
}

@media (width >= 40rem) {

	.pl-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width >= 48rem) {

	.pl-cards {
		margin-top: 4rem;
	}

	.pl-card {
		padding: 2rem;
	}

	.pl-card-t {
		font-size: 1.75rem;
	}
}

@media (width >= 64rem) {

	.pl-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Home: tickets (amx/ticket-tiers as the original's cards) ---------- */

.pl-tickets {
	position: relative;
}

.pl-tiers.amx-ticket-tiers {
	margin-top: 3rem;
}

.pl-tiers .amx-tiers {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.pl-tiers .amx-tier {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto 1fr auto;
	align-items: start;
	gap: 0 1rem;
	min-width: 0;
	min-height: 0;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-panel);
	background: var(--color-page);
	padding: 1.25rem;
	color: var(--color-ink);
}

.pl-tiers .amx-tier > * {
	margin: 0;
}

.pl-tiers .amx-tier-name {
	grid-column: 1;
	grid-row: 1;
	font-family: var(--font-sans);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.pl-tiers .amx-tier .amx-tag {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	margin: 0.25rem 0 0;
	border: 0;
	border-radius: 999px;
	padding: 0.375rem 0.75rem;
	background: var(--color-paper);
	color: var(--color-ink);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.035em;
	text-transform: uppercase;
	white-space: nowrap;
}

.pl-tiers .amx-tier .amx-tag + .amx-tag {
	grid-row: 2;
	margin-top: 0.5rem;
}

.pl-tiers .amx-tag.is-featured {
	background: var(--color-lime);
	color: var(--color-ink);
}

.pl-tiers .amx-tag.is-warn {
	background: var(--color-lime);
	color: var(--color-ink);
}

.pl-tiers .amx-tag.is-bad {
	background: var(--color-ink);
	color: #fff;
}

.pl-tiers .amx-price {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-top: 2rem;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.92;
	font-size: clamp(3rem, 5vw, 4.5rem);
}

.pl-tiers .amx-tier.is-sold-out .amx-price {
	opacity: 0.4;
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

.pl-tiers .amx-tier .amx-ticket-button {
	grid-column: 1 / -1;
	grid-row: 4;
	margin-top: 2.5rem;
	display: block;
}

/* The featured type is the green glass card (glass spans added by functions.php). */
.pl-tiers .amx-tier.glass {
	border-color: transparent;
	color: #fff;
}

.pl-tiers .amx-tier.glass[data-glass] {
	background: var(--g-base);
}

.pl-tiers .amx-tier.glass::before {
	content: "";
	position: absolute;
	top: -6rem;
	right: -6rem;
	z-index: -1;
	width: 20rem;
	height: 20rem;
	background: rgba(255, 255, 255, 0.08);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
	pointer-events: none;
}

/* The checkout button: the theme's proxy .btn clicks the embed's own button (plenar.js). Until
 * it is wired, and without the script, the embed's button shows in Plenar's look. */
.pl-tiers .amx-ticket-button .btn,
.pl-tiers .amx-ticket-button automatrix-tickets::part(button) {
	width: 100%;
}

.pl-tiers .amx-ticket-button.is-proxied automatrix-tickets::part(button) {
	display: none;
}

.pl-tiers .amx-ticket-button automatrix-tickets::part(button) {
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	background: var(--color-ink);
	color: #fff;
	padding: 0.875rem 1.375rem;
	font: 500 0.9375rem/1.4 var(--font-sans);
	letter-spacing: -0.01em;
	text-align: left;
	cursor: pointer;
}

.pl-tiers .amx-tier.glass .amx-ticket-button automatrix-tickets::part(button) {
	background: #fff;
	border-color: #fff;
	color: var(--color-ink);
}

/* Sold out, closed, ended: the embed disables its button; it reads as off, as the proxy does. */
.pl-tiers .amx-ticket-button automatrix-tickets::part(button):disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pl-tiers .amx-ticket-button automatrix-tickets::part(caption) {
	margin-top: 0.625rem;
	font: 500 0.75rem/1.4 var(--font-sans);
	letter-spacing: 0.035em;
	text-transform: uppercase;
	color: var(--color-graphite);
}

.pl-tiers .amx-tier.glass .amx-ticket-button automatrix-tickets::part(caption) {
	color: rgba(255, 255, 255, 0.7);
}

.pl-tiers .btn {
	display: flex;
	width: 100%;
}

.pl-tiers .btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

/* The shared button (one for every type) and the platform's states. */
.pl-tiers > .amx-ticket-button {
	margin-top: 1.5rem;
}

.pl-tiers .amx-status,
.pl-tiers .amx-note,
.pl-tiers .amx-refund {
	font-size: 1rem;
	line-height: 1.625;
	color: var(--color-graphite);
}

.pl-tiers .amx-status {
	border: 1px solid var(--color-line);
	border-radius: var(--radius-panel);
	padding: 2rem;
	font-size: 1.5rem;
	line-height: 1.25;
	letter-spacing: -0.03em;
	color: var(--color-ink);
}

/* The postponed note: a paper panel, not the plugin's coloured left border (a banned device). */
.pl-tiers .amx-note {
	margin-bottom: 1rem;
	border: 0;
	border-radius: var(--radius-card, 1rem);
	background: var(--color-paper);
	padding: 1rem 1.25rem;
	color: var(--color-ink);
}

.pl-tickets-foot {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-graphite);
}

.pl-tickets-team {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-ink);
}

.pl-tickets-team::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	background: var(--color-signal);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
}

.pl-tickets-by a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: inherit;
	text-decoration: none;
}

.pl-tickets-by strong {
	font-weight: 500;
	color: var(--color-ink);
}

.pl-tickets-by a::after {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	background: currentColor;
	-webkit-mask: var(--arrow) center / contain no-repeat;
	mask: var(--arrow) center / contain no-repeat;
	transition: transform 0.3s;
}

.pl-tickets-by a:hover {
	color: var(--color-ink);
}

.pl-tickets-by a:hover::after {
	transform: translate(0.125rem, -0.125rem);
}

@media (width >= 40rem) {

	.pl-tickets-by {
		margin-left: auto;
	}
}

@media (width >= 48rem) {

	.pl-tiers.amx-ticket-tiers {
		margin-top: 4rem;
	}

	.pl-tiers .amx-tiers {
		gap: 1rem;
	}

	.pl-tiers .amx-tier {
		min-height: 22rem;
		padding: 2rem;
	}
}

@media (width >= 64rem) {

	.pl-tiers .amx-tiers {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pl-tiers .amx-tiers:has(> :nth-child(4)) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Home: venue map (4.30) ---------- */

.pl-venue-grid {
	display: grid;
	gap: 2.5rem;
}

.pl-venue-body {
	margin-top: 1.5rem;
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.625;
}

/* The venue block (name and map link) and the street address, in the original's order:
 * name, address, Open in maps. */
.pl-venue-where {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
}

.pl-venue-where .amx-event-venue {
	display: contents;
}

.pl-venue-where .amx-kicker {
	display: none;
}

.pl-venue-where .amx-event-venue > p,
.pl-venue-address {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.375;
}

.pl-venue-where .amx-event-venue > p strong {
	font-weight: 400;
}

.pl-venue-address {
	order: 1;
}

.pl-venue-where .amx-event-venue > p:last-child {
	order: 2;
	margin-top: 1.5rem;
}

.pl-place-rows {
	margin-top: 2.5rem;
	border-bottom: 1px solid var(--color-line);
}

.pl-place-row {
	display: flex;
	width: 100%;
	align-items: baseline;
	gap: 1rem;
	border: 0;
	border-top: 1px solid var(--color-line);
	background: none;
	padding: 1rem 0;
	text-align: left;
}

.pl-place-row .mono {
	width: 1.5rem;
	color: var(--color-graphite);
}

.pl-place-name {
	flex: 1;
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.pl-place-row .label {
	color: var(--color-graphite);
}

[data-place-row] {
	transition: color 0.4s, padding 0.6s var(--ease-silk);
}

[data-place-row][data-active] {
	color: var(--color-signal);
	padding-left: 0.75rem;
}

.pl-venue-media {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pl-venue-photo {
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-panel);
}

.pl-map {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-panel);
	background: var(--color-paper);
	color: var(--color-ink);
}

.pl-map-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pl-map-river {
	fill: color-mix(in srgb, var(--color-aqua) 45%, transparent);
}

.pl-map-park {
	fill: color-mix(in srgb, var(--color-lime) 40%, transparent);
}

.pl-pin {
	position: absolute;
	display: grid;
	width: 2.25rem;
	height: 2.25rem;
	transform: translate(-50%, -50%);
	place-items: center;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #fff;
	color: var(--color-ink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	padding: 0;
}

.pl-pin:first-of-type {
	background: var(--color-ink);
	color: #fff;
}

[data-pin] {
	transition: background-color 0.4s, color 0.4s, scale 0.5s var(--ease-silk);
}

/* The original's lime here sits in its components layer, under the pins' bg-ink and bg-white
 * utilities, so an active pin only grows; it keeps its ink or white fill. */
[data-pin][data-active] {
	scale: 1.25;
}

.pl-place {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	left: 0.75rem;
	border-radius: var(--radius-card);
	background: rgba(255, 255, 255, 0.9);
	padding: 1.25rem;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

[data-place] {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s, translate 0.7s var(--ease-silk);
	translate: 0 0.75rem;
}

[data-place][data-active] {
	opacity: 1;
	pointer-events: auto;
	translate: 0;
}

.pl-map:not(:has([data-active])) .pl-place:first-of-type {
	opacity: 1;
	translate: 0;
}

.pl-place-k {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: var(--color-signal);
}

.pl-place-k span + span {
	color: var(--color-graphite);
}

.pl-place-t {
	margin-top: 0.5rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.pl-place-p {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-graphite);
}

@media (width >= 48rem) {

	.pl-venue-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.pl-venue-text {
		grid-column: span 5 / span 5;
	}

	.pl-venue-media {
		grid-column: span 7 / span 7;
	}

	.pl-map {
		aspect-ratio: 16 / 11;
	}

	.pl-place {
		right: auto;
		max-width: 24rem;
	}
}

/* ---------- Home: from the hallway (4.23) ---------- */

.pl-quotes {
	padding-block: 5rem;
}

.pl-quotes-mark {
	bottom: -10rem;
	left: -10rem;
	z-index: -1;
	width: 36rem;
	height: 36rem;
	color: rgba(255, 255, 255, 0.5);
	animation: none;
}

.pl-quotes-grid {
	display: grid;
	gap: 2.5rem;
}

.pl-quotes-side {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.pl-slider-ctl {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pl-slider-ctl .mono {
	white-space: nowrap;
}

/* 60%: 4.9:1 on the mint glass (the original's 50% was 3.5:1). */
.pl-slider-of {
	opacity: 0.6;
}

.pl-round-btn {
	display: grid;
	width: 3rem;
	height: 3rem;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
	border-radius: 999px;
	background: none;
	transition: background-color 0.15s, color 0.15s;
}

.pl-round-btn svg {
	width: 1rem;
	height: 1rem;
}

.pl-round-btn:hover {
	background: var(--color-ink);
	color: #fff;
}

.pl-slides {
	display: grid;
}

.pl-slide.wp-block-quote {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	border: 0;
	padding: 0;
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pl-slide[data-active],
.pl-slides:not(:has([data-active])) > .pl-slide:first-child {
	opacity: 1;
}

.pl-slide-q {
	font-size: var(--text-display-md);
	letter-spacing: -0.045em;
}

.pl-slide cite {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1rem;
	font-size: 1rem;
	font-style: normal;
	line-height: 1.5rem;
}

.pl-slide cite strong {
	font-weight: 500;
}

.pl-slide cite span {
	opacity: 0.6;
}

@media (width >= 48rem) {

	.pl-quotes {
		padding-block: 8rem;
	}

	.pl-quotes-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.pl-quotes-side {
		grid-column: span 3 / span 3;
		flex-direction: column;
		align-items: flex-start;
	}

	.pl-slides {
		grid-column: span 9 / span 9;
	}
}

/* ---------- Home: partners (amx/sponsors tiers as the original's tiles) ---------- */

.pl-partner-tiers.amx-sponsors {
	margin-top: 3rem;
	display: block;
}

.pl-partner-tiers .amx-tier-row {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.pl-partner-tiers .amx-tier-row + .amx-tier-row {
	margin-top: 2.5rem;
}

.pl-partner-tiers .amx-tier-label {
	margin: 0 0 1rem;
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.035em;
	text-transform: uppercase;
	color: var(--color-graphite);
}

.pl-partner-tiers .amx-sponsor-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.pl-partner-tiers .amx-sponsor {
	--tile: 7rem;
	display: flex;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.pl-partner-tiers .amx-sponsor > a,
.pl-partner-tiers .amx-sponsor > span {
	position: relative;
	flex: 1;
	min-height: var(--tile);
	height: auto;
	display: grid;
	gap: 0;
	align-content: center;
	place-items: center;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	padding: 2.5rem 1.25rem;
	background: transparent;
	color: var(--color-ink);
	text-decoration: none;
	text-align: center;
	transition: background-color 0.5s;
}

.pl-partner-tiers .amx-tier-row .amx-sponsor-name {
	font-family: var(--font-sans);
	font-size: inherit;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: inherit;
	color: inherit;
}

.pl-partner-tiers .amx-sponsor img {
	max-height: 3rem;
	width: auto;
}

.pl-partner-tiers .amx-muted {
	position: absolute;
	bottom: 1rem;
	left: 1.25rem;
	max-width: 30ch;
	margin: 0;
	text-align: left;
	font-size: 0.75rem;
	line-height: 1.375;
	letter-spacing: normal;
	color: var(--color-graphite);
	opacity: 0;
	transition: opacity 0.5s;
}

.pl-partner-tiers .amx-sponsor > a::after {
	content: "";
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--arrow) center / contain no-repeat;
	mask: var(--arrow) center / contain no-repeat;
	opacity: 0;
	transition: opacity 0.5s;
}

@media (hover: hover) {

	.pl-partner-tiers .amx-sponsor > a:hover {
		background: var(--color-paper);
	}

	.pl-partner-tiers .amx-sponsor > a:hover .amx-muted,
	.pl-partner-tiers .amx-sponsor > a:hover::after {
		opacity: 1;
	}
}

.pl-partner-tiers .amx-sponsor > a:focus-visible .amx-muted,
.pl-partner-tiers .amx-sponsor > a:focus-visible::after {
	opacity: 1;
}

/* Tier sizes by order: headline, gold, partners, community. */
.pl-partner-tiers .amx-tier-row:nth-child(1) .amx-sponsor {
	--tile: 14rem;
	grid-column: 1 / -1;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	line-height: 1;
}

.pl-partner-tiers .amx-tier-row:nth-child(2) .amx-sponsor {
	--tile: 11rem;
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	line-height: 1;
}

.pl-partner-tiers .amx-tier-row:nth-child(3) .amx-sponsor {
	--tile: 9rem;
	font-size: clamp(1.375rem, 2vw, 1.875rem);
	line-height: 1.2;
}

@media (width >= 40rem) {

	.pl-partner-tiers .amx-sponsor-list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.pl-partner-tiers .amx-sponsor {
		grid-column: span 2 / span 2;
	}

	.pl-partner-tiers .amx-tier-row:nth-child(2) .amx-sponsor {
		grid-column: span 3 / span 3;
	}
}

@media (width >= 48rem) {

	.pl-partner-tiers.amx-sponsors {
		margin-top: 4rem;
	}

	.pl-partner-tiers .amx-tier-row:nth-child(1) .amx-sponsor {
		--tile: 18rem;
	}
}

@media (width >= 64rem) {

	.pl-partner-tiers .amx-tier-row:nth-child(2) .amx-sponsor {
		grid-column: span 2 / span 2;
	}

	.pl-partner-tiers .amx-tier-row:nth-child(n + 4) .amx-sponsor {
		grid-column: span 1 / span 1;
	}
}

/* ---------- Home: news from the programme ---------- */

.pl-news-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
}

.pl-news-head .pl-h2 {
	margin-top: 1.5rem;
}

.pl-news-q {
	margin-top: 3rem;
}

.pl-news-list.wp-block-post-template {
	display: grid;
	gap: 4rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-news-list > li {
	margin: 0;
}

.pl-news-img {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: var(--color-paper);
}

.pl-news-img a {
	display: block;
	height: 100%;
}

/* The figure clips the image, so it draws the ring itself; the link inside draws none. */
.pl-news-img a:focus-visible {
	outline: none;
}

.pl-news-img:has(a:focus-visible) {
	outline: 2px solid var(--pl-focus);
	outline-offset: 3px;
}

.pl-news-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.8s var(--ease-out-soft);
}

.pl-news-meta {
	margin-top: 1.25rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: var(--color-graphite);
}

.pl-news-meta .wp-block-post-date {
	color: inherit;
	font-size: inherit;
}

.pl-news-cat a {
	color: var(--color-signal);
	text-decoration: none;
}

.pl-news-t {
	margin-top: 0.75rem;
	max-width: 26ch;
	font-size: 1.625rem;
	line-height: 1.16;
	transition: color 0.15s;
}

.pl-news-t a {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) {

	.pl-news-list > li:hover .pl-news-img img {
		transform: scale(1.05);
	}

	.pl-news-list > li:hover .pl-news-t {
		color: var(--color-signal);
	}
}

@media (width >= 40rem) {

	.pl-news-list.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width >= 48rem) {

	.pl-news-q {
		margin-top: 4rem;
	}
}

@media (width >= 64rem) {

	.pl-news-list.wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Home: closing band ---------- */

.pl-cta::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: min(120vw, 70rem);
	height: min(120vw, 70rem);
	translate: -50% -50%;
	background: rgba(255, 255, 255, 0.06);
	-webkit-mask: var(--sparkle) center / contain no-repeat;
	mask: var(--sparkle) center / contain no-repeat;
	pointer-events: none;
}

.pl-cta-star-1 {
	top: 18%;
	left: 12%;
	width: 1.5rem;
	height: 1.5rem;
}

.pl-cta-star-2 {
	right: 14%;
	bottom: 22%;
	width: 2.25rem;
	height: 2.25rem;
	animation-delay: 1.4s;
}

.pl-cta-in {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 6rem;
	text-align: center;
}

.pl-cta-title {
	margin-top: 2rem;
	max-width: 16ch;
	font-size: var(--text-display-xl);
}

.pl-cta-rule {
	margin-top: 3rem;
	width: 100%;
	max-width: 48rem;
}

.pl-cta-rule .pl-pill {
	color: var(--color-ink);
}

.pl-cta-btns {
	margin-top: 2.5rem;
	justify-content: center;
}

@media (width >= 48rem) {

	.pl-cta-in {
		padding-block: 10rem;
	}
}

/* ---------- Inner pages: shared bits (the page heads are in assets/css/content-pages.css) ---------- */

.pl-sec-tight {
	margin-top: 4rem;
}

.pl-404-in {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 1.5rem;
	padding-block: 7rem 3rem;
}

.pl-404-n {
	font-size: var(--text-display-2xl);
	line-height: 0.8;
}

.pl-404-p {
	max-width: 32rem;
	font-size: 1.25rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.8);
}

/* ---------- amx blocks: the parts every page shares ---------- */

[class*="wp-block-amx-"] .amx-button,
.amx-ticket-button a.amx-button {
	border-radius: 999px;
}

.amx-agenda .amx-save[aria-pressed="true"] {
	border-color: var(--color-ink);
	background: var(--color-lime);
	color: var(--color-ink);
}

.amx-agenda .amx-save svg {
	transition: fill 0.3s, transform 0.5s var(--ease-silk);
}

.amx-agenda .amx-save[aria-pressed="true"] svg {
	transform: rotate(90deg);
}

.amx-agenda .amx-slot.is-now {
	background: color-mix(in srgb, var(--color-lime) 22%, transparent);
}

.amx-agenda .amx-slot-now {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-signal);
}

.amx-agenda .amx-slot-now::before {
	content: "";
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 999px;
	background: var(--color-signal);
	animation: pulse-dot 2s ease-out infinite;
}

/* Track dots by the track's name (presentation only; gap: track colours). */
.track-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--color-graphite);
}

.track-dot[data-track-name="interface"] {
	background: var(--color-lime);
}

.track-dot[data-track-name="systems"] {
	background: var(--color-aqua);
}

.track-dot[data-track-name="motion"] {
	background: var(--color-cobalt);
}

.track-dot[data-track-name="platform"] {
	background: var(--color-signal);
}

.chip-btn[aria-pressed="true"] .track-dot {
	outline: 1px solid #fff;
}

.amx-empty {
	font-size: 1.125rem;
	color: var(--color-graphite);
}

/* ---------- Editor: content at rest, chrome in flow ---------- */

.editor-styles-wrapper .pl-preloader,
.editor-styles-wrapper .pl-header,
.editor-styles-wrapper .pl-menu,
.editor-styles-wrapper .pl-cursor {
	position: relative;
	inset: auto;
	z-index: auto;
}

.editor-styles-wrapper .pl-preloader {
	min-height: 0;
}

.editor-styles-wrapper .pl-menu {
	visibility: visible;
	clip-path: none;
}

.editor-styles-wrapper .pl-cursor {
	display: flex;
	margin: 1rem;
}

.editor-styles-wrapper .animate-marquee,
.editor-styles-wrapper .pl-star {
	animation: none;
}

.editor-styles-wrapper .pl-slide.wp-block-quote {
	opacity: 1;
	grid-row: auto;
}

.editor-styles-wrapper .pl-hero {
	min-height: 0;
}

.editor-styles-wrapper .wp-block-button__link {
	border-radius: 999px;
	padding: 0.75rem 1.375rem;
	font-size: 0.9375rem;
	background: transparent;
	color: var(--color-ink);
	border: 1px solid currentColor;
}

.editor-styles-wrapper .is-style-solid .wp-block-button__link {
	background: var(--color-ink);
	color: #fff;
}

.editor-styles-wrapper .is-style-light .wp-block-button__link {
	background: #fff;
	color: var(--color-ink);
	border-color: #fff;
}

.editor-styles-wrapper .is-style-lime .wp-block-button__link {
	background: var(--color-lime);
	color: var(--color-ink);
	border-color: var(--color-lime);
}

.editor-styles-wrapper .is-style-glass .wp-block-button__link {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.editor-styles-wrapper .is-style-section-ink .wp-block-button:not(.is-style-solid, .is-style-lime, .is-style-glass) .wp-block-button__link {
	background: #fff;
	color: var(--color-ink);
	border-color: #fff;
}

/* ---------- Reduced motion (CSS:1151): loops stop; transitions stay, as the original ---------- */

@media (prefers-reduced-motion: reduce) {

	.animate-marquee,
	.pl-star,
	.pl-pulse,
	.glass-field,
	.amx-agenda .amx-slot-now::before {
		animation: none;
	}

	/* Nothing moves, so nothing to pause (the Buttons block's own display:flex is stronger). */
	.pl-marquee-ctl,
	.wp-block-buttons.pl-marquee-ctl {
		display: none;
	}
}

/* The last section of a page keeps the section rhythm above the footer. */
.pl-main .pl-sec-tight:last-child {
	margin-bottom: 7rem;
}


/* ---------- Touch targets (review) ---------- */

/* The original draws the menu toggle, the marquee pause and the map pins small (24 x 8, 58 x 27
 * and 36 px). Each button's own box is now 44 px, so the target is real and measurable (no
 * invisible ::after hit area, design guidelines, Touch). Where the original draws a filled shape
 * (the pause pill, the pin disc), a ::before paints it at its original size inside the box. */
.pl-menu-toggle,
.wp-element-button.pl-menu-toggle {
	min-width: 2.75rem;
	min-height: 2.75rem;
	justify-content: center;
}

.wp-element-button.pl-marquee-toggle {
	position: relative;
	isolation: isolate;
	min-height: 2.75rem;
	padding-block: 0;
	border: 0;
	border-radius: 999px;
	background: none;
}

.pl-marquee-toggle::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0.5rem 0;
	border: 1px solid var(--color-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	transition: border-color 0.35s;
}

.pl-marquee-toggle:hover::before {
	border-color: var(--color-ink);
}

.pl-marquee-toggle:active::before {
	background: var(--color-paper);
}

.pl-marquee-ctl {
	bottom: 0;
}

/* The pin's box is 44 px; a 4 px transparent border keeps the drawn disc at the original's 36 px
 * (its 2 px white ring is an inset shadow, its drop shadow a filter that follows the disc). */
.pl-pin {
	width: 2.75rem;
	height: 2.75rem;
	border: 0.25rem solid transparent;
	background-clip: padding-box;
	box-shadow: inset 0 0 0 2px #fff;
	filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.1));
}
