/* ============================================================
   ONS KENT ONS — v4
   Design System · css/style.css
   ============================================================ */

/* 1. Fonts
   ---------------------------------------------------------------
   Our designer's brand kit specs Contralto Small (logo), Gambado
   Sans (advert display), Proxima Nova (social/body) and Epicursive
   Script (social accent). None of those four are open-web fonts —
   they're licensed through Adobe Fonts / foundry purchase — so this
   is a stand-in system using the closest free counterpart for each
   role until the real files/kit are licensed. Swap the @import and
   the four --font-* values below once the real fonts are in hand;
   nothing else in this file needs to change.

   Contralto Small → Bricolage Grotesque  (display/headlines)
   Gambado Sans    → Danfo                (kickers/eyebrows, "bounced" display)
   Proxima Nova    → Mulish               (body copy, UI, buttons)
   Epicursive Script → Nanum Brush Script (script accent, used sparingly)
   --------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Danfo:wght@400..700&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Nanum+Brush+Script&display=swap');

/* ── 2. Design tokens ─────────────────────────────────────── */
:root {
  /* backgrounds */
  --bg:          #0c0908;
  --bg-alt:      #0c0908;
  --bg-card:     #1a1612;
  --bg-elevated: #221d18;

  /* brand */
  --magenta:     #e8006a;
  --magenta-glow:rgba(232,0,106,0.25);
  --orange:      #f07020;
  --yellow:      #f0c000;
  --green:       #5c9c3c;

  /* text */
  --text:        #f5ede4;
  --text-2:      #c8b8a8;
  --text-muted:  #887060;

  /* borders */
  --border:      #2a2018;
  --border-light:#3a3028;

  /* fonts */
  --font-display:'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body:   'Mulish', 'Inter', system-ui, sans-serif;
  --font-accent: 'Danfo', var(--font-display);
  --font-script: 'Nanum Brush Script', 'Segoe Script', cursive;

  /* layout */
  --container-w:  1200px;
  --header-h:     80px;
  --header-height: 80px; /* alias read by main.js smooth-scroll */
  --r-sm:         4px;
  --r-md:         8px;
  --r-lg:         16px;
  --t:            0.25s ease;
  --t-fast:       0.15s ease;
  --t-bounce:     0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 3. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Anchor scroll offset for fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }

/* Subtle grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9999;
}

/* ── 4. Layout ────────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section { padding: 100px 0; }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
}
.btn:hover {
  background: transparent;
  color: var(--magenta);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 0, 106, 0.22);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline variant */
.btn-outline,
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(245,237,228,0.25);
}
.btn-outline:hover,
.btn--outline:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: transparent;
}

/* ── 6. Section typography ────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--magenta);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
}
.section-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.15em;
  letter-spacing: normal;
  color: var(--magenta);
}
.section-title span { color: var(--magenta); }

/* ── 7. Animations ────────────────────────────────────────── */
@keyframes heroWord {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes floatA {
  0%, 100% { transform: translateY(0)    rotate(var(--r, 0deg)); }
  50%       { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(-6px) rotate(var(--r, 0deg)); }
  50%       { transform: translateY(6px)  rotate(var(--r, 0deg)); }
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

.stagger-in > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-in.animate > * { opacity: 1; transform: none; }

/* ── 8. HEADER ────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(12, 9, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo-img { height: 48px; width: auto; object-fit: contain; }

.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: color var(--t);
  position: relative;
  background: none;
  border: none;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: center;
}
.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after,
.header-nav a.active::after { transform: scaleX(1); }
.header-nav a.active { color: var(--text); }
/* The Donateur button in nav keeps btn styling */
.header-nav .btn { padding: 9px 20px; font-size: 0.72rem; }
.header-nav .btn::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease; transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 800;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
}
.mobile-menu.active { opacity: 1; pointer-events: auto; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em;
  transition: color var(--t);
  background: none; border: none;
}
.mobile-menu a.btn {
  font-size: 0.85rem;
  margin-top: 8px;
  font-family: var(--font-body);
  background: var(--magenta);
  color: #fff; border-color: var(--magenta);
}
.mobile-menu a:not(.btn):hover { color: var(--magenta); }
.mobile-menu-pattern {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 100px; object-fit: cover; opacity: 0.35; pointer-events: none;
}

/* ── 9. HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow: hidden; position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 56fr 44fr;
  min-height: calc(100vh - var(--header-h));
}

/* Hero left */
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 64px 60px 0; position: relative; z-index: 2;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-accent);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 28px;
  opacity: 0; animation: fadeInUp 0.6s ease 0.05s forwards;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--magenta);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 12vw, 10.5rem);
  font-weight: 700; line-height: 0.86;
  letter-spacing: -0.02em; margin-bottom: 36px;
}
.hero-title .word { display: block; overflow: hidden; }
.hero-title .word-inner {
  display: block; opacity: 0; transform: translateY(110%);
  animation: heroWord 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .word:nth-child(1) .word-inner { animation-delay: 0.15s; color: var(--text); }
.hero-title .word:nth-child(2) .word-inner { animation-delay: 0.28s; color: var(--magenta); }
.hero-title .word:nth-child(3) .word-inner { animation-delay: 0.41s; color: var(--orange); }

.hero-tagline {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 420px; line-height: 1.75; margin-bottom: 44px;
  opacity: 0; animation: fadeInUp 0.7s ease 0.72s forwards;
}

.hero-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeInUp 0.7s ease 1.04s forwards;
}

