/* Felipe Gutiérrez
   Editorial direction: black ground, warm white type, neutral grey for secondary
   information, olive as the single accent. Raleway is the only typeface; hierarchy
   comes from size and weight, not from extra tracking. */

:root {
  /* Colour: every colour on the site is defined here and nowhere else. */
  --ink: #0a0a0a;          /* page base */
  --deep: #111111;         /* footer, raised surfaces */
  --surface: #161616;      /* artwork wells, placeholders */
  --line: #262626;         /* hairlines */
  --line-strong: #3d3d3d;  /* control outlines */
  --grey: #8c8c8c;         /* secondary text, 6.1:1 on ink */
  --text: #f4f2ee;         /* main text, 18:1 on ink */
  --olive: #a5a874;        /* accent: states, hover symbols, focus. 8.4:1 on ink */

  --scrim-strong: color-mix(in srgb, var(--ink) 85%, transparent);
  --scrim-clear: color-mix(in srgb, var(--ink) 0%, transparent);
  --bar: color-mix(in srgb, var(--ink) 92%, transparent);
  --veil: color-mix(in srgb, var(--ink) 97%, transparent);

  /* Alpha for mask-image (.img-fade). Not a visible colour. */
  --mask: #000;
  --mask-half: color-mix(in srgb, var(--mask) 40%, transparent);
  --fade-size: 22%;

  --grain-opacity: 0.045;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 7rem;
  --space-9: 10rem;

  --font: "Raleway", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(3.25rem, 12.5vw, 12rem);
  --fs-h3: clamp(2rem, 1.2rem + 3.6vw, 4.5rem);
  --fs-h4: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  --fs-lead: clamp(1.375rem, 0.95rem + 1.7vw, 2.875rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-label: 0.8125rem;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section-pad: clamp(var(--space-8), 13vw, 12rem);
  --grid-gap: clamp(var(--space-3), 2vw, var(--space-5));
  --masthead-h: 4.25rem;
  /* Motion system. One curve family for the whole site (GSAP: power4.out and
     power3.inOut; Motion: the same cubic-bezier values).
       --ease-out  arrivals, reveals, state changes
       --ease-io   things that travel from one place to another (wipes, scroll)
     Durations: --dur-ui for interface states, --dur-text for copy; headings and
     images run longer in js/motion.js (1.1–1.4 s). */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-ui: 0.28s;
  --dur-text: 0.6s;
}

/* Registered so it can transition: the progress bar glides between updates. */
@property --progress {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
  scroll-padding-top: var(--masthead-h);
}
html:not(.motion) { scroll-behavior: smooth; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100dvh;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Grain: fixed SVG noise above backgrounds and text, below photos (z-index 2). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0.33 0.33 0.33 0 0 0.33 0.33 0.33 0 0 0.33 0.33 0.33 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

/* Links never fall back to browser blue/purple, visited or not. */
a,
a:visited { color: inherit; text-decoration: none; }
a { -webkit-tap-highlight-color: transparent; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }

::selection { background: var(--olive); color: var(--ink); }

/* Focus: visible for keyboards only, in the accent colour; no outline after a click. */
:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--olive);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* The logo is an inline SVG; it takes the text colour of wherever it sits. */
.logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3828 / 900;
  fill: currentColor;
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--text);
  color: var(--ink) !important;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* Shared pieces ------------------------------------------------------------ */

/* Labels: small uppercase Raleway with light tracking, for metadata and times. */
.label {
  font-family: var(--font);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.section-head { display: grid; gap: var(--space-3); margin-bottom: clamp(var(--space-6), 7vw, var(--space-8)); }
.section-head--end { justify-items: end; text-align: right; }

.section-title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-left: -0.05em;
}

/* Justified copy. Paragraphs that SplitText breaks into lines ([data-split]) need
   every line but the last forced to full width, since each line is its own box.
   Hyphenation only on unsplit copy: SplitText cannot split inside a word. */
