/* ==========================================================================
   Matteo Staffini — foglio di stile
   ========================================================================== */

:root {
  --ink: #15110e;
  --ink-2: #1e1813;
  --ink-3: #2a221b;
  --paper: #f7f2ea;
  --paper-2: #efe7da;
  --paper-3: #e4d9c6;
  --text: #2a221b;
  --muted: #6b5f52;
  --on-dark: #f3ece1;
  --on-dark-muted: #ab9d8b;
  --gold: #c4a36c;
  --gold-soft: rgba(196, 163, 108, .35);
  --gold-ink: #7a5b2c;
  --line: rgba(42, 34, 27, .14);
  --line-dark: rgba(243, 236, 225, .14);

  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-curtain: cubic-bezier(.7, 0, .2, 1);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(17px, 1.1vw + 10px, 19.5px);
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Lingua: mostra solo i testi della lingua attiva */
html[data-lang="it"] body [lang="en"],
html[data-lang="en"] body [lang="it"] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; font-family: var(--sans); }
.skip:focus { left: 8px; }
.center { text-align: center; }

/* ---------- Tipografia ricorrente ---------- */
.label, .label-sm, .eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gold-ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.label-sm { font-size: 11px; letter-spacing: .2em; margin-bottom: 14px; }

.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--gold-ink); }

.section { padding: var(--section) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head-row .section-intro { margin-top: 18px; }
.section-intro { color: var(--muted); font-size: 1.08em; margin: 0; max-width: 620px; }

/* Sezioni scure */
.dark { background: var(--ink); color: var(--on-dark); }
.dark .label, .dark .label-sm { color: var(--gold); }
.dark .h2 em { color: var(--gold); }
.dark .section-intro { color: var(--on-dark-muted); }

/* ---------- Pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { color: var(--text); border-color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--paper); }

.link-arrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow::after { content: "→"; transition: transform .3s; letter-spacing: 0; }
.link-arrow:hover::after { transform: translateX(4px); }
.dark .link-arrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .4s, color .4s, box-shadow .4s, height .4s, transform .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 242, 234, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 64px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--display); font-style: italic; font-size: 17px; color: var(--gold);
  letter-spacing: .02em;
}
.is-scrolled .brand-mark { color: var(--gold-ink); border-color: var(--gold-ink); }
.brand-name { font-family: var(--display); font-size: 23px; font-weight: 500; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.lang-switch { display: flex; align-items: center; gap: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; padding-left: clamp(8px, 1vw, 14px); border-left: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.lang-switch span { opacity: .4; }
.lang-switch button { background: none; border: 0; padding: 6px 4px; cursor: pointer; opacity: .55; letter-spacing: .12em; font-size: 12px; font-family: var(--sans); font-weight: 500; }
.lang-switch button[aria-pressed="true"] { opacity: 1; color: var(--gold); }
.is-scrolled .lang-switch button[aria-pressed="true"] { color: var(--gold-ink); }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; content: ""; transition: transform .35s, top .35s, opacity .2s;
}
.menu-lines { top: 50%; }
.menu-lines::before { left: 0; right: 0; top: -7px; }
.menu-lines::after { left: 0; right: 0; top: 7px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-lines::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 980px); min-height: min(100svh, 980px);
  display: flex; align-items: center;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(196, 163, 108, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(122, 91, 44, .18), transparent 70%),
    var(--ink);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 40px) 0 110px;
  overflow: hidden;
}
.hero::after { /* grana leggera */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(40px, 6vw, 90px); position: relative; z-index: 1; }
.eyebrow { color: var(--gold); margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero-name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4rem, 10.5vw, 9.4rem);
  line-height: .86; letter-spacing: -.025em;
  margin: 0 0 34px;
}
.hero-name > span { display: block; }
.hero-name em { display: block; font-style: italic; color: var(--gold); padding-left: .55em; }
.hero-lead { font-size: 1.14em; line-height: 1.6; color: var(--on-dark-muted); max-width: 31em; margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure { margin: 0; position: relative; justify-self: center; width: min(430px, 100%); will-change: transform; }
/* --mx / --my (da -1 a 1) seguono il mouse sulla prima schermata: i tre livelli
   (cerchi, foto, cornice) si spostano di pochi pixel in direzioni diverse */
.rosette {
  position: absolute; width: 150%; left: -25%; top: 50%;
  translate: calc(var(--mx, 0) * 16px) calc(-50% + var(--my, 0) * 16px);
  fill: none; stroke: var(--gold); stroke-width: .8; opacity: .22; pointer-events: none;
  animation: spin 240s linear infinite;
  transition: translate 1.2s var(--ease);
}
.arch {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  translate: calc(var(--mx, 0) * -7px) calc(var(--my, 0) * -7px);
  transition: translate 1.2s var(--ease);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.9) contrast(1.04); }
