/* =========================================================
   PROLIFIQUE RECORDS — noir gallery, monolithic type
   ========================================================= */
:root {
  --onyx: #0e0e0e;
  --white: #fefefe;
  --faint: #2a2a2a;
  --dim: #808080; /* 4.9:1 on onyx (WCAG AA) */

  --f-sans: "Inter", "Neue Haas Grotesk Display", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "GT Sectra", "Playfair Display", Georgia, serif;

  --gutter: clamp(16px, 2.4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--onyx);
  color: var(--white);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
::selection { background: var(--white); color: var(--onyx); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type system: whispers & shouts ---------- */
.caption {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.display {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(60px, 13.5vw, 260px);
  line-height: .8;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.heading { font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.035em; }
.serif { font-family: var(--f-serif); font-weight: 400; }
.body { font-size: 16px; line-height: 1.45; max-width: 40ch; }
.mask { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.char { display: inline-block; will-change: transform; }

/* ---------- Text roll on hover ---------- */
.roll { display: inline-block; overflow: hidden; vertical-align: top; }
.roll__in { display: block; position: relative; transition: transform .6s var(--ease); }
.roll__in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover .roll__in, button:hover .roll__in { transform: translateY(-100%); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--onyx);
  clip-path: inset(0 0 0% 0);
}
.loader__star { position: absolute; left: 50%; top: 50%; width: min(46vw, 420px); opacity: 0; }
.loader__count {
  position: absolute; left: var(--gutter); bottom: 0;
  font-size: clamp(88px, 19vw, 400px); line-height: .8; letter-spacing: -.055em;
  overflow: hidden;
}
.loader__count span { display: block; }
.loader__label { position: absolute; right: var(--gutter); top: var(--gutter); font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 900;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease);
}
.cursor span {
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--onyx); opacity: 0; transition: opacity .2s;
  white-space: nowrap;
}
.cursor.is-hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Page transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 950;
  background: var(--white);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
}

/* ---------- Logo sculpture ---------- */
.stage {
  position: fixed; inset: 0; z-index: 50;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: difference;
}
.object {
  position: absolute; left: 50%; top: 50%;
  width: min(46vw, 73.6vh, 660px);
  width: min(46vw, 73.6svh, 660px); /* svh: the visible height on phones, toolbars included */
  aspect-ratio: 1080 / 700;
  perspective: 1200px;
}
.object__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.object__ring, .object__star {
  position: absolute; inset: 0; width: 100%; height: 100%;
  will-change: transform;
}
.object__ring { transform: translateZ(-40px); }
.object__star { transform: translateZ(80px); filter: brightness(1.35); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; padding: 0 var(--gutter);
  font-size: 13px; line-height: 1.5; letter-spacing: .04em;
  background: rgba(14, 14, 14, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(254, 254, 254, .12);
  transition: transform .6s var(--ease), height .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-compact { height: 60px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__logo { height: 36px; width: auto; transition: transform .8s var(--ease); }
.nav__brand:hover .nav__logo { transform: rotate(-12deg) scale(1.08); }
.nav__name { font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
/* mid-size screens: five menu items need the room, the logo alone signs the bar */
@media (min-width: 901px) and (max-width: 1180px) { .nav__name { display: none; } }
.nav__links { text-transform: uppercase; display: flex; gap: 10px; justify-self: center; }
.nav__links i { font-style: normal; color: var(--dim); }
.nav__cta {
  justify-self: end;
  font-weight: 700; text-transform: uppercase;
  border: 1px solid var(--white); padding: 10px 18px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.nav__cta:hover { background: var(--white); color: var(--onyx); }

/* ---------- Section bands: the section name scrolls past, between two stars ---------- */
.band {
  margin: 88px 0 0; padding: 16px 0; overflow: hidden;
  border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint);
}
.band__track { display: flex; width: max-content; animation: band 60s linear infinite; }
.band--rev .band__track { animation-direction: reverse; }
.band__run { display: flex; align-items: center; flex: none; }
.band__item {
  padding: 0 .7em; white-space: nowrap;
  font-size: clamp(34px, 5vw, 88px); line-height: .9; font-weight: 800; font-style: italic;
  letter-spacing: -.01em; text-transform: uppercase;
}
.band__star { width: clamp(38px, 4.4vw, 76px); height: auto; flex: none; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } }

/* ---------- Section dividers (unused) ---------- */
.divider {
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  margin: 48px 0 0;
}
.divider__n { font-weight: 700; min-width: 2ch; }
.divider__label { min-width: 12ch; }
.divider__line { flex: 1; height: 1px; background: rgba(254, 254, 254, .32); transform: scaleX(0); }
.divider__line--l { transform-origin: right; }
.divider__line--r { transform-origin: left; }
.divider__star { width: 44px; height: auto; }
.divider__right { min-width: 12ch; text-align: right; color: var(--dim); }

/* ---------- Mobile menu ---------- */
.nav__burger { display: none; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; justify-self: end; }
.nav__burger-i { position: relative; width: 22px; height: 10px; }
.nav__burger-i::before, .nav__burger-i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--white);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__burger-i::before { top: 0; }
.nav__burger-i::after { top: 8px; }
.menu-open .nav__burger-i::before { top: 4px; transform: rotate(45deg); }
.menu-open .nav__burger-i::after { top: 4px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--onyx);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu-open { overflow: hidden; }
.menu__list li { border-top: 1px solid var(--faint); overflow: hidden; }
.menu__list li:last-child { border-bottom: 1px solid var(--faint); }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; }
.menu__t {
  display: block; font-size: clamp(44px, 13vw, 96px); line-height: 1; letter-spacing: -.05em;
  transform: translateY(110%); transition: transform .8s var(--ease);
}
.menu-open .menu__t { transform: none; }
.menu-open .menu__list li:nth-child(1) .menu__t { transition-delay: .25s; }
.menu-open .menu__list li:nth-child(2) .menu__t { transition-delay: .3s; }
.menu-open .menu__list li:nth-child(3) .menu__t { transition-delay: .35s; }
.menu-open .menu__list li:nth-child(4) .menu__t { transition-delay: .4s; }
.menu-open .menu__list li:nth-child(5) .menu__t { transition-delay: .45s; }
.menu__list a[aria-current] .menu__t { font-family: var(--f-serif); font-style: italic; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 32px; }

/* ---------- Chapters: each part of the home opens with a big title ---------- */
.chapter {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px;
  padding: 56px var(--gutter) 0;
}
.chapter__n {
  font-size: clamp(64px, 11vw, 200px); line-height: .78; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(254, 254, 254, .5);
  font-variant-numeric: tabular-nums;
}
.chapter__t { font-size: clamp(52px, 8.5vw, 160px); line-height: .88; letter-spacing: -.02em; }
.chapter__t .mask { padding-bottom: .08em; }
.chapter__sub { text-align: right; color: var(--dim); max-width: 30ch; padding-bottom: .6em; }

/* fixed reminder of the current chapter, bottom-left */
.chapter-now {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 100;
  display: flex; align-items: center; gap: 10px;
  mix-blend-mode: difference; pointer-events: none;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.chapter-now.is-on { opacity: 1; transform: none; }
/* the scrolling bands now name every section; the reminder would only repeat them */
.chapter-now { display: none; }
.chapter-now__n { font-weight: 700; }
.chapter-now__line { width: 32px; height: 1px; background: var(--white); }
.chapter-now__name { display: inline-block; }

/* ---------- Star cursor trail ---------- */
.trail { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 899; pointer-events: none; } /* sized in CSS px; the bitmap is dpr× larger */
/* the star replaces the dot; the cursor circle only shows on links and labels */
.has-trail .cursor:not(.is-hover):not(.is-label) { background: transparent; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  overflow: hidden;
}
.hero__title { position: absolute; left: 0; right: 0; top: 18vh; z-index: 2; mix-blend-mode: difference; pointer-events: none; }
.hero__line { display: block; }
.hero__line--1 { margin-left: 22vw; }           /* bleeds off the right edge */
.hero__line--2 { margin-left: -4vw; margin-top: .06em; }  /* bleeds off the left edge */
.hero__caption { position: absolute; right: var(--gutter); top: 54%; width: 230px; }
.hero__caption, .hero__motto, .hero__meta { z-index: 3; mix-blend-mode: difference; pointer-events: none; }

/* ---------- Clip reel ---------- */
.reel { position: absolute; inset: 0; z-index: 1; }
.clip {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * min(1vw, 1.6vh)); /* sized by width AND height, so tiles never collide on short screens */
  width: calc(var(--w) * min(1vw, 1.6svh));
  display: block; text-align: left;
  will-change: transform;
}
.clip__media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 10px;
  filter: saturate(1.35) contrast(1.08) brightness(1.05); /* vivid colours against the black */
  transition: opacity .5s var(--ease);
}
.clip__media img, .clip__media iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
  pointer-events: none;
}
/* the player renders 2.5× larger then is shrunk, so YouTube's own UI stays tiny; 1.3 crops its edges */
.clip__media iframe {
  inset: auto; left: 50%; top: 50%; width: 250%; height: 250%;
  translate: -50% -50%; scale: .52;
  opacity: 0; transition: opacity 1s;
}
.clip__media iframe.is-on { opacity: 1; }
/* self-hosted muted loops: play from the first second, no YouTube chrome */
.clip__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .6s; }
.clip__loop.is-on { opacity: 1; }
.clip:hover .clip__loop { scale: 1.06; transition: opacity .6s, scale 1.2s var(--ease); }
.clip__cap {
  display: flex; justify-content: space-between; gap: 8px; padding-top: 6px;
  opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .5s var(--ease);
}
.clip:hover .clip__cap, .clip:focus-visible .clip__cap { opacity: 1; transform: none; }
.clip:hover .clip__media img { scale: 1.06; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 960;
  background: rgba(14, 14, 14, .94);
  display: grid; place-items: center; align-content: center; gap: 20px;
  padding: 72px var(--gutter) var(--gutter);
  clip-path: inset(50% 0 50% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.lightbox.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.lightbox__frame { width: min(100%, calc((100svh - 200px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__cap { width: min(100%, calc((100svh - 200px) * 16 / 9)); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.lightbox__title { font-size: clamp(28px, 3vw, 48px); line-height: 1; }
.lightbox__close {
  position: absolute; top: 20px; right: var(--gutter);
  border: 1px solid var(--white); padding: 10px 16px; font-weight: 700;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.lightbox__close:hover { background: var(--white); color: var(--onyx); }
.hero__motto { position: absolute; left: var(--gutter); bottom: var(--gutter); }

/* latest release, reachable from the first screen */
.hero__new {
  position: absolute; left: 50%; bottom: var(--gutter); z-index: 4; translate: -50% 0;
  display: flex; align-items: center; gap: 14px;
  width: min(520px, calc(100% - 2 * var(--gutter)));
  padding: 8px 8px 8px 8px;
  background: rgba(14, 14, 14, .72); border: 1px solid rgba(254, 254, 254, .18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .4s var(--ease);
}
.hero__new:hover { border-color: rgba(254, 254, 254, .55); }
.hero__new-cover { width: 56px; height: 56px; object-fit: cover; flex: none; }
.hero__new-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.hero__new-tag { color: var(--dim); }
.hero__new-title { font-size: 16px; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__new-by { color: var(--dim); }
.hero__new-btn {
  flex: none; align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 18px; white-space: nowrap;
  background: var(--white); color: var(--onyx);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.hero__new:hover .hero__new-btn { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.hero__new.is-off { pointer-events: none; }
.hero__meta { position: absolute; right: var(--gutter); bottom: var(--gutter); text-align: right; }
.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Statement ---------- */
.statement { padding: var(--after-band) var(--gutter) 120px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px 6vw; align-items: end; }
.statement__text { font-size: clamp(26px, 3.1vw, 50px); line-height: 1.05; letter-spacing: -.03em; max-width: 24ch; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.statement__text .w { opacity: .14; transition: opacity .25s; }
.statement__text .w.on { opacity: 1; }
.statement__body { display: contents; }
.statement__motto { font-size: clamp(34px, 4.6vw, 76px); line-height: .95; letter-spacing: -.02em; }
.statement__motto { justify-self: end; text-align: right; }
.statement__motto .mask:last-child { padding-left: 0; }

/* ---------- Section heads ---------- */
.release__head, .archive__head, .artists__head {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 0 var(--gutter);
  margin-bottom: 32px;
}
.release__head span:last-child, .archive__head span:last-child,
.artists__head span:last-child { text-align: right; }

/* ---------- Release ---------- */
.release { padding: var(--after-band) 0 128px; }
.release__marquee { overflow: hidden; white-space: nowrap; }
.release__track {
  display: inline-flex; gap: .25em;
  font-size: clamp(60px, 12vw, 220px); line-height: .86; letter-spacing: -.055em;
  will-change: transform;
}
.release__track .serif { font-style: italic; letter-spacing: 0; }
.release__grid {
  display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 420px); gap: 64px;
  justify-content: center; /* cover and text sit together in the middle of the page */
  padding: 0 var(--gutter);
  align-items: center;
}
.release__media { display: block; overflow: hidden; aspect-ratio: 1; max-width: 520px; }
.release__media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.release__info { display: grid; gap: 32px; align-content: center; }
.release__info .body { max-width: none; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.link-xl {
  display: inline-flex; align-items: baseline; gap: 16px;
  font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.035em;
}
.link-xl__arrow { display: inline-block; transition: transform .6s var(--ease); }
.link-xl:hover .link-xl__arrow { transform: translateX(10px); }

.release__quote { font-size: clamp(22px, 2vw, 32px); line-height: 1.05; font-style: italic; max-width: 22ch; }

/* tracklist */
.tracks { padding: 96px var(--gutter) 0; }
.tracks__head, .track a {
  display: grid; grid-template-columns: 1fr 2.4fr 1.4fr .5fr; gap: 16px; align-items: baseline;
}
.tracks__head { margin-bottom: 16px; }
.tracks__head span:last-child, .track__d { text-align: right; }
.track { border-top: 1px solid var(--faint); }
.track:last-child { border-bottom: 1px solid var(--faint); }
.track a { position: relative; padding: 14px 0; overflow: hidden; transition: color .5s var(--ease); }
.track a::before {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.track a > * { position: relative; }
.track a:hover { color: var(--onyx); }
.track a:hover::before { transform: scaleY(1); }
.track__t { font-size: clamp(20px, 2vw, 30px); line-height: 1; letter-spacing: -.03em; transition: transform .6s var(--ease); }
.track__t em { letter-spacing: 0; }
.track a:hover .track__t { transform: translateX(12px); }
.tracks__credits { margin-top: 24px; color: var(--dim); }

/* ---------- Archive ---------- */
.archive { padding: 40px 0 112px; position: relative; }
.archive__list { padding: 0 var(--gutter); display: grid; border-top: 1px solid var(--faint); }
.row { border-bottom: 1px solid var(--faint); }
.row > a, .row__inner {
  display: grid;
  grid-template-columns: clamp(88px, 9vw, 148px) 2.2fr .5fr 1fr 1fr .8fr;
  align-items: center; gap: 16px 24px;
  padding: 18px 0;
}
.row__cover { display: block; aspect-ratio: 1; overflow: hidden; background: #000; }
.row__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.row:hover .row__cover img { transform: scale(1.05); }
.row__title {
  font-size: clamp(34px, 3.6vw, 54px); line-height: .9;
  display: inline-block;
  transition: transform .7s var(--ease);
}
.row__title em { font-size: .55em; }
.row__go { text-align: right; }
.row:hover .row__title { transform: translateX(10px); }

/* ---------- Artists: three cards side by side, photo then name ---------- */
.artists { padding: var(--after-band) var(--gutter) 96px; position: relative; }
.artists__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.artist a { display: grid; gap: 12px; }
.artist__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; border-radius: 10px; } /* full width, kept low */
.artist__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1s var(--ease); }
.artist__name { font-size: clamp(22px, 2.4vw, 40px); line-height: 1; font-weight: 800; font-style: italic; letter-spacing: -.02em; text-transform: uppercase; }
.artist__go { color: var(--dim); transition: color .4s; }
.artist a:hover .artist__photo img { transform: scale(1.04); }
.artist a:hover .artist__go { color: var(--white); }

/* ---------- Sorties: library of covers ---------- */
.archive { padding: var(--after-band) var(--gutter) 112px; position: relative; }
.lib__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.lib__title span { color: var(--dim); }
.lib { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 16px; }
.lib__item a { display: grid; gap: 8px; }
.lib__cover { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; transition: opacity .3s; }
.lib__item a:hover .lib__cover { opacity: .85; }
.lib__name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.lib__meta { font-size: 13px; color: var(--dim); margin-top: -4px; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0 128px; overflow: hidden; }
.contact__title { margin-left: -1vw; }
.contact__title-2 { margin-left: 30vw; }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 96px var(--gutter) 0;
}
.contact__mail { display: block; margin: 16px 0 32px; position: relative; width: fit-content; }
.contact__mail::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--white);
  transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.contact__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.form { display: grid; gap: 32px; align-content: start; }
.field { display: grid; gap: 8px; position: relative; }
.field::after {
  content: ""; height: 1px; background: var(--faint);
  box-shadow: none;
}
.field::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.field:focus-within::before { transform: scaleX(1); }
.field input, .field textarea {
  border: 0; outline: 0; background: transparent; color: var(--white);
  font: inherit; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -.02em;
  padding: 0; resize: none; border-radius: 0;
}
.submit {
  justify-self: start;
  display: inline-flex; gap: 16px; align-items: baseline;
  font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.035em;
  white-space: nowrap;
}
.submit > span:last-child { transition: transform .6s var(--ease); }
.submit:hover > span:last-child { transform: translateX(12px); }

/* ---------- Footer ---------- */
.footer { padding: 96px var(--gutter) var(--gutter); overflow: hidden; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer__row button { text-transform: uppercase; letter-spacing: .02em; font-size: 13px; }
.footer__word {
  font-size: 17.2vw; line-height: .78;
  margin: 96px -1vw 16px;
  overflow: hidden;
  padding-top: .05em;
}
.footer__word .char { transition: transform .5s var(--ease); }
.footer__word .char:hover { transform: translateY(-12%); font-family: var(--f-serif); font-style: italic; }
.footer__copy { color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; height: 60px; }
  .nav__links { display: none; }
  .nav__logo { height: 28px; }
  .nav__name { font-size: 15px; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .hero__title { top: 18vh; }
  .hero__line--1 { margin-left: 8vw; }
  .hero__caption { top: auto; bottom: 196px; left: var(--gutter); right: auto; }
  .hero__new { bottom: 80px; }
  .hero__new-title { font-size: 14px; white-space: normal; }
  .hero__new-by { letter-spacing: .04em; }
  .hero__new-btn { padding: 0 12px; gap: 6px; }
  .clip__cap { display: none; }
  .statement { grid-template-columns: 1fr; }
  .artists { padding: var(--after-band) var(--gutter) 40px; }
  /* phones: one row per artist, photo on the left, big name on the right; the 3 fit on one screen */
  .artists__list { grid-template-columns: 1fr; gap: 12px; }
  .artist a { grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 6px; align-items: center; align-content: center; }
  .artist__photo { grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
  .artist__name { align-self: end; font-size: clamp(15px, calc(6.2vw - 4px), 34px); letter-spacing: -.01em; white-space: nowrap; } /* sized so JEUNELESERIEUX fits on one line */
  .artist__go { align-self: start; font-size: 12px; }
  .lib { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .chapter-now { display: none; } /* the bands already name each section; on a phone it would sit on the text */
  .chapter { grid-template-columns: 1fr; padding-top: 40px; }
  .chapter__sub { grid-column: 1 / -1; text-align: left; padding-bottom: 0; }
  .divider { gap: 10px; }
  .divider__label { min-width: 0; }
  .divider__right { display: none; }
  .divider__star { width: 32px; }
  .release__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .tracks__head, .track a { grid-template-columns: 32px 1fr auto; row-gap: 4px; }
  .tracks__head span:nth-child(2) { display: none; }
  .track a > .caption:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--dim); }
  .track__d { grid-column: 3; grid-row: 1; }
  .row__title { grid-column: 2; font-size: clamp(24px, 7vw, 34px); }
  .row__who, .row__go { grid-column: 2; }
  .row__go { text-align: left; }
  .row__year, .row__type { display: none; }
  .statement__motto { justify-self: start; text-align: left; }
  .statement__motto .mask:last-child { padding-left: 0; }
  .contact__title-2 { margin-left: 12vw; }
  .object { width: 92vw; }
}

@media (max-width: 900px) and (orientation: portrait) {
  .clip { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * min(1vw, .462vh)); width: calc(var(--mw) * min(1vw, .462svh)); }
  .object { width: calc(66 * min(1vw, .462vh)); width: calc(66 * min(1vw, .462svh)); }
  /* a slight tilt, kept once the burst animation has settled (it animates the tile, not this) */
  .clip__media { rotate: calc(var(--mr, 0) * 1deg); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
  /* patchwork: bigger tiles that overlap a little, the lead clips on top */
  .clip { z-index: var(--mz, 1); }
  .clip--desk { display: none; } /* fewer clips on phones */
}
/* phones held sideways: desktop frame, logo and hero sized to the short screen */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .object { width: min(46vw, 73.6vh); width: min(46vw, 73.6svh); }
  .hero__title { top: 13vh; font-size: min(13.5vw, 22vh); }
  .hero__caption { display: none; }
  .hero__new { bottom: var(--gutter); width: min(460px, 56vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
}

/* phones: the Label section fills the screen, no dead space before the next band */
@media (max-width: 720px) {
  .statement { padding: var(--after-band) var(--gutter) 48px; gap: 36px; }
  .statement__text { font-size: 7.4vw; line-height: 1.12; max-width: none; }
  .band { margin-top: 48px; padding: 16px 0; }
}

@media (min-width: 721px) and (max-width: 1100px) { .lib { grid-template-columns: repeat(3, 1fr); } }

/* phones: the "Nouveauté" card stays small */
@media (max-width: 720px) {
  .hero__new { gap: 10px; padding: 6px; bottom: 76px; width: auto; left: var(--gutter); right: var(--gutter); translate: none; }
  .hero__new-cover { width: 40px; height: 40px; }
  .hero__new-tag { font-size: 11px; }
  .hero__new-title { font-size: 13px; line-height: 1.2; }
  .hero__new-by { display: none; }
  .hero__new-btn { padding: 0 12px; font-size: 12px; }
}

/* the same space between every band and the first thing under it */
:root { --after-band: 48px; }
@media (max-width: 720px) { :root { --after-band: 32px; } }

/* footer links, on every page */
.footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a:hover { color: var(--white); }
