/* ==========================================================================
   Lineup: "The Four".
   Base rules = a stack of cinematic band cards (no JS, touch, < 1024px, reduced motion).
   #lineup.is-stack adds scroll reveals; #lineup.is-film (set by js/lineup.mjs on wide,
   fine-pointer screens with motion allowed) turns the section into a pinned horizontal
   film strip driven by native vertical scroll.
   ========================================================================== */

#lineup {
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
  --torn: polygon(0 1.2%, 6% .2%, 13% 1%, 21% 0, 30% .9%, 38% .3%, 47% 1.1%, 55% .1%, 63% .8%, 72% 0, 80% 1%, 88% .2%, 95% .9%, 100% .3%, 99.6% 12%, 100% 26%, 99.3% 41%, 100% 58%, 99.5% 74%, 100% 88%, 99.7% 99.2%, 92% 100%, 84% 99.1%, 75% 99.9%, 66% 99%, 57% 100%, 48% 99.2%, 39% 99.9%, 30% 99%, 21% 100%, 12% 99.2%, 4% 99.9%, 0 99%, .4% 85%, 0 70%, .6% 52%, 0 36%, .5% 20%);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 110px 7% 100px;
  background: radial-gradient(90% 46% at 100% 0, rgba(101, 28, 24, .28), transparent 62%), var(--background);
}
@media (min-width: 1600px) { #lineup { padding-inline: max(7%, calc((100% - 1440px) / 2)); } }

/* ---------- Intro / heading ---------- */
#lineup .lineup-intro { position: relative; display: grid; justify-items: start; gap: 20px; margin: 0 0 54px; }
#lineup .lineup-kicker { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
#lineup .lineup-kicker::before { content: ""; width: 38px; height: 2px; background: var(--red); }
#lineup .lineup-kicker-deva { font-family: 'Rozha One', serif; font-size: 1.3rem; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--ochre); }
#lineup .lineup-title { position: relative; z-index: 1; font-size: clamp(4.2rem, 17vw, 8.5rem); line-height: .9; letter-spacing: .005em; text-transform: uppercase; }
#lineup .lineup-note { position: relative; z-index: 1; max-width: 36ch; font-size: .8125rem; line-height: 1.75; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#lineup .lineup-char { position: absolute; right: -6%; top: -.32em; z-index: 0; font-family: 'Rozha One', serif; font-size: clamp(7rem, 34vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200, 144, 79, .38); pointer-events: none; user-select: none; }
#lineup .lineup-cue, #lineup .lineup-tail, #lineup .lineup-progress, #lineup .band-edge, #lineup .band-heat { display: none; }

/* ---------- Band cards (stack) ---------- */
#lineup .band-list { display: grid; gap: 22px; }
#lineup .lineup-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "num" "logo" "print" "cap";
  justify-items: start;
  align-items: center;
  gap: 28px;
  padding: 40px 7% 44px;
  overflow: clip;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 60% at 0 0, rgba(101, 28, 24, .34), transparent 62%),
    radial-gradient(80% 50% at 100% 100%, rgba(255, 106, 31, .07), transparent 70%),
    var(--soot);
}
#lineup .lineup-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: var(--grain); }
#lineup .lineup-band > * { position: relative; z-index: 1; }

#lineup .band-number {
  grid-area: num;
  display: flex;
  align-items: flex-start;
  gap: .1em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.5rem, 30vw, 10rem);
  line-height: .8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243, 230, 207, .55);
  user-select: none;
}
#lineup .band-number-latin { position: relative; display: block; padding-top: .04em; }
#lineup .band-number-latin::after { content: attr(data-n); position: absolute; inset: 0; padding-top: inherit; color: var(--ember); -webkit-text-stroke: 0; opacity: 0; text-shadow: 0 0 .14em rgba(255, 106, 31, .6); }
#lineup .band-number-deva { display: block; margin-top: .1em; font-family: 'Rozha One', serif; font-size: .38em; line-height: 1; color: var(--ochre); -webkit-text-stroke: 0; }
#lineup .band-number-deva::before { content: "/"; margin-right: .2em; font-family: var(--serif); color: var(--red); }

