/* ==========================================================================
   NOAF Dark – festival theme
   Dark only · no borders · signature yellow
   Colours, fonts and sizes come from theme options as CSS variables.
   ========================================================================== */

:root {
  color-scheme: dark;
  --c-primary: #ffee23;
  --c-on-primary: #0b0b0c;
  --c-bg: #09090b;
  --c-surface: #141417;
  --c-surface-2: #1d1d22;
  --c-text: #f2f2f0;
  --c-muted: #a1a1a8;
  --c-accent: #ff5a1f;
  --f-display: 'Anton', Impact, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --fs-base: 17px;
  --h-transform: uppercase;
  --container: 1280px;
  --radius: 18px;
  --grain: .06;
  --glow: .35;
  --page-hero-opacity: .35;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --primary-soft: color-mix(in srgb, var(--c-primary) 14%, transparent);
  --shadow: 0 30px 60px -20px rgb(0 0 0 / .7);
  --logo-h: 64px;
  --header-h: calc(var(--logo-h) + 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--c-bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 var(--fs-base)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-primary); color: var(--c-on-primary); }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: .95; letter-spacing: .01em; text-transform: var(--h-transform); }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.container--mid { max-width: calc(1080px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--c-primary); color: var(--c-on-primary); border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* Film grain overlay */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* ---------------------------------------------------------------- Buttons
   (no hover effects – a button looks the same with or without the pointer) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--c-primary) calc(var(--glow) * 100%), transparent); }
