/*
	VGOScore — site design.
	Built on the VGOScore identity: the navy gradient of the logo, the green and
	red diagonal bands with their light edge, white heavy lettering.
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */

@font-face {
	font-family: 'Lilita One';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/lilita-one-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lilita One';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/lilita-one-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
	--ink-950: #0c0f13;
	--ink-900: #11151b;
	--ink-850: #151a21;
	--ink-800: #1a2029;
	--ink-700: #222a35;
	--ink-600: #2c3542;
	--ink-500: #3a4553;

	--paper: #ebecea;
	--text: #e8ebee;
	--text-soft: #c3cad3;
	--muted: #9aa5b1;

	--green: #508265;          /* logo band */
	--green-deep: #3d6a50;     /* buttons (white text 5.9:1) */
	--green-light: #7cc19a;    /* text accents on navy */
	--red: #772625;            /* logo band */
	--red-light: #e07b74;      /* text accents on navy */

	/* Logo bands (Luigi green top-left, Mario red bottom-right) as crisp vector shapes */
	--band-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='200' viewBox='0 0 270 200' preserveAspectRatio='none' shape-rendering='geometricPrecision'%3E%3Cpolygon points='0,0 144,0 0,107' fill='%23ebecea'/%3E%3Cpolygon points='0,0 134,0 0,99' fill='%23508265'/%3E%3C/svg%3E");
	--band-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='200' viewBox='0 0 270 200' preserveAspectRatio='none' shape-rendering='geometricPrecision'%3E%3Cpolygon points='270,200 126,200 270,93' fill='%23ebecea'/%3E%3Cpolygon points='270,200 136,200 270,101' fill='%23772625'/%3E%3C/svg%3E");
	--band-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='200' viewBox='0 0 270 200' preserveAspectRatio='none' shape-rendering='geometricPrecision'%3E%3Cpolygon points='270,0 126,0 270,107' fill='%23ebecea'/%3E%3Cpolygon points='270,0 136,0 270,99' fill='%23508265'/%3E%3C/svg%3E");

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .65);
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);

	--font-display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	color-scheme: dark;
}

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

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--ink-850);
	background-image: linear-gradient(180deg, var(--ink-900) 0, var(--ink-850) 480px);
	color: var(--text);
	font: 400 1.0625rem/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

main { flex: 1 0 auto; }

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--green-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #a6dcbc; }

:focus-visible {
	outline: 3px solid var(--green-light);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: .005em;
	color: #fff;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { color: #fff; font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--ink-600); margin: 2.5rem 0; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap.narrow { max-width: 820px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: #fff;
	color: var(--ink-900);
	font-weight: 600;
	border-radius: var(--radius-sm);
	text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink-900); }

/* Brand stripe: green / paper / red, slanted like the logo bands */
.stripe {
	display: inline-flex;
	gap: 6px;
	margin-bottom: 14px;
	transform: skewX(-35deg);
}
.stripe i { display: block; width: 28px; height: 6px; border-radius: 1px; }
.stripe i:nth-child(1) { background: var(--green); }
.stripe i:nth-child(2) { background: var(--red); }

