/* Underground Africa. Mobile first. Black, bone, one red. */

@font-face {
  font-family: "Druk Wide";
  src: url("../assets/fonts/Druk-Wide-Bold.woff2") format("woff2"),
    url("../assets/fonts/Druk-Wide-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2"),
    url("../assets/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Bold.woff2") format("woff2"),
    url("../assets/fonts/IBMPlexMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --surface: #111114;
  --raise: #17171b;
  --line: #232329;
  --line-2: #34343c;
  --text: #e8e5de;
  --muted: #b4b0a7;
  --dim: #85827b;
  --red: #b3141f;
  --red-hi: #d01a26;
  --header: 56px;
  --bar: 64px;
  --pad: 16px;
  --gap: 12px;
  --max: 1360px;
  --display: "Druk Wide", "Arial Black", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  overflow-x: hidden;
}

body.has-bar {
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: var(--pad);
  z-index: 90;
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
}

/* Film grain. Static, cheap, above images only a touch. */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 70;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scan {
  display: none;
}

/* Type */
.display {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  flex: none;
}

.label.is-plain::before {
  display: none;
}

.meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.lede {
  color: var(--muted);
  max-width: 46ch;
}

.name-keep {
  white-space: nowrap;
}

.inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
  background: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.brand img {
  width: 26px;
  height: 26px;
}

.brand-name {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  display: grid;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}

.menu-toggle span {
  position: relative;
  transform: translateY(-3px);
}

.menu-toggle span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
}

body.nav-open .menu-toggle span {
  transform: translateY(0) rotate(45deg);
}

body.nav-open .menu-toggle span::before {
  top: 0;
  width: 22px;
  transform: rotate(-90deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header) + 24px) var(--pad)
    calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}

body.nav-open .site-nav {
  opacity: 1;
  visibility: visible;
}

/* backdrop-filter makes the header a containing block for fixed children,
   which trapped the full-screen menu inside the 56px header on iOS. */
body.nav-open .site-header {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.nav-open .ticket-bar {
  transform: translateY(110%);
}

.site-nav {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-nav .nav-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.site-nav .nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(20px, 6.2vw, 32px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.site-nav .nav-links a::after {
  content: "→";
  font-family: var(--mono);
  font-size: 14px;
  color: var(--dim);
}

.nav-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nav-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0bad35;
}

.site-nav .nav-links a.is-minor {
  min-height: 44px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--dim);
  border-bottom: 0;
}

.site-nav .nav-links a.is-minor:first-of-type,
.site-nav .nav-links a:not(.is-minor) + a.is-minor {
  margin-top: 18px;
}

.site-nav .nav-links a.is-minor::after {
  font-size: 12px;
}

.site-nav .nav-links a[aria-current="page"],
.site-nav .nav-links a:hover {
  color: var(--text);
}

.site-nav .nav-links a.is-tickets {
  color: var(--red-hi);
}

.nav-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  border-color: var(--text);
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-hi);
  border-color: var(--red-hi);
}

