/* Felipe Gutiérrez — Solid Concept */

:root {
  /* Colour: every colour on the site is defined here and nowhere else.
     The whole site is dark; values come from the IMG_9422 grade.
       --ink        #070908  page base
       --deep       #171d1a  surfaces (footer, placeholders)
       --forest     #1e2522  surfaces
       --teal-dark  #273735  separations
       --teal       #3a4d4a  thin lines
       --teal-mid   #546a65  borders, stronger lines
       --mist       #99a39a  secondary text (7.6:1 on ink)
       --text       #e4e9e5  main text (16:1 on ink)
       --red        #b9423a  the one accent: lines, hovers, fills, large headings.
                             3.7:1 on ink, so never used for small text.
     Photos are never tinted. The only overlay allowed is a neutral ink scrim
     where text sits on a picture; .img-fade masks are alpha-only.
     Spacing: --space-1 … --space-9 is the only spacing scale. */

  --ink: #070908;
  --deep: #171d1a;
  --forest: #1e2522;
  --teal-dark: #273735;
  --teal: #3a4d4a;
  --teal-mid: #546a65;
  --mist: #99a39a;
  --text: #e4e9e5;
  --red: #b9423a;

  /* Derived from the palette */
  --scrim-strong: color-mix(in srgb, var(--ink) 88%, transparent);
  --scrim-soft: color-mix(in srgb, var(--ink) 45%, transparent);
  --scrim-clear: color-mix(in srgb, var(--ink) 0%, transparent);
  --bar: color-mix(in srgb, var(--ink) 94%, 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%;

  /* Film grain over the whole page. 0.04–0.08 reads as texture;
     set to 0 to switch it off. */
  --grain-opacity: 0.06;

  --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;
  --gutter: clamp(var(--space-3), 4vw, 3.5rem);
  --section-pad: clamp(var(--space-7), 11vw, var(--space-9));
  --grid-gap: clamp(var(--space-3), 2vw, var(--space-5));
  --gallery-gap: var(--space-3);
  --masthead-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --title: clamp(3.25rem, 11vw, 9.5rem);
  --title-xl: clamp(4.25rem, 18vw, 17.5rem);
}

/* 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: 1.0625rem;
  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: a fixed, static noise layer drawn with SVG feTurbulence (no image files).
   It sits above backgrounds and text but below photos (.media and the hero use
   z-index 2), so pictures are never washed. Strength: --grain-opacity in :root. */
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; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

::selection { background: var(--red); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--red);
  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);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* Section colours ---------------------------------------------------------- */
/* One dark ground for every section; the grain shows through them. */

.footer { background: var(--deep); border-top: 1px solid var(--teal); }

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

.section-title {
  font-size: var(--title);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-title--xl { font-size: var(--title-xl); letter-spacing: -0.05em; }

/* Long-form copy: light weight, generous leading. */
.about__lead,
.about__body,
.floor__intro,
.booking__line { font-weight: 300; }

/* A frame that clips its image; the inner layer is what moves. */
.media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--forest);
}

/* Faded images: the frame dissolves into the black instead of showing an edge.
   Combine edges freely: .img-fade.fade-t.fade-b, or .fade-all for every side.
   Alpha-only masks on the static frame, so object-position and the transform
   animations on the inner layer keep working. Edge length: --fade-size, or set
   --ft / --fb / --fl / --fr directly. */
.img-fade {
  --ft: 0%;
  --fb: 0%;
  --fl: 0%;
  --fr: 0%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -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); }
