/* =============================================================
   FILM BAND + PLAYER (home, 2026-10-12)
   The commercial, click to play. The band is one big button; the
   player is a dialog built by the script in index.html.
   ============================================================= */
.btn-film { gap: 10px; cursor: pointer; }
.btn-film svg { width: 12px; height: 12px; flex: none; }

.filmband {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.filmband-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.filmband-scrim {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.filmband-btn {
  position: relative; z-index: 1;
  width: 100%;
  min-height: clamp(380px, 46vw, 640px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  padding: var(--section-y) var(--gutter);
  background: none; border: 0;
  color: #fff;
  font: inherit; text-align: center;
  cursor: pointer;
}
.filmband-play {
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.filmband-play svg { width: 42px; height: 42px; margin-left: 6px; }
.filmband-btn:hover .filmband-play,
.filmband-btn:focus-visible .filmband-play { background: var(--red-bright); transform: scale(1.06); }
.filmband-btn:focus-visible { outline: 2px solid #fff; outline-offset: -8px; }
.filmband-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.filmband-meta {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.film-modal {
  position: fixed; inset: 0;
  z-index: 9990;               /* over the header and the book pill, under the cookie banner */
  display: flex; align-items: center; justify-content: center;
  padding: 72px clamp(12px, 3vw, 48px) clamp(12px, 3vw, 48px);
  background: rgba(0, 0, 0, 0.95);
}
.film-modal[hidden] { display: none; }
.film-frame {
  width: min(100%, calc((100vh - 120px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
}
.film-frame video { display: block; width: 100%; height: 100%; }
.film-close {
  position: absolute; top: 14px; right: 16px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-family: var(--ff-sans); font-size: 28px; line-height: 1;
  cursor: pointer;
}
.film-close:hover, .film-close:focus-visible { background: #fff; color: var(--ink); }
html.film-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .filmband-play { transition: none; }
  .filmband-btn:hover .filmband-play,
  .filmband-btn:focus-visible .filmband-play { transform: none; }
}/* While the cookie banner is up it would sit on the player's controls: lift the film clear of it. */
body:has(.cav-consent--show) .film-modal { padding-bottom: 104px; }
body:has(.cav-consent--show) .film-frame { width: min(100%, calc((100vh - 200px) * 16 / 9)); }
@media (max-width: 640px) {
  body:has(.cav-consent--show) .film-modal { padding-bottom: 190px; }
}
/* Second choice on the Spanish page: the Portuguese cut, under the main button. */
.filmband-alt {
  position: absolute; z-index: 2;
  left: 50%; bottom: clamp(20px, 3vw, 40px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font: inherit; font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
}
.filmband-alt svg { width: 12px; height: 12px; flex: none; }
.filmband-alt:hover, .filmband-alt:focus-visible { background: #fff; color: var(--ink); }
