/* ==========================================================================
   MLK365 — main.css (mobile first)
   Palette from the current mlk365.org: billboard black, crown gold, dream red.
   ========================================================================== */

:root {
	--ink: #0b0b0c;
	--ink-2: #141416;
	--ink-3: #1f1f23;
	--paper: #fff;
	--cream: #f6f2e9;
	--cream-2: #ede6d6;
	--gold: #e4b739;
	--gold-2: #f2cb55;
	--gold-deep: #8a6a12;
	--red: #9d2d36;
	--red-2: #b8343f;
	--text: #141416;
	--muted: #5c5c63;
	--muted-dark: rgba(255, 255, 255, 0.68);
	--line: #e6e2d9;
	--line-dark: rgba(255, 255, 255, 0.14);
	--font: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4.6vw, 44px);
	--radius: 14px;
	--radius-lg: 22px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--header-h: 60px;
	--strip-h: 112px;
	--section-y: clamp(64px, 11vw, 144px);
	--shadow: 0 1px 2px rgba(11, 11, 12, 0.06), 0 12px 32px -12px rgba(11, 11, 12, 0.22);
}

@media (min-width: 900px) {
	:root {
		--header-h: 76px;
		--strip-h: clamp(140px, 12vw, 196px);
	}
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.62;
	font-weight: 450;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
svg { overflow: visible; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
button { font: inherit; color: inherit; }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	background: var(--gold);
	color: var(--ink);
	font-weight: 800;
	padding: 12px 18px;
	border-radius: 999px;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }
.nowrap { white-space: nowrap; }

.eyebrow {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 1rem;
}

mark {
	color: inherit;
	background: linear-gradient(transparent 64%, rgba(228, 183, 57, 0.6) 64%, rgba(228, 183, 57, 0.6) 92%, transparent 92%);
	padding: 0 0.04em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0.85em 1.35em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 24px -10px rgba(228, 183, 57, 0.7); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--red); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--lg { min-height: 56px; padding: 1em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--wait {
	background: var(--cream);
	color: var(--muted);
	border: 2px dashed #cfc7b4;
	cursor: not-allowed;
	user-select: none;
}
.btn--wait:hover { transform: none; }
.btn--wait .icon { color: var(--gold-deep); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 800;
	color: var(--red);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform 0.2s var(--ease); }

/* ---------- Header: logo, full menu, Donate ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	height: var(--header-h);
	color: #fff;
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(11, 11, 12, 0.94);
	border-bottom: 1px solid rgba(228, 183, 57, 0.22);
	-webkit-backdrop-filter: saturate(150%) blur(14px);
	backdrop-filter: saturate(150%) blur(14px);
	transition: opacity 0.35s var(--ease);
}
.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; position: relative; z-index: 2; }
.brand .logo-svg { height: 30px; width: auto; transition: transform 0.3s var(--ease); }
.brand:hover .logo-svg { transform: scale(1.03); }
@media (min-width: 900px) { .brand .logo-svg { height: 36px; } }

/* Home: the header floats over the hero until the page moves. */
.site-header.is-over { margin-bottom: calc(-1 * var(--header-h)); }
.site-header.is-over::before { opacity: 0; }
.site-header.is-over.is-scrolled::before,
body.menu-open .site-header.is-over::before { opacity: 1; }

.main-nav__list { list-style: none; margin: 0; padding: 0; }
.main-nav__list a { text-decoration: none; }

/* Hamburger */
.menu-toggle {
	position: relative;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-right: -6px;
	border: 1.5px solid rgba(228, 183, 57, 0.7);
	border-radius: 50%;
	background: rgba(11, 11, 12, 0.35);
	cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; background: var(--gold); }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Phones and tablets: full-screen menu. */
@media (max-width: 1239.98px) {
	.main-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 28px;
		padding: calc(var(--header-h) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
		background:
			radial-gradient(120% 60% at 100% 0%, rgba(157, 45, 54, 0.45), transparent 60%),
			radial-gradient(90% 50% at 0% 100%, rgba(228, 183, 57, 0.18), transparent 60%),
			var(--ink);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-12px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
	}
	.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
	.main-nav__list { counter-reset: nav; }
	.main-nav__list li { counter-increment: nav; }
	.main-nav__list a {
		display: flex;
		align-items: baseline;
		gap: 14px;
		padding: 10px 0;
		font-size: clamp(1.7rem, 7.4vw, 2.6rem);
		font-weight: 850;
		letter-spacing: -0.03em;
		line-height: 1.1;
		color: #fff;
		border-bottom: 1px solid var(--line-dark);
	}
	.main-nav__list a::before {
		content: counter(nav, decimal-leading-zero);
		font-size: 0.75rem;
		font-weight: 800;
		letter-spacing: 0.1em;
		color: var(--gold);
		transform: translateY(-0.9em);
	}
	.main-nav__list a:hover,
	.main-nav__list a[aria-current="page"],
	.main-nav__list .current-menu-item > a { color: var(--gold); }
	.main-nav__extra { display: grid; gap: 18px; }
	.main-nav__donate { justify-self: start; min-height: 56px; padding-inline: 1.6em; font-size: 1.05rem; }
	.main-nav__contact { margin: 0; display: grid; gap: 4px; font-weight: 700; }
	.main-nav__contact a { color: var(--muted-dark); text-decoration: none; }
	body.menu-open { overflow: hidden; }
}

/* Desktop: the full menu in the bar. */
@media (min-width: 1240px) {
	.menu-toggle { display: none; }
	.main-nav { display: flex; align-items: center; gap: 18px; }
	.main-nav__list { display: flex; align-items: center; gap: 2px; }
	.main-nav__list a {
		position: relative;
		display: block;
		padding: 10px 11px;
		font-size: 0.8rem;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #fff;
		transition: color 0.2s var(--ease);
	}
	.main-nav__list a::after {
		content: "";
		position: absolute;
		left: 11px;
		right: 11px;
		bottom: 4px;
		height: 2px;
		background: var(--gold);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s var(--ease);
	}
	.main-nav__list a:hover { color: var(--gold); }
	.main-nav__list a:hover::after,
	.main-nav__list a[aria-current="page"]::after,
	.main-nav__list .current-menu-item > a::after { transform: scaleX(1); }
	.main-nav__list a[aria-current="page"],
	.main-nav__list .current-menu-item > a { color: var(--gold); }
	.main-nav__extra { display: flex; }
	.main-nav__contact { display: none; }
	.main-nav__donate { min-height: 44px; padding: 0.6em 1.15em; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
	.main-nav__donate .icon { animation: beat 2.4s ease-in-out infinite; }
}
@keyframes beat { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.22); } 86% { transform: scale(1); } 92% { transform: scale(1.14); } }

/* ==========================================================================
   March for the Dream (front page)
   ========================================================================== */

.page { position: relative; }

.spine {
	font-size: clamp(1.75rem, 1.05rem + 3.3vw, 3.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.028em;
	margin: 0;
	max-width: 21em;
}

/* ---------- Page one: invite ---------- */

.page--invite {
	background: var(--ink);
	color: #fff;
}

/* ---------- Home hero: King + marchers, giant type, red slab, countdown ---------- */

.billboard--art { background: var(--ink); }
.billboard--art img { width: 100%; height: auto; }

.hero-home {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
	padding-bottom: clamp(30px, 5vw, 56px);
}
/* Film grain for depth. */
.hero-home::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0.16;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Gold and red glow behind the type. */
.hero-home::after {
	content: "";
	position: absolute;
	inset: auto -10% -30% -10%;
	height: 70%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(60% 60% at 20% 70%, rgba(228, 183, 57, 0.16), transparent 70%),
		radial-gradient(50% 60% at 90% 60%, rgba(157, 45, 54, 0.4), transparent 70%);
}

.hero-home__art {
	position: relative;
	z-index: 1;
	height: clamp(230px, 64vw, 330px);
	overflow: hidden;
}
.hero-home__art picture { display: block; height: 100%; }
.hero-home__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 22% 30%;
	transform-origin: 30% 40%;
	animation: drift 26s ease-in-out infinite alternate;
}
.hero-home__art::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.5) 22%, rgba(11, 11, 12, 0) 40%),
		linear-gradient(0deg, var(--ink) 2%, rgba(11, 11, 12, 0.55) 30%, rgba(11, 11, 12, 0) 62%);
}
@keyframes drift {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

.hero-home__body {
	position: relative;
	z-index: 3;
	margin-top: clamp(-120px, -18vw, -64px);
}

.hero-home__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 7px 14px 7px 10px;
	border: 1px solid rgba(228, 183, 57, 0.45);
	border-radius: 999px;
	background: rgba(11, 11, 12, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pulse::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid var(--gold);
	opacity: 0;
	animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
	0% { transform: scale(0.4); opacity: 0.9; }
	80%, 100% { transform: scale(1.5); opacity: 0; }
}

.hero-home__title {
	margin: 0;
	font-size: clamp(3.3rem, 16.5vw, 9.6rem);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	text-wrap: initial;
	text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.hero-home__l1, .hero-home__l2 { display: inline-block; }
.hero-home__l2 em {
	font-style: normal;
	color: transparent;
	background: linear-gradient(100deg, #f7d77a 0%, var(--gold) 45%, #c99a1f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	text-shadow: none;
	filter: drop-shadow(0 6px 30px rgba(228, 183, 57, 0.35));
}
.hero-home__slab {
	display: block;
	width: max-content;
	max-width: 100%;
	margin-top: clamp(14px, 2.4vw, 26px);
	padding: 0.42em 0.7em 0.4em;
	border-left: 6px solid var(--gold);
	background: linear-gradient(90deg, var(--red) 0%, #b8343f 100%);
	box-shadow: 0 12px 30px -10px rgba(157, 45, 54, 0.8), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
	font-size: clamp(1.05rem, 4.6vw, 2.15rem);
	letter-spacing: 0.02em;
	line-height: 1;
	text-shadow: none;
	transform: skewX(-10deg);
}
.hero-home__slab > span { display: block; transform: skewX(10deg); font-weight: 900; }

.hero-home__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: clamp(18px, 3vw, 30px);
}
.hero-home__date { display: flex; flex-direction: column; margin: 0; line-height: 1.05; }
.hero-home__date span {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted-dark);
}
.hero-home__date time {
	font-size: clamp(1.45rem, 5.4vw, 2.3rem);
	font-weight: 900;
	letter-spacing: -0.01em;
	color: var(--gold);
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
}

.countdown { display: flex; gap: 6px; }
.countdown > div {
	display: grid;
	justify-items: center;
	min-width: 58px;
	padding: 8px 6px 7px;
	border: 1px solid var(--line-dark);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.countdown b { font-size: clamp(1.2rem, 4.8vw, 1.7rem); font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.countdown span {
	margin-top: 4px;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-dark);
}

.hero-home__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-top: clamp(22px, 3.4vw, 34px);
}
.hero-home__ctas .btn--gold { box-shadow: 0 14px 34px -12px rgba(228, 183, 57, 0.75); }
.btn--glass {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.btn--glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-home__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--gold);
	font-weight: 800;
	color: #fff;
	text-decoration: none;
}
.hero-home__link:hover { color: var(--gold); }
@media (max-width: 599.98px) {
	.hero-home__ctas .btn--gold { width: 100%; }
}

.hero-home__year { display: none; }
.hero-home__credit {
	position: absolute;
	right: var(--gutter);
	top: calc(var(--header-h) + 6px);
	z-index: 3;
	margin: 0;
	font-size: 9px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 700px) {
	/* The whole panorama (King and the marchers), at its own proportions. */
	.hero-home__art { height: max(260px, 29.2vw); }
	.hero-home__art img { object-position: 25% 30%; }
	.hero-home__body { margin-top: clamp(-150px, -8.5vw, -70px); }
}
@media (min-width: 1100px) {
	.hero-home__art::after {
		background:
			linear-gradient(180deg, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0) 22%),
			linear-gradient(0deg, var(--ink) 3%, rgba(11, 11, 12, 0.6) 26%, rgba(11, 11, 12, 0) 55%);
	}
	.hero-home__title { font-size: clamp(6rem, 10.4vw, 9.3rem); }
	.hero-home__year {
		display: block;
		position: absolute;
		right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
		bottom: clamp(30px, 4vw, 60px);
		z-index: 1;
		margin: 0;
		font-size: clamp(8rem, 15vw, 16rem);
		font-weight: 900;
		line-height: 0.8;
		letter-spacing: -0.05em;
		color: transparent;
		-webkit-text-stroke: 2px rgba(228, 183, 57, 0.28);
		pointer-events: none;
		user-select: none;
	}
	.hero-home__l1 { margin-right: 0.18em; }
	.hero-home__credit { top: auto; bottom: 14px; font-size: 10px; }
}

