/* Second Flush: one dark world. Black film base, warm white type that glows,
   the logo's red-orange-yellow only where light hits (bars, LED, halation).
   Layout: mobile first, one left-aligned column, hero bars run to the edge. */
:root {
  --black: #000;
  --base: #0a0705;          /* film base under photos and panels */
  --paper: #f5f1e6;         /* logo white, slightly warm */
  --dim: #a99f90;           /* secondary text, warm grey */
  --line: #2a221c;
  --red: #ff3131;
  --orange: #ff914d;
  --yellow: #ffde59;
  --halation: rgba(255, 70, 40, .55);
  --display: "League Spartan", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --text: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --measure: 36rem;
  --beat: 480ms;            /* 125 BPM */
  color-scheme: dark;
}

@font-face { font-family: "League Spartan"; font-weight: 600; font-display: swap;
  src: url("../fonts/league-spartan-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-weight: 800; font-display: swap;
  src: url("../fonts/league-spartan-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-full-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-full-italic.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--text);
  font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem);
  line-height: 1.6;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 14;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain over everything. Static if motion is reduced. */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 50;
  pointer-events: none;
  background: url("../img/grain.png") repeat;
  background-size: 160px;
  opacity: .11;
  animation: grain .5s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { padding-left: var(--gutter); padding-right: var(--gutter-r); }
.inner { max-width: 72rem; margin-inline: auto; }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; z-index: 5; inset: 0 0 auto;
  padding-top: max(14px, env(safe-area-inset-top, 0px));
}
.topbar .inner { display: flex; justify-content: flex-end; gap: 1.25rem; flex-wrap: wrap; }
.topbar a {
  font-family: var(--display); font-weight: 600; font-size: .875rem; letter-spacing: .04em;
  text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; padding-block: .35rem;
}
.topbar svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, 86svh, 1000px);
  display: flex;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {                    /* warm light leak, top right */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 100% 0%, rgba(255, 110, 50, .22), transparent 70%);
}
.hero::after {                     /* vignette */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .7));
}
.hero-body { display: flex; width: 100%; }
.hero-body .inner { width: 100%; display: flex; flex-direction: column; }
.stage {
  container-type: inline-size;
  width: min(100%, 40rem, 64svh);
  margin-inline: auto;
  padding-top: clamp(5.5rem, 22svh, 13rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero h1 { margin: 0; line-height: 0; }
.logo-link { display: block; color: var(--paper); text-decoration: none; border-radius: 4px; }
.logo-link:hover { color: var(--paper); }
.logo { width: 100%; height: auto; overflow: visible; filter: url(#halation); }
.logo path { fill: currentColor; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }

.below { position: relative; flex: 1; min-height: 9rem; }
.bars { position: absolute; inset: 6px 0 0; inset: 2.4cqw 0 0; }
.bar {
  position: absolute;
  top: 0;                           /* padding gap is built in by .bars top */
  bottom: 0;
  width: var(--bw);
  transform-origin: 50% 100%;
  will-change: transform;
  box-shadow: 0 0 14px rgba(255, 90, 50, .55), 0 0 42px rgba(255, 60, 40, .35);
}
.bar--kick { left: var(--b1); background: linear-gradient(90deg, var(--red), var(--orange)); }
.bar--hat  { left: var(--b2); background: linear-gradient(90deg, var(--yellow), var(--orange)); }

.tagline {
  position: absolute; left: 0; top: 1.1rem; margin: 0;
  max-width: 62%;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.5rem);
  line-height: 1.1;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  color: var(--paper);
  text-shadow: 0 0 18px rgba(255, 140, 90, .35);
}
.tagline span { display: block; color: var(--dim); font-size: max(.95rem, .4em); line-height: 1.45; font-style: normal; margin-top: .6rem; letter-spacing: .01em; }

/* Intro: only when JS runs and motion is allowed */
.js .logo .l1, .js .logo .l2, .js .tagline { opacity: 0; }
.js .bar { transform: scaleY(0); transform-origin: 50% 0; }
.js.on-1 .logo .l1 { animation: flicker calc(var(--beat) * 1.5) steps(1, end) forwards; }
.js.on-2 .logo .l2 { animation: flicker calc(var(--beat) * 1.5) steps(1, end) forwards; }
.js.on-3 .bar { transform: scaleY(1); transition: transform calc(var(--beat) * 2) cubic-bezier(.2, .7, .2, 1); }
.js.on-4 .tagline { opacity: 1; transition: opacity calc(var(--beat) * 2) ease; }
@keyframes flicker {
  0% { opacity: .9; } 8% { opacity: .1; } 14% { opacity: 1; } 22% { opacity: .35; }
  30% { opacity: 1; } 44% { opacity: .8; } 52% { opacity: 1; } 100% { opacity: 1; }
}

/* ---------- Sections ---------- */
main section { padding-block: clamp(4.5rem, 10vw, 8rem); }
h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.4rem + 6vw, 5.5rem);
  line-height: .92; letter-spacing: -.02em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
  text-shadow: 0 0 2px rgba(255, 255, 255, .5), 0 0 24px var(--halation);
}
h3 { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .06em; margin: 0; }
p { margin: 0; max-width: var(--measure); }
.stack { display: grid; gap: 1.1rem; }
.lede { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); line-height: 1.35; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48; }
.muted { color: var(--dim); }

