/* ==========================================================
   OFF TASK — VHS stylesheet
   ========================================================== */
:root {
  --bg: #0b0b0a;
  --bg-2: #121311;
  --bg-3: #1a1c19;
  --ink: #ece8d6;          /* crema da sottotitolo */
  --ink-dim: #9b988a;
  --ink-faint: #5d5c55;
  --chick: #e8c95a;        /* giallo pulcino */
  --blood: #b3191c;        /* rosso */
  --cyan: #3fb7c4;         /* ciano VHS */
  --osd: #f2f2f2;
  --accent: var(--chick);
  --line: rgba(236, 232, 214, .12);
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --osd-font: "VT323", "Courier New", monospace;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- overlay VHS globali ---------- */
.vhs-noise {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 90; opacity: .07; mix-blend-mode: screen;
}
.vhs-scan {
  position: fixed; inset: 0; pointer-events: none; z-index: 91;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.28) 2px 3px);
}
.vhs-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 92;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.65) 100%);
}
.vhs-tracking {
  position: fixed; left: 0; right: 0; height: 9vh; top: -12vh; z-index: 93; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.07) 40%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.05) 60%, transparent);
  filter: blur(1px); mix-blend-mode: screen;
}
.vhs-tracking.run { animation: tracking 1.1s linear; }
@keyframes tracking { from { top: -12vh; } to { top: 110vh; } }

body.glitch main, body.glitch .site-head { animation: jolt .22s steps(2) 1; }
@keyframes jolt {
  0%   { transform: translate(0,0); filter: none; }
  33%  { transform: translate(-6px, 2px) skewX(-2deg); filter: hue-rotate(20deg) saturate(1.4); }
  66%  { transform: translate(5px, -1px); filter: contrast(1.3); }
  100% { transform: none; filter: none; }
}

/* ---------- OSD (on-screen display) ---------- */
.osd {
  position: fixed; z-index: 95; pointer-events: none;
  font-family: var(--osd-font); color: var(--osd); font-size: 30px; line-height: 1;
  text-shadow: 2px 0 0 rgba(179,25,28,.7), -2px 0 0 rgba(63,183,196,.7), 0 0 8px rgba(255,255,255,.35);
  letter-spacing: .04em; text-transform: uppercase;
}
.osd-tl { top: 18px; left: 24px; }
.osd-tr { top: 18px; right: 24px; text-align: right; }
.osd-bl { bottom: 18px; left: 24px; font-size: 24px; }
.osd-br { bottom: 18px; right: 24px; font-size: 24px; text-align: right; }
.osd .rec { color: var(--blood); animation: blink 1s steps(1) infinite; }
.osd .tri { display: inline-block; transform: scaleX(.9); }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 700px) {
  .osd { font-size: 22px; } .osd-bl, .osd-br { font-size: 18px; }
  .osd-br { display: none; }
}

/* ---------- intro "inserimento nastro" ---------- */
.boot {
  position: fixed; inset: 0; z-index: 200; background: #1d2fa5;
  display: grid; place-items: center; font-family: var(--osd-font); color: #fff;
  text-shadow: 2px 0 rgba(255,0,0,.5), -2px 0 rgba(0,255,255,.5);
}
.boot .boot-txt { font-size: clamp(34px, 6vw, 72px); letter-spacing: .08em; }
.boot .boot-sub { font-size: clamp(18px, 2.4vw, 28px); opacity: .85; text-align: center; margin-top: .4em; }
.boot.out { animation: bootout .55s steps(6) forwards; }
@keyframes bootout {
  0%   { clip-path: inset(0 0 0 0); filter: none; }
  40%  { clip-path: inset(38% 0 40% 0); filter: brightness(3); background: #fff; }
  100% { clip-path: inset(50% 0 50% 0); opacity: 0; }
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(11,11,10,.95), rgba(11,11,10,.6) 70%, transparent);
  backdrop-filter: blur(2px);
  padding-top: 62px;
}
.logo {
  font-family: var(--osd-font); font-size: 34px; letter-spacing: .14em; text-decoration: none; color: var(--ink);
  position: relative;
}
.logo:hover { animation: rgbshake .3s steps(3) infinite; }
.site-nav { display: flex; gap: clamp(10px, 2.4vw, 28px); flex-wrap: wrap; }
.site-nav a {
  font-family: var(--osd-font); font-size: 22px; letter-spacing: .1em; text-decoration: none; color: var(--ink-dim);
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); outline: none; }
.site-nav a:hover::before { content: "▶ "; }