.hero-countdown {
  margin-bottom: 40px;
  opacity: 0; animation: fadeInUp 0.7s ease 0.88s forwards;
}
.hero-countdown-label {
  font-size: 1.3rem; margin-bottom: 14px;
}
.hero-countdown-script {
  font-family: var(--font-script); font-size: 1.3em;
  color: var(--magenta); margin-right: 8px;
}
#countdownStatus {
  font-family: var(--font-display); font-weight: 700; color: var(--orange);
}

.hero-stats {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden;
}
.hero-stat {
  flex: 1; padding: 18px 24px;
  border-right: 1px solid var(--border);
  background: var(--bg-card); transition: background var(--t);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: var(--bg-elevated); }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700; line-height: 1;
  display: block; margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.hero-stat:nth-child(1) .hero-stat-num { color: var(--magenta); }
.hero-stat:nth-child(2) .hero-stat-num { color: var(--orange); }
.hero-stat:nth-child(3) .hero-stat-num { color: var(--yellow); }
.hero-stat:nth-child(4) .hero-stat-num { color: var(--green); }
.hero-stat-label {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); display: block;
}

/* Hero right */
.hero-right {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  padding: 48px 0 48px 40px;
}

.hero-img-frame {
  position: relative; width: 100%; max-width: 380px;
}
.hero-img-frame::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: calc(var(--r-lg) + 2px);
  background: linear-gradient(135deg, var(--magenta), var(--orange), var(--yellow));
  z-index: 0; opacity: 0.65;
}
.hero-img-frame .hero-photo {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 2/3;
  object-fit: cover; object-position: center top;
  border-radius: var(--r-lg); display: block;
}
.hero-img-overlay {
  position: absolute; inset: 0; z-index: 2;
  border-radius: var(--r-lg);
  background: linear-gradient(to bottom, transparent 55%, rgba(12,9,8,0.85) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute; z-index: 10;
  bottom: -24px; left: -36px; width: 180px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6));
  animation: floatA 4.5s ease-in-out infinite; --r: -4deg;
}

/* Floating stickers */
.hero-sticker {
  position: absolute; pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.45));
  z-index: 20;
}
.hero-sticker--notes {
  width: 96px; top: 12%; right: -28px;
  animation: floatA 5.2s ease-in-out infinite; --r: 14deg;
}
.hero-sticker--vinyl {
  width: 108px; bottom: 22%; right: -36px;
  animation: floatB 6s ease-in-out infinite 0.8s; --r: -10deg;
}
.hero-sticker--tulip {
  width: 66px; top: 8%; left: 0;
  animation: floatA 7s ease-in-out infinite 1.6s; --r: -18deg;
}

