/* Homepage cinematic editorial hero. Loaded only by the EN/DE homepages. */
.hero.hero--cinematic {
  --hero-spot-x: 72%;
  --hero-spot-y: 34%;
  min-height: calc(100svh - var(--hero-nav-height));
  height: calc(100svh - var(--hero-nav-height));
  background: #07111a;
}

.hero.hero--cinematic::before {
  z-index: 3;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(166, 205, 228, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 205, 228, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.68), transparent 48%, rgba(0,0,0,0.14));
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.68), transparent 48%, rgba(0,0,0,0.14));
}

.hero.hero--cinematic::after {
  z-index: 3;
  width: 58rem;
  height: 58rem;
  inset: -30rem auto auto -20rem;
  opacity: 0.72;
  background: radial-gradient(circle, rgba(52, 126, 168, 0.22), rgba(52, 126, 168, 0.045) 42%, transparent 70%);
  filter: blur(18px);
}

.hero.hero--cinematic .hero__inner {
  position: static;
  display: flex;
  align-items: center;
  max-width: 1920px;
  min-height: 100%;
  padding: clamp(4.8rem, 7vh, 7rem) clamp(2rem, 6.2vw, 8rem) clamp(9rem, 14vh, 11rem);
}

.hero--cinematic .hero__content {
  position: relative;
  z-index: 7;
  max-width: min(60rem, 57vw);
}

.hero--cinematic .hero__content::before { display: none; }

.hero--cinematic .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: #ffad7f;
  font-size: clamp(0.68rem, 0.12vw + 0.64rem, 0.8rem);
  letter-spacing: 0.18em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  animation: hero-editorial-rise 720ms 120ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__eyebrow-index {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 140, 80, 0.52);
  border-radius: 50%;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0;
  box-shadow: 0 0 0 5px rgba(243,106,33,0.055);
}

.hero.hero--cinematic h1 {
  max-width: none;
  margin-top: clamp(1rem, 2vh, 1.55rem);
  font-size: clamp(3.9rem, 5.05vw, 6.25rem);
  line-height: 0.91;
  letter-spacing: -0.06em;
  text-wrap: initial;
  text-shadow: 0 5px 34px rgba(0,0,0,0.42);
}

.hero-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  clip-path: inset(0 102% 0 0);
  animation: hero-title-reveal 980ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title-line:nth-child(1) { animation-delay: 190ms; }
.hero-title-line:nth-child(2) { animation-delay: 285ms; }
.hero-title-line:nth-child(3) { animation-delay: 380ms; }

.hero-title-line--accent {
  position: relative;
  padding-bottom: 0.09em;
  color: #fff;
}