/* Live act */
.liveact .inner { display: grid; gap: 2rem; }
.liveact h2 { margin: 0; }
.liveact .copy { display: grid; gap: 1.1rem; min-width: 0; }
.tempo {
  justify-self: start;
  display: grid; grid-template-columns: auto auto; align-items: center; gap: .25rem 1rem;
  padding: 1rem 1.25rem 1rem 1rem;
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.tempo .led {
  width: .7rem; height: .7rem; border-radius: 50%;
  background: #3a0d0a; grid-row: span 2;
  transition: background 60ms linear, box-shadow 60ms linear;
}
.tempo .led.hit { background: var(--red); box-shadow: 0 0 10px var(--red), 0 0 24px var(--halation); }
.tempo .num {
  font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: var(--red); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 49, 49, .6);
}
.tempo .unit { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .12em; color: var(--dim); }
.channels {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem;
}
.channels li {
  display: grid; gap: .35rem; min-width: 0;
  padding: .9rem 1rem 1rem; background: var(--base); border-top: 2px solid var(--orange);
}
.channels .tape {
  justify-self: start;
  font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: #2a2117; background: #e9dfc6; padding: .15rem .5rem .05rem; transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
}
.channels li:nth-child(2n) .tape { transform: rotate(.9deg); }
.channels p { font-size: .95rem; line-height: 1.45; color: var(--dim); }

