/* ==========================================================
   EMISFERI FILM FESTIVAL
   ========================================================== */

:root {
  --ink: #0c0b0a;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --fg: #f4efe6;
  --fg-2: #bdb5a8;
  --fg-3: #918979;
  --line: rgba(244, 239, 230, 0.14);
  --line-strong: rgba(244, 239, 230, 0.28);
  --gold: #af44b1;
  --gold-2: #d27fd4;
  --gold-3: #933695;
  --gold-ink: #ffffff;

  --paper: #efe9de;
  --paper-2: #e3dbcc;
  --paper-ink: #17140f;
  --paper-fg-2: #564e42;
  --paper-line: rgba(23, 20, 15, 0.16);

  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--ink-3) var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #3a342d; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; font-weight: 600; transition: top 200ms var(--ease-out); }
.skip:focus { top: 16px; }

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

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--fg); }
button.btn { font-family: inherit; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-3); }
  .btn--ghost:hover { border-color: var(--fg); }
}

.link { font-weight: 600; font-size: 15px; text-decoration: underline; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 300ms ease, border-color 300ms ease; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(12, 11, 10, 0.94); border-bottom-color: var(--line); }
.nav__inner { height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__brand { display: block; width: 104px; opacity: 0; transform: translateY(-6px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.nav.is-solid .nav__brand { opacity: 1; transform: none; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--fg-2); transition: color 200ms ease; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav__links a[aria-current="true"] { color: var(--fg); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--fg); } }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

.menu { position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 28px; display: grid; gap: 4px; }
.menu[hidden] { display: none; }
.menu a:not(.btn) { font-size: 28px; font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 16px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(32px, 6vh, 64px);
  overflow: hidden; isolation: isolate;
}
.hero::before { /* luce del proiettore */
  content: ""; position: absolute; inset: -20% -10% auto; height: 90%; z-index: -1;
  background: radial-gradient(50% 55% at 50% 30%, rgba(175, 68, 177, 0.16), transparent 70%);
}
.hero::after { /* grana pellicola */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__stage { align-self: center; justify-self: center; width: min(88vw, 1180px); position: relative; }
.hero__logo { position: relative; margin: 0; }
.hero__half { width: 100%; will-change: transform; }
.hero__half--top { transform: translate3d(calc(var(--drift, 0px) * -1), 0, 0); }
.hero__half--bottom { transform: translate3d(var(--drift, 0px), 0, 0); }
.hero__equator {
  position: absolute; left: 50%; top: 43.2%; width: 100vw; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  transform: translateX(-50%) scaleX(var(--eq, 1)); opacity: 0.85;
}
.hero__tag {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.6vw, 38px); color: var(--gold-2);
  text-align: right; margin-top: clamp(8px, 1.5vw, 20px); letter-spacing: 0.01em;
}
.hero__info { display: grid; justify-items: center; gap: 22px; text-align: center; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: clamp(15px, 1.4vw, 18px); color: var(--fg-2); }
.hero__meta time { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 600px) {
  .hero { min-height: 92svh; }
  .hero__stage { width: 94vw; }
  .hero__meta { flex-direction: column; gap: 2px; }
  .hero__meta .dot { display: none; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
}
.hero__countdown { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; min-height: 1.5em; }

/* entrata dell'hero: le due metà si incontrano */
.js .hero__half--top { animation: halfIn 1400ms var(--ease-out) 150ms both; --from: -9%; }
.js .hero__half--bottom { animation: halfIn 1400ms var(--ease-out) 150ms both; --from: 9%; }
.js .hero__equator { animation: equatorIn 1600ms var(--ease-in-out) 50ms both; }
.js .hero__tag, .js .hero__info > * { animation: riseIn 900ms var(--ease-out) both; }
.js .hero__tag { animation-delay: 900ms; }
.js .hero__info > :nth-child(1) { animation-delay: 1000ms; }
.js .hero__info > :nth-child(2) { animation-delay: 1080ms; }
.js .hero__info > :nth-child(3) { animation-delay: 1160ms; }
@keyframes halfIn { from { translate: var(--from) 0; opacity: 0; filter: blur(8px); } to { translate: 0 0; opacity: 1; filter: blur(0); } }
@keyframes equatorIn { from { clip-path: inset(0 50%); } to { clip-path: inset(0 0); } }
@keyframes riseIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Video ---------- */
.reel { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 9vw, 120px); }
.reel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(16px, 2.5vw, 28px); }
.reel__title {
  font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase;
  font-size: clamp(32px, 4.5vw, 56px); line-height: 0.95; letter-spacing: -0.01em;
}
.reel__title em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-variation-settings: normal; color: var(--gold-2); }
.reel__lede { color: var(--fg-2); font-size: clamp(15px, 1.4vw, 18px); }
.reel__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 6px; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line);
}
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  border: 0; padding: 0; cursor: pointer; color: var(--fg);
  background: radial-gradient(60% 60% at 50% 50%, rgba(12, 11, 10, 0.2), rgba(12, 11, 10, 0.65));
  transition: opacity 300ms var(--ease-out);
}
.reel__icon {
  display: grid; place-items: center; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: var(--gold-ink); padding-left: 4px;
  transition: transform 200ms var(--ease-out);
}
.reel__play:active .reel__icon { transform: scale(0.95); }
.reel__label { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.reel__time { color: var(--fg-2); font-weight: 400; font-variant-numeric: tabular-nums; margin-left: 6px; }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .reel__play:hover .reel__icon { transform: scale(1.06); } }
@media (max-width: 600px) { .reel__frame { margin: 0 calc(var(--gutter) * -1); border-radius: 0; box-shadow: none; } }