/* ---------- layout ---------- */
main { position: relative; z-index: 1; }
.wrap { width: min(var(--maxw), 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
section { padding-block: clamp(56px, 9vw, 120px); }
.label {
  font-family: var(--osd-font); font-size: 22px; letter-spacing: .18em; color: var(--accent);
  text-transform: uppercase; margin: 0 0 18px;
}
.label::before { content: "■ "; color: var(--blood); }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -.01em; text-transform: lowercase; }
.muted { color: var(--ink-dim); }

.rgb { position: relative; }
.rgb:hover, .rgb.on { animation: rgbshake .35s steps(3) infinite; }
@keyframes rgbshake {
  0%   { text-shadow: 2px 0 var(--blood), -2px 0 var(--cyan); }
  50%  { text-shadow: -3px 1px var(--blood), 3px -1px var(--cyan); }
  100% { text-shadow: 1px 0 var(--blood), -1px 0 var(--cyan); }
}

/* ---------- HERO canzone ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px); padding: 0; margin-top: -120px;
  display: grid; align-items: end; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg video, .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.55) contrast(1.08) brightness(.72) sepia(.15);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(11,11,10,.55) 38%, rgba(11,11,10,.15) 70%, rgba(11,11,10,.65)),
    linear-gradient(to right, rgba(11,11,10,.65), transparent 60%);
}
.hero-inner { padding-bottom: clamp(48px, 8vw, 100px); }
.tape-tag {
  display: inline-flex; gap: 12px; align-items: center;
  font-family: var(--osd-font); font-size: 22px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 4px 12px; background: rgba(0,0,0,.35); margin-bottom: 22px;
}
.tape-tag b { color: var(--accent); font-weight: 400; }
.title-loop { width: min(980px, 100%); mix-blend-mode: screen; margin-left: -1.5%; }
.hero h1.sr-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.typed {
  font-size: clamp(17px, 2vw, 22px); color: var(--ink); min-height: 1.6em; margin: 14px 0 32px;
  text-shadow: 0 0 10px rgba(0,0,0,.9);
}
.typed .caret { display: inline-block; width: .6em; background: var(--ink); animation: blink .8s steps(1) infinite; margin-left: 2px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  --c: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--osd-font); font-size: 24px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 20px 7px; border: 2px solid var(--c); color: var(--c); background: rgba(0,0,0,.35);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover, .btn:focus-visible { background: var(--c); color: var(--bg); outline: none; }
.btn.solid { background: var(--c); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--c); }
.btn.accent { --c: var(--accent); }
.btn.blood { --c: #e0393c; }
.btn.cyan { --c: var(--cyan); }
.price-tag.hires { background: var(--cyan); color: #06181b; transform: rotate(3deg); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- PLAYER ---------- */
.player-sec { padding-top: 40px; }
.player-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .player-grid { grid-template-columns: 1fr; } }

.tv {
  position: relative; background: #050505; border: 1px solid var(--line);
  padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.03);
}
.tv-screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.tv-screen iframe, .tv-screen video, .tv-screen > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-screen::after { /* curvatura/scanline sopra al video, non blocca i click */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.18) 2px 3px),
    radial-gradient(ellipse at center, transparent 62%, rgba(0,0,0,.55) 100%);
}
.tv-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--osd-font); font-size: 22px; letter-spacing: .08em; color: var(--ink-dim);
  padding: 12px 4px 0; text-transform: uppercase;
}
.tv-bar .state { color: var(--osd); }
.tv-bar .state.playing { color: var(--accent); }
.tv-progress { height: 4px; background: var(--bg-3); margin: 10px 4px 0; position: relative; cursor: pointer; }
.tv-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.no-signal {
  display: grid; place-items: center; text-align: center; background: #1d2fa5;
  font-family: var(--osd-font); color: #fff; font-size: clamp(26px, 4vw, 48px); letter-spacing: .1em;
  text-shadow: 2px 0 rgba(255,0,0,.5), -2px 0 rgba(0,255,255,.5);
}
.no-signal small { display: block; font-size: .5em; opacity: .8; margin-top: .4em; }

