/* Oneiroi: nachtblauw met één warme "hoorn"-kleur. Archivo variabel: extra breed en zwaar voor koppen, normaal voor tekst. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Kleuren */
  --night: oklch(0.17 0.04 262);
  --night-raised: oklch(0.215 0.05 262);
  --night-deep: oklch(0.13 0.035 262);
  --line: oklch(0.34 0.055 258);
  --ink: oklch(0.95 0.015 240);
  --ink-soft: oklch(0.8 0.035 245);
  --horn: oklch(0.84 0.105 80);
  --horn-strong: oklch(0.89 0.1 82);
  --on-horn: oklch(0.18 0.04 262);
  --sky-1: oklch(0.42 0.12 255);
  --sky-2: oklch(0.3 0.09 262);

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.6rem);
  --step-2: clamp(1.75rem, 1.45rem + 1.4vw, 2.8rem);
  --step-3: clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);

  /* Ruimte (4 px-basis) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;
  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --max: 74rem;
  --radius: 999px;

  /* Beweging */
  --beat: calc(60s / 174);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible { outline: 2px solid var(--horn); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--s4); top: -4rem; z-index: 50;
  background: var(--horn); color: var(--on-horn); padding: var(--s2) var(--s4); border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--s4); }

/* Gedeelde stukken */
.label, .hero__meta, .set__where, .track__free, .facts span, .top__nav a {
  font-stretch: 112%;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h2 {
  font-stretch: 125%;
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.section-head p { color: var(--ink-soft); max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 var(--s5);
  border-radius: var(--radius);
  font-weight: 700; font-stretch: 112%; text-decoration: none; letter-spacing: 0.01em;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn--horn { background: var(--horn); color: var(--on-horn); border: 2px solid var(--horn); }
.btn--line { background: transparent; color: var(--ink); border: 2px solid var(--line); }
@media (hover: hover) {
  .btn--horn:hover { background: var(--horn-strong); border-color: var(--horn-strong); }
  .btn--line:hover { border-color: var(--horn); }
}

/* Kop */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: max(var(--s3), env(safe-area-inset-top)) var(--gutter) var(--s3);
  background: color-mix(in oklch, var(--night) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}
.top__mark {
  font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; font-size: var(--step-0);
  min-height: 44px; display: inline-flex; align-items: center;
}
.top__nav { display: flex; align-items: center; gap: var(--s5); }
.top__nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); }
.top__nav .top__book { color: var(--horn); }
@media (hover: hover) { .top__nav a:hover { color: var(--ink); } }
@media (max-width: 40rem) {
  .top__nav a:not(.top__book) { display: none; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; align-items: end;
  padding: var(--s9) var(--gutter) var(--s8);
}
.hero__sky {
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 18%, color-mix(in oklch, var(--sky-1) 85%, transparent), transparent 70%),
    radial-gradient(70% 60% at 15% 35%, color-mix(in oklch, var(--sky-2) 90%, transparent), transparent 72%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 70%);
  animation: drift 40s ease-in-out infinite alternate;
}
.hero__sky::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.9;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
.hero__photo {
  position: absolute; z-index: -1; top: 0; right: 0;
  width: 48%; height: 100%;
  object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(to left, #000 50%, transparent 98%), linear-gradient(to bottom, #000 62%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 50%, transparent 98%), linear-gradient(to bottom, #000 62%, transparent 97%);
  mask-composite: intersect;
}
@media (max-width: 56rem) {
  /* Telefoon: foto als blok bovenaan, tekst eronder (overlapt alleen het shirt), het gezicht blijft vrij. */
  .hero { min-height: auto; display: block; padding: 0 0 var(--s8); }
  .hero__photo {
    position: relative; display: block;
    width: 100%; height: min(64svh, 34rem); object-position: center 26%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
  }
  .hero__inner { padding-inline: var(--gutter); margin-top: -4.5rem; position: relative; }
}
.hero__inner { width: 100%; max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; display: grid; gap: var(--s4); }
.hero__meta { color: var(--ink-soft); }
.hero__title {
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 16.5vw, 15.5rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  margin-left: -0.04em;
}
@media (min-width: 56rem) {
  .hero__inner > * { max-width: 52%; }
  .hero__title { font-size: clamp(3.4rem, 8.8vw, 9.5rem); }
  .hero__inner > .pulse { max-width: 56%; }
}
.hero__genres { font-stretch: 112%; font-weight: 600; font-size: var(--step-1); letter-spacing: 0.02em; }
.hero__lede { color: var(--ink-soft); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s3); }

/* Het herkenningspunt: een lijn die op 174 BPM pulseert */
.pulse { display: flex; align-items: center; gap: var(--s4); }
.pulse__line {
  position: relative; flex: 1; height: 2px; overflow: hidden;
  background: color-mix(in oklch, var(--line) 80%, transparent);
}
.pulse__line::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 22%;
  background: linear-gradient(90deg, transparent, var(--horn), transparent);
  animation: travel calc(var(--beat) * 4) linear infinite;
}
.pulse__bpm {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-stretch: 112%; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums; color: var(--horn);
}
.pulse__dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--horn);
  animation: beat var(--beat) var(--ease-out) infinite;
}
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(460%); } }
@keyframes beat { 0% { transform: scale(1.35); opacity: 1; } 70%, 100% { transform: scale(0.75); opacity: 0.45; } }

