/* ---------- Tokens ---------- */
:root {
  --bg: #0d1014;
  --card: #151a21;
  --ink: #ece7dc;
  --muted: #a7a496;
  --line: rgba(236, 231, 220, 0.16);
  --lilac: #c98ee8;
  --blue: #1d49a6;
  --purple: #bd70df;
  --grad: linear-gradient(100deg, var(--blue), var(--purple));

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;

  --pad: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}
img, video { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--lilac); text-underline-offset: 0.2em; }
a:hover { color: var(--lilac); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

/* ---------- Shared pieces ---------- */
.wrap { max-width: 1200px; margin: 0 auto; }
.section { padding: 112px var(--pad); }
.accent { color: var(--lilac); }
.muted { color: var(--muted); }

.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 36;
  font-size: 32px;
  line-height: 1.1;
  color: var(--lilac);
}

h2 {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 80, "opsz" 72;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.prose {
  margin-top: 40px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 23px;
  line-height: 1.55;
}

.meta {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta.accent { color: var(--lilac); }
.genre-inline { display: none; color: var(--muted); }
.prose-mobile { display: none; }

.stripe {
  height: 10px;
  background: var(--grad);
  opacity: 0.55;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 30px);
          mask-image: repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 30px);
}

.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.split-top { margin-top: 16px; }
.split-main { flex: 1 1 520px; min-width: 0; }
.split-reverse { flex-direction: row-reverse; }
.split-reverse .split-main { flex-basis: 480px; }

/* Image frames: a soft placeholder shows until the real file is added.
   If the image file is missing, script.js hides the <img> and the placeholder stays. */
.frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(29, 73, 166, 0.35), rgba(189, 112, 223, 0.22)),
    var(--card);
}
.frame > img,
.frame > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame.is-missing > img { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { filter: saturate(0.9) brightness(0.55); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--bg) 4%, rgba(13, 16, 20, 0.7) 40%, rgba(13, 16, 20, 0.25) 100%);
}
.hero-edge {
  position: absolute; inset: 0 auto 0 0; width: 6px; z-index: -1;
  background: linear-gradient(var(--blue), var(--purple));
}

.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding: 28px var(--pad);
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 48;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