/* ── 10. TULIP STRIP ──────────────────────────────────────── */
.tulip-strip {
  width: 100%; height: 90px;
  object-fit: cover; display: block; position: relative; z-index: 1;
}
.tulip-strip--faded { opacity: 0.4; }

/* ── 11. MARQUEE ──────────────────────────────────────────── */
.marquee-strip {
  background: var(--magenta);
  padding: 14px 0; overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 14px;
  padding: 0 20px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.95); white-space: nowrap;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.45); flex-shrink: 0;
}
.marquee-dot--yellow { background: var(--yellow); }
/* Backward compat with v2 class names on the marquee */
.marquee-sep-g,
.marquee-sep-p {
  color: rgba(255,255,255,0.5);
  margin: 0 2px;
}
.marquee-content { white-space: nowrap; }

/* ── 12. STATS ────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-alt);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat-card {
  padding: 52px 48px; position: relative;
  border-right: 1px solid var(--border);
  background: var(--bg-card); transition: background var(--t);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--bg-elevated); }
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.stat-card:nth-child(1)::before { background: var(--magenta); }
.stat-card:nth-child(2)::before { background: var(--orange); }
.stat-card:nth-child(3)::before { background: var(--yellow); }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700; line-height: 0.9; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat-card:nth-child(1) .stat-number { color: var(--magenta); }
.stat-card:nth-child(2) .stat-number { color: var(--orange); }
.stat-card:nth-child(3) .stat-number { color: var(--yellow); }
.stat-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ── 13. SPONSORS ─────────────────────────────────────────── */
.sponsors {
  background: var(--bg);
  padding: 100px 0;
}
.sponsors .container > .section-title { margin-bottom: 0; }

.sponsors-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-accent);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 14px;
}
.sponsors-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--magenta);
}

.sponsors-pattern-strip {
  width: 100%; height: 56px; object-fit: cover;
  border-radius: var(--r-md); margin: 36px 0 32px;
  opacity: 0.6;
}

.sponsor-section-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); text-align: center;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.sponsor-section-label::before,
.sponsor-section-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.sponsor-grid-main {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; background: var(--border); gap: 1px;
  margin-bottom: 32px;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; background: var(--border); gap: 1px;
}

.sponsor-divider {
  margin: 12px 0 28px;
}
.sponsor-divider-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); text-align: center;
  display: flex; align-items: center; gap: 14px;
}
.sponsor-divider-label::before,
.sponsor-divider-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.sponsor-card {
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  padding: 22px 18px;
  min-height: 88px;
  transition: background var(--t);
}
.sponsor-card:hover { background: var(--bg-elevated); }
.sponsor-card img {
  max-width: 100%; max-height: 52px; object-fit: contain;
  filter: grayscale(1) contrast(0.3) brightness(1.85);
  opacity: 0.62; transition: filter var(--t), opacity var(--t);
}
.sponsor-card:hover img { filter: none; opacity: 1; }

/* ── 14. EDITIONS / GALLERY ───────────────────────────────── */
.editions {
  background: var(--bg-alt);
  padding: 100px 0;
}
.editions .section-title { margin-bottom: 44px; }

.edition-tabs {
  display: flex; gap: 6px; margin-bottom: 32px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
}
.edition-tabs::-webkit-scrollbar { display: none; }

.edition-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  white-space: nowrap; transition: all var(--t); cursor: pointer;
}
.edition-tab:hover { color: var(--text); border-color: var(--border-light); }
.edition-tab.active {
  color: var(--text); background: var(--bg-elevated);
  border-color: var(--magenta);
}

.tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 18px; padding: 0 5px;
  font-size: 0.6rem; font-weight: 700; border-radius: 20px;
  background: var(--bg-elevated); color: var(--text-muted);
  transition: all var(--t);
}
.edition-tab.active .tab-count { background: var(--magenta); color: #fff; }

/* Edition galleries */
.edition-gallery { display: none; }
.edition-gallery.active { display: block; }

/* Editions section sticker */
.editions { position: relative; }
.editions-sticker {
  position: absolute; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
  width: 140px; right: 3%; top: 60px;
  opacity: 0.75;
  animation: floatB 7.5s ease-in-out infinite 1.2s; --r: 8deg;
  transform: rotate(8deg);
}

/* Masonry */
.gallery-grid { columns: 3; column-gap: 10px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 10px;
  border-radius: var(--r-md); overflow: hidden;
  position: relative; cursor: pointer; background: var(--bg-card);
}
.gallery-item::before {
  content: '';
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  width: 30px; height: 30px;
  background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius: 50%;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s var(--t-bounce);
  pointer-events: none;
}
.gallery-item:hover::before { opacity: 1; transform: scale(1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(12,9,8,0.65) 100%);
  opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.4s ease, filter 0.5s ease, opacity 0.5s ease;
  filter: blur(16px); transform: scale(1.04); opacity: 0.6;
}
.gallery-item.loaded img { filter: none; transform: scale(1); opacity: 1; }
.gallery-item:hover img { transform: scale(1.04); filter: none; opacity: 1; }
.gallery-item.hidden { display: none; }

.load-more-wrap { text-align: center; margin-top: 48px; }
.load-more-wrap.hidden { display: none; }

/* ── 15. LIGHTBOX ─────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8, 5, 4, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lightbox.active { opacity: 1; pointer-events: auto; visibility: visible; }

.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--text-2); line-height: 1;
  transition: all var(--t);
}
.lightbox-close:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }

.lightbox-img-wrap {
  position: relative; max-width: 90vw; max-height: 85vh;
}
#lightboxImg {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain; border-radius: var(--r-md);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  transition: opacity 0.2s ease;
}
#lightboxImg.fading { opacity: 0; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--text-2); line-height: 1;
  transition: all var(--t); z-index: 2;
}
.lightbox-prev { left: -76px; }
.lightbox-next { right: -76px; }
.lightbox-nav:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }

.lightbox-counter {
  position: absolute; bottom: -36px; left: 0; right: 0;
  text-align: center; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--text-muted);
}

/* ── 16. DONATEUR FORM PAGE ───────────────────────────────── */
.form-page-hero {
  background: var(--bg);
  padding: calc(var(--header-h) + 64px) 0 80px;
  position: relative; overflow: hidden;
}
.form-page-hero .container { position: relative; z-index: 2; }

.form-page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700; line-height: 0.92;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.form-page-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.15em;
  letter-spacing: normal;
  color: var(--magenta);
}

.form-page-desc {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 500px; line-height: 1.75;
}

/* Stickers on form page */
.form-sticker {
  position: absolute; pointer-events: none; z-index: 3;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}
.form-sticker--notes {
  width: 90px; right: 8%; top: 28%;
  animation: floatA 5s ease-in-out infinite; --r: 18deg;
}
.form-sticker--ivy {
  width: 130px; right: 14%; bottom: 5%;
  animation: floatB 7s ease-in-out infinite 1s; --r: -8deg; opacity: 0.7;
}
.form-sticker--tulip {
  width: 60px; right: 3%; top: 55%;
  animation: floatA 6s ease-in-out infinite 2s; --r: 22deg;
}

.form-section { background: var(--bg-alt); padding: 80px 0 120px; }

.form-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 52px; align-items: start;
}

/* Form card */
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 48px;
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--orange), var(--yellow));
}

/* Success */
.form-success { display: none; text-align: center; padding: 72px 32px; }
.form-success.visible { display: block; }
.form-success-icon {
  width: 72px; height: 72px;
  background: rgba(232,0,106,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 24px;
}
.form-success h3 {
  font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 700; margin-bottom: 12px;
}
.form-success p { color: var(--text-2); font-size: 1rem; margin-bottom: 32px; }

/* Sidebar */
.form-sidebar {
  position: sticky; top: calc(var(--header-h) + 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; margin-bottom: 10px;
}
.sidebar-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }
.sidebar-list { margin-top: 16px; display: flex; flex-direction: column; }
.sidebar-list li {
  font-size: 0.85rem; color: var(--text-2);
  padding: 10px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li::before { content: '✦'; color: var(--magenta); font-size: 0.55rem; flex-shrink: 0; margin-top: 4px; }
.sidebar-tulip-strip { width: 100%; height: 72px; object-fit: cover; border-radius: var(--r-lg); }

/* Form groups */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 8px;
}
.form-group input,
.form-group select {
  width: 100%; background: var(--bg-elevated);
  border: 1px solid var(--border-light); border-radius: var(--r-sm);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  padding: 12px 16px; outline: none;
  transition: border-color var(--t), background var(--t);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--magenta); background: rgba(34, 29, 24, 0.8); }
