/* =========================================================
   Groot Hart V2 — De Dijk Tribute
   Award-editie: three.js WebGL + GSAP + Lenis
   Display: Anton · Editorial: Fraunces italic · Body: Manrope
   ========================================================= */

:root {
  --bg:        #0d0a08;
  --bg-alt:    #15110d;
  --bg-card:   #1c1712;
  --ink:       #f6efe6;
  --ink-soft:  #b6a99a;
  --amber:     #e9a33d;
  --amber-lt:  #ffce7a;
  --amber-dk:  #c07f24;
  --red:       #b3331f;
  --wine:      #6e1f17;
  --line:      rgba(246,239,230,.12);
  --maxw:      1240px;
  --ease:      cubic-bezier(.2,.7,.2,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: #14100b; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { padding: 110px 0; position: relative; }

/* Filmkorrel */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; z-index: 3000;
  background: #0a0705;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px;
}
.preloader .pl-word {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: .06em;
  display: flex; overflow: hidden;
}
.preloader .pl-word span { display: inline-block; transform: translateY(110%); }
.preloader .pl-word .hart { color: var(--amber); margin-left: .35em; }
.preloader .pl-count {
  font-family: 'Fraunces', serif; font-style: italic;
  color: var(--ink-soft); font-size: 1rem; letter-spacing: .1em;
}

/* ===== Page-transition overlay ===== */
.page-wipe {
  position: fixed; inset: 0; z-index: 2500; pointer-events: none;
  background: linear-gradient(120deg, var(--wine), #0a0705 60%);
  transform: scaleY(0); transform-origin: top;
}

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 2600; pointer-events: none;
  border-radius: 50%; transform: translate(-50%,-50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--amber); }
.cursor-ring {
  width: 42px; height: 42px; border: 1px solid rgba(233,163,61,.55);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}
.cursor-ring.is-hover { width: 68px; height: 68px; border-color: rgba(255,206,122,.9); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--amber), var(--red));
  z-index: 2200; pointer-events: none;
  box-shadow: 0 0 12px rgba(233,163,61,.5);
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13,10,8,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem; letter-spacing: .04em; line-height: 1;
  display: flex; flex-direction: column;
}
.brand span { color: var(--amber); display: inline; }
.brand small {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: .55rem; letter-spacing: .34em; color: var(--ink-soft); margin-top: 5px;
}
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--amber); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--ink);
  font-size: 1.7rem; cursor: pointer; line-height: 1;
}

/* ===== Hero (home) ===== */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
#webgl-hero {
  position: absolute; inset: 0; z-index: 0;
}
#webgl-hero canvas { width: 100%; height: 100%; display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 70% 20%, rgba(179,51,31,.14), transparent 60%),
    linear-gradient(rgba(13,10,8,.25), rgba(13,10,8,.55) 55%, var(--bg));
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
  opacity: .38;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-watermark {
  position: absolute; z-index: 1; right: -2vw; top: 16%;
  font-family: 'Anton', sans-serif;
  font-size: clamp(7rem, 22vw, 20rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(246,239,230,.07);
  letter-spacing: .04em; line-height: 1; pointer-events: none;
  white-space: nowrap;
}
.kicker {
  font-weight: 700; font-size: .8rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--amber);
  display: inline-flex; align-items: center; gap: 14px;
}
.kicker.line::before { content: ""; width: 44px; height: 1px; background: var(--amber); display: inline-block; }
.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4.2rem, 13vw, 11.5rem);
  line-height: .92; letter-spacing: .01em;
  margin: 26px 0 30px; text-transform: uppercase;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln:last-child { color: var(--amber); }
