/* The Hip Hop Lab — the artist stage, featured interviews, the /artists/ wall and
   artist pages. Revision 0.4, sections 3 and 9 (the stage itself: revision 0.3, section 7).
   Owner: stage lane. Colours, sizes and timings come from tokens.css. */

@property --stage-glow {
  syntax: "<color>";
  inherits: true;
  initial-value: transparent;
}

/* ======================================================================
   Stage
   ====================================================================== */

.stage {
  --stage-glow: var(--glow, var(--accent));
  /* The centre card follows the viewport's width (the token) and, from 768 px, its height:
     with the section scrolled to (#artists, under the header), the title row, the card, the
     caption under it and 24 px of air fit one screen. --stage-above is the masthead, the
     section's top padding, the title row and the gap; --stage-below is the part of the
     caption under the card's bottom edge (name overlap, two lines, release line, button)
     plus 24 px. */
  --stage-pad: clamp(1.5rem, 4vh, 2.5rem);
  --stage-gap-top: clamp(1rem, 6vh - 1.5rem, 3rem);
  --stage-above: calc(var(--masthead-h) + var(--stage-pad) + 0.98 * var(--fs-title) + var(--stage-gap-top));
  /* Sized for the 0.4 caption (two lines and a release line), now only the name and the
     button: kept so the card stays at ruling 2's 339.3 x 489.2 at 1440 x 900. */
  --stage-below: calc(0.44 * var(--fs-name) + 2 * 1.4 * var(--fs-lead) + 8.75rem);
  --stage-w: var(--stage-card-w);
  --card-h: calc(var(--stage-w) * 558 / 387);
  --cap-w: min(calc(100vw - 2 * var(--gutter)), 60rem);
  --name-max: calc(var(--stage-w) * (1 + 2 * var(--stage-scale-1)) + 2 * var(--stage-gap) - 46px - 2 * 44px - 2rem);
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: calc(100svh - var(--masthead-h));
  padding: var(--stage-pad) 0 clamp(2rem, 5vh, 3.5rem);
  background: var(--ink-0);
  transition: --stage-glow var(--dur-fade) var(--ease-out);
}

.stage__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 48% at 50% 46%, color-mix(in oklab, var(--stage-glow) 92%, var(--text) 8%), transparent 74%),
    radial-gradient(ellipse 75% 60% at 50% 50%, color-mix(in srgb, var(--stage-glow) 70%, transparent), transparent 78%),
    radial-gradient(ellipse 120% 55% at 50% 108%, color-mix(in srgb, var(--stage-glow) 55%, transparent), transparent 72%),
    linear-gradient(180deg, var(--ink-0) 0%, color-mix(in srgb, var(--stage-glow) 28%, var(--ink-0)) 55%, var(--ink-0) 100%);
}

.stage__head,
.stage__viewport,
.stage__credit {
  position: relative;
  z-index: 2;
}

.stage__head {
  align-items: center;
  margin-bottom: 0;
  padding: 0 var(--gutter);
}

/* Every artist one step away: a name button for each, the current one pressed. */
.stage__picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

:root:not(.js) .stage__picker {
  display: none;
}

@media (max-width: 47.99em) {
  .stage__picker {
    justify-content: flex-start;
  }

  .stage__pick {
    flex: 1 1 calc(50% - 0.25rem);
  }
}

@media (min-width: 48em) {
  .stage {
    --stage-w: min(var(--stage-card-w), calc((100svh - var(--stage-above) - var(--stage-below)) * 387 / 558));
  }
}

.stage__viewport {
  margin-top: var(--stage-gap-top);
}

/* ---------- Without JavaScript: a scroll-snap row, every card sharp ---------- */

