/* 1.2.2 — broader, brighter light sweeps with the photograph kept still. */
.hero-intro--production {
  display: flow-root;
  position: relative;
  /* Keep fixed menu/SNS in the page's stacking context while scrolling. */
  isolation: auto;
  background: var(--night);
}
.hero-surround {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(#000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 82%, transparent 100%);
}
.hero-surround img {
  display: block;
  width: 100%;
  height: calc(100% + 16px);
  object-fit: cover;
  object-position: center top;
  /* The supplied JPEG has a pale first pixel row. Overscan only the surround,
     never the main photograph. Eight CSS pixels also cover its 4K scaling. */
  transform: translateY(-8px);
}
.hero.hero--production {
  z-index: 1;
  width: min(81.6%, 1120px);
  /* Fit the whole photograph and navigation on ordinary desktop screens. */
  max-width: max(650px, calc((100svh - 96px) * 1.1325));
  aspect-ratio: 2000 / 1766;
  margin-inline: auto;
  background: transparent;
}
.hero--production .hero-art { animation: none; }
.hero--production .hero-art img { width: 100%; height: auto; }
.hero-brand {
  position: absolute;
  z-index: 3;
  left: 5.7%;
  top: 60%;
  width: 51.5%;
}
.hero-logo { display: block; width: 100%; height: auto; }
.hero-presenter {
  display: flex;
  align-items: center;
  gap: 4%;
  width: 47%;
  margin: 0 0 2.4% 1%;
  color: #fff;
  font: 600 clamp(11px, 1.3vw, 17px)/1 var(--latin);
  white-space: nowrap;
}
/* Crop transparent logo margins in layout, retaining the supplied logo pixels. */
.hero-presenter-mark { position: relative; flex: 0 0 65%; aspect-ratio: 312 / 63; overflow: hidden; }
.hero-presenter-mark img {
  position: absolute;
  width: 128.20513%;
  height: auto;
  max-width: none;
  left: -14.42308%;
  top: -138.09524%;
  filter: brightness(0) invert(1);
}
.hero-controls .menu-trigger {
  display: grid;
  place-items: center;
  background: #0b0794;
}
.menu-word { display: grid; justify-items: center; gap: 6px; font: 400 clamp(14px, 1.6vw, 19px)/1.2 var(--latin); letter-spacing: .25em; padding-left: .25em; }
.menu-word > span { font: 300 17px/1 sans-serif; letter-spacing: 0; color: #8485c5; }
.hero-controls { --control-menu-size: clamp(68px, 9vw, 96px); }

/* Visible shafts travel through the photographed light without moving the photo. */
.hero-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-image: linear-gradient(#000 0%, #000 25%, transparent 76%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 25%, transparent 76%);
}
.hero-light-rays {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  overflow: visible;
  /* Let the stronger shafts fade before reaching the face on the right. */
  mask-image: linear-gradient(to right, #000 48%, transparent 74%);
  -webkit-mask-image: linear-gradient(to right, #000 48%, transparent 74%);
}
.hero-light-rays stop:first-child { stop-color: #e9faff; stop-opacity: 1; }
.hero-light-rays stop:nth-child(2) { stop-color: #d9f3ff; stop-opacity: .9; }
.hero-ray { transform-origin: 0 0; animation-play-state: paused; }
.hero-ray--a { opacity: .46; animation: ns27-shaft-a 6.8s ease-in-out -1.5s infinite paused; }
.hero-ray--b { opacity: .22; animation: ns27-shaft-b 9s ease-in-out -5s infinite paused; }
.hero-ray--c { opacity: .32; animation: ns27-shaft-a 8.2s ease-in-out -6s infinite reverse paused; }
.hero-light-bloom {
  position: absolute;
  inset: -15% -10% 15% -15%;
  background: radial-gradient(ellipse at 9% 8%, rgb(225 248 255 / .72), rgb(171 225 255 / .34) 26%, transparent 57%);
  mask-image: linear-gradient(to right, #000 40%, transparent 70%);
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 70%);
  transform-origin: left top;
  animation: ns27-light-breathe 7.6s ease-in-out -.8s infinite paused;
}
.hero-light-dust { position: absolute; inset: 0; }
.hero-light-dust > span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e1f7ff;
  box-shadow: 0 0 9px 2px rgb(196 237 255 / .65);
  opacity: 0;
  animation: ns27-light-dust calc(var(--duration) * .6) ease-in-out var(--delay) infinite paused;
}
.hero--production.is-light-active .hero-light *,
.hero--production.is-light-active .hero-light { animation-play-state: running; }
body.motion-paused .hero-light *, body.menu-open .hero-light * { animation-play-state: paused !important; }
@keyframes ns27-shaft-a {
  0%, 100% { opacity: .04; transform: rotate(-7deg) translateX(-4.5%) scaleX(1.16); }
  50% { opacity: 1; transform: rotate(7deg) translateX(4.5%) scaleX(1.16); }
}
@keyframes ns27-shaft-b {
  0%, 100% { opacity: .04; transform: rotate(8deg) translateX(2%) scaleX(1.12); }
  50% { opacity: .94; transform: rotate(-6deg) translateX(-2%) scaleX(1.12); }
}
@keyframes ns27-light-breathe {
  0%, 100% { opacity: .06; transform: scale(.94) translateX(-1%); }
  50% { opacity: .95; transform: scale(1.12) translateX(2%); }
}
@keyframes ns27-light-dust {
  0%, 100% { opacity: 0; transform: translate3d(-15px, -25px, 0); }
  32% { opacity: .85; }
  70% { opacity: .2; }
  90% { opacity: 0; transform: translate3d(22px, 37px, 0); }
}
/* Two complete portrait photographs, with the existing profile underneath. */
.full-site .cast-lead-shot.is-portrait { aspect-ratio: 2 / 3; }
.full-site .cast-lead-shot.is-portrait > img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
@media (max-width: 760px) {
  .hero-surround { display: none; }
  .hero.hero--production { width: 100%; max-width: none; margin: 0; aspect-ratio: 2000 / 3116; }
  .hero-brand { top: 4.2%; left: 14%; width: 70%; }
  .hero-presenter { width: 46%; font-size: clamp(9px, 2.8vw, 17px); margin-bottom: 2%; }
  .hero-controls { --control-menu-size: 44px; }
  .hero-controls .menu-word { display: none; }
  /* Keep the upper logo readable while the light opens out around the hand. */
  .hero--production .hero-light {
    mask-image: linear-gradient(rgb(0 0 0 / .12) 0%, rgb(0 0 0 / .12) 20%, #000 30%, transparent 62%);
    -webkit-mask-image: linear-gradient(rgb(0 0 0 / .12) 0%, rgb(0 0 0 / .12) 20%, #000 30%, transparent 62%);
  }
  .hero-light-dust > span { width: 2px; height: 2px; }
  .hero-intro--production .hero-event { margin-top: 0; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--production .hero-light * { animation: none !important; }
  .hero-light-dust { display: none; }
  .hero-light-bloom { opacity: .3; }
}
