/* native video ribbon hero */
.block-hero-video { margin: 0; padding: 0; background: #000; }
.hero-v { position: relative; height: 100svh; min-height: 36rem; background: #000; color: #fff; overflow: hidden; user-select: none; }
.hero-v__gl { position: absolute; inset: 0; z-index: 1; }
.hero-v__gl canvas { display: block; width: 100%; height: 100%; }
/* cards row: DOM boxes the planes follow; sits in the upper part, copy below */
.hero-v__row { position: absolute; z-index: 2; left: 0; top: 50%; display: flex; gap: calc(100vw / 150); transform: translate3d(0, -50%, 0); will-change: transform; }
.hero-v__card { position: relative; flex: none; height: 43.5svh; max-height: 55rem; aspect-ratio: 16 / 9; border-radius: calc(100vw / 150 * 2); cursor: pointer; }
.hero-v__card video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero-v__card p { position: absolute; left: calc(100vw / 150 * 2); right: calc(100vw / 150 * 2); bottom: calc(100vw / 150); margin: 0; display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.hero-v__card-title { white-space: nowrap; font-size: calc(100vw / 150 * 1.8); letter-spacing: -0.05em; color: #fff; opacity: 0; transition: opacity 0.4s; text-shadow: 0 1px 10px rgb(0 0 0 / 50%); }
.hero-v__card-btn { display: inline-flex; align-items: center; justify-content: center; width: calc(100vw / 150 * 2.5); height: calc(100vw / 150 * 2.5); border-radius: 50%; background: #000; color: #fff; opacity: 0; transition: opacity 0.4s; }
.hero-v__card-btn svg { width: 45%; height: 45%; }
.hero-v__card.is-visible .hero-v__card-title, .hero-v__card.is-visible .hero-v__card-btn { opacity: 1; }
.hero-v.is-dragging .hero-v__card { cursor: grabbing; }
/* aurora rising from the bottom */
.hero-v__glow { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 24%, rgb(0 0 0 / 0) 50%); mask-image: linear-gradient(180deg, #000 0%, #000 24%, rgb(0 0 0 / 0) 50%); }
.hero-v__glow i { position: absolute; left: 0; top: 0; width: 70vw; height: 70vw; margin: -35vw 0 0 -35vw; border-radius: 50%; filter: blur(70px); will-change: transform; }
.hero-v__glow .b1 { background: radial-gradient(circle, rgb(20 110 246 / 0.95) 0%, rgb(20 110 246 / 0.35) 35%, rgb(20 110 246 / 0) 65%); }
.hero-v__glow .b2 { background: radial-gradient(circle, rgb(8 60 190 / 0.85) 0%, rgb(8 60 190 / 0.3) 35%, rgb(8 60 190 / 0) 65%); width: 50vw; height: 50vw; margin: -25vw 0 0 -25vw; }
.hero-v__glow .b3 { background: radial-gradient(circle, rgb(95 170 255 / 0.7) 0%, rgb(95 170 255 / 0.22) 35%, rgb(95 170 255 / 0) 65%); width: 46vw; height: 46vw; margin: -23vw 0 0 -23vw; }
/* copy on the navbar's content box */
.hero-v__ui { position: absolute; left: 0; right: 0; top: calc(var(--header-height, 62px) + clamp(1.25rem, 4vh, 3rem)); z-index: 4; pointer-events: none; }
.hero-v__copy { max-width: var(--container-xl, 98rem); margin: 0 auto; padding: 0 var(--gutter, 4rem); color: #fff; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.hero-v__copy .hero-homepage__badge { pointer-events: auto; opacity: 1; transform: none; margin: 0 0 1.25rem; }
.hero-v__title { position: relative; width: 100%; height: 1.08em; margin: 0 0 0.75rem; overflow: hidden; font-family: var(--ff-title); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.hero-v__title span { position: absolute; left: 0; right: 0; top: 0; text-align: left; opacity: 0; transform: translateY(0.6em); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-v__title span.is-in { opacity: 1; transform: none; }
.hero-v__title span.is-out { opacity: 0; transform: translateY(-0.6em); }
.hero-v__sub { display: none; margin: 0; max-width: 30rem; font-size: clamp(0.95rem, 1.15vw, 1.15rem); line-height: 1.5; color: rgb(255 255 255 / 70%); }
/* header over the dark hero */
html.hero-v-dark .wfh.navbar_component { --clr-black: #fff; }
html.hero-v-dark .wfh.navbar_component:not([data-scrolled]) { background: transparent; }
html.hero-v-dark .wfh .button { color: #000; }
html.hero-v-dark .wfh .navbar_logo img { filter: brightness(0) invert(1); }
html.hero-v-dark .wfh .theme-toggle, html.hero-v-dark .wfh .lang-switcher { --clr-black: #12110b; }
html.hero-v-dark .wfh.navbar_component:has(.navbar_menu-dropdown.w--open) { --clr-black: var(--clr-text, #12110b); background-color: var(--clr-bg, #f8f4ef); }
html.hero-v-dark .wfh.navbar_component:has(.navbar_menu-dropdown.w--open) .navbar_logo img { filter: none; }
html.hero-v-dark .wfh.navbar_component:has(.navbar_menu-dropdown.w--open) .button { color: var(--clr-bg, #fff); }
html.hero-v-dark[data-scrolled] .wfh.navbar_component { background-color: rgb(0 0 0 / 70%); box-shadow: 0 1px 0 rgb(255 255 255 / 10%); }
@media (max-width: 767px) {
  .hero-v__row { top: 66%; } .hero-v__card { height: 30svh; }
  .hero-v__title { white-space: normal; height: auto; } .hero-v__title span { position: static; display: block; opacity: 1; transform: none; }
}
