/* ==========================================================================
   Alberto Greco — Tema 2 "Noir"
   Solo bianco e nero, molto scuro. Percorso a palcoscenico fisso guidato dallo scroll.
   Font: Jost (titoli) + Manrope (testo/UI)
   ========================================================================== */

:root {
  --bg: #040404;
  --bg-2: #0a0a0a;
  --ink: #ecebe8;
  --ink-2: rgba(236, 235, 232, .7);
  --muted: rgba(236, 235, 232, .46);
  --faint: rgba(236, 235, 232, .22);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);

  --serif: "Jost", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--bg); }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  margin: 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header (in "difference" per restare leggibile su foto chiare e scure) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 26px var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
}
.brand { font-size: .78rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; justify-self: start; }
.header__role { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.menu-btn { justify-self: end; display: flex; align-items: center; gap: 14px; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; }
.menu-btn__icon { position: relative; width: 28px; height: 10px; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-btn__icon i:first-child { top: 0; }
.menu-btn__icon i:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 5px; transform: rotate(25deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 5px; transform: rotate(-25deg); }

/* Menu a schermo intero */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 48px;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 24px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 96px); line-height: 1.04;
  color: var(--muted);
  transform: translateY(30px); opacity: 0;
  transition: color .3s, transform .9s var(--ease-out), opacity .9s var(--ease-out);
}
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu__nav a:nth-child(2) { transition-delay: 0s, .05s, .05s; }
.menu__nav a:nth-child(3) { transition-delay: 0s, .1s, .1s; }
.menu__nav a:nth-child(4) { transition-delay: 0s, .15s, .15s; }
.menu__nav a:nth-child(5) { transition-delay: 0s, .2s, .2s; }
.menu__nav a:nth-child(6) { transition-delay: 0s, .25s, .25s; }
.menu__nav a:nth-child(7) { transition-delay: 0s, .3s, .3s; }
.menu__nav a:nth-child(8) { transition-delay: 0s, .35s, .35s; }
.menu__nav a:hover { color: var(--ink); }
.menu__nav small { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--faint); }
.menu__foot { margin: auto 0 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* ---------- Hero: nome al centro ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  background: #000;
}
.hero__media { position: absolute; inset: -2%; }
.hero__media img, .hero__video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 30%;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 1.6s var(--ease-out);
  animation: heroIn 2.8s var(--ease-out) both;
}
@keyframes heroIn {
  from { opacity: 0; scale: 1.14; filter: brightness(.2); }
  to { opacity: 1; scale: 1; filter: brightness(1); }
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 50% 72%, rgba(4,4,4,.7) 0%, rgba(4,4,4,0) 100%),
    radial-gradient(ellipse 80% 90% at 62% 35%, rgba(4,4,4,.1) 0%, rgba(4,4,4,.55) 60%, rgba(4,4,4,.92) 100%),
    linear-gradient(0deg, #040404 0%, rgba(4,4,4,0) 30%),
    linear-gradient(180deg, rgba(4,4,4,.6) 0%, rgba(4,4,4,0) 18%);
}
.hero__credit {
  position: absolute; right: var(--gutter); top: 50%;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--faint);
  animation: fadeIn 1.6s 1.6s both;
}

.hero__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  /* in basso: sotto il volto di Alberto, che nel video è al centro, e sopra "Scorri" */
  padding: 0 var(--gutter) clamp(118px, 15vh, 150px);
  text-align: center;
}
.hero__eyebrow {
  margin: 0 0 clamp(14px, 2vw, 28px);
  font-size: .72rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-2);
  animation: fadeUp 1.4s 1.1s var(--ease-out) both;
}
.hero__name {
  margin: 0;
  width: min(62vw, 980px);
  display: flex; justify-content: center; gap: .24em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 10vw, 190px);
  line-height: .9;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__young {
  margin: clamp(18px, 2.4vw, 36px) 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(20px, 2.1vw, 32px); line-height: 1.3;
  color: var(--ink-2);
  animation: fadeUp 1.4s 1.4s var(--ease-out) both;
}
.hero__young strong { font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(18px, 3vh, 30px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
  animation: fadeIn 1.4s 1.8s both;
}
.hero__scroll i { position: relative; width: 1px; height: 38px; background: var(--faint); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.split { display: inline-flex; }
.ch { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.ch > span { display: inline-block; animation: charUp 1.4s var(--ease-out) both; animation-delay: calc(.4s + var(--i) * .05s); }
@keyframes charUp { from { transform: translateY(105%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Percorso: palcoscenico fisso ---------- */
.journey { position: relative; background: var(--bg); }
.journey__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* Sfondi: una foto per tappa, in dissolvenza */
.stage__bgs { position: absolute; inset: 0; }
.bg { --w: 0; position: absolute; inset: 0; margin: 0; opacity: var(--w); }
.bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.16 - var(--w) * .1));
}
.stage__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,4,4,.88) 0%, rgba(4,4,4,.55) 45%, rgba(4,4,4,.35) 100%),
    linear-gradient(0deg, rgba(4,4,4,.95) 0%, rgba(4,4,4,.4) 35%, rgba(4,4,4,.5) 100%);
}