#lineup .band-layer--logo { grid-area: logo; width: 100%; }
#lineup .lineup-logo { display: block; width: 100%; max-width: var(--logo-max, 320px); height: auto; margin: 0; }
#lineup .lineup-band--e-swara { --logo-max: 520px; }
#lineup .lineup-band--param { --logo-max: 440px; --tilt: -2deg; --ar: .6664; --print-max: 360px; --duo-filter: grayscale(1) contrast(1.06) brightness(1.55); }
#lineup .lineup-band--tarana { --logo-max: 300px; --tilt: 1.4deg; --ar: 1.5; --print-max: 600px; }
#lineup .lineup-band--kutcheri { --logo-max: 270px; --tilt: -1.4deg; --ar: 1; --print-max: 460px; }
/* Param's artwork is white on black: screen drops the black (the wrapper blends, so animating the image never exposes it). */
#lineup .lineup-band--param .band-layer--logo { mix-blend-mode: screen; }

#lineup .band-caption { grid-area: cap; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
#lineup .band-count { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
#lineup .band-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
#lineup .band-mark { position: absolute; right: 6%; top: 40px; z-index: 2; color: var(--red); font-size: 30px; line-height: 1; }

/* E-Swara has no photo: its logo sits in a ring of the seven swaras, wrapped in smoke. */
#lineup .band-layer--ring { grid-area: logo; justify-self: center; position: relative; z-index: 0; width: min(100%, 440px); aspect-ratio: 1; pointer-events: none; }
#lineup .lineup-band--e-swara .band-layer--logo { justify-self: center; z-index: 1; }
#lineup .lineup-band--e-swara .lineup-logo { margin-inline: auto; }
#lineup .band-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#lineup .band-ring circle { fill: none; stroke: rgba(200, 144, 79, .22); stroke-width: 1; }
#lineup .band-ring circle + circle { stroke-dasharray: 2 7; stroke: rgba(255, 106, 31, .35); }
#lineup .band-ring text { font-family: 'Rozha One', serif; font-size: 21px; fill: var(--ochre); fill-opacity: .72; }
#lineup .band-smoke { position: absolute; inset: -18%; border-radius: 50%; background:
  radial-gradient(38% 34% at 42% 55%, rgba(255, 106, 31, .26), transparent 70%),
  radial-gradient(42% 30% at 62% 40%, rgba(155, 42, 28, .34), transparent 72%),
  radial-gradient(50% 46% at 50% 50%, rgba(101, 28, 24, .35), transparent 75%); }