.btn--ghost { background: rgb(255 255 255 / .08); color: var(--c-text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--dark { background: var(--c-on-primary); color: var(--c-primary); }
.btn--sm { padding: .75em 1.25em; font-size: .8rem; }
.btn--lg { padding: 1.15em 2em; font-size: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em; margin: 0 0 1rem;
  color: var(--c-primary); font-weight: 800; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 2.2em; height: 3px; border-radius: 3px; background: currentColor; }
@media (max-width: 760px) { .eyebrow::before { display: none; } }

.pill { display: inline-flex; align-items: center; padding: .4em .9em; border-radius: 999px; background: var(--c-surface-2); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pill--accent { background: color-mix(in srgb, var(--c-accent) 22%, transparent); color: var(--c-accent); }

/* ---------------------------------------------------------------- Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: 14px; transition: padding .4s var(--ease), transform .4s var(--ease); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 66px; padding-block: 8px;
}
/* Transparent header: only logo + links, kept readable over images with a soft shadow */
.header-floating .nav__list > .nav__item > .nav__link { text-shadow: 0 1px 12px rgb(0 0 0 / .85), 0 0 2px rgb(0 0 0 / .6); }
.header-solid .site-header { padding-top: 0; background: var(--c-bg); }
.site-header.is-hidden { transform: translateY(-120%); }

.brand img { height: var(--logo-h, 64px); width: auto; filter: drop-shadow(0 4px 20px rgb(0 0 0 / .6)); }
/* Hero with logo on the page: header logo fades in once the hero logo has scrolled away (theme.js) */
body:has(.hero__logo) .brand { transition: opacity .4s var(--ease), visibility .4s; }
body:has(.hero__logo) .site-header:not(.show-brand) .brand { opacity: 0; visibility: hidden; }

.nav { display: flex; align-items: center; gap: 12px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em; padding: .65em .85em; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text);
}
.nav__item.is-current > .nav__link { color: var(--c-primary); }
.nav__chev { width: .9em; height: .9em; transition: transform .3s var(--ease); }
.nav__item--cta { margin-left: 8px; }
.nav__subtoggle { display: none; }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 230px; margin: 0; padding: 10px; list-style: none;
  background: var(--c-surface); border-radius: calc(var(--radius) * .8); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__sub .nav__link { display: flex; width: 100%; padding: .8em 1em; border-radius: 10px; }
.nav__sub .is-current > .nav__link { background: var(--primary-soft); }
.nav__item.has-children:is(:hover, :focus-within, .is-open) > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.has-children:is(:hover, .is-open) > .nav__link .nav__chev { transform: rotate(180deg); }
.nav__social { display: none; }

.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-primary); cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2.5px; border-radius: 2px; background: var(--c-on-primary); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; right: 20px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { right: 14px; transform: translateY(-6px) rotate(-45deg); }

.social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .07); color: var(--c-text); }
.social .icon { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  :root { --header-h: calc(var(--logo-h) * .8 + 32px); }
  .brand img { height: calc(var(--logo-h, 64px) * .8); }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 110px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
    background:
      radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--c-primary) 18%, transparent), transparent 60%),
      var(--c-bg);
    clip-path: circle(0 at calc(100% - 40px) 40px); visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .7s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > .nav__item { opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav.is-open .nav__list > .nav__item { opacity: 1; transform: none; }
  .nav.is-open .nav__list > .nav__item:nth-child(n) { transition-delay: calc(.05s * var(--i, 1) + .15s); }
  .nav__list > .nav__item > .nav__link { width: 100%; padding: .2em 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3.4rem); letter-spacing: .01em; line-height: 1.1; border-radius: 0; }
  .nav__list > .nav__item > .nav__link .nav__chev { display: none; }
  .nav__item.has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav__item.has-children > .nav__toggle .nav__chev { display: block; width: .5em; height: .5em; }
  .nav__subtoggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); cursor: pointer; }
  .nav__subtoggle .icon { transition: transform .3s var(--ease); }
  .nav__item.is-open > .nav__subtoggle .icon, .nav__item.is-open > .nav__toggle .nav__chev { transform: rotate(180deg); }
  .nav__sub { grid-column: 1 / -1; position: static; min-width: 0; padding: 0 0 0 4px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__item.has-children:is(:hover, :focus-within, .is-open) > .nav__sub { transform: none; left: auto; }
  .nav__sub .is-current > .nav__link { background: none; color: var(--c-primary); }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub .nav__link { padding: .7em 0; font-size: 1rem; }
  .nav__item--cta { margin: 20px 0 0; }
  .nav__item--cta .btn { width: 100%; padding: 1.2em; font-size: 1rem; }
  .nav__social { display: flex; gap: 10px; margin-top: auto; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would turn the header into the containing block of the fixed overlay */
  body.nav-open .site-header__inner { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent !important; box-shadow: none !important; }
}

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; display: grid; align-items: center; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 120px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -4%; z-index: -3; background: center / cover no-repeat; transform: scale(1.06); animation: heroZoom 24s var(--ease) infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgb(0 0 0 / calc(var(--hero-overlay) * .8)) 0%, rgb(0 0 0 / var(--hero-overlay)) 45%, var(--c-bg) 100%),
    radial-gradient(70% 60% at 50% 110%, color-mix(in srgb, var(--c-primary) calc(var(--glow) * 60%), transparent), transparent 70%);
}
@keyframes heroZoom { to { transform: scale(1.14) translateY(-1.5%); } }
/* Spotlights (partials/spotlights.php) – all values come from section/theme options */
.spots { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.6s var(--ease); }
/* Faded in by theme.js once the header image has loaded (no-JS fallback in layout.php) */
.spots.is-lit { opacity: var(--spot-opacity, .55); }
.spots i {
  position: absolute; top: -20%; left: var(--x); width: var(--spot-w); height: 140%; margin-left: calc(var(--spot-w) / -2);
  transform-origin: 50% 0; transform: rotate(var(--spot-angle));
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(var(--spot-blur));
  animation: spotSwing var(--dur) ease-in-out var(--delay) infinite var(--dir);
}
.spots--still i { animation: none; }
@keyframes spotSwing {
  from { transform: rotate(calc(var(--spot-angle) - var(--spot-swing))); }
  to   { transform: rotate(calc(var(--spot-angle) + var(--spot-swing))); }
}
.hero__haze { position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: radial-gradient(60% 100% at 50% 100%, rgb(255 255 255 / .06), transparent 70%); filter: blur(20px); }