/* ---------- Partner ---------- */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); padding: clamp(40px, 6vw, 72px) 0; }
.billing { display: grid; }
.billing__group { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 16px 40px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.billing__group:first-child { border-top: 0; padding-top: 0; }
.billing__group:last-child { padding-bottom: 0; }
.billing__label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); }
.billing__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(28px, 4vw, 64px); }
.billing__logo { height: var(--lh); display: flex; align-items: center; }
.billing__logo img { height: 100%; width: auto; }
.billing__logo a { height: 100%; display: flex; align-items: center; text-decoration: none; transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .billing__logo a:hover { opacity: 0.7; } }
.billing__logo--plate { height: auto; }
.billing__logo--plate img { height: var(--lh); padding: 8px 14px; background: #fff; border-radius: 4px; box-sizing: content-box; }
.billing__logo--plate-dark img { background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.billing__logo--invert img { filter: brightness(0); }
.billing__group[data-level="1"] { --lh: clamp(44px, 5vw, 68px); }
.billing__group[data-level="2"] { --lh: clamp(34px, 3.4vw, 46px); }
.billing__group[data-level="3"] { --lh: 30px; }
.ph-logo { display: inline-flex; align-items: center; gap: 0.35em; height: 100%; color: var(--fg-2); font-weight: 700; font-variation-settings: "wdth" 80; font-size: calc(var(--lh) * 0.46); letter-spacing: -0.01em; white-space: nowrap; }
.ph-logo svg { height: 82%; width: auto; flex: none; }
@media (max-width: 700px) {
  .billing__group { grid-template-columns: 1fr; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 880px; }
.section__head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.title {
  font-family: var(--sans); font-weight: 800; font-variation-settings: "wdth" 62;
  font-size: clamp(56px, 9vw, 96px); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase;
  text-wrap: balance;
}
.title em, .closing__title em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-variation-settings: normal; color: var(--gold-2); letter-spacing: -0.02em; }
.section__lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); max-width: 56ch; }

/* ---------- Catalogo ---------- */
.days { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.days::-webkit-scrollbar { display: none; }
.days__tab { flex: none; border: 0; background: none; cursor: pointer; padding: 14px 18px 16px; font-size: 15px; font-weight: 600; color: var(--fg-3); transition: color 200ms ease; font-variant-numeric: tabular-nums; }
.days__tab[aria-selected="true"] { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .days__tab:hover { color: var(--fg); } }
.days__ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 1px; background: var(--gold); transform-origin: left; transition: transform 380ms var(--ease-out); pointer-events: none; }

