/* Native Hostinger hero video. The exact source is /videos/hero.mp4. */
.hero-video {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(93, 124, 163, .34), transparent 52%),
    #111;
}

.hero-video .local-hero-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  /* Keep the muted video visibly eligible for mobile autoplay. iOS may refuse
     autoplay when a media element begins with visibility:hidden or opacity:0. */
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}

.hero-video[data-video-state="playing"] .local-hero-video,
.hero-video[data-video-state="ready"] .local-hero-video,
.hero-video[data-video-state="blocked"] .local-hero-video {
  opacity: 1;
  visibility: visible;
}

.hero-shade {
  z-index: 2;
  pointer-events: none;
}

.hero-copy {
  z-index: 3;
}

.hero-play,
.hero-video-status {
  position: absolute;
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
}

.hero-play {
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(247, 243, 232, .9);
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  color: #f7f3e8;
  padding: 0 0 0 3px;
  box-shadow: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.hero-video-status {
  top: 50%;
  max-width: min(88vw, 620px);
  margin: 0;
  padding: .65rem .8rem;
  border: 2px solid rgba(247, 243, 232, .7);
  background: rgba(0, 0, 0, .65);
  color: #f7f3e8;
  font-size: .72rem;
  line-height: 1.35;
  letter-spacing: .12em;
  text-align: center;
}

.hero-video[data-video-state="playing"] .hero-video-status,
.hero-play[hidden],
.hero-video-status[hidden] {
  display: none;
}


.hero-video[data-video-state="error"] {
  background:
    linear-gradient(135deg, rgba(93, 124, 163, .4), rgba(17, 17, 17, .96)),
    #111;
}

/* Preserve the original three-layer title treatment. */
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 760px);
  max-width: none;
  margin: 0 0 30px;
  font-size: clamp(4.4rem, 10vw, 8.5rem);
  line-height: .80;
  letter-spacing: -.08em;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-wrap: nowrap;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.section-copy h2,
.aerial-callout h2,
.cta h2,
.page-title h1,
.bio h2 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.section-copy p,
.large-copy,
.cta p,
.about-intro p,
.bio p,
.bio blockquote {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Keep the Frozen Pier iframe contained inside its own box. */
.story-section .split,
.story-section .section-copy,
.story-section .showcase-film {
  min-width: 0;
}

.showcase-film {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  contain: layout paint;
}

.showcase-film iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

@media (min-width: 1021px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }

  .section-copy h2 {
    font-size: clamp(2.5rem, 3.6vw, 3.25rem);
    line-height: .96;
    letter-spacing: -.045em;
  }
}

