/* ─────────────────────────────────────────────────────────
   ARDYNT — official site
   ───────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;

  --bg: #000000;
  --fg: #f2f5f8;
  --fg-dim: #8d97a4;
  --fg-faint: #525b67;
  --line: rgba(220, 232, 245, 0.1);
  --line-strong: rgba(220, 232, 245, 0.26);

  --accent: #1f9bff;
  --accent-hot: #a8dcff;
  --accent-deep: #06305a;
  --accent-glow: rgba(31, 155, 255, 0.28);
  --play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M0 0l12 7-12 7z'/%3E%3C/svg%3E");

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  /* 1200px of content between 48px gutters */
  --content-max: 1296px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ── Base ─────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Text buttons ────────────────────────────────────── */

/* Mono caps with an arrow; hover draws a blue underline */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}

.cta::after {
  content: "↗";
  letter-spacing: 0;
  color: var(--accent);
}

a.cta:hover {
  color: var(--accent-hot);
  background-size: 100% 1px;
}

.cta--muted {
  color: var(--fg-faint);
  cursor: default;
}

.cta--muted::after {
  content: none;
}

.cta--download::after {
  content: "↓";
}

/* ── Header ──────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 32px;
  align-items: center;
  height: var(--header-h);
  /* The bar spans the screen; its contents line up with .container */
  padding: 0 max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter)));
  border-bottom: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.94);
  border-color: var(--line);
}

@media (min-width: 821px) {
  .site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

/* The brand marks are always plain white: no glow, gradient or outline */
.wordmark {
  justify-self: start;
  color: #fff;
}

.wordmark svg {
  display: block;
  width: 128px;
  aspect-ratio: 557 / 67;
}

.nav {
  display: flex;
  gap: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--fg-dim);
  transition: color 0.3s;
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--fg);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav a[aria-current]::after {
  opacity: 1;
}

.socials {
  display: flex;
  gap: 18px;
}

.site-header .socials {
  justify-self: end;
}

/* Six icons plus the nav get tight on small laptops and tablets */
@media (max-width: 1080px) {
  .nav {
    gap: 24px;
  }

  .site-header .socials {
    gap: 14px;
  }
}

.socials a {
  display: block;
  color: var(--fg-dim);
  transition: color 0.3s, filter 0.3s;
}

.socials a:hover {
  color: var(--accent-hot);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.socials svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 8px 0;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  /* No room beside the logo, so the icons sit along the bottom of the open menu */
  .site-header .socials {
    display: none;
  }

  .menu-open .site-header .socials {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    justify-self: stretch;
    justify-content: center;
    gap: 24px;
  }

  .menu-open .site-header .socials svg {
    width: 20px;
    height: 20px;
  }

  .menu-toggle {
    display: block;
  }

  /* Full-screen menu. It sits under the header's own content (z-index -1
     inside the header's stacking context) so the wordmark and Close stay on top. */
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--bg);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 300;
    font-size: clamp(28px, 9vw, 44px);
    letter-spacing: 0.24em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding-left: 0.24em;
  }

  .nav a::after {
    bottom: -8px;
  }
}

/* ── Hero ────────────────────────────────────────────── */

/* Full-screen photo with a darkening scrim on top. Plain vh rather than svh,
   so it still fills the screen once mobile toolbars collapse */
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--bg);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%; /* the lit window */
  animation: photo-in 2.6s var(--ease-out) both;
}

@keyframes photo-in {
  from {
    opacity: 0;
  }
}

.hero::after {
  /* Darken the top for the header and fade the bottom into the page */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 18%, transparent 60%, rgba(0, 0, 0, 0.5) 85%, var(--bg) 100%);
  pointer-events: none;
}

/* The newest release, bottom left. 100vh - 100svh lifts it clear of a
   phone's toolbar, which covers the bottom of the hero until the page scrolls */
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100vh - 100svh + clamp(28px, 4.5vw, 64px));
  z-index: 2;
  animation: rise-in 1.8s var(--ease-out) 0.6s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

.hero__release {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.hero__release-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}

.hero__release-title {
  font-stretch: 112%;
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.hero__release-title::after {
  content: " ↗";
  color: var(--accent);
}

.hero__release:hover .hero__release-title {
  color: var(--accent-hot);
}

/* ── Sections ────────────────────────────────────────── */

.section {
  padding: clamp(56px, 6vw, 88px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

/* About half the old display size, so each section's content still leads */
.section__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  font-stretch: 125%;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.65vw, 1.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section__title::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ── Music ───────────────────────────────────────────── */

/* Four across, two on tablets and phones */
.releases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.release a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition: transform 0.4s var(--ease-out);
}

.release__index {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-faint);
}

.release__index::after {
  content: "↗";
  letter-spacing: 0;
  transition: color 0.3s;
}

/* The frame keeps the hover zoom inside the cover's square */
.release__art {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s;
}

/* Hover dims the cover and pops in a play button */
.release__art::before,
.release__art::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.release__art::before {
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s;
}

.release__art::after {
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--accent) var(--play) 56% 50% / 16px no-repeat;
  transform: scale(0.5);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s, box-shadow 0.5s;
}

.cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #030508;
  transition: transform 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.release__title {
  margin-top: 4px;
  font-stretch: 112%;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.release__meta {
  margin-top: -8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  transition: color 0.3s;
}

/* Only where there's a pointer, so a tap on a phone doesn't leave a card stuck */
@media (hover: hover) {
  .release a:hover {
    z-index: 1;
    transform: translateY(-8px);
  }

  .release a:hover .release__art {
    box-shadow: 0 18px 50px -16px rgba(31, 155, 255, 0.5), 0 0 24px -6px rgba(31, 155, 255, 0.35);
  }

  .release a:hover .cover {
    transform: scale(1.15);
  }

  .release a:hover .release__art::before {
    opacity: 1;
  }

  .release a:hover .release__art::after {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 25px rgba(31, 155, 255, 0.6);
  }

  .release a:hover .release__index::after {
    color: var(--accent);
  }

  .release a:hover .release__title {
    color: var(--accent-hot);
  }

  .release a:hover .release__meta {
    color: var(--fg);
  }
}

@media (max-width: 820px) {
  .releases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Live ────────────────────────────────────────────── */

/* YouTube's player, centred at two thirds of the width; full width on phones */
.live__player {
  max-width: 66.666%;
  margin-inline: auto;
}

.live__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #030508;
}

@media (max-width: 820px) {
  .live__player {
    max-width: none;
  }
}

/* ── Dates ───────────────────────────────────────────── */

/* Rows bleed 16px past the text so the hover wash has room to breathe */
.dates {
  margin: 0 -16px;
  border-top: 1px solid var(--line);
}

.date {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.5s;
}

.date:hover {
  background: linear-gradient(90deg, rgba(31, 155, 255, 0.07), transparent 70%);
}

.date time {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.date__dow {
  color: var(--fg-dim);
}

.date__event {
  font-stretch: 112%;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.date__city {
  color: var(--fg-dim);
}

/* Laid out like a date row: message on the left, the action on the right */
.dates__empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-stretch: 112%;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.dates__empty[hidden] {
  display: none;
}

.dates__empty p {
  color: var(--fg-dim);
}

/* Under the shows, whichever of the list or a message is showing */
.dates__alerts {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .date {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "time  action"
      "event action"
      "city  action";
    gap: 6px 16px;
  }

  .date time {
    grid-area: time;
    margin-bottom: 4px;
  }

  .date__event {
    grid-area: event;
  }

  .date__city {
    grid-area: city;
    font-size: 15px;
  }

  .date .cta {
    grid-area: action;
  }
}

/* ── About ───────────────────────────────────────────── */

/* A modest photo with the bio beside it */
.about {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about__photo {
  margin: 0;
}

.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}

/* Set at the date rows' size */
.about__body {
  max-width: 34em;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
}

.about__body + .about__body {
  margin-top: 1em;
}

/* On phones the photo sits above the bio at three quarters of the width */
@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 75%;
  }
}

/* ── Contact ─────────────────────────────────────────── */

/* The address is set at the bio's size */
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact__email {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.6s var(--ease-out), color 0.3s;
}

.contact__email:hover {
  color: var(--accent-hot);
  background-size: 100% 2px;
}

.contact__note {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  padding: 72px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.monogram {
  width: 44px;
  aspect-ratio: 107 / 67;
  color: #fff;
}

.site-footer__legal {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-faint);
}

/* ── Press kit (/press) ──────────────────────────────── */

/* One narrow column, centred, over a blurred press photo */
.kit::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  background: url("../assets/press/ardynt-press-1-1200.webp") 50% 30% / cover;
  filter: blur(70px) brightness(0.3);
}

.kit__main {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) var(--gutter) 0;
}

/* Profile: photo, name, numbers, links. Tight within each group, roomier between them */
.kit__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 144px on laptops, about two thirds of the wordmark's width; 116px on phones */
.kit__avatar {
  width: clamp(116px, 11vw, 144px);
  height: clamp(116px, 11vw, 144px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.kit__name {
  margin-top: 28px;
}

.kit__name svg {
  display: block;
  width: 220px;
  height: 27px;
  fill: currentColor;
}

/* The word sits on the page's centre line, with the pin hanging to its left. The negative margin
   takes back the letter spacing after the last letter. */
.kit__location {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 22px;
  margin-right: -0.22em;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
}

.kit__location svg {
  position: absolute;
  right: calc(100% + 7px);
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Genres as two fine outlined tags */
.kit__genres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* The right padding is short by the letter spacing, which trails the last letter, and the left by
   half a pixel for the space the letters carry on their left (measured), so each word centres in
   its outline */
.kit__genres li {
  --tracking: 0.2em;
  padding: 8px calc(16px - var(--tracking)) 8px 15.5px;
  border: 1px solid rgba(220, 232, 245, 0.18);
  border-radius: 999px;
  background: rgba(220, 232, 245, 0.03);
  font-stretch: 112%;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}

/* Three equal columns, so the figures sit evenly spaced and centred */
.kit__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  width: 100%;
  max-width: 480px;
  margin-top: clamp(40px, 4vw, 56px);
}

/* Figure above its label, though the label comes first for screen readers */
.kit__stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
}

.kit__stats dd {
  font-stretch: 112%;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
}

.kit__stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--fg-dim);
}