.eyebrow {
	display: block;
	margin-bottom: .6rem;
	color: var(--green-light);
	font: 600 .8125rem/1.3 var(--font-body);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: .7em 1.35em;
	border: 2px solid var(--ink-500);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s, border-color .18s, transform .18s;
}
.button:hover { border-color: var(--paper); color: #fff; transform: translateY(-1px); }
.button.primary { background: var(--green-deep); border-color: var(--green-deep); }
.button.primary:hover { background: #467a5c; border-color: #467a5c; }
.button.patreon { background: var(--red); border-color: var(--red); }
.button.patreon:hover { background: #8c2f2d; border-color: #8c2f2d; }
.button.light { background: var(--paper); border-color: var(--paper); color: var(--ink-900); }
.button.light:hover { background: #fff; border-color: #fff; color: var(--ink-900); }
.button.small { min-height: 40px; padding: .5em 1em; font-size: .9375rem; }
.button svg { width: 1.15em; height: 1.15em; flex: none; }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(17, 21, 27, .92);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 72px;
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 168px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav li { margin: 0; }
.site-nav a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--text-soft);
	font-weight: 550;
	font-size: .975rem;
	text-decoration: none;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a {
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	box-shadow: none;
}
.site-nav .nav-cta a:hover { background: #8c2f2d; }

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 48px; height: 48px;
	padding: 0;
	border: 1px solid var(--ink-600);
	border-radius: var(--radius-sm);
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block;
	width: 22px; height: 2px;
	margin: 0 auto;
	background: currentColor;
	border-radius: 2px;
	transition: transform .2s, background-color .2s;
	position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.brand img { width: 146px; }
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		background: var(--ink-900);
		border-bottom: 1px solid var(--ink-600);
		box-shadow: var(--shadow);
	}
	.js .nav-open .site-nav, .no-js .site-nav { display: block; }
	.no-js .site-nav { position: static; box-shadow: none; border: 0; background: none; }
	.no-js .site-header .wrap { flex-wrap: wrap; }
	.no-js .nav-toggle { display: none; }
	.site-nav ul { flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; gap: 2px; }
	.site-nav a { padding: 13px 10px; font-size: 1.0625rem; }
	.site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
	.site-nav .nav-cta { margin: 10px 0 0; }
	.site-nav .nav-cta a { text-align: center; padding: 13px; }
}

/* ---------- Hero (logo banner motif) ---------- */

.hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(160deg, var(--ink-950) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
	border-bottom: 1px solid var(--ink-600);
}
.hero::before, .hero::after {
	content: '';
	position: absolute;
	z-index: -1;
	width: clamp(220px, 34vw, 520px);
	aspect-ratio: 1.35;
	pointer-events: none;
}
.hero::before {
	top: 0; left: 0;
	background: var(--band-tl) no-repeat 0 0 / 100% 100%;
}
.hero::after {
	right: 0; bottom: 0;
	background: var(--band-br) no-repeat 0 0 / 100% 100%;
}
.hero .wrap {
	position: relative;
	padding-top: clamp(64px, 11vw, 140px);
	padding-bottom: clamp(72px, 11vw, 140px);
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-inner .lead { margin-left: auto; margin-right: auto; }
.hero-inner .actions { justify-content: center; }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero h1 .accent { color: var(--green-light); }

.hero.compact .wrap { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero.compact::before, .hero.compact::after { width: clamp(140px, 20vw, 300px); }
.hero.compact .hero-inner { text-align: left; margin: 0; max-width: 820px; }
.hero.compact .hero-inner .lead { margin-left: 0; }
.hero.compact .hero-inner .actions { justify-content: flex-start; }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.alt { background: var(--ink-900); border-top: 1px solid rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 2rem; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; color: var(--text-soft); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: minmax(0, 1fr); } }

.panel {
	position: relative;
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid var(--ink-600);
	border-radius: var(--radius);
	background: var(--ink-800);
}
.panel h3 { margin-bottom: .45em; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.panel .num {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--ink-700);
	color: #fff;
	font: 400 1.35rem/1 var(--font-display);
}
.panel.green { border-top: 4px solid var(--green); }
.panel.red { border-top: 4px solid var(--red); }
.panel.paper { border-top: 4px solid var(--paper); }
.panel .more { display: inline-block; margin-top: .6rem; font-weight: 600; }

/* ---------- Arrangement cards ---------- */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.cards > li { margin: 0; }
.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--ink-600);
	border-radius: var(--radius);
	background: var(--ink-800);
	color: var(--text);
	text-decoration: none;
	overflow: hidden;
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { color: var(--text); transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); }
.card:focus-visible { outline-offset: 2px; }
.thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background:
		var(--band-tl) no-repeat left top / 34% auto,
		var(--band-br) no-repeat right bottom / 34% auto,
		linear-gradient(160deg, var(--ink-950), var(--ink-700));
}
.thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.thumb img.is-broken { display: none; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb .play {
	position: absolute;
	right: 12px; bottom: 12px;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(12, 15, 19, .8);
	color: #fff;
}
.thumb .play svg { width: 16px; height: 16px; margin-left: 2px; }
.card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 18px 18px; }
.card-source { color: var(--green-light); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; }
.card-title { font: 400 1.25rem/1.2 var(--font-display); color: #fff; }
.card-meta { margin-top: auto; padding-top: 8px; color: var(--muted); font-size: .875rem; }

/* ---------- Library filters ---------- */

.filters {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 12px;
	margin-bottom: 14px;
}
.filters label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 14px;
	border: 1px solid var(--ink-500);
	border-radius: 999px;
	background: transparent;
	color: var(--text-soft);
	font: 550 .9375rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
}
.chip:hover { border-color: var(--paper); color: #fff; }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink-900); }
.chip .count { margin-left: 6px; color: inherit; opacity: .7; font-size: .8125rem; }
.results-line { margin: 0 0 18px; color: var(--muted); font-size: .9375rem; }
.empty { padding: 40px 20px; border: 1px dashed var(--ink-500); border-radius: var(--radius); text-align: center; color: var(--text-soft); }
@media (max-width: 760px) { .filters { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */

input, select, textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--ink-500);
	border-radius: var(--radius-sm);
	background: var(--ink-950);
	color: var(--text);
	font: 400 1rem/1.4 var(--font-body);
}
textarea { min-height: 150px; resize: vertical; }
select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}
input::placeholder, textarea::placeholder { color: #75808c; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(124, 193, 154, .25); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--green); flex: none; }
input[type="submit"] { width: auto; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form .field { margin: 0; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; color: #fff; }
.form label .opt { color: var(--muted); font-weight: 400; }
.form .hint { margin: 6px 0 0; color: var(--muted); font-size: .875rem; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--text-soft); }
.form .consent label { margin: 0; font-weight: 400; color: var(--text-soft); }
.form .honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }

.form-status { display: none; grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius-sm); }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(80, 130, 101, .18); border: 1px solid var(--green); }
.form-status.is-error { background: rgba(119, 38, 37, .22); border: 1px solid #a33c39; }
.form-status p:last-child { margin-bottom: 0; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Arrangement page ---------- */

.crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .9rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--ink-500); }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.piece-head { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 32px); }
.piece-head h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); margin-bottom: .25em; }
.piece-head h1 .from { display: block; margin-top: .35em; font: 600 clamp(1rem, 1.8vw, 1.25rem)/1.35 var(--font-body); color: var(--green-light); letter-spacing: .01em; }