@media (max-width: 700px) {
  .hero-copy {
    width: min(100% - 28px, 1224px);
    padding-block: 42px;
  }

  .hero h1 {
    width: 100%;
    margin-bottom: 26px;
    font-size: clamp(3.6rem, 20vw, 5.4rem);
    line-height: .80;
    letter-spacing: -.075em;
  }

  /* The video and copy become separate normal-flow blocks on phones. */
  .story-section .split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .story-section .section-copy {
    order: 1;
    width: 100%;
  }

  .story-section .showcase-film {
    order: 2 !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex: 0 0 auto;
  }

  .section-copy h2,
  .aerial-callout h2,
  .cta h2 {
    margin-bottom: 24px;
    font-size: clamp(2.1rem, 9.2vw, 3.2rem);
    line-height: .96;
    letter-spacing: -.04em;
    text-wrap: balance;
  }

  .page-title h1,
  .bio h2 {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
    line-height: .96;
    letter-spacing: -.045em;
  }

  .section-copy p,
  .large-copy,
  .cta p,
  .about-intro p,
  .bio p,
  .bio blockquote {
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(3.25rem, 19vw, 4.45rem);
  }

  .section-copy h2,
  .aerial-callout h2,
  .cta h2 {
    font-size: clamp(1.95rem, 8.8vw, 2.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video .local-hero-video {
    transition: none;
  }
}

/* v76: dependable content entrances and a feathered PREMIUM ink wipe.
   These final rules intentionally replace the older blur-heavy keyframes. */
.reveal:not(.reveal-hero) {
  opacity: 0;
  filter: none;
  transform: translate3d(0, 26px, 0) scale(.995);
  transition:
    opacity 540ms cubic-bezier(.2, .65, .25, 1) var(--reveal-delay),
    transform 720ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay);
  animation: none;
  will-change: opacity, transform;
}

.reveal.reveal-media:not(.reveal-hero) {
  transform: translate3d(0, 32px, 0) scale(.985);
  transition-duration: 620ms, 820ms;
}

.reveal:not(.reveal-hero).is-visible,
.reveal.reveal-media:not(.reveal-hero).is-visible {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
  animation: none;
  will-change: auto;
}

/* Let the container provide the entrance. Animating its children as well was
   the source of intermittent flashes and delayed text after fast scrolling. */
.reveal-stagger > * {
  opacity: 1;
  transform: none;
  transition: none;
}

.home-main .aerial-callout .premium-word::before {
  display: none;
}

.home-main .aerial-callout .premium-word::after {
  display: block;
  clip-path: none;
  -webkit-clip-path: none;
  opacity: 1;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0 38%, rgba(0,0,0,.92) 44%, rgba(0,0,0,.45) 49%, transparent 56% 100%);
  mask-image: linear-gradient(90deg, #000 0 38%, rgba(0,0,0,.92) 44%, rgba(0,0,0,.45) 49%, transparent 56% 100%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: none;
  will-change: mask-position, -webkit-mask-position;
}

.home-main .aerial-callout .reveal.is-visible .premium-word::after {
  animation: premium-feathered-ink 980ms cubic-bezier(.16, .84, .24, 1) 260ms both;
}

@keyframes premium-feathered-ink {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@media (max-width: 700px) {
  .reveal:not(.reveal-hero) {
    transform: translate3d(0, 18px, 0) scale(.997);
    transition-duration: 480ms, 650ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-main .aerial-callout .premium-word::after {
    display: none;
  }
}

/* v77: a richer, coordinated scroll language across every page. */
.reveal:not(.reveal-hero) {
  --enter-x: 0px;
  --enter-y: 30px;
  --enter-scale: .985;
  transform: translate3d(var(--enter-x), var(--enter-y), 0) scale(var(--enter-scale));
  transition:
    opacity 560ms cubic-bezier(.2, .65, .25, 1) var(--reveal-delay),
    transform 780ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay);
}

.reveal.reveal-title:not(.reveal-hero) {
  --enter-y: 42px;
  --enter-scale: .965;
}

.reveal.reveal-media:not(.reveal-hero) {
  --enter-y: 44px;
  --enter-scale: .96;
  transition-duration: 650ms, 920ms;
}

.reveal.reveal-stage:not(.reveal-hero) {
  --enter-y: 36px;
}

.reveal.reveal-from-left:not(.reveal-hero) {
  --enter-x: -24px;
  --enter-y: 26px;
}

.reveal.reveal-from-right:not(.reveal-hero) {
  --enter-x: 24px;
  --enter-y: 26px;
}

.reveal.reveal-callout:not(.reveal-hero) {
  --enter-y: 46px;
  --enter-scale: .97;
}

.reveal.reveal-cta:not(.reveal-hero) {
  --enter-y: 50px;
  --enter-scale: .97;
}

.reveal:not(.reveal-hero).is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Text groups use one animation layer: the wrapper stays stable while its
   children arrive in sequence. This adds energy without double transforms. */
.reveal-stagger:not(.reveal-hero) {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-stagger:not(.reveal-hero) > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 500ms cubic-bezier(.2, .65, .25, 1),
    transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.reveal-stagger.is-visible:not(.reveal-hero) > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-stagger.is-visible:not(.reveal-hero) > *:nth-child(1) { transition-delay: 40ms; }
.reveal-stagger.is-visible:not(.reveal-hero) > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.is-visible:not(.reveal-hero) > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.is-visible:not(.reveal-hero) > *:nth-child(4) { transition-delay: 280ms; }
.reveal-stagger.is-visible:not(.reveal-hero) > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible:not(.reveal-hero) > *:nth-child(n+6) { transition-delay: 420ms; }

/* PREMIUM is white underneath. One black duplicate is progressively exposed
   by a feathered mask, then locks to a completely solid black final state. */
.home-main .aerial-callout h2 .premium-word {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.home-main .aerial-callout .premium-word::before {
  display: none !important;
}

.home-main .aerial-callout .premium-word::after {
  display: block;
  color: #111;
  -webkit-text-fill-color: #111;
  clip-path: none;
  -webkit-clip-path: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0 42%, rgba(0,0,0,.94) 46%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.18) 54%, transparent 58% 100%);
  mask-image: linear-gradient(90deg, #000 0 42%, rgba(0,0,0,.94) 46%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.18) 54%, transparent 58% 100%);
  -webkit-mask-size: 250% 100%;
  mask-size: 250% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: none;
}

.home-main .aerial-callout .reveal.is-visible .premium-word::after {
  animation: premium-white-to-black 1150ms cubic-bezier(.16, .84, .24, 1) 420ms both;
}

@keyframes premium-white-to-black {
  0% {
    -webkit-mask-size: 250% 100%;
    mask-size: 250% 100%;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  88% {
    -webkit-mask-size: 250% 100%;
    mask-size: 250% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  100% {
    -webkit-mask-image: linear-gradient(#000, #000);
    mask-image: linear-gradient(#000, #000);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@media (max-width: 700px) {
  .reveal:not(.reveal-hero) {
    --enter-x: 0px;
    --enter-y: 22px;
    --enter-scale: .99;
  }

  .reveal-stagger:not(.reveal-hero) > * {
    transform: translate3d(0, 12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-stagger:not(.reveal-hero),
  .reveal-stagger:not(.reveal-hero) > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-main .aerial-callout h2 .premium-word {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }
}


/* Solid, clearer site navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 3px solid var(--line);
  opacity: 1;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .05);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(165px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(20px, 3vw, 42px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
}

.brand img {
  width: clamp(150px, 15vw, 178px);
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 2px solid var(--line);
  background: var(--panel);
}

.desktop-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .65rem clamp(.55rem, 1vw, .9rem);
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(.62rem, .72vw, .76rem);
  line-height: 1;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible {
  background: color-mix(in srgb, var(--accent) 24%, var(--panel));
}

.desktop-nav .nav-link.is-current {
  background: var(--accent);
  color: #111;
}

.desktop-nav .nav-link.is-current::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 2px;
  background: currentColor;
}

.desktop-nav .nav-link.nav-schedule:not(.is-current) {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  min-height: 46px;
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: .58rem .72rem;
  box-shadow: none;
  cursor: pointer;
  font-size: .68rem;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: none;
  box-shadow: none;
  background: var(--accent);
  color: #111;
}

.theme-toggle-icon {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1.05rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
}

.menu-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: top .18s ease, transform .18s ease;
}

.menu-icon span:first-child { top: 2px; }
.menu-icon span:last-child { top: 10px; }
.menu-toggle.is-open .menu-icon span:first-child { top: 6px; transform: rotate(45deg); }
.menu-toggle.is-open .menu-icon span:last-child { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  z-index: 90;
  top: 75px;
  padding: 22px 18px 30px;
  background: var(--accent);
}

.mobile-menu nav {
  max-width: 760px;
  margin-inline: auto;
}

.mobile-menu a[aria-current="page"] {
  background: #111;
  color: #f7f3e8;
}

.mobile-menu a,
.mobile-menu a:visited,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
  color: #fff;
}

.mobile-menu nav {
  border-top-color: rgba(255, 255, 255, .72);
}

.mobile-menu a {
  border-bottom-color: rgba(255, 255, 255, .72);
}

.mobile-menu a[aria-current="page"] {
  background: rgba(0, 0, 0, .28);
}

.mobile-menu a strong {
  font: inherit;
}

html.menu-is-open,
body.menu-is-open {
  overscroll-behavior: none;
}

body.menu-is-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

body.menu-is-open .mobile-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: minmax(145px, 165px) minmax(0, 1fr) auto;
    column-gap: 16px;
  }

  .brand img { width: 150px; }

  .desktop-nav .nav-link {
    padding-inline: .48rem;
    font-size: .61rem;
    letter-spacing: .055em;
  }

  .theme-toggle-label { display: none; }
  .theme-toggle { width: 46px; justify-content: center; padding-inline: 0; }
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 75px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
  }

  .brand { min-width: 0; }
  .brand img { width: clamp(132px, 36vw, 155px); max-height: 45px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 8px; }
  .theme-toggle { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { top: 75px; }
}

@media (max-width: 480px) {
  .header-inner { column-gap: 8px; }
  .brand img { width: clamp(116px, 33vw, 138px); }
  .theme-toggle,
  .menu-toggle { min-height: 44px; padding: .52rem .58rem; }
  .theme-toggle { width: 44px; }
  .menu-toggle { gap: .4rem; }
  .menu-label { font-size: .62rem; }
  .mobile-menu { padding-inline: 14px; }
}

/* v10: simplified navigation, smoother controls, and refined homepage spacing. */

/* Keep blue surfaces consistently readable. */
.button,
.video-number,
.theme-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible {
  color: #f7f3e8;
}

.aerial-callout {
  color: #f7f3e8;
}

.aerial-callout .large-copy,
.aerial-callout h2 {
  color: inherit;
}

/* The outlined secondary button remains a light surface, not blue. */
.aerial-callout .button.secondary {
  color: var(--text);
}

/* Remove current-page selection styling. Navigation stays visually neutral. */
.desktop-nav .nav-link.is-current,
.desktop-nav .nav-link.is-current:hover,
.desktop-nav .nav-link.is-current:focus-visible {
  background: transparent;
  color: var(--text);
}

.desktop-nav .nav-link.is-current::after {
  display: none;
}

/* Text-only light/dark control. */
.theme-toggle {
  min-width: 72px;
  justify-content: center;
}

.theme-toggle-label {
  display: inline;
}

/* Smoother three-line menu-to-close animation. */
.menu-toggle {
  overflow: hidden;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.menu-icon {
  position: relative;
  width: 22px;
  height: 18px;
}

.menu-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    opacity .22s ease,
    width .32s cubic-bezier(.22, 1, .36, 1);
}

.menu-icon span:nth-child(1) { transform: translateY(-7px); }
.menu-icon span:nth-child(2) { transform: translateY(0); }
.menu-icon span:nth-child(3) { transform: translateY(7px); }

.menu-toggle.is-open .menu-icon span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open .menu-icon span:nth-child(2) {
  width: 40%;
  opacity: 0;
  transform: translateY(0) scaleX(.45);
}

.menu-toggle.is-open .menu-icon span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* Simplified mobile menu: plain links, no numbering or selected state. */
.mobile-menu {
  inset: 75px 0 0;
  padding: clamp(30px, 7vh, 64px) 22px 34px;
  display: grid;
  align-items: start;
  background: var(--accent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  transition:
    opacity .28s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  width: min(100%, 620px);
  margin-inline: auto;
  border: 0;
}

.mobile-menu a,
.mobile-menu a:visited,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
  display: block;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  background: transparent;
  color: #f7f3e8;
  font-size: clamp(1.7rem, 7.5vw, 3rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-decoration: none;
  transition: padding-left .24s ease, opacity .24s ease;
}

.mobile-menu a:first-child {
  border-top: 1px solid rgba(255, 255, 255, .42);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  padding-left: 10px;
  opacity: .82;
}

/* Native CSS play mark, shown only when autoplay is blocked. */
.hero-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

/* More deliberate spacing across the homepage. */
.home-main .hero-copy {
  padding-block: clamp(54px, 7vw, 88px);
}

.home-main .hero h1 {
  margin-bottom: clamp(26px, 3vw, 38px);
}

.home-main .story-section,
.home-main .aerial-callout,
.home-main .cta {
  padding-block: clamp(72px, 8vw, 108px);
}

.home-main .story-section .split {
  align-items: start;
  gap: clamp(48px, 7vw, 88px);
}

.home-main .section-copy h2 {
  margin-bottom: clamp(28px, 3vw, 40px);
}

.home-main .section-copy h3 {
  margin: 34px 0 11px;
}

.home-main .section-copy h2 + h3 {
  margin-top: 0;
}

.home-main .section-copy p {
  margin: 0;
}

.home-main .showcase-film {
  margin-top: 4px;
}

.home-main .aerial-callout .wrap {
  row-gap: clamp(26px, 4vw, 42px);
  column-gap: clamp(36px, 6vw, 72px);
}

.home-main .aerial-callout h2 {
  margin-bottom: 0;
}

.home-main .cta-grid {
  gap: clamp(30px, 5vw, 64px);
}

.home-main .cta p {
  margin: 24px 0 0;
}

@media (max-width: 1100px) {
  .mobile-menu {
    inset: 75px 0 0;
  }
}

@media (max-width: 700px) {
  .home-main .hero-copy {
    padding-block: 52px;
  }

  .home-main .hero h1 {
    margin-bottom: 28px;
  }

  .home-main .story-section,
  .home-main .aerial-callout,
  .home-main .cta {
    padding-block: 62px;
  }

  .home-main .story-section .split {
    gap: 36px;
  }

  .home-main .section-copy h2 {
    margin-bottom: 28px;
  }

  .home-main .section-copy h3 {
    margin-top: 28px;
  }

  .home-main .section-copy h2 + h3 {
    margin-top: 0;
  }

  .home-main .showcase-film {
    margin-top: 0;
  }

  .home-main .aerial-callout .wrap,
  .home-main .cta-grid {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    padding-inline: 18px;
  }

  .mobile-menu a {
    padding-block: .92rem;
  }
}


/* v11: remove the sun/moon graphic and keep the theme control text-only. */
@media (max-width: 1180px) {
  .theme-toggle-label { display: inline; }
  .theme-toggle { width: auto; min-width: 72px; padding-inline: .72rem; }
}

@media (max-width: 480px) {
  .theme-toggle { width: auto; min-width: 64px; padding-inline: .58rem; }
}


/* v12: permanent light theme, restored desktop navigation, icon-only mobile menu. */
html,
html[data-theme="light"] {
  color-scheme: light;
}

.theme-toggle,
.theme-toggle-label,
.theme-toggle-icon,
.menu-label,
.logo-light {
  display: none !important;
}

.site-header {
  background: #f4f1e8;
  color: #111;
}

.header-inner {
  grid-template-columns: minmax(165px, 190px) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 58px);
}

.desktop-nav {
  justify-self: stretch;
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  padding: 4px;
  border: 2px solid #111;
  background: #faf8f1;
}

.desktop-nav .nav-link {
  flex: 1 1 auto;
  min-width: 0;
  color: #111;
  background: transparent;
  font-weight: 600;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible {
  color: #111;
  background: rgba(78, 116, 156, .18);
}

.desktop-nav .nav-link.nav-schedule {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 50px;
  min-width: 50px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 3px solid #111;
  background: #faf8f1;
  color: #111;
  box-shadow: 4px 4px 0 #111;
  overflow: visible;
  transform: translate(0, 0);
  transition:
    transform .22s cubic-bezier(.22, 1, .36, 1),
    box-shadow .22s cubic-bezier(.22, 1, .36, 1),
    background-color .22s ease,
    color .22s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: #111;
  background: var(--accent);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111;
}

.menu-toggle.is-open {
  color: #f7f3e8;
  background: #111;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111;
}

.menu-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.menu-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  will-change: transform, opacity;
  transition:
    transform .46s cubic-bezier(.22, 1, .36, 1),
    opacity .2s ease;
}

.menu-icon span:nth-child(1) { transform: translateY(-7px); }
.menu-icon span:nth-child(2) { transform: translateY(0); }
.menu-icon span:nth-child(3) { transform: translateY(7px); }

.menu-toggle.is-open .menu-icon span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open .menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}

.menu-toggle.is-open .menu-icon span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 18px;
  }

  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
}

@media (max-width: 480px) {
  .header-inner { column-gap: 12px; }
  .menu-toggle {
    width: 47px;
    min-width: 47px;
    height: 44px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .menu-icon span {
    transition-duration: .01ms;
  }
}

/* v13: cleaner right-weighted desktop navigation and rebuilt mobile hamburger. */
@media (min-width: 1101px) {
  .header-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: 32px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: auto;
    width: auto;
    max-width: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: clamp(16px, 1.8vw, 26px);
    border: 0;
    background: transparent;
  }

  .desktop-nav .nav-link,
  .desktop-nav .nav-link.nav-schedule {
    flex: 0 0 auto;
    min-height: auto;
    padding: .55rem .15rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    color: #111;
    font-size: clamp(.66rem, .72vw, .76rem);
    font-weight: 700;
    letter-spacing: .075em;
    transition: color .18s ease, opacity .18s ease;
  }

  .desktop-nav .nav-link::after {
    content: "";
    position: absolute;
    right: .15rem;
    bottom: .2rem;
    left: .15rem;
    height: 2px;
    background: #111;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .desktop-nav .nav-link:hover,
  .desktop-nav .nav-link:focus-visible,
  .desktop-nav .nav-link.nav-schedule:hover,
  .desktop-nav .nav-link.nav-schedule:focus-visible {
    background: transparent;
    color: #111;
    opacity: .72;
  }

  .desktop-nav .nav-link:hover::after,
  .desktop-nav .nav-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .desktop-nav .nav-link:focus-visible {
    outline: 2px solid #111;
    outline-offset: 4px;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    padding-right: 8px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 48px;
    min-width: 48px;
    height: 46px;
    min-height: 46px;
    margin-right: 4px;
    padding: 0;
    border: 2px solid #111;
    border-radius: 0;
    background: #fffdf7;
    color: #111;
    box-shadow: none;
    transform: none;
    overflow: hidden;
    transition:
      background-color .24s ease,
      color .24s ease,
      border-color .24s ease;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: #fffdf7;
    color: #111;
    border-color: #111;
    box-shadow: none;
    transform: none;
  }

  .menu-toggle:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
  }

  .menu-toggle:active,
  .menu-toggle.is-open {
    background: #111;
    color: #fffdf7;
    border-color: #111;
    box-shadow: none;
    transform: none;
  }

  .menu-icon {
    position: relative;
    display: block;
    width: 25px;
    height: 20px;
  }

  .menu-icon span {
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    margin: 0;
    border-radius: 0;
    background: currentColor;
    transform: rotate(0deg) scaleX(1);
    transform-origin: 50% 50%;
    transition:
      top .32s cubic-bezier(.22, 1, .36, 1),
      transform .38s cubic-bezier(.22, 1, .36, 1),
      opacity .18s ease;
  }

  .menu-icon span:nth-child(1) {
    top: 1px;
  }

  .menu-icon span:nth-child(2) {
    top: 8.5px;
  }

  .menu-icon span:nth-child(3) {
    top: 16px;
  }

  .menu-toggle.is-open .menu-icon span:nth-child(1) {
    top: 8.5px;
    transform: rotate(45deg) scaleX(1);
  }

  .menu-toggle.is-open .menu-icon span:nth-child(2) {
    top: 8.5px;
    opacity: 0;
    transform: rotate(0deg) scaleX(0);
  }

  .menu-toggle.is-open .menu-icon span:nth-child(3) {
    top: 8.5px;
    transform: rotate(-45deg) scaleX(1);
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding-right: 6px;
  }

  .menu-toggle {
    width: 46px;
    min-width: 46px;
    height: 44px;
    min-height: 44px;
    margin-right: 4px;
  }

  .menu-icon {
    width: 24px;
    height: 19px;
  }

  .menu-icon span {
    width: 24px;
    height: 3px;
  }

  .menu-icon span:nth-child(1) { top: 1px; }
  .menu-icon span:nth-child(2) { top: 8px; }
  .menu-icon span:nth-child(3) { top: 15px; }
  .menu-toggle.is-open .menu-icon span:nth-child(1),
  .menu-toggle.is-open .menu-icon span:nth-child(2),
  .menu-toggle.is-open .menu-icon span:nth-child(3) { top: 8px; }
}

/* v14: black Aerials CTA and no touch-device hover states. */
.aerial-callout .button.secondary,
.aerial-callout .button.secondary:visited {
  border-color: #111;
  background: #111;
  color: #fffdf7;
  box-shadow: 5px 5px 0 rgba(255, 253, 247, .9);
}

@media (hover: hover) and (pointer: fine) {
  .aerial-callout .button.secondary:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 rgba(255, 253, 247, .9);
  }
}

@media (hover: none), (pointer: coarse) {
  .mobile-menu a:hover {
    padding-left: 0;
    background: transparent;
    color: #f7f3e8;
    opacity: 1;
  }

  .menu-toggle:hover {
    border-color: #111;
    background: #fffdf7;
    color: #111;
    box-shadow: none;
    transform: none;
  }

  .menu-toggle.is-open:hover,
  .menu-toggle.is-open:active {
    border-color: #111;
    background: #111;
    color: #fffdf7;
  }

  .button:hover {
    transform: none;
    box-shadow: 5px 5px 0 var(--line);
  }

  .hero .button:hover {
    box-shadow: 5px 5px 0 #f7f3e8;
  }

  .aerial-callout .button.secondary:hover {
    border-color: #111;
    background: #111;
    color: #fffdf7;
    box-shadow: 5px 5px 0 rgba(255, 253, 247, .9);
    transform: none;
  }
}


/* v15: official Bootstrap Icons menu/close control; borderless mobile button. */
@media (max-width: 1100px) {
  .menu-toggle {
    border: 0 !important;
    outline: 0;
    background: #fffdf7;
    color: #111;
    box-shadow: none !important;
    overflow: visible;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    border: 0 !important;
    background: #fffdf7;
    color: #111;
    box-shadow: none !important;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
  }

  .menu-toggle:active,
  .menu-toggle.is-open,
  .menu-toggle.is-open:hover,
  .menu-toggle.is-open:focus-visible {
    border: 0 !important;
    background: #111;
    color: #fffdf7;
    box-shadow: none !important;
  }

  .menu-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
  }

  .menu-glyph {
    position: absolute;
    inset: 0;
    width: 28px;
    height: 28px;
    fill: currentColor;
    transform-origin: 50% 50%;
    transition:
      opacity .22s ease,
      transform .36s cubic-bezier(.22, 1, .36, 1);
  }

  .menu-glyph-open {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

  .menu-glyph-close {
    opacity: 0;
    transform: rotate(-90deg) scale(.72);
  }

  .menu-toggle.is-open .menu-glyph-open {
    opacity: 0;
    transform: rotate(90deg) scale(.72);
  }

  .menu-toggle.is-open .menu-glyph-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@media (max-width: 480px) {
  .menu-icon,
  .menu-glyph {
    width: 27px;
    height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-glyph {
    transition-duration: .01ms !important;
  }
}


/* v16: keep gallery numbers sequential in each visible layout without moving content. */
.video-number-mobile {
  display: none;
}

@media (max-width: 700px) {
  .video-number-desktop {
    display: none;
  }

  .video-number-mobile {
    display: inline;
  }
}

/* v17: black text on every blue accent surface. */
.button,
.button:link,
.button:visited,
.button:hover,
.button:focus-visible,
.video-number {
  color: #111;
}

.aerial-callout {
  color: #111;
}

.aerial-callout :where(h1, h2, h3, h4, h5, h6, p, span, strong, em, small, li) {
  color: #111;
}

.mobile-menu,
.mobile-menu a,
.mobile-menu a:link,
.mobile-menu a:visited,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
  color: #111;
}

.mobile-menu a,
.mobile-menu a:first-child {
  border-color: rgba(17, 17, 17, .48);
}

@media (hover: none), (pointer: coarse) {
  .mobile-menu a:hover {
    color: #111;
  }
}


/* v18: bold official Heroicons menu glyphs on a fully transparent control. */
@media (max-width: 1100px) {
  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle:focus-visible,
  .menu-toggle:active,
  .menu-toggle.is-open,
  .menu-toggle.is-open:hover,
  .menu-toggle.is-open:focus-visible {
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 7px !important;
    border-radius: 0;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  .menu-icon,
  .menu-glyph {
    width: 32px;
    height: 32px;
  }

  .menu-glyph {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 6px !important;
  }

  .menu-icon,
  .menu-glyph {
    width: 32px;
    height: 32px;
  }
}


/* v19: Schedule Video is a standard desktop navigation link with no box. */
@media (min-width: 1101px) {
  .desktop-nav .nav-link[href="/schedule-video/"],
  .desktop-nav .nav-link[href="/schedule-video/"]:hover,
  .desktop-nav .nav-link[href="/schedule-video/"]:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}


/* v18: restore warm-white text on blue and deepen the blue slightly. */
:root {
  --accent: #547398;
}

.button:not(.secondary),
.button:not(.secondary):link,
.button:not(.secondary):visited,
.button:not(.secondary):hover,
.button:not(.secondary):focus-visible,
.video-number {
  color: #fffdf7;
}

.aerial-callout,
.aerial-callout :where(h1, h2, h3, h4, h5, h6, p, span, strong, em, small, li, a) {
  color: #fffdf7;
}

/* Preserve the intentionally black Aerials button with white lettering. */
.aerial-callout .button.secondary,
.aerial-callout .button.secondary:link,
.aerial-callout .button.secondary:visited,
.aerial-callout .button.secondary:hover,
.aerial-callout .button.secondary:focus-visible {
  background: #111;
  color: #fffdf7;
}

.mobile-menu,
.mobile-menu a,
.mobile-menu a:link,
.mobile-menu a:visited,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
  color: #fffdf7;
}

.mobile-menu a,
.mobile-menu a:first-child {
  border-color: rgba(255, 253, 247, .52);
}

@media (hover: none), (pointer: coarse) {
  .mobile-menu a:hover {
    color: #fffdf7;
  }
}

/* v21: larger, better-balanced desktop header and navigation. */
@media (min-width: 1101px) {
  .header-inner {
    min-height: 100px;
    gap: clamp(30px, 3.2vw, 46px);
  }

  .brand img {
    width: clamp(180px, 17vw, 220px);
    max-height: 64px;
  }

  .desktop-nav {
    gap: clamp(18px, 1.9vw, 30px);
  }

  .desktop-nav .nav-link,
  .desktop-nav .nav-link.nav-schedule {
    padding: .7rem .12rem;
    font-size: clamp(.76rem, .82vw, .9rem);
    letter-spacing: .07em;
  }
}


/* v22: stable mobile menu at any scroll position. */
@media (max-width: 1100px) {
  html.menu-is-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.menu-is-open {
    position: static !important;
    top: auto !important;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  body.menu-is-open .site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .mobile-menu,
  body.menu-is-open .mobile-menu {
    position: fixed;
    z-index: 90;
    inset: var(--mobile-header-height, 78px) 0 0;
    height: calc(100dvh - var(--mobile-header-height, 78px));
    max-height: calc(100dvh - var(--mobile-header-height, 78px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}

/* v23: stronger display headings throughout the website. */
.hero h1,
.page-title h1,
.section-copy h2,
.aerial-callout h2,
.cta h2,
.bio h2 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-synthesis: none;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
}

/* Keep the three hero title layers especially strong and crisp. */
.hero h1 span {
  font-weight: 900;
}

/* v24: full-height mobile hero with the title and Gallery control raised slightly. */
@media (max-width: 1100px) {
  .home-main .hero {
    min-height: calc(100vh - var(--mobile-header-height, 75px));
    min-height: calc(100svh - var(--mobile-header-height, 75px));
    height: calc(100dvh - var(--mobile-header-height, 75px));
    max-height: none;
  }

  .home-main .hero-video,
  .home-main .hero-shade,
  .home-main .hero-video .local-hero-video {
    width: 100%;
    height: 100%;
  }

  .home-main .hero-video .local-hero-video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .home-main .hero-copy {
    align-self: end;
    padding-top: 28px;
    padding-bottom: clamp(58px, 8dvh, 78px);
  }
}

@media (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
  .home-main .hero-copy {
    padding-top: 14px;
    padding-bottom: 24px;
  }

  .home-main .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(2.8rem, 13dvh, 4.25rem);
  }

  .home-main .hero .button {
    padding: .65rem .9rem;
  }
}

/* v25: ensure the heavy display weight is visibly retained on phones/tablets. */
@media (max-width: 1100px) {
  .hero h1,
  .page-title h1,
  .section-copy h2,
  .aerial-callout h2,
  .cta h2,
  .bio h2,
  .mobile-menu a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: 900 !important;
    font-synthesis: none;
    -webkit-text-stroke: 0 transparent;
    text-shadow: none;
  }

  .hero h1 span {
    font-family: inherit;
    font-weight: 900 !important;
  }
}


/* v27: clean heavy type rendering without artificial stroke artifacts.
   The previous outline and duplicate text shadows could create notches,
   doubled edges, and malformed crossbars on letters such as T and E. */
.hero h1,
.page-title h1,
.section-copy h2,
.aerial-callout h2,
.cta h2,
.bio h2,
.mobile-menu a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-synthesis: none;
  -webkit-text-stroke: 0 transparent !important;
  text-shadow: none !important;
  font-kerning: normal;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
}

.hero h1,
.page-title h1 {
  letter-spacing: -.055em;
}

.section-copy h2,
.aerial-callout h2,
.cta h2,
.bio h2 {
  letter-spacing: -.04em;
}

@media (max-width: 1100px) {
  .hero h1,
  .page-title h1 {
    letter-spacing: -.045em;
  }

  .section-copy h2,
  .aerial-callout h2,
  .cta h2,
  .bio h2,
  .mobile-menu a {
    letter-spacing: -.03em;
  }
}

/* v29: exact-word desktop hover fades for paragraph-based copy.
   Each word is wrapped by site.js, so hovering empty space or another word
   no longer recolors an entire paragraph, link, list item, or quotation. */
.word-hover {
  display: inline;
}

@media (hover: hover) and (pointer: fine) {
  .word-hover {
    transition: color .34s cubic-bezier(.22, 1, .36, 1);
  }

  /* Ordinary paragraph copy on light/off-white surfaces. */
  main .word-hover:hover {
    color: var(--accent);
  }

  /* Paragraph copy placed on the blue Aerials section. */
  .aerial-callout .word-hover:hover {
    color: #111;
  }

  /* Blue controls and number badges retain their existing whole-control hover. */
  .button:not(.secondary),
  .video-number {
    transition:
      color .36s cubic-bezier(.22, 1, .36, 1),
      transform .14s ease,
      box-shadow .14s ease;
  }

  .button:not(.secondary):hover,
  .button:not(.secondary):focus-visible,
  .video-number:hover {
    color: #111;
  }

  /* The black Aerials button is not a blue surface, so keep its text white. */
  .aerial-callout .button.secondary,
  .aerial-callout .button.secondary:hover,
  .aerial-callout .button.secondary:focus-visible {
    color: #fffdf7;
  }

  /* Desktop navigation keeps its blue text fade. */
  .desktop-nav .nav-link,
  .desktop-nav .nav-link.nav-schedule {
    transition:
      color .32s cubic-bezier(.22, 1, .36, 1),
      opacity .32s ease;
  }

  .desktop-nav .nav-link::after {
    background: currentColor;
  }

  .desktop-nav .nav-link:hover,
  .desktop-nav .nav-link:focus-visible,
  .desktop-nav .nav-link.nav-schedule:hover,
  .desktop-nav .nav-link.nav-schedule:focus-visible {
    color: var(--accent);
    opacity: 1;
  }
}

/* Responsive spring flare for the stacked CINE / MATIC / FILMS title.
   The Web Animations API drives normal playback; these keyframes are a fallback. */
#hero-title {
  --hero-title-separation: clamp(14px, 1.5vw, 20px);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#hero-title span {
  display: block;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

#hero-title span:nth-child(1) {
  --hero-bounce-y: calc(0px - var(--hero-title-separation));
  --hero-inward-y: 4.5px;
  --hero-bounce-scale: 1.055;
}

#hero-title span:nth-child(2) {
  --hero-bounce-y: -2px;
  --hero-inward-y: 1.25px;
  --hero-bounce-scale: 1.072;
}

#hero-title span:nth-child(3) {
  --hero-bounce-y: var(--hero-title-separation);
  --hero-inward-y: -4.5px;
  --hero-bounce-scale: 1.055;
}

#hero-title:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
}

#hero-title.is-bouncing span {
  will-change: transform;
}

/* Fallback for browsers without Element.animate(). */
#hero-title.use-css-bounce.is-bouncing span {
  animation: hero-title-spring-bounce 610ms both;
}

@keyframes hero-title-spring-bounce {
  0% {
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  40% {
    transform: translate3d(0, var(--hero-bounce-y), 0)
      scale3d(var(--hero-bounce-scale), var(--hero-bounce-scale), 1);
  }
  76% {
    transform: translate3d(0, var(--hero-inward-y), 0)
      scale3d(.992, .992, 1);
  }
  100% {
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

@media (max-width: 700px) {
  #hero-title {
    --hero-title-separation: clamp(12px, 3vw, 17px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-title.is-bouncing span {
    animation: none !important;
    transform: none !important;
  }
}

/* v33: emphasize the word PREMIUM in the Aerials heading with black text. */
.aerial-callout h2 .premium-word {
  color: #111 !important;
}


/* v34: slower, calmer title bounce with the same peak movement. */

/* v35: fast, smooth mobile drawer motion.
   The panel stays mounted during its exit so it can visibly slide back up
   before scroll locking and the fixed header are released. */
@media (max-width: 1100px) {
  .mobile-menu,
  body.menu-is-open .mobile-menu {
    display: grid;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, calc(-100% - 2px), 0);
    transform-origin: 50% 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    contain: layout paint;
    transition: transform 390ms cubic-bezier(.32, .72, 0, 1);
  }

  .mobile-menu.is-mounted {
    visibility: visible;
  }

  .mobile-menu.open {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  /* The upward motion accelerates cleanly rather than fading or popping out. */
  .mobile-menu.is-closing {
    pointer-events: none;
    transition-timing-function: cubic-bezier(.4, 0, .7, .2);
    transition-duration: 330ms;
  }

  .mobile-menu nav {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1100px) {
  .mobile-menu,
  body.menu-is-open .mobile-menu,
  .mobile-menu.is-closing {
    transition-duration: 1ms;
  }
}


/* v36: reliable mobile drawer visibility, stable scrollbar locking, and
   reversible transform-only motion. */
@media (max-width: 1100px) {
  html.menu-is-open,
  body.menu-is-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.menu-is-open {
    padding-inline-end: var(--menu-scrollbar-compensation, 0px);
  }

  body.menu-is-open .site-header {
    padding-inline-end: var(--menu-scrollbar-compensation, 0px);
  }

  .mobile-menu,
  body.menu-is-open .mobile-menu {
    display: grid;
    width: auto !important;
    max-width: none;
    inset: var(--mobile-header-height, 78px) 0 0;
    height: auto;
    max-height: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -100%, 0);
    transform-origin: 50% 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    contain: paint;
    transition-property: transform;
    transition-duration: 350ms;
    transition-timing-function: cubic-bezier(.22, .72, .18, 1);
  }

  .mobile-menu.is-mounted,
  body.menu-is-open .mobile-menu.is-mounted,
  .mobile-menu.is-closing,
  body.menu-is-open .mobile-menu.is-closing {
    visibility: visible;
  }

  .mobile-menu.open,
  body.menu-is-open .mobile-menu.open {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .mobile-menu.is-closing,
  body.menu-is-open .mobile-menu.is-closing {
    pointer-events: none;
    transform: translate3d(0, -100%, 0);
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(.55, 0, .72, .24);
  }

  .mobile-menu nav {
    width: 100%;
    min-height: 100%;
    transform: translateZ(0);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1100px) {
  .mobile-menu,
  body.menu-is-open .mobile-menu,
  .mobile-menu.is-closing,
  body.menu-is-open .mobile-menu.is-closing {
    transition-duration: 1ms;
  }
}

/* v38: keep the page visually frozen while the mobile drawer moves.
   The drawer no longer changes body width, scrollbar space, or header layout. */
@media (max-width: 1100px) {
  html.menu-is-open,
  body.menu-is-open {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    overflow: visible !important;
    padding-inline-end: 0 !important;
    touch-action: auto !important;
    overscroll-behavior: auto !important;
  }

  body.menu-is-open .site-header {
    position: sticky !important;
    z-index: 100;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    padding-inline-end: 0 !important;
  }

  .mobile-menu,
  body.menu-is-open .mobile-menu {
    position: fixed;
    z-index: 90;
    inset: var(--mobile-header-height, 78px) 0 0;
    width: 100% !important;
    height: calc(100dvh - var(--mobile-header-height, 78px));
    max-height: calc(100dvh - var(--mobile-header-height, 78px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    isolation: isolate;
  }
}

/* v39: larger desktop navigation and cleaner mobile Contact layout. */
@media (min-width: 1101px) {
  .desktop-nav .nav-link,
  .desktop-nav .nav-link.nav-schedule {
    font-size: clamp(.88rem, .94vw, 1rem);
    letter-spacing: .055em;
  }
}

@media (max-width: 1020px) {
  .contact-layout {
    align-items: stretch;
  }

  .contact-card {
    order: -1;
    min-height: 0;
    justify-content: flex-start;
    gap: 20px;
  }

  .contact-card p {
    margin: 0;
  }

  .contact-image {
    order: 0;
  }
}

@media (max-width: 700px) {
  .contact-layout {
    gap: 30px;
    padding-block: 52px 64px;
  }

  .contact-card {
    padding: 24px;
    gap: 16px;
  }

  .contact-card .button {
    margin: 0;
  }

  .contact-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-position: center;
  }
}

/* v40: slightly quicker title bounce with a deeper inward overshoot before settling. */

/* v41: nudge the desktop navigation farther toward the right edge. */
@media (min-width: 1101px) {
  .desktop-nav {
    transform: translateX(clamp(8px, 1.1vw, 16px));
  }
}

/* v42: stack the homepage creation actions beneath the heading on desktop. */
@media (min-width: 1021px) {
  .home-main .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 2.5vw, 36px);
  }

  .home-main .cta-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-main .cta-grid > div .button,
  .home-main .cta-grid > div p {
    margin: 0;
  }
}

/* v43: keep the existing drawer speed while adding a longer, softer
   deceleration at the end of both opening and closing movements. */
@media (max-width: 1100px) {
  .mobile-menu,
  body.menu-is-open .mobile-menu {
    transition-duration: 350ms;
    transition-timing-function: cubic-bezier(.16, .84, .24, 1);
  }

  .mobile-menu.is-closing,
  body.menu-is-open .mobile-menu.is-closing {
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(.16, .84, .24, 1);
  }
}


/* v44: desktop homepage content flow refinements. */
@media (min-width: 1021px) {
  /* Put START and CREATING on their own lines without changing mobile copy flow. */
  .home-main .cta h2 .cta-line {
    display: block;
  }

  /* Stack the Aerials action beneath its descriptive paragraph. */
  .home-main .aerial-callout .wrap {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .home-main .aerial-callout h2 {
    grid-column: 1;
  }

  .home-main .aerial-callout .large-copy {
    max-width: 920px;
  }

  .home-main .aerial-callout .button.secondary {
    justify-self: start;
    margin-top: clamp(2px, .4vw, 7px);
  }
}

/* v45: stack the Start / Creating heading on mobile and balance the action spacing. */
@media (max-width: 1020px) {
  .home-main .cta h2 .cta-line {
    display: block;
  }

  .home-main .cta-grid {
    align-items: start;
    gap: clamp(24px, 6vw, 32px);
  }

  .home-main .cta-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .home-main .cta-grid > div .button,
  .home-main .cta-grid > div p {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .home-main .cta-grid {
    gap: 24px;
  }

  .home-main .cta-grid > div {
    gap: 12px;
  }
}


/* v46: exact title hit areas and a stable mobile hero viewport.
   Each title line owns its own pointer box, so blank space beside a shorter
   line cannot trigger the animation. The captured viewport height avoids the
   address-bar resize loop that can make the hero and sticky header jitter. */
#hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
  cursor: default;
}

#hero-title span {
  width: max-content;
  max-width: 100%;
  pointer-events: auto;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .home-main .hero {
    min-height: calc(var(--stable-mobile-viewport, 100svh) - var(--mobile-header-height, 75px));
    height: calc(var(--stable-mobile-viewport, 100svh) - var(--mobile-header-height, 75px));
    max-height: calc(var(--stable-mobile-viewport, 100svh) - var(--mobile-header-height, 75px));
    contain: layout paint;
  }

  .home-main .hero-copy {
    padding-bottom: clamp(58px, 8svh, 78px);
  }

  .mobile-menu,
  body.menu-is-open .mobile-menu {
    height: calc(var(--stable-mobile-viewport, 100svh) - var(--mobile-header-height, 78px));
    max-height: calc(var(--stable-mobile-viewport, 100svh) - var(--mobile-header-height, 78px));
  }

  .site-header {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

#hero-title span {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}


/* v47: pinch-zoom stability.
   Magnification must not trigger layout-height feedback, and the header/hero
   should not use compositing hints that can flicker while Safari or Chrome is
   scaling the visual viewport. */
@media (max-width: 1100px) {
  html,
  body,
  .home-main,
  .home-main .hero {
    touch-action: pan-x pan-y pinch-zoom;
  }

  .home-main .hero {
    contain: none;
  }

  .site-header {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none;
    will-change: auto;
  }

  #hero-title span,
  .menu-toggle {
    touch-action: pan-x pan-y pinch-zoom;
  }

  .mobile-menu,
  body.menu-is-open .mobile-menu {
    touch-action: pan-y pinch-zoom;
  }
}


/* v50: Keep the parser-created hero video in the DOM so mobile autoplay is not
   cancelled by moving or recreating the media element after page load. */
#site-root {
  position: relative;
  z-index: 1;
}

.home-page .hero-background-video {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  background: #111;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

.home-page .home-main .hero,
.home-page .home-main .hero-video {
  background: transparent !important;
}

.home-page .home-main .story-section,
.home-page .home-main .cta {
  position: relative;
  background: var(--bg);
}

@media (max-width: 900px) {
  .home-page .hero-background-video {
    height: var(--stable-mobile-viewport, 100svh);
    min-height: var(--stable-mobile-viewport, 100svh);
  }
}


/* v51: larger Start / Creating heading, tighter action spacing, and a deferred
   hero fallback image. The JPG is not requested until autoplay is blocked,
   the video errors, or playback makes no progress for an extended period. */
.home-main .cta h2 {
  font-size: clamp(5.35rem, 11.4vw, 10.25rem);
  line-height: .76;
}

.home-main .cta-grid {
  gap: clamp(14px, 1.7vw, 24px);
}

@media (max-width: 1020px) {
  .home-main .cta h2 {
    font-size: clamp(4.15rem, 18.5vw, 7rem);
    line-height: .78;
  }

  .home-main .cta-grid {
    gap: clamp(14px, 4vw, 20px);
  }
}

@media (max-width: 480px) {
  .home-main .cta h2 {
    font-size: clamp(3.85rem, 19vw, 5.65rem);
  }

  .home-main .cta-grid {
    gap: 14px;
  }
}

.home-page .hero-fallback-image {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 100vh;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.home-page .hero-fallback-image.is-visible {
  opacity: 1;
  visibility: visible;
}

.home-page .hero-background-video.is-fallback-hidden {
  opacity: 0;
}

.home-page .hero-background-video {
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-page .hero-background-video.has-playing-frame {
  opacity: 1;
}

@media (max-width: 900px) {
  .home-page .hero-fallback-image {
    height: var(--stable-mobile-viewport, 100svh);
    min-height: var(--stable-mobile-viewport, 100svh);
  }
}

/* v57: Keep the hero flush with the following section and permanently remove
   the manual play control. A blocked video should show only the poster. */
.home-page .home-main .hero {
  margin: 0 !important;
  margin-block: 0 !important;
  border-bottom: 0;
}

.home-page .home-main .hero + .story-section {
  position: relative;
  z-index: 2;
  margin-top: -2px !important;
}

.hero-play,
.hero-play-icon {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* v58: PREMIUM always begins directly below SHOWCASE WITH. */
.home-main .aerial-callout .premium-line {
  display: block;
  white-space: nowrap;
}

.home-main .aerial-callout .premium-word {
  display: inline;
}

@media (max-width: 340px) {
  .home-main .aerial-callout .premium-line {
    font-size: .96em;
  }
}

/* v59: The fallback is failure-only. It is never painted in front of a video
   that is successfully starting, which prevents a one-frame poster flash. */
.home-page .hero-fallback-image:not(.is-visible) {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* v61: Keep the title, Gallery action, and their dark backing out of the first
   paint. Reveal them together only after video or fallback media is visible. */
.home-page:not(.hero-media-ready) .home-main .hero-copy,
.home-page:not(.hero-media-ready) .home-main .hero-shade {
  opacity: 0 !important;
  visibility: hidden !important;
}

.home-page.hero-media-ready .home-main .hero-copy,
.home-page.hero-media-ready .home-main .hero-shade {
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease;
}

/* v52: Keep the hero footage bright across most of the frame while placing
   the stronger contrast only behind the bottom-left title and Gallery link. */
.home-main .hero-shade {
  background:
    radial-gradient(
      ellipse 72% 78% at 12% 91%,
      rgba(0, 0, 0, .76) 0%,
      rgba(0, 0, 0, .60) 20%,
      rgba(0, 0, 0, .34) 39%,
      rgba(0, 0, 0, .13) 57%,
      rgba(0, 0, 0, .035) 72%,
      transparent 86%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .015) 0%,
      rgba(0, 0, 0, .025) 55%,
      rgba(0, 0, 0, .10) 100%
    );
}

@media (max-width: 900px) {
  .home-main .hero-shade {
    background:
      radial-gradient(
        ellipse 96% 72% at 15% 91%,
        rgba(0, 0, 0, .78) 0%,
        rgba(0, 0, 0, .62) 22%,
        rgba(0, 0, 0, .34) 43%,
        rgba(0, 0, 0, .11) 62%,
        rgba(0, 0, 0, .025) 76%,
        transparent 89%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, .01) 0%,
        rgba(0, 0, 0, .025) 58%,
        rgba(0, 0, 0, .09) 100%
      );
  }
}

/* v69: Clearly visible but still edge-free title contrast. Two oversized,
   low-detail radial fades create a natural pool of darkness behind the copy;
   both gradients reach full transparency far inside the element bounds. */
.home-main .hero-shade {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, .006) 0%,
    rgba(0, 0, 0, .012) 62%,
    rgba(0, 0, 0, .032) 100%
  );
}

.home-main .hero-copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: clamp(-220px, -14vw, -110px);
  top: -62%;
  width: min(1260px, calc(100% + 390px));
  height: 235%;
  background:
    radial-gradient(
      ellipse 48% 42% at 31% 49%,
      rgba(0, 0, 0, .42) 0%,
      rgba(0, 0, 0, .31) 20%,
      rgba(0, 0, 0, .19) 38%,
      rgba(0, 0, 0, .09) 54%,
      rgba(0, 0, 0, .028) 67%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 67% 64% at 31% 51%,
      rgba(0, 0, 0, .16) 0%,
      rgba(0, 0, 0, .10) 34%,
      rgba(0, 0, 0, .038) 58%,
      transparent 80%
    );
  filter: blur(38px);
  transform: translateZ(0);
  pointer-events: none;
}

.home-main .hero-copy > * {
  position: relative;
  z-index: 1;
}

.home-main .hero h1 {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, .34),
    0 8px 32px rgba(0, 0, 0, .20);
}

@media (max-width: 900px) {
  .home-main .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, .005) 0%,
      rgba(0, 0, 0, .011) 64%,
      rgba(0, 0, 0, .03) 100%
    );
  }

  .home-main .hero-copy::before {
    left: -118px;
    top: -56%;
    width: calc(100% + 245px);
    height: 220%;
    background:
      radial-gradient(
        ellipse 54% 44% at 39% 49%,
        rgba(0, 0, 0, .40) 0%,
        rgba(0, 0, 0, .29) 21%,
        rgba(0, 0, 0, .175) 40%,
        rgba(0, 0, 0, .078) 56%,
        rgba(0, 0, 0, .024) 69%,
        transparent 82%
      ),
      radial-gradient(
        ellipse 72% 66% at 39% 51%,
        rgba(0, 0, 0, .14) 0%,
        rgba(0, 0, 0, .085) 35%,
        rgba(0, 0, 0, .03) 59%,
        transparent 81%
      );
    filter: blur(34px);
  }

  .home-main .hero h1 {
    text-shadow:
      0 2px 11px rgba(0, 0, 0, .34),
      0 7px 28px rgba(0, 0, 0, .19);
  }
}

/* v67: Slightly reduce the Start / Creating heading on mobile while preserving
   the established desktop scale and compact stacked line spacing. */
@media (max-width: 1020px) {
  .home-main .cta h2 {
    font-size: clamp(3.9rem, 17vw, 6.5rem);
  }
}

@media (max-width: 480px) {
  .home-main .cta h2 {
    font-size: clamp(3.55rem, 17.5vw, 5.2rem);
  }
}


/* v70: Render the 3840x2160 hero placeholder as a native image instead of a
   CSS background. Explicit intrinsic dimensions, a single full-resolution
   srcset candidate, and no filter/transform preserve the cleanest 4K decode. */
.home-page img.hero-fallback-image {
  max-width: none;
  transform: none;
  filter: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

/* v75: preserve the approved hero entrance while keeping all other motion
   layout-safe. Every non-hero reveal stays on its original x-position and
   uses only a short vertical rise, gentle focus, and restrained scale. */
.click-bounce-heading {
  cursor: pointer;
  transform-origin: 20% 65%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}

.click-bounce-heading:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 7px;
}

.click-bounce-heading.use-css-heading-bounce.is-heading-bouncing {
  animation: heading-spring-bounce-safe 560ms both;
}

@keyframes heading-spring-bounce-safe {
  0%, 100% { transform: translate3d(0, 0, 0) scale3d(1, 1, 1); }
  38% { transform: translate3d(0, -8px, 0) scale3d(1.018, 1.018, 1); }
  72% { transform: translate3d(0, 3px, 0) scale3d(.996, .996, 1); }
}

/* Approved CINE / MATIC / FILMS entrance — intentionally unchanged. */
.home-page #hero-title span {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(var(--hero-enter-x, -90%), 18px, 0) scale3d(.92, .92, 1) skewX(var(--hero-enter-skew, -5deg));
}

.home-page #hero-title span:nth-child(1) {
  --hero-enter-x: -118%;
  --hero-enter-skew: -6deg;
  --hero-enter-delay: 80ms;
}

.home-page #hero-title span:nth-child(2) {
  --hero-enter-x: 106%;
  --hero-enter-skew: 5deg;
  --hero-enter-delay: 190ms;
}

