/* ══════════════════════════════════════════
   ALMOST FAMOUS — design system
   ══════════════════════════════════════════ */
:root {
  --bg: #0a0a0c;
  --surface: #131316;
  --surface-2: #1b1b20;
  --text: #f2efe9;
  --muted: #a09a8e;
  --accent: #d4a24e;
  --accent-soft: rgba(212, 162, 78, .14);
  --display: "Anton", sans-serif;
  --serif: "Cormorant Garamond", serif;
  --body: "Manrope", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
::selection { background: var(--accent); color: #0a0a0c; }

/* ── reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ══════════ NAV ══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 12, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: .7rem;
  border-bottom-color: rgba(242, 239, 233, .08);
}
.nav__brand { display: flex; align-items: center; gap: .8rem; }
.nav__logo-img {
  height: 46px;
  width: auto;
  transition: height .4s;
}
.nav.is-scrolled .nav__logo-img { height: 38px; }
.nav__name {
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem;
}
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__links a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  color: var(--text) !important;
  border: 1px solid var(--accent);
  padding: .55em 1.1em;
  transition: background .3s, color .3s;
}
.nav__cta:hover { background: var(--accent); color: #0a0a0c !important; }
.nav__burger { display: none; }

/* ══════════ HERO ══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg, .hero__bg .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.2s ease;
}
.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.14); }
  to   { transform: scale(1.02); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,10,12,.25) 0%, rgba(10,10,12,.72) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 28%),
    linear-gradient(to bottom, rgba(10,10,12,.55) 0%, transparent 22%);
}
.hero__content { position: relative; z-index: 2; padding: 0 1.5rem; max-width: 1100px; }
.hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.2rem, 15vw, 12.5rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.hero__line { display: block; overflow: hidden; }
.hero__line span {
  display: block;
  transform: translateY(110%);
  animation: riseUp 1.1s var(--ease) forwards;
}
.hero__line:nth-child(2) span { animation-delay: .15s; }
@keyframes riseUp { to { transform: none; } }
.hero__tagline {
  margin-top: 1.8rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--muted);
  font-weight: 300;
  letter-spacing: .04em;
}
.hero__tagline em { font-size: 1.15em; }
.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  display: block;
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── buttons ── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1em 2em;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent); color: #0a0a0c; }
.btn--solid:hover { background: #e6b968; border-color: #e6b968; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--accent-soft); }

/* ══════════ MARQUEE ══════════ */
.marquee {
  border-block: 1px solid rgba(242, 239, 233, .1);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--surface);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ══════════ SECTION HEADS ══════════ */
.section-head {
  text-align: center;
  padding: clamp(4.5rem, 9vw, 8rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}
.section-head--left { text-align: left; padding: 0 0 2rem; margin: 0; }
.section-head__eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-head__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  text-transform: uppercase;
  line-height: 1.02;
}
.section-head__title em { text-transform: none; letter-spacing: .01em; }
.section-head__sub { margin-top: 1rem; color: var(--muted); }

/* ══════════ FILMS ══════════ */
.film {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 5vw, 4rem);
  overflow: hidden;
}
.film + .film { border-top: 1px solid rgba(242, 239, 233, .07); }
.film__backdrop {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  opacity: .16;
  filter: saturate(.6);
  will-change: transform;
  pointer-events: none;
}
.film::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 45%, transparent 65%, var(--bg) 100%),
              linear-gradient(to bottom, var(--bg), transparent 25%, transparent 75%, var(--bg));
  pointer-events: none;
}
.film__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.film--alt .film__inner { grid-template-columns: 1fr minmax(260px, 400px); }
.film--alt .film__poster { order: 2; }
.film--alt .film__info { order: 1; }