/* Gold ticker */
.ticker {
	position: relative;
	z-index: 4;
	overflow: hidden;
	background: var(--gold);
	color: var(--ink);
	border-block: 2px solid var(--ink);
}
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__set { display: flex; align-items: center; gap: 22px; margin: 0; padding: 12px 22px 12px 0; white-space: nowrap; }
.ticker__set span { font-size: clamp(0.82rem, 2.6vw, 1rem); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.ticker__star { width: 14px; height: 14px; color: var(--red); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Rotating photos: who walks, before anyone asks for anything. */
.strip {
	position: relative;
	overflow: hidden;
	height: var(--strip-h);
	background: var(--ink);
}
.strip__track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: strip-run 90s linear infinite;
}
.strip.is-paused .strip__track,
.strip:hover .strip__track,
.strip:focus-within .strip__track { animation-play-state: paused; }
.strip__set {
	display: flex;
	gap: 5px;
	height: 100%;
	margin: 0;
	padding: 0 5px 0 0;
	list-style: none;
}
.strip__set li {
	height: 100%;
	aspect-ratio: var(--r, 1.5);
	overflow: hidden;
	background: var(--ink-3);
}
.strip__set img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@keyframes strip-run { to { transform: translateX(-50%); } }

.strip__toggle {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(11, 11, 12, 0.66);
	color: #fff;
	cursor: pointer;
	opacity: 0.85;
}
.strip__toggle:hover { opacity: 1; background: var(--ink); }
.strip__toggle .i-play { display: none; }
.strip.is-paused .strip__toggle .i-pause { display: none; }
.strip.is-paused .strip__toggle .i-play { display: block; }

@media (prefers-reduced-motion: reduce) {
	.strip { overflow-x: auto; scrollbar-width: none; }
	.strip__track { animation: none; }
	.strip__set[aria-hidden="true"], .strip__toggle { display: none; }
}

.invite {
	padding-block: clamp(22px, 5vw, 64px) clamp(56px, 9vw, 120px);
}
.spine--invite { color: #fff; max-width: 19em; }
.spine__lead { display: block; color: var(--gold); }
.spine--invite mark {
	background: linear-gradient(transparent 66%, rgba(157, 45, 54, 0.85) 66%, rgba(157, 45, 54, 0.85) 92%, transparent 92%);
}

.dateline {
	display: flex;
	align-items: flex-start;
	gap: 0.7em;
	margin: clamp(22px, 3vw, 36px) 0 0;
	max-width: 46em;
	font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
	font-weight: 600;
	line-height: 1.5;
	color: var(--muted-dark);
}
.dateline .icon { color: var(--gold); margin-top: 0.1em; }
.dateline time { color: #fff; font-weight: 750; }
.dateline__sep { color: var(--gold); padding-inline: 0.15em; }

/* ---------- Page two: prepare and equip (white, Sam's call) ---------- */

.page--equip {
	background: var(--paper);
	padding-block: var(--section-y);
}
.spine--equip { color: var(--ink); }

.equip {
	display: grid;
	gap: clamp(28px, 5vw, 64px);
	margin-top: clamp(28px, 5vw, 56px);
	align-items: center;
}
.equip__account {
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
	line-height: 1.55;
	font-weight: 500;
	max-width: 34ch;
	margin-bottom: 1.6rem;
}
.equip__image { max-width: 520px; width: 100%; justify-self: center; }

@media (min-width: 900px) {
	.equip { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
	.equip__image { justify-self: end; }
}

.account-mock { margin: 0; }
.account-mock__svg { width: 100%; height: auto; filter: drop-shadow(0 22px 28px rgba(11, 11, 12, 0.14)); }
.account-mock figcaption {
	margin-top: 10px;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--muted);
}

/* Arrive fully loaded: closed by default so the page stays light. */
.loaded {
	margin-top: clamp(36px, 6vw, 72px);
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}
.loaded summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
}
.loaded summary::-webkit-details-marker { display: none; }
.loaded__title {
	font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}
.loaded__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--ink);
	flex: none;
	transition: transform 0.3s var(--ease), background-color 0.2s;
}
.loaded summary:hover .loaded__icon { background: var(--gold-2); }
.loaded[open] .loaded__icon { transform: rotate(45deg); }
.loaded__steps {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0 0 28px;
	list-style: none;
	counter-reset: none;
}
.loaded__steps li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--cream);
}
.loaded__num {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	background: var(--ink);
	color: var(--gold);
	font-weight: 850;
	font-variant-numeric: tabular-nums;
}
.loaded__steps p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.loaded__steps strong { display: block; font-size: 1.12rem; margin-bottom: 2px; }
@media (min-width: 900px) {
	.loaded__steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.loaded__steps li { flex-direction: column; padding: 26px; }
}