.home-page #hero-title span:nth-child(3) {
  --hero-enter-x: -88%;
  --hero-enter-skew: -4deg;
  --hero-enter-delay: 300ms;
}

.home-page.hero-media-ready #hero-title:not(.has-entered) span {
  animation: hero-cinematic-slide-in 920ms cubic-bezier(.16, .84, .24, 1) var(--hero-enter-delay) both;
}

.home-page #hero-title.has-entered span {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  animation: none;
}

@keyframes hero-cinematic-slide-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(var(--hero-enter-x), 18px, 0) scale3d(.92, .92, 1) skewX(var(--hero-enter-skew));
  }
  58% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(13px, 0, 0) scale3d(1.02, 1.02, 1) skewX(0deg);
  }
  78% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-4px, 0, 0) scale3d(.995, .995, 1);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

/* PREMIUM starts white. A black duplicate wipes over it while a second,
   blurred duplicate travels along the leading edge. Both layers are absolute,
   so the effect cannot change wrapping, width, or section placement. */
.home-main .aerial-callout h2 .premium-word {
  position: relative;
  display: inline-block;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  isolation: isolate;
}

.home-main .aerial-callout .premium-word::after,
.home-main .aerial-callout .premium-word::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #111;
  -webkit-text-fill-color: #111;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
}