.film__poster {
  position: relative;
  transform-style: preserve-3d;
  perspective: 900px;
}
.film__poster img {
  width: 100%;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .75);
  transition: transform .5s var(--ease), box-shadow .5s;
  will-change: transform;
}
.film__badge {
  position: absolute;
  top: 1rem; left: -0.6rem;
  z-index: 3;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55em 1em;
  background: var(--accent);
  color: #0a0a0c;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.film__badge--netflix { background: #e50914; color: #fff; }
.film__badge--prime { background: #00a8e1; color: #04121a; }
.film__badge--award { background: var(--accent); }
.film__badge--top { top: -0.85rem; }
.film__badge--bottom { top: auto; bottom: -0.85rem; }

.film__meta {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}
.film__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.film__synopsis {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 300;
  max-width: 56ch;
  color: #d8d4cb;
  margin-bottom: 1.8rem;
}
.film__credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .9rem 2rem;
  margin-bottom: 1.6rem;
  max-width: 640px;
}
.film__credits dt {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .15rem;
}
.film__credits dd { font-size: .9rem; line-height: 1.5; }
.film__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.6rem;
  max-width: 52ch;
}
.film__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* gallery strip */
.film__gallery {
  position: relative;
  z-index: 2;
  display: flex;
  gap: .8rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  max-width: 1280px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .8rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.film__gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.film__gallery img {
  height: clamp(150px, 22vw, 230px);
  width: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
  filter: saturate(.85);
  transition: filter .4s, transform .4s var(--ease);
  cursor: zoom-in;
}
.film__gallery img:hover { filter: saturate(1.1); transform: translateY(-4px); }

/* ══════════ SVILUPPO ══════════ */
.dev { background: var(--surface); border-block: 1px solid rgba(242,239,233,.07); padding-bottom: clamp(4rem, 8vw, 7rem); }
.dev__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 460px));
  gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
  padding: 0 clamp(1.2rem, 5vw, 4rem);
}
.dev__card {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.dev__card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .8s;
}
.dev__card:hover img { transform: scale(1.06); filter: brightness(.65); }
.dev__card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem;
  background: linear-gradient(to top, rgba(10,10,12,.92), transparent);
}
.dev__status {
  display: inline-block;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: .35em .8em;
  margin-bottom: .6rem;
}
.dev__card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.dev__card--wide { grid-column: 1 / -1; }
.dev__card--wide img { aspect-ratio: 1816 / 1180; }

/* ══════════ CHI SIAMO ══════════ */
.about { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 3rem) clamp(4rem, 8vw, 7rem); }
.about__body { max-width: 820px; margin: 0 auto; text-align: center; }
.about__lead {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
}
.about__lead em { font-size: 1.1em; }
.about__text { margin-top: 1.4rem; color: var(--muted); }
.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(242,239,233,.1);
  border: 1px solid rgba(242,239,233,.1);
  margin: clamp(3rem, 6vw, 5rem) 0;
}
.stat {
  background: var(--bg);
  padding: 2.2rem 1.4rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.1;
}
.stat__label {
  display: block;
  margin-top: .5rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__team-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.2rem;
}
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.team__card {
  background: var(--surface);
  border: 1px solid rgba(242,239,233,.08);
  padding: 2rem 1.4rem 1.7rem;
  text-align: center;
  transition: transform .45s var(--ease), border-color .45s, background .45s;
}
.team__card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface-2);
}
.team__initials {
  display: inline-grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: .05em;
  margin-bottom: 1.1rem;
}
.team__photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid var(--accent);
  margin: 0 auto 1.1rem;
  filter: grayscale(28%);
  transition: filter .45s;
}
.team__card:hover .team__photo { filter: grayscale(0%); }
.team__card h4 { font-size: .98rem; font-weight: 700; letter-spacing: .02em; }
.team__card p {
  margin-top: .35rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════ PRODUZIONE ESECUTIVA ══════════ */
.exec { background: var(--surface); border-block: 1px solid rgba(242,239,233,.07); }
.exec__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.exec__text p { color: var(--muted); margin-bottom: 1.1rem; max-width: 58ch; }
.exec__list { list-style: none; margin-top: 1.6rem; }
.exec__list li {
  padding: .85rem 0 .85rem 1.8rem;
  border-bottom: 1px solid rgba(242,239,233,.09);
  position: relative;
  font-weight: 500;
}
.exec__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
}
.exec__img img {
  width: 100%;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.7);
}
.exec__caption {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.btn--small { padding: .7em 1.4em; font-size: .72rem; }

/* ══════════ PRODUZIONE AI ══════════ */
.ai { padding-bottom: clamp(4rem, 8vw, 7rem); }
.ai__body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}
.ai__body p {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: #d8d4cb;
}
.ai__body .ai__claim {
  margin-top: clamp(1.6rem, 3vw, 2.3rem);
  padding-top: clamp(1.4rem, 2.5vw, 1.9rem);
  border-top: 1px solid rgba(242,239,233,.14);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.3;
  color: var(--accent);
  text-wrap: balance;
}
.ai__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
}
.ai__card {
  border: 1px solid rgba(242,239,233,.1);
  background: var(--surface);
  padding: 2rem 1.6rem;
  transition: transform .45s var(--ease), border-color .45s;
}
.ai__card:hover { transform: translateY(-6px); border-color: var(--accent); }
.ai__card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .6rem;
  color: var(--accent);
}
.ai__card p { font-size: .88rem; color: var(--muted); }
.ai__cta { text-align: center; margin-top: clamp(2.2rem, 4vw, 3.2rem); }