.stage__track {
  display: flex;
  gap: var(--stage-gap);
  margin: 0;
  padding: 0 var(--gutter) 1.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.stage__item {
  position: relative;
  flex: 0 0 var(--stage-card-w);
  scroll-snap-align: center;
}

.stage__card {
  display: block;
  aspect-ratio: var(--stage-ratio);
  overflow: hidden;
  background: var(--ink-2);
}

.stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.stage__caption {
  padding-top: 1rem;
}

.stage__name {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: var(--fs-name);
  line-height: 0.98;
  letter-spacing: var(--display-tracking);
  color: var(--text);
  overflow-wrap: break-word;
}



.stage__open {
  margin-top: 1.25rem;
}

/* ---------- With JavaScript: the focus carousel ----------
   Keyed on the `js` class set in the document head, and on data-offset values the server
   writes, so the first frame is already the carousel: no caption shows and then fades.
   Only the cards travel; every item stays on the centre axis, so the captions sit in one
   place and cross-fade. */

.js .stage__track {
  display: grid;
  grid-template-areas: "slot";
  justify-content: center;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  touch-action: pan-y;
}

.js .stage__item {
  --x: 0px;
  --s: 1;
  grid-area: slot;
  width: var(--stage-w);
  user-select: none;
  -webkit-user-select: none;
}

.js .stage .stage__card {
  position: relative;
  cursor: pointer;
  transform-origin: 50% 50%;
  transform: translateX(calc(var(--x) + var(--drag, 0px))) scale(var(--s));
  transition: transform var(--dur-stage) var(--ease-stage), opacity var(--dur-fade) var(--ease-out);
  -webkit-user-drag: none;
}

.js .stage.is-dragging .stage__card {
  transition: none;
}

.js .stage .stage__img {
  transition: filter var(--dur-stage) var(--ease-stage);
  -webkit-user-drag: none;
}

.js .stage__caption {
  position: relative;
  z-index: 2;
  width: var(--cap-w);
  margin-left: calc((var(--stage-w) - var(--cap-w)) / 2);
  margin-top: calc(-0.56 * var(--fs-name));
  padding-top: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fade) var(--ease-out), visibility 0s linear var(--dur-fade);
}

/* Ink scrim: any text over the stage keeps 4.5:1 whatever the glow (ruling 7). */
.js .stage__caption::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.5rem -2rem -2.5rem;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink-0) 64%, transparent) 62%, transparent);
  pointer-events: none;
}

.js .stage__name {
  max-width: var(--name-max);
  margin-inline: auto;
  text-shadow: 0 0.04em 0.6em color-mix(in srgb, var(--ink-0) 45%, transparent);
}



.js .stage__open {
  margin-top: 1rem;
}

.js .stage__item[data-offset="0"] {
  z-index: 4;
}

/* The name overlaps the centred card's bottom edge; an ink fade there keeps it legible
   over a light photograph. */
.js .stage__card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ink-0) 88%, transparent) 78%);
  opacity: 0;
  transition: opacity var(--dur-fade) var(--ease-out);
  pointer-events: none;
}

.js [data-offset="0"] .stage__card::after {
  opacity: 1;
}

.js [data-offset="0"] .stage__caption {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-fade) var(--ease-out) 0.18s, visibility 0s;
}

.js .stage__item[data-offset="1"],
.js .stage__item[data-offset="-1"] {
  z-index: 3;
  --s: var(--stage-scale-1);
}

.js .stage__item[data-offset="1"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) / 2) + var(--stage-gap));
}

.js .stage__item[data-offset="-1"] {
  --x: calc(-1 * (var(--stage-w) * (0.5 + var(--stage-scale-1) / 2) + var(--stage-gap)));
}

.js .stage__item[data-offset="2"],
.js .stage__item[data-offset="-2"] {
  z-index: 2;
  --s: var(--stage-scale-2);
}

.js .stage__item[data-offset="2"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) / 2) + 2 * var(--stage-gap));
}

.js .stage__item[data-offset="-2"] {
  --x: calc(-1 * (var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) / 2) + 2 * var(--stage-gap)));
}

.js .stage__item[data-offset="3"],
.js .stage__item[data-offset="-3"],
.js .stage__item[data-parked] {
  z-index: 1;
  --s: var(--stage-scale-3);
  pointer-events: none;
}

.js [data-offset="3"] .stage__card,
.js [data-offset="-3"] .stage__card,
.js [data-parked] .stage__card {
  opacity: 0;
}

/* A card beyond the visible neighbours (the leftover of an even count) waits out of view
   one slot further out than the last visible neighbour, so it slides in from the edge. */
.js .stage__item[data-parked][data-offset="1"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-3) / 2) + var(--stage-gap));
}

.js .stage__item[data-parked][data-offset="2"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-3) / 2) + 2 * var(--stage-gap));
}

.js .stage__item[data-offset="3"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) + var(--stage-scale-3) / 2) + 3 * var(--stage-gap));
}

.js .stage__item[data-offset="-3"] {
  --x: calc(-1 * (var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) + var(--stage-scale-3) / 2) + 3 * var(--stage-gap)));
}