.home-main .aerial-callout .premium-word::after {
  z-index: 1;
}

.home-main .aerial-callout .premium-word::before {
  z-index: 2;
  opacity: .68;
  filter: blur(3.2px);
}

.home-main .aerial-callout .reveal.is-visible .premium-word::after {
  animation: premium-sharp-black-wipe 1120ms cubic-bezier(.2, .78, .2, 1) 360ms both;
}

.home-main .aerial-callout .reveal.is-visible .premium-word::before {
  animation: premium-blurred-leading-edge 1120ms cubic-bezier(.2, .78, .2, 1) 360ms both;
}

@keyframes premium-sharp-black-wipe {
  from {
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
  }
}

/* A narrow blurred text band crosses the word just ahead of the sharp black
   fill, creating a soft photographic edge without masking the parent element. */
@keyframes premium-blurred-leading-edge {
  0%   { clip-path: inset(0 100% 0 0);   -webkit-clip-path: inset(0 100% 0 0); }
  10%  { clip-path: inset(0 82% 0 0);    -webkit-clip-path: inset(0 82% 0 0); }
  20%  { clip-path: inset(0 72% 0 12%);  -webkit-clip-path: inset(0 72% 0 12%); }
  30%  { clip-path: inset(0 62% 0 22%);  -webkit-clip-path: inset(0 62% 0 22%); }
  40%  { clip-path: inset(0 52% 0 32%);  -webkit-clip-path: inset(0 52% 0 32%); }
  50%  { clip-path: inset(0 42% 0 42%);  -webkit-clip-path: inset(0 42% 0 42%); }
  60%  { clip-path: inset(0 32% 0 52%);  -webkit-clip-path: inset(0 32% 0 52%); }
  70%  { clip-path: inset(0 22% 0 62%);  -webkit-clip-path: inset(0 22% 0 62%); }
  80%  { clip-path: inset(0 12% 0 72%);  -webkit-clip-path: inset(0 12% 0 72%); }
  90%  { clip-path: inset(0 0 0 82%);    -webkit-clip-path: inset(0 0 0 82%); }
  100% { clip-path: inset(0 0 0 100%);   -webkit-clip-path: inset(0 0 0 100%); }
}