/* Live dates */
.dates { padding-block: 0 !important; }
.ticker {
  overflow: hidden; background: var(--yellow); color: #140c05;
  border-block: 1px solid var(--orange);
  box-shadow: 0 0 40px rgba(255, 145, 77, .35);
}
.ticker .track { display: flex; width: max-content; animation: ticker 24s linear infinite; }
.ticker span {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem); letter-spacing: .02em;
  padding: .7rem 0 .5rem; display: inline-flex; align-items: center;
}
.ticker span::after { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--red); margin-inline: 1em; }
@keyframes ticker { to { transform: translateX(-50%); } }
.dates .wrap { padding-block: clamp(3rem, 7vw, 5rem) clamp(4.5rem, 10vw, 8rem); }
.dates .stack > * { max-width: 40rem; }
.button {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; color: #140c05; background: var(--paper);
  padding: .85rem 1.2rem .7rem; border-radius: 3px; margin-top: .5rem;
  box-shadow: 0 0 22px rgba(255, 145, 77, .35);
}
.button:hover { color: #140c05; background: var(--yellow); }
.address { font-size: .95rem; color: var(--dim); overflow-wrap: anywhere; }

/* Studio contact sheet */
.sheet {
  list-style: none; margin: 2.5rem 0 0; padding: .75rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: .75rem;
  background: var(--base);
  border-radius: 4px;
}
.sheet li { margin: 0; min-width: 0; }
.sheet li.big { grid-column: span 2; grid-row: span 2; }
.sheet li.big img { height: 100%; aspect-ratio: auto; }
.sheet li.big figure { height: 100%; grid-template-rows: auto minmax(0, 1fr); }
.sheet figure { margin: 0; display: grid; gap: .35rem; }
.sheet .edge {
  display: flex; justify-content: space-between; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: .66rem; letter-spacing: .1em;
  color: var(--orange); opacity: .85; text-transform: uppercase;
}
.sheet img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #120c08; }
.sheet figcaption { font-style: italic; font-size: .85rem; line-height: 1.35; color: var(--dim); }

/* Follow */
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.links a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.links svg { width: 2.25rem; height: 2.25rem; color: var(--orange); }
.links strong {
  display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 1.2rem + 3vw, 3.25rem); line-height: 1; letter-spacing: -.01em;
}
.links small { display: block; color: var(--dim); font-size: .95rem; margin-top: .3rem; overflow-wrap: anywhere; }
.links a:hover strong { color: var(--yellow); text-shadow: 0 0 22px var(--halation); }

/* Contact */
.mail { margin: 1rem 0 0; display: grid; gap: 1.5rem; }
.mail div { display: grid; gap: .25rem; }
.mail dt { font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.mail dd { margin: 0; font-size: clamp(1.1rem, .95rem + 1vw, 1.6rem); overflow-wrap: anywhere; }
.mail dd span { display: block; font-size: .95rem; color: var(--dim); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); color: var(--dim); font-size: .9rem; }
footer .inner { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
footer .mark { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: .6rem; }
footer .mark i { width: 6px; height: 18px; display: block; }
footer .mark i:first-child { background: linear-gradient(90deg, var(--red), var(--orange)); }
footer .mark i:last-child { background: linear-gradient(90deg, var(--yellow), var(--orange)); }

/* ---------- Legal pages ---------- */
.legal .topbar { position: static; }
.legal header.page { padding-block: 3rem 1rem; }
.legal .home { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--display); font-weight: 800; letter-spacing: .02em; }
.legal h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.25rem, 1.4rem + 5vw, 4.5rem); line-height: .95; margin: 2.5rem 0 0; text-wrap: balance;
  text-shadow: 0 0 2px rgba(255, 255, 255, .5), 0 0 24px var(--halation);
}
.legal main { padding-block: 1rem 5rem; }
.legal main .inner { max-width: 44rem; margin-inline: 0; }
.legal h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.1; margin: 2.75rem 0 .75rem; text-shadow: none; letter-spacing: 0; }
.legal h3 { margin: 1.5rem 0 .4rem; color: var(--orange); }
.legal p, .legal li { max-width: 40rem; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.2rem; margin: .6rem 0 0; }
.legal address { font-style: normal; }
.lang { color: var(--dim); font-style: italic; margin-top: .5rem; }

/* Phones: the hero fills exactly the visible screen, so only the logo shows at first.
   svh = height with the browser bars shown; older browsers use the vh line. */
@media (max-width: 719px) {
  .hero { min-height: 100vh; min-height: 100svh; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .liveact .inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; column-gap: 4rem; }
  .liveact h2 { grid-column: 1 / -1; }
  .tempo { margin-top: .5rem; }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 1rem; gap: 1rem; }
  .follow .inner, .contact .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 4rem; align-items: start; }
  .tagline { max-width: 58%; }
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .ticker .track { animation: none; }
  .js .logo .l1, .js .logo .l2, .js .tagline { opacity: 1; animation: none !important; }
  .js .bar { transform: none; }
}