.fade-all { --ft: var(--fade-size); --fb: var(--fade-size); --fl: var(--fade-size); --fr: var(--fade-size); }
/* Phones: longer, softer edges so the subject is never cut. */
@media (max-width: 47.99em) {
  .img-fade { --fade-size: 32%; }
}
.media__inner { display: block; height: 100%; will-change: transform; }
.media img { width: 100%; height: 100%; object-fit: cover; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 1rem;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.55rem;
  height: 1px;
  background: var(--red);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(0); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 var(--space-5);
  background: var(--text);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.button:hover { background: var(--red); color: var(--text); }

/* Preloader curtain: only on the first visit of a session, never blocks input. */
.curtain { display: none; }
.first-visit .curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--text);
  pointer-events: none;
}
.curtain__mark { width: min(70vw, 28rem); opacity: 0; }

/* 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(9rem, 14vw, 11.5rem); }
.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-weight: 600;
  font-size: 0.9375rem;
}
.menu-toggle__bars {
  position: relative;
  display: block;
  width: 1.75rem;
  height: 0.75rem;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  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(5px) rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 64em) {
  .masthead__nav { display: block; }
  .masthead__nav ul { display: flex; gap: clamp(var(--space-4), 2.4vw, 2.5rem); }
  .masthead__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    font-size: 0.9375rem;
    font-weight: 500;
  }
  .masthead__nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.6rem;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out);
  }
  .masthead__nav a:hover::after,
  .masthead__nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .masthead__cta { font-weight: 800 !important; }
  .menu-toggle { display: none; }
}

/* 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; gap: var(--space-1); }
.menu__nav li { overflow: hidden; }
.menu__nav a {
  display: block;
  font-size: clamp(2.75rem, 13vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.menu__nav a span {
  display: inline-block;
  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:hover span,
.menu__nav a:focus-visible span { color: var(--red); }

.menu__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--teal);
}
.menu__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--mist);
}

/* Hero --------------------------------------------------------------------- */
/* IMG_8387 (re-cropped, 1.13:1). Focal points: face ≈ 45% 30%, record ≈ 65% 70%.
   The photo dissolves into the black (.img-fade) and the type sits on that black. */

.hero {
  position: relative;
  z-index: 2;
  height: 100svh;
  height: 100dvh;
  min-height: 34rem;
  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: 62%;
}
.hero__portrait.img-fade { --ft: 22%; --fb: 30%; --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-5), 4svh);
}
.hero__name { color: var(--text); }
.hero__name .logo { width: min(100%, 30rem); }

.hero__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
  margin-top: var(--space-4);
}
.hero__project {
  font-size: clamp(1.625rem, 2.8vw, 2.75rem);
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.hero__role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mist);
}

/* Wider screens: photo on the right, dissolving to the left where the type is. */
@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__type { right: auto; bottom: clamp(var(--space-6), 10vh, var(--space-8)); }
  /* The logo ends inside the faded edge, short of the face. */
  .hero__name .logo { width: min(54vw, 56rem); }
  .hero__signature { margin-top: clamp(var(--space-4), 3vh, var(--space-6)); }
}

/* About -------------------------------------------------------------------- */
/* Phones: photo on top, full width, fading at its bottom edge into the black.
   Wider: photo flush with the left edge of the window, full section height,
   ~50% wide, fading only on its right side; the text column starts exactly where
   the fade reaches --ink. The section is as tall as the text. */

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

.about__photo {
  position: relative;
  z-index: 2;
  height: min(70svh, 125vw);
  -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 {
  padding: var(--space-5) var(--gutter) var(--section-pad);
}

.about__title { margin-bottom: var(--space-6); text-align: center; }

.about__lead {
  margin: 0 auto;
  max-width: 65ch;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.about__lead strong { font-weight: 800; }
.about__lead .keep { white-space: nowrap; }

.about__body {
  max-width: 65ch;
  margin: var(--space-5) auto 0;
  color: var(--mist);
  font-size: 1.0625rem;
  line-height: 1.8;
}

@media (min-width: 48.0625em) {
  .about { grid-template-columns: 1fr 1fr; }
  .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);
  }
  .about__lead { max-width: 40ch; margin-inline: 0; }
  .about__body { margin-inline: 0; }
}

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