.js [data-offset="1"] .stage__img,
.js [data-offset="-1"] .stage__img {
  filter: var(--stage-filter-1);
}

.js [data-offset="2"] .stage__img,
.js [data-offset="-2"] .stage__img,
.js [data-offset="3"] .stage__img,
.js [data-offset="-3"] .stage__img {
  filter: var(--stage-filter-2);
}

.js [data-offset="1"] .stage__card,
.js [data-offset="-1"] .stage__card,
.js [data-offset="2"] .stage__card,
.js [data-offset="-2"] .stage__card {
  outline: 1px solid var(--line);
  outline-offset: -1px;
}

/* No transition while the page settles, and an item wrapping from one end to the other
   must not fly across the stage. */
.js .stage.is-settling *,
.js .stage.is-settling *::before,
.js .stage.is-settling *::after,
.js .stage__item.is-jumping .stage__card,
.js .stage__item.is-jumping .stage__img {
  transition: none;
}

/* Previous / next: level with the name at the outer edges of the first neighbours. */
:root:not(.js) .stage__controls {
  display: none;
}

.stage__controls {
  position: absolute;
  top: var(--card-h);
  left: 50%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  width: calc(var(--stage-w) * (1 + 2 * var(--stage-scale-1)) + 2 * var(--stage-gap) - 46px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stage__button {
  pointer-events: auto;
}

.stage__credit {
  position: relative;
  z-index: 2;
}

.stage__head {
  align-items: center;
  margin-bottom: 0;
  padding: 0 var(--gutter);
}

/* Every artist one step away: a name button for each, the current one pressed. */
.stage__picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

:root:not(.js) .stage__picker {
  display: none;
}

@media (max-width: 47.99em) {
  .stage__picker {
    justify-content: flex-start;
  }

  .stage__pick {
    flex: 1 1 calc(50% - 0.25rem);
  }
}

@media (min-width: 48em) {
  .stage {
    --stage-w: min(var(--stage-card-w), calc((100svh - var(--stage-above) - var(--stage-below)) * 387 / 558));
  }
}

.stage__viewport {
  margin-top: var(--stage-gap-top);
}

/* ---------- Without JavaScript: a scroll-snap row, every card sharp ---------- */

.stage__track {
  display: flex;
  gap: var(--stage-gap);
  margin: 0;
  padding: 0 var(--gutter) 1.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.stage__item {
  position: relative;
  flex: 0 0 var(--stage-card-w);
  scroll-snap-align: center;
}

.stage__card {
  display: block;
  aspect-ratio: var(--stage-ratio);
  overflow: hidden;
  background: var(--ink-2);
}

.stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.stage__caption {
  padding-top: 1rem;
}

.stage__name {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: var(--fs-name);
  line-height: 0.98;
  letter-spacing: var(--display-tracking);
  color: var(--text);
  overflow-wrap: break-word;
}



.stage__open {
  margin-top: 1.25rem;
}

/* ---------- With JavaScript: the focus carousel ----------
   Keyed on the `js` class set in the document head, and on data-offset values the server
   writes, so the first frame is already the carousel: no caption shows and then fades.
   Only the cards travel; every item stays on the centre axis, so the captions sit in one
   place and cross-fade. */

.js .stage__track {
  display: grid;
  grid-template-areas: "slot";
  justify-content: center;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  touch-action: pan-y;
}

.js .stage__item {
  --x: 0px;
  --s: 1;
  grid-area: slot;
  width: var(--stage-w);
  user-select: none;
  -webkit-user-select: none;
}

.js .stage .stage__card {
  position: relative;
  cursor: pointer;
  transform-origin: 50% 50%;
  transform: translateX(calc(var(--x) + var(--drag, 0px))) scale(var(--s));
  transition: transform var(--dur-stage) var(--ease-stage), opacity var(--dur-fade) var(--ease-out);
  -webkit-user-drag: none;
}

.js .stage.is-dragging .stage__card {
  transition: none;
}

.js .stage .stage__img {
  transition: filter var(--dur-stage) var(--ease-stage);
  -webkit-user-drag: none;
}

.js .stage__caption {
  position: relative;
  z-index: 2;
  width: var(--cap-w);
  margin-left: calc((var(--stage-w) - var(--cap-w)) / 2);
  margin-top: calc(-0.56 * var(--fs-name));
  padding-top: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fade) var(--ease-out), visibility 0s linear var(--dur-fade);
}

/* Ink scrim: any text over the stage keeps 4.5:1 whatever the glow (ruling 7). */
.js .stage__caption::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.5rem -2rem -2.5rem;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink-0) 64%, transparent) 62%, transparent);
  pointer-events: none;
}