/* ---------- Page three: launch ---------- */

.page--launch {
	background: var(--ink);
	color: #fff;
	padding-block: var(--section-y);
}
.spine--launch { color: #fff; max-width: 17em; }
.spine--launch mark { background: none; color: var(--gold); padding: 0; }

.doors {
	display: grid;
	gap: 14px;
	margin-top: clamp(32px, 5vw, 64px);
}
.door-h { margin: 0; font-size: inherit; letter-spacing: normal; line-height: inherit; }

.door {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ink-3);
	color: #fff;
	text-align: left;
	cursor: pointer;
	isolation: isolate;
	transition: border-color 0.25s var(--ease), transform 0.3s var(--ease);
}
.door__media, .door__media picture, .door__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.door__media img {
	object-fit: cover;
	transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}
.door__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 11, 12, 0.05) 20%, rgba(11, 11, 12, 0.55) 55%, rgba(11, 11, 12, 0.92) 100%);
}
.door:hover .door__media img { transform: scale(1.045); }
.door[aria-expanded="true"] { border-color: var(--gold); }

.door__body {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: clamp(18px, 4vw, 28px);
}
.door__value {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
}
.door__name {
	font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.05rem);
	font-weight: 850;
	line-height: 1.05;
	letter-spacing: -0.025em;
}
.door--expo .door__name { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.6rem); }
.door__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}
.door__distance {
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}
.door__cue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.door__cue .icon {
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--ink);
	transition: transform 0.3s var(--ease);
}
.door[aria-expanded="true"] .door__cue .icon { transform: rotate(45deg); }