.arch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 17, 14, .45)); pointer-events: none;
}
.hero-figure::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  pointer-events: none;
  translate: calc(var(--mx, 0) * 6px) calc(var(--my, 0) * 6px);
  transition: translate 1.2s var(--ease);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 1;
  font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--on-dark-muted); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }

/* Entrata della prima schermata */
.js .intro { opacity: 0; animation: rise 1.1s var(--ease) forwards; }
.js .intro-1 { animation-delay: .15s; }
.js .intro-2 { animation-delay: .3s; }
.js .intro-3 { animation-delay: .5s; }
.js .intro-4 { animation-delay: .75s; }
.js .intro-5 { animation-delay: .95s; }
/* dopo l'entrata la foto "respira": avvicinamento lentissimo, come una ripresa */
.js .arch img { animation: unveil 1.6s var(--ease-curtain) .2s both, settle 3.4s var(--ease) .2s both, breathe 22s ease-in-out 3.6s infinite alternate; }
.hero.is-offscreen .arch img, .hero.is-offscreen .rosette { animation-play-state: paused; }
.js .hero-figure::before { animation: fade 1.4s ease 1.1s both; }
.js .scroll-cue { animation: fade 1s ease 1.6s both; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.07) translate3d(-1.2%, -1.6%, 0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Citazioni ---------- */
.press { background: var(--paper-2); padding: clamp(70px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.press-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.press-side { display: grid; gap: clamp(36px, 4vw, 52px); }
.quote { margin: 0; position: relative; }
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 1.9vw, 1.65rem); line-height: 1.35; margin: 0 0 18px; color: var(--text); }
.quote em { font-style: normal; }
.quote-lg { padding-top: 34px; }
.quote-lg::before {
  content: "“"; position: absolute; top: -40px; left: -8px;
  font-family: var(--display); font-size: 150px; line-height: 1; color: var(--gold); opacity: .55;
}
.quote-lg p { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.28; }
.quote footer { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.quote footer > span { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; letter-spacing: .16em; font-size: 11px; }
.press-side .quote { padding-left: 24px; border-left: 1px solid var(--gold); }

/* ---------- Biografia ---------- */
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.bio-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.bio-photo { margin: 36px 0 0; }
.bio-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: sepia(.1) saturate(.9); }
.bio-photo figcaption { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.prose p { margin: 0 0 1.25em; hyphens: auto; }
.prose .dropcap::first-letter {
  font-family: var(--display); font-weight: 500; color: var(--gold-ink);
  float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0;
}
.prose .dropcap { font-size: 1.1em; }
.prose-note {
  font-family: var(--display); font-style: italic; font-size: 1.25em; color: var(--gold-ink);
  border-top: 1px solid var(--line); padding-top: 1.1em; margin-top: 2em !important;
}

/* ---------- In evidenza: Legnani e Carcassi ---------- */
.feature { background: var(--ink); overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature-intro { color: var(--on-dark-muted); font-size: 1.1em; max-width: 34em; margin: 0 0 36px; }
.feature-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line-dark); }
.feature-list li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.f-when { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.feature-list p { margin: 0; font-family: var(--display); font-size: 1.32rem; line-height: 1.38; color: var(--on-dark); }
.feature-list em { color: var(--gold); }
.feature-photo { margin: 0; will-change: transform; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- In cifre ---------- */
.stats { background: var(--paper-2); padding: clamp(60px, 8vw, 100px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 4px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(3rem, 5.6vw, 5rem); line-height: 1; color: var(--gold-ink);
  font-variant-numeric: lining-nums; margin-bottom: 14px;
}
.stat p { margin: 0; color: var(--muted); font-size: .98em; line-height: 1.45; max-width: 15em; }

/* ---------- Tappe ---------- */
.milestones { background: var(--ink-2); }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
}
.timeline li {
  padding: 30px 24px 38px 0; position: relative;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 0% 1px no-repeat,
    linear-gradient(var(--line-dark), var(--line-dark)) 0 0 / 100% 1px no-repeat;
}
.timeline li::before { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transition: transform .6s var(--ease) .5s; }
.timeline li.is-in { background-size: 100% 1px, 100% 1px; }
.timeline .year { display: block; font-family: var(--display); font-size: 2.7rem; line-height: 1; color: var(--gold); margin-bottom: 14px; font-feature-settings: "lnum"; }
.timeline p { margin: 0; color: var(--on-dark-muted); font-size: .95em; line-height: 1.5; }
.timeline em { color: var(--on-dark); }

/* ---------- Ensemble ---------- */
.duos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.duo { background: var(--paper-2); display: flex; flex-direction: column; }
.duo-img { overflow: hidden; background: var(--paper-3); aspect-ratio: 16 / 10; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) saturate(.85); transition: transform 1s var(--ease), filter .6s; }
.duo-body { padding: clamp(24px, 2.6vw, 36px); }
.duo-body p[lang] { font-size: .95em; line-height: 1.55; margin: 0; }
.duo-text { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; justify-content: flex-end; min-height: 360px; }
.duo-text .card-meta { color: var(--gold); }
.duo-text p[lang] { color: var(--on-dark-muted); }
.duo-year {
  position: absolute; top: .08em; right: .18em;
  font-family: var(--display); font-style: italic; font-size: clamp(7rem, 12vw, 10rem); line-height: 1;
  color: rgba(196, 163, 108, .16); pointer-events: none;
}
.card-meta { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 16px; }
.card-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.08; margin: 0 0 8px; }
.card-who { font-style: italic; color: var(--muted); margin: 0 0 16px; }

.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.group { padding: 26px 24px 26px 0; }
.group + .group { padding-left: 24px; border-left: 1px solid var(--line); }
.group .card-meta { margin-bottom: 8px; }
.group-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; margin: 0; }