.sound {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: var(--section-pad) var(--gutter);
}

.sound__title { margin-bottom: var(--space-6); margin-left: -0.06em; }

.soundcloud {
  display: flex;
  align-items: flex-end;
  border-top: 1px solid var(--teal);
  color: var(--text);
}

.soundcloud__body {
  width: 100%;
  padding: var(--space-5) 0 0;
}
.soundcloud__title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-4);
}

.player { margin-bottom: var(--space-3); }
.player__start {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  font-weight: 700;
  font-size: 1.125rem;
}
.player__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.6s var(--ease-out);
}
.player__icon::before {
  content: "";
  margin-left: var(--space-1);
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 1rem;
  border-color: transparent transparent transparent var(--text);
}
.player__start:hover .player__icon { transform: scale(1.08); }
.player__note { margin-top: var(--space-2); font-size: 0.875rem; color: var(--mist); }

.player iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
  background: var(--ink);
}

.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.release__cover {
  display: block;
  width: min(78%, 26rem);
  margin-inline: auto;
  overflow: hidden;
}
.release__cover img { transition: transform 1s var(--ease-out); }
.release__cover:hover img { transform: scale(1.04); }
.release__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}
.release__title span { font-weight: 200; }
.release__artists { margin-top: var(--space-3); font-size: 1.125rem; font-weight: 500; color: var(--text); }
.release__detail { font-size: 0.9375rem; font-weight: 300; margin-bottom: var(--space-2); }

/* Upcoming Solid Concept releases: the disc art carries the colour, the UI stays neutral. */
.upcoming {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  margin-top: var(--space-8);
}
.upcoming__disc img { width: min(100%, 26rem); height: auto; }
.upcoming__title {
  margin-top: var(--space-4);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.upcoming__genre { font-weight: 300; font-size: 1.125rem; color: var(--mist); }
.upcoming__status {
  margin-top: var(--space-2);
  font-weight: 700;
  font-size: 0.9375rem;
}

@media (min-width: 48em) {
  .upcoming { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
}

.platforms { margin-top: var(--space-8); border-bottom: 1px solid var(--teal); }

.platform {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 var(--space-3);
  padding: var(--space-4) 0 var(--space-3);
  border-top: 1px solid var(--teal);
  color: var(--text);
  isolation: isolate;
  overflow: hidden;
  transition: color 0.5s var(--ease-out);
}
.platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease-out);
}
.platform:hover,
.platform:focus-visible { color: var(--text); }
.platform:hover::before,
.platform:focus-visible::before { transform: scaleY(1); }
.platform__lead {
  grid-column: 1 / -1;
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 300;
}
.platform__name {
  font-size: clamp(3.5rem, 13vw, 13rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  transition: transform 0.8s var(--ease-out);
}
.platform:hover .platform__name { transform: translateX(1.5vw); }
.platform__arrow {
  position: relative;
  width: clamp(2.5rem, 7vw, 7rem);
  aspect-ratio: 1;
  margin-bottom: 0.6em;
  transition: transform 0.8s var(--ease-out);
}
.platform__arrow::before,
.platform__arrow::after {
  content: "";
  position: absolute;
}
/* Diagonal arrow: a shaft plus two edges of a square. */
.platform__arrow::before { left: 8%; right: 8%; top: 50%; height: 3px; background: currentColor; transform: rotate(-45deg); }
.platform__arrow::after {
  top: 14%; right: 14%;
  width: 45%; height: 45%;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.platform:hover .platform__arrow { transform: translate(var(--space-2), calc(var(--space-2) * -1)); }

/* SoundCloud releases: typographic rows, same hairlines as the clubs list. */
.tracks {
  margin-top: var(--space-8);
  border-bottom: 1px solid var(--teal);
}
.track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-1) var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--teal);
}
.track__play {
  display: grid;
  gap: var(--space-1);
  width: 100%;
  min-height: 44px;
  text-align: left;
}
.track__title {
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: color 0.3s linear;
}
.track__play:hover .track__title,
.track__play[aria-expanded="true"] .track__title { color: var(--red); }
.track__artists { font-size: 1rem; font-weight: 300; color: var(--mist); }
.track__listen {
  position: relative;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.track__listen::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.6rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.track__listen:hover::after { transform: scaleX(1); transform-origin: left; }
.track__player { grid-column: 1 / -1; }
.track__player:empty { display: none; }
.track__player iframe {
  display: block;
  width: 100%;
  height: 166px;
  margin-top: var(--space-3);
  border: 0;
  background: var(--ink);
}

@media (min-width: 48em) {
  .track { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .track__listen { grid-column: 2; grid-row: 1; }
}

/* Desktop: one centred container (~1200px); the three releases share one row of
   equal columns with same-size square artwork aligned at the top. */
@media (min-width: 64em) {
  .sound { display: block; }
  .sound > * { max-width: 75rem; margin-inline: auto; }
  .soundcloud__body { max-width: 40rem; }
  .releases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
    margin-top: var(--space-7);
  }
  .upcoming { display: contents; }
  .release { display: block; margin: 0; }
  .release__cover,
  .upcoming__disc { display: block; width: 100%; max-width: 22.5rem; aspect-ratio: 1 / 1; margin: 0; }
  .release__cover img { width: 100%; height: 100%; object-fit: cover; }
  .upcoming__disc img { width: 100%; height: 100%; object-fit: contain; }
  .release__meta { margin-top: var(--space-4); }
  .release__title,
  .upcoming__title { font-size: clamp(1.5rem, 2vw, 2rem); }
  .upcoming__title { margin-top: var(--space-4); }
  .tracks { margin-top: var(--space-8); }
}

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

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

.floor__stage { position: relative; color: var(--text); }
.floor__image { height: 72svh; 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) 50%);
}
.floor__title {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--space-5);
  margin-left: -0.05em;
}

