/* Ryan Borne · Press Kit
   One stylesheet. Tokens first, then base, then components top to bottom
   in page order, then the motion gate and the reduced-motion overrides. */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0a0a0c;
  --ink-2: #0f0f13;
  --card: #111115;
  --slot: #141418;
  --text: #f4f3f6;
  --text-2: #c3c1cb;
  --text-3: #8f8d99;
  --pink: #ff4fd8;
  --pink-hover: #ff7ae3;
  --cyan: #4fe3ff;
  --white-hot: #f7f2ff;
  --plum: #3a0a30;
  --ink-hover: #2a0f24;
  --player-bg: #1a1a20;
  /* Peak strength of the background video. The footage is graded very dark; keep the
     brightest pixel x this at or under the ceiling that holds 4.5:1 for --text-3. */
  --bg-video-opacity: .42;

  --hairline: rgba(255, 255, 255, .08);
  --rule: rgba(255, 255, 255, .12);
  --rule-soft: rgba(255, 255, 255, .1);
  --btn-border: rgba(255, 255, 255, .22);
  --btn-border-strong: rgba(255, 255, 255, .32);

  --neon: linear-gradient(100deg, var(--pink), var(--cyan));
  --neon-band: linear-gradient(100deg, #ff4fd8 0%, #f7f2ff 25%, #4fe3ff 50%, #f7f2ff 75%, #ff4fd8 100%);
  --tri: polygon(0 0, 100% 0, 50% 100%);

  --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Instrument Sans', Helvetica, Arial, sans-serif;

  --max-w: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(56px, 8vw, 112px);
  --col-gap: clamp(32px, 5vw, 72px);

  /* Motion: 124 BPM. Beat 484ms, 8th 242ms, 16th 121ms, bar 1935ms, phrase (16 beats) 7742ms. */
  --e-out: cubic-bezier(.2, .7, .1, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --e-sine: cubic-bezier(.37, 0, .63, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;   /* the ink is on html, so the fixed video layer shows through */
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

a {
  color: var(--text);
  text-decoration-color: rgba(255, 79, 216, .7);
  text-underline-offset: 3px;
}
a:hover { color: var(--pink); }

button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
picture { display: block; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--pink); color: var(--ink); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.accent { color: var(--pink); }

/* ---------- 2.1 Background video ----------
   One fixed layer behind everything (z-index -1, above only the ink on html).
   site.js sets the source and adds .is-on once the video is really playing, so with
   no JS, reduced motion, data-saver or a blocked autoplay it is simply absent. */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.bg-video.is-on .bg-video__media { opacity: var(--bg-video-opacity, .5); }

/* Veil: a vignette (dark at the edges, where copy sits) over a static film grain. */
.bg-video__veil {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, rgba(10, 10, 12, .1) 0%, rgba(10, 10, 12, .45) 70%, rgba(10, 10, 12, .85) 100%);
}
.bg-video.is-on .bg-video__veil { opacity: 1; }
.bg-video__veil::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 200px 200px repeat;
}

/* WCAG 2.2.2 pause control: bottom right, 44px target, quiet until hover or focus. */
.bg-video-toggle {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--btn-border);
  border-radius: 3px;
  background: rgba(10, 10, 12, .72);
  color: var(--white-hot);
  opacity: .45;
}
.bg-video-toggle:hover,
.bg-video-toggle:focus-visible { opacity: 1; border-color: var(--text); }
.bg-video-toggle__icon { display: block; }
.bg-video-toggle__icon--play,
.bg-video-toggle[aria-pressed="true"] .bg-video-toggle__icon--pause { display: none; }
.bg-video-toggle[aria-pressed="true"] .bg-video-toggle__icon--play { display: block; }

/* ---------- 3. Layout primitives ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--col-gap);
}
.cols--top { align-items: flex-start; }

.col-head { flex: 1 1 260px; min-width: 0; }
.col-body { flex: 2 1 420px; min-width: 0; }

.section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--hairline);
}

/* ---------- 4. Shared pieces ---------- */
.tri-bullet {
  display: inline-block;
  width: 12px;
  height: 11px;
  flex: none;
  background: var(--neon);
  clip-path: var(--tri);
}
.tri-bullet--ink { background: var(--ink); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}
.kicker__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
}
.kicker__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 79, 216, .55), rgba(79, 227, 255, .3) 35%, rgba(255, 255, 255, 0));
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .88;
  text-transform: uppercase;
  text-wrap: balance;
}