/* ---------- Photo prints: torn paper, tape, ink-and-ember duotone ---------- */
#lineup .band-layer--print { grid-area: print; width: 100%; }
#lineup .lineup-print { position: relative; width: 100%; max-width: var(--print-max, 420px); margin: 0; rotate: var(--tilt, -1.5deg); }
#lineup .lineup-print::before { content: ""; position: absolute; inset: 3% 2% 0 4%; z-index: -1; box-shadow: 0 26px 46px -14px rgba(0, 0, 0, .85); }
#lineup .lineup-print::after,
#lineup .print-tape { content: ""; position: absolute; z-index: 3; width: 82px; height: 25px; background: rgba(229, 218, 181, .74); clip-path: polygon(3% 10%, 97% 0, 100% 90%, 1% 100%); pointer-events: none; }
#lineup .lineup-print::after { top: -11px; left: 12px; rotate: -12deg; }
#lineup .print-tape { right: 10px; bottom: -10px; rotate: -8deg; }
#lineup .lineup-band--tarana .lineup-print::after { left: auto; right: 14px; rotate: 11deg; }
#lineup .lineup-band--tarana .print-tape { right: auto; left: 16px; rotate: 6deg; }
#lineup .print-paper { position: relative; padding: 10px 10px 13px; background: var(--paper); clip-path: var(--torn); }
#lineup .print-paper::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .16; mix-blend-mode: multiply; background-image: var(--grain); }
#lineup .print-photo { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: var(--ar, 1); background: var(--black); }
#lineup .print-photo::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 26px 4px rgba(26, 10, 5, .55); }
#lineup .print-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#lineup .print-duo { display: none; position: absolute; inset: 0; pointer-events: none; }
#lineup .print-duo--hi { background: linear-gradient(158deg, #ffdcae 0%, #ff9b52 36%, #e0552a 68%, #8f2a18 100%); mix-blend-mode: multiply; }
#lineup .print-duo--lo { background: #2c100a; mix-blend-mode: lighten; }
#lineup .print-burn { display: none; position: absolute; top: -4%; bottom: -4%; left: -6%; width: 112%; z-index: 2; pointer-events: none; transform: translate3d(-9%, 0, 0);
  clip-path: polygon(4% 0, 7% 6%, 3% 13%, 6% 21%, 2% 30%, 5.5% 38%, 3% 47%, 7% 55%, 2.5% 63%, 6% 71%, 3% 80%, 6.5% 88%, 2% 95%, 5% 100%, 100% 100%, 100% 0);
  background: linear-gradient(90deg, transparent 0 2%, #ffcf7a 3%, #ff6a1f 4.5%, #9b2a1c 6.5%, #2a120b 9%, #120b08 13%, #0e0a08 20%); }
#lineup .print-burn i { position: absolute; inset: 0 auto 0 0; width: 9%; background: radial-gradient(60% 6% at 60% 50%, rgba(255, 220, 140, .9), transparent), linear-gradient(90deg, transparent 20%, rgba(255, 140, 40, .55) 55%, transparent 90%); mix-blend-mode: screen; }

/* Duotone only where a pointer can bloom it back; touch screens get full colour. */
@media (hover: hover) and (pointer: fine) {
  #lineup .print-duo { display: block; transition: opacity .9s var(--ease-out); }
  #lineup .print-photo img { filter: var(--duo-filter, grayscale(1) contrast(1.16) brightness(1.04)); transition: filter .9s var(--ease-out); }
  #lineup .lineup-print { transition: rotate .7s var(--ease-spring), translate .7s var(--ease-spring); }
  #lineup .lineup-band:is(:hover, :focus-visible) .print-duo { opacity: 0; }
  #lineup .lineup-band:is(:hover, :focus-visible) .print-photo img { filter: none; }
  #lineup .lineup-band:is(:hover, :focus-visible) .lineup-print { rotate: 0deg; translate: 0 -6px; }
  #lineup .band-mark { transition: rotate .8s var(--ease-spring); }
  #lineup .lineup-band:is(:hover, :focus-visible) .band-mark { rotate: 90deg; }
}
#lineup .lineup-band:focus-visible { outline: 3px solid var(--text); outline-offset: -12px; }
#lineup .lineup-band:focus:not(:focus-visible) { outline: none; }

/* ---------- Stack: tablet two-column cards ---------- */
@media (min-width: 700px) {
  #lineup .lineup-intro { margin-bottom: 64px; }
  #lineup .lineup-char { right: 2%; font-size: clamp(9rem, 30vw, 17rem); }
  #lineup .band-list { gap: 26px; }
  #lineup .lineup-band { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "num print" "logo print" "cap print"; column-gap: 6%; row-gap: 26px; padding: 56px 5% 58px; }
  #lineup .lineup-band--tarana { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "print num" "print logo" "print cap"; }
  #lineup .lineup-band--e-swara { grid-template-columns: minmax(0, 1fr); grid-template-areas: "num" "logo" "cap"; }
  #lineup .band-layer--print { justify-self: center; }
  #lineup .band-number { font-size: clamp(6rem, 15vw, 10rem); }
  #lineup .band-mark { top: 52px; right: 4%; }
  #lineup .has-photo .band-mark { display: none; }
  #lineup .lineup-band--tarana .band-number, #lineup .lineup-band--tarana .band-caption { justify-self: end; }
}
@media (max-width: 600px) {
  #lineup { padding: 80px 6% 76px; }
  #lineup .band-list { gap: 18px; }
  #lineup .lineup-band { gap: 24px; padding: 34px 6% 38px; }
  #lineup .band-mark { top: 34px; font-size: 26px; }
  #lineup .lineup-band--kutcheri { --logo-max: 220px; }
  #lineup .lineup-print::after, #lineup .print-tape { width: 64px; height: 20px; }
}
@media (max-width: 360px) {
  #lineup .lineup-title { font-size: 3.9rem; }
  #lineup .band-number { font-size: 5rem; }
  #lineup .band-name { font-size: 1.35rem; }
  #lineup .lineup-print::after { left: 6px; }
}

/* ---------- Stack: scroll reveals (motion allowed only) ---------- */
:root[data-motion="full"] #lineup.is-stack .print-burn { display: block; }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro:not(.is-in) .lineup-title { clip-path: inset(-10% 100% -10% -2%); }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro:not(.is-in) .lineup-kicker { opacity: 0; translate: -30px 0; }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro:not(.is-in) .lineup-note { opacity: 0; translate: 0 16px; }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro:not(.is-in) .lineup-char { opacity: 0; translate: 0 18%; }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro .lineup-title { clip-path: inset(-10% -10% -10% -2%); transition: clip-path 1.1s var(--ease-out) .1s; }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro .lineup-kicker { transition: opacity .7s ease, translate .9s var(--ease-out); }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro .lineup-note { transition: opacity .8s ease .45s, translate .9s var(--ease-out) .45s; }
:root[data-motion="full"] #lineup:is(.is-stack, .is-film) .lineup-intro .lineup-char { transition: opacity 1.4s ease .2s, translate 1.6s var(--ease-out) .2s; }

:root[data-motion="full"] #lineup.is-stack .lineup-band .band-number { transition: opacity .8s ease, translate 1.1s var(--ease-out); }
:root[data-motion="full"] #lineup.is-stack .lineup-band:not(.is-in) .band-number { opacity: 0; translate: -56px 0; }
:root[data-motion="full"] #lineup.is-stack .lineup-band:not(.is-in) .lineup-logo { opacity: 0; }
:root[data-motion="full"] #lineup.is-stack .lineup-band.is-in .lineup-logo { animation: lineupStamp .8s var(--ease-spring) .18s both; }
:root[data-motion="full"] #lineup.is-stack .lineup-band.is-in .band-number-latin::after { animation: lineupIgnite 1.9s ease-out .1s both; }
:root[data-motion="full"] #lineup.is-stack .lineup-band .lineup-print { transition: clip-path 1s var(--ease-out) .28s, rotate .7s var(--ease-spring), translate .7s var(--ease-spring); }
:root[data-motion="full"] #lineup.is-stack .lineup-band:not(.is-in) .lineup-print { clip-path: inset(0 100% 0 0); }
:root[data-motion="full"] #lineup.is-stack .lineup-band.is-in .lineup-print { clip-path: inset(-40px -40px -60px -40px); }
:root[data-motion="full"] #lineup.is-stack .lineup-band.is-in .print-burn { transform: translate3d(100%, 0, 0); transition: transform 1.7s cubic-bezier(.45, .05, .3, 1) .5s; }
:root[data-motion="full"] #lineup.is-stack .lineup-band .band-caption { transition: opacity .7s ease .55s, translate .9s var(--ease-out) .55s; }
:root[data-motion="full"] #lineup.is-stack .lineup-band:not(.is-in) .band-caption { opacity: 0; translate: 0 14px; }
:root[data-motion="full"] #lineup.is-stack .lineup-band .band-layer--ring { transition: opacity 1.4s ease, scale 1.6s var(--ease-out); }
:root[data-motion="full"] #lineup.is-stack .lineup-band:not(.is-in) .band-layer--ring { opacity: 0; scale: .82; }
:root[data-motion="full"] #lineup.is-stack .lineup-band:not(.is-in) .band-mark { opacity: 0; rotate: -120deg; scale: .4; }
:root[data-motion="full"] #lineup.is-stack .lineup-band.is-in .band-mark { transition: opacity .6s ease .6s, rotate .9s var(--ease-spring) .6s, scale .9s var(--ease-spring) .6s; }

/* Slow ambient motion (ring, smoke) only while the section is on screen. */
:root[data-motion="full"] #lineup .band-ring { animation: lineupSpin 90s linear infinite; }
:root[data-motion="full"] #lineup .band-smoke { animation: lineupSmoke 11s ease-in-out infinite alternate; }
#lineup:not(.is-visible) .band-ring, #lineup:not(.is-visible) .band-smoke, #lineup:not(.is-visible) .lineup-cue i::after { animation-play-state: paused; }

/* ==========================================================================
   Film strip (desktop)
   ========================================================================== */
#lineup.is-film { padding: 0; background: var(--background); }
/* The stage pins to the top of the viewport and starts its frames below the header's height, so the
   header (which hides on scroll down) only ever overlaps the empty film gate, never panel content.
   Container units (cqw/cqh) resolve against the content box, i.e. the visible strip. */
#lineup.is-film .lineup-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-top: var(--header-h);
  overflow: clip;
  container-type: size;
  background: radial-gradient(90% 70% at 50% 118%, rgba(155, 42, 28, .2), transparent 66%), #0b0806;
}
#lineup.is-film .lineup-film {
  --safe-top: max(48px, 7.5cqh);
  --safe-bottom: max(100px, 13cqh);
  --num: min(38cqh, 24cqw);
  position: relative;
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}
/* Sprocket rows run along the whole strip and travel with it. */
#lineup.is-film .lineup-film::before,
#lineup.is-film .lineup-film::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 6;
  height: 26px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='26'%3E%3Crect x='10' y='8' width='14' height='10' rx='2.5' fill='%23ead7b1' fill-opacity='.17'/%3E%3C/svg%3E") 0 50% / 34px 26px repeat-x, #0b0806;
}
#lineup.is-film .lineup-film::before { top: 0; box-shadow: 0 1px 0 var(--line); }
#lineup.is-film .lineup-film::after { bottom: 0; box-shadow: 0 -1px 0 var(--line); }