/* ══════════ COLLABORAZIONI ══════════ */
.collab {
  background: var(--surface);
  border-block: 1px solid rgba(242,239,233,.07);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.collab__group {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
}
.collab__group + .collab__group { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.collab__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.collab__label::before,
.collab__label::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 110px;
  background: rgba(242,239,233,.16);
}
.collab__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 340px));
  justify-content: center;
  align-items: start;
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.collab__card {
  border: 1px solid rgba(242,239,233,.1);
  background: var(--bg);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s;
}
.collab__card:hover { transform: translateY(-5px); border-color: var(--accent); }
.collab__card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: #000;
  transition: transform .8s var(--ease);
}
.collab__card:hover img { transform: scale(1.03); }
.collab__card figcaption {
  padding: 1.1rem 1.2rem 1.3rem;
  text-align: center;
}
.collab__card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .4rem;
}
.collab__card figcaption p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════════ CONTATTI ══════════ */
.contact {
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 1.5rem clamp(5rem, 9vw, 8rem);
}
.contact__logo {
  width: min(220px, 40vw);
  margin: 0 auto 2.2rem;
  opacity: .92;
}
.contact__eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.contact__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}
.contact__title em { text-transform: none; }
.contact__mail {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: .2em;
  transition: color .3s;
}
.contact__mail:hover { color: var(--accent); }
.contact__meta {
  margin-top: 2.6rem;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__meta a { border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact__meta a:hover { color: var(--accent); border-color: var(--accent); }
.contact__sep { color: var(--accent); }

/* ══════════ FOOTER ══════════ */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(242,239,233,.08);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ══════════ MODAL ══════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 7, .94);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__content {
  width: min(1100px, 100%);
  transform: scale(.94);
  transition: transform .35s var(--ease);
}
.modal.is-open .modal__content { transform: none; }
.modal__content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  box-shadow: 0 40px 120px rgba(0,0,0,.8);
}
.modal__content img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 40px 120px rgba(0,0,0,.8);
}
.modal__close {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  background: none;
  border: 1px solid rgba(242,239,233,.3);
  color: var(--text);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color .3s, transform .3s;
}
.modal__close:hover { border-color: var(--accent); transform: rotate(90deg); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 900px) {
  .film__inner, .film--alt .film__inner { grid-template-columns: 1fr; }
  .film--alt .film__poster { order: 0; }
  .film--alt .film__info { order: 1; }
  .film__poster { max-width: 320px; margin: 0 auto; }
  .exec__inner { grid-template-columns: 1fr; }
  .exec__img { max-width: 480px; margin: 0 auto; }
}
/* menu desktop più compatto quando lo spazio è poco */
@media (max-width: 1400px) {
  .nav__links { gap: clamp(.85rem, 1.8vw, 1.6rem); }
  .nav__links a { font-size: .74rem; letter-spacing: .09em; }
  .nav__cta { padding: .55em .9em; }
}

/* sotto questa soglia le voci non ci starebbero: menu a panino */
@media (max-width: 1180px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, .97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { font-size: 1.05rem; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: 0;
    cursor: pointer;
    z-index: 110;
    padding: .4rem;
  }
  .nav__burger span {
    width: 28px; height: 2px;
    background: var(--text);
    transition: transform .35s var(--ease), opacity .35s;
  }
  .nav__burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}

/* ══════════ MOTION SAFETY ══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__line span { transform: none; }
}
