:root {
  --bg: #050505;
  --surface: #0f0f10;
  --surface-2: #18181a;
  --line: #232326;
  --line-strong: #3a3a3f;
  --text: #f4f2ec;
  --muted: #8e8c94;
  --accent: #e8ff3a;
  --accent-ink: #050505;
  --tbc: #ff8a3d;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(3rem, 9vw, 7.5rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .005em; }
h3 { font-weight: 600; font-size: 1rem; }
::selection { background: var(--accent); color: var(--accent-ink); }

.eyebrow {
  margin: 0 0 14px; color: var(--muted);
  font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
}
.label { color: var(--muted); text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 600; margin: 0 0 14px; }

/* Scroll reveal (only once JS has loaded, so the page never stays blank) */
.js .reveal, .js .tile { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in, .js .tile.is-in { opacity: 1; transform: none; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav--solid { background: rgb(5 5 5 / .86); backdrop-filter: blur(12px); padding-block: 12px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; position: relative; z-index: 2; }
/* Wordmark: "DJ RA" + the ram head as the M, as on the official logo. The ram
   stands a little taller than the capitals (Anton caps are .86em) and dips just
   below the baseline. The viewBox crops the 120×120 ram symbol to its outline. */
.wordmark { display: inline-block; white-space: nowrap; }
.wordmark__m {
  display: inline-block; width: 1.3em; height: 1em; margin-left: .07em;
  vertical-align: -.09em; fill: currentColor; overflow: visible; transition: color .2s;
}
.brand { color: var(--text); }
.brand:hover .wordmark__m, .footer__brand:hover .wordmark__m { color: var(--accent); }
.brand__name { font: 1.6rem/1 var(--display); letter-spacing: .1em; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 36px); align-items: center; }
.nav__links a {
  text-decoration: none; color: var(--text); opacity: .7;
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  transition: opacity .2s, color .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links .nav__cta { opacity: 1; border: 1px solid var(--text); padding: 9px 16px; }
.nav__links .nav__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nav__toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav--open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav--open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 120px var(--gutter) 110px;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img, none) center 30% / cover no-repeat, var(--bg);
  filter: grayscale(.35) contrast(1.08);
  animation: drift 24s ease-in-out infinite alternate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgb(5 5 5 / .25) 0%, rgb(5 5 5 / .75) 75%),
    linear-gradient(180deg, rgb(5 5 5 / .6) 0%, rgb(5 5 5 / .15) 35%, rgb(5 5 5 / .5) 70%, var(--bg) 100%);
}
.hero__name .wordmark__m { filter: drop-shadow(0 10px 40px rgb(0 0 0 / .55)); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.1) translate(-1%, -1%); } }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__name {
  margin-top: 10px; color: var(--text);
  font: 400 clamp(4.5rem, 16.5vw, 15.5rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .03em;
  text-shadow: 0 10px 60px rgb(0 0 0 / .55);
  animation: rise 1.2s .12s var(--ease) both;
}
.hero__kicker {
  margin: 22px 0 0; color: var(--text);
  font-size: clamp(.7rem, 1.4vw, .85rem); font-weight: 600; letter-spacing: .42em; text-transform: uppercase;
  animation: rise 1.2s .24s var(--ease) both;
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; animation: rise 1.2s .36s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 1px; height: 56px; background: rgb(255 255 255 / .2); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--text); animation: scrollcue 2s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
  background: var(--text); color: var(--bg); border: 1px solid var(--text);
  padding: 16px 28px; border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button--ghost { background: rgb(5 5 5 / .3); color: var(--text); border-color: rgb(255 255 255 / .45); }
.button--ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.button--small { padding: 7px 12px; font-size: .66rem; }
.button--big { padding: 20px 40px; font-size: .8rem; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gutter); }
.section--flush { max-width: none; }
.section--flush .section__head { max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; }
.section__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head h2 { grid-column: 1; }
.section__head > :nth-child(n+3) { grid-column: 2; grid-row: 2; justify-self: end; }
.section__lede { margin: 0; color: var(--muted); max-width: 360px; font-size: .95rem; }
.section__links { display: flex; gap: 22px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.section__links a { color: var(--muted); text-decoration: none; }
.section__links a:hover { color: var(--text); }
.empty { color: var(--muted); margin: 0; }

/* Intro */
.intro { text-align: center; padding-bottom: clamp(60px, 8vw, 110px); }
.intro__statement {
  max-width: 1100px; margin: 0 auto;
  font-size: clamp(1.6rem, 3.8vw, 3.3rem); line-height: 1.18; font-weight: 300; letter-spacing: -.01em;
}
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(56px, 8vw, 100px) 0 0; border-block: 1px solid var(--line);
}
.stats div { padding: 34px 16px; display: flex; flex-direction: column-reverse; gap: 10px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.stats dd { margin: 0; font: clamp(3rem, 7vw, 5.5rem)/1 var(--display); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > div { display: flex; align-items: center; gap: 34px; padding: 26px 17px; white-space: nowrap; }
.marquee span { font: clamp(2rem, 4.4vw, 3.6rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--text); }
.marquee i svg { display: block; width: 30px; height: 30px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Tour / archive rows */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  /* Fixed outer columns, so every row (and every year group) lines its columns up exactly. */
  display: grid; grid-template-columns: 96px 60px minmax(0, 1.25fr) minmax(0, 1fr) 250px; gap: 24px; align-items: center;
  padding: 20px 12px; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.row::before { content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .25s var(--ease); }
.row:hover { background: var(--surface); }
.row:hover::before { transform: scaleY(1); }
.row__date { display: flex; flex-direction: column; line-height: 1; }
.row__day { font: 1.55rem/1 var(--display); text-transform: uppercase; }
.row__year { margin-top: 6px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .2em; }
.row__thumb {
  width: 60px; height: 60px; overflow: hidden; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--line-strong);
}
.row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.row:hover .row__thumb img { filter: none; }
.row__thumb svg { width: 30px; height: 30px; }
.row__title { font: 1.4rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.row__title .badge { vertical-align: middle; margin-left: 6px; font-family: var(--body); }
.row__meta { margin: 6px 0 0; color: var(--muted); font-size: .84rem; }
.row__notes { margin: 4px 0 0; color: var(--muted); font-size: .8rem; font-style: italic; }
.row__place { margin: 0; display: flex; flex-direction: column; font-size: .9rem; }
.row__place strong { font-weight: 600; }
.row__place span { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }
.row__end { display: flex; align-items: center; gap: 12px; justify-content: flex-end; min-width: 0; }
.row__sources { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 0; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.row__sources a { max-width: 100%; color: var(--muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sources a:hover { color: var(--text); }
.row--tbc .row__day { color: var(--muted); }
.badge { display: inline-block; color: var(--tbc); border: 1px solid currentColor; padding: 1px 6px; font-size: .62rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.rows__empty {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 40px 12px; border-bottom: 1px solid var(--line);
}
.rows__empty p { margin: 0 auto 0 0; font: clamp(1.4rem, 3vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; }

.group + .group { margin-top: 64px; }
.group__title { font: clamp(2.2rem, 5vw, 3.6rem)/1 var(--display); text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.group__title span { font: 600 .7rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding-inline: 4px; }
.highlight { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; }
.highlight__visual { position: absolute; inset: 0; }
.highlight__visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.1); transition: transform 1.2s var(--ease), filter .6s; }
.highlight:hover .highlight__visual img { transform: scale(1.06); filter: none; }
.highlight__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(5 5 5 / .95)); }
.highlight--type { background: radial-gradient(circle at 50% 40%, #1c1c1f, var(--surface) 70%); }
.highlight--type .highlight__visual { display: flex; align-items: center; justify-content: center; padding: 24px; }
.highlight__type {
  font: 400 clamp(3rem, 7vw, 6rem)/.88 var(--display); text-transform: uppercase; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px var(--text); opacity: .5; transition: opacity .4s, -webkit-text-stroke-color .4s;
}
.highlight--type:hover .highlight__type { opacity: 1; -webkit-text-stroke-color: var(--accent); }
.highlight__body { position: relative; padding: clamp(20px, 2.4vw, 36px); }
.highlight__body time { color: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.highlight__body h3 { font: clamp(1.8rem, 2.8vw, 2.6rem)/.95 var(--display); text-transform: uppercase; margin: 10px 0 8px; }
.highlight__body p { margin: 0 0 10px; color: var(--text); opacity: .75; font-size: .85rem; }

/* Music */
/* Player and list sit side by side at the same height, tops aligned (both start with a label).
   The player stretches to the list's height, which keeps it close to square so the artwork isn't cropped. */
.music { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.music__player { display: flex; flex-direction: column; }
#players { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.player { flex: 1; width: 100%; min-height: 460px; border: 0; background: var(--surface); }
.releases { margin: 0; padding: 0; list-style: none; counter-reset: rel; border-top: 1px solid var(--line); }
.releases li { counter-increment: rel; display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.releases li::before { content: counter(rel, decimal-leading-zero); font: 1.3rem/1 var(--display); color: var(--muted); }
.releases a { flex: 1; text-decoration: none; font-weight: 500; transition: color .2s; }
.releases a:hover { color: var(--accent); }
.releases span { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.listen-on { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.new-badge { font-style: normal; color: var(--accent-ink); background: var(--accent); padding: 2px 7px; font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; align-self: center; }

/* Out now: latest releases */
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(232 255 58 / .55); } 60% { box-shadow: 0 0 0 9px rgb(232 255 58 / 0); } }
.section__lede a { color: var(--text); }
.new__list { display: grid; gap: clamp(28px, 4vw, 48px); }
.drop {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(18px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line);
}
.drop--plain { grid-template-columns: minmax(0, 1fr); }
.drop__art { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.drop__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.drop__art:hover img { transform: scale(1.04); filter: brightness(.8); }
.drop__frame { cursor: auto; }
.drop__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 10px 40px rgb(0 0 0 / .5); transition: scale .3s var(--ease);
}
.drop__play::after { content: ''; position: absolute; left: 36px; top: 28px; border: 14px solid transparent; border-left: 22px solid var(--accent-ink); border-right: 0; }
.drop__art:hover .drop__play { scale: 1.08; }
.drop__title { font: 400 clamp(3rem, 7vw, 6rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 22px; }
.drop__text { margin: 0 0 24px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.drop__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__new {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 16px 8px 8px;
  border: 1px solid rgb(255 255 255 / .3); background: rgb(5 5 5 / .45); backdrop-filter: blur(6px);
  text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  animation: rise 1.2s .48s var(--ease) both; transition: border-color .2s;
}
.hero__new:hover { border-color: var(--accent); }
.hero__new-tag { background: var(--accent); color: var(--accent-ink); padding: 4px 8px; font-weight: 700; letter-spacing: .2em; }
.hero__new-tag { white-space: nowrap; }
.hero__new-text { text-align: left; }
.hero__new-meta { color: var(--muted); }
.hero__new-meta::before { content: '· '; }
@media (max-width: 640px) {
  .hero__new { letter-spacing: .1em; font-size: .68rem; }
  .hero__new-meta { display: block; }
  .hero__new-meta::before { content: none; }
}
.nav__links .nav__new { color: var(--accent); opacity: 1; }

/* See: videos + gallery */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border: 0; overflow: hidden; background: var(--surface); cursor: pointer; color: var(--text);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; filter: grayscale(.6); transition: opacity .3s, filter .3s, transform 1s var(--ease); }
.video:hover img { opacity: 1; filter: none; transform: scale(1.03); }
.video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--text); background: rgb(5 5 5 / .3); backdrop-filter: blur(4px); transition: background .2s, border-color .2s; }
.video:hover .video__play { background: var(--accent); border-color: var(--accent); }
.video__play::after {
  content: ''; position: absolute; left: 29px; top: 23px;
  border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--text);
}
.video:hover .video__play::after { border-left-color: var(--accent-ink); }
.video__title { position: absolute; left: 18px; bottom: 14px; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }

.tile {
  position: relative; display: block; overflow: hidden; padding: 0; border: 0; cursor: zoom-in;
  background: var(--surface); color: var(--text); text-align: left; font: inherit;
}
a.tile { cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / .85));
  font-size: .78rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.tile__cap em { font-style: normal; color: var(--accent); margin-left: 4px; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 32px; }
.more__link { color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.more__link:hover { color: var(--accent); }
/* Expand/collapse (see collapsible() in app.js) */
.x-desk, .x-off { display: none !important; }
@media (max-width: 860px) { .x-mob { display: none !important; } }
@media (min-width: 861px) { .more--small-only { display: none; } }

/* "From the floor": phone-style strip of clips and candid shots under Live */
/* Live: three carousel rows (videos, photos, from the floor) with matching heads */
.strip-block + .strip-block { margin-top: clamp(48px, 6vw, 80px); }
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.strip-head .label { margin: 0; }
.strip-head__lede { margin: 0; color: var(--muted); font-size: .9rem; }
.strip-head__lede a { color: var(--text); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-left: 14px; white-space: nowrap; }
.strip-head__lede a:hover { color: var(--accent); }
@media (max-width: 640px) { .strip-head__lede a { display: block; margin: 8px 0 0; } }
.video-strip, .live-strip { display: grid; grid-auto-flow: column; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; }
.video-strip { grid-auto-columns: clamp(280px, 44vw, 640px); }
.video-strip > * { scroll-snap-align: start; }
.live-strip { grid-auto-columns: clamp(230px, 25vw, 340px); }
.live-strip .tile { aspect-ratio: 4 / 5; scroll-snap-align: start; }
.floor__strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(190px, 22vw, 290px); gap: 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-color: var(--line-strong) transparent;
}
.floor__strip .tile { aspect-ratio: 4 / 5; scroll-snap-align: start; }
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.tile:hover video { transform: scale(1.04); }
.tile--clip { cursor: pointer; }
.tile__play {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgb(5 5 5 / .55); border: 1px solid rgb(255 255 255 / .5); backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s;
}
.tile__play::after {
  content: ''; position: absolute; left: 13px; top: 10px;
  border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--text);
}
.tile--clip:hover .tile__play { background: var(--accent); border-color: var(--accent); }
.tile--clip:hover .tile__play::after { border-left-color: var(--accent-ink); }
.row__end .button--ghost { border-color: var(--line-strong); }

/* Flyers */
.flyers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px; }
.flyers .tile, .flyer-strip .tile { aspect-ratio: 1; }
.flyer-strip__title { margin-top: 56px; }
.flyer-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 21vw, 260px); gap: 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-color: var(--line-strong) transparent;
}
.flyer-strip .tile { scroll-snap-align: start; }

/* Carousels (see carousel() in app.js) */
.carousel { position: relative; }
/* Side-scrolling rows only: never a vertical scrollbar (tile hover/reveal shifts used to trigger one). */
.carousel .carousel__track { padding-bottom: 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel .carousel__track:not(.open-dates) { overflow-y: hidden; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel::before, .carousel::after {
  content: ''; position: absolute; top: 0; bottom: 18px; width: clamp(40px, 8vw, 120px); z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .35s;
}
.carousel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.carousel::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.carousel.is-scrollable:not(.at-start)::before, .carousel.is-scrollable:not(.at-end)::after { opacity: .85; }
.carousel__btn {
  position: absolute; z-index: 2; top: calc(50% - 9px); translate: 0 -50%;
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--text); background: rgb(5 5 5 / .6); border: 1px solid rgb(255 255 255 / .35); backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgb(0 0 0 / .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s, color .2s, border-color .2s, scale .2s;
}
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--prev svg { rotate: 180deg; }
.carousel__btn--next { right: 14px; }
.carousel__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); scale: 1.06; }
.carousel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.carousel.is-scrollable:not(.at-start) .carousel__btn--prev,
.carousel.is-scrollable:not(.at-end) .carousel__btn--next { opacity: 1; visibility: visible; }
.carousel__progress { height: 2px; margin-top: 16px; background: var(--line); overflow: hidden; visibility: hidden; }
.carousel.is-scrollable .carousel__progress { visibility: visible; }
.carousel__progress span { display: block; height: 100%; background: var(--text); transition: transform .15s linear; }
@media (hover: none), (max-width: 640px) {
  .carousel__btn { width: 44px; height: 44px; }
  .carousel__btn svg { width: 18px; height: 18px; }
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }
}

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(3 3 3 / .97); color: var(--text);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(0 0 0 / .85); }
.lightbox figure { margin: 0; max-width: min(92vw, 1300px); }
.lightbox img, .lightbox video { max-width: 100%; max-height: 84vh; margin: 0 auto; display: block; }
.lightbox [hidden] { display: none; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px; }
.lightbox figcaption a { color: var(--accent); margin-left: 8px; }
.lightbox button {
  position: absolute; background: none; color: var(--text); border: 1px solid rgb(255 255 255 / .25); cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; line-height: 1;
}
.lightbox button:hover { background: var(--text); color: var(--bg); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 18px; top: 50%; translate: 0 -50%; }

/* Theater: one big centred player for the YouTube videos */
.theater__stage { width: min(88vw, 1280px, calc(78vh * 16 / 9)); max-width: none; animation: theater-in .45s var(--ease) both; }
.theater__frame { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 120px rgb(0 0 0 / .8), 0 0 0 1px var(--line); }
.theater__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.theater figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; text-align: left; }
.theater #theater-title { color: var(--text); font: 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.theater__count { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .22em; }
.theater--single .lightbox__nav { display: none; }
.theater::backdrop { background: rgb(0 0 0 / .9); }
@keyframes theater-in { from { opacity: 0; transform: scale(.94) translateY(16px); } }

