/* intro.css — pagina iniziale con video a tutto schermo e pulsante in sovraimpressione */

body.intro-page { margin: 0; background: #11110f; color: #fff; overflow: hidden; }
.intro { position: fixed; inset: 0; overflow: hidden; background: #11110f; }

.intro__bg, .intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__bg { animation: introZoom 18s ease-out both; }
.intro__video { opacity: 0; transition: opacity 1.2s ease; }
.intro__video.is-playing { opacity: 1; }
@keyframes introZoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }

.intro__scrim { position: absolute; inset: 0; background:
  radial-gradient(ellipse at center, rgba(14,14,12,.28) 0%, rgba(14,14,12,.55) 100%),
  linear-gradient(180deg, rgba(14,14,12,.35) 0%, rgba(14,14,12,0) 30%, rgba(14,14,12,.45) 100%); }

.intro__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 24px 96px; gap: 0; }
.intro__content > * { animation: introUp 1s cubic-bezier(.2,.6,.2,1) both; }
.intro__content .logo-ph { animation-delay: .2s; }
.intro__eyebrow { color: rgba(255,255,255,.88); margin: 28px 0 18px; animation-delay: .4s; }
.intro__title { animation-delay: .55s; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.intro__enter { animation-delay: 1.1s; }
@keyframes introUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.logo-ph--lg { width: 72px; height: 72px; font-size: 12px; margin: 0; }
.logo-ph--lg::before { left: 10px; right: 10px; top: 10px; }

/* Pulsante "Entra nel sito" */
.intro__enter { display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; height: 56px; padding: 0 30px; border: 1px solid rgba(255,255,255,.85); border-radius: var(--r-1); color: #fff; text-decoration: none; font: 600 16px/1 var(--font-text); letter-spacing: .02em; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .25s, color .25s, gap .25s, transform .25s; }
.intro__enter:hover, .intro__enter:focus-visible { background: #fff; color: #1D1C1A; gap: 20px; transform: translateY(-2px); }
.intro__enter:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Audio (solo se il video è in riproduzione) */
.intro__sound { position: absolute; right: 24px; top: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.intro__sound:hover { background: #fff; color: #1D1C1A; }
.intro__sound .w { display: none; }
.intro__sound[aria-pressed="true"] .w { display: inline; }
.intro__sound[aria-pressed="true"] .x { display: none; }

.intro__legal { position: absolute; left: 24px; bottom: 20px; margin: 0; font-size: 12px; color: rgba(255,255,255,.65); }

/* Uscita verso il sito */
.intro { transition: opacity .5s ease; }
.intro.is-leaving { opacity: 0; }

@media (max-width: 767px) {
  .intro__content { padding-bottom: 140px; }
  .intro__enter { margin-top: 36px; }
  .intro__legal { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro__bg { animation: none; }
  .intro__content > * { animation: none; }
  .intro, .intro__video { transition: none; }
}

.intro__sound[hidden] { display: none; }
.intro__legal { left: auto; right: 24px; text-align: right; }
@media (max-width: 767px) { .intro__legal { left: 16px; right: 16px; text-align: center; bottom: auto; top: 20px; } }