.door-panel { padding: 6px 0 18px; }
.js .door-panel[hidden] { display: none; }
.door-panel__inner { animation: panel-in 0.35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
	.doors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
	.door-h { grid-row: 1; }
	.door { aspect-ratio: 4 / 5; }
	.door-panel { grid-column: 1 / -1; grid-row: 2; padding: 14px 0 0; }
}

/* The At a Glance sheet: works on paper and on a phone in the cold. Labels over sentences. */
.sheet {
	max-width: 820px;
	margin-inline: auto;
	padding: clamp(20px, 5vw, 48px);
	border-radius: var(--radius-lg);
	background: var(--paper);
	color: var(--text);
	box-shadow: var(--shadow);
}
.sheet__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--ink);
}
.sheet__head p { margin: 0; font-size: 0.82rem; line-height: 1.4; color: var(--muted); }
.sheet__head strong { color: var(--ink); font-weight: 800; }
.sheet__mark { width: 40px; height: 40px; flex: none; }
.sheet__mark .mark-svg { width: 100%; height: 100%; }
.sheet__title {
	margin: 0;
	font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem);
	font-weight: 850;
	letter-spacing: -0.03em;
}
.sheet__title span { color: var(--red); font-weight: 700; }
.sheet__sub {
	margin: 6px 0 14px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
.sheet__intro { font-size: 1.02rem; color: #2b2b30; max-width: 62ch; }
.sheet__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 22px 0;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.fact { background: var(--paper); padding: 14px 16px; }
.fact dt {
	margin-bottom: 4px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}
.fact dd { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.fact dd span { display: block; margin-top: 2px; font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.fact--where { grid-column: 1 / -1; background: var(--cream); }
.fact--where dd { font-size: 1.15rem; }
.fact--time dd {
	font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
	font-weight: 850;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums lining-nums;
}
@media (min-width: 640px) {
	.sheet__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sheet__also {
	padding: 14px 16px;
	border-left: 4px solid var(--gold);
	background: var(--cream);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 0.95rem;
	color: #2b2b30;
}
.sheet__exhibit {
	display: grid;
	gap: 14px;
	justify-items: start;
	padding: 18px;
	border-radius: var(--radius);
	background: var(--cream);
}
.sheet__exhibit p { margin: 0; }
.sheet__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ink);
}
.sheet__foot a { text-decoration: none; }
.sheet__foot a:hover { color: var(--red); }

.sheet-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 12px;
	max-width: 820px;
	margin: 18px auto 0;
}
.sheet-actions p { width: 100%; margin: 2px 0 0; text-align: center; font-size: 0.85rem; color: var(--muted-dark); }

/* ---------- Sponsors: one grid, every sponsor visible at once ---------- */

.page--sponsors {
	background: var(--paper);
	padding-block: clamp(56px, 9vw, 112px);
	text-align: center;
}
.sponsor-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 clamp(28px, 4vw, 44px);
	padding: 0;
	list-style: none;
}
/* Each tile is a fixed 16:9 box; the logo is centred in it at whatever its own shape is. */
.sponsor-grid li {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sponsor-grid li:hover { border-color: #d3ccbc; box-shadow: var(--shadow); }
.sponsor-grid a { position: absolute; inset: 0; }
.sponsor-grid img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	max-width: 78%;
	max-height: 66%;
	transform: translate(-50%, -50%);
}
@media (min-width: 600px) { .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .sponsor-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink);
	color: var(--muted-dark);
	font-size: 0.95rem;
	padding-top: clamp(48px, 7vw, 88px);
}
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) and (max-width: 899.98px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__brand .logo-svg { height: 36px; }
.site-footer__tag { margin: 18px 0 8px; font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.site-footer__tag span { color: var(--gold); }
.site-footer__small { font-size: 0.85rem; }
.site-footer__h {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a { text-decoration: none; color: #fff; font-weight: 600; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold); margin-top: 0.2em; }
.social { display: flex; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line-dark);
	font-size: 0.82rem;
}
.site-footer__base p { margin: 0; }
.site-footer__base a { color: #fff; }
@media (min-width: 900px) {
	.site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; }
}

/* ==========================================================================
   Shared page building blocks (FAQ, Contact, organisation pages)
   ========================================================================== */

.hero {
	background: var(--ink);
	color: #fff;
	padding-block: clamp(40px, 8vw, 104px) clamp(48px, 8vw, 104px);
	overflow: hidden;
}
.hero__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
	font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.6rem);
	font-weight: 850;
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin-bottom: 0.4em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--muted-dark); max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
@media (min-width: 960px) {
	.hero__grid--media { grid-template-columns: 1.05fr 1fr; }
}
.hero--compact { padding-block: clamp(36px, 6vw, 72px); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .eyebrow { color: var(--gold); }
.section__head { max-width: 44em; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -0.03em; }
.section__head p { font-size: 1.12rem; color: var(--muted); }
.section--ink .section__head p { color: var(--muted-dark); }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: clamp(14px, 2.4vw, 24px); }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--radius-lg);
	background: #fff;
	border: 1px solid var(--line);
}
.section--cream .card { border-color: transparent; }
.section--ink .card { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.card h3 { font-size: 1.3rem; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.section--ink .card p { color: var(--muted-dark); }
.card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--gold);
	color: var(--ink);
	margin-bottom: 6px;
}
.card__big { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 850; letter-spacing: -0.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.section--ink .card__big { color: var(--gold); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card li { display: flex; gap: 10px; font-size: 0.97rem; }
.card li .icon { color: var(--red); margin-top: 0.2em; }
.section--ink .card li .icon { color: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.stats div { background: var(--ink-2); padding: 22px; }
.stats strong { display: block; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 850; color: var(--gold); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 0.85rem; font-weight: 600; color: var(--muted-dark); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.quote {
	margin: 0;
	padding-left: 20px;
	border-left: 4px solid var(--gold);
	font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.quote cite { display: block; margin-top: 10px; font-size: 0.9rem; font-style: normal; font-weight: 600; color: var(--muted); }
.section--ink .quote cite, .hero .quote cite { color: var(--muted-dark); }

.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.3fr 1fr; } }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose a { color: var(--red); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--red); margin-top: 0.22em; }
.section--ink .checklist .icon { color: var(--gold); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; padding: 22px 22px 22px 74px; border-radius: var(--radius); background: var(--cream); counter-increment: step; }
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 20px;
	top: 20px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--gold);
	font-weight: 850;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 56px); }
