/* The Ranger System: site styles.
   Desktop (>= 1024px) reproduces the approved 1440px design: every size is
   written as calc(N * var(--u)), where N is the design pixel value and --u is
   one design pixel (1px at 1440px, scaled with the width up to 1920px, where it
   stops growing and the page centres).
   Compact (< 1024px) is the phone/tablet layout built from the same parts. */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  --red: #ED1D24;
  --silver: #A1A1A0;
  --black: #040707;
  --white: #F4F4F2;
  --panel: #161A1A;
  --stripe: #111515;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  /* Black outline for display type: 16 hard copies on a 3px circle. */
  --ol: 3px 0 0 var(--black), 2.77px 1.15px 0 var(--black), 2.12px 2.12px 0 var(--black), 1.15px 2.77px 0 var(--black),
        0 3px 0 var(--black), -1.15px 2.77px 0 var(--black), -2.12px 2.12px 0 var(--black), -2.77px 1.15px 0 var(--black),
        -3px 0 0 var(--black), -2.77px -1.15px 0 var(--black), -2.12px -2.12px 0 var(--black), -1.15px -2.77px 0 var(--black),
        0 -3px 0 var(--black), 1.15px -2.77px 0 var(--black), 2.12px -2.12px 0 var(--black), 2.77px -1.15px 0 var(--black);
  --header-h: 60px;
  --gutter: 20px;
  --line-w: 44px;
  scroll-padding-top: var(--header-h);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  container-type: inline-size;
  position: relative;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 1.078em; letter-spacing: .005em; text-transform: uppercase; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn--red:focus-visible, .text-link:focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--red); color: var(--black); padding: 12px 18px;
  font: italic 700 18px/1 var(--cond); text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.tri { width: .62em; height: .74em; fill: currentColor; flex: none; }

/* ---------- The red line ---------- */
.bounce-line {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 100%; height: 100%;
  overflow: hidden; pointer-events: none; max-width: none;
}
.bounce-line path { fill: none; stroke: var(--red); stroke-linejoin: miter; stroke-miterlimit: 100; stroke-linecap: butt; }

/* Content sits above the line; the hero photo sits below it. */
main > section > *, .site-footer > *, .hero__text { position: relative; z-index: 2; }

/* ---------- Type ---------- */
.display {
  font-family: var(--cond); font-style: italic; font-weight: 800;
  text-transform: uppercase; color: var(--white);
  text-shadow: var(--ol), 4px 4px 0 var(--silver);
  line-height: 1;
}
.section-title { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .22em; line-height: 1; font-weight: 800; }
.underline { display: block; background: var(--red); transform: skewX(-24deg); transform-origin: 0 100%; }
.section-lede { font-style: italic; font-weight: 500; }

/* ---------- Buttons (skewed boxes; text counter-skewed) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-style: italic; font-weight: 700; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; line-height: 1;
  transform: skewX(-12deg);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn > span { display: inline-flex; align-items: center; gap: .32em; transform: skewX(12deg); }
.btn--red { background: var(--red); color: var(--black); border: 2px solid var(--red); }
.btn--red:hover { background: var(--white); border-color: var(--white); }
.btn--outline, .btn--nav { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn--nav { border-color: var(--silver); }
.btn--outline:hover, .btn--nav:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.text-link {
  display: inline-flex; white-space: nowrap; align-items: center; gap: .3em; color: var(--red); text-decoration: none;
  font-family: var(--cond); font-style: italic; font-weight: 700; text-transform: uppercase; line-height: 1;
}
.text-link:hover { color: var(--white); }

/* ---------- Booking popup (every BOOK US opens it) ---------- */
.booking {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  margin: auto; padding: 30px 28px 30px 32px;
  background: var(--black); color: var(--white); border: 2px solid var(--white); border-left: 10px solid var(--red);
  box-shadow: 10px 10px 0 var(--silver);
}
.booking::backdrop { background: rgba(4, 7, 7, .78); }
.booking__title {
  font: italic 800 clamp(48px, 13vw, 72px)/.95 var(--cond); text-transform: uppercase;
  text-shadow: var(--ol), 4px 4px 0 var(--silver); padding-right: 40px;
}
.booking__lede { margin-top: 12px; font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.35; color: var(--silver); }
.booking__addr { margin-top: 14px; font: italic 700 clamp(21px, 6vw, 28px)/1.15 var(--cond); letter-spacing: .02em; user-select: all; overflow-wrap: anywhere; }
.booking__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 14px; margin-top: 22px; padding: 0 6px; }
.booking__btn { min-height: 48px; padding: 0 16px; font-size: 19px; letter-spacing: .02em; cursor: pointer; }
.booking__note { margin-top: 18px; font-size: 16px; line-height: 1.4; color: var(--silver); }
.booking__note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.booking__close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  background: none; border: 0; color: var(--white); font-size: 30px; line-height: 1; cursor: pointer;
}
.booking__close:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black); border-bottom: 3px solid var(--red);
}
.site-header__inner { display: flex; align-items: center; height: calc(var(--header-h) - 3px); padding: 0 var(--gutter); gap: 12px; }
.brand { display: block; margin-right: auto; padding: 6px 0; }
.brand img { width: 46px; height: auto; }
.site-nav ul { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  display: block; width: fit-content; background: var(--white); color: var(--black);
  font: italic 700 14px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px 8px;
  transform: rotate(-3deg) skewX(-10deg);
}
.hero__title span { display: block; }
.hero__lede { font-style: italic; font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; }

