/* Mayhem Music Video — foglio di stile del sito
   Direzione scelta: H (capitoli di A + titoli di testa di D), aspetto "Titoli di coda", nastro rosso sotto la prima immagine.
   Nero pieno, bianco caldo, il rosso del logo come accento. Archivo largo per i titoli, IBM Plex Mono per etichette e crediti.
   I caratteri sono serviti dal sito (nessuna chiamata a Google). */

/* ───────── caratteri ───────── */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plexmono-400-latin.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/plexmono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plexmono-500-latin.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/plexmono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-snap-type: y proximity; }
body { margin: 0; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; font: 600 14px/1 system-ui, sans-serif; text-decoration: none; }
.skip-link:focus { top: 12px; }

:root {
  --bg: #050505;
  --bg-2: #111111;
  --ink: #F2EFE8;
  --mute: #9C978F;
  --rule: rgba(242, 239, 232, .16);
  --red: #F90700;        /* superficie e grafica (su nero 4.75:1) */
  --red-text: #FF4A3D;   /* testo rosso piccolo su nero (6:1) */
  --f-title: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --m: clamp(16px, 3vw, 44px);
  --bar: 64px;
  --strip: 34px;
  --ease: cubic-bezier(.2, 0, 0, 1);
}
body { background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-title); }
::selection { background: var(--red); color: #000; }
img:not([src*="/logo/"]) { filter: saturate(.85) contrast(1.06); }

.mono { font: 500 11.5px/1.45 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.mute { color: var(--mute); }
.wide { font-family: var(--f-title); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .9; }

/* dati mancanti: parentesi quadre su nastro giallo, finché non arrivano */
.ph { font-family: var(--f-mono); font-size: .86em; letter-spacing: 0; text-transform: none; padding: 0 .3em; border-radius: 2px; outline: 1px dashed rgba(242, 239, 232, .55); outline-offset: 1px; background: repeating-linear-gradient(-45deg, rgba(255, 196, 0, .22) 0 5px, transparent 5px 10px); white-space: nowrap; }
.ph-media { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; color: #c9c4b8; background: repeating-linear-gradient(-45deg, rgba(255, 196, 0, .10) 0 14px, transparent 14px 28px), #1a1a1a; font: 500 11px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 12px; }

/* grana: resta dentro il riquadro; ferma con movimento ridotto */
.grain { position: relative; isolation: isolate; overflow: hidden; --grain: .18; }
.grain::after { content: ""; position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: var(--grain); mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain-shift .9s steps(6) infinite; }
@keyframes grain-shift { 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); } }
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.rm .grain::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html:not(.motion-on) .grain::after, html:not(.motion-on) .marquee__track { animation: none; } }

/* player YouTube: nulla si carica finché non si preme play */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt > img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; font: 600 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 55%); }
.yt__play::before { content: ""; width: 74px; height: 74px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat; transition: transform .25s var(--ease), background-color .25s; }
.yt__play:hover::before { transform: scale(1.06); background-color: rgba(0, 0, 0, .55); }
.yt__note { position: absolute; left: 12px; bottom: 10px; color: rgba(255, 255, 255, .72); font: 400 11px/1.3 var(--f-mono); letter-spacing: .04em; pointer-events: none; }