.js .stage__name {
  max-width: var(--name-max);
  margin-inline: auto;
  text-shadow: 0 0.04em 0.6em color-mix(in srgb, var(--ink-0) 45%, transparent);
}



.js .stage__open {
  margin-top: 1rem;
}

.js .stage__item[data-offset="0"] {
  z-index: 4;
}

/* The name overlaps the centred card's bottom edge; an ink fade there keeps it legible
   over a light photograph. */
.js .stage__card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ink-0) 88%, transparent) 78%);
  opacity: 0;
  transition: opacity var(--dur-fade) var(--ease-out);
  pointer-events: none;
}

.js [data-offset="0"] .stage__card::after {
  opacity: 1;
}

.js [data-offset="0"] .stage__caption {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-fade) var(--ease-out) 0.18s, visibility 0s;
}

.js .stage__item[data-offset="1"],
.js .stage__item[data-offset="-1"] {
  z-index: 3;
  --s: var(--stage-scale-1);
}

.js .stage__item[data-offset="1"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) / 2) + var(--stage-gap));
}

.js .stage__item[data-offset="-1"] {
  --x: calc(-1 * (var(--stage-w) * (0.5 + var(--stage-scale-1) / 2) + var(--stage-gap)));
}

.js .stage__item[data-offset="2"],
.js .stage__item[data-offset="-2"] {
  z-index: 2;
  --s: var(--stage-scale-2);
}

.js .stage__item[data-offset="2"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) / 2) + 2 * var(--stage-gap));
}

.js .stage__item[data-offset="-2"] {
  --x: calc(-1 * (var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) / 2) + 2 * var(--stage-gap)));
}

.js .stage__item[data-offset="3"],
.js .stage__item[data-offset="-3"],
.js .stage__item[data-parked] {
  z-index: 1;
  --s: var(--stage-scale-3);
  pointer-events: none;
}

.js [data-offset="3"] .stage__card,
.js [data-offset="-3"] .stage__card,
.js [data-parked] .stage__card {
  opacity: 0;
}

/* A card beyond the visible neighbours (the leftover of an even count) waits out of view
   one slot further out than the last visible neighbour, so it slides in from the edge. */
.js .stage__item[data-parked][data-offset="1"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-3) / 2) + var(--stage-gap));
}

.js .stage__item[data-parked][data-offset="2"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-3) / 2) + 2 * var(--stage-gap));
}

.js .stage__item[data-offset="3"] {
  --x: calc(var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) + var(--stage-scale-3) / 2) + 3 * var(--stage-gap));
}

.js .stage__item[data-offset="-3"] {
  --x: calc(-1 * (var(--stage-w) * (0.5 + var(--stage-scale-1) + var(--stage-scale-2) + var(--stage-scale-3) / 2) + 3 * var(--stage-gap)));
}

.js [data-offset="1"] .stage__img,
.js [data-offset="-1"] .stage__img {
  filter: var(--stage-filter-1);
}

.js [data-offset="2"] .stage__img,
.js [data-offset="-2"] .stage__img,
.js [data-offset="3"] .stage__img,
.js [data-offset="-3"] .stage__img {
  filter: var(--stage-filter-2);
}

.js [data-offset="1"] .stage__card,
.js [data-offset="-1"] .stage__card,
.js [data-offset="2"] .stage__card,
.js [data-offset="-2"] .stage__card {
  outline: 1px solid var(--line);
  outline-offset: -1px;
}

/* No transition while the page settles, and an item wrapping from one end to the other
   must not fly across the stage. */
.js .stage.is-settling *,
.js .stage.is-settling *::before,
.js .stage.is-settling *::after,
.js .stage__item.is-jumping .stage__card,
.js .stage__item.is-jumping .stage__img {
  transition: none;
}

/* Previous / next: level with the name at the outer edges of the first neighbours. */
:root:not(.js) .stage__controls {
  display: none;
}