/* Secties */
.latest, .sets, .releases, .about, .bookings {
  max-width: var(--max); margin-inline: auto; padding: var(--s9) var(--gutter) 0;
}

/* Laatste set */
.latest {
  display: grid; gap: var(--s6);
  grid-template-columns: 1fr;
}
.latest__text { display: grid; gap: var(--s3); }
.latest__text h2 { font-size: var(--step-2); }
.latest__text p:last-child { color: var(--ink-soft); max-width: 48ch; }
.label { color: var(--horn); }
@media (min-width: 56rem) {
  .latest { grid-template-columns: 1fr 1.1fr; align-items: end; }
}

.player {
  display: grid; gap: var(--s3);
  padding: var(--s5);
  background: var(--night-raised);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.player__play {
  display: flex; align-items: center; gap: var(--s4);
  width: 100%; min-height: 5.5rem;
  padding: var(--s3); border: 0; border-radius: 0.9rem;
  background: var(--night); cursor: pointer; text-align: left;
  font-weight: 700; font-stretch: 112%; font-size: var(--step-1);
  transition: background-color 160ms var(--ease-out);
}
@media (hover: hover) { .player__play:hover { background: var(--night-deep); } }
.player__icon {
  flex: none; width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--horn);
  display: grid; place-items: center;
}
.player__icon::before {
  content: ""; width: 0; height: 0; margin-left: 0.3rem;
  border-style: solid; border-width: 0.75rem 0 0.75rem 1.2rem;
  border-color: transparent transparent transparent var(--on-horn);
}
.player__note { font-size: var(--step--1); color: var(--ink-soft); }
.player iframe, .set__embed iframe { display: block; width: 100%; border: 0; border-radius: 0.75rem; background: var(--night); }

/* Sets: een lijst, geen kaarten */
.setlist { border-top: 1px solid var(--line); }
.set {
  display: grid; gap: var(--s1) var(--s5);
  grid-template-columns: 1fr auto;
  grid-template-areas: "where actions" "title actions" "tags actions" "embed embed";
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
}
.set__where { grid-area: where; color: var(--horn); }
.set__title { grid-area: title; font-size: var(--step-1); font-stretch: 112%; font-weight: 700; line-height: 1.2; }
.set__tags { grid-area: tags; color: var(--ink-soft); font-size: var(--step--1); }
.set__actions { grid-area: actions; display: flex; align-items: center; gap: var(--s3); }
.set__embed { grid-area: embed; margin-top: var(--s4); }
.set__play {
  min-height: 2.75rem; min-width: 5.5rem; padding: 0 var(--s4);
  border: 2px solid var(--horn); border-radius: var(--radius); background: transparent; color: var(--horn);
  font-weight: 700; font-stretch: 112%; cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.set__play[aria-expanded="true"] { background: var(--horn); color: var(--on-horn); }
@media (hover: hover) { .set__play:hover { background: var(--horn); color: var(--on-horn); } }
.set__out { color: var(--ink-soft); font-size: var(--step--1); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 48rem) {
  .set {
    grid-template-columns: 14rem 1fr 11rem 12rem;
    grid-template-areas: "where title tags actions" "embed embed embed embed";
    align-items: baseline;
  }
  .set__actions { align-self: center; justify-content: flex-start; }
}
@media (max-width: 30rem) {
  .set { grid-template-columns: 1fr; grid-template-areas: "where" "title" "tags" "actions" "embed"; }
  .set__actions { margin-top: var(--s3); }
}
.sets__more { margin-top: var(--s5); }
.sets__more a, .releases__spotify a { color: var(--horn); font-weight: 600; }

/* Releases */
.tracks { display: grid; gap: var(--s5); }
@media (min-width: 48rem) { .tracks { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); column-gap: var(--s6); } }
.track {
  display: grid; gap: var(--s2); align-content: start;
  padding: var(--s5) 0; border-top: 2px solid var(--horn);
}
.track__free { color: var(--horn); }
.track__title { font-stretch: 125%; font-weight: 800; font-size: var(--step-2); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; }
.track__about { color: var(--ink-soft); }
.track__links { display: flex; flex-wrap: wrap; gap: var(--s5); }
.track__links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.releases__spotify { margin-top: var(--s5); }

