/* ==========================================================================
   DEVADE — melodic house & techno
   Minimal one-file stylesheet.  Order: tokens → base → layout → components
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/spacegrotesk-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* colour */
  --bone: #f1ebde;
  --bone-2: #e7dfcd;
  --bone-3: #dbd1bb;
  --forest: #14211a;
  --moss: #35543a;
  --moss-soft: #6d8a67;
  --amber: #c8752a;
  --amber-soft: #e0a75c;

  --bg: var(--bone);
  --fg: var(--forest);
  --muted: color-mix(in srgb, var(--forest) 55%, var(--bone));
  --line: color-mix(in srgb, var(--forest) 16%, transparent);

  /* type */
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.87rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 4rem);

  /* space */
  --gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --pad: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --section: clamp(3.25rem, 2rem + 4.5vw, 6rem);
  --shell: 1240px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 3px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* very fine paper grain — keeps the flat beige from looking sterile */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

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

::selection { background: var(--amber); color: var(--bone); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--forest);
  color: var(--bone);
  padding: 0.7em 1.2em;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --- Layout --------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--pad) * 2), var(--shell));
  margin-inline: auto;
}

.section { padding-block: var(--section); }

/* anchor targets clear the sticky/fixed header */
:where(section[id], li[id]) { scroll-margin-top: 88px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding-bottom: 1.4rem;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 34ch;
  color: var(--muted);
}

/* --- Header --------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-head[data-stuck="true"] { border-bottom-color: var(--line); }

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: 68px;
}

/* --- Logo ----------------------------------------------------------------
   One PNG used as a CSS mask, filled with currentColor — so the same file
   works on beige and on dark without a second asset.                      */
.wordmark,
.foot__mark,
.hero__title--logo {
  display: block;
  aspect-ratio: 2362 / 254;
  background-color: currentColor;
  -webkit-mask-image: url("../img/logo.png");
  mask-image: url("../img/logo.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.wordmark {
  width: clamp(94px, 11vw, 148px);
  flex: none;
  color: var(--forest);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 0.3rem + 2vw, 2.2rem);
}

.nav a {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-block: 0.3em;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav__ig { display: inline-flex; }
.nav__ig svg { width: 18px; height: 18px; }

/* header sitting on top of a photo hero — overlays it instead of pushing
   it down, and stays light until the photo has scrolled past */
.site-head--over {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}
.site-head--over:not([data-stuck="true"]) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-head--over:not([data-stuck="true"]) .wordmark { color: var(--bone); }
.site-head--over:not([data-stuck="true"]) .nav a {
  color: color-mix(in srgb, var(--bone) 76%, transparent);
}
.site-head--over:not([data-stuck="true"]) .nav a:hover,
.site-head--over:not([data-stuck="true"]) .nav a[aria-current="page"] {
  color: var(--bone);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  padding-top: clamp(3rem, 1rem + 6vw, 6rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 4rem);
  position: relative;
  overflow: hidden; /* keeps the wide halo from widening the page */
}

/* soft moss halo behind the wordmark */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(120vw, 1100px);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--moss-soft) 30%, transparent) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__inner { position: relative; z-index: 1; }

/* --- Hero with a full-bleed photo behind the type ------------------------- */
.hero--photo {
  color: var(--bone);
  background: var(--forest);
  /* own stacking context, otherwise the background paints over the photo */
  isolation: isolate;
  min-height: 88vh;
  min-height: min(88svh, 880px);
  display: grid;
  align-content: center;
  padding-top: clamp(4rem, 2rem + 7vw, 8rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.hero__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

/* replaces the moss halo: veil that keeps the wordmark readable */
.hero--photo::before {
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: auto;
  height: 100%;
  transform: none;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      color-mix(in srgb, var(--forest) 80%, transparent) 0%,
      color-mix(in srgb, var(--forest) 62%, transparent) 48%,
      color-mix(in srgb, var(--forest) 40%, transparent) 100%
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--forest) 45%, transparent) 0%,
      transparent 28%
    );
}