.btn-light {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.btn-light:hover {
  background: transparent;
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn .arrow {
  font-family: var(--mono);
  letter-spacing: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* Sections */
.section {
  padding: 48px var(--pad);
  border-bottom: 1px solid var(--line);
}

.section.is-tight {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head .display {
  font-size: clamp(22px, 6.8vw, 56px);
}

.section-head .label {
  display: flex;
  margin-bottom: 10px;
}

.page-hero {
  padding: 36px var(--pad) 28px;
  border-bottom: 1px solid var(--line);
}

.page-hero .display {
  font-size: clamp(32px, 10.4vw, 104px);
  margin: 12px 0 14px;
}

/* Home hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-still {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: grayscale(1) contrast(1.12) brightness(0.8);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(10, 10, 11, 0.82) 24%,
    rgba(10, 10, 11, 0.2) 58%,
    rgba(10, 10, 11, 0.45) 100%
  );
}

.hero-id {
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 24px;
  text-align: center;
}

.hero-id p {
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.8);
}

.hero-mark {
  width: min(30vw, 150px);
}

.hero-next {
  padding: 0 var(--pad) 28px;
  display: grid;
  gap: 16px;
}

.hero-next[hidden] {
  display: none;
}

.hero-next .when {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(38px, 12.4vw, 120px);
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.when .day {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-next .what {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(18px, 5.6vw, 36px);
  line-height: 0.95;
  margin-top: 8px;
}

.hero-next .where {
  margin-top: 10px;
}

.hero-next .btn-row .btn {
  flex: 1 1 0;
}

/* No night on sale: a small note, not a headline */
.hero-next.is-quiet {
  gap: 12px;
}

.hero-next.is-quiet .what {
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.hero-next.is-quiet .where {
  margin-top: 4px;
  font-size: 12px;
}

.hero-next.is-quiet .btn-row .btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 11px;
}

.hero-tag {
  padding: 0 var(--pad) 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Ticket bar (mobile) */
.ticket-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
  padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 11, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
}

.ticket-bar.is-hidden {
  transform: translateY(110%);
}

.ticket-bar .tb-copy {
  min-width: 0;
  flex: 1;
  line-height: 1.3;
}

.ticket-bar .tb-date {
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ticket-bar .tb-name {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-bar .btn {
  min-height: 44px;
  padding: 0 18px;
  flex: none;
}

/* Rooms (formats) */
.rooms {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.rooms li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rooms .name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(16px, 4.8vw, 30px);
  line-height: 1;
  white-space: nowrap;
}

.rooms .place {
  order: 3;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.rooms .note {
  color: var(--muted);
}

/* About split */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.about figure {
  margin: 0;
}

.about img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.about .copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.about .copy p {
  color: var(--muted);
  max-width: 48ch;
}

.about .copy .display {
  font-size: clamp(22px, 7vw, 44px);
  margin: 4px 0 4px;
}

.about .btn-row {
  margin-top: 8px;
}

/* Listen / players */
.listen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.listen > *,
.split-2 > * {
  min-width: 0;
}

.player {
  border: 1px solid var(--line);
  background: var(--surface);
}

.player-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

/* Mix play button takes the same 64px slot as a release cover, so the text
   of every row starts on the same line. */
.player-head .play {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--raise);
  color: var(--text);
}

.player-head .play svg {
  width: 16px;
  height: 16px;
}

.player-head .copy {
  min-width: 0;
  flex: 1;
}

.player-head h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.05;
  margin-top: 6px;
  overflow-wrap: break-word;
}

.play {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease);
}

.play:hover {
  background: var(--red-hi);
  color: var(--text);
}

.play svg {
  width: 14px;
  height: 14px;
  margin-left: 3px;
}

.player-out {
  flex: none;
  min-width: 44px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 12px 0 12px 8px;
}

.player-out .out-text {
  display: none;
}

.player-out:hover {
  color: var(--text);
}

.player-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  background: var(--surface);
}

/* Horizontal rails (mobile), grids (desktop) */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
  scroll-padding: 0 var(--pad);
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail > * {
  scroll-snap-align: start;
}

.rail.is-small {
  grid-auto-columns: 60%;
}

.frame {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}

a.frame:hover img {
  filter: grayscale(0.2) contrast(1.05);
}

/* Tiles (residents, articles) */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.tiles.is-wide {
  grid-template-columns: 1fr;
}

.tile {
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 4 / 5;
  padding: 12px;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

.tiles.is-wide .tile {
  aspect-ratio: 16 / 11;
  padding: 16px;
}

.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.9), transparent 60%);
}

.tile:hover img {
  transform: scale(1.03);
}

.tile .name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(13px, 3.9vw, 28px);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.tiles.is-wide .tile .name {
  font-size: clamp(20px, 6vw, 36px);
}

.tile .role {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Person cards: one size for every name, one line each, sized to the card. */
.tile.is-person {
  container-type: inline-size;
}

.tile.is-person img {
  filter: none;
}

.tile.is-person .name {
  font-size: 15px;
  font-size: clamp(11px, 8.1cqi, 34px);
  line-height: 1;
  white-space: nowrap;
}

.tile.is-person .role {
  font-size: 10px;
  font-size: clamp(9px, 3.9cqi, 12px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Event detail block (tickets) */
.event {
  display: grid;
  gap: 20px;
}

.event .when {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(38px, 12.4vw, 128px);
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.event .what {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(22px, 7vw, 44px);
  line-height: 0.95;
  margin-top: 10px;
}

.event .copy {
  color: var(--muted);
  max-width: 48ch;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.facts > div {
  background: var(--bg);
  padding: 12px 14px;
}

.facts > div.is-full {
  grid-column: 1 / -1;
}

.facts dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.facts dd {
  margin: 4px 0 0;
  font-size: 13px;
}

.facts dd a {
  border-bottom: 1px solid var(--line-2);
}

.buy {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 32px var(--pad) 40px;
}

#xceed-widget {
  position: relative;
  width: 100%;
  min-height: 560px;
  max-width: 100%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-top: 16px;
}

.widget-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--dim);
  font-size: 12px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--red-hi);
  font-size: 12px;
  padding-top: 1px;
}

/* Lists: archive, upcoming */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.list .when {
  grid-row: span 2;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
  padding-top: 1px;
}

.list .what {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
}

.list .what a {
  border-bottom: 1px solid var(--line-2);
}

.list .where {
  font-size: 12px;
  color: var(--dim);
}

.list li.is-feature .what {
  color: var(--text);
}

.list li.is-feature .when {
  color: var(--red-hi);
}

.stage-mark {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red-hi);
  font-weight: 400;
}

.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1) 16px;
  padding: 0 var(--pad);
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips button {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.chips button.is-on {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* Featured night (archive) */
.feature {
  display: grid;
  border: 1px solid var(--line);
  margin-bottom: 32px;
  background: var(--surface);
}

.feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.feature .copy {
  padding: 18px 16px 20px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.feature h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(22px, 7vw, 44px);
  line-height: 0.95;
}

.feature p {
  color: var(--muted);
}

/* Roster of hosted names (typographic, no photos) */
.names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  border-top: 1px solid var(--line);
}

.names li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.names .nm {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: break-word;
}

.names .yr {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.names li.is-headline {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 18px 0 16px;
}

.names li.is-headline .nm {
  font-size: clamp(28px, 9vw, 64px);
  line-height: 0.95;
  color: var(--text);
}

.names li.is-headline .yr {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-hi);
}

.names.is-quiet .nm {
  color: var(--dim);
}

/* Label */
.label-hero {
  padding: 40px var(--pad) 32px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(179, 20, 31, 0.12), transparent 60%),
    var(--bg);
}