.hero .sub {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--amber-lt); margin-bottom: 14px;
}
.hero .tag { max-width: 560px; color: var(--ink-soft); margin-bottom: 40px; }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 16px 36px;
  background: var(--amber); color: #14100b;
  font-weight: 800; font-size: .95rem; letter-spacing: .04em;
  border: 2px solid var(--amber); border-radius: 100px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color .35s var(--ease), background .35s var(--ease), border-color .35s;
  will-change: transform;
}
.btn:hover { background: var(--amber-lt); border-color: var(--amber-lt); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(246,239,230,.35); }
.btn-ghost:hover { background: rgba(246,239,230,.08); border-color: var(--ink); color: var(--ink); }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-cue .bar {
  width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden;
}
.scroll-cue .bar::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--amber); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ===== Marquee ===== */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; background: var(--bg-alt);
}
.marquee-track { display: flex; gap: 64px; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: 'Anton', sans-serif; font-size: 1.5rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
  display: flex; align-items: center; gap: 64px;
}
.marquee-track span::after { content: "✦"; color: var(--amber); font-size: 1rem; }

/* ===== Section head ===== */
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2, .prose h2, .cta h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.02; text-transform: uppercase; letter-spacing: .01em;
  margin: 18px 0 22px;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ===== Split / story ===== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.media-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.media-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(246,239,230,.14); border-radius: 18px; pointer-events: none;
}
.media-frame img { width: 100%; height: 620px; object-fit: cover; transform: scale(1.12); will-change: transform; }
.prose p { color: var(--ink-soft); margin-bottom: 18px; }
.prose strong { color: var(--ink); }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat {
  text-align: center; padding: 54px 20px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px;
  transform-style: preserve-3d; will-change: transform;
}
.stat .num {
  font-family: 'Anton', sans-serif; font-size: clamp(3rem, 6vw, 4.6rem);
  color: var(--amber); line-height: 1;
}
.stat .lbl { color: var(--ink-soft); margin-top: 12px; font-weight: 600; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  padding: 44px 34px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 18px;
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .4s;
}
.feature:hover { border-color: rgba(233,163,61,.45); }
.feature .ic {
  font-size: 1.9rem; color: var(--amber);
  display: inline-flex; width: 62px; height: 62px; align-items: center; justify-content: center;
  border: 1px solid rgba(233,163,61,.35); border-radius: 50%; margin-bottom: 22px;
}
.feature h3 { font-family: 'Anton', sans-serif; font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 12px; }
.feature p { color: var(--ink-soft); }

/* ===== Horizontale fotostrook (gepind) ===== */
.strip-section { padding: 0; overflow: hidden; }
.strip-head { padding: 110px 0 40px; }
.strip-wrap { display: flex; align-items: center; gap: 26px; padding: 0 28px 110px; width: max-content; }
.strip-wrap .ph {
  width: clamp(300px, 34vw, 460px); height: clamp(400px, 48vh, 560px);
  border-radius: 16px; overflow: hidden; flex-shrink: 0; position: relative;
}
.strip-wrap .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.strip-wrap .ph::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(246,239,230,.12); border-radius: 16px;
}

/* ===== Quotes ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  padding: 44px 34px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 18px; position: relative;
}
.quote::before {
  content: "“"; font-family: 'Fraunces', serif; font-style: italic;
  font-size: 4.6rem; line-height: 1; color: var(--amber);
  display: block; margin-bottom: 6px; opacity: .9;
}
.quote p { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.12rem; margin-bottom: 22px; }
.quote .who { color: var(--ink-soft); font-size: .88rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* ===== CTA ===== */
.cta { text-align: center; overflow: hidden; }
.cta .cta-inner { position: relative; z-index: 2; }
.cta p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 36px; }
#webgl-cta { position: absolute; inset: 0; z-index: 0; opacity: .55; }
#webgl-cta canvas { width: 100%; height: 100%; display: block; }

/* ===== Page hero (subpagina's) ===== */
.page-hero {
  min-height: 62svh; display: flex; align-items: flex-end;
  padding: 170px 0 80px; position: relative; overflow: hidden;
}
.page-hero .ph-bg {
  position: absolute; inset: -12% 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: saturate(.9);
  will-change: transform;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(13,10,8,.5), rgba(13,10,8,.75) 55%, var(--bg));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  text-transform: uppercase; line-height: .95; margin: 20px 0 18px;
}
.page-hero p { color: var(--ink-soft); max-width: 560px; }