/* Intro frame */
#lineup.is-film .lineup-intro {
  flex: 0 0 56cqw;
  height: 100%;
  margin: 0;
  padding: var(--safe-top) 4cqw var(--safe-bottom) 7cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2.6cqh;
}
#lineup.is-film .lineup-intro::before { content: ""; position: absolute; left: -10%; bottom: -20%; width: 90%; height: 75%; pointer-events: none; background: radial-gradient(closest-side, rgba(155, 42, 28, .32), rgba(101, 28, 24, .12) 55%, transparent); }
#lineup.is-film .lineup-kicker { font-size: .8125rem; }
#lineup.is-film .lineup-kicker-deva { font-size: 1.6rem; }
#lineup.is-film .lineup-title { font-size: min(31cqh, 15.5cqw); line-height: .86; }
#lineup.is-film .lineup-note { max-width: 40ch; font-size: .8125rem; }
#lineup.is-film .lineup-char { right: -2cqw; top: auto; bottom: 4cqh; font-size: min(74cqh, 44cqw); line-height: .9; -webkit-text-stroke: 1.5px rgba(255, 106, 31, .3); will-change: transform; }
#lineup.is-film .lineup-cue { position: absolute; left: 7cqw; bottom: calc(var(--safe-bottom) - 40px); z-index: 1; display: flex; align-items: center; gap: 16px; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
#lineup.is-film .lineup-cue i { position: relative; width: 74px; height: 1px; background: var(--line); overflow: hidden; }
#lineup.is-film .lineup-cue i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 26px; background: linear-gradient(90deg, transparent, var(--ember)); animation: lineupCue 1.8s var(--ease-out) infinite; }