/* Over: de live-foto in de boogvorm van de "poort van hoorn" */
.about { display: grid; gap: var(--s7); }
@media (min-width: 56rem) { .about { grid-template-columns: 0.8fr 1.2fr; align-items: center; } }
.about__photo {
  max-width: 26rem; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 1.25rem 1.25rem; overflow: hidden;
  border: 2px solid var(--horn);
  background: var(--night-deep);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.about__text { display: grid; gap: var(--s4); }
.about__lede { font-size: var(--step-1); font-stretch: 112%; font-weight: 600; line-height: 1.3; }
.about__text > p:not(.about__lede):not(.about__myth) { color: var(--ink-soft); max-width: 58ch; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: var(--s2); }
.facts li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.facts span { color: var(--horn); }
.about__myth { font-size: var(--step--1); color: var(--ink-soft); font-style: italic; max-width: 52ch; }

/* Stepping Through */
.stepping { max-width: var(--max); margin-inline: auto; padding: var(--s9) var(--gutter) 0; display: grid; gap: var(--s3); justify-items: start; }
.stepping > p:not(.label):not(.stepping__lede) { color: var(--ink-soft); max-width: 52ch; }
.stepping__lede { font-size: var(--step-2); font-stretch: 112%; font-weight: 700; line-height: 1.15; max-width: 22ch; text-wrap: balance; }

/* Boekingen */
.bookings { display: grid; gap: var(--s4); padding-bottom: var(--s9); justify-items: start; align-items: start; }
.bookings__photo { width: 100%; max-width: 22rem; aspect-ratio: 1170 / 1230; object-fit: cover; border-radius: 1.25rem; border: 1px solid var(--line); }
@media (min-width: 56rem) {
  .bookings { grid-template-columns: 1fr 22rem; column-gap: var(--s8); }
  .bookings > :not(.bookings__photo) { grid-column: 1; }
  .bookings__photo { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
}
.bookings > p:first-of-type { color: var(--ink-soft); }
.bookings__mail a {
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 0.55rem + 3.4vw, 3rem); line-height: 1.05;
  text-decoration-color: var(--horn); text-decoration-thickness: 3px; text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
@media (hover: hover) { .bookings__mail a:hover { color: var(--horn); } }
.bookings__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.bookings__status { min-height: 1.6em; color: var(--horn); font-size: var(--step--1); }

/* Voet */
.foot {
  border-top: 1px solid var(--line);
  padding: var(--s7) var(--gutter) max(var(--s7), env(safe-area-inset-bottom));
  display: grid; gap: var(--s5);
  max-width: var(--max); margin-inline: auto;
}
.foot__links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot__links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; }
@media (hover: hover) { .foot__links a:hover { color: var(--horn); text-decoration: underline; } }
.foot__small { color: var(--ink-soft); font-size: var(--step--1); }

/* Minder beweging: alles staat stil, de pagina blijft compleet */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__sky, .pulse__line::after, .pulse__dot { animation: none; }
  .pulse__line::after { left: 39%; }
  .btn, .set__play, .player__play { transition: none; }
}

/* 404 */
.notfound { min-height: 100svh; align-content: center; }
.notfound__title { font-size: clamp(2.6rem, 10vw, 7rem); }

/* Perskit */
.press { max-width: var(--max); margin-inline: auto; padding: var(--s9) var(--gutter) var(--s9); display: grid; gap: var(--s8); }
.press__head { display: grid; gap: var(--s3); justify-items: start; padding-top: var(--s6); }
.press__title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 12vw, 9rem); line-height: 0.85; letter-spacing: -0.03em; }
.press__sub { color: var(--ink-soft); font-size: var(--step-1); }
.press__block { display: grid; gap: var(--s4); justify-items: start; border-top: 1px solid var(--line); padding-top: var(--s5); }
.press__block h2 { font-size: var(--step-2); }
.press__copy { display: grid; gap: var(--s3); max-width: 62ch; justify-items: start; }
.press .bookings__mail a { font-size: clamp(1.2rem, 0.6rem + 2.6vw, 2.4rem); overflow-wrap: normal; }
.press .press__copy:has(.bookings__mail) { max-width: none; }
.press__copy p { color: var(--ink); }
.press__status { min-height: 1.6em; color: var(--horn); font-size: var(--step--1); }
.press__block .facts { width: 100%; }
.press__photos { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); width: 100%; }
.press__photos a { display: grid; gap: var(--s2); text-decoration: none; }
.press__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1rem; border: 1px solid var(--line); }
.press__photos span { font-weight: 600; font-size: var(--step--1); }
@media (hover: hover) { .press__photos a:hover span { color: var(--horn); text-decoration: underline; } }
.press__note { color: var(--ink-soft); font-size: var(--step--1); }
.top__nav a[aria-current="page"] { color: var(--ink); }
