/* v9. Isolated homepage treatment. No changes to other page layouts. */
.hero-film-v9 { background: #06142b; overflow: clip; scroll-margin-top: 6.75rem; }
.hero-intro { position: relative; isolation: isolate; min-width: 0; }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-film-v9 .hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgb(4 15 34 / 96%) 0%, rgb(4 15 34 / 91%) 22%, rgb(4 15 34 / 62%) 37%, rgb(4 15 34 / 8%) 56%, transparent 72%);
}
.hero-intro-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem; align-items: center; min-height: clamp(38rem, 43.75vw, 52rem);
  padding-block: clamp(3rem, 4.5vw, 5.5rem);
}
.hero-video-copy { max-width: 36rem; min-width: 0; }
.hero-film-v9 .hero-kicker {
  font-size: clamp(.84rem, .7rem + .25vw, 1.05rem); line-height: 1.65;
  letter-spacing: .085em; font-weight: 650; margin-bottom: 1.25rem;
}
.hero-film-v9 h1 {
  margin: 0 0 1.3rem; color: #fff; line-height: .99;
  font-size: clamp(2.35rem, 1rem + 3.55vw, 4.55rem); letter-spacing: -.045em;
  font-weight: 780;
}
.hero-film-v9 h1 span { display: block; color: #fff; }
.hero-film-v9 .hero-claim {
  color: #dce6f2; font-size: .91rem; line-height: 1.5; letter-spacing: .22em;
  font-weight: 450; margin-bottom: 2.1rem;
}
.hero-film-v9 .hero-meta { flex-direction: column; gap: .6rem; font-size: .95rem; font-weight: 550; }
.hero-film-v9 .hero-meta .icon { width: 1.12rem; height: 1.12rem; color: #cedbef; }
.hero-film-v9 .actions { gap: .7rem; margin-top: 1.6rem; }
.hero-film-v9 .actions .btn {
  font-size: .82rem; font-weight: 650; min-height: 48px;
  border-width: 1px; border-radius: .4rem; padding: .8rem 1.05rem;
}
.hero-film-v9 .actions .btn-red { background: #f7f9fc; border-color: #f7f9fc; color: #092b52; }
.hero-film-v9 .actions .btn-red:hover { background: #e1eaf5; border-color: #e1eaf5; }
.hero-film-v9 .actions .btn-ghost { background: rgb(6 22 44 / 70%); border-color: #94a5be; color: #fff; }
.hero-film-v9 .actions .btn-ghost:hover { background: #152f51; border-color: #dae4f1; }
.hero-film-invitation { align-self: end; justify-self: end; min-width: 0; margin-bottom: .15rem; }
.film-trigger {
  display: inline-flex; align-items: center; gap: .85rem; max-width: 100%;
  min-height: 64px; padding: .55rem .95rem .55rem .6rem;
  color: #fff; text-decoration: none; background: rgb(5 19 39 / 91%);
  border: 1px solid #8293aa; border-radius: 999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .18s ease, background-color .18s ease;
}
.film-trigger:hover { background: #122c4c; border-color: #e2e9f2; }
.film-trigger-icon {
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center;
  border: 1px solid #aab9ce; border-radius: 50%;
}
.film-trigger-icon svg { width: 17px; height: 17px; fill: currentColor; margin-left: 1px; }
.film-trigger-text { min-width: 0; line-height: 1.35; text-align: left; }
.film-trigger-text strong { display: block; font-size: .9rem; font-weight: 650; letter-spacing: .012em; }
.film-trigger-text > span { display: block; margin-top: .16rem; font-size: .7rem; color: #d2deee; letter-spacing: .055em; }
.film-trigger-arrow { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-left: .4rem; flex-shrink: 0; }
.hero-film-v9 :focus-visible { outline: 3px solid #fff; outline-offset: 5px; box-shadow: 0 0 0 3px #041c3c; }
/* The player replaces the intro in this section; it is not a dialog or pop-up. */
.hero-film-panel { background: radial-gradient(ellipse at 50% 25%, #122d4e, #040e1e 80%); color: #fff; }
.hero-film-inner { max-width: 1120px; padding-block: 1.4rem .85rem; }
.hero-film-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.hero-film-title { min-width: 0; }
.hero-film-title > span { display: block; font-size: .65rem; font-weight: 550; color: #b6c6db; line-height: 1.6; letter-spacing: .14em; }
.hero-film-title p { margin: .2rem 0 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; color: #fff; }
.film-return, .film-retry {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  max-width: 100%; min-height: 48px; padding: .6rem .9rem;
  background: transparent; border: 1px solid #8c9eb6; border-radius: .4rem;
  color: #fff; font-size: .85rem; line-height: 1.4; font-weight: 550;
}
.film-return:hover, .film-retry:hover { background: #213f61; border-color: #fff; }
.film-return svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; flex-shrink: 0; }
.hero-film-screen {
  width: min(100%, 1100px); max-width: 100%; margin: 0 auto;
  background: #000; border: 1px solid #29425f; border-radius: .55rem; overflow: hidden;
}
.hero-film-screen video {
  display: block; width: 100%; height: auto; aspect-ratio: 16/9;
  max-height: 64vh; max-height: 64svh; object-fit: contain; background: #000;
}
.hero-film-screen video:focus-visible { outline-offset: -4px; }
.hero-film-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-top: .5rem; min-height: 2.15rem; }
#hero-film-status { color: #d9e4f3; font-size: .85rem; line-height: 1.5; margin: 0; }
#hero-film-status:empty { display: none; }
.film-direct { color: #fff; display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
.hero-film-v9[data-state="error"] .hero-film-feedback { padding-bottom: .6rem; }
/* A second invitation, lower down the page, uses the same player. */
.programme-with-hero-link { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
.hero-film-reminder { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); text-decoration: none; }
.hero-film-reminder > .icon-box { flex: 0 0 3.25rem; margin: 0; }
.hero-film-reminder > span:nth-child(2) { min-width: 0; }
.hero-film-reminder strong { display: block; font-size: 1.1rem; color: var(--navy); line-height: 1.35; }
.hero-film-reminder span span { display: block; margin-top: .3rem; font-size: .9rem; text-decoration: underline; }
.hero-film-reminder > span:last-child { margin-left: auto; }
@media (min-width: 100rem) {
 .hero-intro-layout { width: min(1500px, calc(100% - 112px)); }
}
@media (min-width: 60.001rem) and (max-width: 74rem) {
 .hero-film-v9 .actions { flex-direction: column; align-items: flex-start; }
 .hero-film-v9 .actions .btn { min-width: 15.5rem; }
 .hero-intro-layout { gap: 1.5rem; }
}
@media (max-width: 60rem) {
 .hero-film-v9 { scroll-margin-top: 1rem; }
 .hero-art { position: relative; display: block; width: 100%; z-index: 0; aspect-ratio: 2 / 1; overflow: hidden; }
 .hero-art img { height: 100%; object-fit: cover; object-position: right center; }
 .hero-film-v9 .hero-shade { display: none; }
 .hero-intro-layout { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-block: 2rem 2.2rem; gap: 1.6rem; }
 .hero-video-copy { max-width: 40rem; }
 .hero-film-v9 h1 { font-size: clamp(2.5rem, 1rem + 5vw, 4rem); }
 .hero-film-v9 h1 span { display: inline; }
 .hero-film-v9 .hero-claim { margin-bottom: 1.6rem; }
 .hero-film-v9 .hero-kicker { font-size: .85rem; line-height: 1.6; margin-bottom: 1rem; }
 .hero-film-invitation { align-self: start; justify-self: start; margin-bottom: 0; }
 .film-trigger { min-height: 58px; padding: .4rem .9rem .4rem .45rem; }
 .film-trigger-text strong { font-size: .875rem; }
 .hero-film-inner { padding-block: 1rem .75rem; }
 .programme-with-hero-link { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 36rem) {
 .hero-art { aspect-ratio: 1.65 / 1; }
 .hero-intro-layout { padding-block: 1.7rem 1.9rem; }
 .hero-film-v9 h1 { font-size: clamp(2rem, 1rem + 4.75vw, 2.65rem); line-height: 1.04; }
 .hero-film-v9 h1 span { display: block; }
 .hero-film-v9 .hero-kicker { letter-spacing: .035em; font-size: .75rem; }
 .hero-film-v9 .hero-claim { font-size: .8rem; letter-spacing: .18em; margin-block: .9rem 1.45rem; }
 .hero-film-v9 .hero-meta { font-size: .85rem; }
 .hero-film-v9 .hero-meta span { align-items: flex-start; }
 .hero-film-v9 .hero-meta .icon { margin-top: .12rem; }
 .hero-film-v9 .actions { flex-direction: row; align-items: stretch; gap: .6rem; max-width: none; }
 .hero-film-v9 .actions .btn { flex: 1 1 auto; font-size: .8rem; padding-inline: .9rem; }
 .hero-film-toolbar { align-items: center; gap: .6rem; }
 .hero-film-title p { font-size: .92rem; }
 .hero-film-title > span { font-size: .6rem; letter-spacing: .09em; }
 .film-return { padding: .55rem .65rem; font-size: .75rem; }
 .hero-film-screen { border-radius: .35rem; }
 .hero-film-screen video { max-height: 70svh; }
 .hero-film-reminder { padding: 1.2rem; }
}
@media (max-height: 32rem) and (orientation: landscape) {
 .hero-film-screen video { max-height: 62vh; }
 .hero-film-inner { padding-block: .6rem .4rem; }
 .hero-film-toolbar { margin-bottom: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
 .film-trigger, .hero-film-v9 * { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
 .hero-art { visibility: hidden; }
 .hero-film-v9, .hero-film-panel { background: Canvas; color: CanvasText; }
 .hero-film-v9 h1, .hero-film-v9 h1 span, .hero-film-title p, .hero-film-title > span, #hero-film-status, .hero-film-v9 .hero-claim { color: CanvasText; }
 .film-trigger, .film-trigger-icon, .film-return, .film-retry, .hero-film-v9 .btn { color: ButtonText; background: ButtonFace; border: 1px solid ButtonText; }
 .film-trigger-text > span { color: ButtonText; }
 .hero-film-v9 :focus-visible { outline-color: Highlight; box-shadow: none; }
}
@media print {
 .hero-art, .hero-film-panel, .hero-film-invitation, .hero-film-reminder { display: none !important; }
 .hero-intro[hidden] { display: block !important; }
 .hero-intro-layout { display: block; min-height: 0; padding-block: 1rem; }
 .hero-film-v9, .hero-film-v9 h1, .hero-film-v9 h1 span, .hero-film-v9 .hero-claim { color: #000; background: #fff; }
}