.faq-group h2 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	font-weight: 750;
	line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
	width: 32px;
	height: 32px;
	padding: 6px;
	flex: none;
	border-radius: 50%;
	background: var(--cream);
	transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq summary:hover .icon { background: var(--gold); }
.faq[open] summary .icon { transform: rotate(45deg); background: var(--gold); }
.faq__a { padding: 0 0 22px; max-width: 64ch; color: #2b2b30; }
.faq__a a { color: var(--red); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--ink); color: var(--gold); flex: none; }
.contact-list strong { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.contact-list a:hover { color: var(--red); }

.form-card {
	padding: clamp(22px, 4vw, 40px);
	border-radius: var(--radius-lg);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	color: var(--text);
}
.form-card h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.form-card > p { color: var(--muted); }

/* Fluent Forms: match the theme. */
.fluentform .ff-el-group { margin-bottom: 18px; }
.fluentform .ff-el-input--label label {
	font-size: 0.8rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink) !important;
}
.fluentform .ff-el-form-control {
	min-height: 52px;
	padding: 12px 16px !important;
	border: 1.5px solid #d6d1c4 !important;
	border-radius: 12px !important;
	background: #fff !important;
	font-family: var(--font) !important;
	font-size: 1rem !important;
	color: var(--text) !important;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.fluentform textarea.ff-el-form-control { min-height: 140px; }
.fluentform .ff-el-form-control:focus {
	border-color: var(--ink) !important;
	box-shadow: 0 0 0 4px rgba(228, 183, 57, 0.35) !important;
	outline: none;
}
.fluentform .ff-btn-submit,
.fluentform .ff_submit_btn_wrapper .ff-btn {
	min-height: 54px;
	padding: 0.9em 1.6em !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ink) !important;
	color: #fff !important;
	font-family: var(--font) !important;
	font-weight: 800 !important;
	font-size: 1rem !important;
	cursor: pointer;
	transition: background-color 0.2s;
}
.fluentform .ff-btn-submit:hover { background: var(--red) !important; }
.fluentform .ff-el-form-check label { font-weight: 600; }
.ff-message-success {
	border: 0 !important;
	border-left: 4px solid var(--gold) !important;
	background: var(--cream) !important;
	border-radius: 0 12px 12px 0;
	box-shadow: none !important;
	font-weight: 600;
}
.fluentform .error, .fluentform .text-danger { color: var(--red) !important; font-size: 0.85rem; font-weight: 600; }

/* Generic pages */
.page-body { padding-block: clamp(40px, 7vw, 88px); }
.entry-content > * + * { margin-top: 1em; }
.entry-content .alignwide { max-width: none; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 180px); }
.notfound h1 { font-size: clamp(2.4rem, 2rem + 4vw, 5rem); }

/* ==========================================================================
   Sheet page (/at-a-glance/<door>/) and print
   ========================================================================== */

.sheet-page { background: var(--cream); padding-block: clamp(24px, 5vw, 64px); }
.sheet-page__back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; font-weight: 700; text-decoration: none; color: var(--ink); }
.sheet-page__back .icon { transform: rotate(180deg); }
.sheet-page .sheet-actions p { color: var(--muted); }
.sheet-page .btn--ghost { color: var(--ink); }

