/* ==========================================================================
   Festivali — main stylesheet
   Light by default; html.rtsh-dark switches to dark (same class as rtsh.al).
   ========================================================================== */

/* Fonts ------------------------------------------------------------------- */
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Light.woff2") format("woff2"), url("../fonts/GothamPro-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro.woff2") format("woff2"), url("../fonts/GothamPro.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Medium.woff2") format("woff2"), url("../fonts/GothamPro-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Bold.woff2") format("woff2"), url("../fonts/GothamPro-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Black.woff2") format("woff2"), url("../fonts/GothamPro-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

/* Tokens ------------------------------------------------------------------ */
:root {
	/* Brand (rtsh.al) */
	--red: #cb1212;
	--red-dark: #a50e0e;
	--violet: #6d3cff;

	/* Light */
	--bg: #ffffff;
	--bg-2: #f4f5f7;
	--surface: #ffffff;
	--surface-2: #f0f1f4;
	--line: #e8e9ed;
	--line-2: #d6d9df;
	--text: #1d1f24;
	--text-2: #3c414b;
	--muted: #6f7480;
	--accent: var(--red);
	--accent-2: var(--red-dark);
	--accent-soft: rgba(203, 18, 18, .08);
	--gold: #b07a1e;
	--gold-bg: #f1c56b;
	--shadow: 0 18px 40px -22px rgba(20, 24, 33, .28);
	--shadow-lg: 0 40px 80px -36px rgba(20, 24, 33, .4);
	--ph-a: #eef0f4;
	--ph-b: #dde1e8;
	--ph-icon: rgba(0, 0, 0, .18);
	--glass-bg: rgba(255, 255, 255, .78);
	--glass-line: rgba(0, 0, 0, .06);
	--cell-bg: var(--bg-2);
	--hero-bg:
		radial-gradient(70% 90% at 92% 0%, rgba(203, 18, 18, .12), transparent 60%),
		radial-gradient(60% 80% at 0% 100%, rgba(109, 60, 255, .08), transparent 60%),
		linear-gradient(180deg, #fff, #f7f7f9);
	--aurora-opacity: .16;
	--kicker-grad: linear-gradient(180deg, #ef3b3b 0%, #cb1212 55%, #7d0909 100%);
	--number-grad: linear-gradient(180deg, #e9b65a, #b07a1e);
	--banner-opacity: .1;

	--font: "Gotham Pro", "Helvetica Neue", Arial, sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--rh-top-h: 72px;
	--rh-lower-h: 52px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: light;
}

html.rtsh-dark {
	--bg: #121316;
	--bg-2: #17191d;
	--surface: #1c1e23;
	--surface-2: #24272d;
	--line: #2c2f36;
	--line-2: #3a3d44;
	--text: #e6e6e8;
	--text-2: #c9cbd0;
	--muted: #9a9ea6;
	--accent: #ff5a5a;
	--accent-2: #ff7a7a;
	--accent-soft: rgba(255, 90, 90, .12);
	--gold: #f1c56b;
	--shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
	--shadow-lg: 0 40px 80px -36px rgba(0, 0, 0, .9);
	--ph-a: #222c3c;
	--ph-b: #121a28;
	--ph-icon: rgba(255, 255, 255, .22);
	--glass-bg: rgba(28, 30, 35, .72);
	--glass-line: rgba(255, 255, 255, .1);
	--cell-bg: rgba(0, 0, 0, .28);
	--hero-bg:
		radial-gradient(70% 90% at 90% 0%, rgba(109, 60, 255, .25), transparent 60%),
		radial-gradient(60% 80% at 0% 0%, rgba(203, 18, 18, .3), transparent 60%),
		#0d0f13;
	--aurora-opacity: .45;
	--kicker-grad: linear-gradient(180deg, #fff 10%, #ffd9a0 55%, #e88a3a 100%);
	--number-grad: linear-gradient(180deg, #fff2c9, #f1c56b 60%, #b07a25);
	--banner-opacity: .35;
	color-scheme: dark;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--rh-lower-h) + 24px); background: var(--bg); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	transition: background-color .3s, color .3s;
}
html.rh-lock, html.rh-lock body, body.lightbox-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.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: 16px; top: -60px; z-index: 2000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); }

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

/* ==========================================================================
   Header — modelled on rtsh.al (header v2)
   ========================================================================== */
.rh { position: sticky; top: 0; z-index: 1000; width: 100%; }
.rh-top { position: relative; z-index: 30; height: var(--rh-top-h); background: var(--red); color: #fff; transition: background-color .3s; }
.rh-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.rh-logo-link { display: flex; align-items: center; gap: 16px; flex: none; color: #fff; line-height: 0; }
.rh-logo { display: block; width: 122px; height: 53px; color: currentColor; transition: color .3s; }
.rh-logo svg { display: block; width: 100%; height: 100%; }
img.rh-logo { object-fit: contain; object-position: left center; }
.rh-site { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .45); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; max-width: 9em; }

.rh-links { flex: 1; min-width: 0; }
.rh-links > ul { list-style: none; display: flex; justify-content: flex-end; gap: 6px; }
.rh-links > ul > li > a {
	position: relative; display: flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 19px;
	color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
	transition: background-color .2s, color .25s;
}
.rh-links > ul > li > a::after {
	content: ""; position: absolute; bottom: 6px; left: calc(13px + (100% - 26px) * .05); width: calc((100% - 26px) * .9);
	height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .22s ease;
}
.rh-links > ul > li > a:hover { background: rgba(255, 255, 255, .15); }
.rh-links > ul > li > a:hover::after, .rh-links > ul > li.is-current > a::after { transform: scaleX(1); }
.rh-links > ul > li.is-current > a { background: rgba(255, 255, 255, .1); }

.rh-round {
	display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, transform .2s;
}
.rh-round:hover { background: rgba(255, 255, 255, .24); }
.rh-round:active { transform: scale(.92); }
.rh-round .icon { width: 18px; height: 18px; }

/* Mode button: moon in light, sun in dark */
.rh-mode-btn svg, .rh-mode-row-ico svg { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .25s; }
.mode-sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
html.rtsh-dark .mode-sun { opacity: 1; transform: none; }
html.rtsh-dark .mode-moon { opacity: 0; transform: rotate(90deg) scale(.4); }

/* Expanding search (desktop) */
.rh-sx { position: relative; width: 40px; height: 40px; flex: none; margin: 0; }
.rh-sx input {
	position: absolute; right: 0; top: 0; width: 40px; height: 40px; border: 0; border-radius: 20px;
	padding: 0 46px 0 18px; background: #fff; color: #222; font-size: 14px; outline: none;
	opacity: 0; pointer-events: none; box-shadow: 0 6px 20px transparent;
	transition: width .38s cubic-bezier(.22, .9, .3, 1), opacity .2s, box-shadow .3s;
	-webkit-appearance: none; appearance: none;
}
.rh-sx.open input { width: 320px; opacity: 1; pointer-events: auto; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.rh-sx input::-webkit-search-cancel-button { display: none; }
.rh-sx button { position: absolute; right: 0; top: 0; }
.rh-sx.open button { background: transparent; color: #555; }
.rh.is-searching .rh-links > ul > li > a { opacity: .3; pointer-events: none; }

/* Mobile actions */
.rh-actions { display: none; align-items: center; gap: 2px; margin-left: auto; }
.rh-actions button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; }
.rh-actions .icon { width: 23px; height: 23px; }

/* Second bar: festival menu */
.rh-lower { position: relative; z-index: 20; height: var(--rh-lower-h); background: var(--surface); border-bottom: 1px solid var(--line); transition: background-color .3s, box-shadow .3s; }
.rh.is-stuck .rh-lower { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .25); }
.rh-lower-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.rh-fest { flex: 1; min-width: 0; }
.rh-fest .menu { list-style: none; display: flex; align-items: center; gap: 4px; margin-left: -12px; }
.rh-fest .menu > li { position: relative; display: flex; align-items: center; }
.rh-fest .menu > li > a {
	position: relative; display: flex; align-items: center; height: var(--rh-lower-h); padding: 0 12px;
	font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; transition: color .2s;
}
.rh-fest .menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .22s ease; }
.rh-fest .menu > li > a:hover,
.rh-fest .menu > .current-menu-item > a,
.rh-fest .menu > .current-menu-ancestor > a { color: var(--accent); }
.rh-fest .menu > li > a:hover::after,
.rh-fest .menu > .current-menu-item > a::after,
.rh-fest .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.rh-fest .menu-item-has-children > a { padding-right: 2px; }
.submenu-toggle { display: grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; padding: 0; border: 0; background: none; color: var(--muted); }
.submenu-toggle .icon { width: 13px; height: 13px; transition: transform .2s; }
.rh-fest .menu > li:hover > .submenu-toggle .icon, .rh-fest .menu > li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.rh-fest .sub-menu {
	list-style: none; position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px 0; z-index: 5;
	background: var(--surface); border-radius: 0 0 10px 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.rh-fest .menu > li:hover > .sub-menu, .rh-fest .menu > li:focus-within > .sub-menu, .rh-fest .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rh-fest .sub-menu a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text); white-space: nowrap; }