.hero-title-line--accent::after {
  content: "";
  position: absolute;
  left: 0.03em;
  bottom: 0;
  width: min(3.35em, 74%);
  height: 0.055em;
  min-height: 3px;
  background: linear-gradient(90deg, #ff681f, #ff9a61 72%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 18px rgba(243,106,33,0.38);
  animation: hero-accent-draw 800ms 930ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.hero--cinematic .lead {
  max-width: 53ch;
  margin-top: clamp(1.25rem, 2.4vh, 1.8rem);
  color: rgba(240,246,250,0.86);
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.24rem);
  line-height: 1.58;
  text-shadow: 0 2px 16px rgba(0,0,0,0.58);
  animation: hero-editorial-rise 820ms 540ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.hero--cinematic .button-group {
  margin-top: clamp(1.35rem, 3vh, 2.15rem);
  gap: 0.8rem;
  animation: hero-editorial-rise 820ms 660ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.hero--cinematic .button {
  min-height: 3.65rem;
  padding-inline: 1.55rem;
  border-radius: 0.7rem;
}

.hero.hero--cinematic .button-primary {
  box-shadow: 0 14px 34px rgba(243,106,33,0.28), 0 0 0 1px rgba(255,166,116,0.16) inset;
}

.hero.hero--cinematic .button-secondary-dark {
  border-color: rgba(218,235,246,0.38);
  background: rgba(7,17,26,0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero.hero--cinematic .button-secondary-dark span { color: #ff8d51; font-size: 1rem; }
.hero--cinematic .hero__media { z-index: 0; }

.hero--cinematic .hero__picture {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: hero-picture-settle 1500ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.hero--cinematic .hero__media img {
  object-position: center 18%;
  animation: hero-cinematic-breathe 18s 1.5s ease-in-out infinite alternate;
}

.hero.hero--cinematic .hero__media::before {
  z-index: 2;
  background:
    radial-gradient(ellipse 58% 74% at 21% 48%, rgba(3,10,15,0.24), transparent 72%),
    linear-gradient(90deg, rgba(3,10,15,0.96) 0%, rgba(4,12,18,0.88) 27%, rgba(5,13,19,0.57) 49%, rgba(4,11,17,0.12) 71%, rgba(4,11,17,0.03) 100%),
    linear-gradient(0deg, rgba(3,9,14,0.84) 0%, transparent 35%);
}

.hero.hero--cinematic .hero__media::after {
  z-index: 3;
  inset: 0;
  width: auto;
  opacity: 1;
  transform: none;
  background: radial-gradient(380px circle at var(--hero-spot-x) var(--hero-spot-y), rgba(132,202,237,0.105), transparent 66%);
  mix-blend-mode: screen;
  transition: background-position 160ms ease-out;
  animation: none;
}

.hero__light-sweep {
  position: absolute;
  z-index: 4;
  inset: -18% auto -18% -28%;
  width: 26%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-14deg);
  background: linear-gradient(105deg, transparent, rgba(166,220,246,0.1) 46%, rgba(255,255,255,0.22) 50%, rgba(166,220,246,0.08) 55%, transparent);
  filter: blur(4px);
  animation: hero-light-pass 12s 1.8s ease-in-out infinite;
}

.hero__signal {
  position: absolute;
  z-index: 8;
  right: clamp(2rem, 6vw, 7rem);
  bottom: clamp(7rem, 13vh, 10rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 15.5rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(188,220,238,0.26);
  border-radius: 0.8rem;
  background: rgba(6,16,24,0.64);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.025) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: hero-editorial-rise 820ms 820ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__signal::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: clamp(2.5rem, 5vw, 6rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,137,75,0.75));
}

.hero__signal-dot {
  width: 0.64rem;
  height: 0.64rem;
  flex: none;
  border-radius: 50%;
  background: #ff6a21;
  box-shadow: 0 0 0 5px rgba(243,106,33,0.12), 0 0 22px rgba(243,106,33,0.6);
  animation: hero-signal-pulse 2.5s ease-in-out infinite;
}

.hero__signal b { display: block; font-family: var(--font-heading); font-size: 0.86rem; letter-spacing: -0.01em; }
.hero__signal span { display: block; margin-top: 0.18rem; color: rgba(220,232,239,0.66); font-size: 0.7rem; }

.hero__technical {
  position: absolute;
  z-index: 7;
  top: clamp(1.35rem, 3vh, 2.25rem);
  right: clamp(2rem, 4vw, 5rem);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: rgba(218,233,242,0.52);
  font-size: 0.58rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__technical span + span::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  margin: 0 0.75rem 0.18rem 0;
  background: rgba(255,119,52,0.72);
}

.hero.hero--cinematic > .trust-strip {
  z-index: 9;
  background: linear-gradient(90deg, rgba(5,14,21,0.92), rgba(9,24,35,0.73), rgba(5,14,21,0.9));
  box-shadow: 0 -18px 45px rgba(0,0,0,0.18);
}

.hero.hero--cinematic > .trust-strip .trust-strip__inner { min-height: 4.7rem; }
.hero.hero--cinematic > .trust-strip .trust-strip__group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 2rem;
  width: 100%;
}
.hero.hero--cinematic > .trust-strip .trust-strip__group--clone { display: none; }
.hero.hero--cinematic > .trust-strip .trust-strip__item { transition: color 220ms ease, transform 220ms ease; }
.hero.hero--cinematic > .trust-strip .trust-strip__item:hover { color: #fff; transform: translateY(-2px); }
.hero.hero--cinematic .hero-scroll-cue { right: auto; left: 50%; bottom: 5.6rem; transform: translateX(-50%); }

.sticky-cta.is-hero-suppressed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 1rem));
}

.sticky-cta { transition: opacity 240ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes hero-picture-settle {
  from { opacity: 0.55; transform: scale(1.065); filter: saturate(0.72) brightness(0.72); }
  to { opacity: 1; transform: scale(1); filter: saturate(1) brightness(1); }
}

@keyframes hero-cinematic-breathe {
  from { transform: scale(1.005) translate3d(-0.15%,0,0); }
  to { transform: scale(1.028) translate3d(0.35%,-0.25%,0); }
}

@keyframes hero-title-reveal {
  from { opacity: 0; clip-path: inset(0 102% 0 0); transform: translateY(0.24em); }
  to { opacity: 1; clip-path: inset(-8% -4% -12% -4%); transform: translateY(0); }
}

@keyframes hero-accent-draw { to { transform: scaleX(1); } }
@keyframes hero-editorial-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@keyframes hero-light-pass {
  0%, 43% { opacity: 0; transform: skewX(-14deg) translateX(-80%); }
  52% { opacity: 0.56; }
  65%, 100% { opacity: 0; transform: skewX(-14deg) translateX(570%); }
}

@keyframes hero-signal-pulse {
  50% { box-shadow: 0 0 0 8px rgba(243,106,33,0.055), 0 0 28px rgba(243,106,33,0.72); }
}

@media (min-width: 961px) and (max-height: 780px) {
  .hero.hero--cinematic .hero__inner { padding-top: 3.2rem; padding-bottom: 7.2rem; }
  .hero.hero--cinematic h1 { font-size: clamp(3.45rem, 4.25vw, 5.35rem); }
  .hero.hero--cinematic .lead { margin-top: 1rem; font-size: 1rem; }
  .hero.hero--cinematic .button-group { margin-top: 1.25rem; }
  .hero__signal { bottom: 6.4rem; }
}

@media (max-width: 960px) {
  .hero.hero--cinematic {
    min-height: max(calc(100svh - var(--hero-nav-height)), 56rem);
    height: auto;
  }

  .hero.hero--cinematic .hero__inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 100vw;
    min-height: inherit;
    padding: 20rem var(--gutter) calc(7.4rem + env(safe-area-inset-bottom));
  }

  .hero--cinematic .hero__content { width: 100%; min-width: 0; max-width: min(37rem, 100%); }
  .hero.hero--cinematic .hero__media img { object-position: 58% 50%; }

  .hero.hero--cinematic .hero__media::before {
    background:
      linear-gradient(180deg, rgba(3,10,15,0.2) 0%, rgba(3,10,15,0.04) 27%, rgba(3,10,15,0.12) 40%, rgba(3,10,15,0.78) 60%, rgba(3,10,15,0.97) 100%),
      linear-gradient(90deg, rgba(3,10,15,0.18), transparent 68%);
  }

  .hero.hero--cinematic .hero__media::after { background: radial-gradient(280px circle at 68% 28%, rgba(132,202,237,0.09), transparent 66%); }
  .hero__signal { display: none; }
  .hero__technical { top: 1.1rem; right: var(--gutter); font-size: 0.52rem; }
  .hero__technical span:last-child { display: none; }
  .hero.hero--cinematic .hero-scroll-cue { display: none; }

  .hero.hero--cinematic > .trust-strip--marquee {
    min-height: 5.15rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(151, 190, 213, 0.16);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  }

  .hero.hero--cinematic > .trust-strip--marquee .trust-strip__inner {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    max-width: none;
    padding-inline: 0;
    overflow: visible;
    min-height: 5.15rem;
    animation: hero-trust-marquee 32s linear infinite;
  }

  .hero.hero--cinematic > .trust-strip--marquee .trust-strip__group {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-start;
    width: auto;
    gap: 1.65rem;
    padding-inline: clamp(3.5rem, 14vw, 5rem);
  }

  .hero.hero--cinematic > .trust-strip--marquee .trust-strip__group--clone { display: flex; }
  .hero.hero--cinematic > .trust-strip--marquee .trust-strip__item {
    flex: 0 0 auto;
    padding-block: 0.65rem;
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .hero.hero--cinematic { min-height: max(calc(100svh - var(--hero-nav-height)), 52rem); }

  .hero.hero--cinematic .hero__inner {
    min-height: inherit;
    padding: 19rem var(--gutter) calc(6.75rem + env(safe-area-inset-bottom));
  }

  .hero.hero--cinematic h1 {
    margin-top: 0.85rem;
    font-size: clamp(2.28rem, 9.45vw, 2.7rem);
    line-height: 0.94;
    letter-spacing: -0.052em;
  }

  .hero-title-line { width: 100%; white-space: normal; }
  .hero.hero--cinematic .lead { margin-top: 1.05rem; font-size: 0.96rem; line-height: 1.48; }
  .hero.hero--cinematic .button-group { margin-top: 1.25rem; }
  .hero.hero--cinematic .button { min-height: 3.3rem; }
  .hero.hero--cinematic .eyebrow { font-size: 0.63rem; gap: 0.55rem; }
  .hero__eyebrow-index { width: 1.7rem; height: 1.7rem; }
  .hero.hero--cinematic > .trust-strip .trust-strip__inner { min-height: 5.15rem; }
}

@media (max-width: 370px) {
  .hero.hero--cinematic h1 { font-size: 2.12rem; }
  .hero.hero--cinematic .lead { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--cinematic .hero__picture,
  .hero.hero--cinematic .hero__media img,
  .hero--cinematic .eyebrow,
  .hero-title-line,
  .hero-title-line--accent::after,
  .hero.hero--cinematic .lead,
  .hero.hero--cinematic .button-group,
  .hero__light-sweep,
  .hero__signal,
  .hero__signal-dot,
  .hero.hero--cinematic > .trust-strip--marquee .trust-strip__inner { animation: none; }

  .hero-title-line { opacity: 1; clip-path: none; transform: none; }
  .hero-title-line--accent::after { transform: scaleX(1); }
}

@keyframes hero-trust-marquee {
  to { transform: translateX(-50%); }
}