/* sottotitolo live sotto lo schermo */
.live-sub {
  min-height: 3.6em; margin-top: 18px; text-align: center; font-size: clamp(18px, 2.3vw, 26px);
  color: var(--ink-faint); text-transform: lowercase;
}
.live-sub .w { transition: color .12s, text-shadow .12s; }
.live-sub .w.on { color: var(--ink); text-shadow: 0 0 12px rgba(236,232,214,.45); }
.live-sub .w.now { color: var(--accent); }

/* colonna testo sincronizzato */
.lyrics-col {
  border: 1px solid var(--line); background: var(--bg-2);
  height: min(70vh, 640px); display: flex; flex-direction: column;
}
.lyrics-head {
  display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--osd-font); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim);
}
.lyrics-list { list-style: none; margin: 0; padding: 18px 16px 260px; overflow-y: auto; scroll-behavior: smooth; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--ink-faint) transparent; }
.lyrics-list li {
  padding: 4px 8px; color: var(--ink-faint); cursor: pointer; font-size: 15px; text-transform: lowercase;
  border-left: 2px solid transparent; transition: color .2s, border-color .2s, background .2s;
}
.lyrics-list li:hover { color: var(--ink-dim); }
.lyrics-list li.past { color: var(--ink-dim); }
.lyrics-list li.cur { color: var(--ink); border-left-color: var(--accent); background: rgba(232,201,90,.06); }
.lyrics-list li.gap { height: 14px; padding: 0; pointer-events: none; }
.lyrics-list li .t { font-family: var(--osd-font); font-size: 16px; color: var(--ink-faint); margin-right: 10px; }

/* ---------- SUPPORTO: bandcamp + patreon ---------- */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.card {
  position: relative; border: 1px solid var(--line); background: var(--bg-2); padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}
