/*
 * NOWON Radio - DJs page.
 *
 * TABLE OF CONTENTS
 *  1. On the decks now
 *  2. Residents mosaic and today strip
 *  3. DJ spotlight
 *  4. Weekly rota
 *  5. Guest DJs ribbon
 *  6. Become a DJ
 *  7. Media queries
 */

/* ==========================================================================
   1. On the decks now
   ========================================================================== */
.dj-now {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.dj-now__stage {
  perspective: 1400px;
}

.dj-now__card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-panel);
}

/* A DJ photo covers its striped slot. Faces sit right of centre, the name sits bottom left. */
.dj-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 18%;
}

.dj-photo--group {
  object-position: 50% 25%;
}

.dj-now__caption {
  isolation: isolate;
}

.dj-now__caption,
.dj-now__shade {
  position: absolute;
  inset: 0;
}

.dj-now__shade {
  background: linear-gradient(180deg, rgba(18, 17, 16, 0) 45%, rgba(18, 17, 16, .95));
}

.dj-now__tags {
  position: absolute;
  left: 24px;
  top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dj-now__live,
.dj-now__station {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
}

.dj-now__live {
  gap: 10px;
  background: var(--live);
  color: var(--on-live);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .2em;
}

.dj-now__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
  animation: pulse 1.2s ease-in-out infinite;
}

.dj-now__station {
  background: rgba(18, 17, 16, .75);
  color: var(--acc);
  font-family: var(--mono);
  font-size: 12px;
}

.dj-now__who {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 84px;
}

.dj-now__name {
  font-weight: 900;
  font-size: clamp(36px, 3.8vw, 72px);
  line-height: .92;
  letter-spacing: -.04em;
}

.dj-now__genre {
  margin-top: 6px;
  color: var(--ink-75);
  font-size: 15px;
}

.dj-now__wave {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  gap: 3px;
  height: 40px;
}

.dj-now__wave .wave__bar {
  background: var(--acc-45);
}

.dj-now__show {
  margin-top: 22px;
  font-weight: 900;
  font-size: clamp(44px, 5vw, 96px);
  line-height: .9;
  letter-spacing: -.045em;
}

.dj-now__bio {
  margin-top: 20px;
  color: var(--ink-75);
  font-size: 17px;
  line-height: 1.65;
}

.dj-now__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.dj-chip {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(245, 237, 216, .25);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
}

.dj-chip--mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
}

.now-track {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  border-radius: 16px;
  background: var(--surface-2);
}

.now-track__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.now-track__eq {
  gap: 2px;
  height: 12px;
}

.now-track__eq .eq__bar {
  width: 2px;
  transform-origin: bottom;
}

.now-track__title {
  margin-top: 8px;
  font-weight: 900;
  font-size: 20px;
}

.now-track__artist {
  margin-top: 2px;
  color: rgba(245, 237, 216, .65);
  font-size: 13px;
}

.now-track__meter {
  height: 4px;
  margin-top: 12px;
}

.now-track__fill {
  width: calc(var(--progress, 0) * 1%);
}

.dj-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface-2);
}

.dj-kpi {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 16px 18px;
  border-left: 1px solid var(--line-soft);
}

.dj-kpi:first-child {
  border-left: 0;
}

.dj-kpi__value {
  margin: 0;
  font-weight: 900;
  font-size: 26px;
}

.dj-kpi:first-child .dj-kpi__value {
  color: var(--acc);
}

.dj-kpi__label {
  margin-top: 2px;
  color: var(--ink-60);
  font-size: 10px;
  letter-spacing: .18em;
}

.dj-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px dashed var(--acc-35);
  border-radius: 14px;
}

.dj-next__name {
  font-size: 15px;
}

.show-ends {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.show-ends__time {
  margin-top: 4px;
  color: var(--acc);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 44px;
}

.listeners {
  display: flex;
  align-items: center;
  gap: 14px;
}

.listeners__faces {
  display: flex;
  flex: none;
}

.listeners__face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -12px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 13px;
}

.listeners__face:nth-child(even) {
  background: var(--cream);
}

.listeners__text {
  margin-left: 12px;
}

.listeners__count {
  font-weight: 900;
  font-size: 22px;
}