.rh-fest .sub-menu a:hover { background: var(--bg-2); color: var(--accent); }

.rh-lower-end { display: flex; align-items: center; gap: 14px; flex: none; }
.rh-live { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.rh-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: rh-pulse 1.6s infinite; }
@keyframes rh-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.rh-social { list-style: none; display: flex; gap: 2px; }
.rh-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); transition: color .2s, background .2s; }
.rh-social a:hover { color: var(--accent); background: var(--accent-soft); }
.rh-social .icon { width: 17px; height: 17px; }

/* Drawer (mobile) */
.rh-overlay { position: fixed; inset: 0; z-index: 1090; background: rgba(0, 0, 0, .45); animation: fade .2s; }
.rh-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100; width: min(400px, 92vw);
	display: flex; flex-direction: column; gap: 6px; overflow-y: auto; padding: 0 20px 28px;
	background: var(--surface); color: var(--text); box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
	animation: drawer-in .3s cubic-bezier(.22, .9, .3, 1);
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.rh-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 72px; margin: 0 -20px 10px; padding: 0 12px 0 20px; background: var(--red); color: #fff; }
.rh-drawer-head .rh-logo { width: 100px; height: 44px; }
.rh-drawer-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; }
.rh-drawer-x .icon { width: 24px; height: 24px; }
.rh-drawer-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); }
.rh-drawer-search .icon { color: var(--muted); width: 18px; height: 18px; }
.rh-drawer-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
.rh-live-block { justify-content: center; height: 44px; border-radius: 22px; margin-top: 8px; font-size: 13px; }
.rh-drawer-label { margin: 18px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rh-drawer-nav .menu, .rh-drawer-links { list-style: none; }
.rh-drawer-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.rh-drawer-nav .menu > li > a { flex: 1; padding: 14px 0; font-size: 17px; font-weight: 700; }
.rh-drawer-nav .menu > .current-menu-item > a { color: var(--accent); }
.rh-drawer-nav .submenu-toggle { width: 40px; height: 40px; margin: 0; }
.rh-drawer-nav .submenu-toggle .icon { width: 18px; height: 18px; }
.rh-drawer-nav .sub-menu { list-style: none; display: none; flex-basis: 100%; padding: 0 0 10px 12px; }
.rh-drawer-nav li.is-open > .sub-menu { display: block; }
.rh-drawer-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.rh-drawer-nav .sub-menu a { display: block; padding: 8px 0; color: var(--text-2); }
.rh-drawer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rh-drawer-links a { display: inline-block; padding: 8px 14px; border-radius: 18px; background: var(--bg-2); font-size: 14px; font-weight: 500; }
.rh-drawer-links a[aria-current] { background: var(--red); color: #fff; }
.rh-mode-row { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: none; text-align: left; }
.rh-mode-row-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); }
.rh-mode-row-ico .icon { width: 18px; height: 18px; }
.rh-mode-row-lbl { flex: 1; font-weight: 500; }
.rh-switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); transition: background .25s; }
.rh-switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s; }
html.rtsh-dark .rh-switch { background: var(--red); }
html.rtsh-dark .rh-switch i { transform: translateX(18px); }
.rh-drawer-social { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.rh-drawer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); }
.rh-drawer-social .icon { width: 18px; height: 18px; }