.label-hero .wordmark {
  width: min(72vw, 420px);
  margin: 6px 0 4px;
}

.catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

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

.mixes a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mixes .ep {
  font-size: 12px;
  color: var(--red-hi);
  letter-spacing: 0.06em;
}

.mixes .nm {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.mixes .go {
  color: var(--dim);
}

.mixes a:hover .go {
  color: var(--text);
}

/* Releases (KOVA) */
.releases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}

.release-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.release-art:hover img {
  transform: scale(1.03);
}

.play-dot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 11, 0.72);
  color: var(--text);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.play-dot svg {
  width: 11px;
  height: 11px;
  margin-left: 2px;
}

.release-artist {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--muted));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-title {
  margin-top: 4px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.1;
  color: var(--text);
}

.release-meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.release-meta a:hover {
  color: var(--text);
}

.release-row .release-thumb {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.release-row .release-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-row .play-dot {
  inset: 0;
  margin: auto;
  width: 30px;
  height: 30px;
}

.release-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.release-row .copy {
  min-width: 0;
  flex: 1;
}

.release-row .release-artist {
  margin-top: 6px;
}

.release-row .release-title {
  font-size: 15px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 16, 15, 0.97);
  border-top: 1px solid #1f2a23;
  display: none;
}

body.dock-open .dock {
  display: grid;
  gap: 8px;
}

body.dock-open .ticket-bar {
  transform: translateY(110%);
}

body.dock-open {
  padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}

.dock-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-head img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.dock-head .copy {
  flex: 1;
  min-width: 0;
}

.dock-head .release-artist {
  margin: 0;
  color: #0bad35;
}

.dock-head .release-title {
  margin-top: 2px;
  font-size: 12px;
}

.dock-close {
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: var(--muted);
}