.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__eyebrow { justify-content: center; }
.hero__eyebrow::before { display: none; }
.hero__logo { margin: 0; }
.hero__logo img { width: min(560px, 82vw); filter: drop-shadow(0 20px 60px rgb(0 0 0 / .8)); }
.hero__title { font-size: clamp(3.5rem, 12vw, 10rem); text-shadow: 0 10px 60px rgb(0 0 0 / .6); }
.hero__date {
  margin: clamp(16px, 3vw, 28px) 0 0; font-family: var(--f-display); text-transform: var(--h-transform); line-height: .95;
  font-size: clamp(2.4rem, 8vw, 6.5rem); color: var(--c-primary);
  text-shadow: 0 0 calc(var(--glow) * 80px) color-mix(in srgb, var(--c-primary) 60%, transparent);
}
.hero__location { display: inline-flex; align-items: center; gap: .5em; margin: 14px 0 0; color: var(--c-muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__actions:empty { display: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px; margin-left: -14px; border-radius: 20px; background: rgb(255 255 255 / .1); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px; background: var(--c-primary); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }
.hero__anchor { position: absolute; bottom: 0; }

.countdown { margin-top: clamp(28px, 5vw, 48px); }
.countdown__title { margin: 0 0 12px; color: var(--c-muted); font-size: .75rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: clamp(8px, 1.5vw, 14px); }
.countdown__cell { display: flex; flex-direction: column; align-items: center; padding: clamp(12px, 2vw, 18px) clamp(10px, 2vw, 22px); border-radius: calc(var(--radius) * .8); background: rgb(12 12 14 / .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.countdown__num { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { margin-top: 6px; color: var(--c-muted); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.countdown__live { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--c-primary); text-transform: var(--h-transform); }
.countdown.is-live .countdown__grid, .countdown.is-live .countdown__title { display: none; }

/* ---------------------------------------------------------------- Marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 18px 0; transform: rotate(-2deg) scale(1.04); margin-block: -10px; }
.marquee--primary { background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 20px 80px -20px color-mix(in srgb, var(--c-primary) calc(var(--glow) * 100%), transparent); }
.marquee--dark { background: var(--c-surface); color: var(--c-text); }
.marquee__track { display: flex; width: max-content; animation: marquee 110s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1; text-transform: var(--h-transform); white-space: nowrap; }
.marquee__group b { font-family: var(--f-body); font-size: .6em; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Sections */
.section { position: relative; padding-block: var(--section); }
.section--page { padding-top: clamp(40px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.section-title--sm { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-text { margin: 1.25rem 0 0; color: var(--c-muted); font-size: 1.1rem; }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.section-actions--center { justify-content: center; }
.section-actions:empty { display: none; }

/* Prose */
.prose { color: color-mix(in srgb, var(--c-text) 86%, var(--c-muted)); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: 1.6em 0 .6em; color: var(--c-text); }
.prose h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.prose h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h4, .prose h5 { font-family: var(--f-body); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; color: var(--c-primary); line-height: 1.3; }
.prose a { color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { color: var(--c-text); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.5em; margin-bottom: .45em; }
.prose ul li::before { content: ''; position: absolute; left: .2em; top: .7em; width: .5em; height: .5em; border-radius: 2px; background: var(--c-primary); transform: rotate(45deg); }
.prose ol { padding-left: 1.3em; }
.prose ol li::marker { color: var(--c-primary); font-weight: 800; }
.prose img { border-radius: var(--radius); margin: 1.5em auto; box-shadow: var(--shadow); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose td, .prose th { padding: .8em 1em; text-align: left; }
.prose tr:nth-child(odd) td { background: var(--c-surface); }
.prose blockquote { margin: 1.5em 0; padding: 1.2em 1.5em; border-radius: var(--radius); background: var(--c-surface); font-size: 1.1em; }
.prose--page { font-size: 1.05rem; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro--img-left .intro__media { order: -1; }
.intro__text .prose { margin: 1.5rem 0 2rem; font-size: 1.08rem; }
.intro__media { position: relative; margin: 0; isolation: isolate; } /* keeps the yellow accent behind the image during and after the reveal animation */
.intro__media::before { content: ''; position: absolute; inset: 9% -6% -6% 9%; z-index: -1; border-radius: var(--radius); background: var(--c-primary); transform: rotate(3deg); }
.intro--img-left .intro__media::before { inset: 9% 9% -6% -6%; transform: rotate(-3deg); }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Stats */
.stats { padding-block: clamp(56px, 8vw, 100px); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.stats__item { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: linear-gradient(160deg, var(--c-surface-2), var(--c-surface)); }
.stats__value { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.stats__label { color: var(--c-muted); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }

/* Cards */
.cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: var(--c-surface); overflow: hidden; isolation: isolate; }
.card::after { content: ''; position: absolute; right: -40%; top: -40%; width: 80%; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 10%, transparent), transparent 70%); }
.card__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 8px; border-radius: 16px; background: var(--c-primary); color: var(--c-on-primary); transform: rotate(-4deg); }
.card__icon .icon { width: 28px; height: 28px; }
.card__title { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.card__text { margin: 0; color: var(--c-muted); flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: .5em; margin-top: 8px; color: var(--c-primary); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* Lineup */
.lineup { overflow: hidden; }
.lineup__glow { position: absolute; right: -10%; top: 10%; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) calc(var(--glow) * 40%), transparent), transparent 65%); pointer-events: none; }
.lineup__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.lineup__bands { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .6em; margin: 1.5rem 0 2.25rem; padding: 0; list-style: none; font-family: var(--f-display); text-transform: var(--h-transform); line-height: 1.05; font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
.lineup__bands li { color: color-mix(in srgb, var(--c-text) 70%, transparent); }
.lineup__bands li:not(:last-child)::after { content: '/'; margin-left: .6em; color: var(--c-primary); opacity: .7; }
.lineup__bands li.is-headliner { color: var(--c-text); font-size: 1.45em; }
.lineup__flyer { margin: 0; }
.lineup__flyer a { display: block; transform: rotate(3deg); } /* tilt on the child: the reveal animation owns the figure's transform */
.lineup__flyer img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 100px -30px rgb(0 0 0 / .9), 0 0 0 10px var(--c-surface); }

/* Gallery teaser mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 16vw, 230px); grid-auto-flow: row dense; gap: clamp(8px, 1.2vw, 14px); }
.mosaic__item { position: relative; overflow: hidden; border-radius: calc(var(--radius) * .8); background: var(--c-surface); }
.mosaic__item:nth-child(8n + 1) { grid-column: span 2; grid-row: span 2; }
.mosaic__item:nth-child(8n + 6) { grid-column: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }

/* History rail */
.rail { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; padding: 8px var(--gutter) 24px; scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 3px solid var(--c-primary); outline-offset: -3px; border-radius: var(--radius); }
.rail.is-draggable { cursor: grab; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.is-dragging .rail__img img { transform: none; }
.rail img { -webkit-user-drag: none; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-nav { display: flex; flex: none; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.rail-nav__btn { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--c-surface-2); color: var(--c-text); cursor: pointer; }
.rail-nav__btn .icon { width: 22px; height: 22px; }
.rail-nav__btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 560px) {
  .rail-nav__btn { width: 44px; height: 44px; }
  .rail-nav__btn .icon { width: 18px; height: 18px; }
}
@media (min-width: 1400px) { .rail { padding-inline: calc((100vw - var(--container)) / 2); scroll-padding-inline: calc((100vw - var(--container)) / 2); } }
.rail__item { flex: 0 0 clamp(220px, 24vw, 300px); scroll-snap-align: start; }
.rail__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--c-surface); }
.rail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rail__img:hover img { transform: scale(1.05); }
.rail__year { margin-top: 16px; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--c-primary); }
.rail__meta { margin: 4px 0 0; color: var(--c-muted); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

/* YouTube click-to-load */
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--shadow); }
.yt__poster { position: absolute; inset: 0; background: center / cover; opacity: .35; filter: saturate(.6); }
.yt__consent { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 24px; text-align: center; }
.yt__consent h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.yt__consent p { max-width: 520px; margin: 0 0 8px; color: var(--c-muted); font-size: .92rem; }
.yt__play { display: grid; place-items: center; width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); cursor: pointer; box-shadow: 0 0 0 14px var(--primary-soft); }
.yt__play .icon { width: 40%; height: 40%; margin-left: 6%; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .yt { aspect-ratio: 4 / 5; } }

/* Partner strip */
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 45s linear infinite; }
.logo-tile { display: grid; place-items: center; width: 220px; height: 110px; padding: 20px 26px; border-radius: calc(var(--radius) * .8); }
.logo-tile img { max-height: 70px; width: auto; object-fit: contain; }
.logo-tile--light { background: #f1f1ee; }
.logo-tile--dark { background: var(--c-surface-2); }

/* CTA */
.cta { position: relative; overflow: hidden; padding-block: clamp(80px, 12vw, 160px); background: var(--c-primary); color: var(--c-on-primary); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: center / cover; mix-blend-mode: multiply; opacity: .25; filter: grayscale(1) contrast(1.3); }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta__title { font-size: clamp(3rem, 10vw, 8rem); }
.cta__text { max-width: 640px; margin: 0; font-size: 1.15rem; font-weight: 600; }

/* ---------------------------------------------------------------- Page hero */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 52vh, 520px); padding: calc(var(--header-h) + 60px) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.page-hero--full { min-height: 100svh; align-items: center; }
@media (max-width: 960px) {
  .page-hero:not(.page-hero--full) { min-height: clamp(240px, 34vh, 340px); padding-top: calc(var(--header-h) + 28px); padding-bottom: 32px; }
  .page-hero:not(.page-hero--full) .page-hero__lead { margin-top: .75rem; font-size: 1rem; }
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background: center / cover; opacity: var(--page-hero-opacity); filter: grayscale(.3); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, var(--c-bg) 100%), radial-gradient(60% 80% at 15% 100%, color-mix(in srgb, var(--c-primary) calc(var(--glow) * 30%), transparent), transparent 70%); }
.page-hero__title { font-size: clamp(3rem, 10vw, 8.5rem); overflow-wrap: anywhere; hyphens: auto; }
.page-hero__lead { max-width: 720px; margin: 1.25rem 0 0; color: var(--c-muted); font-size: 1.15rem; }
.page-hero__back { margin-top: 28px; }
.error-code { margin: 0; font-family: var(--f-display); font-size: clamp(7rem, 30vw, 18rem); line-height: .8; color: var(--c-primary); text-shadow: 0 0 80px color-mix(in srgb, var(--c-primary) 40%, transparent); }

/* ---------------------------------------------------------------- FAQ */
.search { position: relative; display: flex; align-items: center; margin: 0 0 28px; }
.search .icon { position: absolute; left: 22px; color: var(--c-muted); }
.search input { width: 100%; padding: 1.1em 1.3em 1.1em 3.4em; border: 0; border-radius: 999px; background: var(--c-surface); font-size: 1rem; }
.search input::placeholder { color: var(--c-muted); }
.search input:focus { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.accordion { display: grid; gap: 10px; }
.accordion__item { border-radius: calc(var(--radius) * .8); background: var(--c-surface); overflow: hidden; }
.accordion__item[open] { background: var(--c-surface-2); }
.accordion__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 1.25em 1.5em; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); }
.accordion__q i::before, .accordion__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; border-radius: 2px; background: var(--c-primary); transition: transform .3s var(--ease); }
.accordion__q i::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__q i::after { transform: rotate(0); }
.accordion__a { padding: 0 1.5em 1.5em; }
.empty { color: var(--c-muted); text-align: center; padding: 40px 0; }