.video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink-950);
	box-shadow: var(--shadow);
	border: 1px solid var(--ink-600);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
	background:
		var(--band-tl) no-repeat left top / 26% auto,
		var(--band-br) no-repeat right bottom / 26% auto,
		linear-gradient(160deg, var(--ink-950), var(--ink-700));
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); }
.video-facade .play-big {
	position: absolute;
	z-index: 1;
	left: 50%; top: 50%;
	display: grid;
	place-items: center;
	width: clamp(64px, 9vw, 92px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 8px rgba(119, 38, 37, .35);
	transform: translate(-50%, -50%);
	transition: transform .2s, background-color .2s;
}
.video-facade:hover .play-big, .video-facade:focus-visible .play-big { transform: translate(-50%, -50%) scale(1.08); background: #8c2f2d; }
.video-facade .play-big svg { width: 38%; height: 38%; margin-left: 6%; }
.video-facade .video-note { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-size: .875rem; color: #e1e5ea; text-shadow: 0 1px 8px rgba(0,0,0,.7); }

.piece-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(32px, 5vw, 56px); }
.piece-layout > aside { position: sticky; top: 96px; display: grid; gap: 18px; }
@media (max-width: 980px) {
	.piece-layout { grid-template-columns: minmax(0, 1fr); }
	.piece-layout > aside { position: static; }
}

.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ink-600); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .02em; padding-top: 1px; }
.facts dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.facts dd ul { margin: 0; padding: 0; list-style: none; }
.facts dd li { margin: 0 0 4px; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; color: #fff; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); }
.prose strong { color: #fff; }

.callout {
	padding: clamp(22px, 3vw, 28px);
	border-radius: var(--radius);
	border: 1px solid var(--ink-600);
	background: var(--ink-800);
}
.callout h2, .callout h3 { font-size: 1.4rem; margin-bottom: .45em; }
.callout p { color: var(--text-soft); font-size: .975rem; }
.callout .actions { margin-top: 1rem; }
.callout.study { border-top: 4px solid var(--red); }
.callout.perform { border-top: 4px solid var(--green); }
.callout.rights { background: transparent; border-style: dashed; }
.callout.rights h2 { font-size: 1.125rem; }
.callout.rights p { font-size: .9rem; }
.callout .fine { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 clamp(48px, 7vw, 88px); }
.pager a { display: block; padding: 16px 18px; border: 1px solid var(--ink-600); border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--ink-800); }
.pager a:hover { border-color: var(--green); }
.pager span { display: block; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; text-align: left; } }

/* ---------- Orchestra services ---------- */

