/* Hero section — approved specification. Loaded after global section CSS. */
.nav-cta {
  font-weight: var(--font-weight-regular);
}

.site-header,
.site-header.scrolled {
  background: #1260ab;
  border-bottom-color: transparent;
}

.site-header.scrolled {
  box-shadow: 0 12px 35px rgba(4, 20, 31, .16);
}

.main-nav a {
  color: var(--text-inverse);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #eab800;
}

.menu-button span {
  background: var(--text-inverse);
}

.hero {
  background: transparent;
}

.hero-bg {
  inset: 80px 0 0;
  background: #082d4d;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0 -2%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 8%, rgba(255, 255, 255, .08), transparent 50%), linear-gradient(180deg, rgba(3, 18, 31, .12), rgba(3, 18, 31, .22));
  animation: hero-light-drift 12s ease-in-out infinite alternate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% center;
}

.hero-photo {
  transform: scale(1.01) translate3d(0, 0, 0);
  opacity: 1;
  animation: hero-photo-drift 12s cubic-bezier(.23, 1, .32, 1) forwards;
  will-change: transform;
}

@keyframes hero-photo-drift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
    opacity: 1;
  }
  to {
    transform: scale(1.07) translate3d(0, -.4%, 0);
    opacity: 1;
  }
}

@keyframes hero-light-drift {
  from {
    opacity: .88;
    transform: translate3d(-1%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(1%, 0, 0);
  }
}

.hero h1 {
  width: 1160px;
  max-width: 100%;
  margin: 0;
  text-align: center;
  color: var(--text-inverse);
  font-size: var(--font-size-heading-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading-4xl);
}

.hero-title-stage {
  display: grid;
  width: 1160px;
  max-width: 100%;
  min-height: 174px;
  align-items: center;
}

.hero-title-stage > .hero-title {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--text-inverse);
  text-align: center;
  font-size: var(--font-size-heading-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading-4xl);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.23, 1, .32, 1);
}

.hero-title-ms {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  pointer-events: none;
}

.hero-title-ms span {
  display: block;
}

.hero-title-stage.is-ms .hero-title-en {
  opacity: 0;
  transform: translate3d(0, -18px, 0);
}

.hero-title-stage.is-ms .hero-title-ms {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-title-stage.is-preparing-en .hero-title-en {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: none;
}

.hero-title-stage.is-switching-to-en .hero-title-en {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-title-stage.is-switching-to-en .hero-title-ms {
  opacity: 0;
  transform: translate3d(0, -18px, 0);
}

.hero-title-line {
  display: block;
  overflow: clip;
}

.hero-title-line > span {
  display: block;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: hero-title-reveal 900ms cubic-bezier(.23, 1, .32, 1) forwards;
  will-change: opacity, transform;
}

.hero-title-line:nth-child(1) > span {
  animation-delay: 140ms;
}

.hero-title-line:nth-child(2) > span {
  animation-delay: 230ms;
}

.hero-title-line:nth-child(3) > span {
  animation-delay: 320ms;
}

.hero-title-line:nth-child(4) > span {
  animation-delay: 410ms;
}

.hero-title-line:nth-child(5) > span {
  animation-delay: 500ms;
}

.hero-title-mobile-lines,
.hero-title-ms > .hero-title-mobile-lines,
.hero-title-narrow-lines {
  display: none;
}

@keyframes hero-title-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  min-height: 810px;
  padding-top: 84px;
  box-sizing: border-box;
  text-align: center;
}

.hero-copy {
  width: 681px;
  max-width: 100%;
  color: var(--text-inverse);
  font-size: var(--font-size-body-large);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-body-large);
  margin: 0;
}

.hero-cta {
  align-self: center;
  min-height: 50px;
  background: var(--surface-default);
  color: var(--text-primary);
  font-size: var(--font-size-body-medium);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body-medium);
}

.hero-cta-entrance {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: hero-cta-reveal 700ms cubic-bezier(.23, 1, .32, 1) 1100ms forwards;
  will-change: opacity, transform;
}

@keyframes hero-cta-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-cta span {
  display: inline-block;
  transition: transform var(--motion-default) var(--ease-standard);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: var(--surface-brand-primary);
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
}

.hero-cta:hover span,
.hero-cta:focus-visible span {
  transform: translate(4px, -4px);
}

@media (max-width: 760px) {
  .hero-bg {
    inset: 72px 0 0;
  }
  .hero-photo {
    object-position: 50% center;
  }
  .hero-content {
    min-height: 740px;
    padding-top: 76px;
    gap: 36px;
  }
  .hero-title-stage {
    min-height: 210px;
  }
  .hero-title-stage > .hero-title {
    font-size: clamp(28px, 7.7vw, 30px);
    line-height: 1.12;
  }
  .hero-title-en {
    max-width: 350px;
    margin-inline: auto;
  }
  .hero-title-stage .hero-title-desktop-lines {
    display: none;
  }
  .hero-title-stage .hero-title-mobile-lines,
  .hero-title-stage .hero-title-mobile-lines > span {
    display: block;
  }
  .main-nav {
    background: #1260ab;
  }
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-title-en > .hero-title-mobile-lines {
    display: none;
  }
  .hero-title-stage .hero-title-narrow-lines,
  .hero-title-stage .hero-title-narrow-lines > span {
    display: block;
  }
}

@media (hover: none) {
  .hero-cta:active {
    background: var(--surface-brand-primary);
    color: var(--text-inverse);
    font-weight: var(--font-weight-bold);
  }
  .hero-cta:active span {
    transform: translate(3px, -3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: none;
    transform: none;
  }
  .hero-bg::after {
    animation: none;
    transform: none;
  }
  .hero-title-line > span {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-title-ms {
    display: none;
  }
  .hero-cta-entrance {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