/* ---------------------------------------------------------------- History */
.timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: clamp(70px, 12vw, 170px); top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(var(--c-primary), color-mix(in srgb, var(--c-primary) 10%, transparent)); }
.timeline__item { position: relative; display: grid; grid-template-columns: clamp(70px, 12vw, 170px) 1fr; gap: clamp(24px, 4vw, 56px); }
.timeline__item::before { content: ''; position: absolute; left: clamp(70px, 12vw, 170px); top: .9em; width: 17px; height: 17px; margin-left: -7px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 6px var(--c-bg), 0 0 30px var(--c-primary); }
.timeline__item.is-canceled::before { background: var(--c-accent); box-shadow: 0 0 0 6px var(--c-bg); }
.timeline__year { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding-right: 24px; text-align: right; font-family: var(--f-display); font-size: clamp(2rem, 5.5vw, 4.4rem); line-height: 1; color: var(--c-primary); }
.is-canceled .timeline__year { color: var(--c-muted); text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--c-accent); }
.timeline__body { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--c-surface); }
.timeline__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.timeline__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.timeline__meta:empty { display: none; }
.timeline__flyers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.timeline__flyers a { overflow: hidden; border-radius: calc(var(--radius) * .6); background: var(--c-surface-2); aspect-ratio: 3 / 4; }
.timeline__flyers img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.timeline__flyers a:hover img { transform: scale(1.05); }
.timeline__sub { margin: 24px 0 12px; font-family: var(--f-body); font-weight: 800; font-size: .8rem; letter-spacing: .2em; color: var(--c-primary); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: .45em .95em; border-radius: 999px; background: var(--c-surface-2); font-weight: 600; font-size: .9rem; }
@media (max-width: 640px) {
  .timeline::before, .timeline__item::before { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; gap: 12px; padding-left: 30px; }
  .timeline__year { position: static; text-align: left; padding: 0; }
}