.listeners__label {
  color: var(--ink-60);
  font-size: 11px;
  letter-spacing: .15em;
}

.dj-now__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.dj-now__btn {
  height: 62px;
}

.dj-now__tune {
  padding: 0 30px;
  font-weight: 900;
  font-size: 14px;
}

.is-playing .dj-now__tune {
  box-shadow: 0 0 0 8px var(--acc-20), 0 0 40px var(--acc-45);
}

.dj-now__btn.is-open {
  border-color: var(--acc);
  color: var(--acc);
}

.dj-follow[aria-pressed="true"] {
  background: var(--cream);
  color: var(--ink-dark);
}

.track-request {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s ease, visibility 0s linear .35s;
}

.track-request.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .35s ease, visibility 0s;
}

.track-request__form {
  display: flex;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.track-request.is-open .track-request__form {
  padding-top: 16px;
}

.track-request__input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 22px;
  border: 1.5px solid color-mix(in srgb, var(--acc) 40%, transparent);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 15px;
}

.track-request__input::placeholder {
  color: var(--ink-60);
}

.track-request__send {
  height: 56px;
  padding: 0 24px;
  background: var(--cream);
  color: var(--ink-dark);
  font-size: 12px;
  letter-spacing: .12em;
}

/* ==========================================================================
   2. Residents mosaic and today strip
   ========================================================================== */
.residents-live {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
}

.residents-live__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, clamp(200px, 14vw, 270px));
  gap: 12px;
  min-width: 1000px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(245, 237, 216, .06);
  border-radius: 18px;
  transition: border-color .3s ease;
}

.mosaic-card:hover,
.mosaic-card:focus-within,
.mosaic-card.is-live {
  border-color: var(--acc);
}

.mosaic-card--1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.mosaic-card--2 { grid-column: 3; grid-row: 1; }
.mosaic-card--3 { grid-column: 4; grid-row: 1; }
.mosaic-card--4 { grid-column: 5 / span 2; grid-row: 1; }
.mosaic-card--5 { grid-column: 3 / span 2; grid-row: 2 / span 2; }
.mosaic-card--6 { grid-column: 1; grid-row: 3; }
.mosaic-card--7 { grid-column: 2; grid-row: 3; }
.mosaic-card--8 { grid-column: 5 / span 2; grid-row: 2 / span 2; }

.mosaic-card__art,
.mosaic-card__glow,
.mosaic-card__shade {
  position: absolute;
  inset: 0;
}

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

.mosaic-card__glow {
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), var(--acc-25), transparent 45%);
  opacity: 0;
  transition: opacity .3s ease;
}

.mosaic-card:hover .mosaic-card__glow {
  opacity: 1;
}

.mosaic-card__shade {
  background: linear-gradient(180deg, rgba(18, 17, 16, 0) 35%, rgba(18, 17, 16, .95));
}

.mosaic-card__top {
  position: absolute;
  left: 18px;
  right: 70px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mosaic-card__top[hidden],
.mosaic-card__meter[hidden] {
  display: none;
}

.mosaic-card__eq {
  align-items: flex-end;
}

.mosaic-card__eq .eq__bar {
  width: 4px;
  transform-origin: bottom;
}

.mosaic-card__body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.mosaic-card__name {
  font-weight: 900;
  font-size: clamp(16px, 1.2vw, 22px);
  line-height: 1;
  letter-spacing: -.02em;
}

.mosaic-card--4 .mosaic-card__name {
  font-size: clamp(20px, 1.6vw, 30px);
}

.mosaic-card--1 .mosaic-card__name,
.mosaic-card--5 .mosaic-card__name,
.mosaic-card--8 .mosaic-card__name {
  font-size: clamp(28px, 2.3vw, 44px);
}

.mosaic-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 8px;
  margin-top: 6px;
  font-size: 12px;
}

.mosaic-card__genre {
  color: rgba(245, 237, 216, .7);
}

.mosaic-card__slot {
  color: var(--acc);
  font-family: var(--mono);
}

.mosaic-card__meter {
  height: 4px;
  margin-top: 10px;
}

.mosaic-card__fill {
  width: calc(var(--progress, 0) * 1%);
}

