/* Corrado Rojac — foglio di stile del sito (2026)
   Palette calda su fondo scuro, oro come accento. Contrasti verificati WCAG AA/AAA. */
@import url("../fonts/fonts.css");

:root {
  --bg: #13110f;
  --bg-2: #1b1815;
  --bg-3: #24201c;
  --line: #3a342d;
  --text: #ede6da;
  --muted: #a89f92;
  --gold: #c9a36d;
  --gold-2: #d9b885;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.75 var(--sans);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--bg); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--gold); color: var(--bg); font-weight: 700; text-decoration: none; border-radius: 2px;
}
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; }
h4 { font-size: 1.25rem; }
h2.h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; }
p { margin: 0 0 1.1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em; margin: 0 0 1.4rem;
  font: 700 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; transform-origin: left; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.5; color: var(--text); }
.muted { color: var(--muted); }

.prose { max-width: 66ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.8em; }
.prose h4 { margin-top: 1.6em; color: var(--gold-2); }
.prose strong { color: #fff8ec; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: 0 0 .55em; padding-left: .3em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 1px solid var(--gold); font-family: var(--serif); font-size: 1.3em; font-style: italic; }
.prose.dropcap > p:first-child::first-letter {
  float: left; font: italic 500 4.1em/.82 var(--serif); color: var(--gold); margin: .06em .12em 0 0;
}
.prose.list-works ul { list-style: none; padding: 0; }
.prose.list-works li { padding: .7em 0; margin: 0; border-bottom: 1px solid var(--line); }
.prose.list-works li::marker { content: none; }
@media (min-width: 1000px) {
  .prose.list-cols { max-width: none; }
  .prose.list-cols ul { columns: 2; column-gap: clamp(40px, 5vw, 80px); }
  .prose.list-cols li { break-inside: avoid; }
}

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: .8em 1.5em;
  font: 700 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--gold-2); border: 1px solid var(--gold); border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover { background: var(--gold); color: var(--bg); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--gold); color: var(--bg); }