.collab { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; }
.collab-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; }
.collab-list li { font-family: var(--display); font-size: 1.45rem; line-height: 1.3; }
.collab-list li:not(:last-child)::after { content: "·"; color: var(--gold); margin: 0 .55em; }
.collab-list li > span { font-family: var(--serif); font-style: italic; font-size: .62em; color: var(--muted); margin-left: .3em; }

/* ---------- Composizioni ---------- */
.works { background: var(--paper-2); }
.works-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.works-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.work {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .35s, background-color .35s;
}
.work:hover { padding-left: 10px; }
.work-year { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; color: var(--muted); font-feature-settings: "tnum"; }
.work-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.work-title { font-family: var(--display); font-style: italic; font-size: 1.55rem; line-height: 1.15; }
.work-instr { font-size: .92em; color: var(--muted); }
.tag {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  color: var(--gold-ink); border: 1px solid var(--gold-soft); padding: 5px 10px;
}
.tag-muted { color: var(--muted); border-color: var(--line); }
.works-aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 40px); }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.rec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.rec-list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; font-size: .95em; line-height: 1.45; }
.rec-year { font-family: var(--display); font-size: 1.35rem; color: var(--gold-ink); line-height: 1.1; }
.rec-list strong { font-weight: 500; }
.dedicated { font-family: var(--display); font-size: 1.35rem; line-height: 1.45; margin: 0; }

