/* =========================================================
   Terminal Velocity — stijl
   Kleuren: zwart (primair), wit (secundair), rood (accent).
   De rode tint stel je in via script.js → CONFIG.rood
   ========================================================= */

:root {
  --red: #E10600;
  --black: #000000;
  --white: #FFFFFF;
  --grey-1: #0B0B0B;
  --grey-2: #141414;
  --grey-3: #262626;
  --grey-text: #BDBDBD;
  --beat: 0.469s;           /* wordt door script.js op het tempo gezet */
  --wrap: 1320px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Russo One", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font); overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; }
.h2 { margin: 0 0 32px; font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }

/* ---------- Logo ---------- */
.logo { width: 100%; height: auto; display: block; overflow: visible; }
.lg-red { fill: var(--red); }
.lg-white { fill: var(--white); }
.lg-text { font-family: var(--display); stroke: var(--black); stroke-width: 10; paint-order: stroke; }

/* ---------- Knoppen ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 20px; transition: transform 200ms ease, background 200ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--black { background: var(--black); color: var(--white); }
.btn--outline { background: var(--black); color: var(--white); border: 2px solid var(--white); }
.btn--lg { padding: 16px 28px; letter-spacing: 0.04em; }
.btn--xl { padding: 22px 36px; font-size: 18px; letter-spacing: 0.04em; }

/* ---------- Animaties ---------- */
@keyframes pulse { 0% { transform: scale(1.045); } 35%, 100% { transform: scale(1); } }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sway { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: translateX(-50%) scale(1); } 50% { opacity: .85; transform: translateX(-50%) scale(1.06); } }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(28px); opacity: 0; } }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes beam { 0%, 100% { opacity: .45; } 50% { opacity: .75; } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.15) translate(-3%, -2%); } }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes tick { from { opacity: .3; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

.pulse { animation: pulse var(--beat) cubic-bezier(.2,.8,.2,1) infinite; }
.reveal { opacity: 0; transform: translateY(56px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Nieuwsbalk ---------- */
.marquee { overflow: hidden; background: var(--red); padding: 10px 0; }
.marquee__track { display: flex; width: max-content; animation: marq 24s linear infinite; }
.marquee__track span { font-size: 13px; font-weight: 800; letter-spacing: .14em; padding-right: 40px; white-space: nowrap; }

/* ---------- Menu ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--black); border-bottom: 1px solid #1F1F1F; }
.nav__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.nav__logo { display: block; width: 168px; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; }
.nav__links a:not(.btn) { text-decoration: none; padding: 12px 14px; }
.nav__links .btn { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(760px, 88svh); min-height: 520px; overflow: hidden; background: var(--black); --x: 62%; --y: 50%; --r: 170px; }
.hero__layer { position: absolute; inset: 0; }
.hero__reveal { background: var(--white); clip-path: circle(var(--r) at var(--x) var(--y)); transition: clip-path 90ms linear; }
.hero__glow { position: absolute; left: 50%; bottom: 60px; width: 900px; height: 520px; border-radius: 50%; background: var(--red); filter: blur(110px); animation: glow calc(var(--beat) * 4) ease-in-out infinite; }
.hero__photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__photo.has-photo { filter: grayscale(1) brightness(.35) contrast(1.1); }
.hero__photo--color.has-photo { filter: none; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: #0D0D0D; border-top: 2px solid var(--red); }
.hero__stage--light::after { background: #E5E5E5; }
.hero__stage.is-hidden { display: none; }
.fig { position: absolute; bottom: 130px; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: sway 3s ease-in-out infinite; z-index: 1; }
.fig i { display: block; border-radius: 999px; background: #050505; }
.fig b { display: block; width: 100%; border-radius: 40px 40px 8px 8px; background: #050505; }
.hero__stage--light .fig i, .hero__stage--light .fig b { background: #111111; }
.hero__content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; pointer-events: none; padding: 24px; }
.hero__logo { margin: 0; width: min(900px, 92%); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; pointer-events: auto; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); width: 2px; height: 44px; background: #333; overflow: hidden; }
.hero__scroll span { display: block; width: 2px; height: 16px; background: var(--white); animation: scrolldot 1.6s ease-in infinite; }

/* ---------- Shows ---------- */
.shows { background: var(--white); color: var(--black); }
.shows__row { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: thin; }
.shows__intro { flex: none; width: 260px; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px 36px 48px 0; border-right: 1px solid #D4D4D4; }
.countdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-variant-numeric: tabular-nums; }
.countdown > span { display: flex; align-items: baseline; gap: 4px; }
.countdown b { display: inline-block; font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.countdown b.tick { animation: tick 300ms ease-out; }
.countdown small { font-size: 13px; font-weight: 700; color: #525252; }
.shows__list { display: flex; }
.show { flex: none; width: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 48px 36px; border-right: 1px solid #D4D4D4; text-decoration: none; color: var(--black); transition: background 250ms ease, color 250ms ease; }
.show__day { font-size: 72px; font-weight: 800; line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.show__month { display: block; font-size: 20px; letter-spacing: .08em; color: var(--red); margin-top: 8px; transition: color 250ms ease; }
.show__where { display: flex; flex-direction: column; gap: 4px; }
.show__place { font-size: 12px; font-weight: 600; letter-spacing: .14em; opacity: .75; text-transform: uppercase; }
.show__event { font-size: 22px; font-weight: 800; }
.show__cta { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.show__cta i { font-style: normal; transition: transform 250ms ease; }
a.show:hover, a.show:focus-visible { background: var(--red); color: var(--white); }
a.show:hover .show__month, a.show:focus-visible .show__month { color: var(--white); }
a.show:hover .show__cta i { transform: translateX(6px); }
.show--more { justify-content: center; gap: 16px; }
.show--more .show__event { font-size: 26px; }

/* ---------- Wie zijn wij ---------- */
.band { padding: 96px 0; }
.band__row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.stage { position: relative; flex: 999 1 560px; min-width: 0; aspect-ratio: 820 / 600; border-radius: 16px; background: #0D0D0D; border: 1px solid var(--grey-3); overflow: hidden; }
.stage__beam { position: absolute; left: 50%; top: -6%; width: 32%; height: 112%; transform: translateX(-50%); background: var(--red); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); filter: blur(22px); transition: left 500ms cubic-bezier(.2,.8,.2,1); animation: beam 3s ease-in-out infinite; }
.stage__riser { position: absolute; left: 35%; top: 18%; width: 30%; height: 22%; border-radius: 10px; background: #1A1A1A; border: 1px solid #2A2A2A; }
.spot { position: absolute; width: 80px; height: 80px; transform: translate(-50%, -50%); border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--grey-3); color: var(--white); font: 800 13px var(--font); transition: background 250ms ease, scale 250ms ease; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid #525252; animation: ring 2.2s ease-out infinite; animation-delay: var(--d, 0s); }
.spot span { position: relative; }
.spot[aria-pressed="true"] { background: var(--white); color: var(--black); scale: 1.1; }
.spot[aria-pressed="true"]::before { border-color: var(--red); }
.member { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.member.swap { animation: fadein 380ms ease-out; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--white); }
.member__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.member__img--a { background-color: var(--white); }
.member__img--b { background-color: var(--red); clip-path: circle(0% at 50% 100%); transition: clip-path 450ms cubic-bezier(.2,.8,.2,1); }
.member__photo:hover .member__img--b, .member__photo.is-swapped .member__img--b { clip-path: circle(150% at 50% 100%); }
.member__img .ph { position: absolute; left: 14px; top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #525252; z-index: 1; }
.member__img--b .ph { color: var(--white); }
.member__img.has-photo .ph, .member__img.has-photo .sil { display: none; }
.sil { position: absolute; inset: 0; }
.sil::before { content: ""; position: absolute; left: 50%; top: 18%; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 999px; background: #111; }
.sil::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 62%; height: 58%; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: #111; }
.member__img--b .sil::before, .member__img--b .sil::after { background: #000; }
.member__img--b .sil { transform: rotate(-6deg) translateY(4%); }
.member__name { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.member__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member__role { margin: 0; font-size: 15px; color: var(--grey-text); }
.member__insta { font-size: 14px; font-weight: 700; }

/* ---------- Nummers ---------- */
.songs { position: relative; overflow: hidden; background: var(--grey-1); border-top: 1px solid #1F1F1F; padding: 96px 0; }
.songs__row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.songs__list-wrap { flex: 999 1 520px; min-width: 0; position: relative; z-index: 2; }
.songs__list-wrap .label { margin-bottom: 24px; }
.songs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.songs__list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; text-decoration: none; color: var(--white); transition: color 200ms ease, transform 300ms ease; }
.songs__title { font-size: clamp(40px, 6.5vw, 92px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.songs__artist { font-size: 15px; font-weight: 800; letter-spacing: .12em; color: #8A8A8A; transition: color 200ms ease; }
.songs__list.has-hover a { color: #2E2E2E; }
.songs__list.has-hover a .songs__artist { color: #2E2E2E; }
.songs__list.has-hover a.is-on { color: var(--red); transform: translateX(20px); }
.songs__list.has-hover a.is-on .songs__artist { color: var(--white); }
.songs__card { position: absolute; left: 0; top: 0; width: 220px; height: 290px; border-radius: 10px; overflow: hidden; background: var(--red) center / cover no-repeat; pointer-events: none; z-index: 1; opacity: 0; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); transition: opacity 200ms ease, transform 250ms ease; }
.songs__card.is-on { opacity: 1; }
.songs__card span { position: absolute; left: 14px; top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.songs__card.has-photo span { display: none; }
.spotify { flex: 0 1 360px; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 14px; background: var(--white); color: var(--black); text-decoration: none; position: relative; z-index: 2; transition: transform 200ms ease; }
.spotify:hover { transform: translateY(-3px); }
.spotify__art { width: 64px; height: 64px; flex: none; border-radius: 8px; background: var(--black); display: flex; align-items: center; justify-content: center; }
.spotify__art span { width: 24px; height: 24px; border-radius: 999px; background: var(--red); }
.spotify__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.spotify__text small { font-size: 13px; color: #525252; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.eq span { width: 4px; height: 24px; background: var(--red); transform-origin: bottom; animation: eq var(--beat) ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: -.2s; }
.eq span:nth-child(3) { animation-delay: -.35s; }

/* ---------- Video's ---------- */
.videos { border-top: 1px solid #1F1F1F; padding: 96px 0; }
.videos__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.videos__head .h2 { margin: 0; }
.videos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); grid-auto-rows: 240px; gap: 8px; }
.videos__grid.has-hover .tile:not(.is-on) { opacity: .35; }
.tile { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: 8px; cursor: pointer; background: #111; transition: opacity 300ms ease; text-align: left; }
.tile__bg { position: absolute; inset: 0; background: var(--tone) center / cover no-repeat; animation: kb var(--dur, 8s) ease-in-out infinite alternate; transition: scale 500ms cubic-bezier(.2,.8,.2,1); }
.tile.is-on .tile__bg { scale: 1.08; }
.tile__bg i { position: absolute; bottom: 0; width: 22%; height: 62%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: var(--fig); }
.tile__bg.has-photo i { display: none; }
.tile__label { position: absolute; left: 16px; bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--lbl, #fff); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.tile__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; border-radius: 999px; background: var(--red); display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%) scale(0); transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.tile.is-on .tile__play, .tile:focus-visible .tile__play { transform: translate(-50%, -50%) scale(1); }

/* ---------- Boeken ---------- */
.book { background: var(--red); }
.book__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-top: 120px; padding-bottom: 120px; }
.book__title { margin: 0; flex: 1 1 600px; font-size: clamp(52px, 8vw, 128px); line-height: .92; font-weight: 800; letter-spacing: -0.05em; text-transform: uppercase; }

/* ---------- Socials ---------- */
.socials { padding: 72px 0; }
.socials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.social { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--grey-2); color: var(--white); }
.social:nth-child(2) { background: var(--white); color: var(--black); }
.social::before { content: ""; position: absolute; inset: 0; background: var(--red); opacity: 0; transition: opacity 300ms ease, scale 500ms cubic-bezier(.2,.8,.2,1); }
.social:hover, .social:focus-visible { color: var(--white); }
.social:hover::before, .social:focus-visible::before { opacity: 1; scale: 1.08; }
.social span { position: absolute; bottom: 18px; font-size: 24px; font-weight: 800; }
.social__name { left: 20px; }
.social__arrow { right: 18px; transition: transform 300ms ease; }
.social:hover .social__arrow { transform: translateX(6px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #1F1F1F; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--grey-text); }
.footer__logo { width: 150px; }
.footer__members { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Video-popup ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: #000; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadein 250ms ease-out; }
.lightbox[hidden] { display: none; }
.lightbox__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; color: var(--grey-text); font-size: 12px; letter-spacing: .14em; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--red); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ---------- Telefoon ---------- */
@media (max-width: 640px) {
  .nav__inner { flex-wrap: nowrap; }
  .nav__logo { width: 128px; }
  .nav__links a:not(.btn) { display: none; }
  .spot { width: 52px; height: 52px; font-size: 11px; }
  .socials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .social span { font-size: 14px; bottom: 12px; }
  .social__name { left: 12px; }
  .social__arrow { right: 12px; }
  .hero__glow { width: 520px; height: 360px; }
  .fig { bottom: 110px; }
  .shows__intro { width: 200px; padding-right: 24px; }
  .countdown b { font-size: 34px; }
  .show { width: 230px; padding: 36px 24px; }
  .songs__card { display: none; }
}

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