.btn--solid:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s var(--ease), transform .45s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(19, 17, 15, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(201, 163, 109, .16); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font: 500 clamp(1.75rem, 2.3vw, 2.3rem)/1 var(--serif); color: var(--text); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 22px); }
.nav > ul { display: flex; gap: clamp(4px, 1vw, 14px); list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .55em;
  font: 400 1.08rem/1 var(--sans); letter-spacing: .02em; color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link[aria-current="page"], .nav-toggle.is-current { color: var(--gold-2); }
.nav-link:hover, .nav-toggle:hover { color: var(--gold-2); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: -12px; min-width: 250px; margin: 0; padding: 10px; list-style: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.submenu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.submenu a { display: block; padding: .75em 1em; color: var(--text); text-decoration: none; border-radius: 4px; font-size: 1.05rem; line-height: 1.3; }
.submenu a:hover, .submenu a:focus-visible { background: var(--bg-3); color: var(--gold-2); }
.submenu a[aria-current="page"] { color: var(--gold-2); }
.lang { display: flex; align-items: center; gap: 2px; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.lang a, .lang span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; font: 700 .86rem/1 var(--sans); letter-spacing: .16em; text-decoration: none; color: var(--muted); }
.lang [aria-current] { color: var(--gold-2); }
.lang a:hover { color: var(--text); }
.menu-btn { display: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
    background: none; border: 0; color: var(--text); font: 700 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  }
  .menu-btn .bars { position: relative; width: 26px; height: 12px; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 10px; }
  .menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
}

/* pannello menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; padding: calc(var(--header-h) + 24px) var(--gut) 40px; overflow-y: auto;
  background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.mobile-menu nav > a, .mobile-menu .group-title { display: block; font: 500 2rem/1.15 var(--serif); color: var(--text); text-decoration: none; padding: .25em 0; }
.mobile-menu .group { margin: 18px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.mobile-menu .group-title { font-size: .74rem; font-family: var(--sans); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding: 0 0 .6em; }
.mobile-menu .group a { display: block; padding: .45em 0; font: 500 1.6rem/1.2 var(--serif); color: var(--text); text-decoration: none; }
.mobile-menu a[aria-current="page"] { color: var(--gold-2); }
.mobile-menu .lang { border: 0; padding: 24px 0 0; margin: 0; }
.mobile-menu .group a, .mobile-menu nav > a { transform: translateY(10px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.mobile-menu.is-open .group a, .mobile-menu.is-open nav > a { transform: none; opacity: 1; }

/* ---------- hero home ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slides figure { position: absolute; inset: 0; margin: 0; }
.hero__slides { z-index: 0; overflow: hidden; }
.hero__slides figure { visibility: hidden; clip-path: inset(0 0 0 100%); z-index: 0; }
.hero__slides figure.is-active { visibility: visible; clip-path: inset(0); z-index: 2; transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1); }
.hero__slides figure.is-prev { visibility: visible; clip-path: inset(0); z-index: 1; }
.hero__slides figure.is-prev img { transform: scale(1.06) translateX(-3%); transition: transform 1.6s cubic-bezier(.77, 0, .18, 1); }
.hero__slides img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.04); }
.hero__slides figure.is-active img { animation: var(--kb) 9s cubic-bezier(.2, .5, .3, 1) forwards; }
@keyframes kbA { from { transform: scale(1.18) translate(3%, 1%); } to { transform: scale(1.04) translate(0, 0); } }
@keyframes kbB { from { transform: scale(1.04) translate(-2%, 0); } to { transform: scale(1.16) translate(2%, -1%); } }
@keyframes kbC { from { transform: scale(1.16) translate(-3%, -1%); } to { transform: scale(1.05) translate(1%, 1%); } }
@keyframes kbD { from { transform: scale(1.05) translate(2%, 1%); } to { transform: scale(1.17) translate(-2%, 0); } }
.hero__controls { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(36px, 7vh, 80px); display: grid; justify-items: end; gap: 14px; max-width: min(420px, 60vw); }
.hero__caption { margin: 0; font: italic 500 1.05rem/1.35 var(--serif); color: var(--text); text-align: right; opacity: .9; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero__caption.is-swap { opacity: 0; transform: translateY(6px); }
.hero__nav { display: flex; align-items: center; gap: 14px; }
.hero__count { white-space: nowrap; font: 700 .78rem/1 var(--sans); letter-spacing: .18em; color: var(--muted); }
.hero__count b { color: var(--gold-2); font-weight: 700; }
.hero__bars { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hero__bar { display: block; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero__bar span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(237,230,218,.28); overflow: hidden; }
.hero__bar span::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done span::after { transform: scaleX(1); }
.hero__bar.is-active span::after { animation: bar var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__bar.is-active span::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__pause { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(237,230,218,.35); background: rgba(19,17,15,.35); color: var(--text); cursor: pointer; transition: border-color .25s, color .25s; }
.hero__pause:hover { border-color: var(--gold); color: var(--gold-2); }
.hero__pause svg { width: 16px; height: 16px; }
.hero__pause .i-play, .hero.is-paused .hero__pause .i-pause { display: none; }
.hero.is-paused .hero__pause .i-play { display: block; }
@media (max-width: 700px) {
  .hero__controls { left: var(--gut); right: var(--gut); max-width: none; justify-items: start; bottom: 18px; }
  .hero__caption { display: none; }
  .hero__nav { gap: 10px; }
  .hero__bar { width: 36px; }
  .hero__bars { gap: 4px; }
  .hero .hero__content { padding-bottom: 120px; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,17,15,.55) 0%, rgba(19,17,15,.1) 28%, rgba(19,17,15,.25) 55%, rgba(19,17,15,.96) 100%),
              linear-gradient(90deg, rgba(19,17,15,.65) 0%, rgba(19,17,15,0) 60%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 11vh, 120px); }
.hero h1 { font-size: clamp(3.4rem, 10.5vw, 9.5rem); line-height: .9; margin: 0 0 .25em; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .06em .2em; margin: 0 -.06em -.2em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero__sub { font: italic 500 clamp(1.25rem, 2.4vw, 1.9rem)/1.3 var(--serif); color: var(--text); margin: 0 0 2rem; }
.scroll-cue { position: absolute; z-index: 1; right: var(--gut); bottom: clamp(56px, 11vh, 120px); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font: 700 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; writing-mode: vertical-rl; text-decoration: none; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* ---------- hero pagine interne ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 12vh, 140px)) 0 clamp(48px, 8vh, 90px); overflow: hidden; isolation: isolate; }
.page-hero--image { min-height: 64svh; display: flex; align-items: flex-end; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,15,.4), rgba(19,17,15,.2) 40%, var(--bg) 100%); }
.page-hero h1 { max-width: 16ch; }
.page-hero .subtitle { font: italic 500 clamp(1.3rem, 2.4vw, 1.9rem)/1.3 var(--serif); color: var(--gold-2); margin: -.2em 0 0; }

/* ---------- sezioni ---------- */
.section { padding: clamp(56px, 10vw, 128px) 0; position: relative; }
.section--tight { padding-top: clamp(24px, 5vw, 56px); }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split + .split { margin-top: clamp(56px, 9vw, 120px); }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--rev > .split__media { order: 2; }
.split__media { position: sticky; top: calc(var(--header-h) + 24px); }
.split--center { align-items: center; }
.split--center .split__media { position: static; }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > .split__media { order: 0; }
  .split__media { position: static; max-width: 560px; }
}