.hero--photo .eyebrow { color: color-mix(in srgb, var(--bone) 82%, transparent); }
.hero--photo .hero__title { color: var(--bone); }
.hero--photo .hero__claim { color: color-mix(in srgb, var(--bone) 84%, transparent); }
.hero--photo .hero__meta { border-bottom-color: color-mix(in srgb, var(--bone) 26%, transparent); }
.hero--photo .hero__foot { border-top-color: color-mix(in srgb, var(--bone) 26%, transparent); }

.hero--photo .btn { --btn-bg: var(--bone); --btn-fg: var(--forest); border-color: var(--bone); }
.hero--photo .btn--ghost {
  --btn-bg: color-mix(in srgb, var(--forest) 40%, transparent);
  --btn-fg: var(--bone);
  border-color: color-mix(in srgb, var(--bone) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero--photo .btn--ghost:hover {
  --btn-bg: var(--bone);
  --btn-fg: var(--forest);
  border-color: var(--bone);
}

.hero__meta {
  display: flex;
  gap: var(--gap);
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.hero__title {
  font-size: clamp(4rem, 1rem + 19vw, 17rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.045em;
  margin: clamp(1.5rem, 0.5rem + 3vw, 3rem) 0 0;
  color: var(--forest);
}
.hero__title span { display: inline-block; }

.hero__title--logo {
  width: 100%;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: end;
  margin-top: clamp(1.5rem, 0.6rem + 3vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .hero__foot { grid-template-columns: 1.1fr auto; }
}

.hero__claim {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.35;
  max-width: 26ch;
  color: var(--moss);
  margin: 0;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest);
  border-color: color-mix(in srgb, var(--forest) 35%, transparent);
}
.btn--ghost:hover {
  --btn-bg: var(--forest);
  --btn-fg: var(--bone);
}

.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--bone); }

/* --- Ticker --------------------------------------------------------------- */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 0.85rem;
  --ticker-duration: 46s;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker var(--ticker-duration) linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}
.ticker__item {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.ticker__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* --- Feature (latest release) --------------------------------------------- */
.feature {
  background: var(--forest);
  color: var(--bone);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 0.8rem + 3vw, 3.25rem);
  display: grid;
  gap: clamp(1.5rem, 0.8rem + 3vw, 3rem);
  align-items: center;
}
@media (min-width: 860px) {
  .feature { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

.feature__art {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 28px 60px -30px rgb(0 0 0 / 0.75);
}
.feature__art img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.feature .eyebrow { color: var(--amber-soft); }

.feature__title {
  font-size: var(--step-3);
  margin: 0.5rem 0 0.4rem;
  color: var(--bone);
}

.feature__sub {
  color: color-mix(in srgb, var(--bone) 65%, var(--forest));
  font-size: var(--step-0);
  margin-bottom: 1.6rem;
}

.feature .btn--ghost {
  --btn-fg: var(--bone);
  border-color: color-mix(in srgb, var(--bone) 40%, transparent);
}
.feature .btn--ghost:hover { --btn-bg: var(--bone); --btn-fg: var(--forest); }

.embed {
  border: 0;
  width: 100%;
  border-radius: 12px;
  margin-top: 1.6rem;
  display: block;
  color-scheme: normal;
}

/* --- About ---------------------------------------------------------------- */
.about {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
}

.about__body p {
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 46ch;
}
.about__body p + p { margin-top: 1.1em; }

.facts {
  list-style: none;
  margin: clamp(2rem, 1rem + 2vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 46ch;
}
.facts li {
  display: flex;
  justify-content: space-between;
  gap: var(--gap);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.facts b { font-weight: 500; color: var(--muted); }
.facts span { font-weight: 500; color: var(--forest); }

/* --- Photos --------------------------------------------------------------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(150deg, var(--bone-2), var(--bone-3));
  aspect-ratio: 4 / 5;
}
.photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
.photo:hover img { transform: scale(1.035); }

/* shown only while the real photo is missing */
.photo__ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  font-family: var(--display);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--moss) 65%, var(--bone-3));
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 11px,
    color-mix(in srgb, var(--moss) 12%, transparent) 11px 12px
  );
}
.photo__ph::before {
  content: "";
  width: 34px; height: 44px;
  margin: 0 auto;
  background: currentColor;
  opacity: 0.5;
  -webkit-mask: var(--leaf) center / contain no-repeat;
  mask: var(--leaf) center / contain no-repeat;
}
:root {
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4C16 16 14 40 32 60 50 40 48 16 32 4Zm0 8v44' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* --- Release grid (home teaser) ------------------------------------------- */
.grid-releases {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
}

.rcard { display: block; }
.rcard__art {
  overflow: hidden;
  border-radius: 2px;
  background: var(--bone-2);
  box-shadow: 0 14px 34px -22px rgb(20 33 26 / 0.7);
}
.rcard__art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.rcard:hover .rcard__art img { transform: scale(1.05); }
.rcard__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-0);
  margin-top: 0.9rem;
  letter-spacing: -0.01em;
}
.rcard__year {
  font-family: var(--display);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* --- Listen band (button row over a full-bleed photo) --------------------- */
.listen-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--bone);
  margin-top: var(--section);
  padding-block: clamp(3.5rem, 2rem + 7vw, 8rem);
  /* gives the background photo room to breathe instead of a thin slice */
  min-height: clamp(360px, 50vw, 700px);
  display: grid;
  align-content: center;
  /* stays presentable while assets/img/artist/band-bg.jpg is missing */
  background: radial-gradient(
    ellipse at 22% 40%,
    color-mix(in srgb, var(--moss) 62%, var(--forest)),
    var(--forest) 72%
  );
}

