/* ==========================================================================
   Polizeichor Bruchsal – "Bühne"
   A night stage: deep navy, blue spotlights, brass for everything you can
   press, poster type in capitals and the five staff lines of the logo moving
   like a live waveform. Tokens live in theme.json; this file builds the set.
   ========================================================================== */

:root {
	--st-night: var(--wp--preset--color--night, #070f2b);
	--st-night-2: #0b1738;
	--st-navy: var(--wp--preset--color--navy, #0f255d);
	--st-royal: var(--wp--preset--color--royal, #2457e0);
	--st-sky: var(--wp--preset--color--sky, #7db4f5);
	--st-brass: var(--wp--preset--color--brass, #d4a445);
	--st-chalk: var(--wp--preset--color--chalk, #e9effa);
	--st-fog: var(--wp--preset--color--fog, #9daacb);
	--st-line: rgb(125 180 245 / 0.18);
	--st-paper: #f3efe4;

	--st-poster: var(--wp--preset--font-family--poster, "Big Shoulders Display", Impact, sans-serif);
	--st-body: var(--wp--preset--font-family--body, "Hanken Grotesk", system-ui, sans-serif);
	--st-lyric: var(--wp--preset--font-family--lyric, "Instrument Serif", Georgia, serif);

	--st-bar-h: 88px;
	--st-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--st-gutter: var(--wp--style--root--padding-left, clamp(1rem, 4vw, 2.5rem));
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--st-bar-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.st-reveal { opacity: 1 !important; transform: none !important; }
}

::selection { background: var(--st-brass); color: var(--st-night); }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:where(a, button, summary, input, [tabindex]):focus-visible {
	outline: 3px solid var(--st-brass);
	outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { text-wrap: balance; hyphens: manual; }
p { text-wrap: pretty; }

@media (max-width: 420px) {
	.st-text p, .st-text li { hyphens: auto; }
}

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

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.pcb-icon { width: 1.15em; height: 1.15em; flex: none; }

.st-wrap {
	box-sizing: content-box;
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-inline: auto;
	padding-inline: var(--st-gutter);
}

/* The moving staff --------------------------------------------------------------- */

.st-waves {
	display: block;
	width: 100%;
	pointer-events: none;
	overflow: hidden;
}

.st-waves__line {
	stroke-width: 1.25px;
	animation: st-flow 22s linear infinite;
}

.st-waves__line--1 { animation-duration: 26s; opacity: 0.45; }
.st-waves__line--2 { animation-duration: 21s; animation-direction: reverse; opacity: 0.65; }
.st-waves__line--3 { animation-duration: 17s; }
.st-waves__line--4 { animation-duration: 23s; animation-direction: reverse; opacity: 0.65; }
.st-waves__line--5 { animation-duration: 29s; opacity: 0.45; }

.st-waves.is-still .st-waves__line { animation: none; }

@keyframes st-flow {
	to { transform: translateX(-720px); }
}

/* Kicker, titles, buttons ------------------------------------------------------- */

.st-kicker {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.9rem;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--st-sky);
}

.st-kicker::before {
	content: "";
	width: 2.25rem;
	height: 2px;
	background: var(--st-brass);
}

.st-kicker__no {
	font-family: var(--st-poster);
	font-size: 1.25rem;
	letter-spacing: 0.04em;
	color: var(--st-brass);
}

.st-kicker a { color: inherit; text-decoration: none; }
.st-kicker a:hover { color: var(--st-chalk); text-decoration: underline; }

.st-title {
	position: relative;
	margin: 0;
	font-family: var(--st-poster);
	font-weight: 900;
	font-size: clamp(3.5rem, 1.5rem + 8vw, 8.5rem);
	line-height: 0.85;
	text-transform: uppercase;
	color: var(--st-chalk);
}

.st-title--m { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 0.95; }

/* A hollow echo of the word, offset like a second voice. */
.st-title__echo {
	position: absolute;
	left: 0.12em;
	top: 0.1em;
	z-index: -1;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--st-royal);
}

.st-outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--st-sky);
}

@supports not (-webkit-text-stroke: 1px black) {
	.st-outline { color: var(--st-sky); }
	.st-title__echo { display: none; }
}

.st-lyric {
	font-family: var(--st-lyric);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.st-btn,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 3.25rem;
	box-sizing: border-box;
	transition: background-color 0.2s var(--st-ease), color 0.2s var(--st-ease), border-color 0.2s var(--st-ease), transform 0.2s var(--st-ease);
}

.st-btn {
	padding: 0.85rem 1.4rem;
	border: 2px solid var(--st-brass);
	background: var(--st-brass);
	color: var(--st-night);
	font-family: var(--st-poster);
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
}

.st-btn:hover { background: var(--st-chalk); border-color: var(--st-chalk); color: var(--st-night); text-decoration: none; }
.st-btn svg { transition: transform 0.2s var(--st-ease); }
.st-btn:hover svg { transform: translateX(4px); }

.st-btn--ghost,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid rgb(233 239 250 / 0.55);
	color: var(--st-chalk);
}

.st-btn--ghost:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--st-brass);
	color: var(--st-brass);
}

.st-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.st-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	font-weight: 700;
	color: var(--st-chalk);
	text-decoration: none;
	border-bottom: 2px solid var(--st-brass);
}