/* Stable scroll reveals. No horizontal translation, rotation, clip-path, or
   oversize scaling is used anywhere outside the approved hero title. */
.reveal {
  --reveal-delay: 0ms;
  --reveal-y: 34px;
  --reveal-scale: 1;
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, var(--reveal-y), 0) scale3d(var(--reveal-scale), var(--reveal-scale), 1);
  transform-origin: 50% 65%;
  max-width: 100%;
  box-sizing: border-box;
  will-change: opacity, transform, filter;
}

.reveal.reveal-title {
  --reveal-y: 26px;
}

.reveal.reveal-copy {
  --reveal-y: 30px;
}

.reveal.reveal-media {
  --reveal-y: 40px;
  --reveal-scale: .985;
  filter: blur(9px) saturate(.88);
}

.reveal.reveal-stage {
  --reveal-y: 32px;
}

.reveal.is-visible {
  animation: reveal-rise-safe 820ms cubic-bezier(.16, .84, .24, 1) var(--reveal-delay) both;
}

.reveal.reveal-media.is-visible {
  animation-name: reveal-media-safe;
  animation-duration: 940ms;
}

@keyframes reveal-rise-safe {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, var(--reveal-y), 0) scale3d(var(--reveal-scale), var(--reveal-scale), 1);
  }
  72% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -3px, 0) scale3d(1, 1, 1);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