.listen-band__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.listen-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

/* veil — just enough to hold the copy; the photo's own dark left side
   does most of the work, so keep it light or the silhouette disappears */
.listen-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--forest) 74%, transparent) 0%,
    color-mix(in srgb, var(--forest) 58%, transparent) 42%,
    color-mix(in srgb, var(--forest) 36%, transparent) 100%
  );
}

/* fades into the footer so both dark blocks read as one closing note */
.listen-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(70px, 12vw, 140px);
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--forest));
}

.listen-band .eyebrow { color: var(--amber-soft); }

.listen-band__title {
  font-size: var(--step-3);
  color: var(--bone);
  max-width: 17ch;
  margin: 0.7rem 0 0;
}

.listen-band__note {
  margin: 0.9rem 0 0;
  max-width: 42ch;
  color: color-mix(in srgb, var(--bone) 72%, var(--forest));
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(1.6rem, 1rem + 2vw, 2.75rem);
}

.btn--on-photo {
  --btn-bg: color-mix(in srgb, var(--forest) 45%, transparent);
  --btn-fg: var(--bone);
  border-color: color-mix(in srgb, var(--bone) 52%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--on-photo:hover {
  --btn-bg: var(--bone);
  --btn-fg: var(--forest);
  border-color: var(--bone);
}

/* the band closes the page, so the footer joins it without a beige seam */
main:has(.listen-band) ~ .site-foot { margin-top: 0; }

/* About: big portrait with the second frame set into its lower-left corner */
.about__media { position: relative; }

.photo--inset {
  margin-top: var(--gap);
  max-width: 62%;
}

/* only once the gutter is wide enough that the inset clears the facts list */
@media (min-width: 1240px) {
  .about__media { padding-bottom: 12%; }
  .photo--inset {
    position: absolute;
    left: -26%;
    bottom: 0;
    width: 44%;
    max-width: none;
    margin: 0;
    /* ring in the page colour separates it from the photo behind */
    box-shadow: 0 0 0 10px var(--bg);
  }
}

/* --- Music page: release table -------------------------------------------- */
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.9rem, 0.5rem + 1.5vw, 1.6rem);
  padding: clamp(0.9rem, 0.5rem + 1vw, 1.35rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
@media (min-width: 780px) {
  .track { grid-template-columns: auto auto minmax(0, 1fr) auto auto; }
}
.track[data-playing="true"] { background: color-mix(in srgb, var(--moss-soft) 16%, transparent); }

.track__no {
  font-family: var(--display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--muted);
  width: 2.2ch;
  display: none;
}
@media (min-width: 780px) { .track__no { display: block; } }

.track__art {
  position: relative;
  width: clamp(56px, 12vw, 76px);
  flex: none;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bone-2);
}
.track__art img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.track__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--forest) 62%, transparent);
  color: var(--bone);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.track:hover .track__play,