/* Dark header: dark grey bar, red logo, thin red line (as on rtsh.al) */
html.rtsh-dark .rh-top { background: #1c1e23; }
html.rtsh-dark .rh-logo { color: var(--red); }
html.rtsh-dark img.rh-logo { filter: brightness(0) saturate(100%) invert(14%) sepia(92%) saturate(5000%) hue-rotate(354deg) brightness(88%) contrast(98%); }
html.rtsh-dark .rh-site { border-left-color: rgba(255, 255, 255, .2); }
html.rtsh-dark .rh-links > ul > li > a:hover,
html.rtsh-dark .rh-links > ul > li.is-current > a { color: #ff5a5a; background: rgba(255, 255, 255, .07); }
html.rtsh-dark .rh-round { background: #2a2d33; color: #e6e6e8; }
html.rtsh-dark .rh-round:hover { background: #33373e; }
html.rtsh-dark .rh-sx input { background: #2a2d33; color: #e6e6e8; }
html.rtsh-dark .rh-sx.open button { color: #aaa; }
html.rtsh-dark .rh-lower { background: #1c1e23; border-bottom: 3px solid var(--red); }
html.rtsh-dark .rh-drawer-head { background: #1c1e23; box-shadow: inset 0 -3px 0 var(--red); }

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 16px 36px -16px rgba(203, 18, 18, .7); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--line-2); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; margin-top: 16px; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.link-more:hover { color: var(--accent-2); }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(3px); }

.kicker {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html.rtsh-dark .tag, html.rtsh-dark .kicker, html.rtsh-dark .link-more { color: var(--accent-2); }

.empty-state { padding: 48px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); text-align: center; }

.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(160deg, var(--ph-a), var(--ph-b)); color: var(--ph-icon); }
.ph .icon { width: 42px; height: 42px; }

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(78vh, 760px); display: flex; align-items: flex-end;
	padding: 110px 0 90px; border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--hero-bg); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--aurora-opacity); will-change: transform; }
.aurora.a1 { width: 52vw; height: 52vw; left: -12vw; top: -18vw; background: radial-gradient(circle, var(--red), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora.a2 { width: 46vw; height: 46vw; right: -10vw; top: 0; background: radial-gradient(circle, var(--violet), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora.a3 { width: 38vw; height: 38vw; left: 35vw; bottom: -22vw; background: radial-gradient(circle, #f1c56b, transparent 65%); opacity: calc(var(--aurora-opacity) * .6); animation: drift1 26s ease-in-out infinite alternate-reverse; }
.grain {
	position: absolute; inset: 0; opacity: .06; pointer-events: none;
	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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 8vw) scale(.9); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* A hero photo is always shown with a dark overlay and white text, in both modes. */
.hero.has-image {
	--text: #fff; --text-2: #dfe4ec; --muted: #c3cad5; --line-2: rgba(255, 255, 255, .3);
	--glass-bg: rgba(20, 22, 28, .55); --glass-line: rgba(255, 255, 255, .14); --cell-bg: rgba(0, 0, 0, .3);
	--kicker-grad: linear-gradient(180deg, #fff 10%, #ffd9a0 55%, #e88a3a 100%);
	color: var(--text); border-bottom: 0;
}
.hero.has-image .hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .6) 45%, rgba(10, 12, 16, .1) 80%), linear-gradient(0deg, rgba(10, 12, 16, .7) 0%, transparent 40%);
}
.hero.has-image .aurora { opacity: .2; }
.hero.has-image .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.hero-kicker {
	font-size: clamp(56px, 11vw, 150px); font-weight: 900; line-height: .9; letter-spacing: -.045em; text-transform: uppercase;
	background: var(--kicker-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	padding-bottom: .04em;
}
.hero-title { margin-top: 18px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.hero-text { margin-top: 14px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }

.glass {
	background: var(--glass-bg); border: 1px solid var(--glass-line); border-radius: 22px;
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.countdown-card { justify-self: end; width: 100%; max-width: 440px; padding: 26px; color: var(--text); }
.countdown-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { display: flex; flex-direction: column; align-items: center; padding: 14px 4px; border-radius: 14px; background: var(--cell-bg); }
.countdown b { font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.countdown-date { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.countdown-date .icon { color: var(--accent); }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Sections ---------------------------------------------------------------- */
.section { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 40px); }
.section-title { font-size: clamp(28px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.section-actions { display: flex; align-items: center; gap: 20px; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.step { position: relative; padding: 34px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.step-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.step strong { font-size: 15px; }
.step span:last-child { font-size: 13px; color: var(--muted); }
.step.done .step-dot { background: var(--red); border-color: var(--red); }
.step.done::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--red); }
.step.active .step-dot { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.step.active .step-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.step.active strong { color: var(--accent); }

/* Rails */
.rail {
	--pad: max(var(--gutter), (100% - var(--wrap)) / 2);
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 290px); gap: 20px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	padding: 6px var(--pad) 28px; scroll-padding-inline: var(--pad); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-winners { grid-auto-columns: clamp(260px, 30vw, 360px); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.rail-nav button:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-nav .icon { width: 18px; height: 18px; }

/* Song card (text sits on the photo, always white) */
.song-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.song-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.song-media, .song-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.song-media img { transition: transform .8s var(--ease); }
.song-card:hover .song-media img { transform: scale(1.06); }
.song-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 10, 14, .9) 100%); }
.song-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 20px; color: #fff; }
.song-number { display: block; font-size: 12px; font-weight: 900; color: #f1c56b; letter-spacing: .1em; margin-bottom: 4px; }
.song-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.song-sub { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.play-btn {
	position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border-radius: 50%; border: 0; background: rgba(255, 255, 255, .22); color: #fff;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s var(--ease), background .25s;
}
.play-btn .icon { width: 18px; height: 18px; margin-left: 2px; }
.play-btn:hover, .song-card:hover .play-btn { background: var(--red); transform: scale(1.08); }
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* Post card */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.news-grid .is-featured { grid-row: span 2; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.post-title a { transition: color .2s; }
.post-card:hover .post-title a { color: var(--accent); }
html.rtsh-dark .post-card:hover .post-title a { color: var(--accent-2); }
.post-excerpt { color: var(--muted); font-size: 15px; }
.post-card.is-featured .post-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.post-card.is-featured .post-title { font-size: clamp(22px, 2.2vw, 30px); }
.post-card .tag { position: relative; z-index: 2; }

/* Winner card */
.winner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.winner-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.winner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-bg); }
.winner-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.winner-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.winner-card:hover .winner-media img { transform: scale(1.05); }
.winner-badge { position: absolute; left: 14px; bottom: -1px; z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 10px 6px; border-radius: 12px 12px 0 0; background: var(--gold-bg); color: #1c1305; font-size: 26px; font-weight: 900; line-height: 1; }
.winner-badge small { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2px; }
.winner-body { padding: 18px 20px 22px; }
.winner-year { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.winner-title { margin-top: 4px; font-size: 19px; }
.winner-song { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.mosaic a { position: relative; overflow: hidden; border-radius: 14px; background: var(--surface-2); }
.mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4) { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.mosaic a:hover img { transform: scale(1.06); filter: brightness(1.08); }

/* Page header */
.page-header { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 10vw, 130px) 0 clamp(36px, 5vw, 60px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-header-bg { position: absolute; inset: -20px; z-index: -1; background-size: cover; background-position: center; filter: blur(2px) saturate(1.1); opacity: var(--banner-opacity); }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 140% at 0% 0%, rgba(203, 18, 18, .16), transparent 60%), linear-gradient(180deg, transparent 40%, var(--bg-2)); }
.page-title { font-size: clamp(34px, 6vw, 76px); font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; }
.page-lead { margin-top: 14px; max-width: 640px; font-size: 18px; font-weight: 300; color: var(--text-2); }

/* Toolbar / chips */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; padding-bottom: 4px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .2s; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.filter-search, .search-inline {
	display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 18px; min-width: min(100%, 340px);
	border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.filter-search:focus-within, .search-inline:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filter-search .icon, .search-inline > .icon { color: var(--muted); }
.filter-search input, .search-inline input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 15px; }
.search-inline { max-width: 620px; margin-bottom: 40px; }
.search-inline .btn { min-height: 38px; padding: 0 18px; font-size: 12px; }
.is-filtered-out { display: none !important; }

/* Song single */
.song-hero, .winner-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(44px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.song-hero-bg { position: absolute; inset: -60px; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.3); opacity: calc(var(--banner-opacity) * 1.6); transform: scale(1.1); }
.song-hero::after, .winner-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
.song-hero-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.video-frame { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.video-frame > img, .video-frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame.is-playing { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-btn-lg { top: 50%; left: 50%; right: auto; width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); box-shadow: 0 0 0 12px rgba(203, 18, 18, .25); }
.play-btn-lg .icon { width: 30px; height: 30px; }
.song-hero-title { font-size: clamp(36px, 6vw, 80px); font-weight: 900; letter-spacing: -.035em; line-height: .98; }
.song-hero-sub { margin-top: 12px; font-size: clamp(18px, 2vw, 24px); font-weight: 300; color: var(--text-2); font-style: italic; }
.credits { display: grid; margin: 32px 0 0; border-top: 1px solid var(--line); }
.credits > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.credits dd { margin: 0; font-weight: 500; }
.credits-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; border: 0; margin: 0 0 40px; }
.credits-grid > div { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.credits-grid dt { margin-bottom: 4px; }

/* Winner single */
.winner-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.winner-hero .kicker { color: var(--gold); }
.winner-hero .kicker .icon { width: 16px; height: 16px; }
.winner-hero .kicker::before { display: none; }
.winner-hero-number { font-size: clamp(64px, 10vw, 140px); font-weight: 900; line-height: .9; letter-spacing: -.05em; background: var(--number-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.winner-hero-number span { display: block; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; -webkit-text-fill-color: var(--muted); color: var(--muted); margin-bottom: 8px; }
.winner-hero-title { margin-top: 18px; font-size: clamp(30px, 4vw, 54px); font-weight: 900; letter-spacing: -.03em; }
.winner-hero-media { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); }
.winner-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stat-row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stat-row li { display: flex; flex-direction: column; min-width: 110px; padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stat-row b { font-size: 26px; font-weight: 900; line-height: 1.1; }
.stat-row span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Article */
.article-header { padding: clamp(44px, 7vw, 90px) 0 32px; }
.article-title { margin-top: 18px; font-size: clamp(30px, 4.6vw, 58px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.article-lead { margin-top: 18px; font-size: 20px; font-weight: 300; color: var(--text-2); }
.article-cover { margin-bottom: clamp(32px, 5vw, 56px); }
.article-cover img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 22px; }
.article-cover figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--rh-lower-h) + 24px); }
.aside-title { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.mini-post { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-post:last-of-type { border-bottom: 0; }
.mini-thumb { width: 76px; height: 76px; overflow: hidden; border-radius: 12px; background: var(--surface-2); }
.mini-thumb img, .mini-thumb .ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.mini-thumb .ph .icon { width: 22px; height: 22px; }
.mini-post strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; transition: color .2s; }
.mini-post small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.mini-post:hover strong { color: var(--accent); }

.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.8em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
html.rtsh-dark .prose a { color: var(--accent-2); }
.prose img, .prose .wp-block-image img { border-radius: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); font-size: 1.15em; font-style: italic; color: var(--text); }
.prose iframe, .prose .wp-block-embed { width: 100%; border-radius: 14px; overflow: hidden; }
.prose iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.hero-cta .share { margin-top: 0; }
.share-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: all .2s; }
.share-btn:hover, .share-btn.is-copied { background: var(--red); color: #fff; border-color: var(--red); }
.share-btn .icon { width: 17px; height: 17px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav a { display: block; height: 100%; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.post-nav a:hover { box-shadow: var(--shadow); }
.post-nav small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-nav span { font-weight: 500; line-height: 1.35; }
.post-nav .next { grid-column: 2; text-align: right; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: all .2s; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .page-numbers.dots { border: 0; }

/* Gallery */
.gallery-wrap { position: relative; min-height: 200px; }
.gallery-grid { columns: 4 260px; column-gap: 14px; transition: opacity .3s; }
.gallery-wrap.is-loading .gallery-grid { opacity: .25; }
.gallery-item { display: block; margin-bottom: 14px; overflow: hidden; border-radius: 14px; background: var(--surface-2); break-inside: avoid; }
.gallery-item img { width: 100%; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.spinner { position: absolute; top: 80px; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Lightbox (always dark) */
.lightbox { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; background: rgba(6, 8, 12, .94); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .25s var(--ease); }
.lightbox-stage { position: relative; display: flex; flex-direction: column; align-items: center; max-width: min(92vw, 1400px); max-height: 88vh; }
.lightbox-stage img { max-width: 100%; max-height: 80vh; width: auto; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); animation: zoomIn .3s var(--ease); }
.lightbox-video { width: min(92vw, 1280px); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; animation: zoomIn .3s var(--ease); }
.lightbox-video iframe { width: 100%; height: 100%; border: 0; }
.lightbox-caption { margin-top: 14px; font-size: 14px; color: #b9c0cb; text-align: center; }
.lightbox-count { position: absolute; top: 24px; left: 24px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #b9c0cb; }
.lightbox .icon-btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox .icon { width: 19px; height: 19px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 404 */
.error-404 { position: relative; isolation: isolate; overflow: hidden; min-height: 70vh; display: flex; align-items: center; padding: 100px 0; text-align: center; }
.error-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-code { font-size: clamp(120px, 22vw, 260px); font-weight: 900; line-height: .85; letter-spacing: -.06em; background: var(--kicker-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .search-inline { width: 100%; margin: 12px 0 0; }

/* Footer */
.site-footer { position: relative; padding: 64px 0 0; background: var(--bg-2); border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-logo { display: inline-block; margin-bottom: 18px; color: var(--red); line-height: 0; }
.footer-logo .rh-logo { width: 140px; height: 61px; }
html:not(.rtsh-dark) .footer-logo img.rh-logo { filter: brightness(0) saturate(100%) invert(14%) sepia(92%) saturate(5000%) hue-rotate(354deg) brightness(88%) contrast(98%); }
.footer-brand p { max-width: 320px; font-size: 14px; color: var(--muted); }
.footer-col h2 { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col .sub-menu { margin-top: 10px; padding-left: 14px; }
.footer-col .submenu-toggle { display: none; }
.footer-col li { display: block; font-size: 15px; color: var(--text-2); }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .icon { width: 16px; height: 16px; color: var(--muted); }
.footer-col li:has(> .icon) { display: flex; align-items: flex-start; gap: 10px; }
.footer-col li > .icon { margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.to-top:hover { color: var(--accent); }

/* Reveal (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.hero [data-reveal]:nth-child(2) { transition-delay: .08s; }
.hero [data-reveal]:nth-child(3) { transition-delay: .16s; }
.hero [data-reveal]:nth-child(4) { transition-delay: .24s; }
.hero-grid > [data-reveal]:nth-child(2) { transition-delay: .3s; }

/* Responsive -------------------------------------------------------------- */
/* Desktop: the red bar scrolls away, the festival bar stays on top (sticky with a negative offset). */
@media (min-width: 1100px) {
	.rh { top: calc(-1 * var(--rh-top-h)); }
	body.admin-bar .rh { top: calc(32px - var(--rh-top-h)); }
}

@media (max-width: 1250px) {
	.rh-site { display: none; }
	.rh-social { display: none; }
}

@media (max-width: 1099px) {
	:root { --rh-top-h: 64px; --rh-lower-h: 0px; }
	.rh-links, .rh-sx, .rh-top .rh-mode-btn, .rh-lower { display: none; }
	.rh-actions { display: flex; }
	.rh-logo { width: 106px; height: 46px; }
	.rh-site { display: block; font-size: 10px; padding-left: 12px; }
	html.rtsh-dark .rh-top { box-shadow: inset 0 -3px 0 var(--red); }
	body.admin-bar .rh { top: 46px; }
	html { scroll-padding-top: calc(var(--rh-top-h) + 16px); }
	.article-aside { top: calc(var(--rh-top-h) + 24px); }

	.news-grid { grid-template-columns: 1fr 1fr; }
	.news-grid .is-featured { grid-column: span 2; grid-row: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.hero { min-height: auto; padding: 64px 0 96px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.countdown-card { justify-self: stretch; max-width: none; }
	.song-hero-grid, .winner-hero-grid { grid-template-columns: 1fr; }
	.song-hero-media { max-width: 440px; }
	.article-layout { grid-template-columns: 1fr; }
	.article-aside { position: static; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.mosaic a:nth-child(4) { grid-row: auto; }
}

@media (max-width: 782px) {
	body.admin-bar .rh { top: 0; }
}

@media (max-width: 640px) {
	.rh-site { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.section-actions { width: 100%; justify-content: space-between; }
	.rail-nav { display: none; }
	.rail { grid-auto-columns: 72%; gap: 14px; }
	.rail-winners { grid-auto-columns: 82%; }
	.news-grid { grid-template-columns: 1fr; }
	.news-grid .is-featured { grid-column: auto; }
	.song-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.song-title { font-size: 15px; }
	.song-body { padding: 14px; }
	.play-btn { width: 38px; height: 38px; top: 10px; right: 10px; }
	.countdown { gap: 6px; }
	.steps { grid-template-columns: 1fr; }
	.steps::before, .step.done::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
	.step { padding: 0 0 24px 40px; }
	.step-dot { top: 2px; }
	.credits > div { grid-template-columns: 1fr; gap: 2px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; }
	.prose { font-size: 17px; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 18px; margin: 0; }
	.toolbar { flex-direction: column; align-items: stretch; }
	.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); }