.stage__controls {
  position: absolute;
  top: var(--card-h);
  left: 50%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  width: calc(var(--stage-w) * (1 + 2 * var(--stage-scale-1)) + 2 * var(--stage-gap) - 46px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stage__button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: color-mix(in srgb, var(--ink-0) 18%, transparent);
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out),
    color var(--dur-ui) var(--ease-out);
}

.stage__button:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink-0);
}

.stage__credit {
  margin-top: 1.5rem;
  padding: 0 var(--gutter);
  justify-content: flex-end;
  width: 100%;
  font-size: var(--fs-label);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-3);
}

.stage__credit a,
.wall__credit a,
.profile__credit a {
  color: var(--text-2);
  text-decoration: underline;
}

@media (max-width: 47.99em) {
  .stage {
    --name-max: 100%;
    min-height: 0;
  }

  .stage__controls {
    position: relative;
    top: auto;
    left: auto;
    justify-content: center;
    gap: 0.75rem;
    width: auto;
    margin-top: 1.25rem;
    transform: none;
  }

  .stage__credit {
    justify-content: flex-start;
  }
}

/* ======================================================================
   Featured interviews (Home) and the profile's interview link
   ====================================================================== */

.features {
  padding: var(--section-pad) var(--gutter);
}

.features__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "guest arrow";
  align-items: baseline;
  gap: 0.375rem 1rem;
  padding: clamp(1.25rem, 2.6vw, 2rem) 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background-color var(--dur-ui) var(--ease-out);
}

.feature__guest {
  grid-area: guest;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: clamp(1.625rem, 3.4vw, 3rem);
  letter-spacing: var(--display-tracking);
  line-height: 1;
}


.feature__arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 1.5rem;
  color: var(--text-3);
  transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}

.feature:hover .feature__arrow,
.feature:focus-visible .feature__arrow {
  color: var(--signal);
  transform: translateX(0.35rem);
}

.feature:hover .feature__guest {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--signal);
  text-underline-offset: 0.12em;
}

.feature--still {
  grid-template-areas:
    "still still"
    "guest arrow";
}

.feature__still {
  grid-area: still;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--ink-2);
}

.feature__still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
  transition: filter var(--dur-ui) var(--ease-out), transform var(--dur-fade) var(--ease-stage);
}

.feature:hover .feature__still img,
.feature:focus-visible .feature__still img {
  filter: none;
  transform: scale(1.03);
}

@media (min-width: 40em) and (max-width: 63.99em) {
  .feature--still {
    grid-template-columns: 14rem minmax(0, 1fr) auto;
    grid-template-areas: "still guest arrow";
    align-items: center;
  }

  .feature__still {
    margin-bottom: 0;
  }
}

@media (min-width: 64em) {
  .feature {
    grid-template-columns: minmax(0, 1fr) 3rem;
    grid-template-areas: "guest arrow";
    gap: 2rem;
  }

  .feature--still {
    grid-template-columns: 15rem minmax(0, 1fr) 3rem;
    grid-template-areas: "still guest arrow";
    align-items: center;
  }

  .feature__still {
    margin-bottom: 0;
  }
}

/* ======================================================================
   /artists/ wall
   ====================================================================== */

.wall-page {
  padding: 0 var(--gutter) var(--section-pad);
}

.wall-head {
  display: grid;
  gap: 1rem;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.wall-head__title {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: var(--fs-hero);
  letter-spacing: var(--display-tracking);
  line-height: 0.9;
  text-transform: uppercase;
}


/* Column counts come from label_pages.py and always divide the number of artists, so no
   card sits alone on a row: three across from 768 px when the count allows, two below
   (one when the count is odd). */
.wall {
  display: grid;
  grid-template-columns: repeat(var(--wall-cols-narrow, 1), minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem) var(--stage-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* Cap each portrait near the stage card's width so a three-across wall stays cinematic. */
@media (min-width: 80em) {
  .wall {
    max-width: calc(var(--wall-cols, 3) * 24rem + (var(--wall-cols, 3) - 1) * var(--stage-gap));
  }
}

.wall__card {
  container-type: inline-size;
  display: grid;
  grid-template-areas:
    "frame"
    "name"
    "release";
  gap: 0.5rem;
  text-decoration: none;
}

.wall__frame {
  grid-area: frame;
  display: block;
  aspect-ratio: var(--stage-ratio);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--ink-2);
  transition: box-shadow var(--dur-fade) var(--ease-out);
}

.wall__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: filter var(--dur-fade) var(--ease-out);
}

.wall__name {
  grid-area: name;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: min(clamp(1.5rem, 2.4vw, 2.25rem), 11.5cqi);
  letter-spacing: var(--display-tracking);
  line-height: 1;
  overflow-wrap: break-word;
}


.wall__card:hover .wall__frame,
.wall__card:focus-visible .wall__frame {
  box-shadow: 0 2.5rem 5rem -2.5rem var(--item-glow, var(--item-accent, var(--accent)));
}

/* The hovered or focused card stays sharp; the rest dim at half the stage's strength. */
.wall:has(.wall__card:hover, .wall__card:focus-visible) .wall__card:not(:hover):not(:focus-visible) .wall__img {
  filter: blur(3.5px) saturate(0.775) brightness(0.8);
}

.wall__credit {
  display: block;
  margin-top: 2rem;
  font-size: var(--fs-label);
  text-transform: none;
  letter-spacing: 0;
}

/* ======================================================================
   Artist page: the clip (or its poster) as a full-width header (0.4, section 7)
   ====================================================================== */

.profile__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(calc(100svh - var(--masthead-h)), 56rem);
  overflow: clip;
  background: var(--ink-0);
}