.dock iframe {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

/* KOVA page: the label's own palette. Near-black green, KOVA green, foliage. */
body[data-page="label"] {
  --bg: #0e100f;
  --surface: #131815;
  --line: #1c2520;
  --line-2: #2a372f;
  --accent: #0bad35;
}

body[data-page="label"] .label::before {
  background: #0bad35;
}

body[data-page="label"] .mixes .ep {
  color: #0bad35;
}

body[data-page="label"] .site-header {
  background: rgba(14, 16, 15, 0.88);
}

.kova-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px var(--pad) 36px;
  border-bottom: 1px solid var(--line);
}

.kova-hero .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.5;
}

.kova-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kova-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(14, 16, 15, 0.35), #0e100f 88%),
    radial-gradient(80% 60% at 20% 30%, rgba(11, 173, 53, 0.18), transparent 70%);
}

.kova-hero .k {
  width: min(34vw, 150px);
  margin-bottom: 26px;
}

.kova-hero h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(24px, 7.4vw, 60px);
  line-height: 0.95;
  max-width: 14ch;
}

.kova-hero .lede {
  margin: 14px 0 22px;
}

.kova-title {
  margin-top: 12px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(34px, 11vw, 96px);
  line-height: 0.9;
}

.kova-intro {
  margin: 16px 0 20px;
  max-width: 44ch;
  color: var(--text);
}

.kova-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 22px;
  max-width: 520px;
  background: var(--line);
  border: 1px solid var(--line);
}

.kova-facts > div {
  background: rgba(14, 16, 15, 0.9);
  padding: 10px 12px;
}

.kova-facts dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.kova-facts dd {
  margin: 3px 0 0;
  font-size: 13px;
  color: #0bad35;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn-green {
  background: #0bad35;
  border-color: #0bad35;
  color: #07110a;
}

.btn-green:hover {
  background: #14c443;
  border-color: #14c443;
}

/* Prose */
.prose {
  max-width: 60ch;
}

.prose h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 6vw, 32px);
  line-height: 1;
  margin: 40px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
  margin: 0 0 1em;
}

.prose .pull {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--text);
  font-size: clamp(22px, 7vw, 44px);
  line-height: 0.98;
  margin: 8px 0 18px;
}

/* Resident / article detail */
.detail {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.detail .cover {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 72svh;
  overflow: hidden;
  background: var(--surface);
}

.detail .cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.detail .copy {
  padding: 28px var(--pad) 40px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.detail h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 6.2vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.detail .dek {
  color: var(--text);
  max-width: 44ch;
}

.detail .copy p:not(.label):not(.meta) {
  color: var(--muted);
  max-width: 52ch;
}

.detail .prose p {
  margin: 0 0 1em;
}

.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.pager a:hover {
  color: var(--text);
}

.pager a:last-child {
  text-align: right;
}

.pager a:first-child,
.pager a:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.photo-grid:empty {
  display: none;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.photo-grid figure:first-child {
  grid-column: 1 / -1;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-grid figure:first-child img {
  aspect-ratio: 3 / 2;
}

.photo-grid + .photo-grid {
  margin-top: 6px;
}

/* Resident profile */
.words {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(14px, 4vw, 20px);
  line-height: 1.2;
  color: var(--text);
}

.detail .copy .words {
  color: var(--text);
  margin-top: 4px;
}

.words[hidden],
[data-fill][hidden] {
  display: none !important;
}

.highlights li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--red);
}

.highlights li {
  grid-template-columns: 22px 1fr;
  color: var(--text);
}

/* Resident photos: justified rows. No gaps, no cropping. */
.resident-photos {
  display: grid;
  gap: 6px;
}

.jrow {
  display: flex;
  gap: 6px;
  width: 100%;
  margin: 0 auto;
}

.jrow figure {
  margin: 0;
  min-width: 0;
  background: var(--surface);
}

.jrow img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1);
}

.fact-list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.fact-list > div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 2px;
}

.fact-list dd {
  margin: 0;
  color: var(--text);
}

.story p {
  color: var(--text);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
  gap: 6px;
}

.gallery a {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
}

.gallery a.is-hero,
.gallery a.is-wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.03);
}