/* Band frames */
#lineup.is-film .band-list { display: flex; gap: 2cqw; margin-left: 2cqw; height: 100%; }
#lineup.is-film .lineup-band {
  flex: 0 0 86cqw;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  overflow: clip;
  box-shadow: inset 0 0 0 1px var(--line);
  background:
    radial-gradient(120% 95% at 50% 45%, transparent 52%, rgba(0, 0, 0, .55) 100%),
    radial-gradient(60% 45% at 22% 100%, rgba(101, 28, 24, .42), transparent 70%),
    radial-gradient(50% 40% at 85% 0, rgba(155, 42, 28, .16), transparent 70%),
    var(--soot);
}
#lineup.is-film .lineup-band > * { position: absolute; }
#lineup.is-film .band-heat { display: block; inset: auto 0 0; z-index: 0; height: 70%; opacity: 0; pointer-events: none; background: radial-gradient(55% 75% at 50% 100%, rgba(255, 106, 31, .3), rgba(155, 42, 28, .12) 45%, transparent 72%); }
#lineup.is-film .band-edge { display: block; top: 31px; left: 2.2%; z-index: 4; font-size: .625rem; letter-spacing: .24em; color: rgba(200, 144, 79, .55); white-space: nowrap; }
#lineup.is-film .band-mark { display: block; top: var(--safe-top); right: 3%; font-size: 34px; }
#lineup.is-film .band-number { z-index: 1; top: var(--safe-top); left: 5%; font-size: var(--num); will-change: transform; }
#lineup.is-film .band-layer--logo,
#lineup.is-film .band-layer--print,
#lineup.is-film .band-layer--ring { will-change: transform; }
#lineup.is-film .band-layer--logo { z-index: 3; }
#lineup.is-film .band-layer--print { z-index: 2; width: max-content; }
#lineup.is-film .lineup-print { width: auto; max-width: none; }
#lineup.is-film .print-photo { width: calc(var(--ph) * var(--ar)); height: var(--ph); aspect-ratio: auto; }
#lineup.is-film .print-burn { display: block; will-change: transform; }
#lineup.is-film .band-caption { z-index: 4; left: 5%; bottom: var(--safe-bottom); gap: 8px 18px; }
#lineup.is-film .band-name { font-size: clamp(1.6rem, 4.4cqh, 2.6rem); }