.card h3 { font-size: clamp(24px, 2.6vw, 32px); text-transform: lowercase; margin-bottom: 10px; }
.card p { color: var(--ink-dim); margin: 0 0 20px; }
.card .soon {
  position: absolute; top: 18px; right: -42px; transform: rotate(35deg);
  background: var(--blood); color: var(--ink); font-family: var(--osd-font); font-size: 18px; letter-spacing: .12em;
  padding: 2px 50px;
}
.bc-embed { width: 100%; border: 0; height: 120px; margin-bottom: 18px; background: #000; }
.bc-embed.large { height: 472px; }

/* cartellino prezzo — rimando al cartellone del video */
.price-tag {
  display: inline-grid; place-items: center; background: var(--chick); color: #1b1608;
  font-family: var(--mono); font-weight: 700; padding: 10px 18px 8px; transform: rotate(-4deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,.6); margin-bottom: 18px; line-height: 1;
}
.price-tag small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.price-tag b { font-size: 34px; }

.tiers { display: grid; gap: 12px; margin-bottom: 22px; }
.tier {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline;
  border: 1px dashed var(--line); padding: 12px 14px; transition: border-color .2s, background .2s;
}
.tier:hover { border-color: #e0393c; background: rgba(179,25,28,.06); }
.tier .tn { font-family: var(--osd-font); font-size: 24px; letter-spacing: .08em; text-transform: uppercase; }
.tier .tp { justify-self: end; font-family: var(--osd-font); font-size: 24px; color: #e0393c; }
.tier ul { grid-column: 1 / -1; margin: 0; padding-left: 18px; color: var(--ink-dim); font-size: 14px; }

/* ---------- TAPE NAV / FOOTER ---------- */
.tape-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  border-block: 1px solid var(--line); padding: 22px 0;
}
.tape-nav a, .tape-nav span { font-family: var(--osd-font); font-size: 24px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.tape-nav .prev { justify-self: start; } .tape-nav .next { justify-self: end; }
.tape-nav .off { color: var(--ink-faint); }
.tape-nav a:hover { color: var(--accent); }

footer.site-foot {
  padding: 40px 0 80px; color: var(--ink-faint); font-size: 14px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
footer.site-foot a { color: var(--ink-dim); text-decoration: none; margin-right: 16px; }
footer.site-foot a:hover { color: var(--accent); }

/* ---------- HOME: videoteca ---------- */
.home-hero { min-height: 70vh; display: grid; align-items: center; padding-top: 40px; }
.big-logo {
  font-family: var(--osd-font); font-size: clamp(80px, 17vw, 240px); line-height: .85; letter-spacing: .06em;
  margin: 0; color: var(--ink);
  text-shadow: 4px 0 rgba(179,25,28,.75), -4px 0 rgba(63,183,196,.75);
  animation: logoflick 6s infinite;
}
@keyframes logoflick {
  0%, 92%, 100% { opacity: 1; transform: none; }
  93% { opacity: .6; transform: translateX(-6px) skewX(-4deg); }
  95% { opacity: 1; transform: translateX(4px); }
  97% { opacity: .8; }
}
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.tape {
  --a: var(--chick);
  position: relative; display: block; text-decoration: none; color: var(--ink);
  background: #151614; border: 1px solid var(--line); padding: 14px; transition: transform .25s, border-color .25s;
}
.tape:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--a); }
.tape-cover { position: relative; aspect-ratio: 960 / 430; overflow: hidden; background: #000; }
.tape-cover img, .tape-cover video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.8); transition: filter .3s; }
.tape:hover .tape-cover img, .tape:hover .tape-cover video { filter: saturate(1) brightness(1); }
.tape-label {
  margin-top: 12px; background: var(--ink); color: #161512; padding: 8px 12px; font-size: 14px; line-height: 1.3;
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
}
.tape-label .n { font-family: var(--osd-font); font-size: 34px; color: var(--blood); line-height: 1; }
.tape-label .tt { font-weight: 700; text-transform: lowercase; }
.tape-label .yy { font-size: 12px; opacity: .7; }
.tape-reels { display: flex; justify-content: center; gap: 46px; margin-top: 12px; }
.tape-reels i {
  width: 34px; height: 34px; border-radius: 50%; border: 6px dotted #3a3b37; background: #0a0a09;
}
.tape:hover .tape-reels i { animation: spin 1.2s linear infinite; border-color: var(--a); }
@keyframes spin { to { transform: rotate(360deg); } }
.tape.empty { opacity: .45; pointer-events: none; }
.tape.empty .tape-cover { display: grid; place-items: center; font-family: var(--osd-font); font-size: 26px; color: var(--ink-faint); letter-spacing: .12em; }

/* ---------- cursore pulcino ---------- */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], .lyrics-list li, .tv-progress { cursor: none; }
  .chick-cursor {
    position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
    width: 14px; height: 14px; border-radius: 50%; background: var(--chick);
    transform: translate(-50%, -50%); mix-blend-mode: difference; transition: width .15s, height .15s;
    box-shadow: 0 0 12px rgba(232,201,90,.6);
  }
  .chick-cursor.big { width: 42px; height: 42px; }
}