.st-more:hover { color: var(--st-brass); text-decoration: none; }

.st-empty {
	padding: 1.5rem;
	border: 1px dashed var(--st-line);
	color: var(--st-fog);
}

.st-fine { margin-top: 2.5rem; font-size: 0.9375rem; color: var(--st-fog); }
.st-lede { max-width: 42rem; color: var(--st-fog); font-size: 1.125rem; }

/* Masthead ------------------------------------------------------------------------ */

.wp-site-blocks > .wp-block-template-part:has(.st-bar) {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
}

.admin-bar .wp-site-blocks > .wp-block-template-part:has(.st-bar) { top: var(--wp-admin--admin-bar--height, 32px); }

@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > .wp-block-template-part:has(.st-bar) { top: 0; }
}

.st-bar {
	position: relative;
	padding-block: 1rem;
	transition: padding 0.3s var(--st-ease);
}

/* Gradient and blur on a pseudo-element, so the fixed overlay menu isn't trapped. */
.st-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgb(7 15 43 / 0.85), rgb(7 15 43 / 0));
	transition: background 0.3s var(--st-ease);
}

.st-scrolled .st-bar { padding-block: 0.5rem; }

.st-scrolled .st-bar::before {
	background: rgb(7 15 43 / 0.88);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	box-shadow: 0 1px 0 var(--st-line);
}

.st-bar__inner { gap: 1rem; }
.st-bar__right { gap: 0.75rem; }

.st-brand {
	display: inline-flex;
	flex: none;
	text-decoration: none;
	transition: opacity 0.2s var(--st-ease);
}

.st-brand:hover { opacity: 0.85; }
.st-brand__logo { display: block; width: auto; height: 54px; transition: height 0.3s var(--st-ease); }
.st-scrolled .st-bar .st-brand__logo { height: 44px; }

@media (max-width: 420px) {
	.st-brand__logo { height: 42px; }
}

/* "Nächster Auftritt" pill with an on-air dot. */
.st-quick {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0 1.1rem;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	background: rgb(7 15 43 / 0.5);
	color: var(--st-chalk);
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
}

.st-quick:hover { border-color: var(--st-brass); color: var(--st-chalk); text-decoration: none; }
.st-quick strong { color: var(--st-brass); }

.st-quick__live {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #ff5a4f;
	box-shadow: 0 0 0 0 rgb(255 90 79 / 0.6);
	animation: st-onair 1.8s ease-out infinite;
}

@keyframes st-onair {
	70% { box-shadow: 0 0 0 0.6rem rgb(255 90 79 / 0); }
	100% { box-shadow: 0 0 0 0 rgb(255 90 79 / 0); }
}

@media (max-width: 640px) {
	.st-quick__text { display: none; }
	.st-quick { padding: 0; width: 48px; justify-content: center; }
}

/* Menu button */
.st-nav .wp-block-navigation__responsive-container-open {
	display: inline-flex !important;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0 1.2rem;
	border-radius: 999px;
	background: var(--st-brass);
	color: var(--st-night);
	font-family: var(--st-poster);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.st-nav .wp-block-navigation__responsive-container-open::after { content: "Menü"; }
.st-nav .wp-block-navigation__responsive-container-open:hover { background: var(--st-chalk); }

/* Full-screen menu: a call sheet of giant words. */
.st-nav .wp-block-navigation__responsive-container.is-menu-open {
	background:
		radial-gradient(50rem 30rem at 85% 10%, rgb(36 87 224 / 0.45), transparent 60%),
		var(--st-night) !important;
	color: var(--st-chalk) !important;
	padding: 1.5rem var(--st-gutter) 2rem !important;
	animation: st-curtain 0.45s var(--st-ease);
}

@keyframes st-curtain {
	from { clip-path: inset(0 0 100% 0); }
	to { clip-path: inset(0 0 0 0); }
}

.st-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 5rem !important;
	max-width: 1280px;
	margin-inline: auto;
	align-items: flex-start !important;
}

.st-nav .is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	counter-reset: act;
	align-items: flex-start !important;
}

.st-nav .is-menu-open .wp-block-navigation-item {
	counter-increment: act;
	flex-direction: row !important;
	align-items: baseline !important;
	gap: 1rem;
}

.st-nav .is-menu-open .wp-block-navigation-item::before {
	content: counter(act, decimal-leading-zero);
	font-family: var(--st-poster);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--st-brass);
}

.st-nav .is-menu-open .wp-block-navigation-item__content {
	padding: 0 !important;
	font-family: var(--st-poster);
	font-size: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
	font-weight: 900;
	line-height: 1.02;
	text-transform: uppercase;
	color: var(--st-chalk) !important;
	text-decoration: none;
	transition: color 0.2s var(--st-ease), transform 0.25s var(--st-ease);
}

.st-nav .is-menu-open .wp-block-navigation-item__content:hover,
.st-nav .is-menu-open .wp-block-navigation-item__content:focus-visible {
	color: transparent !important;
	-webkit-text-stroke: 2px var(--st-sky);
	transform: translateX(0.5rem);
}

.st-nav .is-menu-open [aria-current="page"] { color: var(--st-brass) !important; }

