/*
Theme Name:   Farla Magic
Theme URI:    https://www.christianfarla.nl
Description:  Eigen, snel en responsive thema voor Christian Farla – Award winning Illusionist. Zonder paginabouwer: evenementen met archief per jaar, filmkoppen en magische effecten.
Author:       Baasimmedia
Author URI:   https://www.baasimmedia.nl
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  farla
Tags:         dark, one-column, custom-logo, custom-menu, featured-images
*/

/* =========================================================================
   1. Basis
   ====================================================================== */

@font-face {
	font-family: "Copperplate Farla";
	src: url("assets/fonts/copperplate_gothic_bold_regular-webfont.woff2") format("woff2"),
		url("assets/fonts/copperplate_gothic_bold_regular-webfont.woff") format("woff");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--night: #06060b;
	--ink: #0d0d11;
	--ink-2: #17171c;
	--graphite: #15161b;
	--silver-dark: #9a9fab;
	--silver-soft: #d4d7de;
	--red: #c8102e;
	--red-hot: #ff2d4f;
	--white: #fff;
	--silver: #c6cad3;
	--muted: rgba(255, 255, 255, .72);
	--line: rgba(255, 255, 255, .12);
	--glass: rgba(22, 22, 28, .6);

	--font-display: "Copperplate Farla", "Copperplate Gothic Bold", "Copperplate", "Cinzel", Georgia, serif;
	--font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--container: 1200px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--night);
	color: var(--white);
	font-family: var(--font-body);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Subtiele sterrenhemel op de achtergrond van de hele site */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(205, 209, 218, .18), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(200, 16, 46, .12), transparent 60%),
		radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.5), transparent 50%),
		radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,.4), transparent 50%),
		radial-gradient(1.5px 1.5px at 40% 60%, rgba(255,255,255,.35), transparent 50%),
		radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,.4), transparent 50%),
		var(--night);
}

img, video, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(255, 45, 79, .6); text-underline-offset: 3px; }
a:hover { color: var(--white); text-decoration-color: var(--red-hot); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--silver-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: .02em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1.1em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.center { text-align: center; display: flex; justify-content: center; }

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 1rem; left: 1rem; z-index: 999;
	background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px;
}

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

/* =========================================================================
   2. Header & navigatie
   ====================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
	background: linear-gradient(to bottom, rgba(6, 6, 11, .75), transparent);
}
.site-header.is-scrolled {
	--header-h: 66px;
	background: rgba(6, 6, 11, .82);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 var(--line), 0 10px 40px rgba(0, 0, 0, .4);
}
body:not(.has-hero) { padding-top: var(--header-h); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.brand { display: block; flex: none; position: relative; z-index: 3; }
.brand__logo {
	width: clamp(170px, 18vw, 250px);
	height: auto;
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .6));
	transition: width .4s var(--ease);
}
.is-scrolled .brand__logo { width: clamp(150px, 15vw, 210px); }

.nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: clamp(.6rem, 1.6vw, 1.6rem);
}
.nav__list a {
	position: relative;
	display: inline-block;
	padding: .4rem 0;
	font-family: var(--font-display);
	font-size: .98rem;
	letter-spacing: .06em;
	text-decoration: none;
	color: var(--white);
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 50%; right: 50%; bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--silver-soft), var(--red-hot));
	box-shadow: 0 0 12px var(--red-hot);
	transition: left .35s var(--ease), right .35s var(--ease);
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current-page-ancestor > a::after,
.nav__list .current_page_item > a::after { left: 0; right: 0; }

/* Submenu (desktop) */
.nav__list li { position: relative; }
.nav__list .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 230px;
	padding: .6rem 1rem;
	margin: 0;
	background: rgba(8, 9, 20, .95);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .25s var(--ease);
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { font-size: .9rem; display: block; }