/* Residencies */
.residencies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.residency {
  position: relative; overflow: hidden; background: var(--surface);
  min-height: 300px; display: flex; align-items: flex-end;
}
.residency > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: grayscale(1); transition: opacity .5s, filter .5s, transform 1.2s var(--ease); }
.residency:hover > img { opacity: .75; filter: none; transform: scale(1.05); }
.residency > svg { position: absolute; right: -24px; top: -16px; width: 180px; height: 180px; color: var(--surface-2); transition: color .4s; }
.residency:hover > svg { color: var(--line-strong); }
.residency--img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 20%, rgb(5 5 5 / .92)); }
.residency__body { position: relative; z-index: 2; padding: 26px; }
.residency h3 { font: clamp(2rem, 3vw, 2.6rem)/.95 var(--display); text-transform: uppercase; }
.residency__years { display: inline-block; margin-bottom: 12px; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .24em; }
.residency__city { margin: 8px 0 0; color: var(--text); opacity: .7; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.residency__note { margin: 12px 0 0; color: var(--muted); font-size: .86rem; max-width: 36ch; }
.career-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; margin-top: 64px; }

.tag-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--text); border: 1px solid var(--line-strong); padding: 7px 14px; }

/* Tabs, chips, search */
.tabs { display: inline-flex; border: 1px solid var(--line-strong); }
.tabs button, .chip {
  font: inherit; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  background: none; border: 0; cursor: pointer; padding: 11px 16px;
}
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 40px; }
#category-chips { flex-basis: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); padding: 8px 12px; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { border-color: var(--text); color: var(--text); }
.search {
  font: inherit; font-size: .88rem; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 9px 2px; min-width: 0; width: min(100%, 300px); border-radius: 0;
}
.search:focus { outline: none; border-color: var(--text); }
.tabs button:focus-visible, .chip:focus-visible, .button:focus-visible, .nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-strong); z-index: -1; }
.about__portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s; }
.about__media:hover .about__portrait { filter: none; }
.bio { max-width: 640px; margin: 28px 0 36px; font-size: 1.05rem; color: #d6d4cf; }
.bio p { margin: 0 0 18px; }
.bio p:first-child { font-size: 1.25rem; color: var(--text); }

/* Follow */
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 4px; }
.link-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  padding: 30px 26px; background: var(--surface); transition: background .3s, color .3s;
}
.link-card:hover { background: var(--text); color: var(--bg); }
.link-card strong { font: clamp(1.8rem, 2.6vw, 2.3rem)/1 var(--display); text-transform: uppercase; }
.link-card__handle { color: var(--accent); font-size: .8rem; font-weight: 600; }
.link-card:hover .link-card__handle { color: var(--bg); }
.link-card__note { color: var(--muted); font-size: .82rem; }
.link-card:hover .link-card__note { color: #444; }
.link-card__arrow { position: absolute; top: 24px; right: 24px; font-size: 1.1rem; transition: transform .3s var(--ease); }
.link-card:hover .link-card__arrow { transform: translate(3px, -3px); }
.press__title { margin-top: 72px; }
.press { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.press a { text-decoration: none; font-weight: 500; transition: color .2s; }
.press a:hover { color: var(--accent); }
.press span { color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Subscribe ("Guest list") */
.subscribe {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: end;
  border-top: 1px solid var(--line);
}
.subscribe h2 { font-size: clamp(3.4rem, 10vw, 8.5rem); }
.subscribe h2::after { content: ''; display: block; width: 72px; height: 6px; margin-top: 22px; background: var(--accent); }
.subscribe__lede { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 0 30px; }
.subscribe__form { display: flex; align-items: stretch; border-bottom: 2px solid var(--line-strong); transition: border-color .25s; }
.subscribe__form:focus-within { border-color: var(--accent); }
.subscribe__form input {
  flex: 1; min-width: 0; padding: 18px 4px; border: 0; background: transparent; color: var(--text);
  font: 500 clamp(1.15rem, 2.2vw, 1.6rem) var(--body);
}
.subscribe__form input::placeholder { color: var(--line-strong); }
.subscribe__form input:focus { outline: none; }
.subscribe__form .button { align-self: center; flex: none; }
.subscribe__form .button span { display: inline-block; transition: translate .3s var(--ease); }
.subscribe__form .button:hover span { translate: 4px 0; }
.subscribe__status { min-height: 1.4em; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.subscribe__status[data-tone="ok"] { color: var(--accent); }
.subscribe__status[data-tone="error"] { color: var(--tbc); }
.subscribe__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 26px; }
.subscribe__alt .label { margin: 0; flex-basis: 100%; }
.subscribe__alt a {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text);
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: color .2s;
}
.subscribe__alt a:hover { color: var(--accent); }
.subscribe__alt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* Booking */
.booking {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 100%, rgb(232 255 58 / .07), transparent 70%);
}
.booking__mark { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(90vw, 720px); height: min(90vw, 720px); color: var(--surface); z-index: -1; }
.booking h2 { font-size: clamp(3.6rem, 13vw, 11rem); }
.booking__lede { color: var(--muted); margin: 18px auto 40px; max-width: 460px; }
.booking__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 44px; }
.booking__links a, .footer__links a { text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.booking__links a:hover, .footer__links a:hover { color: var(--text); }

/* Open-date "tickets" in the home booking section */
.booking__pick { margin: 8px 0 18px; }
.open-dates {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
  max-width: 980px; margin: 0 auto;
}
.open-date {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 18px 8px 0; text-decoration: none; color: var(--text);
  background: rgb(15 15 16 / .85); border: 1px solid var(--line-strong);
  transition: transform .35s var(--ease), border-color .25s, background .25s;
}
.open-date__dow { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.open-date__day { font: clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); margin: 6px 0 2px; }
.open-date__month { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* Tear-off stub: dashed line with notches cut into both edges. */
.open-date__status {
  position: relative; align-self: stretch; margin: 16px -8px 0; padding: 10px 0 11px;
  border-top: 1px dashed var(--line-strong);
  font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent);
  transition: background .25s, color .25s;
}
.open-date__status::before, .open-date__status::after {
  content: ''; position: absolute; top: -7px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
}
.open-date__status::before { left: -7px; }
.open-date__status::after { right: -7px; }
.open-date:hover, .open-date:focus-visible { transform: translateY(-6px) rotate(-1.5deg); border-color: var(--accent); outline: none; }
.open-date:nth-child(even):hover, .open-date:nth-child(even):focus-visible { transform: translateY(-6px) rotate(1.5deg); }
.open-date:hover .open-date__status, .open-date:focus-visible .open-date__status { background: var(--accent); color: var(--accent-ink); }
.open-date:hover .open-date__status::after, .open-date:hover .open-date__status::before { border-color: var(--accent); }
.booking__all {
  display: inline-flex; gap: 10px; margin-top: 36px; text-decoration: none;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 6px; transition: color .2s, border-color .2s, gap .3s var(--ease);
}
.booking__all:hover { color: var(--accent); border-color: var(--accent); gap: 16px; }

/* Book page */
.book-head { padding-top: clamp(130px, 16vw, 200px); padding-bottom: clamp(40px, 5vw, 64px); }
.book-head h1 { font: 400 clamp(3.6rem, 12vw, 10rem)/.88 var(--display); text-transform: uppercase; }
.book-head__lede { max-width: 560px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.book-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start;
  padding-top: 0;
}

.cal { border: 1px solid var(--line); padding: clamp(16px, 2.4vw, 32px); background: var(--surface); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.cal__title { font: 400 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--display); text-transform: uppercase; text-align: center; }
.cal__nav {
  width: 46px; height: 46px; flex: none; border: 1px solid var(--line-strong); background: none; color: var(--text);
  font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.cal__nav:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { margin-bottom: 6px; }
.cal__dow span { text-align: center; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font: 400 clamp(1.05rem, 2vw, 1.4rem)/1 var(--display); color: var(--text);
  border: 1px solid transparent; background: var(--surface-2);
}
button.day { cursor: pointer; padding: 0; transition: background .15s, border-color .15s, color .15s; }
.day--open:hover { border-color: var(--text); }
.day--today { border-color: var(--line-strong); }
.day--picked, .day--picked:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day--booked {
  color: var(--muted); cursor: not-allowed;
  background: repeating-linear-gradient(135deg, var(--surface) 0 6px, #1f1f22 6px 12px);
  text-decoration: line-through; text-decoration-color: var(--tbc);
}
.day--past { color: #3a3a3f; background: none; }
.cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cal__legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 14px; height: 14px; display: inline-block; }
.dot--open { background: var(--surface-2); border: 1px solid var(--line-strong); }
.dot--booked { background: repeating-linear-gradient(135deg, var(--surface) 0 3px, #2a2a2e 3px 6px); border: 1px solid var(--tbc); }
.dot--picked { background: var(--accent); }
.cal__upcoming-title { margin-top: 36px; }
.booked-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.booked-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.booked-list time { font-weight: 600; }
.booked-list span { color: var(--muted); text-align: right; }
.booked-list .booked-list__empty { color: var(--muted); }

.enquiry__title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 28px; }
/* Event date: one field showing the spelled-out date and a calendar button; the native
   date input sits on top, invisible, so a tap anywhere opens the device's picker. */
.date-field {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 14px; background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.date-field:hover, .date-field:focus-within { border-color: var(--text); }
.date-field__value { color: var(--muted); }
.date-field--set .date-field__value { color: var(--text); font: 400 clamp(1.3rem, 2.6vw, 1.7rem)/1.05 var(--display); text-transform: uppercase; }
.date-field__icon { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; color: var(--text); }
.date-field--picked, .date-field--picked:hover, .date-field--picked:focus-within { border-color: var(--accent); background: rgb(232 255 58 / .06); }
.date-field--picked .date-field__icon { color: var(--accent); }
.field .date-field input {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer;
}
.field .date-field input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0; padding: 13px 14px;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field__hint { margin: 0; color: var(--muted); font-size: .82rem; }
.field__hint--warn { color: var(--tbc); }
.field[hidden] { display: none; }
.field__count { align-self: flex-end; margin-top: -2px; color: var(--muted); font-size: .7rem; letter-spacing: .1em; }
.enquiry__via { margin-top: 8px; }
.enquiry__send { display: flex; flex-wrap: wrap; gap: 8px; }
.enquiry__status { min-height: 1.5em; margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.enquiry__status[data-tone="ok"] { color: var(--accent); }
.enquiry__status[data-tone="error"] { color: var(--tbc); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 32px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.footer__brand .wordmark { font: 2.4rem/1 var(--display); letter-spacing: .1em; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer__fine { width: 100%; max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.footer__fine a { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.footer__fine a:hover { color: var(--text); }

@media (hover: none) {
  .highlight__visual img, .residency > img, .row__thumb img, .about__portrait, .video img { filter: none; }
  .residency > img { opacity: .65; }
  .tile__cap { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .music { grid-template-columns: 1fr; }
  .player { flex: none; min-height: 0; aspect-ratio: 1; max-height: 640px; }
  .drop { grid-template-columns: minmax(0, 1fr); }
  .drop__art { max-width: 520px; }
  .residencies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 84px 52px minmax(0, 1fr) minmax(0, .8fr); }
  .row__end { grid-column: 3 / -1; justify-content: flex-start; }
  .row__thumb { width: 52px; height: 52px; }
  .row__sources { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: rgb(5 5 5 / .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav--open .nav__links { opacity: 1; visibility: visible; }
  /* A backdrop-filter on the bar would trap the fixed overlay inside it. */
  .nav--open { backdrop-filter: none; background: transparent; border-color: transparent; }
  .nav__links a { font: 400 clamp(2.6rem, 12vw, 4rem)/1 var(--display); letter-spacing: .04em; opacity: 1; }
  .nav__links .nav__cta { border: 0; padding: 0; color: var(--accent); }
  .nav__links .nav__cta:hover { background: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .book-grid { grid-template-columns: 1fr; }
  .section__head { grid-template-columns: 1fr; }
  .subscribe { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section__head > :nth-child(n+3) { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .highlights { grid-template-columns: 1fr; padding-inline: 0; }
  .residencies { grid-template-columns: 1fr; }
  .residency { min-height: 240px; }
  .highlight { aspect-ratio: 4 / 4.4; }
  .row { grid-template-columns: 64px minmax(0, 1fr); gap: 6px 16px; padding: 18px 4px; align-items: start; }
  .row__thumb { display: none; }
  .row__main, .row__place, .row__end { grid-column: 2; }
  .row__place { flex-direction: row; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
  .row__day { font-size: 1.25rem; }
  .row__title { font-size: 1.25rem; }
  .row__end { justify-content: flex-start; }
  .rows__empty p { flex-basis: 100%; }
  .search { width: 100%; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding-inline: 6px; }
  .hero__media { background-position: 62% 30%; }
  .hero__kicker { letter-spacing: .28em; }
  .hero__name { font-size: 21vw; }
  .player { height: 380px; }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
  .footer__fine { justify-content: center; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .open-dates {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .open-date { scroll-snap-align: start; }
  .enquiry__send .button { flex: 1 1 100%; }
  .subscribe__form .button { padding-inline: 16px; }
  .cal { padding: 14px; }
  .cal__dow, .cal__grid { gap: 3px; }
}

/* Ram cursor (desktop mouse only; js/cursor.js) */
.has-ram-cursor, .has-ram-cursor * { cursor: none !important; }
.has-ram-cursor :is(input, textarea, [contenteditable]) { cursor: text !important; }
.has-ram-cursor :is(select, input[type=checkbox], input[type=radio], input[type=range], input[type=date]) { cursor: pointer !important; }
.rc { position: fixed; inset: 0; z-index: 2147483647; pointer-events: none; overflow: hidden; transition: opacity .2s; }
.rc--hidden, .rc--off { opacity: 0; }
.rc__dot {
  position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 1.5px rgb(0 0 0 / .6); transition: opacity .2s, scale .2s;
}
.rc--link .rc__dot, .rc--media .rc__dot { opacity: 0; scale: .3; }
.rc__ram { position: absolute; left: 0; top: 0; will-change: transform; }
.rc__body {
  position: absolute; left: 0; top: 0; translate: -50% -50%; width: 22px; height: 22px;
  display: grid; place-items: center; transition: width .3s var(--ease), height .3s var(--ease);
}
.rc__ring {
  position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  scale: 0; transition: scale .3s var(--ease);
}
/* The cursor is a vinyl record with the ram on the label. It idles at 33⅓ rpm (one turn per 1.8s);
   JS adds a scratch rotation (rc__head's `rotate`) as the mouse moves. */
.rc__head {
  position: relative; width: 24px; height: 24px; overflow: visible;
  filter: drop-shadow(0 2px 6px rgb(0 0 0 / .6));
  transition: scale .3s var(--ease), translate .3s var(--ease);
}
.rc__spin { transform-box: fill-box; transform-origin: center; animation: rc-spin 1.8s linear infinite; }
.rc__rim { fill: #0b0b0c; stroke: var(--text); stroke-width: 4; }
.rc__groove { fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 1.5; }
.rc__shine { fill: rgb(255 255 255 / .16); }
.rc__lbl { fill: var(--accent); transition: fill .2s; }
.rc__mark { color: var(--accent-ink); }
@keyframes rc-spin { to { transform: rotate(1turn); } }
.rc__label {
  position: absolute; top: 58%; left: 0; right: 0; text-align: center; color: var(--accent-ink);
  font: 700 .5rem/1 Inter, system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity .2s;
}
/* Over links the deck speeds up; over media it sits in a yellow "Play"/"View" circle. */
.rc--link .rc__head { scale: 1.25; }
.rc--link .rc__spin { animation-duration: .6s; }
.rc--link .rc__lbl { fill: var(--text); }
.rc--media .rc__body { width: 62px; height: 62px; }
.rc--media .rc__ring { scale: 1; }
.rc--media .rc__head { filter: none; translate: 0 -7px; scale: .8; }
.rc--media .rc__rim { stroke: var(--accent-ink); }
.rc--media .rc__label { opacity: 1; transition-delay: .1s; }
/* Click = a quick scratch back and forth. */
.rc--butt .rc__head { animation: rc-butt .34s var(--ease); }
@keyframes rc-butt {
  30% { transform: rotate(-70deg) scale(.88); }
  65% { transform: rotate(40deg) scale(1.06); }
}
/* …and the beat drops: two sound-wave rings. */
.rc__wave {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid var(--accent); animation: rc-wave .5s ease-out forwards;
}
.rc__wave--echo { animation: rc-wave .5s .12s ease-out both; }
@keyframes rc-wave { from { opacity: 1; } to { transform: scale(3.5); opacity: 0; border-width: .5px; } }

@media (prefers-reduced-motion: reduce) {
  .rc__body, .rc__ring, .rc__head { transition: none; }
  .rc--butt .rc__head, .rc__spin { animation: none; }
  html { scroll-behavior: auto; }
  .hero__media, .hero__name, .hero__kicker, .hero__ctas, .hero__new, .hero__scroll span, .live-dot, .theater__stage { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__track > div[aria-hidden] { display: none; }
  .js .reveal, .js .tile { opacity: 1; transform: none; transition: none; }
}