.mosaic-card__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.mosaic-card:hover .mosaic-card__more,
.mosaic-card:focus-within .mosaic-card__more {
  grid-template-rows: 1fr;
}

.mosaic-card__quote {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  color: rgba(245, 237, 216, .9);
  font-size: 13px;
  line-height: 1.4;
}

.mosaic-card:hover .mosaic-card__quote,
.mosaic-card:focus-within .mosaic-card__quote {
  padding-top: 12px;
}

/* Plays the DJ's own station (assets/js/dj-stations.js), above the spotlight button. */
.mosaic-card__play {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink-dark);
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}

.mosaic-card__play:hover {
  transform: scale(1.08);
}

.mosaic-card.is-tuned {
  border-color: var(--acc);
}

.mosaic-card__select {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
}

.today-strip {
  display: flex;
  align-items: stretch;
  margin-top: 16px;
  border-radius: 14px;
  background: var(--surface-2);
}

.today-strip__label {
  display: flex;
  flex: none;
  align-items: center;
  padding: 16px 22px;
  border-right: 1px solid rgba(245, 237, 216, .1);
  color: var(--acc);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.today-strip__cells {
  display: flex;
  flex: 1;
}

.today-strip__cell {
  flex: 1 0 160px;
  padding: 12px 18px;
  border-right: 1px solid var(--line-soft);
}

.today-strip__cell.is-past {
  color: var(--ink-60);
}

.today-strip__cell.is-live {
  background: var(--acc);
  color: var(--ink-dark);
}

.today-strip__at {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
}

.today-strip__name {
  display: block;
  margin-top: 2px;
  font-weight: 800;
  font-size: 14px;
}

/* ==========================================================================
   3. DJ spotlight
   ========================================================================== */
.spotlight-section {
  scroll-margin-top: 110px;
}

.spotlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 26px;
}

.spotlight__photo {
  position: relative;
  min-width: 0;
  min-height: clamp(480px, 40vw, 760px);
  overflow: hidden;
}

.spotlight__art {
  position: absolute;
  inset: -30px;
  font-size: 12px;
  transform: translate(calc(var(--shift-x, 0) * -24px), calc(var(--shift-y, 0) * -24px)) scale(1.04);
  transition: transform .25s ease-out;
}

.spotlight__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 16, 0) 55%, rgba(18, 17, 16, .55)), linear-gradient(180deg, rgba(18, 17, 16, .3) 0%, rgba(18, 17, 16, 0) 25%, rgba(18, 17, 16, 0) 45%, rgba(18, 17, 16, .96));
}

.spotlight__top {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spotlight__who {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;
}

.spotlight__since {
  color: var(--acc);
  font-family: var(--mono);
  font-size: 13px;
}

.spotlight__name {
  position: relative;
  margin-top: 12px;
  font-weight: 900;
  font-size: clamp(56px, 6.8vw, 130px);
  line-height: .86;
  letter-spacing: -.055em;
}

.spotlight__name-outline {
  position: absolute;
  left: calc(6px + var(--shift-x, 0) * 20px);
  top: calc(6px + var(--shift-y, 0) * 14px);
  color: transparent;
  transition: left .25s ease-out, top .25s ease-out;
  -webkit-text-stroke: 2px var(--acc);
}

.spotlight__name-text {
  position: relative;
}

.spotlight__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 44px 48px;
  background: var(--surface-2);
}

.spot-tabs {
  --tab: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--bg);
}

.spot-tabs__thumb {
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: calc((100% - 10px) / 4);
  border-radius: var(--radius-pill);
  background: var(--acc);
  transform: translateX(calc(var(--tab) * 100%));
  transition: transform .4s cubic-bezier(.3, 1.2, .5, 1);
}

.spot-tab {
  position: relative;
  height: 50px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .15em;
  transition: color .3s ease;
}

.spot-tab[aria-pressed="true"] {
  color: var(--ink-dark);
}

.spotlight__content {
  flex: 1;
  padding-top: 36px;
}

.spotlight__content [hidden] {
  display: none;
}

.spot-quote {
  display: flex;
  gap: 14px;
  margin: 0;
}