.track__play:focus-visible,
.track[data-playing="true"] .track__play { opacity: 1; }

/* touch devices never hover — keep the play affordance visible */
@media (hover: none) {
  .track__play {
    opacity: 1;
    background: color-mix(in srgb, var(--forest) 42%, transparent);
  }
}
.track__play svg { width: 20px; height: 20px; }

.track__main { min-width: 0; }
.track__title {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.track__artists {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 0.2rem;
}

.track__time {
  font-family: var(--display);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  display: none;
}
@media (min-width: 780px) {
  .track__time { display: block; min-width: 9ch; text-align: right; }
}

.track__links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
/* fixed width so rows with fewer platform chips still line up */
@media (min-width: 780px) {
  .track__links {
    grid-column: auto;
    justify-content: flex-end;
    min-width: 268px;
    flex-wrap: nowrap;
  }
}

.chip {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42em 0.85em;
  border: 1px solid color-mix(in srgb, var(--forest) 22%, transparent);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.chip:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bone);
}

/* --- Sticky player -------------------------------------------------------- */
.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--forest) 96%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid color-mix(in srgb, var(--bone) 18%, transparent);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
  padding: 0.6rem 0 max(0.6rem, env(safe-area-inset-bottom));
}
.player[data-open="true"] { transform: translateY(0); }

.player__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.player__frame { flex: 1 1 auto; min-width: 0; }
.player__frame iframe {
  width: 100%;
  height: 80px;
  border: 0;
  border-radius: 10px;
  display: block;
}
.player__close {
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--bone) 30%, transparent);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.player__close:hover { background: var(--bone); color: var(--forest); }
.player__close svg { width: 14px; height: 14px; }

body[data-player="open"] { padding-bottom: 108px; }

/* --- Footer --------------------------------------------------------------- */
.site-foot {
  background: var(--forest);
  color: color-mix(in srgb, var(--bone) 72%, var(--forest));
  padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) 2rem;
  margin-top: var(--section);
}

.foot__top {
  display: grid;
  gap: var(--gap);
  align-items: end;
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 16%, transparent);
}
@media (min-width: 760px) {
  .foot__top { grid-template-columns: 1fr auto; }
}

.foot__mark {
  width: clamp(190px, 32vw, 400px);
  margin: 0;
  color: var(--bone);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.foot__links a {
  font-family: var(--display);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bone) 70%, var(--forest));
  transition: color 0.25s var(--ease);
}
.foot__links a:hover { color: var(--amber-soft); }

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.4rem;
  padding-top: 1.5rem;
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--bone) 52%, var(--forest));
}
.foot__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom a:hover { color: var(--amber-soft); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }

/* --- Prose (legal pages) --------------------------------------------------- */
.prose { max-width: 68ch; overflow-wrap: break-word; }
.prose h1 { font-size: var(--step-3); margin-bottom: 1.2rem; }
.prose h2 {
  font-size: var(--step-1);
  margin: 2.4rem 0 0.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--amber); }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: 0.4em; }
.prose .todo {
  background: color-mix(in srgb, var(--amber) 18%, transparent);
  padding: 0.05em 0.35em;
  border-radius: 2px;
}

/* --- Reveal animation ------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