/* ---------------------------------------------------------------- Partners / awards / press */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(12px, 2vw, 20px); margin: 0; padding: 0; list-style: none; }
.partner { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 12% 14%; border-radius: var(--radius); background: #f1f1ee; }
.partner.logo-tile--dark { background: var(--c-surface-2); }
.partner img { max-height: 100%; width: auto; object-fit: contain; }
.partner span { color: #111; font-weight: 800; text-align: center; }
.partner.logo-tile--dark span { color: var(--c-text); }
.partner__cat { margin: 8px 0 0; color: var(--c-muted); font-size: .8rem; text-align: center; letter-spacing: .1em; text-transform: uppercase; }

.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.award { margin: 0; padding: 14px; border-radius: var(--radius); background: var(--c-surface); }
.award__img { display: block; overflow: hidden; border-radius: calc(var(--radius) * .7); background: var(--c-surface-2); aspect-ratio: 4 / 5; }
.award__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.award__img:hover img { transform: scale(1.04); }
.award figcaption { padding: 18px 8px 8px; }
.award figcaption p { margin: 8px 0 0; color: var(--c-muted); }
.award__title { font-size: 1.7rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.15em; border-radius: 999px; background: var(--c-surface); font-weight: 700; font-size: .88rem; letter-spacing: .04em; }
.chip small { color: var(--c-muted); font-weight: 600; }
.chip.is-active { background: var(--c-primary); color: var(--c-on-primary); }
.chip.is-active small { color: inherit; opacity: .7; }
.press-year + .press-year { margin-top: clamp(48px, 7vw, 90px); }
.press-year__title { margin-bottom: 24px; font-size: clamp(3rem, 8vw, 6rem); color: var(--c-primary); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.press-item { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--c-surface); }
.press-item__img { aspect-ratio: 3 / 4; overflow: hidden; background: #e9e7e1; }
.press-item__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.press-item:hover .press-item__img img { transform: scale(1.04); }
.press-item__title { padding: 14px 16px; font-weight: 700; font-size: .9rem; line-height: 1.35; }

/* ---------------------------------------------------------------- Gallery */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.album { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--c-surface); isolation: isolate; }
.album__img { position: absolute; inset: 0; z-index: -2; }
.album__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.album:hover .album__img img { transform: scale(1.07); }
.album::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .85)); }
.album__body { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 24px; }
.album__title { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; text-transform: var(--h-transform); color: var(--c-text); }
.album__count { margin-top: 6px; color: var(--c-primary); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }

.masonry { columns: 4 240px; column-gap: clamp(8px, 1.2vw, 14px); }
.masonry__item { display: block; margin-bottom: clamp(8px, 1.2vw, 14px); overflow: hidden; border-radius: calc(var(--radius) * .7); background: var(--c-surface); break-inside: avoid; }
.masonry__item img { width: 100%; transition: transform .8s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px; background: rgb(5 5 6 / .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lightbox__figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; min-width: 0; height: 100%; justify-content: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; border-radius: 12px; box-shadow: var(--shadow); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lightbox__figure figcaption { color: var(--c-muted); font-size: .9rem; text-align: center; }
.lightbox__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); cursor: pointer; }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; background: var(--c-primary); color: var(--c-on-primary); }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 10px 90px; }
  .lightbox__figure { grid-column: 1; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); }
}

/* ---------------------------------------------------------------- Contact form */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact__note { padding: 1em 1.25em; border-radius: calc(var(--radius) * .7); background: var(--primary-soft); color: var(--c-primary); font-weight: 700; }
.contact__list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--c-surface); color: var(--c-primary); }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--c-surface); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.field input, .field select, .field textarea { width: 100%; padding: 1em 1.15em; border: 0; border-radius: 12px; background: var(--c-surface-2); font-size: 1rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-primary) 50%), linear-gradient(135deg, var(--c-primary) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 3em; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--c-primary); outline-offset: 1px; }
.field.has-error input, .field.has-error textarea, .check.has-error span { box-shadow: inset 0 0 0 2px var(--c-accent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--c-muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-primary); }
.check.has-error span { border-radius: 6px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__foot small { color: var(--c-muted); }
.notice { margin: 0; padding: 1em 1.25em; border-radius: 12px; font-weight: 700; }
.notice--ok { background: color-mix(in srgb, #3ddc84 16%, transparent); color: #6ff0a6; }
.form--done { justify-items: center; gap: 14px; padding-block: clamp(40px, 6vw, 72px); text-align: center; }
.form--done p { margin: 0 0 8px; max-width: 40ch; color: var(--c-muted); }
.form__done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 18px; background: var(--c-primary); color: var(--c-on-primary); transform: rotate(-8deg); }
.form__done-icon .icon { width: 32px; height: 32px; }
.form__done-title { margin: 0; font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; text-transform: var(--h-transform); }
.notice--error { background: color-mix(in srgb, var(--c-accent) 16%, transparent); color: var(--c-accent); }
.captcha__row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.captcha__row img { display: block; max-width: calc(100% - 56px); height: auto; border-radius: 12px; }
.captcha__refresh { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--c-surface-2); color: var(--c-primary); cursor: pointer; }
.captcha__refresh[hidden] { display: none; }
.captcha__refresh:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 1px; }
.captcha__refresh:disabled { opacity: .5; cursor: wait; }
.captcha__refresh .icon { width: 20px; height: 20px; }
.captcha__help { color: var(--c-muted); }
.field.captcha input { max-width: 220px; letter-spacing: .3em; }