.form-group input:focus-visible,
.form-group select:focus-visible {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-glow);
}
.form-group input::placeholder { color: var(--text-muted); opacity: 1; }
.form-group input.error,
.form-group select.error { border-color: #e74c3c; }

/* Hide number input spin buttons */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23887060' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px; cursor: pointer;
}
.form-group select option { background: var(--bg-elevated); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.error-msg { font-size: 0.78rem; color: #e74c3c; margin-top: 5px; display: none; }
.error-msg.visible { display: block; }

/* Amount options */
.amount-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amount-option input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.amount-option label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 8px; background: var(--bg-elevated);
  border: 2px solid var(--border-light); border-radius: var(--r-md);
  cursor: pointer; transition: all var(--t);
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.amount-option label:hover { border-color: var(--magenta); background: var(--bg-card); }
.amount-option input:focus-visible + label {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}
.amount-option input:checked + label { border-color: var(--magenta); background: rgba(232,0,106,0.08); }
.amount-option .amount {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1;
}
.amount-option .period { font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; font-weight: 400; }

.custom-amount-field { position: relative; }
.custom-amount-symbol {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 1rem; pointer-events: none; z-index: 1;
}
.custom-amount-field input { padding-left: 32px; }

/* Checkboxes */
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; }
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin-top: 2px;
  background: var(--bg-elevated); border: 2px solid var(--border-light);
  border-radius: 3px; cursor: pointer;
  appearance: none; -webkit-appearance: none; padding: 0;
  transition: all var(--t); position: relative; flex-shrink: 0;
}
.checkbox-group input[type="checkbox"]:checked { background: var(--magenta); border-color: var(--magenta); }
.checkbox-group input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 1px; left: 4px;
  width: 6px; height: 10px; border: 2px solid #fff;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.checkbox-group label {
  font-size: 0.875rem; color: var(--text-2); cursor: pointer;
  line-height: 1.6; font-weight: 400; text-transform: none; letter-spacing: 0;
}

.form-submit { margin-top: 28px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 15px 32px; font-size: 0.85rem; }

/* ── 17. PAGE HEADER (huisregels + interior pages) ────────── */
.page-header {
  background: var(--bg);
  padding: calc(var(--header-h) + 60px) 0 64px;
  position: relative; overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 700; line-height: 0.92;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.page-header h1 span { color: var(--magenta); font-style: italic; }
.page-header p { font-size: 1rem; color: var(--text-2); max-width: 540px; line-height: 1.75; }
.page-header-sticker {
  position: absolute; pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}
.page-header-sticker--kale {
  width: 160px; right: 6%; top: 50%;
  transform: translateY(-50%) rotate(15deg); opacity: 0.7;
}

/* ── 18. HUISREGELS ───────────────────────────────────────── */
.rules-section { background: var(--bg-alt); padding: 60px 0 120px; }
.rules-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.rules-nav { position: sticky; top: calc(var(--header-h) + 32px); }
.rules-nav-title {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px; padding-left: 14px;
}
.rules-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 0.85rem; color: var(--text-muted);
  border-radius: var(--r-sm); transition: all var(--t);
  border-left: 2px solid transparent; margin-bottom: 2px;
}
.rules-nav-link:hover,
.rules-nav-link.active { color: var(--text); background: var(--bg-card); border-left-color: var(--magenta); }

.rules-content { min-width: 0; }
.rule-category { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--border); }
.rule-category:last-child { border-bottom: none; margin-bottom: 0; }
.rule-cat-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rule-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.rule-icon--magenta { background: rgba(232,0,106,0.12); }
.rule-icon--orange  { background: rgba(240,112,32,0.12); }
.rule-icon--yellow  { background: rgba(240,192,0,0.12); }
.rule-icon--green   { background: rgba(92,156,60,0.12); }
.rule-icon--red     { background: rgba(192,40,64,0.12); }
.rule-category h2 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; line-height: 1.1; }
.rule-category p { font-size: 0.95rem; color: var(--text-2); line-height: 1.75; }
.rule-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.rule-list li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--text-2); line-height: 1.75; }
.rule-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); }
.rule-list li strong { color: var(--text); font-weight: 600; }

