/* Hero: one sentence, then the campaign film. Nothing else. */
#main:has(.hf) { padding-top: var(--oh-header); }
.oh-layout:has(> .hf) { row-gap: clamp(80px, 8.5vw, 140px); }

.hf { padding-top: clamp(44px, 5.4vw, 92px); }

.hf-head {
  max-width: 820px;
  margin: 0 auto clamp(52px, 6.6vw, 112px);
  text-align: center;
}
.hf-head h1 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 33px);
  font-weight: 500;
  letter-spacing: -.022em;
  line-height: 1.3;
  text-wrap: balance;
}
.hf-sign {
  margin: clamp(18px, 1.7vw, 26px) 0 0;
  font: 400 17px/1.2 Baskerville, Georgia, serif;
  letter-spacing: -.03em;
  color: #222;
}

/* The film shares the page gutters on narrow screens. */
.hf-stage { width: min(100%, max(64vw, 880px), 1200px); margin: 0 auto; }
.hf-player {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #0d1210;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}
.hf-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d1210;
}
.hf-player.is-enhanced .hf-video { cursor: pointer; }
.hf-player:fullscreen { border-radius: 0; aspect-ratio: auto; }
.hf-player:fullscreen .hf-video { object-fit: contain; background: #000; }
.hf-player:-webkit-full-screen { border-radius: 0; aspect-ratio: auto; }
.hf-player:-webkit-full-screen .hf-video { object-fit: contain; background: #000; }

.hf-player button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
.hf-player button:focus-visible,
.hf-progress:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.hf-icon { display: block; width: 16px; height: 16px; fill: currentColor; }
.hf-player [data-when] { display: none; }
.hf-player.is-playing [data-when="playing"],
.hf-player:not(.is-playing) [data-when="paused"],
.hf-player.is-muted [data-when="muted"],
.hf-player:not(.is-muted) [data-when="sound"] { display: block; }

/* Big play, centred on the poster */
.hf-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  transition: opacity .3s ease, transform .3s ease;
}
.hf-play .hf-icon {
  width: 46px;
  height: 52px;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .35));
  transition: transform .25s ease;
}
.hf-play:hover .hf-icon { transform: scale(1.08); }
.hf-player.is-playing .hf-play { opacity: 0; transform: scale(.92); pointer-events: none; }

/* Bar: play + time left, fullscreen right. Progress and sound appear once the film runs. */
.hf-bar {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 40px clamp(14px, 1.9vw, 26px) clamp(12px, 1.4vw, 20px);
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
  font-size: 14px;
  transition: opacity .35s ease;
}
.hf-btn { display: grid; place-items: center; flex: none; width: 28px; height: 28px; opacity: .95; }
.hf-btn:hover { opacity: 1; }
.hf-btn .hf-icon { width: 14px; height: 14px; }
.hf-time { flex: none; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: rgba(255, 255, 255, .95); }
.hf-progress { position: relative; flex: 1; height: 24px; cursor: pointer; touch-action: none; transition: opacity .3s ease; }
.hf-progress::before,
.hf-progress-fill {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
}
.hf-progress::before { background: rgba(255, 255, 255, .3); }
.hf-progress-fill { background: #fff; transform-origin: left center; transform: scaleX(0); }
.hf-progress:hover::before,
.hf-progress:hover .hf-progress-fill { height: 4px; margin-top: -2px; }

.hf-player[data-state="idle"] .hf-progress,
.hf-player[data-state="idle"] [data-hf-mute] { opacity: 0; visibility: hidden; pointer-events: none; }
.hf-player.is-idle.is-playing .hf-bar { opacity: 0; }
.hf-player.is-idle.is-playing,
.hf-player.is-idle.is-playing .hf-video { cursor: none; }

@media (max-width: 699px) {
  .hf { padding-top: 36px; }
  .hf-head { margin-bottom: 36px; padding-inline: 4px; }
  .hf-head h1 { font-size: 22px; line-height: 1.32; }
  .hf-sign { font-size: 16px; margin-top: 14px; }
  .hf-play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
  .hf-play .hf-icon { width: 32px; height: 36px; }
  .hf-bar { gap: 8px; padding: 28px 10px 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-play, .hf-play .hf-icon, .hf-bar, .hf-progress { transition: none; }
}

@media (max-width: 699px) and (orientation: portrait) {
  .hf {
    padding-top: clamp(32px, 8.8vw, 46px);
    /* Keep the sound button inside the white space above the poster series. */
    margin-block-end: -24px;
  }
  .hf-head {
    max-width: 100%;
    margin: 0 0 28px;
    padding-inline: 0;
    text-align: center;
  }
  .hf-head h1 {
    font-size: clamp(29px, 8.4vw, 37px);
    line-height: 1.065;
    letter-spacing: -.042em;
    font-weight: 480;
  }
  .hf-sign { margin-top: 17px; font-size: 19px; line-height: 1.22; }
  .hf-player { border-radius: 16px; }
  .hf-player:fullscreen, .hf-player:-webkit-full-screen { border-radius: 0; aspect-ratio: auto; }
  .hf-play .hf-icon { width: 35px; height: 39px; }
  .hf-btn { width: 44px; height: 44px; }
  .hf-bar { gap: 5px; padding: 32px 10px 5px; font-size: 12px; }
  .hf-bar .hf-btn .hf-icon { width: 15px; height: 15px; }
}