.gallery .caption {
  position: absolute;
  left: 10px;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px #000;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 56px 12px;
  background: rgba(5, 5, 6, 0.96);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: calc(100svh - 120px);
  width: auto;
  object-fit: contain;
}

.lightbox p {
  position: absolute;
  left: var(--pad);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: var(--text);
}

/* Forms */
.write {
  max-width: 40rem;
}

.write-form {
  display: grid;
  gap: 14px;
}

.write-form[hidden] {
  display: none;
}

.write-form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.write-form input,
.write-form textarea {
  width: 100%;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 0;
  padding: 12px 14px;
  -webkit-appearance: none;
  appearance: none;
}

.write-form textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.5;
}

.write-form input:focus,
.write-form textarea:focus {
  outline: none;
  border-color: var(--text);
}

.write-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-sent {
  border: 1px solid var(--line-2);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.contact-mail {
  display: inline-block;
  max-width: 100%;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(16px, 4.4vw, 30px);
  line-height: 1.2;
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
  overflow-wrap: break-word;
}

.contact-mail:hover {
  color: var(--red-hi);
}

/* Links page */
body[data-page="links"] .site-nav,
body[data-page="links"] .menu-toggle {
  display: none;
}

.links-page {
  min-height: calc(100svh - var(--header) - 120px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 40px var(--pad) 48px;
  text-align: center;
}

.links-mark {
  width: 64px;
  margin-bottom: 8px;
}

.links-page h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(22px, 7vw, 36px);
  line-height: 0.95;
  margin-bottom: 18px;
}

.links-stack {
  display: grid;
  gap: 8px;
  width: min(100%, 24rem);
}

.links-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.links-btn:hover {
  border-color: var(--text);
}

.links-btn.is-primary {
  background: var(--red);
  border-color: var(--red);
}

.links-btn .sub {
  margin-left: 10px;
  color: rgba(232, 229, 222, 0.7);
  letter-spacing: 0.1em;
}

/* 404 */
.lost {
  min-height: calc(100svh - var(--header) - 160px);
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 48px var(--pad);
}

.lost .display {
  font-size: clamp(48px, 16vw, 160px);
}

/* Footer: one row. Brand and socials. Pages live in the menu. */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--pad);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand span {
  white-space: nowrap;
}

.footer-brand img {
  width: 22px;
  height: 22px;
}

.footer-social {
  display: flex;
  margin-right: -10px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--dim);
}

.icon-link svg {
  width: 18px;
  height: 18px;
}

.icon-link:hover,
.footer-brand:hover {
  color: var(--text);
}

@media (max-width: 359px) {
  .footer-brand span {
    display: none;
  }
}

/* Gate */
.gate-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px var(--pad);
}

.gate-card {
  width: min(100%, 340px);
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.gate-mark {
  width: min(30vw, 120px);
  margin-bottom: 12px;
}

.gate-card h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 0.92;
}

.gate-card .lede {
  margin-bottom: 12px;
}

.gate-card .write-form {
  width: 100%;
  text-align: left;
}

.gate-card .btn {
  width: 100%;
}