/* ---------------------------------------------------------------- Footer */
.site-footer { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0 28px; background: #050506; isolation: isolate; }
.site-footer__bg { position: absolute; inset: 0; z-index: -1; background: center / cover; opacity: .12; filter: grayscale(1); mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }
.site-footer__brand { flex: 1.6 1 300px; }
.site-footer__col { flex: 1 1 170px; }
.site-footer__brand img { width: 200px; }
.site-footer__date { margin: 20px 0 0; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; color: var(--c-primary); text-transform: var(--h-transform); }
.site-footer__tag { margin: 8px 0 20px; color: var(--c-muted); }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__title { margin-bottom: 16px; font-family: var(--f-body); font-weight: 800; font-size: .78rem; letter-spacing: .2em; color: var(--c-primary); }
.site-footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { color: var(--c-muted); font-weight: 600; }
.site-footer address { display: grid; gap: 12px; font-style: normal; }
.site-footer address a { display: flex; gap: 10px; align-items: flex-start; color: var(--c-muted); }
.site-footer address .icon { margin-top: .2em; color: var(--c-primary); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 7vw, 80px); padding-top: 24px; color: var(--c-muted); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.site-footer__bottom { position: relative; }
.site-footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .1), transparent); }
.to-top { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); }
.to-top .icon { transform: rotate(180deg); }

