/* self-hosted fonts (latin) */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Reenie Beanie"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/reenie-beanie-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@property --live { syntax: "<color>"; inherits: true; initial-value: #ece9e0; }
/* =========================================================
   townsend — style.css
   black, concrete, bone. photocopies, tape, marker.
   ========================================================= */

:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --concrete: #1b1a18;
  --line: rgba(236, 233, 224, 0.12);
  --line-2: rgba(236, 233, 224, 0.28);
  --text: #ece9e0;
  --muted: #d4d0c7;
  --dim: #a29e95;
  --paper: #e3ded1;
  --ink: #121110;
  --rust: #c8381f;
  --accent: var(--text);       /* white at rest, the song's colour while music plays */
  --accent-ink: var(--ink);    /* text on an accent background */

  --f-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-scrawl: "Reenie Beanie", "Segoe Print", "Bradley Hand", cursive;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --nav-h: 62px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* jagged edge used for torn paper (repeat-x mask) */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V12l18-6 12 8 22-10 18 6 18-8 22 10 18-5 22 8 20-10 26 6 18-8 22 10 22-7 22 6 20-8 22 10 18-6 26-5 18 9 20-6 24 9 18-10 24 5 20-8 22 11 22-6 22 7 22-9 22 6v13z'/%3E%3C/svg%3E");

  --torn-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0v12l18 6 12-8 22 10 18-6 18 8 22-10 18 5 22-8 20 10 26-6 18 8 22-10 22 7 22-6 20 8 22-10 18 6 26 5 18-9 20 6 24-9 18 10 24-5 20 8 22-11 22 6 22-7 22 9 22-6V0z'/%3E%3C/svg%3E");

  --live: #ece9e0;
  transition: --live .3s ease;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 0.95rem/1.7 var(--f-mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
body.has-player { padding-bottom: 76px; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
h1, h2, h3, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--text); color: var(--ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* old tv static, hero only: canvas noise redrawn every frame in main.js */
.tv-static {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 3; pointer-events: none;
  opacity: .028;
  mix-blend-mode: screen;
}

.sr-only {
  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 {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: .6rem 1rem; background: var(--text); color: var(--ink);
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 .72rem/1.2 var(--f-mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.scrawl { font-family: var(--f-scrawl); font-weight: 400; line-height: .95; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* play / pause icon swapping for anything wired to the player */
.ic-pause, .when-playing { display: none; }
.is-playing .ic-play, .is-playing .when-idle { display: none; }
.is-playing .ic-pause { display: block; }
.is-playing .when-playing { display: inline; }

/* ---------- reveal ---------- */
[data-reveal], .rel, .vid, .credit {
  opacity: 0;
  transform: translateY(24px) rotate(var(--r, 0deg));
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.in[data-reveal], .rel.in, .vid.in, .credit.in { opacity: 1; transform: rotate(var(--r, 0deg)); }
.no-js [data-reveal], .no-js .rel, .no-js .vid, .no-js .credit { opacity: 1; transform: none; }

/* ---------- section dividers: a hairline that fades at the ends,
   with a short rust tab lined up with the content's left edge ---------- */
.torn { position: relative; }
.torn::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px; z-index: 2;
  background:
    linear-gradient(var(--rust), var(--rust)) calc((100% - min(100%, var(--wrap))) / 2 + var(--gutter)) 0 / 56px 4px no-repeat,
    linear-gradient(90deg, transparent, rgba(236, 233, 224, .2) 12%, rgba(236, 233, 224, .2) 88%, transparent) 0 1.5px / 100% 1px no-repeat;
  pointer-events: none;
}
/* ---------- tape ---------- */
.tape {
  position: absolute; z-index: 3;
  top: -14px; left: 50%; width: 110px; height: 30px; margin-left: -55px;
  background: rgba(214, 206, 186, .62);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  transform: rotate(-4deg);
  clip-path: polygon(0 12%, 4% 0, 96% 4%, 100% 18%, 97% 38%, 100% 58%, 96% 78%, 99% 100%, 3% 96%, 0 82%, 3% 62%, 0 42%, 4% 24%);
  pointer-events: none;
}

/* =========================================================
   nav
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: rgba(11, 11, 10, .94);
  border-bottom: 1px solid var(--line);
  transform: translateY(-101%);
  transition: transform .4s var(--ease);
}
.nav.is-scrolled, .nav.is-open, .nav:focus-within { transform: none; }
.nav-logo { font: 400 2.5rem/1 var(--f-scrawl); letter-spacing: .01em; position: relative; z-index: 2; top: 5px; }
.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav-links a {
  font: 500 .72rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  position: relative; padding-block: .3rem; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--text); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-current { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-links .nav-cta { color: var(--text); border: 1.5px solid var(--text); padding: .45rem .9rem; transition: background .2s, color .2s; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--text); color: var(--ink); }

.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; }
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 0; padding: var(--nav-h) var(--gutter) 2rem;
    background: var(--bg);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a, .nav-links .nav-cta {
    font: 400 clamp(2.8rem, 14vw, 4.6rem)/1.05 var(--f-display); letter-spacing: 0; text-transform: none;
    color: var(--text); border: 0; padding: 0;
    transform: translateX(-20px); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
  }
  .nav-links .nav-cta { color: var(--accent); }
  .nav.is-open .nav-links a { transform: none; opacity: 1; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: .03s; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: .06s; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: .09s; }
  .nav.is-open .nav-links a:nth-child(5) { transition-delay: .12s; }
  .nav.is-open .nav-links a:nth-child(6) { transition-delay: .15s; }
  .nav.is-open .nav-links a:nth-child(7) { transition-delay: .18s; }
  .nav-links a::after { display: none; }
}

/* =========================================================
   hero — spotlight haze, wordmark, cutout of him on top
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 60% at 40% 0%, #1d1c1a 0%, transparent 70%),
    radial-gradient(120% 80% at 50% 100%, #0e0e0d 0%, #050505 100%);
}
.haze { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { /* vignette + floor fade */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 11, 10, .85) 9%, transparent 30%),
    radial-gradient(130% 95% at 45% 35%, transparent 45%, rgba(0, 0, 0, .7) 100%);
}

.wordmark {
  position: absolute; inset-inline: 0; top: 9%;
  z-index: 1;
  display: flex; justify-content: center;
  margin: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.ascii-hero { display: block; max-width: 100%; }
/* the h1's real text: hidden behind the ascii canvas, shown big if javascript is off */
.wordmark-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .wordmark-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; font: 400 min(22vw, 18rem)/.85 var(--f-display); color: var(--text); }
.no-js .ascii-hero { display: none; }


.hero-figure {
  position: absolute; z-index: 2;
  bottom: -7vh; left: 50%;
  width: min(86vh, 980px);
  margin-left: calc(min(86vh, 980px) * -0.42);
  pointer-events: none;
  will-change: transform;
}
.hero-figure img {
  width: 100%; height: auto;
  filter: contrast(1.18) brightness(1.04) drop-shadow(0 0 1px rgba(236, 233, 224, .55)) drop-shadow(-12px -10px 40px rgba(236, 233, 224, .14));
  animation: figure-in 1s var(--ease) .15s both;
}
/* comes up out of black (not from invisible): looks like a fade on the dark stage, but the browser counts it as painted from the first frame */
@keyframes figure-in { from { filter: grayscale(1) brightness(0); transform: translateY(6%); } }

@media (max-width: 760px) {
  /* leave room so the song-title strip peeks in above the fold */
  .hero { height: calc(100vh - 64px); height: calc(100svh - 64px); min-height: 540px; }
  .wordmark { top: 15%; }
  .hero-figure { width: 142vw; margin-left: -73vw; bottom: 0; }
}
@media (max-aspect-ratio: 3/4) and (min-width: 761px) {
  .hero-figure { width: 92vw; margin-left: -44vw; }
}

.hero-top {
  position: absolute; z-index: 4;
  top: 20px; inset-inline: var(--gutter); /* no safe-area here: some in-app browsers report a big top inset that is not actually covered */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .9rem 1rem;
  pointer-events: none;
}
.hero-top .stamp:first-child { justify-self: start; }
.hero-top .stamp:last-child { justify-self: end; }
.hero-social { display: flex; gap: .15rem; pointer-events: auto; }
.hero-social a {
  display: grid; place-items: center; width: 38px; height: 38px;
  color: var(--muted);
  transition: color .15s, background .15s;
}
.hero-social a:hover, .hero-social a:focus-visible { color: var(--ink); background: var(--text); }
.hero-social svg { width: 18px; height: 18px; animation: icon-glitch 4.2s steps(1, end) infinite; }
.hero-social a:nth-child(2) svg { animation-duration: 5.3s; animation-delay: -1.7s; }
.hero-social a:nth-child(3) svg { animation-duration: 3.7s; animation-delay: -2.9s; }
.hero-social a:nth-child(4) svg { animation-duration: 6.1s; animation-delay: -.8s; }
@keyframes icon-glitch {
  0%, 90%, 100% { transform: none; filter: none; clip-path: none; }
  91% { transform: translate(-2px, 1px); filter: drop-shadow(2px 0 0 rgba(255, 45, 35, .85)) drop-shadow(-2px 0 0 rgba(40, 215, 255, .85)); }
  93% { transform: translate(2px, -1px) skewX(10deg); clip-path: inset(35% 0 20% 0); filter: drop-shadow(-3px 0 0 rgba(255, 45, 35, .85)); }
  95% { transform: translate(-1px, 0); clip-path: inset(0 0 55% 0); filter: drop-shadow(2px 0 0 rgba(40, 215, 255, .85)); }
  96% { transform: none; filter: none; clip-path: none; }
}
.stamp {
  font: 500 .68rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2); padding: .35rem .6rem;
  background: rgba(11, 11, 10, .6);
}


.hero-bottom {
  position: absolute; z-index: 4;
  inset-inline: var(--gutter);
  bottom: max(26px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  pointer-events: none;
}
.hero-bottom > * { pointer-events: auto; }
.hero-play {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 40px; padding-inline: .95rem;
  border: 1.5px solid var(--line-2);
  background: rgba(11, 11, 10, .55);
  font: 500 .66rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: rise .6s var(--ease) .45s forwards;
  transition: color .2s, border-color .2s, background .2s;
}
.hero-play svg { width: 12px; height: 12px; color: var(--text); }
.hero-play b { font-weight: 600; color: var(--text); }
.hero-play:hover { color: var(--ink); background: var(--text); border-color: var(--text); }
.hero-play:hover svg, .hero-play:hover b { color: var(--ink); }
.hero-play.is-playing { border-color: var(--accent); }
.hero-play.is-playing svg { color: var(--accent); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.scroll-cue { display: block; padding: 4px 10px; opacity: 0; animation: rise .6s var(--ease) .6s forwards; }
.scroll-cue i { display: block; width: 1.5px; height: 34px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--text); animation: drip 1.8s steps(8) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(100%); } }

@media (max-width: 600px) {
  .hero-top { grid-template-columns: auto auto; justify-content: space-between; }
  .hero-top .stamp { font-size: .54rem; letter-spacing: .1em; padding: .3rem .45rem; }
  .hero-social { grid-row: 2; grid-column: 1 / -1; justify-self: center; gap: .5rem; }
  .hero-social a { width: 52px; height: 52px; color: var(--text); }
  .hero-social svg { width: 26px; height: 26px; }
}

/* =========================================================
   song strip: every song, playable, on a tilted paper strip
   ========================================================= */
.strips {
  position: relative; z-index: 5;
  height: clamp(104px, 9vw, 140px);
  margin-top: -64px;
  overflow-x: clip;
  pointer-events: none;
}
.strip {
  position: absolute; left: -6%; width: 112%; top: 50%;
  overflow: hidden;
  pointer-events: auto;
}
.strip-track { display: flex; align-items: center; width: max-content; animation: marquee 90s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.strip-songs {
  transform: translateY(-50%) rotate(-2.4deg);
  background: var(--paper); color: var(--ink);
  padding-block: .55rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
}
.strip-songs:hover .strip-track, .strip-songs:focus-within .strip-track { animation-play-state: paused; }
/* no-js fallback: plain titles */
.strip-songs .strip-track > span { font: 400 clamp(1.5rem, 3.2vw, 2.5rem)/1 var(--f-display); white-space: nowrap; padding-inline: 1.2rem; }

.strip-item {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .25rem 1.3rem .25rem .5rem;
  color: var(--ink);
  font: 400 clamp(1.45rem, 3vw, 2.4rem)/1 var(--f-display);
  white-space: nowrap;
  transition: color .2s;
}
.strip-item img { width: 1.3em; height: 1.3em; object-fit: cover; filter: grayscale(1) contrast(1.2); transition: filter .3s ease, box-shadow .3s; }
.strip-n { align-self: flex-start; margin-top: .15em; font: 600 .3em var(--f-mono); letter-spacing: .12em; color: rgba(18, 17, 16, .55); }
.strip-item:hover, .strip-item:focus-visible { color: var(--accent); outline: none; }
.strip-item:hover img, .strip-item:focus-visible img { filter: none; }
/* the playing song: text takes the song's colour (deepened so it reads on paper) */
.strip-item.is-playing, .strip-item.is-playing .strip-n { color: color-mix(in srgb, var(--live) 62%, #000); }
.strip-item.is-playing img { box-shadow: 0 0 0 2px color-mix(in srgb, var(--live) 62%, #000); }
.is-live .strip-item img { filter: none; }

@media (max-width: 600px) {
  .strips { height: 96px; margin-top: -48px; }
}

/* =========================================================
   buttons / links
   ========================================================= */
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 48px; padding-inline: 1.1rem;
  border: 1.5px solid var(--line-2);
  font: 500 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  transition: background .18s, color .18s, border-color .18s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-primary { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-primary:hover { background: transparent; color: var(--text); }
.btn-primary.is-playing { background: var(--accent); border-color: var(--accent); color: var(--text); }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.8rem;
  font: 500 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1.5px solid var(--line-2); padding-bottom: .25rem;
  transition: color .2s, border-color .2s, gap .25s var(--ease);
}
.text-link svg { width: 13px; height: 13px; }
.text-link:hover { color: var(--text); border-color: var(--text); gap: .75rem; }

/* =========================================================
   section scaffolding
   ========================================================= */
.feature, .music, .live, .writing, .videos, .press, .about, .listen { padding-block: clamp(84px, 11vw, 150px); position: relative; }
.feature { background: radial-gradient(70% 70% at 22% 40%, #1a1917 0%, transparent 70%), linear-gradient(180deg, #0b0b0a, #090908); }
.music { background: radial-gradient(60% 50% at 85% 0%, #1d1c1a 0%, transparent 70%), linear-gradient(180deg, #161614 0%, #111110 100%); }
.live { background: linear-gradient(180deg, #080807 0%, #0c0c0b 60%, #090908 100%); }
.writing { background: radial-gradient(55% 45% at 10% 15%, #1d1d1f 0%, transparent 70%), linear-gradient(175deg, #161618 0%, #111110 100%); }
.videos { background: radial-gradient(60% 50% at 90% 20%, #141317 0%, transparent 70%), linear-gradient(180deg, #080808, #0a0a09); }
.press { background: radial-gradient(70% 60% at 50% 0%, #24231f 0%, transparent 75%), linear-gradient(180deg, #1c1b19 0%, #121211 100%); }
.about { background: radial-gradient(55% 60% at 22% 55%, #171614 0%, transparent 70%), linear-gradient(180deg, #080807, #0a0a09); }
.listen { background: radial-gradient(60% 50% at 80% 30%, #1d1d1b 0%, transparent 70%), linear-gradient(180deg, #161614 0%, #090909 100%); }

.sec-head { position: relative; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 900px; }
.sec-head h2, .about-copy h2 {
  margin-top: .8rem;
  font: 400 clamp(3.2rem, 10vw, 8rem)/.88 var(--f-display);
  letter-spacing: -.005em;
  filter: url(#rough);
}
.sec-scrawl {
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--accent);
  transform: rotate(-4deg); margin: clamp(.9rem, 1.8vw, 1.4rem) 0 0 .3rem;
}
.sec-head h2.one-line { font-size: clamp(2.2rem, 10.2vw, 8.6rem); white-space: nowrap; }
.sec-sub { margin-top: 1rem; color: var(--muted); max-width: 56ch; }
.sec-sub a { color: var(--text); border-bottom: 1.5px solid var(--accent); }

/* ---------- [01] feature ---------- */
.feature { overflow: hidden; }
.feature-grid {
  display: grid; gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 920px) { .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.feature-art {
  position: relative;
  width: min(100%, 520px);
  --rx: 0deg; --ry: 0deg;
  perspective: 1200px;
}
.feature-art .cover {
  position: relative; z-index: 2;
  width: 100%; aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .9);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease);
}
.feature-art .tape { left: 10%; margin-left: 0; top: -12px; transform: rotate(-8deg); }
@media (max-width: 919px) { .feature-art { width: min(100%, 460px); } }
.feature-title {
  margin: 1.1rem 0 1.4rem;
  font: 400 clamp(4.6rem, 13vw, 10.5rem)/1.02 var(--f-display);
  letter-spacing: -.01em;
  filter: url(#grit);
}
.feature-meta { margin-top: 0; font: 500 .74rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.feature-meta i { font-style: normal; color: var(--dim); margin-inline: .4rem; }
.pull {
  margin: 1.8rem 0 2rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
  max-width: 46ch;
}
.pull p { font-style: italic; font-size: 1.02rem; color: var(--text); }
.pull cite { display: block; margin-top: .45rem; font: 500 .68rem var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pull cite a:hover { color: var(--text); }
.feature-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  margin-top: clamp(2.4rem, 4vw, 3.2rem);
  padding-top: clamp(1.4rem, 2.4vw, 1.9rem);
  border-top: 1px solid var(--line);
}
.feature-scrawl { font-size: 2.6rem; line-height: 1; color: var(--accent); transform: rotate(-4deg); }
.feature-foot .text-link { margin-top: 0; }

/* ---------- tabs ---------- */
.tabs {
  display: flex; gap: .4rem; margin-bottom: 2rem;
  overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: none;
  display: inline-flex; align-items: center; gap: .5rem;
  height: 40px; padding-inline: .95rem;
  border: 1.5px solid var(--line-2);
  font: 500 .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .18s, background .18s, border-color .18s;
}
.tabs [role="tab"] span { color: var(--dim); }
.tabs [role="tab"]:hover { color: var(--text); border-color: var(--text); }
.tabs [role="tab"][aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] span { color: rgba(18, 17, 16, .5); }
.tabs [role="tab"].htmx-request { opacity: .5; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* ---------- [02] discography ---------- */
.grid {
  display: grid; gap: clamp(1.1rem, 2.6vw, 2rem) clamp(.9rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); } }

.rel { display: flex; flex-direction: column; min-width: 0; }
.rel-art { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--concrete); }
.rel-art img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.25) brightness(.9);
  transition: filter .35s, transform .6s var(--ease);
}
.rel-art:hover img, .rel-art:focus-visible img, .rel-art.is-current img { filter: none; transform: scale(1.04); }
.rel-play {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--text); color: var(--ink);
  transform: translateY(100%);
  transition: transform .25s var(--ease), background .2s;
}
.rel-play svg { width: 17px; height: 17px; }
.rel-art:hover .rel-play, .rel-art:focus-visible .rel-play, .rel-art.is-current .rel-play { transform: none; }
.rel-art.is-playing .rel-play { background: var(--accent); color: var(--accent-ink); }
@media (hover: none) { .rel-play { transform: none; width: 40px; height: 40px; } }

.rel-eq {
  position: absolute; left: 10px; bottom: 12px; z-index: 2;
  display: flex; align-items: flex-end; gap: 3px; height: 18px;
  opacity: 0; transition: opacity .2s;
}
.rel-eq i { width: 4px; height: 100%; background: var(--text); transform-origin: bottom; animation: eq .8s steps(4) infinite; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.rel-eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .6s; }
.rel-eq i:nth-child(3) { animation-delay: -.5s; animation-duration: 1s; }
.rel-eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .7s; }
.rel-art.is-playing .rel-eq { opacity: 1; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }

.rel-new {
  position: absolute; top: 0; left: 0; z-index: 2;
  font: 600 .62rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  padding: .35rem .55rem; background: var(--accent); color: var(--accent-ink);
}
.rel-meta { margin-top: .75rem; }
.rel-meta h3 { font: 400 1.45rem/1.05 var(--f-display); letter-spacing: .005em; }
.rel-feat { font: 400 1.5rem/.9 var(--f-scrawl); color: var(--accent); margin-top: .1rem; }
.rel-sub { font: 500 .64rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: .35rem; }
.rel-links { display: flex; gap: .1rem; margin-top: .4rem; margin-left: -7px; }
.rel-links a { padding: 7px; color: var(--dim); transition: color .15s; }
.rel-links a svg { width: 16px; height: 16px; }
.rel-links a:hover { color: var(--text); }

/* ---------- [03] live ---------- */
.live { padding-top: 0; overflow: hidden; }
.live-hero {
  position: relative;
  height: clamp(380px, 82vh, 860px);
  overflow: hidden;
}
.live-hero img {
  width: 100%; height: 118%; object-fit: cover; object-position: center 40%;
  filter: grayscale(1) contrast(1.35) brightness(.78);
  will-change: transform;
}
.live-hero::before { /* halftone */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at center, rgba(0, 0, 0, .26) 0 1.1px, transparent 1.6px) 0 0 / 5px 5px;
  mix-blend-mode: multiply;
}
.live-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg-2) 0%, transparent 18%, transparent 55%, var(--bg) 100%);
}
.live-stage { position: relative; perspective: 1000px; perspective-origin: 50% 45%; }
.live-caption {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 8%; margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem); color: var(--text);
  transform: rotate(-4deg);
  bottom: 24%;
}
.live-grid { margin-top: clamp(-60px, -6vw, -30px); position: relative; z-index: 2; }

.pasteup {
  display: grid; gap: clamp(1.6rem, 3vw, 2.2rem);
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1rem;
}
@media (min-width: 900px) {
  .pasteup { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pasteup .p2 { margin-top: 70px; }
  .pasteup .p4 { margin-top: 36px; }
}
@media (min-width: 560px) and (max-width: 899px) { .pasteup { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pasteup .p2, .pasteup .p4 { margin-top: 40px; } }
@media (max-width: 559px) { .pasteup .print { width: 92%; } .pasteup .print:nth-child(even) { margin-left: auto; } }

.print {
  position: relative;
  background: var(--paper); color: var(--ink);
  padding: 9px 9px 9px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85);
  transition: transform .4s var(--ease), opacity .7s var(--ease);
}
.print img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.4) brightness(.95); transition: filter .35s; }
.print:hover { transform: rotate(0deg) scale(1.03) !important; z-index: 4; }
.print:hover img { filter: grayscale(.1) contrast(1.15); }
.print figcaption { font-size: 1.9rem; text-align: center; padding: .55rem .4rem .2rem; }
.print-link { position: relative; display: block; }
.print-cta {
  position: absolute; left: 0; bottom: 0;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .7rem;
  background: var(--ink); color: var(--text);
  font: 500 .62rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--ease);
}
.print-cta svg { width: 14px; height: 14px; }
.print:hover .print-cta, .print-link:focus-visible .print-cta { opacity: 1; transform: none; }
@media (hover: none) { .print-cta { opacity: 1; transform: none; } }

/* ---------- [04] songs i helped write ---------- */
.names {
  display: flex; flex-wrap: wrap; gap: .1rem .9rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 1100px;
}
.names li { font: 400 clamp(1.5rem, 3.6vw, 2.7rem)/1.1 var(--f-display); }
.names a {
  color: transparent; -webkit-text-stroke: 1px var(--dim);
  transition: color .15s, -webkit-text-stroke-color .15s;
}
.names li:nth-child(3n+1) a { color: var(--text); -webkit-text-stroke: 0; }
.names a:hover, .names a:focus-visible { color: var(--accent); -webkit-text-stroke-color: transparent; }

.credits {
  display: grid; gap: 0 clamp(1.2rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .credits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .credits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.credit {
  display: grid; grid-template-columns: 2.2rem 56px minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.credit-n { font: 500 .7rem var(--f-mono); color: var(--dim); }
.credit-play { position: relative; width: 56px; height: 56px; display: block; overflow: hidden; }
.credit-play img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); transition: filter .25s; }
.credit-ic {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(11, 11, 10, .55); color: var(--text);
  opacity: 0; transition: opacity .2s;
}
.credit-ic svg { width: 18px; height: 18px; }
.credit:hover .credit-play img, .credit-play.is-current img { filter: none; }
.credit:hover .credit-ic, .credit-play:focus-visible .credit-ic, .credit-play.is-current .credit-ic { opacity: 1; }
.credit-play.is-playing .credit-ic { background: color-mix(in srgb, var(--accent) 78%, transparent); }
.credit-meta { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.credit-meta strong { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit-meta span { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit-link { padding: 8px; color: var(--dim); transition: color .15s; }
.credit-link svg { width: 16px; height: 16px; }
.credit-link:hover { color: var(--text); }
.credits-more { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2rem; }
.credits-more .text-link { margin-top: 0; }

/* ---------- [05] videos ---------- */
.video-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
}
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.vid { grid-column: span 2; min-width: 0; }
.vid.is-short { grid-column: span 1; }

.yt, .yt-frame {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--concrete);
}
.is-short .yt, .is-short .yt-frame { aspect-ratio: 9 / 16; }
.yt img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.3) brightness(.75); transition: filter .35s, transform .6s var(--ease); }
.yt:hover img, .yt:focus-visible img { filter: none; transform: scale(1.04); }
.yt-play {
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--text); color: var(--ink);
  transition: background .2s, color .2s;
}
.yt-play svg { width: 20px; height: 20px; }
.yt:hover .yt-play { background: var(--accent); color: var(--accent-ink); }
.is-short .yt-play { width: 44px; height: 44px; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-meta { margin-top: .7rem; }
.vid-meta h3 { font: 400 1.25rem/1.1 var(--f-display); letter-spacing: .005em; }
.is-short .vid-meta h3 { font: 600 .82rem/1.35 var(--f-mono); }
.vid-meta p { font: 500 .62rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: .35rem; }

.skel {
  aspect-ratio: 16 / 9;
  background: linear-gradient(100deg, var(--concrete) 30%, #23221f 50%, var(--concrete) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- [06] press clippings ---------- */
.clips { columns: 1; column-gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (min-width: 700px) { .clips { columns: 2; } }
@media (min-width: 1100px) { .clips { columns: 3; } }
.clip {
  break-inside: avoid;
  position: relative;
  margin: 0 0 clamp(1.8rem, 3vw, 2.6rem);
  padding: 1.6rem 1.4rem 1.3rem;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8);
  -webkit-mask: var(--torn) 0 0 / 300px 12px repeat-x, linear-gradient(#000, #000) 0 11px / 100% calc(100% - 22px) no-repeat, var(--torn-b) 0 100% / 300px 12px repeat-x;
          mask: var(--torn) 0 0 / 300px 12px repeat-x, linear-gradient(#000, #000) 0 11px / 100% calc(100% - 22px) no-repeat, var(--torn-b) 0 100% / 300px 12px repeat-x;
}
.clip p { font: 500 1.08rem/1.45 var(--f-mono); }
.clip footer {
  display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .5rem;
  margin-top: 1rem; padding-top: .8rem; border-top: 1.5px dashed rgba(18, 17, 16, .35);
  font: 500 .64rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #4a4741;
}
.clip cite { font-style: normal; font-weight: 600; color: var(--ink); }
.clip { transition: transform .3s var(--ease), opacity .7s var(--ease), box-shadow .3s; }
.clip:hover { transform: rotate(0deg) translateY(-4px) !important; box-shadow: 0 26px 50px -14px rgba(0, 0, 0, .95); }
.clip footer a { margin-left: auto; padding: 4px; color: var(--ink); }
.clip footer a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.clip:has(a:focus-visible) { outline: 2px solid var(--text); outline-offset: 4px; }
.clip footer a:focus-visible { outline: none; }
.clip footer a svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.clip footer a:hover svg { transform: translate(2px, -2px); }
.clip-dark { background: var(--ink); color: var(--text); border: 1px solid var(--line-2); }
.clip-dark p { font: 400 2.1rem/1 var(--f-scrawl); }
.clip-dark em { font-style: normal; color: var(--accent); }
.clip-dark footer { color: var(--muted); border-top-color: var(--line-2); }
.clip-dark cite, .clip-dark footer a { color: var(--text); }

/* ---------- [07] about ---------- */
.about-grid { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
@media (min-width: 920px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.about-print { width: min(100%, 430px); margin-inline: auto; padding-bottom: 0; }
.about-print figcaption { font-size: 2rem; padding: .6rem .4rem .8rem; }
.about-lede { margin-top: 1.6rem; font: 600 clamp(1.05rem, 2vw, 1.3rem)/1.5 var(--f-mono); }
.about-lede a { border-bottom: 1.5px solid var(--accent); }
.about-lede a:hover { color: var(--accent); }
.about-copy > p:not(.label):not(.about-lede):not(.scrawl) { margin-top: 1.2rem; color: var(--muted); max-width: 60ch; }
.lyric {
  margin-top: 1.8rem;
  font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--text);
  transform: rotate(-2deg); transform-origin: left;
  max-width: 22ch;
}
.lyric span { display: block; margin-top: .3rem; font-size: .7em; color: var(--accent); }

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.6rem; border-top: 1.5px solid var(--line-2);
}
.stats div { padding: 1.1rem 1rem 0 0; }
.stats div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.stats dt { font: 500 .62rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.stats dd { margin-top: .4rem; font: 400 clamp(2.4rem, 5vw, 4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }

/* ---------- [08] listen ---------- */
.listen-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 980px) { .listen-grid { grid-template-columns: 1.15fr 1fr; } }
.platforms { border-top: 1.5px solid var(--line-2); }
.platforms li { border-bottom: 1.5px solid var(--line-2); }
.platforms a {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 1rem;
  padding: clamp(.9rem, 1.8vw, 1.2rem) .4rem;
  font: 400 clamp(2.3rem, 5.6vw, 4.2rem)/1 var(--f-display);
  transition: color .2s, padding .35s var(--ease);
}
.platforms a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .3s var(--ease);
}
.platforms a:hover { color: var(--ink); padding-left: 1.1rem; }
.platforms a:hover::before { transform: scaleY(1); }
.pf-ic { width: .55em; height: .55em; flex: none; color: var(--dim); transition: color .2s; }
.platforms a:hover .pf-ic { color: var(--ink); }
.platforms span { flex: 1; }
.pf-arrow { width: .45em; height: .45em; color: var(--dim); transition: transform .3s var(--ease), color .2s; }
.platforms a:hover .pf-arrow { color: var(--ink); transform: translate(3px, -3px); }

.spotify-embed { min-height: 452px; }
.spotify-embed iframe { width: 100%; color-scheme: light; border-radius: 12px; filter: grayscale(.4); transition: filter .3s; }
.spotify-embed:hover iframe { filter: none; }
.skel-embed { aspect-ratio: auto; height: 452px; }

/* ---------- footer ---------- */
.footer { background: linear-gradient(180deg, #070707, #0b0b0a); padding: clamp(70px, 10vw, 130px) 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); overflow: hidden; }
.footer-big {
  font-size: clamp(4.2rem, 15vw, 12rem); line-height: .85; color: var(--text);
  transform: rotate(-3deg); transform-origin: left;
}
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font: 500 .66rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.footer-social { display: flex; gap: .1rem; }
.footer-social a { padding: 10px; color: var(--muted); transition: color .15s, background .15s; }
.footer-social a:hover { color: var(--ink); background: var(--text); }
.footer-social svg { width: 19px; height: 19px; }
.to-top:hover { color: var(--text); }

/* =========================================================
   sticky preview player — flush bottom bar
   ========================================================= */
.player {
  position: fixed; z-index: 60;
  left: 0; right: 0; bottom: 0;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bg);
  border-top: 1.5px solid var(--line-2);
  transform: translateY(105%);
  transition: transform .45s var(--ease);
}
.player.is-open { transform: none; }
.player[hidden] { display: block; visibility: hidden; }

.player-seek {
  --p: 0%;
  position: absolute; top: -8px; left: 0; width: 100%;
  height: 14px; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, var(--accent) var(--p), transparent var(--p)) center / 100% 3px no-repeat;
  cursor: pointer;
}
.player-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 6px; height: 14px; background: var(--text); opacity: 0; transition: opacity .2s; }
.player-seek::-moz-range-thumb { width: 6px; height: 14px; border: 0; border-radius: 0; background: var(--text); opacity: 0; transition: opacity .2s; }
.player:hover .player-seek::-webkit-slider-thumb, .player-seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.player:hover .player-seek::-moz-range-thumb, .player-seek:focus-visible::-moz-range-thumb { opacity: 1; }

.player-inner {
  display: flex; align-items: center; gap: .9rem;
  max-width: var(--wrap); margin-inline: auto;
  padding: 10px var(--gutter);
}
.player-art { width: 48px; height: 48px; object-fit: cover; flex: none; }
.player-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.player-meta strong { font: 400 1.25rem/1.1 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta > span { font: 500 .62rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-viz { width: 140px; height: 34px; flex: none; }
.player-ctrls { display: flex; align-items: center; gap: .15rem; }
.player-ctrls button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); transition: color .15s, background .15s; }
.player-ctrls button:hover { color: var(--text); }
.player-ctrls svg { width: 17px; height: 17px; }
.player-ctrls .player-toggle { width: 46px; height: 46px; background: var(--text); color: var(--ink); }
.player-ctrls .player-toggle:hover { background: var(--accent); color: var(--accent-ink); }
.player-full {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  height: 40px; padding-inline: .85rem;
  border: 1.5px solid var(--line-2);
  font: 500 .64rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .15s, border-color .15s, background .15s;
}
.player-full svg { width: 12px; height: 12px; }
.player-full:hover { color: var(--ink); background: var(--text); border-color: var(--text); }
.player-close { width: 36px; height: 36px; display: grid; place-items: center; color: var(--dim); flex: none; }
.player-close:hover { color: var(--text); }
.player-close svg { width: 16px; height: 16px; }

@media (max-width: 680px) {
  .player-viz, .player-full { display: none; }
  .player-ctrls [data-p-prev] { display: none; }
  .player-inner { gap: .6rem; }
}

/* =========================================================
   reduced motion
   ========================================================= */
/* reduce-motion: keep the slow ambient animation, drop the big movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .rel, .vid, .credit { transform: rotate(var(--r, 0deg)); transition-property: opacity; } /* fade in, no slide */
  .hero-figure img { animation-name: fade-only; }
}
@keyframes fade-only { from { filter: grayscale(1) brightness(0); } }


/* while a song plays, headings pick up the colour of its cover art */
.sec-head h2, .about-copy h2, .feature-title, .footer-big, .nav-logo { color: var(--live); }
.names li:nth-child(3n+1) a { color: var(--live); }
.label { transition: color .3s; }
.is-live .label { color: color-mix(in srgb, var(--live) 70%, var(--muted)); }
.is-live .rel-sub, .is-live .vid-meta p { color: color-mix(in srgb, var(--live) 40%, var(--dim)); }
.is-live .text-link { border-color: color-mix(in srgb, var(--live) 55%, transparent); }
.is-live .player-seek { background-image: linear-gradient(90deg, var(--live) var(--p), transparent var(--p)); }

/* lollapalooza shot tilts in 3d as it scrolls past (angle set in main.js) */
.live { overflow: hidden; }
.live-hero { transform-origin: 50% 50%; will-change: transform; transform-style: preserve-3d; }

/* every artist name gets the same hover (declared last so it beats the solid/outline variants) */
.names li a { display: inline-block; }
.names li a:hover, .names li a:focus-visible {
  color: var(--accent);
  -webkit-text-stroke-color: transparent;
  animation: name-glitch .38s steps(1, end) 1;
}
@keyframes name-glitch {
  0% { transform: translate(-3px, 1px) skewX(-8deg); text-shadow: 3px 0 rgba(40, 215, 255, .8), -3px 0 rgba(255, 45, 35, .8); }
  25% { transform: translate(3px, -1px); text-shadow: -2px 0 rgba(40, 215, 255, .8); clip-path: inset(20% 0 35% 0); }
  50% { transform: translate(-1px, 0) skewX(6deg); text-shadow: 2px 0 rgba(255, 45, 35, .8); clip-path: none; }
  75% { transform: translate(1px, 0); text-shadow: none; }
  100% { transform: none; text-shadow: none; }
}

/* photos + covers come back to colour while a song plays */
.rel-art img, .credit-play img, .yt img, .print img, .about-print img { transition: filter .3s ease, transform .6s var(--ease); }
.live-hero img { transition: filter .3s ease; }
.is-live .rel-art img, .is-live .credit-play img, .is-live .yt img, .is-live .print img { filter: saturate(1.1) contrast(1.05); }
.is-live .live-hero img { filter: saturate(1.1) contrast(1.15) brightness(.85); }

/* whatever is playing glows in the song's colour, wherever it shows up */
@keyframes live-glow {
  0%, 100% { box-shadow: 0 0 0 2px var(--live), 0 0 28px -6px var(--live); }
  50% { box-shadow: 0 0 0 2px var(--live), 0 0 56px 0 var(--live); }
}
.rel-art.is-playing, .credit-play.is-playing, .feature.is-playing .cover, .player.is-playing .player-art { animation: live-glow 2.4s ease-in-out infinite; }
.rel:has(.is-playing) h3, .credit:has(.is-playing) strong {
  color: var(--live);
  text-shadow: 0 0 18px color-mix(in srgb, var(--live) 55%, transparent);
}
.credit:has(.is-playing) { background: linear-gradient(90deg, color-mix(in srgb, var(--live) 14%, transparent), transparent 70%); }
.btn-primary.is-playing {
  background: var(--live); border-color: var(--live); color: var(--ink);
  box-shadow: 0 0 30px -4px var(--live);
}
.hero-play.is-playing { border-color: var(--live); color: var(--text); box-shadow: 0 0 26px -6px var(--live); }
.hero-play.is-playing svg { color: var(--live); }
.player-ctrls .player-toggle { transition: background .3s, box-shadow .3s; }
.player.is-playing .player-toggle { background: var(--live); box-shadow: 0 0 22px -4px var(--live); }

/* play / pause: colour stutters in and out before it fades */
@keyframes color-glitch {
  0%   { filter: saturate(1.6) hue-rotate(-22deg); }
  25%  { filter: grayscale(.45) contrast(1.15) brightness(1.08); }
  50%  { filter: saturate(1.45) hue-rotate(28deg); }
  75%  { filter: grayscale(.25); }
  100% { filter: none; }
}

.color-glitch .rel-art img, .color-glitch .credit-play img, .color-glitch .yt img, .color-glitch .print img,
.color-glitch .live-hero img, .color-glitch .sec-head h2, .color-glitch .about-copy h2, .color-glitch .ascii-hero, .color-glitch .player-art {
  animation: color-glitch .3s steps(1, end) 1;
}
.sec-head.live-head { max-width: none; }

/* the reel keeps its tall shape */
.print.is-reel img { aspect-ratio: 9 / 16; }
@media (min-width: 900px) { .pasteup { align-items: start; } }
@media (max-width: 559px) { .pasteup .print.is-reel { width: 66%; margin-inline: auto; } }

/* new single cover stays black & white until music plays */
.feature-art .cover { filter: grayscale(1) contrast(1.15); transition: transform .5s var(--ease), filter .3s ease; }
.is-live .feature-art .cover { filter: none; }
.color-glitch .feature-art .cover { animation: color-glitch .3s steps(1, end) 1; }

/* hero cutout: dark black & white at rest, real colour while music plays */
.hero-figure img {
  filter: grayscale(1) contrast(1.25) brightness(.78) drop-shadow(0 0 1px rgba(236, 233, 224, .45)) drop-shadow(-12px -10px 40px rgba(236, 233, 224, .12));
  transition: filter .3s ease;
}
.is-live .hero-figure img {
  filter: grayscale(0) contrast(1.1) brightness(1) drop-shadow(0 0 1px rgba(236, 233, 224, .45)) drop-shadow(-12px -10px 40px rgba(236, 233, 224, .12));
}
/* glitch goes on the wrapper: the img keeps its own fade-in animation, swapping it would replay the fade */
.color-glitch .hero-figure { animation: color-glitch .3s steps(1, end) 1; }
.hero-play.is-playing:hover, .hero-play.is-playing:hover b { color: var(--ink); }

/* desktop pasteup: the reel runs full height on the left, the other three fill the right
   (two squares up top, the band shot as a wide strip under them) */
@media (min-width: 900px) {
  .pasteup { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; align-items: stretch; }
  .pasteup .p3 { grid-column: 1; grid-row: 1 / span 2; }
  .pasteup .p1 { grid-column: 2; grid-row: 1; }
  .pasteup .p2 { grid-column: 3; grid-row: 1; margin-top: 0; }
  .pasteup .p4 { grid-column: 2 / span 2; grid-row: 2; margin-top: 0; }
  .pasteup .print { display: flex; flex-direction: column; }
  .pasteup .print-link { flex: 1; min-height: 0; }
  /* the reel fills whatever height the right side makes, without pushing it taller */
  .pasteup .p3 .print-link { position: relative; }
  .pasteup .p3 img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .pasteup .p4 img { aspect-ratio: 2.4 / 1; object-position: center 62%; }
}

/* the hero's smoke + dust, carried down the page (drawn in main.js) */
.page-haze {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 45; pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}

/* ghosted cutout behind "songs i helped write" */
.sec-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.writing > .wrap { position: relative; z-index: 1; }
.sec-bg-figure {
  position: absolute; right: -6%; top: 2%;
  width: min(64vw, 920px); height: auto;
  opacity: .38;
  filter: grayscale(1) contrast(1.2) brightness(.9);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%), linear-gradient(to left, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, #000 45%, transparent 92%), linear-gradient(to left, #000 55%, transparent 100%);
          mask-composite: intersect;
  transition: opacity .3s ease, filter .3s ease;
  will-change: transform;
}
.is-live .sec-bg-figure { opacity: .5; filter: grayscale(.2) contrast(1.1); }
@media (max-width: 700px) {
  .sec-bg-figure { width: 120vw; right: -38vw; top: 0; opacity: .28; }
}

/* live keeps its torn edge visible; the tilting photo is clipped by its own stage */
.live { overflow: visible; overflow-x: clip; }
.live-stage { overflow: hidden; }

/* handwritten notes + section dividers follow the song's colour too */
.scrawl, .rel-feat, .clip-dark p, .clip-dark em, .lyric span { transition: color .3s ease; }
.is-live .scrawl, .is-live .rel-feat, .is-live .clip-dark p, .is-live .clip-dark em, .is-live .lyric span { color: var(--live); }
.is-live .torn::before {
  background:
    linear-gradient(var(--live), var(--live)) calc((100% - min(100%, var(--wrap))) / 2 + var(--gutter)) 0 / 56px 4px no-repeat,
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--live) 45%, transparent) 12%, color-mix(in srgb, var(--live) 45%, transparent) 88%, transparent) 0 1.5px / 100% 1px no-repeat;
}

/* every rust accent becomes the song's colour while it plays */
:root.is-live { --accent: var(--live); --accent-ink: var(--ink); }
.rel-new, .rel-play, .credit-ic, .yt-play { transition: background .3s ease, color .3s; }

/* link underlines + hovers follow the song too */
.is-live .nav-links a::after { background: var(--accent); }
.is-live .nav-links a:hover, .is-live .nav-links a.is-current { color: var(--accent); }
.is-live .nav-links .nav-cta { border-color: var(--accent); color: var(--accent); }
.is-live .nav-links .nav-cta:hover { background: var(--accent); color: var(--ink); }
.is-live .text-link:hover { color: var(--accent); border-color: var(--accent); }
.is-live .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.is-live .rel-links a:hover, .is-live .credit-link:hover, .is-live .to-top:hover { color: var(--accent); }
.is-live .footer-social a:hover, .is-live .hero-social a:hover { background: var(--accent); color: var(--ink); }
.is-live .platforms a::before { background: var(--accent); }
.is-live .sec-sub a, .is-live .about-lede a { border-color: var(--accent); }
.is-live .sec-sub a:hover, .is-live .about-lede a:hover, .is-live .pull cite a:hover { color: var(--accent); }
.is-live .tabs [role="tab"]:hover { border-color: var(--accent); color: var(--accent); }
.is-live .tabs [role="tab"][aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.is-live .print-cta { background: var(--accent); color: var(--ink); }
.is-live .clip footer a:hover { color: var(--accent); }
.feature-art .cover { height: auto; aspect-ratio: 1; }
.footer-big { white-space: nowrap; font-size: min(12rem, 14.2vw); }

/* song strip sits on paper, so a white hover would vanish: ink + underline at rest */
:root:not(.is-live) .strip-item:hover, :root:not(.is-live) .strip-item:focus-visible { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* nav logo glitches with everything else on play / pause */
.color-glitch .nav-logo { animation: color-glitch .3s steps(1, end) 1; }

/* handwritten notes keep the rust at rest (the song's colour takes over while playing) */
.sec-scrawl, .feature-scrawl, .rel-feat, .lyric span, .clip-dark em { color: var(--rust); }
.is-live .sec-scrawl, .is-live .feature-scrawl, .is-live .rel-feat, .is-live .lyric span, .is-live .clip-dark em { color: var(--live); }

/* ascii wordmark gets the same rgb-split glitch as the hero icons, on its own rhythm */
.ascii-hero { animation: icon-glitch 4.8s steps(1, end) infinite; animation-delay: -2.2s; }

/* hero cutout gets the same rgb-split glitch (on a wrapper, so it never fights the parallax or the colour filter) */
.hero-glitch { display: block; animation: icon-glitch 5.6s steps(1, end) infinite; animation-delay: -4.1s; }

/* phones: always two covers per row */
@media (max-width: 699px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ghosted band photo behind "on the road w/ knox" */
.live-grid > .sec-head, .live-grid > .pasteup { position: relative; z-index: 1; }
.sec-bg-live { inset: calc(56px - var(--live-pad)) 0 auto 0; height: min(78vw, 760px); overflow: visible; }
.sec-bg-live .sec-bg-figure {
  right: -2%; top: 0; width: min(62vw, 860px);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 85%), linear-gradient(to left, #000 50%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 85%), linear-gradient(to left, #000 50%, transparent 100%);
}
@media (max-width: 700px) {
  .sec-bg-live .sec-bg-figure { width: 110vw; right: -30vw; top: 0; }
}

/* lollapalooza stands alone now: no overlap with the live section below it */
.lolla { position: relative; background: #080807; overflow: hidden; }
/* extra headroom so the band's faces sit above the heading */
.live { --live-pad: clamp(150px, 17vw, 250px); padding-top: var(--live-pad); }
.live-grid { margin-top: 0; }



/* ghosted "rockin" cutout behind the platform list in listen & follow */
.listen > .wrap { position: relative; z-index: 1; }
.sec-bg-listen .sec-bg-figure {
  left: -6%; right: auto; top: 4%;
  width: min(58vw, 820px);
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%), linear-gradient(to right, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 50%, transparent 92%), linear-gradient(to right, #000 55%, transparent 100%);
}
@media (max-width: 700px) {
  .sec-bg-listen .sec-bg-figure { width: 120vw; left: auto; right: -40vw; top: 0; }
}

/* phones: ghost cutouts always fit inside the screen, never cropped off the edge */
@media (max-width: 700px) {
  .sec-bg-figure,
  .sec-bg-live .sec-bg-figure,
  .sec-bg-listen .sec-bg-figure { width: 100%; left: 0; right: 0; margin: 0; }
  .sec-bg-live .sec-bg-figure, .sec-bg-listen .sec-bg-figure, .writing .sec-bg-figure {
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 90%);
            mask-image: linear-gradient(to bottom, #000 45%, transparent 90%);
  }
}
@media (max-width: 700px) { .sec-bg-listen .sec-bg-figure { top: -40px; } }

/* band ghost: more see-through than the other ghosts */
.sec-bg-live .sec-bg-figure { opacity: .22; }
.is-live .sec-bg-live .sec-bg-figure { opacity: .32; }
@media (max-width: 700px) { .sec-bg-live .sec-bg-figure { opacity: .2; } }

/* band ghost fades out evenly on both sides */
.sec-bg-live .sec-bg-figure,
.sec-bg-live .sec-bg-figure {
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 85%), linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 85%), linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 700px) {
  .sec-bg-live .sec-bg-figure {
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 90%), linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
            mask-image: linear-gradient(to bottom, #000 45%, transparent 90%), linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  }
}

/* performance: nothing animates while its block is off screen */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
/* static loading placeholder (the shimmer repainted every frame) */
.skel { animation: none; background: var(--concrete); }
/* playing glow holds steady instead of pulsing (an animated shadow repaints every frame) */
.rel-art.is-playing, .credit-play.is-playing, .feature.is-playing .cover, .player.is-playing .player-art {
  animation: none; box-shadow: 0 0 0 2px var(--live), 0 0 40px -4px var(--live);
}

/* social icons in the phone menu (hidden in the desktop nav) */
.nav-social { display: none; }
@media (max-width: 860px) {
  .nav-social {
    display: flex; gap: .4rem; margin-top: 2rem;
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s var(--ease) .24s, transform .5s var(--ease) .24s;
  }
  .nav.is-open .nav-social { opacity: 1; transform: none; }
  .nav-links .nav-social a {
    display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
    font: inherit; transform: none; opacity: 1; transition: color .2s, background .2s;
    color: var(--text); border: 1.5px solid var(--line-2);
  }
  .nav-links .nav-social a svg { width: 24px; height: 24px; }
  .nav-links .nav-social a:hover, .nav-links .nav-social a:focus-visible { background: var(--text); color: var(--ink); }
  .is-live .nav-links .nav-social a:hover { background: var(--accent); color: var(--ink); }
}

/* artist names: grey fill instead of outline (every third stays bright) */
.names a { color: #8a867e; -webkit-text-stroke: 0; }
.names li:nth-child(3n+1) a { color: var(--live); }
.names li a:hover, .names li a:focus-visible { color: var(--accent); }

/* breathing room so the number doesn't touch the edge of the playing row's tint */
.credit { padding-inline: .8rem .4rem; }
/* while music plays: the grey names turn white (the bright ones take the song's colour) */
.names a { transition: color .3s ease, -webkit-text-stroke-color .15s; }
.is-live .names a { color: var(--text); }
.is-live .names li:nth-child(3n+1) a { color: var(--live); }
.is-live .names li a:hover, .is-live .names li a:focus-visible { color: var(--accent); }

/* player: song title opens an "open on" card */
.player-meta { position: relative; }
.player-title { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; min-width: 0; text-align: left; color: var(--text); }
.player-title strong { min-width: 0; }
.player-title svg { width: 11px; height: 11px; flex: none; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.player-title:hover svg, .player-title[aria-expanded="true"] svg { color: var(--accent); transform: translate(2px, -2px); }
.player-title:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.player-open {
  position: absolute; left: 0; bottom: calc(100% + 18px); z-index: 2;
  display: flex; align-items: center; gap: .7rem; white-space: nowrap;
  padding: .7rem .9rem;
  background: var(--bg); border: 1.5px solid var(--line-2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .7);
  font: 500 .66rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  animation: open-pop .18s var(--ease);
}
.player-open[hidden] { display: none; }
.player-open > span { color: var(--dim); }
.player-open i { font-style: normal; color: var(--dim); }
.player-open i[hidden], .player-open a[hidden] { display: none; }
.player-open a { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); transition: color .15s; }
.player-open a svg { width: 15px; height: 15px; flex: none; }
.player-open { width: max-content; max-width: calc(100vw - 32px); }
.player-open a:hover, .player-open a:focus-visible { color: var(--accent); }
.player-open::after {
  content: ""; position: absolute; left: 1.2rem; top: 100%;
  border: 7px solid transparent; border-top-color: var(--line-2);
}
@keyframes open-pop { from { opacity: 0; transform: translateY(6px); } }

/* ===== play / pause glitch burst =====
   colour flickers between states (js), the screen tears into slices,
   text jolts with an rgb split. smooth fades are suspended while it runs. */
.color-glitch main *, .color-glitch .nav-logo, .color-glitch .footer * { transition-duration: 0s !important; }
.color-glitch body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background:
    linear-gradient(color-mix(in srgb, var(--live, #ece9e0) 14%, transparent), color-mix(in srgb, var(--live, #ece9e0) 14%, transparent)),
    repeating-linear-gradient(to bottom, transparent 0 5px, rgba(255, 45, 35, .14) 5px 7px, transparent 7px 12px, rgba(40, 215, 255, .12) 12px 14px);
  mix-blend-mode: screen;
  opacity: .3;
  animation: glitch-slices .34s steps(1, end) 1 forwards;
}
@keyframes glitch-slices {
  0%   { clip-path: inset(8% 0 74% 0);  transform: translateX(-10px); }
  18%  { clip-path: inset(52% 0 30% 0); transform: translateX(12px); }
  36%  { clip-path: inset(26% 0 58% 0); transform: translateX(-6px); }
  54%  { clip-path: inset(74% 0 10% 0); transform: translateX(8px); }
  72%  { clip-path: inset(0 0 86% 0);   transform: translateX(-4px); }
  88%  { clip-path: inset(40% 0 48% 0); transform: translateX(3px); }
  100% { clip-path: inset(0 0 100% 0); }
}
.color-glitch :is(.sec-head h2, .about-copy h2, .feature-title, .nav-logo, .names a, .rel-meta h3, .strip-item) {
  animation: text-glitch .34s steps(1, end) 1;
}
.color-glitch :is(.scrawl, .footer-big, .label) { animation: text-split .34s steps(1, end) 1; }
@keyframes text-glitch {
  0%   { transform: translate(-4px, 0);   text-shadow: 3px 0 rgba(255, 45, 35, .75), -3px 0 rgba(40, 215, 255, .75); }
  20%  { transform: translate(3px, 1px);  text-shadow: -3px 0 rgba(255, 45, 35, .75), 3px 0 rgba(40, 215, 255, .75); }
  40%  { transform: translate(-2px, -1px); text-shadow: 4px 0 rgba(40, 215, 255, .7); }
  60%  { transform: translate(2px, 0);    text-shadow: -2px 0 rgba(255, 45, 35, .7); }
  80%  { transform: translate(-1px, 0);   text-shadow: 1px 0 rgba(40, 215, 255, .5); }
  100% { transform: none; text-shadow: none; }
}
@keyframes text-split {
  0%   { text-shadow: 3px 0 rgba(255, 45, 35, .75), -3px 0 rgba(40, 215, 255, .75); }
  33%  { text-shadow: -3px 0 rgba(255, 45, 35, .7), 3px 0 rgba(40, 215, 255, .7); }
  66%  { text-shadow: 2px 0 rgba(40, 215, 255, .6); }
  100% { text-shadow: none; }
}
/* images: same flicker, a touch stronger than before so it reads */
@keyframes color-glitch {
  0%   { filter: saturate(2) hue-rotate(-35deg) contrast(1.2); transform: translateX(-3px); }
  25%  { filter: grayscale(1) contrast(1.5) brightness(1.15); transform: translateX(3px); }
  50%  { filter: saturate(1.8) hue-rotate(40deg); transform: translateX(-1px); }
  75%  { filter: grayscale(.5); transform: none; }
  100% { filter: none; transform: none; }
}

/* ascii wordmark fades in once it has been drawn (no pop-in on first load) */
.ascii-hero { opacity: 0; transition: opacity .45s ease; }
.ascii-hero.is-ready { opacity: 1; }