.spot-quote__mark {
  color: var(--acc);
  font-weight: 900;
  font-size: 60px;
  line-height: .7;
}

.spot-quote__text {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
}

.spot-bio {
  margin-top: 18px;
  color: rgba(245, 237, 216, .78);
  font-size: 17px;
  line-height: 1.7;
}

.spot-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spot-figure {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 16px 0 16px 18px;
  border-left: 1px solid var(--line);
}

.spot-figure:first-child {
  padding-left: 0;
  border-left: 0;
}

.spot-figure__value {
  margin: 0;
  font-weight: 900;
  font-size: 36px;
}

.spot-figure:first-child .spot-figure__value {
  color: var(--acc);
}

.dna {
  margin-top: 32px;
}

.dna__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.dna__note {
  color: var(--ink-60);
  font-size: 12px;
}

.dna__bar {
  display: flex;
  gap: 3px;
  height: 14px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 7px;
}

.dna__part {
  flex: var(--share, 25);
}

.dna__part--1,
.dna__swatch--1 {
  background: var(--acc);
}

.dna__part--2,
.dna__swatch--2 {
  background: color-mix(in srgb, var(--acc) 70%, #121110);
}

.dna__part--3,
.dna__swatch--3 {
  background: var(--cream);
}

.dna__part--4,
.dna__swatch--4 {
  background: rgba(245, 237, 216, .35);
}

.dna__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 12px;
}

.dna__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.dna__swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.dna__share {
  color: var(--ink-60);
  font-family: var(--mono);
}

.top-tracks {
  margin-top: 32px;
}

.top-tracks > .meta {
  margin-bottom: 6px;
}

.top-track {
  display: grid;
  grid-template-columns: 28px 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.top-track__num {
  font-weight: 900;
  font-size: 18px;
}

.top-track__num--first {
  color: var(--acc);
}

.top-track__art {
  object-fit: cover;
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.top-track__text {
  min-width: 0;
}

.top-track__title {
  display: block;
  font-size: 14px;
}

.top-track__artist {
  color: var(--ink-60);
  font-size: 12px;
}

.top-track__stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-track__meter {
  display: block;
  width: 90px;
  height: 4px;
}

.top-track__fill {
  width: calc(var(--progress, 0) * 1%);
}

.top-track__times {
  width: 28px;
  color: rgba(245, 237, 216, .7);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.spot-mix {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spot-mix__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.spot-mix__play {
  width: 56px;
  height: 56px;
  border: 1px solid transparent;
  color: var(--acc);
  font-size: 15px;
}

.spot-mix__play[aria-pressed="true"] {
  background: var(--acc);
  color: var(--ink-dark);
}

.spot-mix__title {
  display: block;
  font-size: 20px;
}

.spot-mix__when,
.spot-mix__len {
  color: var(--ink-60);
  font-size: 13px;
}

.spot-mix__len {
  font-family: var(--mono);
}

.spot-mix__wave {
  width: 100%;
  height: 30px;
  margin-top: 10px;
}

.crate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.crate-card {
  position: relative;
  aspect-ratio: 1;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.3, 1.2, .4, 1);
}

.crate-card:hover,
.crate-card[aria-pressed="true"] {
  transform: rotateY(180deg);
}

.crate-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  backface-visibility: hidden;
}

.crate-card__face--front {
  justify-content: flex-end;
  padding: 14px;
}

.crate-card__face--back {
  justify-content: space-between;
  padding: 16px;
  background: var(--acc);
  color: var(--ink-dark);
  transform: rotateY(180deg);
}

/* Sleeve art set by djs.js: the cover fills the front, a shade keeps the title readable. */
.crate-card__face--front.has-cover {
  overflow: hidden;
  background: none;
}

.crate-card__face--front.has-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, .8));
}

.crate-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crate-card__title {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.crate-card__artist {
  position: relative;
  z-index: 1;
  color: var(--ink-75);
  font-size: 12px;
}

.crate-card__why {
  font-family: var(--mono);
  font-size: 10px;
}

.crate-card__quote {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
}

.spot-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--acc);
  color: var(--ink-dark);
}

.spot-next__label {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .15em;
}

.spot-next__time {
  margin-top: 4px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 40px;
}