.floor__intro {
  margin: var(--section-pad) var(--gutter) 0;
  max-width: 40rem;
  font-size: clamp(1.25rem, 2.1vw, 1.875rem);
  line-height: 1.35;
}

.venues {
  margin: var(--space-7) var(--gutter) 0;
  border-bottom: 1px solid var(--teal);
}
.venue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--teal);
}
.venue__name {
  font-size: clamp(2.75rem, 10vw, 10rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
  transition: transform 0.9s var(--ease-out);
}
.venue__city {
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 300;
  text-align: right;
  color: var(--mist);
}
.venue__note {
  grid-column: 1 / -1;
  margin-top: var(--space-2);
  color: var(--mist);
  font-weight: 700;
  font-size: 1rem;
}
.venue--residency .venue__name { color: var(--red); }

@media (hover: hover) {
  .venue:hover .venue__name { transform: translateX(clamp(var(--space-2), 2vw, var(--space-5))); }
}

@media (min-width: 64em) {
  .floor__image { height: min(92vh, 62rem); }
  .floor__title { bottom: var(--space-6); }
  .floor__intro { margin-left: calc(var(--gutter) + 50%); }
  .venue { grid-template-columns: minmax(0, 1fr) 16rem 10rem; }
  .venue__note { grid-column: 3; margin: 0; text-align: right; }
}

/* Gallery ------------------------------------------------------------------ */
/* One grid, at most six photos, one pattern: rows of three that share a ratio
   (4/5 vertical, 3/2 horizontal, 1/1 square). Phones: 4 columns, the first of
   each three runs full width and the other two pair up. Desktop: 12 columns,
   three per row. Rows never mix ratios, so there are no holes or steps. */

.gallery { padding: var(--section-pad) var(--gutter); }
.gallery__title { margin-bottom: var(--space-7); text-align: right; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gallery-gap);
}
.shot { grid-column: span 2; }
.shot:nth-child(3n + 1) { grid-column: 1 / -1; }