.profile__media,
.profile__poster,
.profile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--focal, 50% 35%);
}

.profile__video {
  opacity: 0;
  transition: opacity var(--dur-fade) var(--ease-out);
}

.profile__media.is-playing .profile__video {
  opacity: 1;
}

@media (max-width: 47.99em) {
  .profile__poster,
  .profile__video {
    object-position: var(--focal-phone, var(--focal, 50% 35%));
  }
}

.profile__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--scrim-soft), transparent 25%),
    linear-gradient(to top, color-mix(in srgb, var(--ink-0) 88%, transparent), transparent 60%);
}

.profile__portrait {
  display: none;
}

.profile__intro {
  position: relative;
  z-index: 3;
  container-type: inline-size;
  max-width: 52rem;
  padding: 8rem var(--gutter) clamp(2rem, 6vh, 4rem);
}

.profile__intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5rem -2rem 0;
  background: var(--scrim);
  filter: blur(2rem);
  pointer-events: none;
}

.profile__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: var(--target);
  margin-bottom: 0.5rem;
  font-size: var(--fs-nav);
  font-weight: 600;
  text-decoration: none;
}

.profile__back:hover {
  text-decoration: underline;
  text-decoration-color: var(--signal);
}

.profile__name {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: min(var(--fs-hero), 13.5cqi);
  letter-spacing: var(--display-tracking);
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: break-word;
}


.profile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}


.profile__pause [data-icon-play],
.profile__pause.is-paused [data-icon-pause] {
  display: none;
}

.profile__pause.is-paused [data-icon-play] {
  display: block;
}

@media (min-width: 64em) {
  .profile__hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* The owner's photo stands at the right, as on the stage card. */
  .profile__portrait {
    position: relative;
    z-index: 3;
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    width: clamp(15rem, 22vw, 22rem);
    margin: 0 var(--gutter) clamp(2rem, 6vh, 4rem) 0;
    aspect-ratio: var(--stage-ratio);
    overflow: hidden;
    background: var(--ink-2);
    box-shadow: 0 2rem 4rem -1rem rgb(0 0 0 / 0.6);
  }

  .profile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .profile__intro {
    grid-column: 1;
    grid-row: 1;
  }
}

.profile-section {
  padding: var(--section-pad) var(--gutter);
}

.pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter);
  border-top: 1px solid var(--line);
}

.pager__link {
  display: grid;
  gap: 0.25rem;
  min-height: var(--target);
  text-decoration: none;
}

.pager__label {
  color: var(--text-2);
  font-size: var(--fs-label);
  font-weight: 600;
}

.pager__link--next {
  justify-items: end;
  text-align: right;
}

.pager__name {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  letter-spacing: var(--display-tracking);
  line-height: 1;
}

.pager__link:hover .pager__name {
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
}

@media (max-width: 29.99em) {
  .pager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pager__link--all {
    grid-column: 1 / -1;
    order: 3;
  }
}

.profile__credit {
  display: block;
  padding: 0 var(--gutter) 2rem;
  color: var(--text-3);
  font-size: var(--fs-label);
}

/* ======================================================================
   Reduced motion: cards swap without travel; nothing drifts.
   (system.css removes every transition and animation.)
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  .js .stage .stage__card {
    transition: none;
  }
}