.spot-next__remind {
  height: 46px;
  padding: 0 20px;
  font-size: 12px;
}

.spot-slot {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spot-slot__day {
  font-weight: 900;
  font-size: 18px;
}

.spot-slot.is-today .spot-slot__day {
  color: var(--acc);
}

.spot-slot__show {
  font-size: 16px;
}

.spot-slot__time {
  font-family: var(--mono);
  font-size: 13px;
}

.spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 237, 216, .1);
}

.spotlight__follow {
  font-weight: 900;
}

.spotlight__follow[aria-pressed="true"] {
  background: var(--cream);
}

.spotlight__link {
  padding: 0 22px;
  font-weight: 700;
  font-size: 12px;
}

.spot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.spot-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #161513;
  text-align: left;
}

.spot-pick.is-active {
  border-color: var(--acc);
  background: var(--surface-2);
}

.spot-pick__face {
  flex: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--line-soft);
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, #3a3732 0 6px, #2a2824 6px 12px);
}

.spot-pick.is-active .spot-pick__face {
  border-color: var(--acc);
}

.spot-pick__text {
  min-width: 0;
}

.spot-pick__name {
  display: block;
  font-size: 15px;
}

.spot-pick__genre {
  display: block;
  margin-top: 2px;
  color: var(--ink-60);
  font-size: 12px;
}

.spot-pick__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(var(--progress, 0) * 1%);
  height: 3px;
  background: var(--acc);
}

/* ==========================================================================
   4. Weekly rota
   ========================================================================== */
.rota {
  width: calc(100% + 12px);
  min-width: 1000px;
  margin: -6px;
  table-layout: fixed;
  border-spacing: 6px;
}

.rota__corner {
  width: 110px;
}

.rota__day {
  padding: 10px 12px;
  color: var(--ink-60);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  text-align: left;
}

.rota__day.is-today {
  color: var(--acc);
}

.rota__time {
  padding: 12px;
  color: var(--ink-60);
  font-weight: 800;
  font-size: 14px;
  text-align: left;
  vertical-align: bottom;
}

.rota__cell {
  height: 76px;
  padding: 0;
}

.rota-slot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(245, 237, 216, .06);
  border-radius: 12px;
  background: var(--surface-2);
  text-align: left;
  transition: background .25s ease, color .25s ease, opacity .25s ease, border-color .25s ease;
}

.rota-slot__time {
  font-family: var(--mono);
  font-size: 11px;
}

.rota-slot__name {
  font-weight: 800;
  font-size: 14px;
}

.rota.has-lit .rota-slot {
  opacity: .35;
}

.rota.has-lit .rota-slot.is-lit {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
  opacity: 1;
}

/* ==========================================================================
   5. Guest DJs ribbon
   ========================================================================== */
.guests {
  overflow: clip;
}

.guests__head {
  margin-bottom: 28px;
}

.guest-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
}

.guest-stat {
  display: flex;
  flex-direction: column-reverse;
}

.guest-stat__value {
  margin: 0;
  font-weight: 900;
  font-size: 48px;
}

.ribbon {
  position: relative;
  padding: 20px 0;
}

/* Soft fade at both ends. */
.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 4%;
  pointer-events: none;
}

.ribbon::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(18, 17, 16, 0));
}

.ribbon::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(18, 17, 16, 0));
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: ticker 60s linear infinite;
}

.ribbon:hover .ribbon__track,
.ribbon:focus-within .ribbon__track,
.ribbon.is-holding .ribbon__track {
  animation-play-state: paused;
}

.ribbon__list {
  display: flex;
}

.ribbon-card {
  flex: none;
  width: 340px;
  margin-right: 18px;
  overflow: hidden;
  border: 1.5px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface-2);
  transition: border-color .35s ease, transform .35s cubic-bezier(.3, 1.2, .5, 1);
}

.ribbon-card:hover,
.ribbon-card:focus-within {
  border-color: var(--acc);
  transform: translateY(-14px);
}

.ribbon-card__face {
  display: block;
}

.ribbon-card__photo {
  position: relative;
  display: block;
  aspect-ratio: 1;
}

.ribbon-card__caption,
.ribbon-card__shade {
  position: absolute;
  inset: 0;
}