.st-nav .wp-block-navigation__responsive-container-close {
	top: 1.5rem;
	right: var(--st-gutter);
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--st-brass);
	color: var(--st-night);
}

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

/* Main --------------------------------------------------------------------------- */

.st-main { padding-bottom: clamp(4rem, 9vw, 7rem); }
.st-main--home { padding-bottom: 0; }

.st-section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }

.st-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.st-head .st-kicker { flex-basis: 100%; margin-bottom: 0; }

/* Hero ---------------------------------------------------------------------------- */

.st-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: max(100svh, 40rem);
	overflow: hidden;
	isolation: isolate;
	background: var(--st-night);
}

/* The photo in stage light: monochrome, tinted blue, fading into the night. */
.st-hero__photo {
	position: absolute;
	inset: 0 0 0 28%;
	z-index: -3;
	background: var(--st-royal);
}

.st-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 80%;
	filter: grayscale(1) contrast(1.25) brightness(0.9);
}

/* Blue stage light: the colour layer keeps the photo's light and shadow. */
.st-hero__photo::before,
.st-voice__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--st-royal);
	mix-blend-mode: color;
	transition: opacity 0.6s var(--st-ease);
}

.st-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(90deg, var(--st-night) 0%, rgb(7 15 43 / 0.7) 28%, rgb(7 15 43 / 0) 60%),
		linear-gradient(0deg, var(--st-night) 0%, rgb(7 15 43 / 0) 22%);
}

/* A spotlight that follows the pointer (stage.js sets --mx / --my). */
.st-hero__light {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(38rem 28rem at var(--mx, 70%) var(--my, 30%), rgb(125 180 245 / 0.22), transparent 70%);
	transition: background-position 0.2s;
}

.st-hero__waves {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18%;
	z-index: -1;
	height: clamp(8rem, 18vw, 14rem);
	color: var(--st-sky);
	opacity: 0.55;
}

.st-hero__inner {
	position: relative;
	width: 100%;
	padding-top: calc(var(--st-bar-h) + 2rem);
	padding-bottom: clamp(2.5rem, 7vw, 5rem);
}

.st-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--st-poster);
	font-weight: 900;
	font-size: clamp(4.25rem, min(14vw, 21svh), 13rem);
	line-height: 0.8;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--st-chalk);
}

.st-hero__title .st-outline { -webkit-text-stroke-width: clamp(1.5px, 0.25vw, 3px); }

.st-hero__lyric {
	max-width: 30rem;
	margin: 1.5rem 0 0;
	font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
	line-height: 1.1;
	color: var(--st-brass);
}

.st-hero__lead {
	max-width: 34rem;
	margin: 1rem 0 0;
	font-size: 1.1875rem;
	color: var(--st-fog);
}

/* Next highlight: a ticket stub pinned to the right edge. */
.st-hero__next {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 22rem;
	margin-top: 2.5rem;
	padding: 1.1rem 1.4rem 1.2rem 1.6rem;
	background: var(--st-paper);
	color: var(--st-night);
	text-decoration: none;
	line-height: 1.25;
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
	transform: rotate(-1.5deg);
	transition: transform 0.3s var(--st-ease);
	/* Perforation on the left edge. */
	-webkit-mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) 0 0 / 100% 18px;
	mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) 0 0 / 100% 18px;
}

.st-hero__next:hover { transform: rotate(0deg) translateY(-3px); color: var(--st-night); text-decoration: none; }

.st-hero__next small {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-royal);
}

.st-hero__next strong {
	margin: 0.2rem 0;
	font-family: var(--st-poster);
	font-size: 2rem;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.95;
}

.st-hero__next span { font-size: 1rem; }

@media (min-width: 1000px) {
	.st-hero__next {
		position: absolute;
		right: var(--st-gutter);
		bottom: clamp(2.5rem, 7vw, 5rem);
		margin: 0;
	}
}

@media (max-width: 760px) {
	.st-hero__photo { inset: 0; }
	.st-hero__photo::after { background: linear-gradient(0deg, var(--st-night) 30%, rgb(7 15 43 / 0.55) 70%, rgb(7 15 43 / 0.8)); }
}

/* Ticker ----------------------------------------------------------------------------- */

.st-ticker {
	overflow: hidden;
	padding-block: 1rem;
	background: var(--st-brass);
	color: var(--st-night);
	transform: rotate(-1.2deg) scale(1.02);
	margin-block: -0.5rem;
	position: relative;
	z-index: 2;
}

.st-ticker__run {
	display: flex;
	width: max-content;
	gap: 1.75rem;
	align-items: center;
	font-family: var(--st-poster);
	font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
	animation: st-ticker 40s linear infinite;
}

.st-ticker__run > span { display: inline-flex; gap: 0.5rem; }
.st-ticker__run b { font-weight: 900; color: var(--st-navy); }
.st-ticker__run i { font-style: normal; font-size: 0.8em; color: var(--st-navy); }
.st-ticker:hover .st-ticker__run { animation-play-state: paused; }

@keyframes st-ticker {
	to { transform: translateX(-50%); }
}

/* Gigs (tour list) --------------------------------------------------------------------- */

.st-gigs {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--st-line);
}