.about__lead,
.about__body,
.floor__intro,
.identity dd {
  text-align: justify;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.about__body,
.identity dd {
  -webkit-hyphens: auto;
  hyphens: auto;
}
[data-split].is-split .line { text-align-last: justify; }
.section-title.is-split .line,
[data-split].is-split > .line:last-child,
[data-split].is-split > .line-mask:last-child .line { text-align-last: auto; }

/* A frame that clips its image; the inner layer is what moves. */
.media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--surface);
}
.media__inner { display: block; height: 100%; will-change: transform; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Faded images: the frame dissolves into the black instead of showing an edge. */
.img-fade {
  --ft: 0%;
  --fb: 0%;
  --fl: 0%;
  --fr: 0%;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent, var(--mask-half) calc(var(--ft) * 0.45), var(--mask) var(--ft)),
    linear-gradient(to top, transparent, var(--mask-half) calc(var(--fb) * 0.45), var(--mask) var(--fb)),
    linear-gradient(to right, transparent, var(--mask-half) calc(var(--fl) * 0.45), var(--mask) var(--fl)),
    linear-gradient(to left, transparent, var(--mask-half) calc(var(--fr) * 0.45), var(--mask) var(--fr));
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent, var(--mask-half) calc(var(--ft) * 0.45), var(--mask) var(--ft)),
    linear-gradient(to top, transparent, var(--mask-half) calc(var(--fb) * 0.45), var(--mask) var(--fb)),
    linear-gradient(to right, transparent, var(--mask-half) calc(var(--fl) * 0.45), var(--mask) var(--fl)),
    linear-gradient(to left, transparent, var(--mask-half) calc(var(--fr) * 0.45), var(--mask) var(--fr));
  mask-composite: intersect;
}
.fade-t { --ft: var(--fade-size); }
.fade-b { --fb: var(--fade-size); }
.fade-l { --fl: var(--fade-size); }
.fade-r { --fr: var(--fade-size); }
@media (max-width: 47.99em) {
  .img-fade { --fade-size: 32%; }
}

/* Pill button (booking). */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3.5rem;
  padding: 0 var(--space-5);
  border-radius: 999px;
  background: var(--text);
  color: var(--ink) !important;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.4s var(--ease-out);
}
.button:active { background: var(--olive); }


/* Drawn hairlines: a 1px rule whose length is --draw (0–1), animated on scroll. */
.music-block__head::before,
.venue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(var(--draw));
  transform-origin: left;
}

/* Hover scramble (js/interactions.js): on hover the text runs through symbols and
   resolves left to right, once per hover. */
[data-scramble] { position: relative; }
[data-scramble-text] { position: relative; display: inline-block; }
.scramble-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: pre;
  pointer-events: none;
}
.is-scrambling { color: transparent !important; }


/* Masthead ----------------------------------------------------------------- */

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--masthead-h);
  padding: 0 var(--gutter);
  color: var(--text);
  transition: transform 0.6s var(--ease-out), background-color 0.4s linear;
}
.masthead.is-solid { background: var(--bar); }
.masthead.is-hidden { transform: translateY(-100%); }
.menu-open .masthead { transform: none; background: transparent; }

.masthead__mark {
  display: flex;
  align-items: center;
  min-height: 44px;
  opacity: 0;
  transform: translateY(calc(var(--space-2) * -1));
  transition: opacity 0.5s linear, transform 0.6s var(--ease-out);
  pointer-events: none;
}
.masthead__mark .logo { width: clamp(8rem, 12vw, 10rem); }
.masthead.is-past-hero .masthead__mark,
.menu-open .masthead__mark {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.masthead__nav { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  min-width: 44px;
  padding: 0 0 0 var(--space-3);
  font-family: var(--font);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.menu-toggle__bars {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 0.5rem;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { bottom: 0; }
.menu-open .menu-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 64em) {
  .masthead__nav { display: block; }
  .masthead__nav ul { display: flex; gap: clamp(var(--space-4), 2.6vw, 2.75rem); }
  .masthead__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    min-height: 44px;
    font-family: var(--font);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey);
    transition: color var(--dur-ui) linear;
  }
  .masthead__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.55rem;
    height: 1px;
    background: var(--olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-text) var(--ease-out);
  }
  .masthead__nav a[aria-current="true"] { color: var(--text); }
  .masthead__nav a[aria-current="true"]::after { transform: scaleX(1); }
  .menu-toggle { display: none; }
}
@media (hover: hover) {
  .masthead__nav a:hover { color: var(--text); }
}