.ribbon-card__caption {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.ribbon-card:hover .ribbon-card__caption,
.ribbon-card.is-playing .ribbon-card__caption {
  filter: none;
}

/* A playing guest mix: only its card lights up, and the ribbon stands still. */
.ribbon-card.is-playing {
  border-color: var(--acc);
}

.ribbon-card__shade {
  background: linear-gradient(180deg, rgba(18, 17, 16, 0) 40%, rgba(18, 17, 16, .92));
}

.ribbon-card__code {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 56px;
  line-height: .9;
}

.ribbon-card__date {
  position: absolute;
  right: 14px;
  top: 16px;
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(18, 17, 16, .85);
  color: var(--acc);
  font-family: var(--mono);
  font-size: 10px;
}

.ribbon-card__over {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.ribbon-card__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.ribbon-card:hover .ribbon-card__more,
.ribbon-card:focus-within .ribbon-card__more {
  grid-template-rows: 1fr;
}

.ribbon-card__quote {
  display: block;
  min-height: 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

.ribbon-card:hover .ribbon-card__quote,
.ribbon-card:focus-within .ribbon-card__quote {
  padding-bottom: 10px;
}

.ribbon-card__mix {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.ribbon-card__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink-dark);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transform: scale(0);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
}

.ribbon-card__len {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0;
  transition: opacity .3s ease;
}

.ribbon-card:hover .ribbon-card__play,
.ribbon-card:focus-within .ribbon-card__play,
.ribbon-card.is-playing .ribbon-card__play {
  transform: none;
}

.ribbon-card:hover .ribbon-card__len,
.ribbon-card:focus-within .ribbon-card__len,
.ribbon-card.is-playing .ribbon-card__len {
  opacity: 1;
}

.ribbon-card__body {
  padding: 18px 20px 20px;
}

.ribbon-card__name {
  font-weight: 900;
  font-size: 24px;
}

.ribbon-card__from {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  color: rgba(245, 237, 216, .7);
  font-size: 13px;
}

/* ==========================================================================
   6. Become a DJ
   ========================================================================== */
.join {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.join__lead {
  margin-top: 24px;
}

.join__cta {
  height: 62px;
  gap: 12px;
  margin-top: 30px;
  padding: 0 30px;
  font-weight: 900;
  font-size: 14px;
}

.join__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface-2);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.3, 1.2, .5, 1);
}

.join-step:hover {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
  transform: translateX(10px);
}

.join-step__num {
  color: transparent;
  font-weight: 900;
  font-size: 64px;
  line-height: .8;
  letter-spacing: -.05em;
  -webkit-text-stroke: 1.5px var(--acc);
}

.join-step:hover .join-step__num {
  color: var(--ink-dark);
  -webkit-text-stroke-color: var(--ink-dark);
}

.join-step__title {
  display: block;
  font-weight: 900;
  font-size: 24px;
}