/* ---------- Music ---------- */
.track { position: relative; height: 152px; background: var(--black); box-shadow: inset 0 0 0 2px var(--silver); }
.track__facade, .track > a {
  display: flex; align-items: center; width: 100%; height: 100%;
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer; text-decoration: none;
  font: inherit; padding: 0;
}
.track__play { display: grid; place-items: center; flex: none; background: var(--red); color: var(--black); width: 64px; height: 64px; transition: background-color .15s; }
.track__play .tri { width: 20px; height: 24px; }
.track__facade:hover .track__play, .track > a:hover .track__play { background: var(--white); }
.track__meta { display: flex; flex-direction: column; }
.track__title { font: italic 800 32px/1 var(--cond); text-transform: uppercase; }
.track__src { font: italic 700 14px/1 var(--cond); text-transform: uppercase; letter-spacing: .1em; color: var(--silver); margin-top: 8px; }
.track iframe { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
/* Spotify's own player sits straight on the page (no frame, no gaps around its rounded corners). */
.track.is-playing { height: auto; display: flex; align-items: center; background: none; box-shadow: none; }
.stream-links { display: flex; flex-wrap: wrap; }

/* ---------- Two ways ---------- */
.way__card {
  position: relative; aspect-ratio: 644.4 / 498;
  clip-path: polygon(8.13% 0, 100% 0, 91.87% 100%, 0 100%);
  background: var(--white);
}
.way { position: relative; }
.way::before { /* silver hard shadow, offset like the design */
  content: ""; position: absolute; inset: 0; background: var(--silver);
  clip-path: polygon(8.13% 0, 100% 0, 91.87% 100%, 0 100%);
  transform: translate(9px, 10px);
}
.way__inner {
  position: absolute; inset: 3px; display: flex; flex-direction: column;
  clip-path: polygon(8.13% 0, 100% 0, 91.87% 100%, 0 100%);
  background: var(--black);
}
.way__photo { flex: 1 1 auto; min-height: 0; display: block; background: var(--stripe); }
.way__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.way__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.way__title { font: italic 800 84px/1 var(--cond); text-transform: uppercase; text-shadow: 4px 4px 0 var(--silver); color: var(--white); }

/* ---------- Media frames (6deg parallelograms cut with clip-path) ---------- */
.video, .frame { position: relative; background: var(--white); }
.video { clip-path: polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%); }
.video__facade, .video iframe {
  position: absolute; inset: 3px; display: block; width: calc(100% - 6px); height: calc(100% - 6px);
  clip-path: polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%);
  background: var(--black); border: 0; color: var(--white); text-decoration: none; overflow: hidden;
}
.video picture, .video img { width: 100%; height: 100%; }
.video img { object-fit: cover; transition: transform .3s; }
.video__facade:hover img { transform: scale(1.03); }
.video__facade::after { /* caption gradient */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 81px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.85));
}
.video__caption { position: absolute; z-index: 1; font-weight: 600; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.play-tag {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  background: var(--red); color: var(--black);
  font: italic 700 22px/1 var(--cond); text-transform: uppercase;
  transform: translate(-50%, -50%) skewX(-12deg);
  transition: background-color .15s;
}
.video__facade:hover .play-tag { background: var(--white); }
.frame { clip-path: polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%); }
.frame picture {
  position: absolute; inset: 2px; background: var(--panel);
  clip-path: polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Shows ---------- */
.show {
  position: relative; display: flex; align-items: stretch; min-height: 116px;
  background: var(--panel);
}
.show + .show { margin-top: 14px; }
.shows__list { background: var(--black); } /* the band never shows between rows */
.show__date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--black); margin-left: 12px; width: 118px; padding-right: 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}
.show__m { font: italic 700 16px/1 var(--cond); color: var(--red); letter-spacing: .14em; text-transform: uppercase; }
.show__d { font: italic 800 52px/1 var(--cond); margin: 4px 0 2px; }
.show__y { font: italic 700 14px/1 var(--cond); color: var(--silver); letter-spacing: .06em; }
.show__t { font: italic 700 16px/1 var(--cond); letter-spacing: .04em; margin-top: 6px; white-space: nowrap; }
.show__info { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 18px 20px 18px 6px; min-width: 0; }
.show__title { font: 700 22px/1.2 var(--body); }
.show__where { font-size: 16px; line-height: 1.2; }
.show__notes { font-size: 16px; line-height: 1.35; color: var(--silver); white-space: pre-line; }
.show__tags { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.tag {
  display: inline-block; background: var(--red); color: var(--black);
  font: italic 700 14px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px 6px; transform: rotate(-3deg) skewX(-10deg); margin-top: 2px;
}
.show__tix { font-size: 18px; min-height: 44px; color: var(--white); }
.show__tix .tri { color: var(--red); }
.show__tix:hover { color: var(--red); }
.shows__empty { font-size: 20px; font-style: italic; font-weight: 500; }
.shows__empty a { color: var(--red); font-family: var(--cond); font-weight: 700; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.shows__empty a:hover { color: var(--white); }

/* ---------- About ---------- */
.about__lead { text-shadow: var(--ol), 4px 4px 0 var(--silver); }
.about__bio { line-height: 1.675; }

/* ---------- Book ---------- */
.book__title { white-space: nowrap; text-shadow: var(--ol), 7px 7px 0 var(--silver); }
.book__lede { font-style: italic; font-weight: 500; }
.book__email, .footer-email { font-weight: 600; }
.book__email a, .footer-email a { text-decoration: none; }
.book__email a:hover, .footer-email a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; }
.footer-links li { display: flex; align-items: center; }
.footer-links li + li::before { content: ""; width: 1px; height: 16px; background: var(--silver); margin: 0 15px; }
.footer-links a { font: italic 700 16px/1 var(--cond); text-transform: uppercase; text-decoration: none; padding: 14px 0; }
.footer-links a:hover { color: var(--red); }
.footer-credits { font-size: 14px; line-height: 27px; color: var(--silver); }
.footer-credits a { text-decoration: none; }
.footer-credits a:hover { color: var(--white); text-decoration: underline; }
.press-start {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font: italic 700 12px/1 var(--cond); letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
  color: var(--white); opacity: .25; transition: opacity .2s;
}
.press-start:hover, .press-start:focus-visible { opacity: 1; color: var(--red); }

/* =================================================================
   COMPACT (phones and tablets, < 1024px)
   ================================================================= */
@media (max-width: 1023.98px) {
  :root { --header-h: 60px; --gutter: 20px; --sk: 0px; }
  .wrap { padding-inline: var(--gutter); }

  /* header + menu */
  .btn--nav-book { height: 44px; padding: 0 16px; font-size: 16px; margin-right: 4px; }
  .menu-toggle { height: 44px; padding: 0 14px; font-size: 16px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--black); border-bottom: 3px solid var(--red);
    padding: 16px var(--gutter) 24px; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 12px; }
  .btn--nav { width: 100%; height: 48px; font-size: 20px; }

  /* hero: exactly one screen tall, so BOOK US / LISTEN are always on the first screen.
     The photo takes whatever height the text leaves (never less than 150px). */
  .hero {
    display: flex; flex-direction: column;
    min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
    padding-bottom: 20px;
  }
  .hero__photo { display: block; flex: 1 1 0; min-height: 150px; max-height: 75svh; overflow: hidden; z-index: 0; } /* under the line */
  .hero__text { flex: none; padding-top: 0; margin-top: -26px; }
  .sticker { font-size: 13px; }
  .hero__title { font-size: clamp(60px, min(25vw, 12.5svh), 150px); line-height: .84; margin-top: 22px; text-shadow: var(--ol), 5px 5px 0 var(--silver); }
  .hero__lede { font-size: 22px; margin-top: 16px; }
  .hero__ctas { gap: 16px 18px; margin-top: 22px; }
  .btn--hero { height: 52px; padding: 0 26px; font-size: 20px; }

  /* section rhythm */
  .section { padding-top: 112px; }
  .section-title { column-gap: 14px; }
  .section-title .display { font-size: clamp(42px, 12vw, 72px); }
  .section-title--xl .display { font-size: clamp(64px, 19vw, 120px); }
  .underline { width: 140px; height: 8px; margin-top: 12px; }
  .section-lede { font-size: 19px; line-height: 1.35; margin-top: 16px; }

  /* music */
  .tracks { display: grid; gap: 16px; margin-top: 28px; }
  .track__facade, .track > a { padding: 0 18px; gap: 16px; }
  .track__title { font-size: 24px; line-height: 1.05; }
  .stream-links { gap: 14px 18px; margin-top: 26px; padding-left: 4px; }
  .btn--stream { height: 48px; padding: 0 22px; font-size: 18px; }

  /* two ways */
  .ways__grid { display: grid; gap: 34px; margin-top: 28px; padding-right: 9px; }
  .way__foot { padding: 12px 10% 14px 7%; }
  .way__title { font-size: clamp(36px, 10.5vw, 72px); }
  .way__foot .text-link { font-size: 21px; min-height: 44px; }

  /* live */
  .live__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
  .video--big { grid-column: 1 / -1; aspect-ratio: 837 / 474; --sk: 7%; }
  .video--small { aspect-ratio: 419 / 225; --sk: 7%; }
  .video__caption { left: 12%; right: 10%; bottom: 10px; font-size: 15px; }
  .video--big .video__caption { font-size: 17px; bottom: 14px; left: 9%; }
  .play-tag { font-size: 18px; padding: 10px 16px; }
  .video--small .play-tag { font-size: 15px; padding: 8px 12px; }

  /* shows */
  .shows__list { margin-top: 28px; }
  .show { min-height: 104px; }
  .show__date { width: 92px; margin-left: 8px; padding-right: 16px; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
  .show__d { font-size: 44px; }
  .show__title { font-size: 19px; }
  .show__where, .show__notes { font-size: 15px; }
  .show__tix { margin: -6px 0 -10px; }
  .shows__empty { margin-top: 28px; font-size: 19px; }

  /* about */
  .about__grid { display: grid; gap: 40px; margin-top: 32px; }
  .frame--about { aspect-ratio: 620 / 685; --sk: 11.6%; width: min(100%, 520px); }
  .about__lead { font-size: clamp(30px, 8.6vw, 44px); line-height: 1.03; }
  .br-wide { display: none; }
  .underline--short { width: 96px; height: 8px; margin-top: 22px; }
  .about__bio { font-size: 18px; margin-top: 22px; }

  /* book */
  .book { display: grid; gap: 40px; }
  .book__title { font-size: clamp(78px, 24vw, 170px); margin-top: 6px; text-shadow: var(--ol), 5px 5px 0 var(--silver); }
  .book__lede { font-size: 21px; line-height: 1.35; margin-top: 14px; }
  .book__email { font-size: 19px; margin-top: 18px; }
  .btn--book { height: 68px; width: min(100%, 360px); font-size: 30px; margin-top: 28px; }
  .frame--book { aspect-ratio: 648.6 / 519; --sk: 8.4%; }

  /* footer */
  .site-footer { padding-top: 112px; padding-bottom: 168px; } /* room for the line to exit */
  .site-footer__logo { width: 76px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-top: 20px; }
  .footer-links li + li::before { display: none; }
  .footer-links a { display: block; padding: 13px 0; }
  .footer-email { font-size: 18px; margin-top: 18px; }
  .footer-credits { margin-top: 16px; }
  .press-start { margin-top: 24px; }
}

@media (max-width: 559.98px) {
  .live__grid { grid-template-columns: 1fr; }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  :root { --gutter: 40px; }
  .way__title { font-size: clamp(36px, 5.6vw, 56px); }
  .tracks { grid-template-columns: 1fr 1fr; }
  .ways__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* =================================================================
   DESKTOP (>= 1024px): the approved 1440px design
   ================================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 75px; }
  body { --u: min(1.33333px, 100cqw / 1440); }
  .wrap { width: calc(1440 * var(--u)); margin-inline: auto; padding-inline: calc(80 * var(--u)); }

  /* header */
  .site-header { border-bottom-width: calc(3 * var(--u)); }
  .site-header__inner { width: calc(1440 * var(--u)); margin: 0 auto; height: calc(72 * var(--u)); padding: 0 calc(39 * var(--u)) 0 calc(40 * var(--u)); gap: 0; }
  .brand { padding: 0; }
  .brand img { width: calc(58 * var(--u)); }
  .menu-toggle { display: none; }
  .site-nav ul { gap: calc(10 * var(--u)); }
  .btn--nav { height: calc(42 * var(--u)); padding: 0 calc(17.5 * var(--u)); font-size: calc(17 * var(--u)); letter-spacing: .02em; }
  .btn--nav-book { height: calc(44 * var(--u)); padding: 0 calc(24.5 * var(--u)); font-size: calc(16 * var(--u)); margin-left: calc(21 * var(--u)); letter-spacing: .03em; }

  /* hero (75 -> ~904). The text block (697 design px from the hero top to the bottom of the
     buttons) uses --hu: the design pixel, shrunk on short screens so BOOK US / LISTEN stay
     on the first screen (header 75 + text 697 + 32px margin <= screen height). */
  .hero { height: calc(829 * var(--u)); --hu: clamp(calc(.6 * var(--u)), (100vh - 75 * var(--u) - 32px) / 697, var(--u)); }
  .hero__photo {
    position: absolute; top: 0; bottom: 0; right: 0; z-index: 0;
    left: calc((100cqw - 1440 * var(--u)) / 2 + 547 * var(--u));
    /* The photo only shows to the right of the red band (line.js refines this). */
    clip-path: polygon(calc(180 * var(--u)) 0, 100% 0, 100% 100%, calc(-122 * var(--u)) 100%);
  }
  .hero__text { width: calc(1440 * var(--u)); margin: 0 auto; padding-left: calc(56 * var(--u)); padding-top: calc(85 * var(--hu)); }
  .sticker { font-size: calc(14.4 * var(--hu)); padding: calc(9 * var(--hu)) calc(13 * var(--hu)) calc(8 * var(--hu)); letter-spacing: .15em; margin-left: calc(5.5 * var(--hu)); }
  .hero__title { font-size: calc(165.6 * var(--hu)); line-height: calc(139 * var(--hu)); margin-top: calc(24.9 * var(--hu)); text-shadow: var(--ol), calc(7 * var(--hu)) calc(7 * var(--hu)) 0 var(--silver); }
  .hero__lede { font-size: calc(28 * var(--hu)); line-height: 1.2; margin-top: calc(25.1 * var(--hu)); }
  .hero__ctas { gap: calc(23 * var(--hu)); margin-top: calc(25 * var(--hu)); padding-left: calc(6 * var(--hu)); }
  .btn--hero { height: calc(56 * var(--hu)); font-size: calc(20 * var(--hu)); letter-spacing: .02em; }
  .btn--hero.btn--red { width: calc(124 * var(--hu)); }
  .btn--hero.btn--outline { width: calc(134 * var(--hu)); }

  /* shared section heading block */
  .section-title .display { font-size: calc(80 * var(--u)); text-shadow: var(--ol), calc(4 * var(--u)) calc(4 * var(--u)) 0 var(--silver); }
  .section-title { column-gap: calc(20 * var(--u)); }
  .section-title--xl .display { font-size: calc(135 * var(--u)); }
  /* The section numbers are gone; an invisible stand-in keeps each title's height and baseline,
     so every section (and the red line's route) stays exactly where the design put it. */
  .section-title .display::before { content: "\200b"; font: italic 800 calc(92 * var(--u))/1 var(--cond); }
  .section-title--xl .display::before { font-size: calc(137 * var(--u)); }
  .underline { width: calc(200 * var(--u)); height: calc(10 * var(--u)); margin-top: calc(12.8 * var(--u)); margin-left: calc(-2.2 * var(--u)); }
  .section-lede { font-size: calc(23 * var(--u)); line-height: 1.3; margin-top: calc(18.25 * var(--u)); }
  .section-lede--indent { padding-left: calc(80 * var(--u)); }

  /* 02 music: heading row top at 1068.2 */
  .music { padding-top: calc(164.5 * var(--u)); }
  .tracks { display: grid; grid-template-columns: 1fr 1fr; gap: calc(20 * var(--u)); margin-top: calc(38.8 * var(--u)); }
  .track { height: calc(152 * var(--u)); }
  .track__facade, .track > a { padding-left: calc(24 * var(--u)); gap: calc(18 * var(--u)); }
  .track__play { width: calc(64 * var(--u)); height: calc(64 * var(--u)); }
  .track__play .tri { width: calc(20 * var(--u)); height: calc(24 * var(--u)); }
  .track__title { font-size: calc(32 * var(--u)); }
  .track__src { font-size: calc(14 * var(--u)); margin-top: calc(7 * var(--u)); }
  .stream-links { justify-content: flex-end; gap: calc(24 * var(--u)); margin-top: calc(45 * var(--u)); }
  .btn--stream { height: calc(50 * var(--u)); padding: 0 calc(27.5 * var(--u)); font-size: calc(18 * var(--u)); letter-spacing: .02em; }

  /* 03 two ways: heading row top at 1782.2 (music ends 1446) */
  .ways { padding-top: calc(336.2 * var(--u)); }
  .ways__grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: calc(44.85 * var(--u)); }
  .way { width: calc(644.4 * var(--u)); justify-self: center; }
  .way::before { transform: translate(calc(8.9 * var(--u)), calc(10 * var(--u))); }
  .way__inner { inset: calc(2.6 * var(--u)); }
  .way__foot { flex: none; height: calc(111.8 * var(--u)); align-items: flex-start; padding: calc(2.8 * var(--u)) calc(80.6 * var(--u)) 0 calc(41.4 * var(--u)); }
  .way__foot .text-link { margin-top: calc(46 * var(--u)); }
  .way__title { font-size: calc(84 * var(--u)); text-shadow: calc(4 * var(--u)) calc(4 * var(--u)) 0 var(--silver); }
  .way__foot .text-link { font-size: calc(27 * var(--u)); letter-spacing: .02em; }

  /* 04 live: heading row top at 2835.2 (two-ways shadow ends 2498) */
  .live { padding-top: calc(347.2 * var(--u)); }
  .live__grid {
    display: grid; grid-template-columns: calc(837 * var(--u)) 1fr; grid-template-rows: 1fr 1fr;
    column-gap: calc(24 * var(--u)); row-gap: calc(24 * var(--u));
    height: calc(474 * var(--u)); margin-top: calc(44.85 * var(--u));
  }
  .video--big { grid-row: 1 / 3; --sk: calc(49.8 * var(--u)); }
  .video--small { --sk: calc(23.6 * var(--u)); }
  .video__facade, .video iframe { inset: calc(3 * var(--u)); width: calc(100% - 6 * var(--u)); height: calc(100% - 6 * var(--u)); }
  .video__facade::after { height: calc(81 * var(--u)); }
  .video--small .video__facade::after { height: calc(77 * var(--u)); }
  .video__caption { left: calc(16 * var(--u)); bottom: calc(14 * var(--u)); font-size: calc(19 * var(--u)); }
  .video--small .video__caption { font-size: calc(16 * var(--u)); left: calc(16 * var(--u)); bottom: calc(14 * var(--u)); }
  .play-tag { width: calc(123 * var(--u)); height: calc(62 * var(--u)); font-size: calc(22 * var(--u)); }
  .video--small .play-tag { width: calc(88 * var(--u)); height: calc(42 * var(--u)); font-size: calc(17 * var(--u)); }

  /* 05 shows: heading row top at 3852.2 (live ends 3517) */
  .shows { padding-top: calc(335.2 * var(--u)); }
  .shows__list { margin-top: calc(44 * var(--u)); }
  .show { min-height: calc(116 * var(--u)); }
  .show + .show { margin-top: calc(14 * var(--u)); }
  .show__date { width: calc(118 * var(--u)); margin-left: calc(12 * var(--u)); padding-right: calc(16 * var(--u)); clip-path: polygon(0 0, 100% 0, calc(100% - 23 * var(--u)) 100%, 0 100%); }
  .show__m { font-size: calc(16 * var(--u)); }
  .show__d { font-size: calc(52 * var(--u)); margin: calc(3 * var(--u)) 0 calc(-1 * var(--u)); }
  .show__y { font-size: calc(14 * var(--u)); }
  .show__t { font-size: calc(16 * var(--u)); margin-top: calc(6 * var(--u)); }
  .show__info { padding: calc(18 * var(--u)) calc(24 * var(--u)) calc(18 * var(--u)) calc(6 * var(--u)); gap: calc(9 * var(--u)); }
  .show__title { font-size: calc(22 * var(--u)); }
  .show__where, .show__notes { font-size: calc(16 * var(--u)); }
  .tag { font-size: calc(14.4 * var(--u)); padding: calc(7 * var(--u)) calc(13 * var(--u)) calc(6 * var(--u)); }
  .show__info { padding-right: calc(160 * var(--u)); }
  .show__tix { position: absolute; right: calc(36 * var(--u)); top: 50%; transform: translateY(-50%); font-size: calc(18 * var(--u)); min-height: calc(44 * var(--u)); }
  .shows__empty { margin-top: calc(44 * var(--u)); font-size: calc(23 * var(--u)); }

  /* 06 about: heading row top at 4718.3 (shows end 4387) */
  .about { padding-top: calc(331.3 * var(--u)); }
  .section-title--xl + .underline { margin-top: calc(11.7 * var(--u)); }
  .about__grid {
    display: grid; grid-template-columns: calc(620 * var(--u)) 1fr; column-gap: calc(58 * var(--u));
    align-items: center; margin-top: calc(44 * var(--u)); margin-left: calc(-6 * var(--u));
  }
  .frame--about { height: calc(685 * var(--u)); --sk: calc(72 * var(--u)); }
  .about__lead { font-size: calc(42 * var(--u)); line-height: calc(43 * var(--u)); text-shadow: var(--ol), calc(4 * var(--u)) calc(4 * var(--u)) 0 var(--silver); }
  .underline--short { width: calc(96 * var(--u)); height: calc(8 * var(--u)); margin-top: calc(23.3 * var(--u)); transform: skewX(-24deg); }
  .about__bio { font-size: calc(18 * var(--u)); line-height: calc(30.15 * var(--u)); margin-top: calc(25.1 * var(--u)); max-width: calc(600 * var(--u)); }

  /* 07 book: "07" row top at 5941.2 (about ends 5606) */
  .book {
    display: grid; grid-template-columns: calc(620 * var(--u)) 1fr; column-gap: calc(6.7 * var(--u));
    padding-top: calc(335.2 * var(--u));
  }
  /* The section numbers are gone; the room the "07" took stays, so the photo keeps its size and place. */
  .book__text { padding-top: calc(92 * var(--u)); }
  .book__title { font-size: calc(187.2 * var(--u)); margin-top: calc(11.1 * var(--u)); text-shadow: var(--ol), calc(7 * var(--u)) calc(7 * var(--u)) 0 var(--silver); }
  .book__lede { font-size: calc(26 * var(--u)); line-height: calc(35 * var(--u)); margin-top: calc(17.4 * var(--u)); }
  .book__email { font-size: calc(20 * var(--u)); line-height: 1.2; margin-top: calc(26.1 * var(--u)); }
  .btn--book { width: calc(380 * var(--u)); height: calc(78 * var(--u)); font-size: calc(34 * var(--u)); margin-top: calc(38 * var(--u)); letter-spacing: .02em; }
  .btn--book .tri { width: calc(24 * var(--u)); height: calc(28 * var(--u)); }
  /* photo: top lines up with the cap top of "07", bottom with the button */
  .frame--book { --sk: calc(54.6 * var(--u)); margin-top: calc(18.4 * var(--u)); margin-right: calc(4.7 * var(--u)); }

  /* footer: logo top at 6655 (book ends 6485), page ends at 7093 */
  .site-footer { padding-top: calc(170 * var(--u)); padding-bottom: calc(104.2 * var(--u)); }
  .site-footer__logo { width: calc(89 * var(--u)); }
  .footer-links { margin-top: calc(28.5 * var(--u)); }
  .footer-links a { font-size: calc(16 * var(--u)); padding: calc(14 * var(--u)) 0; }
  .footer-links li + li::before { height: calc(16 * var(--u)); margin: 0 calc(15 * var(--u)); }
  .footer-email { font-size: calc(18 * var(--u)); line-height: 1.2; margin-top: calc(29 * var(--u)); }
  .footer-credits { font-size: calc(14 * var(--u)); line-height: calc(27 * var(--u)); margin-top: calc(25.1 * var(--u)); }
  .press-start { font-size: calc(12 * var(--u)); margin-top: calc(24.5 * var(--u)); min-height: calc(44 * var(--u)); }
}