.h3-display {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: .95;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  max-width: 380px;
  text-wrap: pretty;
}
.lede--wide { max-width: 420px; }

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color 160ms linear, background-color 160ms linear, border-color 160ms linear;
}
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--pink:hover { background: var(--pink-hover); color: var(--ink); }
.btn--outline { border: 1px solid var(--btn-border-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--text); color: var(--text); }
.btn--ink { min-height: 52px; letter-spacing: 0; background: var(--ink); color: var(--text); }
.btn--ink:hover { background: var(--ink-hover); color: var(--text); }
.btn--ink-outline { min-height: 52px; letter-spacing: 0; border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ink-outline:hover { background: rgba(10, 10, 12, .1); color: var(--ink); }

.chip-btn {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 3px;
  border: 1px solid var(--btn-border);
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color 160ms linear, border-color 160ms linear;
}
.chip-btn:hover { border-color: var(--text); color: var(--text); }

.fact {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.fact dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.fact dd { margin: 0; font-size: 15px; line-height: 1.45; }

.strong-link { font-weight: 600; }

/* ---------- 5. Header ---------- */
.site-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--gutter) 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 0;
}
.site-header__logo img {
  height: 40px;
  width: auto;
  margin: -4px 0 -4px -8px;
}

.site-nav {
  display: flex;
  gap: 2px 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  padding: 0;
  color: var(--text-2);
}
.site-nav a:hover { color: var(--pink); }
.site-nav .site-nav__book { color: var(--pink); }
.site-nav .site-nav__book:hover { color: var(--text); }
/* Phones: one swipeable row instead of two wrapped rows of 44px targets. */
@media (max-width: 640px) {
  .site-header { row-gap: 0; }
  .site-nav {
    flex: 1 0 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; white-space: nowrap; }
}

/* ---------- 6. Hero ---------- */
/* overflow-x: clip keeps the glow bitmap from widening the mobile layout viewport,
   without clipping it vertically or making the hero a scroll container. */
.hero { padding: clamp(12px, 3vw, 40px) 0 clamp(56px, 8vw, 104px); overflow-x: clip; }

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: flex-end;
  gap: clamp(28px, 5vw, 64px);
}

.hero__copy { flex: 1 1 400px; min-width: 0; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}


.hero__tagline {
  margin: 30px 0 0;
  max-width: 520px;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.35;
  text-wrap: pretty;
}

.hero__about {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__media {
  flex: 1 1 320px;
  max-width: 540px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Frame: glow bitmap behind, triangle on top. No filter, no transform. */
.hero-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
}
/* The next-photo button is clipped by the triangle, so show its focus on the frame. */
.hero-frame:has(.tri-btn:focus-visible) {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}

/* Baked neon glow (assets/fx/hero-glow.webp, 432x410, triangle at 15.3% / 15.4%). */
.hero-glow {
  position: absolute;
  left: -22%;
  top: -22%;
  width: 144%;
  height: 144%;
  z-index: -1;
  pointer-events: none;
  transform-origin: 50% 15.3%;
}
.hero-glow img { display: block; width: 100%; height: 100%; opacity: .76; }

.hero-tri {
  position: relative;
  aspect-ratio: 1 / .95;
  clip-path: var(--tri);
  overflow: hidden;
}
/* The neon edge: a 3x-wide strip whose tile is twice the triangle width. */
.tri-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  z-index: 0;
  background: var(--neon-band) 0 0 / 66.6667% 100% repeat-x;
  will-change: transform;
}

.slide {
  position: absolute;
  top: 3px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 10px);
  clip-path: var(--tri);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.slide.is-current { opacity: 1; visibility: visible; z-index: 2; }
.slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.slide picture { width: 100%; height: 100%; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* NITT: crop in from the left; another person's hand and face sit at the left edge. */
.slide--nitt img { object-position: 50% 55%; transform: scale(1.3); transform-origin: 30% 30%; }
.slide--bw img { object-position: 50% 30%; }
.slide--neon img { object-position: 50% 32%; }
.slide--warm img { object-position: 50% 28%; }
.slide--live img { object-position: 50% 55%; }
/* Red beard: top-weighted so the hair line clears the apex and the face sits in the upper-middle;
   the point of the triangle takes the beard tip. */
.slide--beard img { object-position: 50% 12%; }

.tri-btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: var(--tri);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.tri-btn:focus-visible { outline: none; }

/* Wordmark as two decks of the same image (RYAN, then BORNE), split at 62% in the gap
   between the Y-stem foot (y 134.4) and BORNE's cap line (y 146.8). Each deck is an
   overflow mask; both copies are top-anchored to the wordmark box (-62/38 = -163.16%),
   so they land on exactly the single image's pixels. */
.wm {
  position: relative;
  margin: 0;
  width: min(100%, 560px);
  aspect-ratio: 528 / 226.4;
}
.wm-deck { position: absolute; left: 0; right: 0; overflow: hidden; }
.wm-d1 { top: 0; height: 62%; }
.wm-d2 { top: 62%; height: 38%; }
.wm-in { display: block; position: relative; height: 100%; }
.wm img { position: absolute; left: 0; width: 100%; height: auto; }
.wm-d1 img { top: 0; }
.wm-d2 img { top: -163.1579%; }

/* ---------- 7. Venue marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
}
.marquee__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.marquee__list {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: flex;
}
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__tri {
  display: inline-block;
  width: .42em;
  height: .38em;
  background: var(--neon);
  clip-path: var(--tri);
}
/* Static (no JS, reduced motion): every venue wrapped and readable. */
.marquee:not(.is-ticker) .marquee__list li { white-space: normal; padding-right: 0; }
.marquee:not(.is-ticker) .marquee__list:first-child {
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 28px;
  row-gap: 4px;
  padding: 22px var(--gutter);
}
.marquee:not(.is-ticker) .marquee__list[aria-hidden] { display: none; }
.marquee:not(.is-ticker) .marquee__list li:last-child { padding-right: 0; }
.marquee:not(.is-ticker) .marquee__list li:last-child .marquee__tri { display: none; }
/* Ticker (site.js adds .is-ticker only when motion is on): two copies, one line. */
.is-ticker .marquee__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.is-ticker .marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
/* ---------- 8. Bio ---------- */
.bio__title { margin-bottom: 20px; }

.bio-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.toggle {
  flex: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 3px;
  border: 1px solid var(--btn-border);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 160ms linear, background-color 160ms linear, border-color 160ms linear;
}
.toggle:hover { border-color: var(--text); }
.toggle[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.toggle__count { font-weight: 400; opacity: .7; }

.bio-text {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}
.bio-text p { margin: 0 0 1em; }
.bio-text p:last-child { margin-bottom: 0; }
.bio-text .bio-text__line {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  font-weight: 500;
}

.bio-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-copy {
  flex: none;
  white-space: nowrap;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 3px;
  border: 1px solid var(--pink);
  background: transparent;
  color: var(--pink);
  font-size: 15px;
  font-weight: 600;
  transition: color 160ms linear, background-color 160ms linear;
}
/* Both labels share one grid cell, so the button keeps the longer label's width. */
.copy-label { display: inline-grid; }
.copy-label > span { grid-area: 1 / 1; }
.copy-label > [aria-hidden="true"] { opacity: 0; visibility: hidden; }
.btn-copy:hover { background: var(--pink); color: var(--ink); }
.meta-note { font-size: 13px; color: var(--text-3); }

/* ---------- 9. Listen ---------- */
.h2--eq {
  display: flex;
  align-items: flex-end;
  gap: .22em;
}
.eq {
  display: inline-flex;
  gap: .06em;
  align-items: flex-end;
  height: .68em;
  margin-bottom: .06em;
}
/* Rest skyline (also the no-JS and reduced-motion state); data-r mirrors it for site.js. */
.eq-bar {
  display: block;
  width: .1em;
  height: 100%;
  background: linear-gradient(var(--pink), var(--cyan));
  transform-origin: 50% 100%;
  transform: scaleY(var(--r));
}
.eq-bar:nth-child(1) { --r: .42; }
.eq-bar:nth-child(2) { --r: .78; }
.eq-bar:nth-child(3) { --r: .56; }
.eq-bar:nth-child(4) { --r: .92; }
.eq-bar:nth-child(5) { --r: .38; }

.sets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Playing cue: site.js sets [data-playing] from the SoundCloud widget's play/pause events. */
.card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--neon);
  opacity: 0;
}
.card[data-playing]::before { opacity: 1; }
.card__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: .95;
  text-transform: uppercase;
}
.card__player {
  display: block;
  width: 100%;
  height: 166px;
  border: 0;
  border-radius: 3px;
  background: var(--player-bg);
}
.card__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; align-self: flex-start; }