/* ── 19. FOOTER ───────────────────────────────────────────── */
.footer { background: #0a0806; position: relative; overflow: hidden; }
.footer-pattern { width: 100%; height: 80px; object-fit: cover; opacity: 0.2; display: block; }
.footer-inner { padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-col:first-child img { height: 58px; width: auto; margin-bottom: 18px; }
.footer-col:first-child p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; max-width: 260px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.footer-social a:hover { background: var(--magenta); border-color: var(--magenta); }
.footer-social svg { width: 15px; height: 15px; fill: var(--text-muted); transition: fill var(--t); }
.footer-social a:hover svg { fill: #fff; }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-2); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--magenta); }
.footer-col p:not(:first-child),
.footer-col > a { font-size: 0.875rem; color: var(--text-2); transition: color var(--t); }
.footer-col > a:hover { color: var(--magenta); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--text); }

/* ── 20. BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--magenta); color: #fff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px var(--magenta-glow);
  opacity: 0; pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--t), transform var(--t), background var(--t);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: #ff1a7c; transform: translateY(-2px); }

/* ── 21. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-left { padding-right: 40px; }
  .sponsor-grid-main { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { columns: 2; }
  .form-layout { grid-template-columns: 1fr; }
  .form-sidebar { position: static; }
  .rules-layout { grid-template-columns: 1fr; }
  .rules-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
  .rules-nav-link { border-left: none; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 7px 14px; }
  .rules-nav-link:hover, .rules-nav-link.active { border-color: var(--magenta); background: rgba(232,0,106,0.08); border-left-color: transparent; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --header-height: 64px; }
  .section { padding: 64px 0; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; padding: 24px 0 0; }
  .hero-img-frame { max-width: 100%; border-radius: var(--r-md); }
  .hero-img-frame .hero-photo { aspect-ratio: 4/3; object-position: center 20%; }
  .hero-left { padding: 40px 0 60px; }
  .hero-countdown { order: -1; margin-bottom: 32px; }
  .hero-badge { width: 120px; left: -16px; bottom: -12px; }
  .hero-sticker--notes { right: 8px; width: 72px; }
  .hero-sticker--vinyl { right: -4px; width: 80px; }
  .hero-sticker--tulip { width: 48px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: var(--r-sm);
  }
  .hero-stat {
    min-width: 0;
    padding: 18px 6px;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .hero-stat:last-child { border-right: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:last-child { border-bottom: none; }
  .sponsor-grid-main { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { columns: 2; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .amount-options { grid-template-columns: repeat(2, 1fr); }
  .form-sticker { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-header-sticker { display: none; }
  .sponsors { padding: 64px 0; }
  .editions { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(4rem, 20vw, 5.5rem); }
  .hero-stat-num { font-size: 1.55rem; }
  .hero-stat-label { font-size: 0.56rem; letter-spacing: 0.1em; }
  .gallery-grid { columns: 1; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu a { font-size: 2.2rem; }
  .form-layout { grid-template-columns: 1fr; }
  .editions-sticker { display: none; }
}

/* ── 22. FOCUS-VISIBLE ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.btn:focus-visible {
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--magenta-glow);
}
/* Suppress default outline where we use custom ring */
.form-group input:focus,
.form-group select:focus { outline: none; }

/* ── 23. REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .word-inner,
  .hero-eyebrow,
  .hero-tagline,
  .hero-cta,
  .hero-countdown,
  .hero-stats { opacity: 1; transform: none; animation: none; }
  .fade-in  { opacity: 1; transform: none; transition: none; }
  .stagger-in > * { opacity: 1; transform: none; transition: none; }
  .hero-sticker,
  .form-sticker,
  .hero-badge,
  .editions-sticker { animation: none; }
}