.gate-err {
  color: var(--red-hi);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-err[hidden] {
  display: none;
}

/* Motion: quiet reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ≥ 600: small tablets */
@media (min-width: 600px) {
  :root {
    --pad: 28px;
  }

  .rail {
    grid-auto-columns: 42%;
  }

  .rail.is-small {
    grid-auto-columns: 34%;
  }

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

  .tiles.is-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .facts > div.is-full {
    grid-column: span 2;
  }

  .player-out .out-text {
    display: inline;
  }

  .hero-next .btn-row .btn {
    flex: 0 0 auto;
    min-width: 180px;
  }

}

/* ≥ 1024: desktop */
@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }

  :root {
    --header: 68px;
    --pad: 48px;
    --gap: 16px;
  }

  body.has-bar {
    padding-bottom: 0;
  }

  .ticket-bar {
    display: none;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 11px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    opacity: 1;
    visibility: visible;
    padding: 0;
    background: none;
    flex-direction: row;
  }

  .site-nav {
    height: auto;
    overflow: visible;
  }

  .site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    border: 0;
  }

  .site-nav .nav-links a {
    min-height: 0;
    border: 0;
  }

  .site-nav .nav-links a::after {
    display: none;
  }

  .site-nav .nav-links a,
  .site-nav .nav-links a.is-minor {
    min-height: 0;
    white-space: nowrap;
  }

  .site-nav .nav-links a.is-minor {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-top: 0 !important;
  }

  .nav-sub {
    display: none;
  }

  .site-nav .nav-links a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    line-height: 1;
    color: var(--dim);
    padding: 8px 0;
  }

  .site-nav .nav-links a.is-tickets {
    order: 99;
    color: var(--text);
    background: var(--red);
    padding: 11px 16px;
    margin-left: 6px;
  }

  .site-nav .nav-links a.is-tickets:hover {
    background: var(--red-hi);
  }

  .nav-foot {
    display: none;
  }

  .section {
    padding: 96px var(--pad);
  }

  .section.is-tight {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .page-hero {
    padding: 72px var(--pad) 48px;
  }

  .hero-mark {
    width: 180px;
  }

  .hero-next {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 0 var(--pad) 56px;
    max-width: calc(var(--max) + var(--pad) * 2);
    width: 100%;
    margin: 0 auto;
  }

  .hero-tag {
    padding: 0 var(--pad) 56px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
  }

  .about img {
    /* team photo is landscape; a 4/5 box was cropping people off both sides on desktop */
    aspect-ratio: 3 / 2;
  }

  .about .copy .display {
    font-size: clamp(26px, 3.3vw, 44px);
  }

  .about.is-flip figure {
    order: 2;
  }

  .rooms-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
  }

  .rooms li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    align-items: baseline;
    gap: 24px;
    padding: 24px 0;
  }

  .rooms .name {
    font-size: clamp(18px, 1.9vw, 28px);
    white-space: normal;
  }

  .rooms .place {
    text-align: right;
  }

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

  .rail,
  .rail.is-small {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

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

  .rail.is-small {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
  }

  .tiles.is-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile {
    padding: 18px;
  }

  .rail.is-small .tile {
    padding: 14px;
  }

  .rail.is-small .tile .name {
    font-size: clamp(13px, 1.25vw, 20px);
  }

  .event-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: end;
  }

  .fact-list {
    margin-top: 0;
  }

  .event-wrap .facts {
    grid-template-columns: 1fr 1fr;
  }

  .buy {
    padding: 56px var(--pad) 72px;
  }

  #xceed-widget {
    min-height: 680px;
  }

  .list li {
    grid-template-columns: 110px minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 16px;
    padding: 16px 0;
    align-items: baseline;
  }

  .list .when {
    grid-row: auto;
  }

  .list .where {
    text-align: right;
  }

  .feature {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .names {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
  }

  .names .nm {
    font-size: 15px;
  }

  .feature img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 360px;
  }

  .feature .copy {
    padding: 36px;
    align-content: center;
  }

  .releases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px var(--gap);
  }

  .release-title {
    font-size: 15px;
  }

  .kova-hero {
    padding: 96px var(--pad) 72px;
  }

  .kova-facts {
    grid-template-columns: repeat(4, 1fr);
    max-width: 760px;
  }

  .dock {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 380px;
    border: 1px solid #1f2a23;
  }

  body.dock-open {
    padding-bottom: 0;
  }

  .split-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .detail {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100svh - var(--header));
  }

  .detail .cover {
    aspect-ratio: auto;
    max-height: none;
  }

  .detail.is-flip .cover {
    order: 2;
  }

  .detail .copy {
    padding: 72px var(--pad);
  }

  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .resident-photos,
  .jrow {
    gap: 8px;
  }

  .photo-grid figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .photo-grid figure:first-child img {
    aspect-ratio: auto;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .gallery a.is-hero {
    grid-row: span 2;
    aspect-ratio: auto;
  }

  .site-footer {
    padding: 20px var(--pad);
  }
}

/* Tight desktops: keep the top menu on one line. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brand-name {
    display: none;
  }

  .site-nav .nav-links {
    gap: 18px;
  }

  .site-nav .nav-links a,
  .site-nav .nav-links a.is-minor {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 1440px) {
  .rail.is-small {
    gap: 20px;
  }
}

/* XCEED widget CSS is global. Keep UA chrome. */
html,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--mono) !important;
}