/* 01: E-Swara, built around its logo */
#lineup.is-film .lineup-band--e-swara { --ring: min(80cqh, 58cqw); --lw: min(60cqw, 100cqh); }
#lineup.is-film .lineup-band--e-swara .band-layer--ring { z-index: 1; left: calc(50% - var(--ring) / 2); top: calc(47% - var(--ring) / 2); width: var(--ring); height: var(--ring); }
#lineup.is-film .lineup-band--e-swara .band-layer--logo { left: calc(50% - var(--lw) / 2); top: calc(47% - var(--lw) * .27); width: var(--lw); }
#lineup.is-film .lineup-band--e-swara .lineup-logo { max-width: none; }
#lineup.is-film .band-ring text { font-size: 19px; }

/* 02: Param, portrait print right */
#lineup.is-film .lineup-band--param { --ph: min(68cqh, 44cqw); }
#lineup.is-film .lineup-band--param .band-layer--print { right: 10%; top: calc(47% - var(--ph) / 2); }
#lineup.is-film .lineup-band--param .band-layer--logo { left: 5%; top: 55%; width: min(36cqw, 60cqh); }
#lineup.is-film .lineup-band--param .lineup-logo { max-width: none; }

/* 03: Tarana, landscape print left, numbers right */
#lineup.is-film .lineup-band--tarana { --ph: min(52cqh, 27cqw); }
#lineup.is-film .lineup-band--tarana .band-layer--print { left: 6%; top: calc(47% - var(--ph) / 2); }
#lineup.is-film .lineup-band--tarana .band-number { left: auto; right: 5%; }
#lineup.is-film .lineup-band--tarana .band-mark { right: auto; left: 3%; }
#lineup.is-film .lineup-band--tarana .band-layer--logo { right: 8%; left: auto; top: 49%; width: min(360px, 25cqw, 48cqh); }
#lineup.is-film .lineup-band--tarana .band-caption { left: auto; right: 5%; }