@keyframes reveal-media-safe {
  0% {
    opacity: 0;
    filter: blur(9px) saturate(.88);
    transform: translate3d(0, var(--reveal-y), 0) scale3d(.985, .985, 1);
  }
  70% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, -3px, 0) scale3d(.997, .997, 1);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

/* Only selected content groups stagger their own children. The children move
   vertically by a few pixels and never alter layout dimensions. */
.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 520ms ease,
    transform 680ms cubic-bezier(.16, .84, .24, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: calc(var(--reveal-delay) + 120ms); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: calc(var(--reveal-delay) + 190ms); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: calc(var(--reveal-delay) + 260ms); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: calc(var(--reveal-delay) + 330ms); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: calc(var(--reveal-delay) + 400ms); }

/* The hero copy is synchronized to its media and must not inherit the generic
   section reveal transform. */
.home-main .hero-copy.reveal,
.home-main .hero-copy.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  will-change: auto;
}

/* Defensive width containment for narrow screens. This does not resize or
   reposition desktop layouts; it only prevents transformed paint from creating
   a horizontal scroll area on phones. */
#site-root,
#site-root main,
#site-root section,
#site-root .wrap,
#site-root .split,
#site-root .video-grid,
#site-root .video-card,
#site-root .framed-media,
#site-root .page-title,
#site-root .about-intro,
#site-root .about-layout,
#site-root .contact-layout,
#site-root .cta-grid,
#site-root .section-copy {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .reveal {
    --reveal-y: 24px;
  }

  .reveal.reveal-media {
    --reveal-y: 28px;
    --reveal-scale: .992;
  }

  .reveal-stagger > * {
    transform: translate3d(0, 10px, 0);
  }

  .home-page #hero-title span:nth-child(1) { --hero-enter-x: -104%; }
  .home-page #hero-title span:nth-child(2) { --hero-enter-x: 92%; }
  .home-page #hero-title span:nth-child(3) { --hero-enter-x: -82%; }
}