/* ---------- Nastro dei compositori ---------- */
.marquee { overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(18px, 2.6vw, 30px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display); font-style: italic; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.1;
  color: var(--gold-ink); white-space: nowrap; padding-right: .6em;
}
.marquee span::after { content: "·"; font-style: normal; color: var(--gold); padding-left: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Video ---------- */
.video { background: var(--ink); }
.player { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.player-main { margin: 0; }
.player-screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player-screen .video-thumb, .player-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb { display: block; padding: 0; border: 0; cursor: pointer; background: #000 center / cover no-repeat; animation: fade .6s ease both; }
.video-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,17,14,.05), rgba(21,17,14,.5)); transition: opacity .4s; }
.video-thumb:hover::before { opacity: .45; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(21, 17, 14, .55); transition: transform .35s, background-color .35s;
}
.play::before { /* onda leggera attorno al pulsante */
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold);
  animation: ping 2.6s var(--ease) infinite;
}
.play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--gold);
}
.video-thumb:hover .play { transform: translate(-50%, -50%) scale(1.07); background: rgba(196, 163, 108, .2); }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.player-main figcaption { padding-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.v-author { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.v-title { font-family: var(--display); font-style: italic; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; }
.v-note { color: var(--on-dark-muted); font-size: .92em; margin-top: 4px; }

.player-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pl-item {
  display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; width: 100%;
  padding: 10px 12px 10px 10px; background: transparent; border: 0; border-left: 2px solid transparent;
  text-align: left; cursor: pointer; color: var(--on-dark); transition: background-color .3s, border-color .3s;
}
.pl-item:hover { background: rgba(243, 236, 225, .05); }
.pl-item.is-current { background: rgba(196, 163, 108, .1); border-left-color: var(--gold); }
.pl-thumb { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; }
.pl-now {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px;
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(21, 17, 14, .78); color: var(--gold);
}
.pl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-text .v-author { font-size: 10px; }
.pl-title { font-family: var(--display); font-style: italic; font-size: 1.12rem; line-height: 1.2; }

/* ---------- Fascia fotografica ---------- */
.photo-band { margin: 0; position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--ink); }
.photo-band img {
  position: absolute; left: 0; top: -10%; width: 100%; height: 120%;
  object-fit: cover; object-position: 50% 35%; will-change: transform;
}
.photo-band figcaption {
  position: absolute; right: var(--gutter); bottom: 12px; z-index: 1;
  font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(243, 236, 225, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

/* ---------- Concerti ---------- */
.concert-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.concert { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.c-date { display: flex; flex-direction: column; }
.c-day { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-feature-settings: "lnum"; }
.c-month { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.c-place { font-family: var(--display); font-size: 1.55rem; line-height: 1.2; margin: 0; }
.c-city { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-top: 4px; }
.c-prog { margin: 8px 0 0; color: var(--muted); font-style: italic; }
.c-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.c-time { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.concert-empty { padding: 44px 0; border-bottom: 1px solid var(--line); }
.concert-empty p { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; }
.concert-empty p + p { font-family: var(--serif); font-size: 1em; color: var(--muted); margin-top: 10px; }
.concert-empty a { color: var(--gold-ink); }

.archive { margin-top: 48px; }
.archive summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
  padding: 12px 0;
}
.archive summary::-webkit-details-marker { display: none; }
.archive summary::after { content: "+"; font-size: 18px; color: var(--gold-ink); transition: transform .3s; letter-spacing: 0; }
.archive[open] summary::after { transform: rotate(45deg); }
.archive .concert-list { margin-top: 18px; animation: fade .5s ease both; }
.is-past .concert { opacity: .72; }
.is-past .c-day { font-size: 2rem; }

/* ---------- Galleria ---------- */
.gallery { background: var(--paper); padding-top: 0; }
.masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.m-item {
  display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0; padding: 0; border: 0; background: var(--paper-3);
  position: relative; overflow: hidden; cursor: zoom-in; text-align: left;
}
.m-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease), filter .5s; filter: sepia(.12) saturate(.88); }
.m-item:hover img { transform: scale(1.05); filter: none; }
.m-cap {
  position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: var(--on-dark);
  font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4;
  background: linear-gradient(transparent, rgba(21, 17, 14, .8));
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s;
}
.m-item:hover .m-cap, .m-item:focus-visible .m-cap { opacity: 1; transform: none; }

.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none;
  background: rgba(15, 12, 10, .96); color: var(--on-dark);
}
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; animation: fade .35s ease both; }
.lightbox[open] figure { animation: zoomin .5s var(--ease) both; }
.lightbox::backdrop { background: rgba(15, 12, 10, .9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 0; }
.lightbox img { max-height: 78vh; max-width: 100%; width: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); transition: opacity .35s ease; }
.lightbox img.is-loading { opacity: 0; }
.lightbox figcaption { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); text-align: center; white-space: pre-wrap; padding: 0 8px; line-height: 1.6; }
.lb-btn { background: none; border: 0; color: var(--on-dark); font-family: var(--display); font-size: 56px; line-height: 1; cursor: pointer; width: 64px; height: 64px; justify-self: center; opacity: .65; transition: opacity .3s, color .3s; }
.lb-btn:hover { opacity: 1; color: var(--gold); }
.lb-close { position: absolute; top: 14px; right: 16px; font-size: 44px; }
@keyframes zoomin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Contatti ---------- */
.contact { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.contact-intro { color: var(--on-dark-muted); max-width: 31em; margin: 0 0 40px; }
.contact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.contact-list dt { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list dd { margin: 0; font-family: var(--display); font-size: 1.45rem; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.04); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--display); font-size: 24px; color: var(--on-dark); letter-spacing: 0; }
.footer-name em { color: var(--gold); }
.footer-credit { display: block; margin-top: 6px; font-size: 11px; opacity: .75; }
.to-top { text-decoration: none; text-transform: uppercase; letter-spacing: .2em; }
.to-top:hover { color: var(--gold); }