/* ───────── pulsanti e barra ───────── */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid rgba(242, 239, 232, .55); border-radius: 999px; color: var(--ink); background: transparent; text-decoration: none; white-space: nowrap; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover { background: var(--ink); color: #000; border-color: var(--ink); }
.pill--solid { background: var(--ink); color: #000; border-color: var(--ink); }
.pill--solid:hover { background: transparent; color: var(--ink); }
.pill--red { border-color: var(--red); }
.pill--red:hover, .pill--red.is-solid { background: var(--red); border-color: var(--red); color: #000; }

.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar); display: flex; align-items: center; gap: 24px; padding: 0 var(--m); background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); transition: background-color .3s; }
.bar.is-solid { background: rgba(5, 5, 5, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bar__logo img { width: 116px; height: auto; }
.bar__nav { margin-left: auto; display: flex; gap: 26px; }
.bar__nav a { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .8; }
.bar__nav a:hover { opacity: 1; }
.lang { display: flex; gap: 2px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; }
.lang a { padding: 6px 5px; text-decoration: none; color: var(--mute); }
.lang a[aria-current="true"] { color: var(--ink); }
.lang a:hover { color: var(--ink); }

/* ───────── nastro rosso ───────── */
.marquee { position: relative; z-index: 3; height: var(--strip); overflow: hidden; background: var(--red); color: #000; display: flex; align-items: center; }
.marquee__track { display: flex; flex: none; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
html.rm .marquee__track { animation: none; }
.marquee__track span { font: 800 13px/1 var(--f-title); font-variation-settings: "wdth" 125; letter-spacing: .04em; text-transform: uppercase; padding-right: 28px; }
.marquee__track span::after { content: "✶"; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── apertura ───────── */
.hero { position: relative; height: calc(100svh - var(--strip)); min-height: 520px; overflow: hidden; background: #000; scroll-snap-align: start; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform-origin: 58% 40%; animation: push 26s var(--ease) infinite alternate; }
.hero.is-paused .hero__media img { animation-play-state: paused; }
@keyframes push { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1%, 1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .25) 42%, rgba(0, 0, 0, 0) 62%), linear-gradient(to right, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 55%); }
.hero__bottom { position: absolute; z-index: 3; left: var(--m); right: var(--m); bottom: 28px; display: flex; flex-direction: column; gap: clamp(28px, 6vh, 64px); }
.hero__logo { width: clamp(250px, 36vw, 540px); height: auto; }
.hero__foot { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 16px; }
.hero__now { display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(249, 7, 0, .25); }
.hero.is-paused .dot { background: var(--mute); box-shadow: none; }
.hero__ctrl { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hero__tc { font-variant-numeric: tabular-nums; }
.ctrl { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.ctrl:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero__flag { position: absolute; z-index: 3; top: calc(var(--bar) + 10px); right: var(--m); font-size: 11px; }

/* ───────── il cartello: artista / TITOLO / regia ───────── */
.tc { position: relative; z-index: 3; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 0 var(--m); max-width: 1180px; }
.tc__artist { font: 500 clamp(12px, 1.1vw, 16px)/1.2 var(--f-mono); letter-spacing: .28em; text-transform: uppercase; }
.tc__title { font-size: clamp(44px, 8.2vw, 150px); text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.tc__by { display: grid; gap: 4px; margin-top: 4px; }
.tc__by span { color: rgba(242, 239, 232, .75); }
.tc__by b { font-size: clamp(14px, 1.25vw, 19px); }
.tc__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.tc__award { color: rgba(242, 239, 232, .8); }
.tc__award::before { content: "★ "; color: var(--red); }

/* ───────── capitoli ───────── */
.ch { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--bar) + 18px) 0 clamp(70px, 10vh, 100px); scroll-snap-align: start; }
.ch[hidden] { display: none; }
.ch__head, .ch__foot { display: flex; justify-content: space-between; gap: 16px; padding: 0 var(--m); }
.ch__head { padding-bottom: 14px; }
.ch__foot { padding-top: 14px; }
.ch__stage { position: relative; display: grid; place-items: center; }
.ch__frame { position: relative; width: 100%; aspect-ratio: 2.39 / 1; overflow: hidden; background: #000; clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); --grain: .16; }
.js .ch__frame { clip-path: inset(22% 0 22% 0); }
.js .ch.is-open .ch__frame, html.rm .ch__frame { clip-path: inset(0 0 0 0); }
.ch__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.2s var(--ease); }
.ch.is-open .ch__frame img, html.rm .ch__frame img { transform: scale(1); }
.ch__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0, 0, 0, .58), rgba(0, 0, 0, .15) 75%); }
.ch__stage .tc { position: absolute; inset: 0; align-content: center; margin: 0 auto; }
.ch .tc > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .ch:not(.is-open) .tc > * { opacity: 0; transform: translateY(14px); }
.js .ch.is-open .tc > *:nth-child(2) { transition-delay: .15s; }
.js .ch.is-open .tc > *:nth-child(3) { transition-delay: .3s; }
.js .ch.is-open .tc > *:nth-child(4) { transition-delay: .45s; }
.ch .tc__title { font-size: clamp(40px, 7.4vw, 136px); }
.ch__player { display: none; position: absolute; inset: 0; z-index: 5; place-items: center; background: #000; padding: 0 var(--m); }
.ch.is-playing .ch__player { display: grid; }
.ch.is-playing .tc { visibility: hidden; }
.ch__player .yt { width: min(100%, calc((100svh - var(--bar) - 190px) * 16 / 9)); }
.ch__player .pill { position: absolute; top: 10px; right: var(--m); }

/* indice e formati in basso */
.hud { position: fixed; z-index: 40; bottom: 18px; display: flex; align-items: center; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.hud.is-on { opacity: 1; pointer-events: auto; }
.hud--l { left: var(--m); }
.hud--r { right: var(--m); }
.index button { position: relative; min-width: 38px; min-height: 40px; padding: 0 4px; color: rgba(242, 239, 232, .45); font: 500 13px/1 var(--f-mono); text-align: left; }
.index button:hover, .index button[aria-current="true"] { color: var(--ink); }
.index button::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 2px; background: rgba(242, 239, 232, .18); }
.index button[aria-current="true"]::after { background: var(--red); }
.index button.is-out { display: none; }
.index .index__end { padding: 0 8px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.formats button { min-height: 40px; padding: 0 10px; color: rgba(242, 239, 232, .55); font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.formats button:hover { color: var(--ink); }
.formats button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.formats select { display: none; }

/* intervallo, altri film, chiusura */
.card { position: relative; min-height: 100svh; display: grid; place-items: center; scroll-snap-align: start; background: #0B0B0B; padding: calc(var(--bar) + 20px) 0 90px; }
.card--end { background: #000; }
.card .tc__title { font-size: clamp(40px, 6.6vw, 120px); }
.card .lead { max-width: 42ch; font-size: clamp(16px, 1.3vw, 20px); color: rgba(242, 239, 232, .85); }
.about-fmt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 22px; text-align: left; max-width: 900px; border-top: 1px solid var(--rule); padding-top: 18px; }
.about-fmt b { display: block; font-size: 18px; margin-bottom: 6px; }
.about-fmt span { color: var(--mute); font-size: 14.5px; }
.card--end .end-logo { width: clamp(240px, 32vw, 460px); height: auto; margin-bottom: 6px; }
.more { padding: clamp(80px, 12vh, 140px) var(--m) 0; }
.more__head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: 20px; }
.more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.more__list .ph-media { aspect-ratio: 2.39 / 1; min-height: 0; }
.more__list p { margin-top: 10px; }

/* ───────── pagina del film ───────── */
.film-top, .film-top.ch { position: relative; min-height: calc(100svh - var(--strip)); display: grid; grid-template-rows: 1fr; place-items: center; padding: var(--bar) 0 0; background: #000; }
.film-top .ch__stage { width: 100%; }
.film-top .ch__frame { clip-path: none; }
.film-top .ch__frame img { transform: none; }
.film-top .tc { position: absolute; inset: var(--bar) 0 0; align-content: center; margin: 0 auto; }
.film-top .ch__player .yt { width: min(100%, calc((100svh - var(--bar) - 40px) * 16 / 9)); }
.story { padding: clamp(80px, 12vh, 140px) var(--m) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1300px; margin: 0 auto; }
.story h2 { margin-bottom: 10px; }
.story p { color: rgba(242, 239, 232, .82); }
.endcredits { padding: clamp(80px, 12vh, 140px) var(--m) 0; display: grid; justify-items: center; gap: 36px; }
.roll__title { font-size: clamp(36px, 5vw, 80px); text-align: center; }
.endcredits dl, .roll dl { display: grid; gap: 14px; width: min(760px, 100%); }
.endcredits dl div, .roll dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: baseline; }
.endcredits dt, .roll dt { text-align: right; color: var(--mute); font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.endcredits dd, .roll dd { font-size: clamp(17px, 1.5vw, 22px); }
.endcredits ul, .roll ul { display: grid; gap: 8px; text-align: center; color: rgba(242, 239, 232, .8); }
.endcredits ul li::before, .roll ul li::before { content: "★ "; color: var(--red); }
.stills { padding: clamp(80px, 12vh, 140px) 0 0; }
.stills__row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--m) 10px; }
.stills__row img { height: clamp(180px, 32vw, 400px); width: auto; scroll-snap-align: center; }
.next { position: relative; display: grid; place-items: center; min-height: 80svh; margin-top: clamp(80px, 12vh, 140px); text-decoration: none; overflow: hidden; }
.next > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .55); }
.next:hover .tc__title { color: #fff; }

/* ───────── titoli di coda (sovrapposti) ───────── */
.credits { position: fixed; inset: 0; z-index: 80; background: #000; display: none; overflow: hidden; }
.credits.is-open { display: block; }
.credits__close { position: absolute; z-index: 2; top: var(--m); right: var(--m); }
.credits__full { position: absolute; z-index: 2; bottom: var(--m); left: 50%; transform: translateX(-50%); }
.roll { position: absolute; left: 0; right: 0; top: 100%; display: grid; justify-items: center; gap: 44px; padding: 0 var(--m); animation: roll 26s linear forwards; }
.credits:hover .roll { animation-play-state: paused; }
html.rm .credits .roll { top: 50%; transform: translateY(-50%); animation: none; }
@keyframes roll { to { transform: translateY(calc(-100% - 100svh)); } }

/* ───────── modulo "Send your song" ───────── */
.sheet { position: fixed; inset: 0; z-index: 90; display: none; overflow: auto; background: rgba(0, 0, 0, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* senza JavaScript il riquadro si apre con il link #send; con JavaScript lo apre e lo chiude site.js */
.sheet.is-open, html:not(.js) .sheet:target { display: block; }
.sheet__in { max-width: 980px; margin: 0 auto; padding: calc(var(--m) + 70px) var(--m) 60px; display: grid; gap: 26px; }
.sheet__close { position: fixed; top: var(--m); right: var(--m); }
.sheet h2 { font-size: clamp(40px, 6vw, 96px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form label { display: grid; gap: 6px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(242, 239, 232, .35); background: transparent; color: var(--ink); font: 400 18px/1.3 var(--f-title); letter-spacing: 0; text-transform: none; border-radius: 0; }
.form select option { background: #111; }
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--red); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { grid-column: 1 / -1; font: 400 13px/1.5 var(--f-mono); color: var(--mute); }
.form-legal a { color: var(--ink); }
.form-note { grid-column: 1 / -1; font: 500 14px/1.5 var(--f-mono); color: var(--ink); }
.form-note.is-ok { color: #7FD67A; }
.form-note.is-error { color: var(--red-text); }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ───────── pagine di testo (privacy, 404) ───────── */
.text-page { min-height: 80svh; padding: calc(var(--bar) + clamp(48px, 10vh, 110px)) var(--m) 0; max-width: 980px; margin: 0 auto; }
.text-page h1 { font-size: clamp(40px, 6vw, 96px); margin: 10px 0 28px; }
.text-page section { padding: 22px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 12px 32px; }
.text-page section p { color: rgba(242, 239, 232, .85); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--bar) var(--m) 0; }
.notfound .tc__title { font-size: clamp(44px, 8vw, 130px); }

/* piede */
.foot { padding: 28px var(--m) 60px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; border-top: 1px solid var(--rule); color: var(--mute); font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.foot a, .foot button { color: var(--mute); }
.motion-toggle { font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* ───────── telefono ───────── */
@media (max-width: 759px) {
  :root { --bar: 56px; }
  .bar { gap: 12px; }
  .bar__logo img { width: 96px; }
  .bar__nav { display: none; }
  .bar .pill { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .lang { margin-left: auto; }
  .lang a { padding: 6px 3px; }
  .hero__logo { width: min(74vw, 300px); }
  .hero__bottom { bottom: 20px; gap: 22px; }
  .hero__foot { gap: 4px 18px; padding-top: 12px; }
  .hero__ctrl { margin-left: 0; width: 100%; justify-content: space-between; }
  .hero__flag { left: var(--m); right: auto; }
  .ch__frame { aspect-ratio: 4 / 5; }
  .ch .tc__title { font-size: clamp(36px, 11vw, 56px); }
  .ch__head, .ch__foot { flex-direction: column; gap: 4px; }
  .index .index__end, .formats button { display: none; }
  .formats select { display: block; appearance: none; min-height: 36px; padding: 0 26px 0 12px; border: 1px solid rgba(242, 239, 232, .4); border-radius: 999px; background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2EFE8' stroke-width='1.4'/%3E%3C/svg%3E") right 10px center / 10px no-repeat; color: var(--ink); font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
  .about-fmt { grid-template-columns: 1fr; gap: 14px; }
  .more__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .more__list > * { scroll-snap-align: start; }
  .story { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .endcredits dl div, .roll dl div { grid-template-columns: 1fr 1.3fr; gap: 14px; }
  .text-page section { grid-template-columns: 1fr; }
}