/* 04: Kutcheri, square print right */
#lineup.is-film .lineup-band--kutcheri { --ph: min(56cqh, 33cqw); }
#lineup.is-film .lineup-band--kutcheri .band-layer--print { right: 7%; top: calc(47% - var(--ph) / 2); }
#lineup.is-film .lineup-band--kutcheri .band-layer--logo { left: 6%; top: 46%; width: min(23cqw, 33cqh); }
#lineup.is-film .lineup-band--kutcheri .lineup-logo { max-width: none; }

/* Arrival: logo stamps, numerals ignite, mark turns (js/lineup.mjs toggles .is-lit). */
#lineup.is-film .lineup-band:not(.is-lit) .lineup-logo { opacity: 0; }
#lineup.is-film .lineup-band.is-lit .lineup-logo { animation: lineupStamp .75s var(--ease-spring) both; }
#lineup.is-film .lineup-band.is-lit .band-number-latin::after { animation: lineupIgnite 2s ease-out both; }
#lineup.is-film .band-mark { transition: rotate 1.1s var(--ease-spring); }
#lineup.is-film .lineup-band.is-lit .band-mark { rotate: 180deg; }
#lineup.is-film .lineup-band:focus-visible { outline-offset: -32px; }

/* Tail: a blank end of the reel, so the last band can settle centred */
#lineup.is-film .lineup-tail {
  flex: 0 0 34cqw;
  margin-left: 2cqw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2cqh;
  padding: var(--safe-top) 3cqw var(--safe-bottom);
  background: radial-gradient(70% 60% at 0 50%, rgba(255, 106, 31, .14), transparent 70%), #0b0806;
}

/* Progress: 01 to 04 with an ember riding the film edge */
#lineup.is-film .lineup-progress {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 18px;
  translate: -50% 0;
  font-size: .6875rem;
  letter-spacing: .2em;
  color: var(--muted);
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}
#lineup .lineup-progress-now { display: flex; align-items: baseline; gap: 8px; min-width: 4.4em; justify-content: flex-end; }
#lineup .lineup-progress-now b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: .02em; color: var(--text); }
#lineup .lineup-progress-now i { font-style: normal; font-family: 'Rozha One', serif; font-size: 1rem; letter-spacing: 0; color: var(--ochre); }
#lineup .lineup-progress-track { position: relative; width: min(340px, 26cqw); height: 1px; background: var(--line); }
#lineup .lineup-progress-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--ember)); transform-origin: 0 50%; transform: scaleX(0); }
#lineup .lineup-progress-tick { position: absolute; top: -4px; width: 1px; height: 9px; background: var(--muted); opacity: .6; }
#lineup .lineup-progress-tick:nth-child(2) { left: 0; }
#lineup .lineup-progress-tick:nth-child(3) { left: 33.333%; }
#lineup .lineup-progress-tick:nth-child(4) { left: 66.667%; }
#lineup .lineup-progress-tick:nth-child(5) { left: calc(100% - 1px); }
#lineup .lineup-progress-run { position: absolute; inset: 0; will-change: transform; }
#lineup .lineup-progress-ember { position: absolute; left: -6px; top: -6px; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle, #ffe3a6 0, var(--ember) 42%, rgba(255, 106, 31, 0) 72%); box-shadow: 0 0 16px 4px rgba(255, 106, 31, .45); }

/* ---------- Keyframes ---------- */
@keyframes lineupStamp { 0% { opacity: 0; transform: scale(1.45) rotate(-3deg); } 45% { opacity: 1; } 68% { transform: scale(.97) rotate(.4deg); } 100% { opacity: 1; transform: none; } }
@keyframes lineupIgnite { 0% { opacity: 0; } 12% { opacity: .95; } 45% { opacity: .5; } 100% { opacity: 0; } }
@keyframes lineupSpin { to { transform: rotate(360deg); } }
@keyframes lineupSmoke { 0% { transform: translate3d(-3%, 2%, 0) scale(1); } 100% { transform: translate3d(3%, -3%, 0) scale(1.08); } }
@keyframes lineupCue { 0% { transform: translateX(-30px); } 100% { transform: translateX(80px); } }