.shot__open { display: block; width: 100%; }
.shot--v .shot__open { aspect-ratio: 4 / 5; }
.shot--h .shot__open { aspect-ratio: 3 / 2; }
.shot--s .shot__open { aspect-ratio: 1 / 1; }
.shot__open img { transition: transform 1.1s var(--ease-out); }
.shot__open:hover img { transform: scale(1.045); }

@media (min-width: 48em) {
  .gallery__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .shot,
  .shot:nth-child(3n + 1) { grid-column: span 4; }
}

/* 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-weight: 300;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.lightbox__close {
  position: absolute;
  top: var(--space-3);
  right: var(--gutter);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--space-1);
  font-weight: 700;
}
.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: 1.1rem;
  height: 1.1rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  opacity: 0.7;
  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; }

/* Booking ------------------------------------------------------------------ */

/* Phones: photo on top, full width, fading at its bottom edge into the black.
   Wider: photo flush with the right edge of the window, full section height,
   ~50% wide, fading only on its left side; the text column ends where the fade
   reaches --ink. The face stays in the opaque part (object-position via data-focus). */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.booking__photo {
  position: relative;
  z-index: 2;
  height: min(70svh, 125vw);
  -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%);
}
.booking__photo img { width: 100%; height: 100%; object-fit: cover; }

.booking__body {
  position: relative;
  z-index: 3;
  padding: var(--space-5) var(--gutter) var(--section-pad);
}
.booking__title { font-size: clamp(4rem, 19vw, 14rem); margin-left: -0.05em; }

.booking__contact { margin-top: var(--space-6); }
.booking__line {
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--mist);
}
.booking__contact .booking__line { margin-bottom: var(--space-4); }
[data-site-fallback] { margin-top: var(--space-6); }

.booking__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-5);
}
.booking__email {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  overflow-wrap: anywhere;
}
.booking__email::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.4rem;
  height: 2px;
  background: var(--red);
  transform-origin: right;
  transition: transform 0.7s var(--ease-out);
}
.booking__email:hover::after { transform: scaleX(0.15); }

.booking__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin-top: var(--space-6);
}
.booking__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.booking__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.6rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.booking__links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (min-width: 48.0625em) {
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__photo {
    grid-column: 2;
    grid-row: 1;
    height: auto;
    -webkit-mask-image: linear-gradient(to left, var(--mask) 0%, var(--mask) 62%, transparent 100%);
    mask-image: linear-gradient(to left, var(--mask) 0%, var(--mask) 62%, transparent 100%);
  }
  .booking__photo img { position: absolute; inset: 0; }
  .booking__body {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: var(--section-pad) var(--gutter);
  }
  .booking__title { font-size: clamp(4rem, 8.5vw, 10rem); }
}

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

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-6) var(--gutter) max(var(--space-5), env(safe-area-inset-bottom));
  font-size: 0.9375rem;
}
.footer__mark { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; color: var(--text); }
.footer__mark .logo { width: 12rem; }
.footer__project { color: var(--text); font-weight: 200; font-size: 1.25rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--text); }
.footer__links a:hover { color: var(--red); }

@media (min-width: 64em) {
  .footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: var(--space-6);
    row-gap: var(--space-5);
  }
  .footer__mark { grid-column: 1; }
  .footer__project { grid-column: 2; }
  .footer__links { grid-column: 3; justify-content: flex-end; }
  .footer__credit { grid-column: 1 / 3; }
  .footer__legal { grid-column: 3; text-align: right; }
}

/* Motion states ------------------------------------------------------------ */
/* Elements start hidden only when motion is on and JS is running. */
.motion [data-fade],
.motion .hero__signature,
.motion .venue,
.motion .booking__links,
.motion .release,
.motion .platform { opacity: 0; }

.motion [data-reveal-media] { opacity: 0; }

.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;
  }
}