/* Full-screen menu (below 64em) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--masthead-h) + var(--space-5)) var(--gutter) max(var(--space-5), env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--text);
  opacity: 0;
  transition: opacity 0.4s linear;
}
.menu.is-open { opacity: 1; }

.menu__nav ol { display: grid; }
.menu__nav li { overflow: hidden; border-top: 1px solid var(--line); }
.menu__nav a {
  display: block;
  padding: var(--space-2) 0;
  font-size: clamp(2.5rem, 12vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.menu__nav a span {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-3);
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out), color 0.3s linear;
}
.menu.is-open .menu__nav a span { transform: none; }
.menu.is-open .menu__nav li:nth-child(2) a span { transition-delay: 0.05s, 0s; }
.menu.is-open .menu__nav li:nth-child(3) a span { transition-delay: 0.1s, 0s; }
.menu.is-open .menu__nav li:nth-child(4) a span { transition-delay: 0.15s, 0s; }
.menu.is-open .menu__nav li:nth-child(5) a span { transition-delay: 0.2s, 0s; }
.menu__nav a:active span { color: var(--olive); }

.menu__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.menu__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  height: 100svh;
  height: 100dvh;
  min-height: 36rem;
  overflow: hidden;
  isolation: isolate;
}

/* Phones: photo on the upper part, fading out above and below; type underneath. */
.hero__portrait {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 54%;
}
.hero__portrait.img-fade { --ft: 22%; --fb: 34%; --fl: 0%; }
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
}


.hero__type {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(var(--space-7), 9svh);
  display: grid;
  gap: var(--space-4);
}
.hero__name { color: var(--text); }
.hero__name .logo { width: min(100%, 30rem); }