.nav__extra { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
	.nav-toggle {
		display: grid;
		place-items: center;
		position: relative;
		z-index: 3;
		width: 48px; height: 48px;
		border: 1px solid var(--line);
		border-radius: 50%;
		background: rgba(6, 6, 11, .5);
		cursor: pointer;
	}
	.nav-toggle__bars { width: 20px; height: 14px; position: relative; display: block; }
	.nav-toggle__bars i {
		position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px;
		transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
	}
	.nav-toggle__bars i:nth-child(1) { top: 0; }
	.nav-toggle__bars i:nth-child(2) { top: 6px; }
	.nav-toggle__bars i:nth-child(3) { top: 12px; }
	.nav-open .nav-toggle__bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
	.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

	.nav {
		position: fixed;
		inset: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
		background:
			linear-gradient(rgba(6, 6, 11, .55), rgba(6, 6, 11, .85)),
			url("assets/img/curtain-red.jpg") center/cover;
		clip-path: circle(0 at calc(100% - 3rem) 2.5rem);
		visibility: hidden;
		transition: clip-path .7s var(--ease), visibility 0s .7s;
		overflow-y: auto;
	}
	.nav-open .nav {
		clip-path: circle(150% at calc(100% - 3rem) 2.5rem);
		visibility: visible;
		transition: clip-path .7s var(--ease), visibility 0s;
	}
	.nav .nav__list { flex-direction: column; align-items: center; gap: .4rem; }
	.nav .nav__list > li {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity .4s, transform .5s var(--ease);
	}
	.nav-open .nav .nav__list > li { opacity: 1; transform: none; }
	.nav-open .nav .nav__list > li:nth-child(1) { transition-delay: .15s; }
	.nav-open .nav .nav__list > li:nth-child(2) { transition-delay: .2s; }
	.nav-open .nav .nav__list > li:nth-child(3) { transition-delay: .25s; }
	.nav-open .nav .nav__list > li:nth-child(4) { transition-delay: .3s; }
	.nav-open .nav .nav__list > li:nth-child(5) { transition-delay: .35s; }
	.nav-open .nav .nav__list > li:nth-child(6) { transition-delay: .4s; }
	.nav-open .nav .nav__list > li:nth-child(7) { transition-delay: .45s; }
	.nav-open .nav .nav__list > li:nth-child(8) { transition-delay: .5s; }
	.nav .nav__list a { font-size: clamp(1.5rem, 6vw, 2.1rem); padding: .3rem 0; }
	.nav .nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		background: none; border: 0; padding: 0; text-align: center; min-width: 0;
	}
	.nav .nav__list .sub-menu a { font-size: 1.05rem; color: var(--silver); }
	.nav__extra { display: flex; justify-content: center; margin-top: 2rem; }
	body.nav-open { overflow: hidden; }
}

/* =========================================================================
   3. Knoppen
   ====================================================================== */

.btn {
	--b: var(--line);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .9rem 1.5rem;
	border-radius: 999px;
	border: 1px solid var(--b);
	background: rgba(255, 255, 255, .04);
	color: #fff;
	font-family: var(--font-display);
	font-size: .95rem;
	letter-spacing: .08em;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }

.btn--glow {
	border-color: transparent;
	background: linear-gradient(120deg, var(--red) 0%, #8f0b22 45%, var(--red-hot) 100%);
	box-shadow: 0 8px 30px rgba(200, 16, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--glow::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .8s var(--ease);
}
.btn--glow:hover::before { transform: translateX(120%); }
.btn--glow:hover { box-shadow: 0 10px 44px rgba(255, 45, 79, .65), 0 0 0 1px rgba(255,255,255,.2); }

/* =========================================================================
   4. Hero (film/foto bovenaan)
   ====================================================================== */

.hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(380px, 56vh, 560px);
	padding: calc(var(--header-h) + 3rem) 0 4rem;
	overflow: hidden;
	isolation: isolate;
	text-align: center;
	background: var(--ink);
}
.hero--full { min-height: 100vh; min-height: 100svh; }
.hero--tall { min-height: clamp(460px, 78vh, 820px); }

.hero__media, .hero__stars, .hero__veil, .hero__beam { position: absolute; inset: 0; }
.hero__media { z-index: -4; }
.hero__video, .hero__img {
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }

.hero__stars { z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero__veil {
	z-index: -3;
	background:
		radial-gradient(ellipse at center, rgba(6, 6, 11, .15) 0%, rgba(6, 6, 11, .6) 70%, rgba(6, 6, 11, .9) 100%),
		linear-gradient(to bottom, rgba(6, 6, 11, .55) 0%, transparent 30%, transparent 65%, var(--night) 100%);
}
.hero__beam {
	z-index: -1;
	inset: -30% -25%;
	pointer-events: none;
	background: conic-gradient(from 180deg at 50% 15%, transparent 0deg, rgba(220, 223, 230, .14) 12deg, transparent 24deg, transparent 336deg, rgba(255, 45, 79, .12) 348deg, transparent 360deg);
	animation: beam 9s ease-in-out infinite alternate;
}
@keyframes beam { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }

.hero__inner { position: relative; }
.hero .eyebrow { color: #e6e8ee; text-shadow: 0 2px 12px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .8); }
.hero__title {
	font-size: clamp(2.6rem, 9vw, 7rem);
	line-height: 1;
	margin: .15em 0 .25em;
	text-shadow: 0 4px 40px rgba(0, 0, 0, .7);
}
.hero--page .hero__title,
.hero--tall .hero__title { font-size: clamp(2.2rem, 7vw, 5rem); }
.hero__text {
	max-width: 640px;
	margin: 0 auto 2rem;
	font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
	color: var(--muted);
	text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* Glanzende lichtveeg over de titel */
.shimmer {
	background: linear-gradient(100deg, #fff 0%, #fff 40%, #eceef2 46%, #fff 50%, #ffd6dd 54%, #fff 60%, #fff 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shimmer 6s linear infinite;
	filter: drop-shadow(0 4px 30px rgba(0, 0, 0, .6));
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }

.hero__sound {
	position: absolute;
	right: var(--gutter);
	bottom: 1.6rem;
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(6, 6, 11, .45);
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: background .3s, transform .3s;
}
.hero__sound:hover { background: var(--red); transform: scale(1.06); }
.hero__sound .icon { width: 22px; height: 22px; }
.hero__sound .on, .hero__sound[aria-pressed="true"] .off { display: none; }
.hero__sound[aria-pressed="true"] .on { display: block; }

.hero__scroll {
	position: absolute;
	left: 50%; bottom: 1.6rem;
	width: 26px; height: 42px;
	margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .6);
	border-radius: 14px;
}
.hero__scroll span {
	position: absolute; left: 50%; top: 8px;
	width: 4px; height: 8px; margin-left: -2px;
	background: #fff; border-radius: 2px;
	animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================================
   5. Secties & koppen
   ====================================================================== */

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding-bottom: 0; }
.section--intro { padding-bottom: clamp(1rem, 3vw, 2rem); }

.section-head { text-align: center; margin: 0 auto clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .6rem;
	font-family: var(--font-display);
	font-size: .85rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--silver-soft);
}
.eyebrow .icon { width: .8em; height: .8em; color: var(--red-hot); animation: twinkle 2.4s ease-in-out infinite; }
.eyebrow .icon:last-child { animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { opacity: .4; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }

.section-title { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; }
.section-intro { color: var(--muted); margin: 1rem auto 0; max-width: 560px; }

.divider { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1rem auto 0; color: var(--red-hot); }
.divider i { display: block; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6)); }
.divider i:last-child { transform: scaleX(-1); }
.divider .icon { width: 14px; height: 14px; filter: drop-shadow(0 0 8px var(--red-hot)); }

/* Tekstopmaak uit de editor */
.prose { color: rgba(255, 255, 255, .86); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1.4em; color: #fff; }
.prose h4 { font-size: 1.15rem; margin-top: 1.2em; color: var(--silver-soft); }
.prose strong { color: #fff; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red-hot); }
.prose blockquote {
	margin: 1.6em 0;
	padding: 1rem 1.4rem;
	border-left: 3px solid var(--red);
	background: linear-gradient(90deg, rgba(200, 16, 46, .14), transparent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
}
.prose img { border-radius: var(--radius-sm); }
.prose .lead, .prose .has-large-font-size { font-size: 1.25rem; color: #fff; }
.prose a { color: #fff; }
.prose--wide { max-width: var(--container); }
.prose--wide > p, .prose--wide > ul, .prose--wide > h2, .prose--wide > h3, .prose--wide > blockquote { max-width: 820px; margin-inline: auto; }
.prose .wp-block-columns { gap: 2rem; margin: 2rem 0; }
.prose .wp-block-image figcaption { color: var(--silver); font-size: .85rem; text-align: center; }
.prose .alignwide { max-width: var(--container); }
.prose .aligncenter { margin-inline: auto; }
.prose figure.aligncenter img { margin-inline: auto; }
.prose figure { margin: 1.5rem 0; }
.prose .farla-float { float: right; width: min(38%, 300px); margin: .4rem 0 1.5rem 2rem; }
.prose .farla-float--small { width: min(22%, 120px); }
.prose .farla-float img { width: 100%; filter: drop-shadow(0 20px 40px rgba(205, 209, 218, .35)); }
.prose h2, .prose h3 { clear: none; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) {
	.prose .farla-float { float: none; width: min(70%, 260px); margin: 0 auto 1.5rem; }
	.prose .farla-float--small { width: 100px; }
}

/* Kleine, nette galerij (WordPress-galerij én eigen galerij) */
.prose .wp-block-gallery,
.prose .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: .7rem;
	margin: 2rem auto;
	max-width: 980px;
}
.prose .wp-block-gallery figure.wp-block-image,
.prose .gallery .gallery-item { width: auto !important; margin: 0 !important; max-width: none !important; }
.prose .wp-block-gallery img,
.prose .gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-sm);
	transition: transform .5s var(--ease), filter .4s;
}
.prose .gallery a, .prose .wp-block-gallery a { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.prose .gallery a:hover img, .prose .wp-block-gallery a:hover img { transform: scale(1.07); filter: brightness(1.12); }
.prose .gallery .gallery-caption { display: none; }

/* =========================================================================
   6. Lichtkrant met prijzen & cijfers
   ====================================================================== */

.marquee {
	position: relative;
	overflow: hidden;
	border-block: 1px solid var(--line);
	background: linear-gradient(90deg, rgba(200, 16, 46, .18), rgba(205, 209, 218, .18));
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee li {
	display: flex; align-items: center; gap: 1rem;
	padding: 1rem 1.6rem;
	font-family: var(--font-display);
	letter-spacing: .12em;
	white-space: nowrap;
	font-size: .95rem;
}
.marquee li .icon { color: var(--red-hot); width: .8em; filter: drop-shadow(0 0 6px var(--red-hot)); }
@keyframes marquee { to { transform: translateX(-50%); } }

.stats { padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; }
.stats::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: url("assets/img/curtain-silver.jpg") center/cover;
	opacity: .35;
	-webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
	mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .5rem; }
.stat__num {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1;
	background: linear-gradient(180deg, #fff 30%, var(--silver-soft));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 0 18px rgba(220, 223, 230, .45));
}
.stat__label { display: block; margin-top: .5rem; color: var(--silver); font-size: .95rem; }
@media (max-width: 767px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   7. Actuele evenementen (groot)
   ====================================================================== */

.features { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.feature {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}
.feature--flip .feature__media { order: 2; }
.feature__title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .4em; }
.feature__body .prose { margin-top: 1rem; }
.feature__cta { margin-top: 1.5rem; }
.feature__poster { display: block; }
.feature__media { position: relative; max-width: 520px; width: 100%; justify-self: center; }

/* Gloeiende, draaiende rand rond de foto/film */
.magic-frame {
	position: relative;
	padding: 3px;
	border-radius: var(--radius);
	background: var(--ink-2);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
	transform-style: preserve-3d;
	transition: transform .4s var(--ease);
}
.magic-frame::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: conic-gradient(from var(--angle, 0deg), var(--red-hot), transparent 25%, var(--silver-soft) 50%, transparent 75%, var(--red-hot));
	animation: spin 6s linear infinite;
	filter: blur(1px);
}
.magic-frame::after {
	content: "";
	position: absolute;
	inset: -24px;
	z-index: -2;
	border-radius: 40px;
	background: radial-gradient(closest-side, rgba(255, 45, 79, .3), rgba(205, 209, 218, .25), transparent);
	filter: blur(24px);
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.magic-frame img, .magic-frame video, .magic-frame .player { border-radius: calc(var(--radius) - 3px); width: 100%; }
.magic-frame img { max-height: 640px; object-fit: cover; }

.feature--star .feature__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }

.event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.2rem;
	margin: 0 0 .8rem;
	color: var(--silver);
	font-size: .95rem;
}
.event-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.event-meta .icon { color: var(--red-hot); }

@media (max-width: 860px) {
	.feature { grid-template-columns: 1fr; }
	.feature--flip .feature__media { order: 0; }
	.feature__media { max-width: 460px; }
	.feature__body { text-align: left; }
}

/* =========================================================================
   8. Video-speler
   ====================================================================== */

.player { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; margin: 0 0 1.2rem; }
.player video { width: 100%; height: auto; display: block; }
.magic-frame .player { margin: 0; }
.player--embed {
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
}
.player--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__play {
	position: absolute; inset: 0; margin: auto;
	width: 78px; height: 78px; border-radius: 50%;
	display: grid; place-items: center;
	border: 0; cursor: pointer;
	background: var(--red);
	box-shadow: 0 0 0 10px rgba(200, 16, 46, .25), 0 10px 40px rgba(0,0,0,.6);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.player__play .icon { width: 34px; height: 34px; margin-left: 4px; }
.player__play:hover { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(200, 16, 46, .2), 0 10px 40px rgba(0,0,0,.6); }

/* =========================================================================
   9. Archief: tabbladen per jaar + compacte kaarten
   ====================================================================== */

.archive { background: linear-gradient(180deg, transparent, rgba(34, 35, 42, .35) 20%, rgba(34, 35, 42, .35) 80%, transparent); }

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin: 0 auto 2.5rem;
	padding: .45rem;
	width: fit-content;
	max-width: 100%;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--glass);
	backdrop-filter: blur(10px);
}
.tabs__tab {
	position: relative;
	padding: .65rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-family: var(--font-display);
	font-size: 1.05rem;
	letter-spacing: .08em;
	cursor: pointer;
	color: var(--silver);
	transition: color .3s, background .3s, box-shadow .3s;
}
.tabs__tab sup { font-family: var(--font-body); font-size: .62rem; margin-left: .25rem; opacity: .7; }
.tabs__tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.tabs__tab[aria-selected="true"] {
	color: #fff;
	background: linear-gradient(120deg, var(--red), #7c0a1f);
	box-shadow: 0 6px 24px rgba(200, 16, 46, .5);
}
.tabs__panel { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
	.tabs__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		width: 100%;
		border-radius: var(--radius);
		scrollbar-width: none;
	}
	.tabs__list::-webkit-scrollbar { display: none; }
	.tabs__tab { flex: none; }
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}
.card { position: relative; }
.card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	border: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
	transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.card__link:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 45, 79, .5);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 45, 79, .25), 0 0 40px rgba(205, 209, 218, .25);
	color: inherit;
}
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.card__link:hover .card__img img { transform: scale(1.08); filter: brightness(1.1) saturate(1.1); }
.card__img::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%);
	transform: translateX(-100%);
	transition: transform .9s var(--ease);
}
.card__link:hover .card__img::after { transform: translateX(100%); }
.card__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: url("assets/img/curtain-red.jpg") center/cover;
}
.card__placeholder .icon { width: 42px; height: 42px; filter: drop-shadow(0 0 14px #fff); animation: twinkle 3s infinite; }
.card__badge {
	position: absolute; left: .7rem; top: .7rem;
	display: inline-flex; align-items: center; gap: .3rem;
	padding: .25rem .6rem; border-radius: 999px;
	background: rgba(200, 16, 46, .9); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
}
.card__badge .icon { width: .9em; height: .9em; }
.card__badge--right { left: auto; right: .7rem; background: rgba(6, 6, 11, .75); }
.card__body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.card__date { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-soft); }
.card__title { font-size: 1.12rem; margin: 0; line-height: 1.25; }
.card__loc { display: flex; gap: .35rem; align-items: center; margin: 0; font-size: .85rem; color: var(--silver); }
.card__loc .icon { color: var(--red-hot); }
.card__text { margin: 0; color: var(--muted); font-size: .92rem; }
.card__more {
	display: inline-flex; align-items: center; gap: .35rem;
	margin-top: auto; padding-top: .5rem;
	font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em; color: var(--red-hot);
}
.card__link:hover .card__more .icon { transform: translateX(4px); }
.card__more .icon { transition: transform .3s var(--ease); }

.cards--shows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Kleine fotootjes met lightbox */
.mini-gallery {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: .5rem;
	padding: 0;
	margin: 1.2rem 0;
	max-width: 620px;
}
.mini-gallery a { display: block; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.mini-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.mini-gallery a:hover img { transform: scale(1.1); filter: brightness(1.15); }

/* Speeldata */
.tour { margin: 1.5rem 0; }
.tour__title { font-size: 1.1rem; color: var(--silver-soft); margin-bottom: .6rem; }
.tour__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.tour__list li {
	display: grid;
	grid-template-columns: 7.5rem 4.5rem 1fr auto;
	gap: .2rem 1rem;
	padding: .6rem .2rem;
	border-bottom: 1px solid var(--line);
	font-size: .95rem;
}
.tour__date { font-family: var(--font-display); letter-spacing: .05em; }
.tour__time, .tour__city { color: var(--silver); }
@media (max-width: 600px) {
	.tour__list li { grid-template-columns: auto 1fr; }
	.tour__venue { grid-column: 1 / -1; }
	.tour__city { grid-column: 1 / -1; font-size: .85rem; }
}

/* =========================================================================
   10. Pop-up (dialog) en lightbox
   ====================================================================== */

.modal {
	width: min(860px, calc(100vw - 1.5rem));
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--radius);
	background: linear-gradient(180deg, #17181d, #07070e 60%);
	color: #fff;
	box-shadow: 0 40px 120px rgba(0, 0, 0, .8), 0 0 80px rgba(205, 209, 218, .25);
	overflow: hidden;
}
.modal[open] { animation: modalIn .5s var(--ease); display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(3, 3, 8, .78); backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.modal__content { overflow-y: auto; padding: clamp(1.4rem, 4vw, 2.6rem); overscroll-behavior: contain; }
.modal__close, .lightbox__close {
	position: absolute; top: .7rem; right: .7rem; z-index: 2;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line); background: rgba(6, 6, 11, .7);
	font-size: 1.6rem; line-height: 1; cursor: pointer;
	transition: background .3s, transform .3s;
}
.modal__close:hover, .lightbox__close:hover { background: var(--red); transform: rotate(90deg); }
.event-body__title { font-size: clamp(1.6rem, 4vw, 2.4rem); padding-right: 2.5rem; }
.event-body__poster { display: block; max-width: 360px; margin: 0 0 1.2rem; }
.event-body__poster img { border-radius: var(--radius-sm); }

.lightbox {
	width: 100vw; height: 100vh; height: 100dvh;
	max-width: none; max-height: none;
	margin: 0; border: 0;
	padding: 3.5rem 3.5rem 2rem;
	background: rgba(3, 3, 8, .94);
	color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s; }
.lightbox::backdrop { background: rgba(3, 3, 8, .6); backdrop-filter: blur(6px); }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__figure img {
	max-width: min(1200px, 100%);
	max-height: calc(100vh - 8rem);
	max-height: calc(100dvh - 8rem);
	margin: auto;
	border-radius: var(--radius-sm);
	box-shadow: 0 30px 100px rgba(0, 0, 0, .8);
	animation: modalIn .4s var(--ease);
}
.lightbox__figure figcaption { margin-top: .8rem; color: var(--silver); font-size: .9rem; }
.lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 50px; height: 50px; border-radius: 50%;
	border: 1px solid var(--line); background: rgba(6, 6, 11, .6);
	font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: .8rem; }
.lightbox__nav--next { right: .8rem; }
@media (max-width: 600px) {
	.lightbox { padding: 3.5rem .5rem 4.5rem; }
	.lightbox__nav { top: auto; bottom: 1rem; transform: none; }
	.lightbox__nav--prev { left: calc(50% - 60px); }
	.lightbox__nav--next { right: calc(50% - 60px); }
}

/* =========================================================================
   11. Overige pagina-onderdelen
   ====================================================================== */

.intro-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.intro-split__logo { display: grid; place-items: center; padding: 2rem; border-radius: var(--radius); background: radial-gradient(closest-side, rgba(200, 16, 46, .35), transparent); }
.intro-split__logo img { width: min(100%, 340px); filter: drop-shadow(0 0 24px rgba(255, 45, 79, .5)); }
@media (max-width: 767px) { .intro-split { grid-template-columns: 1fr; } }

.cta-band { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: url("assets/img/curtain-red.jpg") center/cover;
	opacity: .55;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-band .section-title { margin-bottom: 2rem; font-size: clamp(2.2rem, 6vw, 4rem); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; max-width: 820px; margin: 0 auto 2.5rem; }
.contact-card {
	display: flex; flex-direction: column; align-items: center; gap: .4rem;
	padding: 2rem 1.4rem;
	text-align: center; text-decoration: none;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: linear-gradient(160deg, rgba(205, 209, 218, .18), rgba(200, 16, 46, .14));
	transition: border-color .3s, box-shadow .3s;
}
.contact-card:hover { border-color: rgba(255, 45, 79, .6); box-shadow: 0 0 50px rgba(205, 209, 218, .3); }
.contact-card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--red); box-shadow: 0 0 30px rgba(255, 45, 79, .5); margin-bottom: .6rem; }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__label { color: var(--silver); font-size: .9rem; }
.contact-card strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 2.6vw, 1.4rem); letter-spacing: .03em; word-break: break-word; }
.contact-extra { margin: 0 auto 2rem; }