.rates { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .975rem; }
.rates th, .rates td { padding: 12px 10px; border-bottom: 1px solid var(--ink-600); text-align: left; vertical-align: top; }
.rates th { color: var(--muted); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.rates td:last-child { white-space: nowrap; color: #fff; font-weight: 600; }

.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; margin: 0; padding: 18px 18px 18px 70px; border: 1px solid var(--ink-600); border-radius: var(--radius); background: var(--ink-800); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green-deep); color: #fff; font: 400 1.1rem/1 var(--font-display); }
.steps strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--text-soft); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--ink-600); border-radius: var(--radius); background: var(--ink-800); }
.faq summary {
	position: relative;
	padding: 18px 56px 18px 20px;
	cursor: pointer;
	list-style: none;
	font-weight: 650;
	color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-display); color: var(--green-light); }
.faq details[open] summary::after { content: '–'; }
.faq .answer { padding: 0 20px 18px; color: var(--text-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.top { align-items: start; }
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.portrait::after { content: ''; position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 1.35; background: var(--band-br) no-repeat 0 0 / 100% 100%; }
@media (max-width: 820px) {
	.split { grid-template-columns: minmax(0, 1fr); }
	.portrait { max-width: 420px; }
}

.series-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.series-list li { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
	border-radius: calc(var(--radius) + 6px);
	background: linear-gradient(160deg, var(--ink-950), var(--ink-700));
	border: 1px solid var(--ink-600);
}
.cta-band::after {
	content: '';
	position: absolute;
	z-index: -1;
	right: 0; top: 0;
	width: clamp(140px, 24vw, 300px);
	aspect-ratio: 1.35;
	background: var(--band-tr) no-repeat 0 0 / 100% 100%;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 60ch; color: var(--text-soft); }

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

.site-footer {
	margin-top: auto;
	padding: 56px 0 32px;
	background: var(--ink-950);
	border-top: 1px solid var(--ink-600);
	color: var(--text-soft);
	font-size: .9375rem;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font: 600 .8125rem/1.3 var(--font-body); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; }
.disclaimer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ink-700); color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.disclaimer p { margin-bottom: .6em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-600); color: var(--text-soft); }
.social a:hover { border-color: var(--paper); color: #fff; }
.social svg { width: 20px; height: 20px; }

/* ---------- Utility pages ---------- */

.page-404 { text-align: center; }
.page-404 .code { font: 400 clamp(5rem, 16vw, 9rem)/1 var(--font-display); color: var(--paper); margin-bottom: .1em; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .site-footer, .video, .callout .actions, .nav-toggle { display: none !important; }
	body { background: #fff; color: #000; }
	h1, h2, h3, strong, .facts dd { color: #000; }
}
.page-404 .actions { justify-content: center; }
.page-404 .lead { margin-left: auto; margin-right: auto; }

/* ---------- Refinements ---------- */

img.is-broken { display: none; }
.video + .prose { margin-top: clamp(28px, 4vw, 40px); }

@media (max-width: 760px) {
	.filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.filters > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
	.hero::before, .hero::after, .hero.compact::before, .hero.compact::after { width: 108px; }
	.hero .wrap { padding-top: 104px; padding-bottom: 96px; }
	.hero.compact .wrap { padding-top: 92px; padding-bottom: 72px; }
	.cta-band { padding-top: 92px; }
	.cta-band::after { width: 108px; }

	/* Compact list cards on phones: thumbnail beside the text */
	.cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.card { flex-direction: row; align-items: stretch; }
	.card .thumb { flex: 0 0 42%; aspect-ratio: auto; min-height: 92px; }
	.card .thumb .play { width: 30px; height: 30px; right: 8px; bottom: 8px; }
	.card .thumb .play svg { width: 12px; height: 12px; }
	.card-body { padding: 12px 14px; }
	.card-source { font-size: .75rem; }
	.card-title { font-size: 1.0625rem; }
	.card-meta { font-size: .8125rem; padding-top: 4px; }
}

/* Compact page heroes: smaller bands that never touch the heading */
.hero.compact::before, .hero.compact::after { width: clamp(108px, 13vw, 190px); }
.hero.compact .wrap { padding-top: clamp(100px, 11vw, 150px); padding-bottom: clamp(56px, 6vw, 80px); }
.disclaimer a { text-decoration: underline; text-underline-offset: 3px; }
.results-line:empty { display: none; }