.kit__socials {
  display: flex;
  gap: 22px;
  margin-top: clamp(40px, 4vw, 56px);
}

.kit__socials a {
  display: block;
  color: var(--fg-dim);
  transition: color 0.3s;
}

.kit__socials a:hover {
  color: var(--fg);
}

.kit__socials svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Bio, centred, with its copy button underneath */
.kit__bio {
  margin-top: clamp(48px, 4.5vw, 64px);
  text-align: center;
}

.kit__bio p {
  max-width: 36em;
  margin-inline: auto;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
}

.kit__bio p + p {
  margin-top: 0.9em;
}

/* Shown by press.js where the browser can copy to the clipboard */
.kit__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color 0.3s;
}

.kit__copy[hidden] {
  display: none;
}

.kit__copy:hover {
  color: var(--fg);
}

.kit__copy svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* Each block below: a hairline, a small label, then its content */
.kit__block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.kit__label {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--fg-dim);
}

.kit__highlights li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.kit__highlights li + li {
  margin-top: 12px;
}

.kit__highlights li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--accent);
}

.kit__labels {
  font-size: 15px;
  line-height: 1.7;
}

/* A player per top track, best first */
.kit__tracks {
  display: grid;
  gap: 12px;
}

/* Each player in a frame that crops SoundCloud's 3px orange progress bar off its top. The publish
   workflow fails if SoundCloud changes these sizes (scripts/check-players.mjs). */
.kit__player {
  position: relative;
  height: 163px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-strong);
  background: #030508;
}

/* Turns SoundCloud's 16px light strip along the bottom (its privacy link and the label's copyright)
   black, its text light: still there, readable and clickable through the overlay */
.kit__player::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 16px;
  background: #f2f2f2;
  mix-blend-mode: difference;
  pointer-events: none;
}

.kit__player iframe {
  display: block;
  width: 100%;
  height: 166px;
  margin-top: -3px;
  border: 0;
}

/* The live clip, full column width, outlined like the players */
.kit__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  box-shadow: 0 0 0 1px var(--line-strong);
  background: #030508;
}

/* The landscape shot across the top, the four portraits in a row beneath */
.kit__photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.kit__photos li:first-child {
  grid-column: 1 / -1;
}

.kit__photos a {
  position: relative;
  display: block;
  overflow: hidden;
  background: #030508;
}

.kit__photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kit__photos li:first-child img {
  aspect-ratio: 4000 / 2155;
}

/* A download mark in the corner of each photo */
.kit__photos a::after {
  content: "↓";
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg);
  transition: background 0.3s;
}

@media (hover: hover) {
  .kit__photos a:hover img {
    transform: scale(1.06);
  }

  .kit__photos a:hover::after {
    background: var(--accent);
  }
}

.kit__note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
}

/* Each mark on a dark tile, its downloads underneath */
.kit__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kit__logo-tile {
  display: grid;
  place-items: center;
  height: 120px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
}

.kit__logo-tile .wordmark-img {
  width: 76%;
  height: auto;
}

.kit__logo-tile .monogram-img {
  width: 48px;
  height: auto;
}

/* A caption under a logo or the video: its name on the left, links on the right */
.kit__logo-meta,
.kit__video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 10px;
}

.kit__logo-name,
.kit__video-name {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
}

.kit__logo-links {
  display: flex;
  gap: 16px;
}

.kit__email {
  font-size: 15px;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}

.kit__email:hover {
  color: var(--accent-hot);
  background-size: 100% 1px;
}

.kit__footer {
  display: flex;
  justify-content: center;
  margin-top: 72px;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}

.kit__footer svg {
  width: 40px;
  height: 25px;
  fill: currentColor;
  color: var(--fg-faint);
}

@media (max-width: 560px) {
  .kit__stats dd {
    font-size: 22px;
  }

  .kit__stats {
    column-gap: 8px;
  }

  .kit__stats dt {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .kit__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit__logos {
    grid-template-columns: 1fr;
  }
}

/* ── Not found (404.html) ────────────────────────────── */

.lost {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  text-align: center;
}

.lost__wordmark svg {
  display: block;
  width: 220px;
  height: 27px;
  fill: currentColor;
}

.lost__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
}

/* ── Scroll reveal ───────────────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .releases .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.js .releases .reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.js .releases .reveal:nth-child(4) {
  transition-delay: 0.36s;
}

/* ── Reduced motion ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  /* Releases and press photos keep their hover colours but don't lift or zoom */
  .release a,
  .release .cover,
  .release__art::after,
  .kit__photos img {
    transform: none !important;
  }
}