.back-link { margin-top: 2.5rem; }

/* Social-iconen */
.socials { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 1rem 0 0; flex-wrap: wrap; }
.socials a {
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .04);
	transition: background .3s, transform .3s var(--ease), box-shadow .3s;
}
.socials a:hover { background: var(--red); transform: translateY(-3px) rotate(-6deg); box-shadow: 0 8px 24px rgba(255, 45, 79, .45); }
.socials .icon { width: 18px; height: 18px; }
.socials--big a { width: 54px; height: 54px; }
.socials--big .icon { width: 22px; height: 22px; }

/* =========================================================================
   12. Footer
   ====================================================================== */

.site-footer {
	position: relative;
	padding: clamp(3rem, 7vw, 5rem) 0 1.5rem;
	margin-top: 2rem;
	background: linear-gradient(180deg, rgba(34, 35, 42, .25), #040408 40%);
	border-top: 1px solid var(--line);
	font-size: .95rem;
}
.site-footer__curtain {
	position: absolute; left: 0; right: 0; top: -1px; height: 4px;
	background: linear-gradient(90deg, var(--silver-dark), var(--red-hot), var(--silver-dark));
	background-size: 200% 100%;
	animation: shimmer 8s linear infinite;
	box-shadow: 0 0 24px rgba(255, 45, 79, .6);
}
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand img { width: 240px; margin-bottom: 1rem; }
.site-footer__brand p { color: var(--muted); max-width: 380px; }
.site-footer__title {
	font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem;
	background: linear-gradient(180deg, #ffffff 0%, #d9dce2 45%, #9a9fab 55%, #e6e8ec 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-list, .footer-menu, .site-footer .nav__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .nav__list { flex-direction: column; }
.site-footer .nav__list a, .footer-menu a { font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; padding: 0; }
.site-footer .nav__list a::after { display: none; }
.contact-list li { display: flex; align-items: center; gap: .6rem; }
.contact-list .icon { color: var(--red-hot); }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .socials a { color: #fff; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
	margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
	color: rgba(255, 255, 255, .5); font-size: .82rem;
}
.site-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   13. Animaties bij scrollen + magische effecten
   ====================================================================== */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3n+3) { transition-delay: .16s; }

.tilt { will-change: transform; }

/* Glinsters achter de muis */
.sparkle {
	position: fixed;
	z-index: 9999;
	width: 12px; height: 12px;
	pointer-events: none;
	background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .8) 20%, transparent 60%);
	clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
	animation: sparkleFade .9s var(--ease) forwards;
}
.sparkle--red { background: radial-gradient(circle, #fff 0%, var(--red-hot) 30%, transparent 70%); }
.sparkle--silver { background: radial-gradient(circle, #fff 0%, var(--silver-soft) 30%, transparent 70%); }
@keyframes sparkleFade {
	from { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
	to { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 20px))) scale(.2) rotate(180deg); }
}

/* Pagina-paginering */
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination .page-numbers { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pagination .current { background: var(--red); border-color: var(--red); }

/* Minder beweging als de bezoeker dat heeft ingesteld */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero__beam, .hero__stars { display: none; }
}

/* WordPress-standaardclasses */
.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, figcaption { font-size: .85rem; color: var(--silver); }
.has-curtain-color { color: var(--red); }
.has-graphite-background-color { background-color: var(--graphite); }
.has-curtain-background-color { background-color: var(--red); }
.has-night-background-color { background-color: var(--night); }
.has-white-color { color: #fff; }
.has-silver-color { color: var(--silver); }
.wp-block-button__link { border-radius: 999px; background: var(--red); font-family: var(--font-display); letter-spacing: .08em; }
.wp-block-separator { border-color: var(--line); }
.wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius-sm); }