.series { margin: 28px 0 0; font-size: 15px; color: var(--text-2); }
.series a { font-weight: 600; }

/* ---------- 10. Played at ---------- */
.played__title { margin-bottom: 44px; max-width: 14ch; }

.group-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.venues {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 26px 32px;
}
.venue {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.venue__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: .95;
  text-transform: uppercase;
}
.venue__detail { font-size: 14px; color: var(--text-2); line-height: 1.45; }

.venue-row {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 32px;
}

/* ---------- 11. Duo ---------- */
/* --ink-2 at .85, so the video faintly reads through the panel. */
.section--duo { background: rgba(15, 15, 19, .85); }

.duo__copy { flex: 1 1 380px; min-width: 0; max-width: 760px; }
.duo__title { margin-bottom: 24px; }
.duo__lede {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}
.duo__note {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 20px 28px;
}

.duo__media { flex: 1 1 420px; max-width: 560px; min-width: 0; }
.photo-card__img.photo-card__img--wide { aspect-ratio: 3 / 2; object-position: 50% 50%; }
.duo__slot {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--slot);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Placeholder until the duo press photo exists: a faint brand triangle. */
.duo__slot-mark {
  display: block;
  width: 22%;
  aspect-ratio: 1 / .9;
  background: var(--neon);
  clip-path: var(--tri);
  opacity: .18;
}
.duo__caption { margin: 12px 0 0; font-size: 13px; color: var(--text-3); }

/* ---------- 12. Upcoming ---------- */
.upcoming__title { margin-bottom: 16px; }
.as-of { margin: 0; color: var(--text-3); font-size: 13px; }

.gigs {
  flex: 2 1 420px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.gig {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.gig__date {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: .9;
}
.gig__month {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--text-2);
  margin-top: 5px;
}
.gig__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}
.gig__name { font-weight: 600; font-size: 17px; }
.gig__place { color: var(--text-2); font-size: 15px; }
.gig__who { font-size: 13px; color: var(--pink); font-weight: 600; }

/* ---------- 13. In their words ---------- */
.words__title { margin-bottom: 36px; }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
}
.quote {
  margin: 0;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.quote p {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.4;
  font-weight: 500;
  text-wrap: pretty;
}
.quote__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 0;
  color: var(--pink);
  vertical-align: -16px;
  margin-right: 4px;
}
.quote footer {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- 14. Photos & brand pack ---------- */
.photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 22px 20px;
}
.photo-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: color 242ms linear;
}
.photo-card:hover, .photo-card:focus-visible { color: var(--pink); }
.photo-card__frame {
  display: block;
  overflow: hidden;
  border-radius: 3px;
}
.photo-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  background: var(--slot);
}
.pos-nitt { object-position: 62% 45%; }
.pos-bw { object-position: 50% 20%; }
.pos-warm { object-position: 50% 30%; }
.pos-neon { object-position: 50% 30%; }
.pos-triangle { object-position: 50% 25%; }
.pos-live { object-position: 50% 40%; }
.pos-beard { object-position: 50% 8%; }

.photo-card__title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}
.photo-card__credit { display: block; font-size: 13px; color: var(--text-3); }
.photo-card__credit a { color: inherit; }
.photo-card__credit a:hover { color: var(--pink); }

.brand-pack {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.brand-pack__preview {
  flex: 0 1 360px;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #000;
}
.brand-pack__preview img { width: 100%; height: auto; display: block; }
.brand-pack__body { flex: 1 1 280px; min-width: 0; }
.brand-pack__note {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text-2);
  text-wrap: pretty;
}

.brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  column-gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.brand-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--rule);
  padding: 0;
}
.brand-list__links { display: flex; flex: none; gap: 6px; }
.brand-list__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; white-space: nowrap; }