/* The short paragraph beside the logo: role, one sentence, genres. */
.hero__intro { display: grid; gap: var(--space-2); max-width: 24rem; }
.hero__role {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.hero__text {
  font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.5;
  color: color-mix(in srgb, var(--text) 82%, transparent);
}
.hero__genres {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
  margin-top: var(--space-1);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Scroll cue: two stacked chevrons, centred, drifting down and fading. */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: max(var(--space-3), env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  align-content: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  color: var(--text);
}
.hero__chevron {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.3rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: chevron 1.8s var(--ease-io) infinite;
}
.hero__chevron + .hero__chevron { animation-delay: 0.18s; }
@keyframes chevron {
  0% { opacity: 0; transform: translateY(-6px) rotate(45deg); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(6px) rotate(45deg); }
}

@media (min-width: 48em) and (orientation: landscape), (min-width: 64em) {
  .hero__portrait {
    inset: 0 0 0 auto;
    width: 58%;
    height: 100%;
  }
  .hero__portrait.img-fade { --ft: 14%; --fb: 24%; --fl: 40%; }
  .hero__portrait img { object-position: 30% 40%; }
  .hero__portrait { width: 52%; }
  .hero__portrait.img-fade { --fl: 50%; }
  /* Horizontal composition: logo, then the paragraph aligned to its baseline. */
  .hero__type {
    right: auto;
    grid-template-columns: max-content minmax(0, 18rem);
    justify-content: start;
    align-items: end;
    column-gap: clamp(var(--space-4), 2.6vw, var(--space-6));
    bottom: clamp(var(--space-6), 12vh, var(--space-8));
  }
  .hero__name .logo { width: min(36vw, 42rem); }
  .hero__intro { padding-bottom: 0.4em; }
}

/* About -------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.about__photo {
  position: relative;
  z-index: 2;
  height: min(68svh, 120vw);
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 60%, transparent 100%);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__text {
  display: grid;
  align-content: center;
  gap: var(--space-6);
  padding: var(--space-5) var(--gutter) var(--section-pad);
}

.about__lead {
  max-width: 30ch;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.about__lead strong { font-weight: 600; color: var(--olive); }

.identity { display: grid; border-bottom: 1px solid var(--line); }
.identity__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
}
.identity dd { max-width: 46ch; color: var(--text); line-height: 1.5; }

.about__body {
  max-width: 46ch;
  color: var(--grey);
  line-height: 1.7;
}

@media (min-width: 36em) {
  .identity__row { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-4); }
  .identity__row .label { padding-top: 0.3em; }
}

@media (min-width: 48.0625em) {
  .about { grid-template-columns: 5fr 7fr; }
  .about__photo {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, var(--mask) 0%, var(--mask) 55%, transparent 100%);
    mask-image: linear-gradient(to right, var(--mask) 0%, var(--mask) 55%, transparent 100%);
  }
  .about__photo img { position: absolute; inset: 0; }
  .about__text {
    grid-column: 2;
    grid-row: 1;
    padding: var(--section-pad) var(--gutter) var(--section-pad) var(--space-5);
  }
}

/* Sound -------------------------------------------------------------------- */

.sound { padding: var(--section-pad) var(--gutter); }
.sound > * { max-width: 90rem; margin-inline: auto; }

.music-block { margin-top: clamp(var(--space-7), 9vw, var(--space-9)); }
.music-block:first-of-type { margin-top: 0; }
.music-block__head {
  --draw: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-2) var(--space-4);
  padding-top: var(--space-4);
  margin-bottom: var(--space-6);
}
.music-block__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
@media (min-width: 48em) {
  .music-block__head { grid-template-columns: minmax(0, 1fr) auto; }
}

/* EPs ---------------------------------------------------------------------- */
.eps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7) var(--grid-gap);
}
.ep { display: grid; gap: var(--space-4); align-content: start; }
.ep__disc {
  /* Above the page grain (z-index 1), like every other photo, so the artwork
     shows at full strength instead of behind the noise layer. */
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}
.ep__disc img {
  width: 100%;
  height: auto;
  clip-path: circle(34.6% at 50% 50%); /* the disc only, not the photo's own backdrop */
  transition: transform 0.9s var(--ease-out);
}
.ep__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-3); align-items: baseline; }
.ep__title { grid-column: 1; grid-row: 1; }
.ep__title {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ep__genre { grid-column: 1; color: var(--grey); }
.ep__status { grid-column: 2; grid-row: 1; color: var(--text); }


@media (min-width: 48em) {
  .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (hover: hover) {
  .ep:hover .ep__disc img { transform: scale(1.025); }
}

/* Sessions and Remixes & Bootlegs: rows on hairlines ---------------------- */
.music-list { border-bottom: 1px solid var(--line); }
.music-item {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.5s var(--ease-out);
}
.music-list--tracks .music-item { grid-template-columns: minmax(0, 1fr); }
.music-item__art {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  background: var(--surface);
}
.music-item__info { min-width: 0; }
.music-item__title {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  transition: color var(--dur-text) var(--ease-out);
}
.music-item__credit { margin-top: var(--space-1); color: var(--grey); font-size: 0.9375rem; }
.music-item .player { grid-column: 1 / -1; }
.music-item__source {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s linear;
}
.music-item:has(.is-playing) .music-item__title { color: var(--olive); }

@media (min-width: 48em) {
  .music-item {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(16rem, 1fr) 7rem;
    gap: var(--space-5);
    padding: var(--space-5) 0;
  }
  .music-list--tracks .music-item { grid-template-columns: minmax(0, 1fr) minmax(16rem, 1fr) 7rem; }
  .music-item__art { width: 4.5rem; height: 4.5rem; }
  .music-item .player { grid-column: -3; }
  .music-item__source { grid-column: -2; justify-self: end; }
}
@media (hover: hover) {
  .music-item:hover { background: color-mix(in srgb, var(--text) 2.5%, transparent); }
  .music-item__source:hover { color: var(--text); }
}

/* Player: one look for every source. States: .is-playing, .is-loading, .is-native;
   --progress (0%–100%) drives the bar. */
.player {
  --progress: 0%;
  transition: --progress 0.3s linear;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
}
.player__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
/* Play and pause share one 10-point shape, so the icon morphs between them. */
.player__icon {
  width: 0.75rem;
  height: 0.85rem;
  margin-left: 0.15rem;
  background: currentColor;
  clip-path: polygon(0 0, 50% 25%, 50% 75%, 0 100%, 0 0, 50% 25%, 100% 50%, 100% 50%, 50% 75%, 50% 25%);
  transition: clip-path var(--dur-ui) var(--ease-out), margin var(--dur-ui) var(--ease-out);
}
.is-playing .player__toggle { background: var(--olive); border-color: var(--olive); color: var(--ink); }
.is-playing .player__icon {
  margin-left: 0;
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}
/* Waiting for SoundCloud: the outline breathes until playback actually starts. */
.is-loading .player__toggle { border-color: var(--olive); animation: pulse 1.2s var(--ease-io) infinite; }
@keyframes pulse { 50% { border-color: var(--line-strong); } }
@media (hover: hover) {
  .player__toggle:hover { border-color: var(--olive); }
}

.player__body { display: grid; gap: 0.35rem; min-width: 0; }
.player__now {
  display: flex;
  align-items: center;
  gap: 0;
  transition: color var(--dur-ui) linear;
  min-width: 0;
  font-family: var(--font);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey);
}
.player__now > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.is-playing .player__now { color: var(--text); gap: var(--space-2); }

/* Level meter: three bars, shown only while the player is playing. */
.player__eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 0;
  height: 0.7rem;
  flex: none;
  overflow: hidden;
  opacity: 0;
  transition: width var(--dur-ui) var(--ease-out), opacity var(--dur-ui) linear;
}
.player__eq i { width: 2px; height: 100%; background: var(--olive); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite alternate; }
.player__eq i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.player__eq i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.1s; }
.is-playing .player__eq { width: 10px; opacity: 1; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

.player__time {
  font-family: var(--font);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  font-variant-numeric: lining-nums tabular-nums;
}

/* Progress: a native range input (keyboard and screen-reader friendly), restyled. */
.player__progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.25rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.player__progress:disabled { cursor: default; }
.player__progress::-webkit-slider-runnable-track {
  height: 1px;
  background: linear-gradient(to right, var(--text) var(--progress), var(--line-strong) var(--progress));
}
.player__progress::-moz-range-track { height: 1px; background: var(--line-strong); }
.player__progress::-moz-range-progress { height: 1px; background: var(--text); }
.player__progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.6875rem;
  height: 0.6875rem;
  margin-top: -0.3125rem;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
  transform: scale(0);
  transition: transform 0.3s var(--ease-out);
}
.player__progress::-moz-range-thumb {
  width: 0.6875rem;
  height: 0.6875rem;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
  transform: scale(0);
  transition: transform 0.3s var(--ease-out);
}
.is-playing .player__progress::-webkit-slider-thumb,
.player__progress:focus-visible::-webkit-slider-thumb,
.player__progress:not(:disabled):hover::-webkit-slider-thumb { transform: scale(1); }
.is-playing .player__progress::-moz-range-thumb,
.player__progress:focus-visible::-moz-range-thumb,
.player__progress:not(:disabled):hover::-moz-range-thumb { transform: scale(1); }
.player__progress:focus-visible { outline-offset: 2px; }
/* Touch: bigger targets and a thumb that is always there to grab. */
@media (pointer: coarse) {
  .player__toggle { width: 3.25rem; height: 3.25rem; }
  .player__progress { height: 2rem; }
  .player__progress:not(:disabled)::-webkit-slider-thumb { transform: scale(1); }
  .player__progress:not(:disabled)::-moz-range-thumb { transform: scale(1); }
}

