/* The poster and the looping film share a crop at every viewport. */
#top .mast.mast--video {
  display: grid;
  align-items: start;
  width: min(1320px, 94%);
  margin: clamp(14px, 1.6vw, 24px) auto 0;
  background: #18272f;
  border-radius: 20px;
}
#top .mast--video .mast-sea {
  inset: 0;
  width: 100%;
  height: 100%;
  mask-image: none;
}
#top .mast--video .mast-sea :is(.mast-poster, .hero-video) {
  object-fit: cover;
  object-position: center;
}
#top .mast--video .mast-sea .hero-video { mask: none; }
#top .mast--video::after {
  background: linear-gradient(115deg, rgb(8 21 28 / .87), rgb(8 21 28 / .62) 31%, rgb(8 21 28 / .04) 67%);
}
#top .mast--video .mast-copy {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(58%, 680px);
  max-width: none;
  margin: 0;
  padding: clamp(24px, 3.8vw, 56px);
  text-align: left;
}
#top .mast--video .mast-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.05;
  letter-spacing: var(--title-tracking, .024em);
  text-wrap: balance;
}
#top .mast--video .mast-copy .intro {
  max-width: 41ch;
  margin: .65rem 0 0;
  line-height: 1.45;
  letter-spacing: .012em;
  color: #edf3f5;
}
#top .mast--video .mast-copy .actions {
  justify-content: flex-start;
  margin-top: 1rem;
}
#top .mast--video .mast-copy .button { min-height: 44px; letter-spacing: .012em; }
@media (max-width: 700px) {
  #top .mast.mast--video {
    width: calc(100% - 24px);
    min-height: clamp(375px, 109vw, 515px);
    margin-block-start: 12px;
    border-radius: 14px;
  }
  #top .mast--video .mast-copy { width: 100%; padding: clamp(16px, 5vw, 28px); }
  #top .mast--video .mast-copy h1 { max-width: 19ch; font-size: clamp(26px, 7vw, 36px); }
  #top .mast--video .mast-copy .intro { max-width: 34ch; font-size: clamp(14px, 3.65vw, 16px); }
  #top .mast--video .mast-sea { top: 17%; height: 83%; }
  #top .mast--video::after {
    background: linear-gradient(to bottom, #18272f 0 17%, rgb(24 39 47 / .89) 25%, rgb(11 27 35 / .63) 36%, rgb(10 25 33 / .14) 53%, transparent 68%);
  }
}
@media (max-width: 380px) {
  #top .mast.mast--video { min-height: 440px; }
}
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
  body .cookie-notice:not([hidden]) {
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: min(470px, calc(100% - 20px));
    padding: 11px 13px;
    gap: 12px;
    align-items: center;
  }
  .cookie-notice:not([hidden]) strong { display: none; }
  body .cookie-notice p { margin: 0; font-size: 13px; line-height: 1.42; }
  .cookie-notice:not([hidden]) ~ .mobile-bar { visibility: hidden; }
}

@media (min-width: 480px) and (max-width: 950px) and (orientation: landscape) and (max-height: 500px) {
  #top .mast.mast--video { min-height: clamp(238px, calc(100svh - 92px), 350px); }
  #top .mast--video .mast-copy { width: 44%; padding: 16px 8px 16px max(20px, env(safe-area-inset-left)); }
  #top .mast--video .mast-copy h1 { font-size: clamp(22px, 3.1vw, 29px); }
  #top .mast--video .mast-copy .intro { font-size: 14px; margin-top: 8px; line-height: 1.35; }
  #top .mast--video .mast-copy .actions { margin-top: 9px; }
  #top .mast--video .mast-sea { inset: 0 0 0 auto; width: 72%; height: 100%; }
  #top .mast--video::after { background: linear-gradient(90deg, #18272f 0 28%, rgb(24 39 47 / .84) 36%, transparent 59%); }
  body .cookie-notice:not([hidden]) { width: 365px; }
}
@media (min-width: 480px) and (max-width: 950px) and (orientation: landscape) and (max-height: 350px) {
  body .cookie-notice:not([hidden]) { width: calc(100% - 20px); padding-block: 7px; }
}