@media (prefers-reduced-motion: reduce) {
  .click-bounce-heading,
  .click-bounce-heading.is-heading-bouncing,
  .home-page #hero-title span,
  .home-page.hero-media-ready #hero-title span,
  .reveal,
  .reveal.is-visible,
  .reveal-stagger > * {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .home-main .aerial-callout .premium-word {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  .home-main .aerial-callout .premium-word::before,
  .home-main .aerial-callout .premium-word::after {
    display: none !important;
  }
}

/* v94: Blur the Gallery action into focus while the CINE / MATIC / FILMS
   entrance is running. It shares the hero-ready trigger but keeps its own
   opacity/filter animation so button hover and focus transforms remain intact. */
.home-page .home-main .hero-copy > .button {
  opacity: 0;
  filter: blur(16px);
  will-change: opacity, filter;
}

.home-page.hero-media-ready .home-main .hero-copy > .button {
  animation: hero-gallery-blur-in 980ms cubic-bezier(.16, .84, .24, 1) 130ms both;
}

@keyframes hero-gallery-blur-in {
  0% {
    opacity: 0;
    filter: blur(16px);
  }
  28% {
    opacity: .38;
    filter: blur(10px);
  }
  68% {
    opacity: .94;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-main .hero-copy > .button,
  .home-page.hero-media-ready .home-main .hero-copy > .button {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
  }
}

/* v101: preserve the menu glyph animation while suppressing tap/focus boxes. */
@media (max-width: 1100px) {
  .menu-toggle,
  .menu-toggle:focus,
  .menu-toggle:focus-visible,
  .menu-toggle.is-open:focus,
  .menu-toggle.is-open:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
}

/* v100: Smooth and quicken the Gallery action's opening focus. The previous animation
   crossed a few widely spaced blur values, which could look stepped on mobile
   browsers. These closely graded frames keep opacity and focus moving together
   through one continuous accelerate/decelerate curve, now at a faster pace. */
.home-page .home-main .hero-copy > .button {
  opacity: 0;
  filter: blur(12px);
  will-change: opacity, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.home-page.hero-media-ready .home-main .hero-copy > .button {
  animation: hero-gallery-blur-in-smooth 620ms linear 0ms both;
}

@keyframes hero-gallery-blur-in-smooth {
  0% {
    opacity: 0;
    filter: blur(12px);
  }
  8% {
    opacity: .025;
    filter: blur(11.7px);
  }
  18% {
    opacity: .09;
    filter: blur(10.7px);
  }
  30% {
    opacity: .22;
    filter: blur(8.9px);
  }
  42% {
    opacity: .40;
    filter: blur(6.7px);
  }
  54% {
    opacity: .60;
    filter: blur(4.5px);
  }
  66% {
    opacity: .77;
    filter: blur(2.7px);
  }
  77% {
    opacity: .89;
    filter: blur(1.45px);
  }
  87% {
    opacity: .96;
    filter: blur(.65px);
  }
  95% {
    opacity: .992;
    filter: blur(.16px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-main .hero-copy > .button,
  .home-page.hero-media-ready .home-main .hero-copy > .button {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
  }
}