/* ---------- J-CARD: liner notes (cartoncino della cassetta) ---------- */
.jcard-sec { padding-bottom: clamp(24px, 4vw, 48px); }
.jcard-title { margin-bottom: 10px; }
.jcard-intro { margin: 0 0 34px; font-size: 15px; }
.jcard {
  --paper: #e9e2cc; --ink-p: #1d1b16; --pen: #2b47a8; --red: #b3191c;
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr);
  max-width: 820px; margin-inline: auto; color: var(--ink-p);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.35), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(120,95,40,.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px),
    var(--paper);
  box-shadow: 0 40px 90px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.4);
  transform: rotate(-.4deg);
}
.jcard::selection, .jcard *::selection { background: var(--ink-p); color: var(--paper); }
/* costina: la parte che si legge dal lato della custodia */
.jcard-spine {
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; justify-content: space-between; align-items: center; padding: 22px 0;
  background: var(--ink-p); color: var(--paper);
  font-family: var(--osd-font); font-size: 26px; letter-spacing: .2em;
  box-shadow: inset -6px 0 10px rgba(0,0,0,.35);
}
.jcard-spine b { font-weight: 400; color: var(--chick); }
.jcard-body {
  position: relative; padding: clamp(26px, 5vw, 64px) clamp(22px, 6vw, 76px) clamp(30px, 5vw, 56px);
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.7;
  border-left: 1px dashed rgba(0,0,0,.25); /* piega */
}
.jcard-form {
  display: flex; flex-wrap: wrap; gap: 6px 26px; padding-bottom: 14px; margin-bottom: 34px;
  border-bottom: 2px solid var(--ink-p);
  font-family: var(--osd-font); font-size: 18px; letter-spacing: .14em; color: rgba(29,27,22,.7);
}
.jcard-form i {
  font-family: "Reenie Beanie", cursive; font-style: normal; font-size: 27px; letter-spacing: 0;
  color: var(--pen); margin-left: 6px; display: inline-block; transform: rotate(-2deg);
}
.jcard-body p { margin: 0 0 1.25em; }
.jc-part {
  font-family: var(--mono); font-size: clamp(24px, 3vw, 34px); text-transform: none;
  margin: 1.6em 0 .9em; letter-spacing: -.01em;
}
.jc-part:first-of-type { margin-top: 0; }
.jc-part .cnt {
  font-family: var(--osd-font); font-weight: 400; font-size: .7em; letter-spacing: .1em;
  background: var(--ink-p); color: var(--paper); padding: 0 8px; margin-right: 10px; vertical-align: .12em;
}
.jc-aside { padding-left: 1.4em; font-style: italic; color: rgba(29,27,22,.75); }
.muted-ink { color: rgba(29,27,22,.6); }

/* penna rossa che cancella, penna blu che aggiunge */
.strike { position: relative; }
.strike::after {
  content: ""; position: absolute; left: -2px; right: -4px; top: 55%; height: 2px;
  background: var(--red); transform: scaleX(0) rotate(-1deg); transform-origin: left;
  transition: transform .5s cubic-bezier(.6,0,.3,1);
}
.jc-list.in .strike::after { transform: scaleX(1) rotate(-1deg); }
.jc-list.in .strike:nth-child(3)::after { transition-delay: .35s; }
.jc-list.in .strike:nth-child(5)::after { transition-delay: .7s; }
.pen {
  font-family: "Reenie Beanie", cursive; font-size: 1.55em; color: var(--pen);
  display: inline-block; transform: rotate(-2.5deg); line-height: 1.1; margin-top: 4px;
  opacity: 0; transition: opacity .6s 1.15s;
}
.jc-list.in .pen { opacity: 1; }

/* half of half of half: ogni metà più piccola */
.half { font-weight: 700; }
.half span { font-size: .78em; opacity: .85; }