/* ===== Agenda ===== */
.gig-list { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }
.gig {
  display: flex; align-items: center; gap: 30px;
  padding: 30px 34px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .4s, transform .4s var(--ease);
}
.gig:hover { border-color: rgba(233,163,61,.5); }
.gig.featured { border-color: rgba(233,163,61,.55); background: linear-gradient(120deg, rgba(233,163,61,.09), var(--bg-card) 55%); }
.gig.past { opacity: .55; }
.gig-date {
  text-align: center; min-width: 76px;
  border-right: 1px solid var(--line); padding-right: 26px;
}
.gig-date .day { font-family: 'Anton', sans-serif; font-size: 2.3rem; line-height: 1; color: var(--amber); }
.gig-date .mon { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.gig-info { flex: 1; }
.gig-info h3 { font-family: 'Anton', sans-serif; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.gig-info .venue { color: var(--ink-soft); font-size: .95rem; margin-top: 4px; }
.gig-cta { padding: 12px 26px; }

/* ===== Media ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 560px)); gap: 28px; justify-content: center; }
.video-wrap {
  position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line); cursor: pointer;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-wrap:hover .yt-poster { transform: scale(1.05); }
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 82px; height: 82px; border-radius: 50%;
  background: rgba(233,163,61,.94);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .35s;
}
.yt-play::after {
  content: ""; border-style: solid; border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #14100b; margin-left: 5px;
}
.video-wrap:hover .yt-play { transform: translate(-50%,-50%) scale(1.12); background: var(--amber-lt); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; grid-auto-flow: dense; }
.tile { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; }
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); will-change: transform; }
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(13,10,8,0), rgba(13,10,8,.35));
  opacity: 0; transition: opacity .4s;
}
.tile:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2400;
  background: rgba(10,7,5,.94);
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox .lb-close {
  position: absolute; top: 26px; right: 34px;
  background: none; border: 0; color: var(--ink); font-size: 2.4rem; cursor: pointer;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; }
.form-field { margin-bottom: 24px; }
.form-field label {
  display: block; font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.form-field input, .form-field textarea {
  width: 100%; padding: 16px 18px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-family: inherit; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(233,163,61,.15);
}
.contact-info p { margin-bottom: 18px; color: var(--ink-soft); }
.contact-info strong { color: var(--ink); display: block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info a { color: var(--amber); }
.socials { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.socials a {
  padding: 10px 22px; border: 1px solid var(--line); border-radius: 100px;
  font-weight: 600; font-size: .9rem; transition: border-color .3s, background .3s;
}
.socials a:hover { border-color: var(--amber); background: rgba(233,163,61,.08); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--bg-alt); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.foot-about .brand { font-size: 1.7rem; margin-bottom: 16px; }
.foot-about p { color: var(--ink-soft); max-width: 380px; }
.foot-col h4 {
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 18px;
}
.foot-col a { display: block; padding: 6px 0; color: var(--ink-soft); transition: color .3s; }
.foot-col a:hover { color: var(--amber); }
.accent { color: var(--amber); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 30px;
  color: var(--ink-soft); font-size: .85rem;
}

/* ===== Responsief ===== */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .media-frame img { height: 440px; }
  .stats, .features, .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; z-index: 1900;
    background: rgba(13,10,8,.97); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 12px 28px 24px;
    transform: translateY(-130%); transition: transform .5s var(--ease-out);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.1rem; }
  .gig { flex-wrap: wrap; gap: 18px; padding: 24px; }
  .gig-date { border-right: 0; padding-right: 0; text-align: left; min-width: 60px; }
  .gig-cta { width: 100%; text-align: center; }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 6rem); }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scroll-cue .bar::after { animation: none; }
}