.journey__head {
  position: absolute; z-index: 3;
  top: 92px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
}
.journey__nav { display: flex; align-items: center; gap: 16px; }
.journey__count { margin: 0; min-width: 4.4em; text-align: center; font-family: var(--serif); font-size: 1.1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.journey__count span:first-child { color: var(--ink); }
.arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 1.05rem; color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.arrow:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.arrow:disabled { opacity: .25; cursor: default; }

/* Introduzione, al centro */
.step--intro {
  --w: 1;
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  opacity: calc((var(--w) - .5) * 2); /* sparisce entro metà transizione, prima che entri l'anno */
}
.step__intro { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6.4vw, 108px); line-height: 1.02; letter-spacing: -.01em; }
.step__intro em { color: var(--muted); }
.step__hint { margin: 36px 0 0; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.step__hint span { display: inline-block; margin: 0 4px; color: var(--ink); }

/* Colonna sinistra: anno + testo della tappa, sempre nello stesso punto */
.stage__col {
  position: absolute; z-index: 2;
  left: var(--gutter); top: 150px; bottom: 150px;
  width: min(620px, 50vw);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(14px, 3vh, 34px);
}
.stage__when { display: flex; flex-direction: column; }
.stage__sub {
  min-height: 1.4em;
  margin-bottom: 4px;
  font-size: .76rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-2);
  transition: opacity .5s;
}
.stage__sub.is-swap { opacity: 0; }

/* Anno gigante che gira come un contachilometri */
.odo {
  display: flex;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(96px, 12.5vw, 210px); line-height: .9;
  font-variant-numeric: lining-nums;
  letter-spacing: -.01em;
}
.odo__slot { display: inline-block; height: .9em; overflow: hidden; }
.odo__reel { display: flex; flex-direction: column; }
.odo__reel span { display: block; height: .9em; white-space: pre; }
.odo__slot.is-roll .odo__reel { animation: roll .9s var(--ease-out) both; animation-delay: calc(var(--i) * .06s); }
.odo__slot.is-roll-back .odo__reel { animation: rollBack .9s var(--ease-out) both; animation-delay: calc(var(--i) * .06s); }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes rollBack { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* Testo delle tappe: tutte sovrapposte nella stessa cella, si vede quella attiva */
.stage__steps { display: grid; }
.step { --w: 0; --s: 1; grid-area: 1 / 1; align-self: start; opacity: var(--w); }
.step > * { transform: translateY(calc(var(--s) * (1 - var(--w)) * 40px)); }
.step > :nth-child(2) { transform: translateY(calc(var(--s) * (1 - var(--w)) * 64px)); }
.step > :nth-child(n+3) { transform: translateY(calc(var(--s) * (1 - var(--w)) * 88px)); }
.step__place { margin: 0 0 14px; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.step__place::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px 4px 0; background: var(--muted); vertical-align: middle; }
.step__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.08; letter-spacing: -.01em; }
.step__text { margin: 16px 0 0; max-width: 520px; color: var(--ink-2); font-size: 1rem; }
.bg--right img { object-position: 85% 40%; }

.link { display: inline-flex; gap: 10px; margin-top: 24px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; }
.link:hover { border-color: var(--ink); }

.stage__credit {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 108px;
  font-size: .6rem; letter-spacing: .08em; color: var(--faint);
  transition: opacity .5s, color .3s;
}
.stage__credit:hover { color: var(--ink-2); }
.stage__credit.is-swap { opacity: 0; }