.hero-body {
  width: 100%; max-width: 1344px; margin: 0 auto;
  padding: 0 var(--pad) 56px;
}
.hero .kicker { font-size: 36px; }
.hero h1 {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(3.6rem, 15vw, 13.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.hero-lede {
  margin-top: 28px;
  max-width: 560px;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 34px;
  line-height: 1.25;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; border-radius: 3px; cursor: pointer;
}
.btn-main {
  gap: 18px; min-width: 504px; max-width: 100%; min-height: 80px; padding: 0 52px;
  font-size: 21px; border: 0; background: var(--grad);
}
.btn-ghost {
  flex: 0 0 auto; min-height: 68px; padding: 0 34px; font-size: 18px;
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
}
.btn:hover { filter: brightness(1.1); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.eq { display: inline-flex; align-items: flex-end; gap: 4px; height: 28px; }
.eq i { display: block; width: 4px; height: 45%; background: #fff; }
.btn.is-playing .eq i { animation: eq 1.1s ease-in-out infinite; }
.btn.is-playing .eq i:nth-child(2) { animation-delay: -0.4s; }
.btn.is-playing .eq i:nth-child(3) { animation-delay: -0.8s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- About ---------- */
.portrait { flex: 0 1 440px; min-width: 260px; aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 2px; }
.portrait img { object-position: 50% 30%; }

/* ---------- Do I know you ---------- */
.know { padding-left: 0; padding-right: 0; }
.know > .wrap { padding: 0 var(--pad); }
.film { margin-top: 40px; margin-bottom: 28px; }
.film .film-a, .film .film-b, .film .film-c { display: none; }
.film-collage { background: none; }
.film-collage img { height: auto; }
.know-body { padding: 72px var(--pad) 0; }
.know-stat { flex: 0 1 460px; min-width: 260px; }
.big-number {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(9rem, 19vw, 15rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: var(--lilac);
}
.know-stat h2 { margin-top: 28px; max-width: 8em; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.know-body .prose { flex: 1 1 480px; margin-top: 0; padding-top: 8px; }

/* ---------- Songs and video ---------- */
.songs { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; max-width: 700px; }
.song {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 24px;
}
.song::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); }
.song-info { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.song h3 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 80, "opsz" 48;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.video-card { flex: 0 1 380px; width: 100%; min-width: 260px; }
.video-card-narrow { flex-basis: 340px; }
.video-box { aspect-ratio: 9 / 16; border: 1px solid var(--line); border-radius: 2px; background: #000; }
.video-box video { object-fit: contain; background: #000; }
.video-card figcaption {
  margin-top: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Concepts ---------- */
.concepts { background: linear-gradient(125deg, #17306f 0%, #2f2a7d 55%, #4d2f8a 100%); }
.concepts .video-box { border-color: rgba(236, 231, 220, 0.24); }
.concepts .video-card figcaption { color: #d6d2e6; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(46rem 22rem at 88% 100%, rgba(29, 73, 166, 0.34), transparent 70%),
    radial-gradient(28rem 16rem at 100% 100%, rgba(189, 112, 223, 0.16), transparent 70%);
}
.contact h2 { max-width: 14em; }
.contact-list { margin-top: 44px; max-width: 640px; border-top: 1px solid var(--line); font-size: 20px; }
.contact-list > div {
  display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-list dt {
  flex: 0 0 112px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.contact-list dd { overflow-wrap: anywhere; }

/* ---------- Mosaic + footer ---------- */
.mosaic { position: relative; min-height: 220px; }
.mosaic img { height: auto; }
.mosaic-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(13, 16, 20, 0) 24%, rgba(13, 16, 20, 0) 66%, var(--bg) 100%);
}
.mosaic figcaption {
  position: absolute; left: var(--pad); bottom: 44px; line-height: 1.1;
  font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 36;
  font-size: 32px; color: var(--lilac);
}
.past-gigs { padding: 20px var(--pad) 28px; border-top: 1px solid var(--line); text-align: center; }
.past-gigs p { max-width: 1300px; margin: 0 auto; font-size: 15px; line-height: 1.7; letter-spacing: 0.02em; color: var(--muted); }

.footer { padding: 32px var(--pad) 48px; border-top: 1px solid var(--line); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  :root { --pad: 20px; }
  body { line-height: 1.6; }
  .section { padding: 64px var(--pad); }
  .kicker, .mosaic figcaption { font-size: 24px; }
  .hero .kicker { font-size: 26px; }
  h2 { font-size: 44px; margin-top: 14px; }
  .prose { margin-top: 28px; gap: 22px; font-size: 19px; }

  .stripe { height: 8px; }
  .hero { min-height: 700px; }
  .hero-edge { width: 4px; }
  .hero-bg img { object-position: 62% 50%; filter: saturate(0.9) brightness(0.5); }
  .nav { flex-wrap: nowrap; padding: 16px var(--pad); gap: 12px; }
  .brand { font-size: 22px; }
  .nav-links { gap: 20px; }
  .hero-body { padding-bottom: 36px; }
  .hero h1 { font-size: min(72px, 17vw); margin-top: 14px; }
  .hero-lede { font-size: 24px; margin-top: 22px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-top: 28px; }
  .btn-main { min-width: 0; width: 100%; min-height: 72px; padding: 0 20px; gap: 14px; font-size: 17px; }
  .eq { height: 24px; }

  /* Who I Am: full-bleed portrait with the heading laid over its faded bottom */
  .about { padding-top: 0; }
  .about .split { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .portrait {
    order: -1; flex: none; width: calc(100% + 2 * var(--pad)); min-width: 0;
    margin: 0 calc(-1 * var(--pad)); border: 0; border-radius: 0;
  }
  .portrait::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(13, 16, 20, 0) 40%, rgba(13, 16, 20, 0.75) 70%, var(--bg) 96%);
  }
  .about .split-main { position: relative; z-index: 1; flex: none; margin-top: -54vw; }
  .prose-desktop { display: none; }
  .prose-mobile { display: flex; }

  /* Do I know you: kicker over the top photo, stat over the two faded photos below */
  .know { position: relative; padding: 0 0 64px; }
  .know > .wrap:first-child { position: absolute; top: 22px; left: 0; right: 0; z-index: 2; }
  .film { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
  .film .film-collage { display: none; }
  .film .film-a, .film .film-b, .film .film-c { display: block; }
  .film .film-a { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .film-a::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(13, 16, 20, 0.7) 0%, rgba(13, 16, 20, 0) 45%);
  }
  /* Bottom row: concourse band left, mustard jacket right, darkened behind the stat */
  .film .film-c { grid-row: 2; grid-column: 1; aspect-ratio: 4 / 5; }
  .film .film-b { grid-row: 2; grid-column: 2; aspect-ratio: 4 / 5; }
  .film-b img { object-position: 50% 30%; }
  .film-b img, .film-c img { filter: brightness(0.6) saturate(0.9); }
  .film-b::after, .film-c::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(13, 16, 20, 0.2) 0%, rgba(13, 16, 20, 0.5) 55%, var(--bg) 100%);
  }
  .know-body { position: relative; z-index: 1; margin-top: calc(-62.5vw + 64px); padding: 0 var(--pad); gap: 28px; }
  .big-number { font-size: 112px; }
  .know-stat h2 { font-size: 32px; margin-top: 18px; }
  .know-body .prose { padding-top: 0; }

  /* Songs: genre sits beside the date, cards are more compact */
  .songs { margin-top: 28px; gap: 10px; }
  .song { padding: 16px 16px 16px; gap: 14px; }
  .song-info { gap: 6px; }
  .song .meta { font-size: 11px; letter-spacing: 0.1em; }
  .song .genre { display: none; }
  .genre-inline { display: inline; }
  .song h3 { font-size: 28px; }
  .btn-ghost { width: 100%; min-height: 48px; padding: 0 20px; font-size: 14px; }

  /* Concepts: video sits right after the heading, before the text */
  .concepts .split { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .concepts .split-main { display: contents; }
  .concepts .kicker { order: 1; }
  .concepts h2 { order: 2; }
  .concepts .video-card { order: 3; flex: none; margin-top: 28px; }

  /* Both videos: a smaller, centred card */
  .video-card, .video-card-narrow { flex: none; width: 78%; max-width: 300px; min-width: 0; margin-left: auto; margin-right: auto; align-self: center; }
  .video-card figcaption { text-align: center; }
  .concepts .prose { order: 4; }

  .contact-list { margin-top: 32px; font-size: 17px; }
  .contact-list > div { flex-direction: column; gap: 2px; padding: 14px 0; }
  .contact-list dt { flex: none; }
  .mosaic { min-height: 300px; }
  .mosaic img { position: absolute; inset: 0; height: 100%; object-position: 40% 50%; }
  .mosaic figcaption { bottom: 24px; }
  .past-gigs { text-align: left; padding: 18px var(--pad) 28px; }
  .past-gigs p { font-size: 14px; }
  .footer { padding: 24px var(--pad) 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn.is-playing .eq i { animation: none; height: 70%; }
}