/* The SoundCloud widget stays loaded but out of sight while our controls drive it. */
.player__frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
/* Fallback: the browser would not let our controls start playback, so the native
   SoundCloud player replaces them. */
.player.is-native { grid-template-columns: minmax(0, 1fr); }
.player.is-native > :not(.player__frame) { display: none; }
.player.is-native .player__frame {
  position: static;
  width: 100%;
  height: 166px;
  opacity: 1;
  pointer-events: auto;
}

/* Platforms ------------------------------------------------------------------ */
.platforms {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(var(--space-7), 9vw, var(--space-9));
  border-top: 1px solid var(--line);
}
.platform {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.platform__name {
  font-size: clamp(2.25rem, 1rem + 3.2vw, 4.25rem);
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  transition: color 0.4s var(--ease-out), transform 0.8s var(--ease-out);
}
@media (min-width: 48em) {
  .platforms { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .platforms li + li .platform { padding-left: var(--space-4); border-left: 1px solid var(--line); }
}
@media (hover: hover) {
  .platform:hover .platform__name { color: var(--olive); }
}

/* Booking ------------------------------------------------------------------ */
/* Photo first, then the contact block, on every screen. The photo is a contained
   frame (not a full-bleed fade) and the section keeps full padding below it, so it
   never reads as part of the Dance floor image that follows. */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  padding: var(--section-pad) var(--gutter);
}
.booking > * { min-width: 0; }

.booking__photo {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.booking__photo img { width: 100%; height: 100%; object-fit: cover; }

.booking__body { position: relative; z-index: 3; }
.booking__contact { display: grid; gap: var(--space-5); }
.booking__line {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.booking__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.booking__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.375rem);
  color: var(--grey) !important;
  overflow-wrap: anywhere;
  transition: color var(--dur-ui) linear;
}
[data-site-fallback] { margin-top: var(--space-4); }

.booking__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.booking__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--dur-ui) linear;
}