.st-gig {
	position: relative;
	display: grid;
	grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr) auto;
	gap: 0.5rem 2rem;
	align-items: center;
	margin: 0 !important;
	padding: 1.5rem 1rem;
	border-bottom: 1px solid var(--st-line);
	transition: background-color 0.25s var(--st-ease);
}

/* Spotlight on the row under the pointer. */
.st-gig::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(30rem 8rem at 15% 50%, rgb(36 87 224 / 0.35), transparent 70%);
	opacity: 0;
	transition: opacity 0.3s var(--st-ease);
}

.st-gig:hover::before { opacity: 1; }

.st-gig__date {
	display: flex;
	flex-direction: column;
	margin: 0;
	line-height: 1;
}

/* The visible date sits in an aria-hidden wrapper; let its parts take part in the layout. */
.st-gig__date > [aria-hidden] { display: contents; }

.st-gig__dm {
	font-family: var(--st-poster);
	font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem);
	font-weight: 900;
	color: var(--st-chalk);
	letter-spacing: -0.01em;
}

.st-gig__to { display: block; font-size: 0.55em; color: var(--st-sky); }

.st-gig__wy {
	margin-top: 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-brass);
}

.st-gig__main > * { margin: 0; }

.st-gig__title {
	font-family: var(--st-poster);
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: var(--st-chalk);
}

.st-gig__info {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin-top: 0.6rem !important;
	color: var(--st-fog);
}

.st-gig__info span { display: inline-flex; align-items: center; gap: 0.4rem; }
.st-gig__info svg { color: var(--st-sky); }
.st-gig__note { margin-top: 0.35rem !important; font-family: var(--st-lyric); font-style: italic; font-size: 1.375rem; color: var(--st-brass); line-height: 1.2; }

.st-gig__kind {
	margin: 0;
	padding: 0.3rem 0.7rem;
	border: 1px solid currentColor;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--st-sky);
	white-space: nowrap;
}

.st-gig--konzert .st-gig__kind { color: var(--st-brass); }
.st-gig--reise .st-gig__kind { color: #7fe0c0; }
.st-gig--verein .st-gig__kind { color: #d0b3ff; }

.st-gig__actions {
	grid-column: 2 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
}

.st-gig__btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1.1rem;
	border: 2px solid var(--st-line);
	font-family: var(--st-poster);
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-chalk);
	text-decoration: none;
}

.st-gig__btn:hover { border-color: var(--st-chalk); color: var(--st-chalk); text-decoration: none; }
.st-gig__btn--solid { border-color: var(--st-brass); background: var(--st-brass); color: var(--st-night); }
.st-gig__btn--solid:hover { background: var(--st-chalk); border-color: var(--st-chalk); color: var(--st-night); }

@media (max-width: 700px) {
	.st-gig { grid-template-columns: 1fr; padding-inline: 0; gap: 0.75rem; }
	.st-gig__date { flex-direction: row; align-items: baseline; gap: 0.75rem; }
	.st-gig__to { display: inline; }
	.st-gig__kind { justify-self: start; grid-row: 1; }
	.st-gig__actions { grid-column: auto; }
}

/* Termine page */
.st-termine { margin-top: clamp(2rem, 5vw, 3rem) !important; }
.st-block + .st-block { margin-top: clamp(4rem, 9vw, 7rem); }
.st-block .st-title { margin-bottom: 2rem; }

.st-probes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	margin: 1.5rem 0 0;
	padding: 0 1px 1px 0;
	list-style: none;
}

/* Cells share their borders like the bars of a score. */
.st-probe {
	display: flex;
	gap: 1rem;
	margin: 0 -1px -1px 0 !important;
	padding: 1.1rem 1.2rem;
	border: 1px solid var(--st-line);
	background: var(--st-night);
}

.st-probe__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 3.25rem;
	margin: 0;
	line-height: 1;
	text-transform: uppercase;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--st-sky);
}

.st-probe__day strong {
	font-family: var(--st-poster);
	font-size: 2.6rem;
	font-weight: 900;
	color: var(--st-chalk);
	letter-spacing: 0;
}

.st-probe__body > * { margin: 0; }
.st-probe__title { font-family: var(--st-body); font-size: 1.125rem; font-weight: 700; text-transform: none; line-height: 1.3; color: var(--st-chalk); }
.st-probe__note { font-family: var(--st-lyric); font-style: italic; font-size: 1.25rem; line-height: 1.2; color: var(--st-brass); margin-top: 0.2rem !important; }
.st-probe__hall { font-size: 0.9375rem; color: var(--st-fog); margin-top: 0.2rem !important; }

/* Zwei Stimmen ---------------------------------------------------------------------------- */

.st-section--voices { padding-bottom: 0; }

.st-voices {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.st-voices { grid-template-columns: 1fr 1fr; }
}

.st-voice {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(30rem, 70vh, 44rem);
	margin: 0 !important;
	overflow: hidden;
	isolation: isolate;
	background: var(--st-navy);
}

.st-voice__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--st-royal);
}

.st-voice__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.15) brightness(1.1);
	transition: filter 0.6s var(--st-ease), transform 0.8s var(--st-ease);
}

/* The photo gets its colour back when you look at it. */
.st-voice:hover .st-voice__img { filter: none; transform: scale(1.03); }
.st-voice:hover .st-voice__media::before { opacity: 0; }