/* evidenziatore e tramonto */
.hl {
  background: linear-gradient(transparent 55%, rgba(232,201,90,.75) 55%, rgba(232,201,90,.75) 90%, transparent 90%) no-repeat;
  background-size: 0% 100%; transition: background-size .9s .25s ease-out;
}
.in .hl { background-size: 100% 100%; }
.sunset {
  font-weight: 700;
  background: linear-gradient(90deg, #7a1013, #c8401e 45%, #d98a2b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* finale */
.jc-end { text-align: center; margin: 2.6em 0 1.6em; overflow: clip; overflow-clip-margin: 24px; padding: 18px 0; }
.jc-being { display: block; font-size: 1.15em; font-style: italic; }
.jc-stamp {
  display: inline-block; margin-top: 14px; padding: 6px 20px 2px;
  font-family: var(--osd-font); font-size: clamp(56px, 9vw, 104px); line-height: 1; letter-spacing: .08em;
  color: var(--red); border: 5px solid var(--red); transform: rotate(-6deg) scale(1.6); opacity: 0;
  mix-blend-mode: multiply;
  transition: transform .28s cubic-bezier(.2,1.6,.4,1) .5s, opacity .1s .5s;
}
.jc-end.in .jc-stamp { transform: rotate(-6deg) scale(1); opacity: .92; }
.jc-ff {
  display: block; width: max-content; margin: 26px auto 0;
  font-family: var(--osd-font); font-size: 24px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-p); text-decoration: none; border-bottom: 2px solid var(--ink-p);
}
.jc-ff:hover { color: var(--red); border-color: var(--red); }

/* comparsa strofa per strofa (solo se il JS è attivo) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(14px); filter: blur(3px); transition: opacity .7s, transform .7s, filter .7s; }
.reveal-on [data-reveal].in { opacity: 1; transform: none; filter: none; }

@media (max-width: 640px) {
  .jcard { grid-template-columns: 1fr; transform: none; }
  .jcard-spine { writing-mode: horizontal-tb; transform: none; padding: 10px 18px; font-size: 18px; }
  .jcard-body { border-left: 0; border-top: 1px dashed rgba(0,0,0,.25); }
}

/* ---------- MOBILE ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  /* header: logo su una riga, menu in una fila che scorre di lato */
  .site-head { position: relative; flex-direction: column; align-items: flex-start; gap: 6px; padding: 48px 16px 10px; background: none; backdrop-filter: none; }
  .logo { font-size: 30px; white-space: nowrap; }
  .site-nav { flex-wrap: nowrap; gap: 18px; overflow-x: auto; max-width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: 20px; white-space: nowrap; }
  .site-nav a:hover::before { content: none; }
  .osd-tl, .osd-tr { top: 12px; font-size: 20px; }
  .osd-tl { left: 16px; } .osd-tr { right: 16px; }
  .osd-bl { bottom: 12px; left: 16px; font-size: 16px; }

  section { padding-block: 52px; }
  .label { font-size: 19px; }
  h2 { font-size: 27px; }

  /* hero canzone */
  .hero { min-height: 88svh; margin-top: -150px; }
  .hero-inner { padding-bottom: 40px; }
  .tape-tag { font-size: 18px; margin-bottom: 14px; }
  .title-loop { width: 112%; margin-left: -3%; }
  .typed { font-size: 16px; margin: 8px 0 24px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .card .btn { justify-content: center; }
  .card .btn { display: flex; width: 100%; }
  .btn { font-size: 21px; padding: 10px 16px 9px; }

  /* J-card */
  .jcard-intro { margin-bottom: 22px; }
  .jcard-body { padding: 22px 18px 30px; font-size: 15.5px; line-height: 1.65; }
  .jcard-form { gap: 2px 16px; font-size: 15px; margin-bottom: 26px; }
  .jcard-form i { font-size: 22px; }
  .jc-part { font-size: 22px; }
  .jc-aside { padding-left: .8em; }
  .jcard-body br + .half, .half { white-space: nowrap; }
  .jc-stamp { font-size: 54px; border-width: 4px; padding: 4px 12px 0; }
  .reveal-on .jc-stamp { transform: rotate(-6deg) scale(1.25); }

  /* player + testo */
  .player-sec { padding-top: 24px; }
  .tv { padding: 8px; }
  .tv-bar { font-size: 17px; gap: 8px; }
  #tv-src { display: none; }
  .live-sub { font-size: 18px; min-height: 3.2em; margin-top: 12px; }
  .lyrics-col { height: 46svh; }
  .lyrics-list { padding-bottom: 160px; }
  .lyrics-list li { font-size: 15px; padding: 5px 6px; }

  /* supporto */
  .card { padding: 22px 18px; }
  .card h3 { font-size: 23px; }
  .bc-embed { height: 120px; }

  /* navigazione cassette e footer */
  .tape-nav { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .tape-nav a, .tape-nav span { font-size: 17px; white-space: nowrap; }
  .tape-nav > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  footer.site-foot { padding: 28px 0 64px; flex-direction: column; font-size: 13px; }

  /* home */
  .home-hero { min-height: 72svh; }
  .big-logo { font-size: 30vw; }
  .shelf { grid-template-columns: 1fr; }
}

/* ---------- riduzione movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .vhs-noise, .vhs-tracking { display: none; }
}