/* La barra delle tappe */
.bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; z-index: 3; }
.bar__line { position: relative; height: 1px; background: var(--line-2); cursor: pointer; touch-action: none; }
.bar__line::before { content: ""; position: absolute; left: -8px; right: -8px; top: -16px; height: 33px; } /* area più comoda da prendere */
.bar__fill { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.bar__dot {
  position: absolute; top: -8px; left: calc(var(--p, 0) * 100%);
  width: 17px; height: 17px; margin-left: -8px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(236, 235, 232, .12);
  cursor: grab;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.bar__dot:hover, .bar.is-dragging .bar__dot { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(236, 235, 232, .16); }
.bar.is-dragging, .bar.is-dragging .bar__dot { cursor: grabbing; }
.bar__ticks { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.bar__ticks li { position: absolute; bottom: 0; transform: translateX(-50%); }
.bar__ticks li:first-child { transform: none; }
.bar__ticks li:last-child { transform: translateX(-100%); text-align: right; }
.bar__ticks button {
  display: flex; flex-direction: column;
  padding-bottom: 16px;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  transition: color .4s;
}
.bar__ticks button em { font-style: normal; font-family: var(--serif); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.bar__ticks button::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 1px; height: 13px; background: var(--line-2); }
.bar__ticks li:first-child button::after { left: 0; }
.bar__ticks li:last-child button::after { left: auto; right: 0; }
.bar__ticks button:hover, .bar__ticks .is-done button { color: var(--muted); }
.bar__ticks .is-active button { color: var(--ink); }

/* ---------- Sezioni ---------- */
.section { padding: clamp(110px, 16vh, 200px) 0; }
.section--line { border-top: 1px solid var(--line); }
/* Intestazioni: tutte a sinistra, numero + etichetta + titolo, stessa misura */
.head { margin-bottom: clamp(48px, 6vw, 88px); }
.eyebrow__num { display: inline-flex; align-items: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.eyebrow__num::after { content: ""; width: 28px; height: 1px; margin: 0 14px; background: var(--faint); }
.title { margin: 18px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.2vw, 100px); line-height: 1; letter-spacing: -.015em; }

/* Biografia */
.statement {
  margin: 0 0 clamp(56px, 8vw, 110px);
  max-width: 1050px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3vw, 46px); line-height: 1.25;
}
.statement em { color: var(--muted); }
.bio { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 140px); align-items: end; }
.bio__fig { margin: 0; }
.bio__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bio__fig figcaption { margin-top: 12px; font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.bio__text p { margin: 0 0 1.3em; color: var(--ink-2); max-width: 560px; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.figures dt { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 80px); line-height: 1; }
.figures dd { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }

/* Maestri */
.masters { border-top: 1px solid var(--line); }
.masters__group { display: grid; grid-template-columns: minmax(200px, 3fr) 7fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.masters__where { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.masters__row { display: flex; align-items: baseline; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; }
.master h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 46px); line-height: 1.1; }
.master p { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.masters__amp { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 3vw, 46px); color: var(--faint); }

.marquee { margin-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.marquee .eyebrow { margin-bottom: 24px; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(32px, 4.4vw, 68px); line-height: 1.15;
  color: var(--faint);
  white-space: nowrap;
  transition: color .3s;
}
.marquee li:hover { color: var(--ink); }
.marquee li::after { content: "—"; margin: 0 .5em; color: var(--line-2); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Liste (premi, concerti) */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li {
  display: grid; grid-template-columns: 150px minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease-out);
}
.list li:hover { padding-left: 16px; }
.list__a { font-size: .76rem; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.list__b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.list__c { font-size: .9rem; color: var(--muted); }

.upcoming { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 64px; border: 1px solid var(--line-2); }
.upcoming__img { position: relative; min-height: 320px; overflow: hidden; }
.upcoming__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: .75; transition: transform 1.4s var(--ease-out); }
.upcoming:hover .upcoming__img img { transform: scale(1.04); }
.upcoming__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.upcoming__body h3 { margin: 18px 0 14px; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 60px); line-height: 1; }
.upcoming__body h3 em { color: var(--muted); }
.upcoming__body p { margin: 0; color: var(--ink-2); }

/* Video: clip girate */
.vclips {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(130px, 12.5vw, 200px);
  gap: 10px;
}
.vclip { position: relative; grid-column: span 4; margin: 0; overflow: hidden; background: var(--bg-2); }
.vclip--big { grid-column: span 8; grid-row: span 3; }
.vclip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vclip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; gap: 12px;
  padding: 40px 18px 14px;
  background: linear-gradient(0deg, rgba(4,4,4,.8), rgba(4,4,4,0));
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.vclip figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.vclip--big figcaption strong { font-size: 1.4rem; }
.vclip__sound {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(4,4,4,.55); backdrop-filter: blur(6px);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  transition: background .3s, color .3s;
}
.vclip__sound i { position: relative; width: 12px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat, linear-gradient(currentColor, currentColor) 5px 100% / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) 10px 100% / 2px 65% no-repeat; opacity: .5; }
.vclip__sound:hover { color: var(--ink); }
.vclip__sound[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.vclip__sound[aria-pressed="true"] i { opacity: 1; animation: eq .9s ease-in-out infinite alternate; }
@keyframes eq { to { background-size: 2px 90%, 2px 35%, 2px 100%; } }

/* Video: cover su YouTube (anteprima leggera, il player arriva al clic) */
.yt-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  margin-top: clamp(72px, 9vw, 120px); padding-top: 28px; margin-bottom: 32px;
  border-top: 1px solid var(--line);
}
.yt-head__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.yt-head .link { margin-top: 0; }
.yts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px) clamp(14px, 1.6vw, 22px); }
.yt__play, .yt iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; overflow: hidden; background: var(--bg-2);
}
.yt__play img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transition: transform 1.2s var(--ease-out), filter .5s; }
.yt__play:hover img { transform: scale(1.04); filter: grayscale(1) contrast(1.05) brightness(.95); }
.yt__btn {
  position: absolute; left: 50%; top: 50%;
  width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6); background: rgba(4,4,4,.35); backdrop-filter: blur(4px);
  transition: background .3s, transform .5s var(--ease-out);
}
.yt__btn::after { content: ""; position: absolute; left: 25px; top: 21px; border-left: 15px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; transition: border-color .3s; }
.yt__play:hover .yt__btn { background: var(--ink); transform: scale(1.06); }
.yt__play:hover .yt__btn::after { border-left-color: var(--bg); }
.yt__dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(4,4,4,.75); font-size: .7rem; font-variant-numeric: tabular-nums; }
.yt__title { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; }
.yt__meta { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }

/* Galleria */
.photos { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 17vw, 260px); gap: 10px; }
.photo { grid-column: span 4; position: relative; overflow: hidden; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.4s var(--ease-out), opacity .5s; }
.photo:hover img { transform: scale(1.04); opacity: 1; }
.p-big { grid-column: span 8; grid-row: span 2; }
.p-tall { grid-row: span 2; }
.soon { margin: 32px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted); }

/* Stampa */
.pullquote { margin: 0 0 clamp(64px, 9vw, 120px); }
.pullquote blockquote {
  margin: 0;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(46px, 6.6vw, 110px); line-height: 1;
}
.pullquote figcaption { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; max-width: 760px; }
.pullquote__tr { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; color: var(--ink-2); }
.pullquote a { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pullquote a:hover { color: var(--ink); }

.press-filter { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.press-filter button {
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: background .3s, color .3s, border-color .3s;
}
.press-filter button small { margin-left: 6px; font-size: .62rem; opacity: .6; }
.press-filter button:hover { color: var(--ink); border-color: var(--ink-2); }
.press-filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.clips {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.clip { background: var(--bg); }
.clip.is-hidden { display: none; }
.clip a {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(24px, 2.6vw, 38px);
  transition: background .4s;
}
.clip a:hover { background: #0c0c0c; }
.clip__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 3px double var(--line-2);
}
.clip__source { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.clip__meta { font-size: .66rem; letter-spacing: .14em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.clip__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.18; }
.clip__summary { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.clip__quote {
  margin: 20px 0 0; padding-left: 16px;
  border-left: 1px solid var(--line-2);
  font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.4; color: var(--ink-2);
}
.clip__tr { margin: 6px 0 0 17px; font-size: .78rem; color: var(--muted); }
.clip__more {
  display: inline-flex; gap: 8px; margin-top: auto; padding-top: 26px;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.clip__more span { transition: transform .5s var(--ease-out); }
.clip a:hover .clip__more { color: var(--ink); }
.clip a:hover .clip__more span { transform: translate(3px, -3px); }
.clip--lead { grid-column: span 2; }
.clip--lead .clip__title { font-size: clamp(30px, 3vw, 48px); font-weight: 300; line-height: 1.08; }
.clip--lead .clip__quote { font-size: clamp(20px, 1.8vw, 26px); }

/* Contatti */
.contact { padding: clamp(120px, 22vh, 240px) 0; border-top: 1px solid var(--line); }
.contact__title { margin-bottom: 48px; }
.contact__title em { color: var(--muted); }
.contact__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; gap: 14px; align-items: center;
  padding: 18px 34px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: background .4s, color .4s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.contact__social { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__social a:hover { color: var(--ink); }

.footer { border-top: 1px solid var(--line); padding: 28px 0 72px; font-size: .76rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--ink); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 48px 16px; background: rgba(0, 0, 0, .96); animation: fadeIn .4s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-size: .72rem; color: var(--muted); text-align: right; }
.lightbox__close { position: absolute; top: 16px; right: 24px; font-size: 2.4rem; font-weight: 200; line-height: 1; color: var(--ink-2); }

/* Ingresso al scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* Crediti fotografici nel footer */
.credits { margin-bottom: 20px; font-size: .74rem; color: var(--muted); }
.credits summary { cursor: pointer; letter-spacing: .16em; text-transform: uppercase; font-size: .66rem; }
.credits summary:hover { color: var(--ink); }
.credits p { margin: 14px 0 8px; }
.credits ul { margin: 0; padding-left: 18px; line-height: 1.8; }
.credits a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.credits a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .clips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; padding: 20px var(--gutter); }
  .header__role { display: none; }
  .hero__media img { object-position: 72% 30%; }
  .hero__video { object-position: 47% 40%; }
  .hero__center { padding-bottom: 104px; }
  .hero__scroll span { display: none; }
  .hero__name { flex-direction: column; align-items: center; gap: 0; width: 88vw; }
  .hero__credit { top: 96px; }

  .journey__head { top: 72px; }
  .arrow { width: 38px; height: 38px; }
  .journey__head .eyebrow { white-space: nowrap; }
  .journey__head .eyebrow__num::after { width: 14px; margin: 0 8px; }
  .journey__nav { gap: 8px; }
  .stage__shade { background: linear-gradient(0deg, rgba(4,4,4,.97) 0%, rgba(4,4,4,.75) 45%, rgba(4,4,4,.45) 100%); }
  .stage__col { right: var(--gutter); width: auto; top: 130px; bottom: 112px; justify-content: space-between; }
  .odo { font-size: clamp(88px, 28vw, 170px); }
  .step__title { font-size: clamp(30px, 8.4vw, 44px); }
  .step__text { font-size: .95rem; margin-top: 12px; }
  .stage__credit { bottom: 84px; right: var(--gutter); left: var(--gutter); text-align: right; }
  .bar { bottom: 34px; }
  .bar__ticks button { font-size: 0; padding-bottom: 12px; }
  .bar__ticks button em { font-size: 0; }
  .bar__ticks .is-active button { font-size: .58rem; }
  .bar__ticks .is-active button em { font-size: .95rem; }

  .bio { grid-template-columns: 1fr; }
  .masters__group { grid-template-columns: 1fr; gap: 12px; }
  .list li { grid-template-columns: 1fr; gap: 4px; }
  .list li:hover { padding-left: 0; }
  .upcoming { grid-template-columns: 1fr; }
  .upcoming__img { min-height: 220px; }
  .clips { grid-template-columns: 1fr; }
  .vclips { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .vclip, .vclip--big { grid-column: span 1; grid-row: auto; aspect-ratio: 16 / 9; }
  .vclip--big { grid-column: span 2; }
  .vclip figcaption { padding: 28px 12px 10px; }
  .yts { grid-template-columns: 1fr 1fr; }
  .clip--lead { grid-column: auto; }
  .photos { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .photo, .p-big, .p-tall { grid-column: span 1; grid-row: span 1; }
  .p-big { grid-column: span 2; }
}

@media (max-width: 520px) {
  .vclips { grid-template-columns: 1fr; }
  .vclip--big { grid-column: auto; }
  .yts { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