/* ---------- 15. At a glance ---------- */
.spec {
  flex: 2 1 420px;
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px 32px;
}
.spec dd { font-size: 16px; line-height: 1.5; }

/* ---------- 16. Book ---------- */
.section--book {
  background: var(--pink);
  color: var(--ink);
  border-top: 0;
}
/* Cyan disappears on pink, so focus rings go ink here. */
.section--book :focus-visible { outline-color: var(--ink); }
.section--book ::selection { background: var(--ink); color: var(--pink); }

.book__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px var(--col-gap);
  align-items: flex-end;
  justify-content: space-between;
}
.book__copy { flex: 1 1 380px; min-width: 0; }
.book__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--plum);
}
.h2--book {
  margin-bottom: 20px;
  font-size: clamp(64px, 10vw, 140px);
  line-height: .85;
  text-wrap: balance;
}
.book__lede {
  margin: 0 0 30px;
  max-width: 520px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
  text-wrap: pretty;
}
.book__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.book__links {
  flex: 0 1 300px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}
.book__links li { border-top: 1.5px solid var(--ink); padding-top: 0; }
.book__links a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration-color: var(--ink); }
.book__links a:hover { color: var(--plum); }

/* ---------- 17. Footer ---------- */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
}
.site-footer img { height: 18px; width: auto; opacity: .85; }
.site-footer p { margin: 0; }

/* ---------- 18. Progressive enhancement ----------
   <head> sets html.js before this file loads; site.js sets html.motion
   (no reduced motion + Web Animations). Without JS every control that needs
   it is hidden and everything else is in its final state. */
html:not(.js) .needs-js { display: none !important; }

/* ---------- 19. Motion ----------
   Everything that moves is in this block, so reduced motion (also switched on
   mid-visit) drops every animation and transition to its final state.
   Infinite loops only run under html.motion and pause with [data-run="0"]. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* 19.0 Background video: slow fade in once playing. */
  .bg-video__media { transition: opacity 1200ms var(--e-sine); }
  .bg-video__veil { transition: opacity 1200ms var(--e-sine); }
  .bg-video-toggle { transition: opacity 160ms linear, border-color 160ms linear; }

  /* 19.1 Hero intro: pure CSS, fill backwards only, so the end state is the static CSS.
     16th 121 · 8th 242 · beat 484 · triangle lands on beat 2 (968). */
  html.js:not(.no-intro) .hero-tri { animation: rb-drop 847ms var(--e-io) 121ms backwards; }
  html.js:not(.no-intro) .hero-glow { animation: rb-glow-in 847ms var(--e-io) 121ms backwards; }
  html.js:not(.no-intro) .hero__eyebrow { animation: rb-fade 484ms var(--e-out) 242ms backwards, rb-rise 726ms var(--e-out) 242ms backwards; }
  html.js:not(.no-intro) .slide[data-slide="0"] img { animation: rb-settle 7500ms linear 242ms backwards; }   /* no opacity fade: a 0-opacity LCP image is credited late */
  html.js:not(.no-intro) .wm-d1 .wm-in { animation: rb-deck 726ms var(--e-out) 484ms backwards; }
  html.js:not(.no-intro) .wm-d2 .wm-in { animation: rb-deck 726ms var(--e-out) 605ms backwards; }
  html.js:not(.no-intro) .hero__tagline, html.js:not(.no-intro) .hero__about { animation: rb-fade 484ms var(--e-out) 726ms backwards, rb-rise 726ms var(--e-out) 726ms backwards; }
  html.js:not(.no-intro) .hero__ctas { animation: rb-fade 484ms var(--e-out) 847ms backwards, rb-rise 726ms var(--e-out) 847ms backwards; }

  /* 19.2 Hero loops. The edge flow is the master clock site.js locks the slideshow to. */
  html.motion .tri-flow { animation: rb-flow 7742ms linear infinite; }
  html.motion .hero-glow img { animation: rb-breathe 3871ms linear infinite; }
  html.motion [data-run="0"] .tri-flow,
  html.motion [data-run="0"] .hero-glow img,
  html.motion [data-run="0"] .slide[data-slide="0"] img { animation-play-state: paused; }

  /* 19.3 Scroll reveals. Pending classes are set by site.js only below the fold. */
  .rv-eb > .tri-bullet { clip-path: polygon(0 0, 100% 0, 50% 0); }
  .rv-eb > .kicker__label { opacity: 0; transform: translate3d(-6px, 0, 0); }
  .rv-eb > .kicker__rule { transform: scaleX(0); transform-origin: 0 50%; }
  .rv-eb.rv-in > .tri-bullet { clip-path: var(--tri); transition: clip-path 484ms var(--e-out) var(--rv-d, 0ms); }
  .rv-eb.rv-in > .kicker__label {
    opacity: 1;
    transform: none;
    transition: opacity 484ms var(--e-out) calc(var(--rv-d, 0ms) + 121ms), transform 484ms var(--e-out) calc(var(--rv-d, 0ms) + 121ms);
  }
  .rv-eb.rv-in > .kicker__rule { transform: none; transition: transform 1452ms var(--e-out) calc(var(--rv-d, 0ms) + 121ms); }

  /* Headings drop in from a top-down curtain; over-scan keeps caps and the EQ unclipped at rest. */
  .rv-h { clip-path: polygon(-4% -20%, 104% -20%, 104% -20%, -4% -20%); }
  .rv-h.rv-in { clip-path: polygon(-4% -20%, 104% -20%, 104% 120%, -4% 120%); transition: clip-path 726ms var(--e-out) var(--rv-d, 0ms); }

  .rv { opacity: 0; transform: translate3d(0, 20px, 0); }
  .rv.rv-in {
    opacity: 1;
    transform: none;
    transition: opacity 450ms var(--e-out) var(--rv-d, 0ms), transform 700ms var(--e-out) var(--rv-d, 0ms);
  }

  /* 19.4 Micro-interactions */
  .copy-label > span { transition: opacity 160ms linear, visibility 160ms linear; }
  .card::before { transition: opacity 484ms var(--e-out); }
  .photo-card__img { transition: scale 600ms var(--e-out); }
  .photo-card:focus-visible .photo-card__img { scale: 1.045; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .photo-card:hover .photo-card__img { scale: 1.045; }
}