/* =================================================================
   SECRET PAGE (same system: black, red line, outlined type, slants)
   ================================================================= */
.secret-main { min-height: calc(100vh - var(--header-h)); padding-top: 96px; padding-bottom: 140px; display: flex; flex-direction: column; }
.secret-title { font-size: clamp(48px, 13vw, 96px); text-shadow: var(--ol), 5px 5px 0 var(--silver); }
.secret-title:focus { outline: none; }
.secret-box .underline, .secret-blog .underline { width: 160px; height: 9px; margin-top: 14px; }
.secret-form { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 36px; align-items: center; }
.field {
  display: block; flex: 1 1 260px; max-width: 520px; height: 64px;
  border: 2px solid var(--white); background: var(--black);
  transform: skewX(-12deg);
}
.field:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--white); }
.field input {
  width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--white);
  padding: 0 22px; transform: skewX(12deg);
  font: italic 800 32px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
  caret-color: var(--red);
}
.btn--press { height: 64px; padding: 0 28px; font-size: 26px; }
.btn--press[disabled] { opacity: .6; cursor: progress; }
.secret-box__msg { min-height: 1.4em; margin-top: 26px; font: italic 800 28px/1.2 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.secret-box__msg.is-wrong { color: var(--white); font-family: var(--body); font-weight: 500; font-size: 20px; text-transform: none; letter-spacing: 0; }
.secret-box__msg.is-unlocked { color: var(--white); font-size: 56px; text-shadow: var(--ol), 4px 4px 0 var(--red); position: relative; display: inline-block; }
/* The one glitch on the site: a short RGB-split jitter when the code is right. */
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; text-shadow: none;
}
.glitch::before { color: var(--red); animation: glitch-a .6s steps(2, end) 2; clip-path: inset(0 0 55% 0); }
.glitch::after { color: var(--silver); animation: glitch-b .6s steps(2, end) 2; clip-path: inset(50% 0 0 0); }
@keyframes glitch-a { 0% { transform: translate(-6px, -2px); } 25% { transform: translate(5px, 1px); } 50% { transform: translate(-3px, 2px); } 75% { transform: translate(6px, -1px); } 100% { transform: none; opacity: 0; } }
@keyframes glitch-b { 0% { transform: translate(6px, 2px); } 25% { transform: translate(-5px, -1px); } 50% { transform: translate(3px, -2px); } 75% { transform: translate(-6px, 1px); } 100% { transform: none; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .glitch::before, .glitch::after { animation: none; display: none; } }

.post-list { margin-top: 36px; background: var(--black); }
.post-row + .post-row { margin-top: 14px; }
.post-row__link { display: flex; align-items: stretch; min-height: 104px; background: var(--panel); text-decoration: none; }
.post-row__link:hover .post-row__title { color: var(--red); }
.post-row__title { align-self: center; padding: 18px 20px 18px 8px; font: 700 21px/1.25 var(--body); }
.secret-lede { margin-top: 36px; font-size: 20px; font-style: italic; font-weight: 500; }
.post { margin-top: 36px; max-width: 760px; }
.post__meta { font: italic 700 16px/1 var(--cond); color: var(--red); letter-spacing: .14em; text-transform: uppercase; }
.post__title { margin-top: 12px; font: italic 800 clamp(34px, 8vw, 56px)/1.02 var(--cond); text-transform: uppercase; text-shadow: 4px 4px 0 var(--silver); }
.post__title:focus { outline: none; }
.frame--post { margin-top: 28px; aspect-ratio: 16 / 10; --sk: 6%; }
.post__body { margin-top: 26px; font-size: 18px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.post__body p + p { margin-top: 1em; }
.post-back { margin-top: 34px; font-size: 20px; min-height: 44px; }
.secret-back { margin-top: auto; padding-top: 72px; }
.secret-back .text-link { font-size: 20px; min-height: 44px; color: var(--white); }
.secret-back .text-link:hover { color: var(--red); }

@media (min-width: 1024px) {
  .secret-main { padding-top: calc(150 * var(--u)); }
  .secret-title { font-size: calc(120 * var(--u)); text-shadow: var(--ol), calc(6 * var(--u)) calc(6 * var(--u)) 0 var(--silver); }
  .secret-box .underline, .secret-blog .underline { width: calc(200 * var(--u)); height: calc(10 * var(--u)); }
  .field { height: calc(78 * var(--u)); max-width: calc(560 * var(--u)); }
  .field input { font-size: calc(36 * var(--u)); }
  .btn--press { height: calc(78 * var(--u)); padding: 0 calc(36 * var(--u)); font-size: calc(32 * var(--u)); }
  .post-list, .post { max-width: calc(980 * var(--u)); }
  .post-row__link { min-height: calc(116 * var(--u)); }
  .post-row__title { font-size: calc(22 * var(--u)); }
}

/* =================================================================
   MOTION
   One language for the whole site, in four intensities:
     opening   - the hero performs on load (CSS only, so it always finishes)
     entrances - sections arrive as you reach them (fx.js adds .m-in)
     media     - photos, cards and players respond with depth
     micro     - buttons, links and nav react to hover, focus and press
   Rules: motion uses opacity, clip-path and the individual translate / scale
   properties only, never layout. Everything ends on the exact approved design.
   Reduced motion: none of this applies.
   ================================================================= */
:root {
  --e-out: cubic-bezier(.16, 1, .3, 1);     /* arrivals: fast, long settle */
  --e-snap: cubic-bezier(.2, .9, .1, 1);    /* title-card slams */
  --e-io: cubic-bezier(.65, 0, .35, 1);     /* wipes */
  --e-spring: cubic-bezier(.3, 1.6, .5, 1); /* release after a press */
}
/* line.js measures the resting layout (see resting() there). */
html.measuring [data-m], html.measuring .hero__text > *, html.measuring .hero__title span,
html.measuring .hero__ctas .btn, html.measuring .hero__photo img, html.measuring .site-header li,
html.measuring .site-header .btn, html.measuring .site-header .brand, html.measuring .ch, html.measuring .wd,
html.measuring .btn--book {
  translate: none !important; scale: none !important; rotate: none !important; transition: none !important;
}

@media (prefers-reduced-motion: no-preference) {

  /* ---------- Opening: the hero performs (about 1.6s, then exactly the design) ----------
     0.0s header drops in · 0.1s the red band slashes down (fx.js) · 0.2s the photo is
     cut open behind it and settles · 0.38s THE / RANGER / SYSTEM slam in · 0.72s sticker
     stamps · 0.84s line · 0.94s buttons land · 1.45s one glint across BOOK US. */
  .site-header .brand { animation: m-drop .5s var(--e-out) .05s backwards; }
  .menu-toggle, .site-nav li { animation: m-drop .5s var(--e-out) backwards; }
  .site-nav li:nth-child(1), .menu-toggle { animation-delay: .12s; }
  .site-nav li:nth-child(2) { animation-delay: .16s; }
  .site-nav li:nth-child(3) { animation-delay: .2s; }
  .site-nav li:nth-child(4) { animation-delay: .24s; }
  .site-nav li:nth-child(5) { animation-delay: .28s; }
  .btn--nav-book { animation: m-slide-in .55s var(--e-snap) .34s backwards; }

  .hero__photo img {
    transform-origin: 70% 40%;
    animation: m-cut-open .95s var(--e-io) .22s backwards, m-settle 1.9s var(--e-out) .22s backwards;
  }
  .hero__title span { width: fit-content; animation: m-slam .72s var(--e-snap) backwards; }
  .hero__title span:nth-child(1) { animation-delay: .38s; }
  .hero__title span:nth-child(2) { animation-delay: .47s; }
  .hero__title span:nth-child(3) { animation-delay: .56s; }
  .hero .sticker { animation: m-stamp .42s var(--e-out) .72s backwards; }
  .hero__lede { animation: m-rise .7s var(--e-out) .84s backwards; }
  .hero__ctas .btn { animation: m-slide-in .6s var(--e-snap) backwards; }
  .hero__ctas .btn:nth-child(1) { animation-delay: .94s; }
  .hero__ctas .btn:nth-child(2) { animation-delay: 1.02s; }
  .hero__ctas .btn--red::before { animation: m-glint .75s var(--e-io) 1.45s backwards; }

  @keyframes m-drop { from { opacity: 0; translate: 0 -14px; } }
  @keyframes m-slide-in { from { opacity: 0; translate: -22px 0; } 60% { opacity: 1; } }
  @keyframes m-rise { from { opacity: 0; translate: 0 16px; } }
  @keyframes m-cut-open {
    from { clip-path: polygon(0 0, 6% 0, -22% 100%, 0 100%); }
    to { clip-path: polygon(0 0, 128% 0, 100% 100%, 0 100%); }
  }
  @keyframes m-settle { from { scale: 1.16; } }
  @keyframes m-slam {
    from { opacity: 0; translate: -.32em 0; clip-path: inset(-25% 100% -25% 0); }
    35% { opacity: 1; }
    72% { translate: .025em 0; }
    to { translate: 0 0; clip-path: inset(-25% -25% -25% -25%); }
  }
  @keyframes m-stamp { from { opacity: 0; scale: 1.7; } 55% { opacity: 1; scale: .93; } to { scale: 1; } }
  @keyframes m-glint { from { translate: -140% 0; opacity: 1; } to { translate: 340% 0; opacity: 1; } }

  /* Secret page: the title card slams in the same way. */
  .secret-title { width: fit-content; animation: m-slam .72s var(--e-snap) .15s backwards; }

  /* ---------- Entrances (fx.js sets html.m-ready, then .m-in as things come into view) ---------- */
  /* Entrance transitions apply until .m-done, then each element's own (hover) timings return. */
  .m-ready [data-m]:not(.m-done) { transition: opacity .6s var(--e-out), translate .75s var(--e-out), scale .9s var(--e-out), clip-path .8s var(--e-snap); transition-delay: var(--m-d, 0s); }
  .m-ready [data-m].m-now { transition: none; }
  /* Headings: the number, then the word, cut in from the left like a title card. */
  .m-ready [data-m="title"]:not(.m-in) { opacity: 0; translate: -26px 0; clip-path: inset(-30% 100% -30% 0); }
  .m-ready [data-m="title"].m-in { clip-path: inset(-30% -30% -30% -30%); }
  /* Red underline bars draw from the left. */
  .m-ready [data-m="bar"]:not(.m-in) { scale: 0 1; }
  .m-ready [data-m="bar"]:not(.m-done) { transition: scale .55s var(--e-snap); transition-delay: var(--m-d, 0s); }
  /* Text and small groups rise a little. */
  .m-ready [data-m="rise"]:not(.m-in) { opacity: 0; translate: 0 18px; }
  /* Cards land from slightly lower, one after another. */
  .m-ready [data-m="card"]:not(.m-in) { opacity: 0; translate: 0 34px; }
  /* Photo frames are cut open along their own slant; the photo settles inside. */
  .m-ready [data-m="frame"]:not(.m-done) { transition: clip-path .95s var(--e-io), opacity .2s linear; transition-delay: var(--m-d, 0s); }
  .m-ready .frame[data-m="frame"]:not(.m-in), .m-ready .video[data-m="frame"]:not(.m-in) {
    opacity: 0; clip-path: polygon(var(--sk) 0, var(--sk) 0, 0 100%, 0 100%);
  }
  .m-ready [data-m="frame"]:not(.m-done) img, .m-ready [data-m="card"]:not(.m-done) .way__photo img { transition: scale 1.4s var(--e-out), transform .6s var(--e-out); transition-delay: var(--m-d, 0s); }
  .m-ready [data-m="frame"]:not(.m-in) img, .m-ready [data-m="card"]:not(.m-in) .way__photo img { scale: 1.14; }
  /* Show rows slide in from the left. */
  .m-ready [data-m="row"]:not(.m-in) { opacity: 0; translate: -30px 0; }

  /* ---------- Media: depth on hover (pointer devices), feedback on press (all) ---------- */
  .track { transition: translate .35s var(--e-out); }
  .track__play { transition: background-color .15s, scale .35s var(--e-spring); }
  .track__title { transition: translate .35s var(--e-out); }
  .way__card { transition: translate .45s var(--e-out); }
  .way__photo img { transition: scale .35s var(--e-out); }
  .way::before { transition: background-color .3s var(--e-out); }
  .way__photo { overflow: hidden; } /* the zoom stays inside the photo area */
  .video img { transition: transform .6s var(--e-out), scale 1.4s var(--e-out); }
  .play-tag { transition: background-color .15s, scale .35s var(--e-spring); }
  .show { transition: translate .4s var(--e-out); }
  .track__facade:active .track__play { scale: .9; transition-duration: .15s, .08s; }
  .way:active .way__card { translate: 2px 2px; transition-duration: .1s; }
  .way:active::before { background: var(--red); }
  .video__facade:active .play-tag { scale: .92; transition-duration: .15s, .08s; }

  @media (hover: hover) and (pointer: fine) {
    .track:not(.is-playing):hover { translate: 0 -4px; }
    .track__facade:hover .track__play { scale: 1.1; }
    .track__facade:hover .track__title { translate: 4px 0; }
    .way:hover .way__card { translate: -4px -5px; }
    /* A quick push-in on the photo. */
    .way:hover .way__photo img { scale: 1.08; }
    .way:hover::before { background: var(--red); }
    .video__facade:hover img { transform: scale(1.06); }
    .video__facade:hover .play-tag { scale: 1.1; }
    .show:hover { translate: 6px 0; }
  }

  /* A video lights up for an instant when it starts. */
  .video.m-hit::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: var(--white); animation: m-flash .45s var(--e-out) forwards;
  }
  @keyframes m-flash { from { opacity: .55; } to { opacity: 0; } }

  /* ---------- Micro: every button presses in and springs back ---------- */
  .btn { transition: background-color .15s, color .15s, border-color .15s, scale .32s var(--e-spring), translate .32s var(--e-spring); }
  .btn:active { scale: .93; translate: 2px 2px; transition-duration: .15s, .15s, .15s, .07s, .07s; }
  @media (hover: hover) and (pointer: fine) {
    .btn--nav:hover, .btn--stream:hover { translate: 0 -2px; }
  }
  .text-link .tri, .press-start .tri { transition: translate .3s var(--e-spring); }
  .text-link:hover .tri, .text-link:focus-visible .tri, .press-start:hover .tri, .press-start:focus-visible .tri { translate: 5px 0; }
  .text-link { transition: color .15s, scale .3s var(--e-spring); }
  .text-link:active { scale: .94; transition-duration: .15s, .07s; }
  .footer-links a { display: inline-block; transition: color .15s, translate .3s var(--e-out); }
  @media (hover: hover) and (pointer: fine) { .footer-links a:hover { translate: 0 -2px; } }

  /* BOOK US: a red slash cuts across the (white) hover state; the hero one glints once on arrival. */
  .btn[data-book] { position: relative; overflow: hidden; }
  .btn[data-book] > span { position: relative; z-index: 1; }
  .btn[data-book]::after, .hero__ctas .btn--red::before {
    content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; pointer-events: none;
    translate: -180% 0;
  }
  .btn[data-book]::after { background: linear-gradient(100deg, transparent 25%, rgba(237, 29, 36, .95) 47%, rgba(237, 29, 36, .95) 53%, transparent 75%); }
  .hero__ctas .btn--red::before { background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .7) 50%, transparent 75%); }
  .btn[data-book]:hover::after, .btn[data-book]:focus-visible::after { animation: m-slash .5s cubic-bezier(.45, 0, .2, 1) .12s; }
  @keyframes m-slash { from { translate: -180% 0; } to { translate: 320% 0; } }

  /* ---------- Navigation: the section you're reading is marked ---------- */
  .site-nav ul { position: relative; }
  .nav-ink {
    position: absolute; left: 0; bottom: -9px; height: 3px; width: 100px; pointer-events: none;
    background: var(--red); transform-origin: 0 50%; transform: skewX(-24deg);
    opacity: 0; transition: translate .5s var(--e-out), scale .5s var(--e-out), opacity .3s;
  }
  .nav-ink.is-on { opacity: 1; }
  @media (max-width: 1023.98px) { .nav-ink { display: none; } }
  .btn--nav.is-current { border-color: var(--white); }
  /* Mobile menu: drops open as a panel, items follow. */
  .site-nav.is-open { animation: m-panel .34s var(--e-out); }
  .site-nav.is-open li { animation: m-drop .4s var(--e-out) backwards; }
  .site-nav.is-open li:nth-child(2) { animation-delay: .03s; }
  .site-nav.is-open li:nth-child(3) { animation-delay: .06s; }
  .site-nav.is-open li:nth-child(4) { animation-delay: .09s; }
  .site-nav.is-open li:nth-child(5) { animation-delay: .12s; }
  @keyframes m-panel { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

  /* ---------- Booking popup arrives instead of appearing ---------- */
  .booking[open] { animation: m-pop .38s var(--e-out); }
  .booking[open]::backdrop { animation: m-fade .3s ease-out; }
  @keyframes m-pop { from { opacity: 0; translate: 0 22px; scale: .96; } }
  @keyframes m-fade { from { opacity: 0; } }

  /* ---------- The red line's glints (drawn by fx.js) ---------- */
  .fx-glint {
    position: absolute; left: 0; top: 0; z-index: 1;
    overflow: hidden; pointer-events: none; max-width: none;
  }

  /* ---------- Glitch (the hero title) ----------
     A red and a silver copy of the text (data-text) slice and jump around it for ~0.45s. */
  .m-glitch { position: relative; }
  .m-glitch::before, .m-glitch::after {
    content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    pointer-events: none; text-shadow: none; white-space: nowrap;
  }
  .m-glitch::before { color: var(--red); animation: g-a .45s steps(1, end) both; }
  .m-glitch::after { color: var(--silver); animation: g-b .45s steps(1, end) both; }
  /* Hero title: barely there (hover or tap only). */
  .m-soft .m-glitch::before, .m-soft .m-glitch::after { opacity: .28; }
  .hero__title { cursor: default; }
  @keyframes g-a {
    0% { clip-path: inset(0 0 62% 0); translate: -.07em -.02em; }
    20% { clip-path: inset(40% 0 38% 0); translate: .09em 0; }
    40% { clip-path: inset(70% 0 8% 0); translate: -.05em .02em; }
    60% { clip-path: inset(12% 0 70% 0); translate: .06em 0; }
    80% { clip-path: inset(50% 0 30% 0); translate: -.08em 0; }
    100% { clip-path: inset(0 0 100% 0); translate: 0 0; }
  }
  @keyframes g-b {
    0% { clip-path: inset(55% 0 20% 0); translate: .06em .02em; }
    20% { clip-path: inset(8% 0 76% 0); translate: -.08em 0; }
    40% { clip-path: inset(30% 0 48% 0); translate: .05em -.02em; }
    60% { clip-path: inset(80% 0 4% 0); translate: -.06em 0; }
    80% { clip-path: inset(22% 0 64% 0); translate: .07em 0; }
    100% { clip-path: inset(0 0 100% 0); translate: 0 0; }
  }

  /* BOOK US gleams when you reach it, and now and then while it's on screen. */
  .btn--book::before {
    content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; pointer-events: none;
    translate: -180% 0; background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .7) 50%, transparent 75%);
  }
  .btn--book.m-gleam::before { animation: m-glint .8s var(--e-io); }

  /* Letters split for the About effects (fx.js puts the original text back after). */
  .ch { display: inline-block; white-space: pre; }
  .wd { display: inline-block; white-space: nowrap; }

  /* ---------- About ---------- */
  /* The bold names wave, letter by letter (on arrival, hover or tap). */
  .about__bio b { cursor: default; }
  .w-wave .ch { animation: w-wave .7s var(--e-out) calc(var(--i) * 35ms) both; }
  @keyframes w-wave { 30% { translate: 0 -.32em; color: var(--red); } 60% { translate: 0 .05em; } 100% { translate: 0 0; } }
  /* The big quote types itself out like game dialogue, with a red cursor. */
  .k-type .ck { opacity: 0; }
  .k-type .ck.on { opacity: 1; }
  .k-type .ck.cursor { position: relative; }
  .k-type .ck.cursor::after {
    content: ""; position: absolute; left: 100%; top: .08em; width: .42em; height: .82em; margin-left: .04em;
    background: var(--red);
  }
}