.join-step__desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.join-step__time {
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

/* ==========================================================================
   7. Media queries (widest first)
   ========================================================================== */
@media (max-width: 1599.98px) {
  .spotlight__panel {
    padding: 36px;
  }

  .show-ends {
    gap: 24px;
  }

  .show-ends__time {
    font-size: 36px;
  }
}

@media (max-width: 1199.98px) {
  .listeners {
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .dj-now__tags {
    left: 16px;
    top: 16px;
    gap: 6px;
  }

  .dj-now__live,
  .dj-now__station {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    letter-spacing: .08em;
  }

  .dj-now__who {
    left: 16px;
    right: 16px;
    bottom: 60px;
  }

  .dj-now__wave {
    left: 16px;
    right: 16px;
    bottom: 14px;
    height: 30px;
  }

  .dj-now__card {
    aspect-ratio: 1;
  }

  .dj-now__btn {
    flex: 1 1 auto;
    height: 56px;
  }

  .dj-chip,
  .dj-kpi__label,
  .listeners__label,
  .today-strip__label,
  .today-strip__at,
  .mosaic-card__art,
  .crate-card__why,
  .spot-next__label,
  .top-track__times,
  .rota-slot__time,
  .ribbon-card__date,
  .ribbon-card__len,
  .ribbon-card__caption,
  .join-step__time {
    font-size: 12px;
  }

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

  .dj-kpi:nth-child(3) {
    border-left: 0;
  }

  .dj-kpi:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .show-ends {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .track-request__form {
    flex-wrap: wrap;
  }

  .track-request__input {
    flex: 1 1 100%;
  }

  .track-request__send {
    width: 100%;
  }

  /* Mosaic: two columns on phones, the big portraits take the full row. */
  .mosaic-scroll {
    overflow: visible;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 220px;
    gap: 10px;
    min-width: 0;
  }

  .mosaic-card--1,
  .mosaic-card--2,
  .mosaic-card--3,
  .mosaic-card--4,
  .mosaic-card--5,
  .mosaic-card--6,
  .mosaic-card--7,
  .mosaic-card--8 {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic-card--1,
  .mosaic-card--4,
  .mosaic-card--5,
  .mosaic-card--8 {
    grid-column: 1 / -1;
  }

  .mosaic-card__body {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .mosaic-card__top {
    left: 12px;
    right: 12px;
  }

  .mosaic-card__name {
    font-size: 18px;
  }

  .mosaic-card__quote {
    display: none;
  }

  .today-strip__label {
    padding: 14px;
  }

  /* Spotlight */
  .spotlight__photo {
    min-height: 420px;
  }

  .spotlight__top,
  .spotlight__who {
    left: 20px;
    right: 20px;
  }

  .spotlight__top {
    top: 20px;
  }

  .spotlight__who {
    bottom: 22px;
  }

  .spotlight__name {
    font-size: clamp(44px, 14vw, 72px);
    line-height: .95;
  }

  .spotlight__panel {
    padding: 20px;
  }

  .spot-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 28px;
  }

  .spot-tabs__thumb {
    display: none;
  }

  .spot-tab[aria-pressed="true"] {
    background: var(--acc);
  }

  .spot-tab {
    height: 44px;
  }

  .spot-quote__text {
    font-size: 22px;
  }

  .spot-bio {
    font-size: 15px;
  }

  .spot-figure {
    padding-left: 10px;
  }

  .spot-figure__value {
    font-size: 24px;
  }

  .spot-figures .stat-label {
    font-size: 12px;
    letter-spacing: .04em;
  }

  .top-track {
    grid-template-columns: 22px 40px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .top-track__art {
    width: 40px;
    height: 40px;
  }

  .top-track__meter {
    display: none;
  }

  .spot-mix__row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .spot-mix__play {
    width: 48px;
    height: 48px;
  }

  .spot-mix__title {
    font-size: 16px;
  }

  .crate {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  .crate-card__quote {
    font-size: 13px;
  }

  .crate-card__face--back {
    padding: 12px;
  }

  .spot-next__time {
    font-size: 30px;
  }

  .spot-slot {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }

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

  .spot-pick {
    gap: 10px;
    padding: 10px;
  }

  .spot-pick__face {
    width: 36px;
    height: 36px;
  }

  .guest-stats {
    gap: 24px;
  }

  .guest-stat__value {
    font-size: 36px;
  }

  .guest-stat .stat-label {
    font-size: 12px;
    letter-spacing: .08em;
  }

  .ribbon-card {
    width: 270px;
  }

  .join__cta {
    width: 100%;
  }

  .join-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .join-step:hover {
    transform: none;
  }

  .join-step__num {
    font-size: 40px;
  }

  .join-step__title {
    font-size: 20px;
  }

  .join-step__time {
    grid-column: 2;
  }
}

@media (max-width: 379.98px) {
  .dj-now__name {
    font-size: 30px;
  }

  .dj-now__who {
    bottom: 50px;
  }

  .dj-now__btn,
  .spotlight__follow,
  .spotlight__link,
  .spot-next__remind {
    width: 100%;
  }

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

  .show-ends__time {
    font-size: 30px;
  }

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

  .spot-figure {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .spot-figure:first-child {
    border-top: 0;
  }

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

/* Touch screens have no hover: the play button and mix length stay visible. */
@media (hover: none) {
  .ribbon-card__play {
    transform: none;
  }

  .ribbon-card__len {
    opacity: 1;
  }
}