/* ---------------------------------------------------------------- Reveal animations */
.has-anim [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.has-anim [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-anim [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg, .spots i, .marquee__track, .logo-marquee__track, .grain { animation: none; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .intro__grid, .lineup__grid, .contact { grid-template-columns: 1fr; }
  .intro--img-left .intro__media { order: 0; }
  .intro__media { max-width: 520px; margin-inline: auto; width: 88%; }
  .lineup__flyer { max-width: 440px; margin-inline: auto; width: 86%; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { flex-basis: 100%; }
}
@media (max-width: 560px) {
  :root { --radius: min(var(--radius), 14px); }
  .form__row { grid-template-columns: 1fr; }
  .countdown__grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .countdown__cell { padding: 10px 4px; }
  .countdown__label { font-size: .58rem; letter-spacing: .08em; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { width: 100%; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__legal { margin: 0; }
  .masonry { columns: 2; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding: 20px 16px; }
  .stats__value { font-size: clamp(2.2rem, 11vw, 3rem); }
  .stats__label { letter-spacing: .08em; font-size: .7rem; overflow-wrap: anywhere; }
}

/* ---------------------------------------------------------------- Cookie notice */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 400;
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start;
  width: min(420px, calc(100vw - 40px)); padding: 20px;
  border-radius: calc(var(--radius) * 1.1);
  background: color-mix(in srgb, var(--c-surface) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / .9);
  opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: none; }
.consent__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--c-primary); color: var(--c-on-primary); transform: rotate(-8deg); }
.consent__icon .icon { width: 26px; height: 26px; }
.consent__title { margin: 2px 0 4px; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.05; text-transform: var(--h-transform); }
.consent__text { margin: 0; color: var(--c-muted); font-size: .86rem; line-height: 1.5; }
.consent__text a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.consent__opts { grid-column: 1 / -1; display: grid; gap: 6px; }
.consent__opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 12px; background: var(--c-surface-2); font-size: .85rem; font-weight: 600; }
label.consent__opt { cursor: pointer; }
.consent__opt small { display: block; margin-top: 2px; color: var(--c-muted); font-weight: 400; font-size: .75rem; }
.consent__state { flex: none; color: var(--c-primary); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.consent__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.toggle { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: rgb(255 255 255 / .14); cursor: pointer; transition: background .2s; }
.toggle::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-text); transition: transform .2s var(--ease), background .2s; }
.toggle:checked { background: var(--c-primary); }
.toggle:checked::before { transform: translateX(18px); background: var(--c-on-primary); }
.toggle:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; grid-template-columns: 1fr; }
  .consent__icon { display: none; }
  .consent__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* ---------------------------------------------------------------- Maintenance */
.maintenance__logo { width: min(360px, 70vw); height: auto; margin-bottom: clamp(20px, 4vw, 40px); }
.maint-bar {
  position: fixed; inset: auto 0 0; z-index: 600; /* above the lightbox (500), so it never gets covered */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px;
  padding: 7px var(--gutter) calc(7px + env(safe-area-inset-bottom));
  background: var(--c-primary); color: var(--c-on-primary); font-size: .78rem; font-weight: 700; text-align: center;
}
.maint-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.has-maint-bar { padding-bottom: 36px; }
.has-maint-bar .consent { bottom: 52px; }
.has-maint-bar .lightbox { bottom: 36px; }

/* ---------------------------------------------------------------- Offline page */
.offline-icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 24px; border-radius: 24px; background: var(--c-primary); color: var(--c-on-primary); transform: rotate(-8deg); }
.offline-icon .icon { width: 44px; height: 44px; }