.films { display: grid; gap: clamp(56px, 7vw, 96px); }
.day { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px clamp(24px, 4vw, 64px); }
.day[hidden] { display: none; }
.day__body { display: grid; gap: clamp(40px, 5vw, 64px); align-content: start; min-width: 0; }
.day__label { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: grid; }
.day__num { font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(72px, 9vw, 128px); line-height: 0.82; letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.day__name { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-2); margin-top: 8px; }
.day__month { font-size: 14px; color: var(--fg-3); }
.day__films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 48px 28px; }

.film { display: grid; gap: 16px; align-content: start; }
.film__poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ink-3); border-radius: 4px; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter 400ms ease; }
.film__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,10,0) 45%, rgba(12,11,10,0.86) 100%); pointer-events: none; }
.film__art { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; display: grid; gap: 6px; transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.film__art-title { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(30px, 3vw, 40px); line-height: 0.9; text-wrap: balance; }
.film__art-by { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold-2); }
.film--pending .film__poster { display: grid; place-items: center; color: var(--line-strong); box-shadow: inset 0 0 0 1px var(--line); }
.film--pending .film__poster::after { content: none; }
.film--pending .film__poster svg { width: 34%; height: auto; }
.film--pending .film__title { color: var(--fg-2); font-weight: 600; }
.film__desc { font-size: 15px; color: var(--fg-2); margin-top: 14px; max-width: 46ch; }
@media (hover: hover) and (pointer: fine) {
  .film:hover .film__poster img { transform: scale(1.04); }
}
@media (min-width: 761px) {
  .day__films { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .film { grid-template-columns: minmax(150px, 46%) 1fr; grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 14px; }
  .film__poster { grid-row: 1 / 3; }
  .film > div:nth-of-type(2) { padding-top: 4px; }
  .film__art-title { font-size: clamp(22px, 2vw, 30px); }
  .film__art { padding: 14px; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .day__films { grid-template-columns: 1fr; }
  .film { grid-template-columns: 200px 1fr; }
}
.film__when { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.film__time { font-weight: 700; font-variation-settings: "wdth" 75; font-size: 26px; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1; }
.film__hall { font-size: 14px; color: var(--fg-3); }
.film__title { font-size: 22px; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.film__meta { font-size: 14px; color: var(--fg-3); margin-top: 2px; }
.film__meta span + span::before { content: "·"; margin: 0 6px; }

.ceremony { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px clamp(24px, 4vw, 64px); align-items: center; }
.ceremony__body { border: 1px solid var(--gold); border-radius: 4px; padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ceremony__title { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(32px, 4vw, 52px); line-height: 0.95; }
.ceremony__when { color: var(--fg-2); }
.ceremony__when strong { color: var(--gold-2); font-variant-numeric: tabular-nums; font-size: 22px; margin-right: 8px; }

@media (max-width: 760px) {
  .film__desc { display: none; }
  .day, .ceremony { grid-template-columns: 1fr; }
  .day__label { position: static; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .day__num { font-size: 64px; }
  .day__name { margin: 0; }
  .day__films { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .film__art-title { font-size: 24px; }
  .film__art { padding: 12px; }
  .film__time { font-size: 22px; }
  .film__title { font-size: 17px; }
}

/* ---------- News ---------- */
.news { background: var(--ink-2); border-top: 1px solid var(--line); }
.news__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 4vw, 64px); }
.post { display: grid; gap: 14px; text-decoration: none; }
.post__img { overflow: hidden; border-radius: 4px; background: var(--ink-3); }
.post__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease-out); }
.post__date { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.post__source { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-2); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }
.post__img--source { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 12%; text-align: center; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--ink-3), var(--ink)); }
.post__img--source span { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: clamp(28px, 3.4vw, 52px); line-height: 1.05; text-wrap: balance; transition: transform 900ms var(--ease-out); }
.news__side .post__img--source { aspect-ratio: 1; padding: 10px; }
.news__side .post__img--source span { font-size: clamp(14px, 1.3vw, 17px); }
.post__title { font-size: 22px; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.post__text { color: var(--fg-2); font-size: 16px; max-width: 60ch; }
.post--lead .post__title { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(36px, 4vw, 56px); line-height: 0.95; }
.news__side { display: grid; align-content: start; }
.news__side .post { grid-template-columns: 140px 1fr; align-items: start; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.news__side .post:first-child { border-top: 0; padding-top: 0; }
.news__side .post__img img { aspect-ratio: 1; }
.news__side .post__title { font-size: 19px; }
@media (hover: hover) and (pointer: fine) {
  .post:hover .post__img img, .post:hover .post__img--source span { transform: scale(1.04); }
  .post:hover .post__title { text-decoration: underline; text-decoration-thickness: 1px; }
}
@media (max-width: 900px) {
  .news__grid { grid-template-columns: 1fr; }
  .news__side .post { grid-template-columns: 96px 1fr; gap: 16px; }
}

/* ---------- Giuria (sezione chiara) ---------- */
.jury { background: var(--paper); color: var(--paper-ink); }
.jury ::selection { background: var(--paper-ink); color: var(--paper); }
.jury .title em { color: #7d2a7f; }
.jury .section__lede { color: var(--paper-fg-2); }
.jury :focus-visible { outline-color: var(--paper-ink); }
.jury__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 28px; }
.juror { display: grid; gap: 14px; align-content: start; }
.juror--president { grid-column: 1 / -1; grid-template-columns: minmax(240px, 5fr) 7fr; gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--paper-line); }
.juror__photo { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--paper-2); position: relative; }
.juror__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.juror__mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(56px, 7vw, 110px); color: rgba(23, 20, 15, 0.22); }
.juror--president .juror__mono { font-size: clamp(96px, 14vw, 200px); }
.juror__body { display: grid; gap: 6px; align-content: start; }
.juror__role { font-size: 14px; color: var(--paper-fg-2); }
.juror__name { font-size: 24px; font-weight: 800; font-variation-settings: "wdth" 75; line-height: 1.05; text-transform: uppercase; }
.juror--president .juror__name { font-variation-settings: "wdth" 62; font-size: clamp(48px, 6.5vw, 92px); line-height: 0.9; margin: 10px 0 20px; }
.juror--president .juror__role { font-family: var(--serif); font-style: italic; font-size: 22px; color: #7d2a7f; }
.juror__bio { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease-out); }
.juror__bio > div { overflow: hidden; min-height: 4.8em; font-size: 15px; line-height: 1.6; }
.juror__bio p { font-size: 15px; line-height: 1.6; color: var(--paper-fg-2); max-width: 62ch; }
.juror__bio p + p { margin-top: 0.8em; }
.juror--president .juror__bio p { font-size: 18px; color: var(--paper-ink); }
.juror.is-open .juror__bio { grid-template-rows: 1fr; }
.juror--president .juror__bio { grid-template-rows: 1fr; }
.juror__more { justify-self: start; border: 0; background: none; padding: 4px 0; cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: #7d2a7f; text-underline-offset: 0.22em; }
@media (max-width: 1000px) { .jury__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .jury__list { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .juror--president { grid-template-columns: 1fr; }
  .juror__name { font-size: 19px; }
}

/* ---------- Presentatori (continua la sezione chiara della giuria) ---------- */
.hosts { padding-top: 0; }
.hosts .wrap { border-top: 1px solid var(--paper-line); padding-top: clamp(64px, 9vw, 120px); }
.hosts__list { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); max-width: 1040px; }
@media (max-width: 640px) { .hosts__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Manifesto ---------- */
.poster__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.poster__frame { display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.poster__frame img { width: 100%; transition: transform 900ms var(--ease-out); }
.poster__body { display: grid; gap: 20px; justify-items: start; }
.poster__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.poster__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .poster__frame:hover img { transform: scale(1.03); } }
@media (max-width: 800px) {
  .poster__inner { grid-template-columns: 1fr; }
  .poster__frame { max-width: 440px; justify-self: center; width: 100%; }
  .poster__actions { width: 100%; flex-direction: column; align-items: stretch; }
}

/* ---------- Gallery ---------- */
.years { display: flex; gap: 6px; }
.years__tab { border: 1px solid var(--line-strong); background: none; border-radius: 999px; height: 40px; padding: 0 18px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--fg-2); font-variant-numeric: tabular-nums; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.years__tab:active { transform: scale(0.97); }
.years__tab[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .years__tab:not([aria-selected="true"]):hover { border-color: var(--fg); color: var(--fg); } }
.gallery__grid { columns: 3 280px; column-gap: 20px; transition: opacity 250ms ease, filter 250ms ease; }
.gallery__grid.is-switching { opacity: 0; filter: blur(4px); }
.shot { display: block; width: 100%; margin: 0 0 20px; padding: 0; border: 0; background: var(--ink-3); border-radius: 4px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.shot img { width: 100%; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .shot:hover img { transform: scale(1.03); } }
@media (max-width: 640px) { .gallery__grid { columns: 2; column-gap: 12px; } .shot { margin-bottom: 12px; } .section__head--row { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(8, 7, 6, 0.96); color: var(--fg); display: none; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox[open] { display: grid; animation: lbIn 300ms var(--ease-out); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox__figure img { max-height: 82dvh; width: auto; max-width: 100%; border-radius: 4px; animation: lbImg 400ms var(--ease-out); }
@keyframes lbImg { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox__figure figcaption { font-size: 14px; color: var(--fg-3); }
.lightbox__nav, .lightbox__close { border: 0; background: none; cursor: pointer; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.lightbox__nav:active, .lightbox__close:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .lightbox__nav:hover, .lightbox__close:hover { background: var(--ink-3); } }
.lightbox__nav { justify-self: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; } .lightbox__nav { position: absolute; bottom: 20px; } .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; } }

/* ---------- Chiusura ---------- */
.closing { padding: clamp(96px, 14vw, 200px) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.closing__inner { display: grid; gap: clamp(40px, 5vw, 64px); justify-items: center; text-align: center; }
.closing__title { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(56px, 11vw, 96px); line-height: 0.9; letter-spacing: -0.01em; text-wrap: balance; }
.newsletter { width: min(100%, 520px); display: grid; gap: 14px; }
.newsletter label { color: var(--fg-2); }
.newsletter__row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 999px; transition: border-color 200ms ease; }
.newsletter__row:focus-within { border-color: var(--gold); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--fg); font: inherit; font-size: 16px; padding: 0 16px; caret-color: var(--gold); }
.newsletter input::placeholder { color: var(--fg-3); }
.newsletter input:focus { outline: none; }
.newsletter .btn { --h: 44px; }
.newsletter__msg { min-height: 1.5em; font-size: 14px; color: var(--fg-2); }
.newsletter__msg.is-error { color: #e9806a; }
.newsletter__msg.is-ok { color: var(--gold-2); }
.form__privacy { font-size: 13px; color: var(--fg-3); }
.form__privacy a { color: var(--fg-2); }

/* ---------- Accrediti (popup) ---------- */
.accr { border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(100% - 32px, 520px); max-height: calc(100dvh - 32px); background: var(--ink-2); color: var(--fg); }
.accr[open] { animation: accrIn 300ms var(--ease-out); }
.accr::backdrop { background: rgba(8, 7, 6, 0.8); }
@keyframes accrIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.accr__form { display: grid; gap: 16px; padding: clamp(24px, 5vw, 40px); }
.accr__title { font-size: clamp(28px, 4vw, 36px); font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; line-height: 1; padding-right: 48px; }
.accr__lede { color: var(--fg-2); font-size: 15px; margin-top: -4px; }
.accr__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .accr__row { grid-template-columns: 1fr; } }
.accr__field { display: grid; gap: 6px; }
.accr__field label { font-size: 13px; color: var(--fg-2); }
.accr__field input { height: 48px; background: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--fg); font: inherit; font-size: 16px; padding: 0 14px; caret-color: var(--gold); transition: border-color 200ms ease; }
.accr__field input:focus { outline: none; border-color: var(--gold); }
.accr__field input[aria-invalid="true"] { border-color: #e9806a; }
.accr__form .btn { margin-top: 8px; }
.accr__close { position: absolute; top: 12px; right: 12px; border: 0; background: none; color: var(--fg); cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .accr__close:hover { background: var(--ink-3); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ink-2); }
.footer__inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px 64px; }
.footer__logo { width: 180px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer h3 { font-size: 13px; font-weight: 600; color: var(--gold-2); margin-bottom: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer p { color: var(--fg-2); font-size: 15px; }
.footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--fg); text-decoration: underline; } }
.footer p + p { margin-top: 10px; }
.footer__menu, .footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--fg-2); font-size: 15px; }
.footer__map, .footer__social a { display: inline-flex; align-items: center; gap: 8px; }
.footer__map { color: var(--gold-2); }
.footer__legal { grid-column: 1 / -1; font-size: 13px !important; color: var(--fg-3) !important; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__legal a { text-decoration: underline; text-decoration-color: var(--line-strong); }
.footer__credit { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-size: 13px; color: var(--fg-3); text-decoration: none; transition: color 200ms ease; }
.footer__credit img { width: auto; height: 44px; opacity: 0.85; transition: opacity 200ms ease; }
.footer .wrap > .footer__credit { margin-top: 16px; }
.footer__inner > .footer__credit { margin-top: -20px; }
@media (hover: hover) and (pointer: fine) { .footer .footer__credit:hover { color: var(--fg); text-decoration: none; } .footer__credit:hover img { opacity: 1; } }
.footer__legal button { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- Cookie: banner e preferenze ---------- */
.cookie { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: accrIn 400ms var(--ease-out); }
.cookie[hidden] { display: none; }
.cookie__text { flex: 1 1 320px; font-size: 14px; color: var(--fg-2); }
.cookie__text a { color: var(--fg); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; }
.cookie-prefs__list { display: grid; gap: 12px; }
.cookie-prefs__item { border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.cookie-prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.cookie-prefs__name { font-weight: 600; }
.cookie-prefs__name small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--gold-2); }
.cookie-prefs__desc { margin-top: 6px; font-size: 14px; color: var(--fg-2); }
.switch { appearance: none; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line-strong); position: relative; cursor: pointer; transition: background-color 200ms ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--fg-2); transition: transform 200ms var(--ease-out), background-color 200ms ease; }
.switch:checked { background: var(--gold); border-color: var(--gold); }
.switch:checked::after { transform: translateX(18px); background: #fff; }
.switch:disabled { opacity: 0.55; cursor: not-allowed; }
@media (max-width: 480px) { .cookie { padding: 16px; } }

/* ---------- Pagine legali ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 48px) var(--gutter) 96px; }
.legal__back { display: inline-flex; gap: 8px; color: var(--gold-2); text-decoration: none; font-size: 15px; margin-bottom: 32px; }
.legal h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: 0.95; }
.legal__updated { margin-top: 12px !important; color: var(--fg-3); font-size: 14px; }
.legal h2 { font-size: 20px; font-weight: 700; margin-top: 40px; color: var(--gold-2); }
.legal p, .legal li { color: var(--fg-2); }
.legal p + p, .legal h2 + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-top: 12px; display: grid; gap: 6px; }
.legal strong { color: var(--fg); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.legal th { color: var(--fg); font-weight: 600; }
.legal__scroll { overflow-x: auto; }
.legal mark { background: rgba(175, 68, 177, 0.25); color: var(--fg); padding: 0 4px; border-radius: 3px; }

/* ---------- Programma: film con scheda (tutta la card è cliccabile) ---------- */
.film--link { position: relative; }
.film--link .film__poster::after { content: none; }
.film--link .film__title a { text-decoration: none; }
.film__tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.film__tag--inline { position: static; display: inline-block; margin-right: 10px; vertical-align: middle; }
.film--link .film__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.film--link .film__title a:focus-visible { outline: none; }
.film--link:has(.film__title a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  .film--link:hover .film__title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
}

/* ---------- Scheda film ---------- */
.scheda__back { margin-left: auto; }
.scheda { min-height: 70vh; }
.scheda__state { padding: calc(var(--nav-h) + 96px) var(--gutter) 120px; display: grid; gap: 20px; justify-items: start; color: var(--fg-2); }
.scheda__state .scheda__title { color: var(--fg); }
.scheda__hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.scheda__glow { position: absolute; inset: 0; z-index: -1; opacity: 0.32; }
.scheda__glow img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.2); transform: scale(1.2); }
.scheda__glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 10, 0.55), var(--ink) 92%); }
.scheda__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.scheda__poster { border-radius: 4px; overflow: hidden; background: var(--ink-3); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85); aspect-ratio: 2 / 3; }
.scheda__poster img { width: 100%; height: 100%; object-fit: cover; }
.scheda__body { display: grid; gap: 20px; justify-items: start; padding-top: clamp(0px, 2vw, 24px); }
.scheda__title { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(48px, 7.5vw, 104px); line-height: 0.9; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere; }
.scheda__by { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--gold-2); }
.scheda__by strong { font-weight: 500; color: var(--fg); }
.scheda__facts { margin: 8px 0 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line); }
.scheda__facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.scheda__facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.scheda__facts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.scheda__text { max-width: 62ch; color: var(--fg-2); font-size: clamp(16px, 1.3vw, 18px); }
.scheda__text p + p { margin-top: 0.8em; }
.scheda__section { padding: clamp(64px, 9vw, 120px) 0; }
.scheda__section + .scheda__section { border-top: 1px solid var(--line); }
.scheda__h2 { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: 0.92; margin-bottom: clamp(28px, 4vw, 48px); text-wrap: balance; }
.scheda__h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-variation-settings: normal; color: var(--gold-2); }
.scheda__photos { columns: 3 280px; column-gap: 20px; }
.scheda__regia { background: var(--paper); color: var(--paper-ink); }
.scheda__regia .poster__kicker { color: #7d2a7f; margin-bottom: 12px; }
.scheda__regia .scheda__h2 { margin-bottom: 0; }
.scheda__regia-inner { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.scheda__bio { margin-top: clamp(20px, 2.5vw, 32px); max-width: 62ch; color: var(--paper-fg-2); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; }
.scheda__bio p + p { margin-top: 0.8em; }
.scheda__regia-photo { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--paper-2); position: relative; }
.scheda__regia-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.scheda__next .wrap { display: flex; justify-content: center; }
.js .scheda__top > *, .js .scheda__section .wrap { animation: riseIn 800ms var(--ease-out) both; }
.js .scheda__body { animation-delay: 120ms; }
@media (max-width: 800px) {
  .scheda__top { grid-template-columns: 1fr; }
  .scheda__poster { max-width: 380px; width: 100%; justify-self: center; }
  .scheda__body .poster__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .scheda__regia-inner { grid-template-columns: 1fr; align-items: start; }
  .scheda__regia-photo { max-width: 280px; }
}
@media (max-width: 640px) { .scheda__photos { columns: 2; column-gap: 12px; } .scheda__back { padding: 0 14px; } }

/* ---------- Gestione film (pagina privata) ---------- */
.adm__tag { font-size: 14px; color: var(--fg-3); }
.adm__logout { margin-left: auto; }
.adm { max-width: 960px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--gutter) 96px; display: grid; gap: 32px; }
.adm-page [hidden] { display: none !important; }
.adm__panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; }
.adm__login { max-width: 480px; justify-self: center; width: 100%; }
.adm__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.adm__title { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; line-height: 1; }
.adm__count { color: var(--fg-3); font-weight: 600; }
.adm__lede { color: var(--fg-2); font-size: 15px; }
.adm__form { display: grid; gap: 24px; }
.adm__group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 20px 0 0; display: grid; gap: 16px; min-width: 0; }
.adm__group legend { padding: 0 12px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); }
.adm__opt { font-size: 12px; color: var(--fg-3); margin-left: 6px; }
.accr__field select, .accr__field textarea { background: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--fg); font: inherit; font-size: 16px; caret-color: var(--gold); transition: border-color 200ms ease; }
.accr__field select { height: 48px; padding: 0 12px; }
.accr__field textarea { padding: 12px 14px; resize: vertical; line-height: 1.5; }
.accr__field select:focus, .accr__field textarea:focus { outline: none; border-color: var(--gold); }
.accr__field [aria-invalid="true"] { border-color: #e9806a; }
.accr__field input[type="time"] { color-scheme: dark; }
.adm__file { display: grid; gap: 10px; justify-items: start; }
.adm__label { font-size: 13px; color: var(--fg-2); }
.adm__pick { cursor: pointer; }
.adm__pick:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.adm__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.adm__thumbs:empty { display: none; }
.adm__thumb { position: relative; margin: 0; width: 120px; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.adm__thumbs--poster .adm__thumb { width: 140px; aspect-ratio: 2 / 3; }
.adm__thumbs--portrait .adm__thumb { width: 120px; aspect-ratio: 4 / 5; }
.adm__thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm__thumb button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(12, 11, 10, 0.8); color: var(--fg); }
.adm__doc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 15px; }
.adm__doc span { overflow-wrap: anywhere; }
.adm__doc a, .adm__doc button { font-size: 14px; color: var(--gold-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.adm__switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.adm__submit { display: grid; gap: 12px; justify-items: start; border-top: 1px solid var(--line); padding-top: 24px; }
.adm__submit .newsletter__msg { min-height: 1.5em; }
.adm .newsletter__msg:empty { display: none; }
.adm__list { display: grid; }
.adm__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.adm__item:first-child { border-top: 0; }
.adm__item-poster { width: 56px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--ink-3); }
.adm__item-poster img { width: 100%; height: 100%; object-fit: cover; }
.adm__item-title { font-weight: 700; line-height: 1.25; }
.adm__item-meta { font-size: 14px; color: var(--fg-3); }
.adm__item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.adm__item-actions .btn { --h: 36px; padding: 0 14px; font-size: 13px; }
.adm__danger { color: #e9806a !important; }
.adm__badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--ink-3); color: var(--fg-2); vertical-align: middle; }
.adm__empty { color: var(--fg-2); font-size: 15px; }
@media (max-width: 700px) {
  .adm__tag { display: none; }
  .adm__item { grid-template-columns: 48px 1fr; }
  .adm__item-poster { width: 48px; }
  .adm__item-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ==========================================================
   ANIMAZIONI ALLO SCROLL
   Il contenuto è visibile di default; gli stati nascosti
   valgono solo con JS attivo (.js) e prima di .is-in
   ========================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* titoli: le parole salgono da dietro una maschera */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-w > span { display: inline-block; }
.js [data-split] .split-w > span { transform: translateY(105%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-split].is-in .split-w > span { transform: none; }

/* locandine: tendina che si apre dal basso */
.js .film[data-reveal] { filter: none; transform: translateY(32px); }
.js .film .film__poster { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .film .film__poster img { transform: scale(1.18); }
.js .film.is-in .film__poster { clip-path: inset(0 0 0 0); }
.js .film.is-in .film__poster img { transform: scale(1); transition: transform 1400ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
@media (hover: hover) and (pointer: fine) {
  .js .film.is-in:hover .film__poster img { transform: scale(1.04); transition-delay: 0ms; transition-duration: 900ms; }
}

/* ritratti della giuria: rivelati da sinistra */
.js .juror .juror__photo { clip-path: inset(0 100% 0 0); transition: clip-path 1200ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .juror.is-in .juror__photo { clip-path: inset(0 0 0 0); }

/* partner: le righe di cartellone entrano in sequenza */
.js .billing__logo { opacity: 0; transform: translateY(10px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + 120ms); }
.js .billing__group.is-in .billing__logo { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__half, .js .hero__equator, .js .hero__tag, .js .hero__info > * { animation: fadeOnly 400ms ease both !important; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
  .hero__half--top, .hero__half--bottom { transform: none !important; }
  .js [data-reveal], .js [data-split] .split-w > span, .js .billing__logo { transform: none !important; filter: none !important; transition: opacity 400ms ease !important; }
  .js [data-split] .split-w > span { opacity: 0; }
  .js [data-split].is-in .split-w > span { opacity: 1; }
  .js .film .film__poster, .js .juror .juror__photo { clip-path: none !important; }
  .js .film .film__poster img { transform: none !important; }
  .film__poster img, .post__img img, .shot img { transition: none !important; }
  .js .scheda__top > *, .js .scheda__section .wrap { animation: fadeOnly 400ms ease both !important; }
}