@media print {
	@page { size: letter; margin: 12mm; }
	html, body { background: #fff !important; }
	body { font-size: 11pt; }
	.site-header, .site-footer, .skip-link, .sheet-actions, .sheet-page__back, .strip, .billboard, .cta-band, .ticker, .hero-home, .statband, .door-panel__more { display: none !important; }
	.sheet-page { padding: 0; background: #fff; }
	.sheet { box-shadow: none; padding: 0; max-width: none; border-radius: 0; }
	.fact--time dd { font-size: 20pt; }
	a { text-decoration: none; color: inherit; }
	.mftd .page--equip, .mftd .page--sponsors, .mftd .page--invite { display: none; }
	.mftd .page--launch { background: #fff; color: #000; padding: 0; }
	.mftd .spine--launch, .mftd .door-h, .mftd .door-panel[hidden] { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Organisation page components ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a {
	padding: 9px 16px;
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chips a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.facts-inline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 650; }
.facts-inline li { display: flex; align-items: center; gap: 10px; color: #fff; }
.facts-inline .icon { color: var(--gold); }

.site-note { margin-top: 22px; font-size: 0.92rem; color: var(--muted); max-width: 70ch; }
.site-note a { color: var(--red); font-weight: 700; }
.section--ink .site-note { color: var(--muted-dark); }

.about-mark { max-width: 320px; width: 70%; margin-inline: auto; }
.about-mark .mark-svg { width: 100%; height: auto; }

.stats--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .gifts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gift {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px 18px;
	border: 2px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	background: #fff;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.gift strong { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.gift > span { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.gift:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.gift--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.gift--feature strong { color: var(--gold); }
.gift--feature > span { color: var(--muted-dark); }
.gift--feature:hover { border-color: var(--gold); }

.product-card h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.product-card__price { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); font-weight: 850; letter-spacing: -0.03em; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.product-card__price .woocommerce-Price-currencySymbol { font-size: 0.6em; vertical-align: 0.5em; margin-right: 1px; }
.product-card ul { margin-bottom: 12px; }
.product-card--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-card--feature .product-card__price { color: var(--gold) !important; }
.product-card--feature li .icon { color: var(--gold); }
.product-card--feature p, .product-card--feature li { color: var(--muted-dark); }


/* ---------- Pop: stats band, CTA band, reveals ---------- */

.statband {
	position: relative;
	overflow: hidden;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 14px, transparent 14px 28px),
		linear-gradient(120deg, #7d2029 0%, var(--red) 45%, #b8343f 100%);
	color: #fff;
	padding-block: clamp(34px, 6vw, 64px);
}
.statband__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
@media (min-width: 900px) { .statband__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.statband p { margin: 0; display: grid; gap: 4px; border-left: 3px solid var(--gold); padding-left: 16px; }
.statband strong {
	font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4.2rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.statband span { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }

.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--gold);
	color: var(--ink);
	padding-block: clamp(44px, 7vw, 84px);
}
.cta-band::before {
	content: "";
	position: absolute;
	right: -6vw;
	top: 50%;
	width: clamp(260px, 38vw, 520px);
	aspect-ratio: 1;
	transform: translateY(-50%);
	border-radius: 50%;
	border: clamp(14px, 2vw, 26px) solid rgba(11, 11, 12, 0.08);
}
.cta-band__inner { position: relative; display: grid; gap: 22px; align-items: end; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band__kicker { margin: 0 0 6px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.cta-band__title {
	margin: 0;
	font-size: clamp(3rem, 2rem + 6vw, 7rem);
	font-weight: 900;
	line-height: 0.88;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}
.cta-band__title span { color: var(--red); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--outline-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--gold); }

.door-panel__more { max-width: 820px; margin: 14px auto 0; text-align: center; }

.reveal-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
	.hero-home__kicker, .hero-home__l1, .hero-home__l2, .hero-home__slab, .hero-home__meta, .hero-home__ctas { animation: rise 0.9s var(--ease) both; }
	.hero-home__l1 { animation-delay: 0.05s; }
	.hero-home__l2 { animation-delay: 0.15s; }
	.hero-home__slab { animation-name: slab-in; animation-delay: 0.3s; }
	.hero-home__meta { animation-delay: 0.42s; }
	.hero-home__ctas { animation-delay: 0.52s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slab-in { from { opacity: 0; transform: skewX(-10deg) translateX(-30px); } to { opacity: 1; transform: skewX(-10deg); } }

/* ---------- Page heroes with pop ---------- */
.hero--pop { position: relative; isolation: isolate; }
.hero--pop::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(55% 70% at 95% 10%, rgba(157, 45, 54, 0.55), transparent 70%),
		radial-gradient(45% 60% at 0% 100%, rgba(228, 183, 57, 0.16), transparent 70%);
}
.hero--pop::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.14;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero--pop .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	border: 1px solid rgba(228, 183, 57, 0.45);
	border-radius: 999px;
	background: rgba(11, 11, 12, 0.4);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
}
.hero--pop .eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px rgba(228, 183, 57, 0.2);
}
.hero--pop h1 {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.04em;
	line-height: 0.92;
	font-size: clamp(2.5rem, 1.4rem + 5.4vw, 5.6rem);
}
.hero--pop.hero--compact h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem); }
.hero--pop h1 em {
	font-style: normal;
	color: transparent;
	background: linear-gradient(100deg, #f7d77a 0%, var(--gold) 45%, #c99a1f 100%);
	-webkit-background-clip: text;
	background-clip: text;
}
.hero--pop .hero__media { position: relative; }
.hero--pop .hero__media::before {
	content: "";
	position: absolute;
	inset: 14px -14px -14px 14px;
	border: 2px solid var(--gold);
	border-radius: var(--radius-lg);
	z-index: -1;
}
.hero--pop .hero__media img { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
@media (prefers-reduced-motion: no-preference) {
	.hero--pop h1, .hero--pop .hero__lead, .hero--pop .hero__actions, .hero--pop .facts-inline { animation: rise 0.8s var(--ease) both; }
	.hero--pop .hero__lead { animation-delay: 0.1s; }
	.hero--pop .facts-inline { animation-delay: 0.16s; }
	.hero--pop .hero__actions { animation-delay: 0.22s; }
	.hero--pop .hero__media { animation: rise 1s var(--ease) 0.1s both; }
}

/* ---------- The March, At a Glance, Expo ---------- */
.big-statement { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); font-weight: 850; line-height: 1.1; letter-spacing: -0.03em; }
.section--ink .big-statement { color: #fff; }
.lead-copy { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; }
.three-words {
	display: inline-block;
	margin-top: 6px;
	padding: 0.2em 0.5em;
	background: var(--ink);
	color: var(--gold);
	font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	transform: rotate(-2deg);
}
.sheet-pair { display: grid; gap: 28px; }
/* The two boxes are the same height side by side: content at the top, the "also" note and the foot at the bottom. */
.sheet-pair > div { display: flex; flex-direction: column; }
.sheet-pair .sheet { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; }
.sheet-pair .sheet__also { margin-top: auto; }
.sheet-pair .sheet-actions { margin-top: 16px; }
@media (min-width: 900px) {
	.sheet-pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.sheet-pair .sheet { padding: clamp(22px, 2.6vw, 32px); }
	.sheet-pair .sheet__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sheet-pair .fact:last-child:nth-child(even) { grid-column: 1 / -1; }
	.sheet-pair .sheet__intro { min-height: 7.6em; }
}
/* Where subgrid exists, every part of the two sheets lines up row by row (head, title, intro, times, foot). */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 900px) {
		.sheet-pair { grid-template-rows: repeat(8, auto); row-gap: 0; }
		.sheet-pair > div { display: grid; grid-row: span 8; grid-template-rows: subgrid; }
		.sheet-pair .sheet { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
		.sheet-pair .sheet__intro { min-height: 0; }
		.sheet-pair .sheet__facts { align-self: start; }
		.sheet-pair .sheet__also { margin-top: 0; align-self: stretch; }
		.sheet-pair .sheet__foot { align-self: end; }
	}
}
.sheet-pair .sheet-actions p { color: var(--muted); }
.sheet-pair .btn--ghost { color: var(--ink); }

.route-h { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.route { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: route; }
.route li {
	position: relative;
	padding: 18px 18px 18px 62px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	background: var(--ink-2);
	color: var(--muted-dark);
	counter-increment: route;
}
.route li::before {
	content: counter(route);
	position: absolute;
	left: 18px;
	top: 18px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--ink);
	font-weight: 900;
}
.route strong { color: #fff; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 84px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--red)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding: 12px 0; }
.timeline__item::before {
	content: "";
	position: absolute;
	left: 78px;
	top: 22px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--gold);
}
.timeline__item--the-march::before { border-color: var(--red); }
.timeline__item--expo::before { background: var(--gold); border-color: var(--gold); }
.timeline__item--home::before { background: var(--ink); border-color: var(--ink); }
.timeline__item time { padding: 12px 8px 0 0; font-weight: 900; font-size: 1.02rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline__item > div { padding: 12px 16px; border-radius: var(--radius); background: var(--cream); }
.timeline__item h3 { margin: 0; font-size: 1.08rem; }
.timeline__item p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 479.98px) {
	.timeline::before { left: 78px; }
	.timeline__item { grid-template-columns: 78px 1fr; gap: 20px; }
	.timeline__item::before { left: 72px; }
	.timeline__item time { font-size: 0.84rem; padding-right: 14px; }
}

.ways { display: grid; gap: 12px; align-content: start; }
@media (min-width: 960px) { .ways { position: sticky; top: calc(var(--header-h) + 20px); } }
.way {
	display: grid;
	gap: 4px;
	padding: 20px 22px;
	border-radius: var(--radius-lg);
	border: 2px solid var(--line);
	text-decoration: none;
	background: #fff;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.way strong { font-size: 1.25rem; font-weight: 850; }
.way span { color: var(--muted); font-size: 0.95rem; }
.way em { font-style: normal; font-weight: 900; color: var(--red); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.way:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.way--full { background: var(--ink); border-color: var(--ink); color: #fff; }
.way--full span { color: var(--muted-dark); }
.way--full em { color: var(--gold); }

.checklist--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.places { display: grid; gap: 12px; }
.place { padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.place h3 { margin: 0 0 4px; font-size: 1.1rem; }
.place p { margin: 0 0 8px; color: var(--muted); font-size: 0.95rem; }
.place__map { color: var(--ink); font-size: 0.9rem; }
.place__map:hover { color: var(--red); }
.hero .hero-home__link { color: #fff; }
/* ---------- Walk the route (interactive map) ---------- */

.route-section .section__head h2 .gold { color: var(--gold); }

.rg { color: #fff; }
.rg__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rg__modes { display: flex; flex-wrap: wrap; gap: 8px; }
.rg__modes button,
.rg__speed button {
	border: 1px solid var(--line-dark);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.rg__modes button { display: grid; gap: 1px; padding: 10px 16px; border-radius: 14px; text-align: left; }
.rg__modes button strong { font-size: 0.9rem; font-weight: 800; }
.rg__modes button span { font-size: 0.75rem; font-weight: 700; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.rg__modes button:hover { border-color: var(--gold); }
.rg__modes button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.rg__modes button[aria-pressed="true"] span { color: rgba(11, 11, 12, 0.7); }
.rg__speed { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.rg__speed button { min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: 999px; font-weight: 800; letter-spacing: 0; }
.rg__speed button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

.rg__grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .rg__grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: stretch; } }

.rg__stage {
	position: relative;
	overflow: hidden;
	min-height: 440px;
	height: clamp(460px, 68vh, 660px);
	border: 1px solid rgba(228, 183, 57, 0.35);
	border-radius: var(--radius-lg);
	background: #121214;
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(228, 183, 57, 0.06);
	isolation: isolate;
}
.rg__map { position: absolute; inset: 0; z-index: 0; background: #121214; }
.rg__map.leaflet-container { font-family: var(--font); background: #121214; }
.rg-tiles { filter: grayscale(1) invert(1) brightness(0.92) contrast(0.88); }
.rg .leaflet-control-attribution { background: rgba(11, 11, 12, 0.7); color: var(--muted-dark); font-size: 10px; }
.rg .leaflet-control-attribution a { color: #fff; }
.rg .leaflet-bar a { background: rgba(11, 11, 12, 0.85); color: #fff; border-color: var(--line-dark); }
.rg .leaflet-bar a:hover { background: var(--gold); color: var(--ink); }

/* HUD */
.rg__hud {
	position: absolute;
	z-index: 500;
	top: 12px;
	left: 12px;
	right: 12px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px 10px;
	padding: 12px 14px 14px;
	border: 1px solid var(--line-dark);
	border-radius: 16px;
	background: rgba(11, 11, 12, 0.78);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	pointer-events: none;
}
@media (min-width: 700px) { .rg__hud { right: auto; width: 380px; } }
.rg__hud div { display: grid; }
.rg__hud b { font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); font-weight: 900; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.rg__hud div span { margin-top: 3px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.rg__hud i { font-style: normal; }
.rg__next { grid-column: 1 / -1; margin: 8px 0 0; font-size: 0.78rem; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg__next strong { color: #fff; }
.rg__progress { grid-column: 1 / -1; position: relative; height: 6px; margin-top: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.rg__progress span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), #e0525c); transform: scaleX(0); transform-origin: left; transition: transform 0.15s linear; }

/* Controls */
.rg__controls { position: absolute; z-index: 600; left: 50%; bottom: 18px; display: flex; gap: 10px; align-items: center; transform: translateX(-50%); }
.rg__play { min-height: 56px; padding: 0.8em 1.6em 0.8em 1.25em; font-size: 1.02rem; box-shadow: 0 16px 40px -14px rgba(228, 183, 57, 0.9); white-space: nowrap; }
.rg__play-icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }
.rg.is-playing .rg__play-icon { width: 13px; height: 16px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.rg__reset {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	background: rgba(11, 11, 12, 0.8);
	color: #fff;
	cursor: pointer;
}
.rg__reset .icon { width: 20px; height: 20px; }
.rg__reset:hover { background: #fff; color: var(--ink); }

/* Milestone card */
.rg-toast {
	position: absolute;
	z-index: 650;
	left: 12px;
	right: 12px;
	bottom: 90px;
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(228, 183, 57, 0.5);
	border-left: 5px solid var(--gold);
	border-radius: 16px;
	background: rgba(11, 11, 12, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	pointer-events: none;
	transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
@media (min-width: 700px) { .rg-toast { left: auto; right: 16px; bottom: auto; top: 16px; width: 330px; } }
.rg-toast.is-on { opacity: 1; transform: none; }
.rg-toast__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--ink); }
.rg-toast__icon svg { width: 22px; height: 22px; }
.rg-toast__body { display: grid; gap: 2px; min-width: 0; }
.rg-toast__mile { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.rg-toast__body strong { font-size: 1.02rem; line-height: 1.25; }
.rg-toast__body > span:not(.rg-toast__mile) { font-size: 0.86rem; color: var(--muted-dark); line-height: 1.45; }
.rg-toast__body em { font-style: normal; font-size: 0.8rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.rg-toast__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--red); font-size: 0.75rem; justify-self: start; animation: badge-pop 0.6s var(--ease); }
.rg-toast__badge svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); }
@keyframes badge-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* Finish */
.rg__finish {
	position: absolute;
	z-index: 680;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 6px;
	padding: 24px;
	text-align: center;
	background: radial-gradient(70% 60% at 50% 50%, rgba(11, 11, 12, 0.92), rgba(11, 11, 12, 0.7));
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.rg.is-finished .rg__finish { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.rg.is-finished .rg__controls { display: none; }
.rg__finish-kicker { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.rg__finish-title { margin: 0; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.rg__finish [data-finish-stats] { margin: 6px 0 12px; font-weight: 700; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.rg__finish-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rg__confetti { position: absolute; inset: 0; z-index: 700; width: 100%; height: 100%; pointer-events: none; }

.rg__tap {
	position: absolute;
	z-index: 550;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 10px 16px;
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	background: rgba(11, 11, 12, 0.75);
	color: #fff;
	font-weight: 800;
	font-size: 0.85rem;
	cursor: pointer;
}
.rg.is-playing .rg__tap, .rg.is-finished .rg__tap { display: none; }
.rg__loading { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; margin: 0; color: var(--muted-dark); font-weight: 700; }
.rg.is-ready .rg__loading { display: none; }
.rg.is-error .rg__loading::after { content: " Could not load the map."; }

/* Map markers */
.rg-cp span {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border: 2px solid #e0525c;
	border-radius: 50%;
	background: #121214;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.rg-cp--em span { border-color: var(--gold); }
.rg-cp--big span { border-width: 3px; background: var(--ink); color: var(--gold); }
.rg-cp--big svg { width: 20px; height: 20px; }
.rg-cp.is-done span { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.08); }
.rg-cp.is-off { opacity: 0.35; }
.rg-cp:hover span { transform: scale(1.15); }
.rg-mile span {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	background: rgba(11, 11, 12, 0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 18px;
	font-variant-numeric: tabular-nums;
}
.rg-mile small { font-size: 8px; font-weight: 800; color: var(--gold); text-transform: uppercase; }
.rg-walker { position: relative; }
.rg-walker__dot {
	position: absolute;
	inset: 6px;
	display: grid;
	place-items: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--gold);
	color: var(--ink);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}
.rg-walker__dot svg { width: 16px; height: 16px; }
.rg-walker__pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(228, 183, 57, 0.45); animation: walker-ping 1.6s var(--ease) infinite; }
@keyframes walker-ping { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.rg-tip { background: var(--ink); color: #fff; border: 1px solid var(--gold); font-weight: 800; font-family: var(--font); }
.rg-tip::before { display: none; }

/* Side panel */
.rg__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	background: var(--ink-2);
}
.rg__side-h { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.rg__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rg__item button {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 9px 10px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: #fff;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rg__item button:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.rg__num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #e0525c; border-radius: 50%; font-size: 0.8rem; font-weight: 900; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.rg__item--em .rg__num { border-color: var(--gold); }
.rg__label { display: grid; gap: 1px; min-width: 0; }
.rg__label strong { font-size: 0.9rem; line-height: 1.25; }
.rg__label span { font-size: 0.74rem; color: var(--muted-dark); font-weight: 600; }
.rg__item.is-done .rg__num { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.rg__item.is-next button { border-color: rgba(228, 183, 57, 0.6); background: rgba(228, 183, 57, 0.08); }
.rg__badges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.rg__badge { display: grid; justify-items: center; gap: 4px; text-align: center; color: var(--muted-dark); }
.rg__badge .icon { width: 34px; height: 34px; padding: 7px; border: 2px dashed rgba(255, 255, 255, 0.2); border-radius: 50%; color: rgba(255, 255, 255, 0.3); }
.rg__badge em { font-style: normal; font-size: 0.6rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.04em; }
.rg__badge.is-earned { color: #fff; }
.rg__badge.is-earned .icon { border: 2px solid var(--gold); background: var(--gold); color: var(--ink); fill: var(--ink); animation: badge-pop 0.6s var(--ease); }
.rg__credit { margin: 12px 0 0; font-size: 0.78rem; color: var(--muted-dark); }

@media (max-width: 999.98px) {
	.rg__side { order: 2; }
	.rg__list { grid-template-columns: 1fr; }
}
@media (max-width: 599.98px) {
	.rg__modes { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
	.rg__modes button { padding: 8px 10px; }
	.rg__modes button strong { font-size: 0.78rem; }
	.rg__stage { height: 72vh; min-height: 460px; }
	.rg__hud { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 12px 12px; }
	.rg__play { min-height: 52px; font-size: 0.95rem; }
}

/* Sheet fact grid: the last cell stretches to fill its row, so there is never an empty grey cell. */
@media (min-width: 640px) {
	.sheet__facts > .fact:last-child:nth-child(3n) { grid-column: span 2; }
	.sheet__facts > .fact:last-child:nth-child(3n + 2) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
	.sheet-pair .sheet .sheet__facts > .fact:last-child { grid-column: auto; }
	.sheet-pair .sheet .sheet__facts > .fact:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media print {
	.sheet__facts > .fact:last-child:nth-child(3n) { grid-column: span 2; }
	.sheet__facts > .fact:last-child:nth-child(3n + 2) { grid-column: 1 / -1; }
}

/* Sponsorship cards with the level's artwork */
.product-card--image { padding-top: 0; overflow: hidden; }
.product-card__media { margin: 0 calc(-1 * clamp(22px, 3vw, 32px)) 6px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card--image:hover .product-card__media img { transform: scale(1.04); }