@media (hover: hover) {
  .button:hover { background: var(--olive); }
  .booking__email:hover,
  .booking__links a:hover { color: var(--text) !important; }
}

@media (min-width: 48.0625em) {
  .booking {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(var(--space-6), 7vw, var(--space-9));
    align-items: center;
    max-width: calc(90rem + 2 * var(--gutter));
    margin-inline: auto;
  }
  .booking__photo { grid-column: 1; grid-row: 1; }
  .booking__body { grid-column: 2; grid-row: 1; }
}

/* Dance floor -------------------------------------------------------------- */

.floor { padding-bottom: var(--section-pad); }

.floor__stage { position: relative; color: var(--text); }
.floor__image { height: 78svh; min-height: 26rem; }
.floor__image img { object-position: 40% 35%; }
.floor__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--scrim-strong) 0%, var(--scrim-clear) 55%);
}
.floor__head {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--space-5);
  display: grid;
  gap: var(--space-3);
}
.floor__head .label { color: var(--text); }

.floor__story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  margin: var(--section-pad) var(--gutter) 0;
}
.floor__intro {
  max-width: 38rem;
  font-size: clamp(1.125rem, 0.95rem + 0.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.floor__frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
}
.floor__frame--v { aspect-ratio: 2 / 3; }
.floor__frame--h { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 3 / 2; }
.floor__frame--v:last-child { margin-top: var(--space-7); }

.venues {
  margin: var(--section-pad) var(--gutter) 0;
  border-bottom: 1px solid var(--line);
}
.venue {
  --draw: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-3) 0;
}
.venue__name {
  font-size: clamp(2.5rem, 9vw, 8.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  transition: transform 0.9s var(--ease-out), color 0.4s linear;
}
.venue__city {
  font-family: var(--font);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}
.venue__note { margin-left: var(--space-3); color: var(--olive); }

@media (hover: hover) {
  .venue:hover .venue__name { color: var(--olive); }
}

@media (min-width: 48em) {
  .floor__story {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
  }
  .floor__intro { grid-column: 1 / span 6; position: sticky; top: calc(var(--masthead-h) + var(--space-5)); }
  .floor__frames { grid-column: 7 / -1; }
  .venue { grid-template-columns: minmax(0, 1fr) 18rem; }
  .venue__city { text-align: right; }
}
@media (min-width: 64em) {
  .floor__image { height: min(94vh, 64rem); }
  .floor__head { bottom: var(--space-6); }
}

/* Gallery ------------------------------------------------------------------ */
/* Compact editorial layout.
   Phones: two columns; the first two photos and the last run full width, pairs in between.
   Wider: two justified rows. Each photo's flex-grow is its aspect ratio (--r), so
   every photo in a row has the same height, keeps its own proportions, and the
   row fills the width exactly: shared top and bottom edges, even gaps. */

.gallery { padding: var(--section-pad) var(--gutter); }
.gallery > * { max-width: 90rem; margin-inline: auto; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}
.gallery__row { display: contents; }
.shot { min-width: 0; }
.shot__open { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; }
.shot--1,
.shot--2,
.shot--7 { grid-column: 1 / -1; }
.shot--1 .shot__open { aspect-ratio: 4 / 5; }
.shot--2 .shot__open,
.shot--7 .shot__open { aspect-ratio: 3 / 2; }
.shot__open img { transition: transform 0.9s var(--ease-out), opacity var(--dur-text) var(--ease-out); }

.shot--1 { --r: 0.667; }
.shot--2 { --r: 1.5; }
.shot--3 { --r: 0.667; }
.shot--4 { --r: 1.03; }
.shot--5 { --r: 0.667; }
.shot--6 { --r: 1.5; }
.shot--7 { --r: 1.5; }

/* Hover label, revealed by the scramble on pointer devices. */
.shot__label {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  z-index: 3;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.3s linear;
}

@media (min-width: 48em) {
  .gallery__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
  .gallery__row { display: flex; gap: var(--grid-gap); }
  .gallery__row .shot { flex: var(--r) 1 0; }
  .gallery__row .shot__open,
  .gallery__row .shot--1 .shot__open,
  .gallery__row .shot--2 .shot__open,
  .gallery__row .shot--7 .shot__open { aspect-ratio: var(--r); }
}
@media (hover: hover) {
  .shot__open:hover img { transform: scale(1.025); }
  .shot__open:hover .shot__label { opacity: 1; }
  .gallery__grid:has(.shot__open:hover) .shot__open:not(:hover) img { opacity: 0.6; }
}

/* Lightbox: the full photo at its own ratio, never cropped. */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--veil);
  color: var(--text);
  overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }

.lightbox__stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: var(--space-7) var(--gutter);
}
.lightbox__image {
  max-width: 100%;
  max-height: calc(100dvh - var(--space-7) * 2);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  transition: opacity 0.35s linear, transform 0.6s var(--ease-out);
}
.lightbox__image.is-swapping { opacity: 0; transform: scale(0.985); }

.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: var(--space-4);
  transform: translateX(-50%);
  font-family: var(--font);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--grey);
}
.lightbox__close {
  position: absolute;
  top: var(--space-3);
  right: var(--gutter);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--space-1);
  font-family: var(--font);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lightbox__btn {
  position: absolute;
  top: var(--space-7);
  bottom: var(--space-7);
  width: max(44px, 22vw);
}
.lightbox__btn--prev { left: 0; }
.lightbox__btn--next { right: 0; }
.lightbox__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  opacity: 0.6;
  transition: opacity 0.3s linear;
}
.lightbox__btn--prev::before { left: var(--gutter); transform: translateY(-50%) rotate(-45deg); }
.lightbox__btn--next::before { right: var(--gutter); transform: translateY(-50%) rotate(135deg); }
.lightbox__btn:hover::before,
.lightbox__btn:focus-visible::before { opacity: 1; }
.lightbox__btn:focus-visible { outline-offset: -4px; }

/* Footer ------------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-7);
  padding: var(--space-8) var(--gutter) max(var(--space-5), env(safe-area-inset-bottom));
  background: var(--deep);
  border-top: 1px solid var(--line);
}
.footer__top { display: grid; gap: var(--space-5); }
.footer__mark { display: block; width: min(100%, 64rem); color: var(--text) !important; }
.footer__about { font-size: var(--fs-h4); font-weight: 400; line-height: 1.2; letter-spacing: -0.025em; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--grid-gap);
}
.footer__col { display: grid; align-content: start; gap: var(--space-2); }
.footer__col ul { display: grid; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  overflow-wrap: anywhere;
  transition: color 0.3s linear;
}
.footer__email { font-size: 0.9375rem; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.footer__top-link { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 48em) {
  .footer__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; }
  .footer__about { justify-self: end; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) {
  .footer__col a:hover,
  .footer__top-link:hover { color: var(--olive); }
}

/* Motion states ------------------------------------------------------------ */
/* Elements start hidden only when motion is on and JS is running; js/motion.js
   reveals them (and the 4 s failsafe in <head> shows everything if it can't). */
.motion [data-fade],
.motion [data-hero-role],
.motion [data-hero-genres] li,
.motion [data-hero-scroll],
.motion .masthead__nav li,
.motion .identity__row,
.motion .platform,
.motion .footer__col,
.motion .footer__base { opacity: 0; }

/* Logo: hidden behind its own wipe until the hero timeline writes it in. */
.motion [data-hero-logo] .logo,
.motion .footer__mark .logo { clip-path: inset(0 100% 0 0); }
.motion [data-hero-text] { visibility: hidden; }
.motion [data-split] { visibility: hidden; }
.motion [data-split].is-split { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* SplitText masks clip at the line box; tight display leading would cut descenders
   (g, y, p). Extend the clip area downwards without changing the layout. */
.line-mask,
.word-mask {
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

/* Small phones: keep the identity copy compact. */
@media (max-width: 29.99em) {
  .identity dd { font-size: 0.9375rem; }
}

/* Touch screens: a plain pressed state stands in for hover. */
@media (hover: none) {
  a:active,
  .shot__open:active { opacity: 0.65; }
}