.figure { margin: 0; }
.figure img { width: 100%; border-radius: 3px; }
.figure figcaption, .caption { margin-top: .9em; font-size: .88rem; line-height: 1.55; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--gold); }
.figure--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }

.signature { margin-top: 2.6rem; display: flex; align-items: center; gap: 18px; }
.signature::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.signature b { display: block; font: 500 1.35rem/1.2 var(--serif); color: var(--text); }
.signature span { display: block; font: italic 500 1.05rem/1.3 var(--serif); color: var(--gold-2); }

.block + .block { margin-top: clamp(40px, 6vw, 72px); }
.block-title { margin-bottom: 1.2rem; }

/* ---------- galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(8px, 1.2vw, 16px); list-style: none; margin: 0; padding: 0; }
.gallery--big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery li { margin: 0; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--bg-3); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s var(--ease); filter: saturate(.9); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.65)); opacity: 0; transition: opacity .4s var(--ease); }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.05); filter: none; }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.gallery .zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(19,17,15,.75); color: var(--gold-2); opacity: 0; transform: scale(.8); transition: .35s var(--ease); }
.gallery a:hover .zoom, .gallery a:focus-visible .zoom { opacity: 1; transform: none; }
.gallery .zoom svg { width: 16px; height: 16px; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 9, 8, .97); color: var(--text); }
.lightbox::backdrop { background: rgba(10, 9, 8, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); }
.lightbox__count { font: 700 .76rem/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 96px); }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 190px); width: auto; object-fit: contain; border-radius: 2px; transition: opacity .25s; }
.lightbox__cap { padding: 16px var(--gut) 26px; text-align: center; color: var(--muted); font-size: .95rem; min-height: 4.5em; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(19,17,15,.6); color: var(--text); cursor: pointer; transition: border-color .25s, color .25s; }
.lb-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-btn svg { width: 20px; height: 20px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(8px, 2vw, 28px); } .lightbox__next { right: clamp(8px, 2vw, 28px); }

/* ---------- video ---------- */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .8s var(--ease), opacity .4s; }
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.video__icon { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(237,230,218,.7); background: rgba(19,17,15,.35); backdrop-filter: blur(4px); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.video__icon svg { width: 22px; height: 22px; margin-left: 4px; }
.video__play:hover img, .video__play:focus-visible img { transform: scale(1.04); opacity: 1; }
.video__play:hover .video__icon, .video__play:focus-visible .video__icon { transform: scale(1.08); background: var(--gold); border-color: var(--gold); color: var(--bg); }
.video figcaption { margin-top: .9em; font-size: .95rem; line-height: 1.5; color: var(--text); }
.video figcaption small { display: block; margin-top: .2em; color: var(--muted); font-size: .85rem; }
.video__note { position: absolute; z-index: 1; left: 12px; bottom: 10px; font-size: .78rem; color: var(--muted); }
.video--feature figcaption { font: 500 1.35rem/1.3 var(--serif); }

/* player video a tutto schermo */
.player { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 9, 8, .96); color: var(--text); }
.player::backdrop { background: rgba(10, 9, 8, .9); }
.player[open] { display: grid; place-items: center; animation: lbIn .4s var(--ease); }
.player__inner { width: min(1280px, 92vw); transform: scale(.96); opacity: 0; animation: playerIn .55s var(--ease) .05s forwards; }
@keyframes playerIn { to { transform: none; opacity: 1; } }
.player__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.player__title { margin: 0; font: 500 clamp(1.1rem, 2vw, 1.5rem)/1.3 var(--serif); }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 3px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__icon::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold-2); opacity: 0; }
.video__play:hover .video__icon::before, .video__play:focus-visible .video__icon::before { animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- home ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); }
.intro .lead::first-line { color: var(--gold-2); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; color: var(--text); text-decoration: none; isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,15,0) 35%, rgba(19,17,15,.92)); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 28px); }
.card__body .eyebrow { margin-bottom: .8rem; }
.card__title { display: flex; justify-content: space-between; align-items: center; font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--serif); }
.card__title svg { width: 22px; height: 22px; color: var(--gold-2); transition: transform .4s var(--ease); }
.card:hover img, .card:focus-visible img { transform: scale(1.06); }
.card:hover .card__title svg, .card:focus-visible .card__title svg { transform: translateX(6px); }
.card:hover { color: var(--text); }