.st-voice::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, var(--st-night) 15%, rgb(7 15 43 / 0.75) 50%, rgb(7 15 43 / 0) 80%);
}

.st-voice__body { width: 100%; max-width: 40rem; box-sizing: border-box; padding: clamp(1.5rem, 4vw, 3rem); container-type: inline-size; }
.st-voice__body > * { margin: 0; }
.st-voice__body p { color: var(--st-chalk); }
.st-voice__body > p:not(.st-voice__tag) { margin-top: 1rem; }

.st-voice__tag { font-family: var(--st-lyric); font-style: italic; font-size: 1.5rem; color: var(--st-brass) !important; }

.st-voice__title {
	font-family: var(--st-poster);
	font-weight: 900;
	font-size: clamp(2.5rem, 12.5cqi, 5.5rem);
	line-height: 0.85;
	text-transform: uppercase;
	color: var(--st-chalk);
}

/* Seit 1951 ------------------------------------------------------------------------------------ */

.st-section--story { overflow: hidden; }

.st-story-grid {
	position: relative;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

@media (min-width: 960px) {
	.st-story-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

.st-bigyear {
	position: absolute;
	top: -0.18em;
	left: -0.04em;
	z-index: -1;
	margin: 0;
	font-family: var(--st-poster);
	font-size: clamp(9rem, 4rem + 22vw, 24rem);
	font-weight: 900;
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1.5px rgb(125 180 245 / 0.28);
}

.st-story-grid__text { padding-top: clamp(4rem, 10vw, 9rem); }
.st-story-grid__text > p { max-width: 36rem; color: var(--st-fog); font-size: 1.1875rem; }
.st-story-grid__text .st-title { margin-bottom: 1.25rem; }

.st-story-grid__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: grayscale(0.35);
	clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

.st-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.st-stats li { display: flex; flex-direction: column; max-width: 12rem; }

.st-stats strong {
	font-family: var(--st-poster);
	font-size: clamp(4rem, 3rem + 3vw, 6rem);
	font-weight: 900;
	line-height: 0.85;
	color: var(--st-brass);
}

.st-stats span { margin-top: 0.4rem; font-size: 1rem; color: var(--st-fog); line-height: 1.35; }

/* Backstage ------------------------------------------------------------------------------------ */

.st-backstage-home {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 1000px) {
	.st-backstage-home { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
}

.st-feature {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--st-line);
	border-top: 3px solid var(--st-brass);
	background: var(--st-night-2);
	transition: border-color 0.3s var(--st-ease), transform 0.3s var(--st-ease);
}

.st-feature:hover { border-color: rgb(212 164 69 / 0.6); border-top-color: var(--st-brass); transform: translateY(-3px); }

/* Picture strip: the report's photo, or the moving staff lines when it has none. */
.st-feature__media {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--st-navy), #173a9c);
	color: var(--st-sky);
}

.st-feature__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.8s var(--st-ease);
}

.st-feature:hover .st-feature__img { transform: scale(1.04); }

.st-feature__waves { height: clamp(5rem, 12vw, 8rem); opacity: 0.6; }

.st-feature__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.st-feature__body > * { margin: 0; }

.st-feature__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--st-fog);
}

.st-feature__flag {
	padding: 0.2rem 0.55rem;
	background: var(--st-brass);
	color: var(--st-night);
	font-family: var(--st-poster);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.st-feature__text {
	color: var(--st-fog);
	font-size: 1.0625rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.st-feature__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.25rem !important;
	font-family: var(--st-poster);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-brass);
}

.st-feature__more svg { transition: transform 0.2s var(--st-ease); }
.st-feature:hover .st-feature__more svg { transform: translateX(4px); }

.st-feature__title {
	font-family: var(--st-poster);
	font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
	font-weight: 900;
	line-height: 0.95;
	text-transform: uppercase;
}

.st-feature__title a,
.st-story__title a { color: var(--st-chalk); text-decoration: none; }

.st-feature__title a::after,
.st-story__title a::after { content: ""; position: absolute; inset: 0; }

.st-feature:hover .st-feature__title a,
.st-story:hover .st-story__title a { color: var(--st-brass); }

.st-stories { margin: 0; padding: 0; list-style: none; }

.st-story {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 7.5rem;
	grid-template-areas: "date media" "title media" "text media";
	column-gap: 1.25rem;
	align-content: start;
	margin: 0 !important;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--st-line);
}

.st-story:first-child { padding-top: 0; }
.st-story > * { margin: 0; }

.st-story__date {
	grid-area: date;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--st-brass);
}

.st-story__title {
	grid-area: title;
	margin-top: 0.3rem !important;
	font-family: var(--st-poster);
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.st-story__text { grid-area: text; margin-top: 0.5rem !important; font-size: 1rem; color: var(--st-fog); }

.st-story__media {
	grid-area: media;
	align-self: start;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--st-navy);
	color: var(--st-sky);
}

.st-story__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.4s; }
.st-story:hover .st-story__img { filter: none; }
.st-story__waves { height: 100%; opacity: 0.6; }

/* Aktuelles page: one block per year with a giant hollow year. */
.st-backstage { margin-top: clamp(2rem, 5vw, 3rem) !important; }