/* Reduced motion: no background video at all (site.js never starts it; this covers a
   late switch and any stray frame). */
@media (prefers-reduced-motion: reduce) {
  .bg-video, .bg-video-toggle { display: none !important; }
}

@keyframes rb-drop {
  from { clip-path: polygon(0 0, 100% 0, 50% 0); }
  to { clip-path: polygon(0 0, 100% 0, 50% 100%); }
}
@keyframes rb-glow-in { from { opacity: 0; transform: scale(.97, .25); } }
@keyframes rb-fade { from { opacity: 0; } }
@keyframes rb-rise { from { transform: translate3d(0, 16px, 0); } }
@keyframes rb-deck { from { transform: translate3d(0, 105%, 0); } }
/* Lands at 1.06 on beat 3, then drifts to the designed crop by the end of the first phrase. */
@keyframes rb-settle {
  0% { scale: 1.14; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
  16.13% { scale: 1.06; animation-timing-function: linear; }
  100% { scale: 1; }
}
@keyframes rb-flow { to { transform: translate3d(-66.6667%, 0, 0); } }
/* 8 beats, starts and ends at the resting .76, peaks two beats in. */
@keyframes rb-breathe {
  0% { opacity: .76; animation-timing-function: cubic-bezier(.61, 1, .88, 1); }
  25% { opacity: 1; animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  75% { opacity: .56; animation-timing-function: cubic-bezier(.12, 0, .39, 0); }
  100% { opacity: .76; }
}

/* ---------- 19b. 404 page ---------- */
.nf {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.nf__logo { display: inline-block; }
.nf__logo img { width: 210px; height: auto; }
.nf .h2 { margin: 28px 0 10px; }
.nf .lede { margin: 0 auto 28px; }
.nf__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 20. Print: never blank, never mid-animation ---------- */
@media print {
  .bg-video, .bg-video-toggle { display: none !important; }
  .rv, .rv-h { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .rv-eb > * { opacity: 1 !important; transform: none !important; }
  .rv-eb > span:first-child { clip-path: polygon(0 0, 100% 0, 50% 100%) !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slide:not(.is-current) { display: none !important; }
  .marquee__list[aria-hidden] { display: none !important; }
  .marquee__track { transform: none !important; width: auto !important; }
  .marquee__list { flex-wrap: wrap !important; }
}