.perf { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.perf__side { display: grid; gap: clamp(20px, 3vw, 32px); align-content: start; }
@media (max-width: 860px) { .perf { grid-template-columns: 1fr; } }

.quote { position: relative; overflow: hidden; isolation: isolate; }
.quote__bg { position: absolute; inset: -10% 0; z-index: -2; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 70% 50%, transparent, var(--bg) 75%); }
.quote blockquote { margin: 0; font: italic 500 clamp(1.4rem, 2.5vw, 2.05rem)/1.45 var(--serif); color: var(--text); }
.quote blockquote p::first-letter { color: var(--gold-2); }
.quote blockquote::before { content: "“"; display: block; height: .55em; font-size: 3.6em; line-height: 1; color: var(--gold); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .quote__bg img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
  }
}

.album { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .album { grid-template-columns: 1fr; } }
.album__cover { position: relative; max-width: 420px; }
.album__cover img { width: 100%; border-radius: 2px; box-shadow: 0 40px 80px rgba(0,0,0,.55); }
.album__cover::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: 2px; z-index: -1; opacity: .6; }
.album h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.album__meta { color: var(--muted); font-size: .95rem; letter-spacing: .02em; }
.stream { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.stream a { display: inline-flex; align-items: center; min-height: 44px; padding: .5em 1.1em; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .92rem; text-decoration: none; transition: border-color .25s, color .25s, background .25s; }
.stream a:hover { border-color: var(--gold); color: var(--gold-2); }

.vnote { margin: 28px 0 0; font-size: .88rem; color: var(--muted); }
.vnote a { color: var(--gold-2); }
.section--tight .vnote { margin: 0 0 28px; }

/* prossima pagina */
.next { border-top: 1px solid var(--line); }
.next a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(36px, 6vw, 72px) 0; color: var(--text); text-decoration: none; }
.next .eyebrow { margin: 0 0 .7rem; }
.next .t { font: 500 clamp(1.8rem, 4vw, 3.4rem)/1.05 var(--serif); }
.next svg { flex: none; width: clamp(36px, 5vw, 56px); height: clamp(36px, 5vw, 56px); color: var(--gold); transition: transform .5s var(--ease); }
.next a:hover svg { transform: translateX(10px); }
.next a:hover .t { color: var(--gold-2); }

/* ---------- footer ---------- */
.site-footer { background: #0e0c0b; border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 700 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .55em; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); text-decoration: underline; }
.footer-brand { font: 500 2.1rem/1 var(--serif); margin: 0 0 .6rem; }
.footer-brand + p { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.15rem; }
.social { display: flex; gap: 10px; margin-top: 1.4rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); transition: border-color .25s, color .25s; }
.social a:hover { border-color: var(--gold); color: var(--gold-2); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- passaggio tra le pagine ----------
   sipario scuro con una linea d'oro: si chiude uscendo, si apre entrando (funziona anche aprendo i file dal disco) */
.curtain { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .8s cubic-bezier(.4,0,.2,1), visibility 0s .8s; }
.curtain__line { width: 140px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .6s var(--ease); }
html.is-entering .curtain, html.is-leaving .curtain { opacity: 1; visibility: visible; transition: opacity .45s cubic-bezier(.4,0,.2,1), visibility 0s; }
html.is-leaving .curtain__line { transform: scaleX(1); }
html.is-entering .curtain__line { transform: scaleX(1); transition: none; }
html.is-entering main, html.is-entering .site-header { opacity: 0; transform: translateY(14px); }
main { transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.site-header { transition: background .4s var(--ease), transform .45s var(--ease), border-color .4s, opacity .7s var(--ease) .12s; }
html.is-entering .site-header { transform: none; }

/* ---------- animazioni di ingresso ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .eyebrow[data-reveal]::before { transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
  .js .eyebrow[data-reveal].is-in::before { transform: scaleX(1); }
  .js .hero h1 .line > span { transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; animation-delay: var(--d, .2s); }
  .js .hero [data-hero] { opacity: 0; animation: fade 1.2s var(--ease) forwards; animation-delay: var(--d, .8s); }
  @keyframes rise { to { transform: none; } }
  @keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__slides figure.is-active img { animation: none; }
}

@media print {
  .site-header, .mobile-menu, .site-footer, .next, .video__play, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
}
.footer-bottom a, .vnote a { text-decoration: underline; text-underline-offset: .2em; }