.st-yearnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.st-yearnav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1rem;
	border: 2px solid var(--st-line);
	font-family: var(--st-poster);
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--st-chalk);
	text-decoration: none;
}

.st-yearnav a:hover { border-color: var(--st-brass); color: var(--st-brass); }

.st-year {
	display: grid;
	gap: 1rem 3rem;
	padding-block: 2rem;
	border-top: 1px solid var(--st-line);
}

@media (min-width: 900px) {
	.st-year { grid-template-columns: 16rem minmax(0, 1fr); }
	.st-year__no { position: sticky; top: calc(var(--st-bar-h) + 1rem); align-self: start; }
}

.st-year__no {
	margin: 0;
	font-family: var(--st-poster);
	font-size: clamp(5rem, 3rem + 6vw, 9rem);
	font-weight: 900;
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 2px var(--st-sky);
}

.st-year .st-story { grid-template-columns: minmax(0, 1fr) 10rem; }
.st-year .st-story__title { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }

@media (max-width: 560px) {
	.st-story,
	.st-year .st-story { grid-template-columns: minmax(0, 1fr) 5rem; }
}

/* Page head ------------------------------------------------------------------------------------- */

.st-pagehead {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-top: calc(var(--st-bar-h) + clamp(3rem, 8vw, 6rem));
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
	background:
		radial-gradient(50rem 24rem at 90% 0%, rgb(36 87 224 / 0.45), transparent 65%),
		var(--st-night);
	border-bottom: 1px solid var(--st-line);
}

.st-pagehead__waves {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 100%;
	height: 9rem;
	color: var(--st-sky);
	opacity: 0.4;
}

.st-pagehead__title {
	margin: 0;
	font-family: var(--st-poster);
	font-weight: 900;
	font-size: clamp(4rem, 1.5rem + 10vw, 11rem);
	line-height: 0.85;
	text-transform: uppercase;
	color: var(--st-chalk);
}

.st-pagehead--long .st-pagehead__title { font-size: clamp(2.75rem, 1.5rem + 4.5vw, 6rem); line-height: 0.92; max-width: 18ch; }

/* Text pages ------------------------------------------------------------------------------------- */

.st-text { padding-top: clamp(2.5rem, 6vw, 4rem); }

.st-text > * + * { margin-block-start: 1.35rem; }
.st-text > :first-child { margin-top: 0; }

.st-text p,
.st-text li { color: #d3dcef; }

.st-text h2 {
	margin-top: 3.5rem;
	font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
	line-height: 0.95;
}

.st-text h3 {
	margin-top: 2.5rem;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}

.st-text h2 + *,
.st-text h3 + * { margin-top: 1rem; }

.st-text .pcb-lead,
.st-text > p.pcb-lead {
	font-family: var(--st-lyric);
	font-style: italic;
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem);
	line-height: 1.2;
	color: var(--st-chalk);
}

.st-text .is-style-credit {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--st-brass);
}

.st-text .is-style-credit::before { content: "— "; }

.st-text figure.wp-block-image,
.st-text .wp-block-gallery { margin-block: 2.5rem; }

.st-text .wp-element-caption {
	margin-top: 0.75rem;
	padding-left: 0.9rem;
	border-left: 2px solid var(--st-brass);
	text-align: left;
	color: var(--st-fog);
	font-size: 1rem;
	line-height: 1.5;
}

.st-text hr,
.st-text .wp-block-separator {
	height: 3rem;
	border: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 48' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%237DB4F5' stroke-width='1' opacity='.5'%3E%3Cpath d='M0 12C100 0 200 24 300 12S400 0 400 12'/%3E%3Cpath d='M0 18C100 6 200 30 300 18S400 6 400 18'/%3E%3Cpath d='M0 24C100 12 200 36 300 24S400 12 400 24'/%3E%3Cpath d='M0 30C100 18 200 42 300 30S400 18 400 30'/%3E%3Cpath d='M0 36C100 24 200 48 300 36S400 24 400 36'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.st-text .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--st-line);
	background: var(--st-night-2);
}

.st-text .wp-block-file > a:first-child { flex: 1 1 14rem; color: var(--st-chalk); font-weight: 600; }
.st-text .wp-block-file__button { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 1.125rem; }

.st-text .wp-block-list { padding-left: 1.25rem; }
.st-text .wp-block-list li::marker { color: var(--st-brass); }

.st-text .post-password-form {
	padding: 1.5rem;
	border: 1px solid var(--st-line);
	background: var(--st-night-2);
}

.st-text .post-password-form input[type="password"] {
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--st-fog);
	background: var(--st-night);
	color: var(--st-chalk);
}

.st-text .post-password-form input[type="submit"] {
	min-height: 44px;
	padding: 0 1.2rem;
	border: 0;
	background: var(--st-brass);
	color: var(--st-night);
	font-weight: 700;
	cursor: pointer;
}

/* Single report */
.st-main--report .st-text { padding-top: clamp(2.5rem, 6vw, 4rem); }

.st-pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	align-items: center;
	margin-top: clamp(3rem, 8vw, 5rem) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--st-line);
}

.st-pager__link {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: var(--st-chalk);
	text-decoration: none;
	line-height: 1.25;
}