/* ---------- Comparsa allo scorrimento ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), background-size 1.4s var(--ease-curtain);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .timeline li::before { transform: scale(0); }
.js .timeline li.is-in::before { transform: scale(1); }
.timeline li.reveal:nth-child(5n+2), .duos .reveal:nth-child(2), .stats .reveal:nth-child(2), .feature-list .reveal:nth-child(2) { --d: .1s; }
.timeline li.reveal:nth-child(5n+3), .duos .reveal:nth-child(3), .stats .reveal:nth-child(3), .feature-list .reveal:nth-child(3) { --d: .2s; }
.timeline li.reveal:nth-child(5n+4), .stats .reveal:nth-child(4) { --d: .3s; }
.timeline li.reveal:nth-child(5n+5) { --d: .4s; }

/* Immagini che si svelano come un sipario */
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-curtain); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease), filter .6s; }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
.duo:hover .duo-img img, .js .duo:hover .duo-img.is-in img { transform: scale(1.04); filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .intro, .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { transform: none; }
  .js .timeline li::before { transform: none; }
  .timeline li { background-size: 100% 1px, 100% 1px; }
  .marquee-track span:nth-child(n+10) { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: .12em; font-size: 11.5px; }
  .brand-name { display: none; }
  .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group:nth-child(3) { padding-left: 0; border-left: 0; }
  .group:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo-text { grid-column: 1 / -1; min-height: 240px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature-list li { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand-name { display: inline; font-size: 21px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 90px var(--gutter) 40px;
    background: var(--ink); color: var(--on-dark);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: var(--on-dark); }
  .menu-open .site-header.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .brand { position: relative; z-index: 60; }
  .menu-open .brand-mark { color: var(--gold); border-color: var(--gold); }
  .menu-open .progress { opacity: 0; }
  .menu-open { overflow: hidden; }
  .nav a { font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 2.3rem; font-weight: 400; padding: 4px 0; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--gold); }
  .menu-open .nav a { animation: rise .6s var(--ease) both; }
  .menu-open .nav a:nth-child(2) { animation-delay: .04s; }
  .menu-open .nav a:nth-child(3) { animation-delay: .08s; }
  .menu-open .nav a:nth-child(4) { animation-delay: .12s; }
  .menu-open .nav a:nth-child(5) { animation-delay: .16s; }
  .menu-open .nav a:nth-child(6) { animation-delay: .2s; }
  .menu-open .nav a:nth-child(7) { animation-delay: .24s; }
  .lang-switch { border: 0; padding: 24px 0 0; font-size: 14px; }
  .lang-switch button { font-size: 14px; }
  .is-scrolled .lang-switch button[aria-pressed="true"], .lang-switch button[aria-pressed="true"] { color: var(--gold); }

  .hero { padding-top: calc(var(--header-h) + 30px); padding-bottom: 80px; }
  .scroll-cue { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-figure { order: -1; width: min(300px, 74vw); margin-top: 10px; }
  .hero-name em { padding-left: .4em; }

  .press-grid, .bio-grid, .works-grid, .contact-grid, .feature-grid, .player { grid-template-columns: 1fr; }
  .bio-aside, .works-aside { position: static; }
  .bio-photo { max-width: 460px; }
  .feature-photo { max-width: 460px; order: -1; }
  .contact-photo { max-width: 360px; }
  .collab { grid-template-columns: 1fr; gap: 6px; }
  .photo-band { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
  .scroll-cue { display: none; }
  .hero { padding-top: calc(var(--header-h) + 16px); padding-bottom: 64px; }
  .hero-grid { gap: 30px; }
  .hero-figure { width: min(220px, 58vw); }
  .hero-figure::before { inset: -10px -10px 10px 10px; }
  .eyebrow { letter-spacing: .16em; font-size: 11px; margin-bottom: 18px; }
  .eyebrow::before { display: none; }
  .hero-name { margin-bottom: 24px; }
  .hero-lead { margin-bottom: 30px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .duos { grid-template-columns: 1fr; }
  .duo-text { min-height: 220px; }
  .group { padding: 18px 12px 18px 0; }
  .group + .group { padding-left: 14px; }
  .group:nth-child(3) { padding-left: 0; }
  .group-name { font-size: 1.35rem; }
  .stat { padding: 4px 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding-right: 0; display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; }
  .timeline .year { font-size: 2rem; margin: 0; }
  .work { grid-template-columns: 52px 1fr; gap: 6px 14px; }
  .work .tag { grid-column: 2; justify-self: start; }
  .work-title { font-size: 1.35rem; }
  .pl-item { grid-template-columns: 104px 1fr; gap: 12px; }
  .play { width: 72px; height: 72px; }
  .concert { grid-template-columns: 84px 1fr; gap: 8px 16px; align-items: start; }
  .c-side { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 16px; }
  .c-day { font-size: 2rem; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-band { aspect-ratio: 4 / 3; }
  .photo-band img { object-position: 74% 30%; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
  .lb-btn { width: 44px; font-size: 42px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