.st-pager__link small { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--st-brass); }
.st-pager__link span { font-family: var(--st-poster); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
.st-pager__link:hover span { color: var(--st-brass); }
.st-pager__link--next { text-align: right; }
.st-pager__all { font-weight: 700; color: var(--st-chalk); }

@media (max-width: 700px) {
	.st-pager { grid-template-columns: 1fr; }
	.st-pager__link--next { text-align: left; }
}

/* Vorstand: line-up poster --------------------------------------------------------------------- */

.st-lineup {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin-top: clamp(2.5rem, 6vw, 4rem) !important;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
	border: 1px solid var(--st-line);
	background:
		radial-gradient(40rem 22rem at 50% 0%, rgb(36 87 224 / 0.4), transparent 70%),
		var(--st-night-2);
	text-align: center;
}

.st-lineup__waves {
	position: absolute;
	left: 0;
	right: 0;
	top: 42%;
	z-index: -1;
	height: 10rem;
	color: var(--st-sky);
	opacity: 0.25;
}

.st-lineup__head,
.st-lineup__foot {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--st-brass);
}

.st-lineup__foot { margin-top: 2.5rem; color: var(--st-fog); }

.st-lineup__acts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem 3.5rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.st-act {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 !important;
}

.st-act > * { margin: 0; }

.st-act--headliner { flex-basis: 100%; }

.st-act__photo {
	width: 7rem;
	height: 7rem;
	margin-bottom: 0.75rem;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
	border: 2px solid var(--st-brass);
}

.st-act__role {
	font-family: var(--st-lyric);
	font-style: italic;
	font-size: 1.375rem;
	line-height: 1.1;
	color: var(--st-sky);
}

.st-act__name {
	margin-top: 0.2rem !important;
	font-family: var(--st-poster);
	font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem);
	font-weight: 900;
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--st-chalk);
}

.st-act--headliner .st-act__name {
	font-size: clamp(3.5rem, 1.5rem + 8vw, 8.5rem);
	background: linear-gradient(180deg, #fff 30%, var(--st-sky));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.st-act__contact {
	display: flex;
	gap: 1rem;
	margin-top: 0.5rem !important;
}

.st-act__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	font-weight: 700;
	color: var(--st-brass);
}

/* Kontakt ------------------------------------------------------------------------------------------- */

.st-contact { margin-top: clamp(2.5rem, 6vw, 4rem) !important; }

.st-contact__mail { margin: 0 0 3rem; }

.st-contact__mail span {
	display: block;
	font-family: var(--st-lyric);
	font-style: italic;
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem);
	color: var(--st-brass);
}

.st-contact__mail a {
	font-family: var(--st-poster);
	font-size: clamp(2rem, 0.6rem + 5.2vw, 6rem);
	font-weight: 900;
	line-height: 1;
	color: var(--st-chalk);
	text-decoration: none;
	overflow-wrap: anywhere;
	background: linear-gradient(var(--st-brass), var(--st-brass)) left bottom / 0 4px no-repeat;
	transition: background-size 0.4s var(--st-ease);
}

.st-contact__mail a:hover { background-size: 100% 4px; color: var(--st-chalk); }

.st-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	padding: 0 1px 1px 0;
}

.st-contact__cell { margin: 0 -1px -1px 0; padding: 1.5rem; border: 1px solid var(--st-line); background: var(--st-night); }
.st-contact__cell h2 { margin: 0 0 0.75rem; font-size: 1.5rem; color: var(--st-brass); }
.st-contact__cell p { margin: 0.25rem 0 0; }

/* Finale: Mitsingen + Probenzettel ------------------------------------------------------------------- */

.st-section--finale {
	background:
		radial-gradient(45rem 25rem at 20% 100%, rgb(36 87 224 / 0.35), transparent 70%),
		var(--st-night);
	border-top: 1px solid var(--st-line);
}

.st-finale {
	display: grid;
	gap: clamp(2.5rem, 6vw, 4rem);
	align-items: center;
}

@media (min-width: 960px) {
	.st-finale { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
}

.st-join__title {
	margin: 0;
	font-family: var(--st-poster);
	font-size: clamp(3.5rem, 1.5rem + 7vw, 8rem);
	font-weight: 900;
	line-height: 0.85;
	text-transform: uppercase;
	color: var(--st-chalk);
}

.st-join p { max-width: 34rem; font-size: 1.1875rem; color: var(--st-fog); }

/* The rehearsal note: real paper with real staff lines. */
.st-sheet {
	position: relative;
	padding: 1.75rem 1.75rem 1.5rem;
	background:
		repeating-linear-gradient(180deg, transparent 0 22px, rgb(15 37 93 / 0.14) 22px 23px) 0 4.5rem / 100% 115px no-repeat,
		var(--st-paper);
	color: var(--st-night);
	transform: rotate(1.5deg);
	box-shadow: 0 40px 70px -35px rgb(0 0 0 / 0.9);
}

.st-sheet::before {
	content: "";
	position: absolute;
	top: -0.75rem;
	left: 50%;
	width: 6rem;
	height: 1.5rem;
	transform: translateX(-50%) rotate(-3deg);
	background: rgb(212 164 69 / 0.75);
}

.st-sheet > * { margin: 0; }
.st-sheet > * + * { margin-top: 0.4rem; }

.st-sheet__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--st-royal); }
.st-sheet__title { font-family: var(--st-poster); font-size: 2.5rem; font-weight: 900; line-height: 0.95; text-transform: uppercase; color: var(--st-night); }
.st-sheet__when { font-weight: 700; font-size: 1.25rem; margin-top: 1rem !important; }
.st-sheet__note { font-family: var(--st-lyric); font-style: italic; font-size: 1.5rem; line-height: 1.15; color: var(--st-royal); }
.st-sheet a { color: var(--st-royal); font-weight: 700; }

/* Footer --------------------------------------------------------------------------------------- */

.st-footer {
	position: relative;
	overflow: hidden;
	padding-top: clamp(3rem, 7vw, 4.5rem);
	background: #040a1f;
	color: var(--st-fog);
	border-top: 1px solid var(--st-line);
}

.st-footer__waves {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 7rem;
	color: var(--st-sky);
	opacity: 0.18;
}

.st-footer a { color: var(--st-chalk); }
.st-footer a:hover { color: var(--st-brass); }

.st-footer__grid {
	position: relative;
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) { .st-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.st-footer__grid p { margin: 0 0 0.5rem; }
.st-footer__brand .st-brand__logo { height: 64px; }
.st-footer__brand .st-lyric { margin-top: 1.25rem; font-size: 1.75rem; line-height: 1.15; color: var(--st-brass); max-width: 18rem; }

.st-footer__title {
	margin: 0 0 1rem;
	font-family: var(--st-body);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--st-sky);
}


/*
 * The name, as big as the stage. It slides up under the columns and fades in
 * from the top, so the footer reads as one piece instead of two blocks.
 * Sized in container units of .st-wrap, so it always fits the content width.
 */
.st-footer .st-wrap { container-type: inline-size; }

.st-footer__word {
	position: relative;
	z-index: 0;
	margin: -0.5em 0 0;
	font-family: var(--st-poster);
	font-size: min(19rem, 20.5cqi);
	font-weight: 900;
	line-height: 0.74;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgb(125 180 245 / 0.45);
	pointer-events: none;
	user-select: none;
	transition: transform 1.4s var(--st-ease), opacity 1.4s var(--st-ease), -webkit-text-stroke-color 1.8s var(--st-ease);
}

/* stage.js: waiting below the fold, then rising into the light. */
/* Two copies of the word: a sharp one that fades in towards the bottom and a
   blurred one on top of it that fades out – the letters come into focus as
   they emerge from under the columns. */
.st-footer__sharp,
.st-footer__soft { display: block; }

.st-footer__sharp {
	-webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.05) 0%, rgb(0 0 0 / 0.5) 30%, #000 50%);
	mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.05) 0%, rgb(0 0 0 / 0.5) 30%, #000 50%);
}

.st-footer__soft {
	position: absolute;
	inset: 0;
	-webkit-text-stroke: 0.015em rgb(125 180 245 / 0.5);
	filter: blur(0.035em); /* scales with the word: soft on desktop, still legible on phones */
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 0.55) 12%, rgb(0 0 0 / 0.3) 30%, transparent 50%);
	mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 0.55) 12%, rgb(0 0 0 / 0.3) 30%, transparent 50%);
}

.st-footer__word.is-waiting {
	opacity: 0;
	transform: translateY(18%);
	-webkit-text-stroke-color: rgb(212 164 69 / 0.6);
}

.st-footer__grid { z-index: 1; }

.st-footer__legal {
	position: relative;
	z-index: 1;
	margin-top: -1px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--st-line);
	font-size: 0.9375rem;
}

.st-footer__legal p { margin: 0; }

/* Phones: a compact footer – logo and line side by side, contact and rehearsal in two short columns. */
@media (max-width: 899px) {
	.st-footer { padding-top: 2.5rem; }
	.st-footer__waves { height: 4rem; }
	.st-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; font-size: 1rem; line-height: 1.5; }
	.st-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
	.st-footer__brand .st-brand__logo { height: 48px; }
	.st-footer__brand .st-lyric { margin: 0; font-size: 1.3rem; }
	.st-footer__title { margin-bottom: 0.5rem; font-size: 0.75rem; }
	.st-footer__grid p { margin-bottom: 0.35rem; }
	.st-footer__col a { overflow-wrap: anywhere; }
	.st-footer__word { margin-top: -0.3em; }
	.st-footer__legal { flex-direction: column; gap: 0.35rem; padding-block: 1rem 1.25rem; font-size: 0.875rem; }
}

@media (max-width: 420px) {
	.st-footer__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Reveal (stage.js adds .st-reveal only when motion is welcome) ------------------------------- */

.st-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--st-ease) var(--st-delay, 0ms), transform 0.7s var(--st-ease) var(--st-delay, 0ms);
}

.st-reveal.is-visible { opacity: 1; transform: none; }

/* Print ------------------------------------------------------------------------------------------ */

@media print {
	body { background: #fff; color: #000; }
	.wp-site-blocks > .wp-block-template-part:has(.st-bar), .st-waves, .st-ticker, .st-footer__word { display: none !important; }
	.st-pagehead, .st-hero, .st-footer { background: none; color: #000; }
	.st-pagehead__title, .st-title, .st-gig__title, .st-gig__dm { color: #000; }
}
