/*
 * Homepage activation hero
 * ------------------------
 * This file is the only source of truth for the homepage hero.
 * Tune the custom properties on .hero--activation before changing selectors.
*/

.hero--activation {
  --hero-progress: 0;
  --hero-color-clip: 100%;
  --hero-sweep-left: 0%;
  --hero-current-opacity: 0;
  --hero-current-shift: 22px;
  --hero-prelude-opacity: 1;
  --hero-prelude-shift: 0px;

  /* Desktop content controls (921px and wider) */
  --desktop-title-size: clamp(3rem, 4.55vw, 5.4rem);
  --desktop-title-width: 670px;
  --desktop-title-x: 0px;
  --desktop-title-y: 28px;
  --desktop-description-width: 62ch;
  --desktop-description-size: clamp(0.88rem, 1.02vw, 1.04rem);
  --desktop-description-x: 0px;
  --desktop-description-gap: clamp(20px, 2.5vh, 26px);
  --desktop-description-opacity: 0;
  --desktop-logo-width: min(292.5px, 48%);
  --desktop-logo-x: 0px;
  --desktop-logo-gap: clamp(20px, 2.5vh, 26px);
  --desktop-cta-width: 194px;
  --desktop-cta-x: 0px;
  --desktop-cta-gap: clamp(20px, 2.5vh, 26px);
  --desktop-cta-opacity: 1;

  position: relative;
  display: block;
  width: 100%;
  height: 190svh;
  min-height: 1420px;
  margin: 0;
  overflow: clip;
  color: #fff;
  background: #07100e;
  isolation: isolate;
}

.hero--activation::before,
.hero--activation::after {
  display: none;
}

.hero__activation-track {
  height: 100%;
}

.hero--activation .hero__sticky {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  height: 100svh;
  min-height: 700px;
  align-items: stretch;
  overflow: hidden;
  background: #07100e;
  isolation: isolate;
}

.hero--activation .hero__sticky::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: min(76%, 1260px);
  background: linear-gradient(
    90deg,
    rgba(2, 10, 18, 0.985) 0%,
    rgba(2, 11, 20, 0.94) 31%,
    rgba(3, 13, 23, 0.72) 58%,
    rgba(3, 14, 25, 0.24) 86%,
    transparent 100%
  );
  pointer-events: none;
}

.hero__visual,
.hero__image-color {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero--activation .hero__image,
.hero__image-color img {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  animation: none;
  transform: translateY(var(--hero-image-translate-y, 0));
  will-change: transform;
}

.hero--activation .hero__image--mono {
  z-index: 0;
  filter: grayscale(1);
}

.hero__image-color {
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 var(--hero-color-clip) 0 0);
  will-change: clip-path;
}

.hero__activation-sweep {
  position: absolute;
  top: -5%;
  bottom: -5%;
  left: calc(var(--hero-sweep-left) - 72px);
  z-index: 3;
  width: 144px;
  background: linear-gradient(90deg, transparent, rgba(73, 241, 228, 0.18), rgba(255, 255, 255, 0.14), transparent);
  filter: blur(8px);
  opacity: var(--hero-sweep-opacity, 0);
  pointer-events: none;
  transform: skewX(-6deg);
  will-change: left, opacity;
}

.hero--activation .hero__content {
  position: relative;
  z-index: 4;
  align-self: stretch;
  display: flex;
  height: 100%;
  align-items: center;
  padding-top: clamp(94px, 10vh, 126px);
  padding-bottom: clamp(34px, 5vh, 64px);
}

.hero--activation .hero__panel {
  position: relative;
  width: min(680px, 48%);
  margin-right: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
  opacity: 1;
  transform: translateY(var(--desktop-title-y));
  pointer-events: auto;
}

.hero--activation .hero__panel::before {
  display: none;
}

.hero--activation h1 {
  position: relative;
  left: var(--desktop-title-x);
  width: min(100%, var(--desktop-title-width));
  max-width: none;
  margin: 0 0 var(--desktop-description-gap);
  color: #fff;
  font-size: var(--desktop-title-size);
  line-height: 1.31;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 3px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.62);
}

.hero--activation .hero__title-line {
  display: block;
  width: fit-content;
  margin-inline: auto;
  color: #fff;
  background: none;
  font: inherit;
  font-style: normal;
  -webkit-text-fill-color: #fff;
}

.hero--activation h1 em.hero__title-line {
  color: #08cdbf;
  background: none;
  font-size: 1.2em;
  font-style: normal;
  text-shadow: 0 0 18px rgba(8, 205, 191, 0.16);
  -webkit-text-fill-color: #08cdbf;
}

.hero--activation .hero__description {
  position: relative;
  left: var(--desktop-description-x);
  width: min(100%, var(--desktop-description-width));
  max-width: none;
  margin: 0 auto var(--desktop-logo-gap);
  padding-right: 14px;
  border: 0;
  border-right: 3px solid var(--brand);
  border-radius: 0;
  color: #fff;
  background: rgba(10, 18, 20, var(--desktop-description-opacity));
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: var(--desktop-description-size);
  line-height: 1.95;
  direction: rtl;
  text-align: right;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
  -webkit-text-fill-color: #fff;
}

.hero__description-break {
  display: none;
}

.hero--activation .hero__panel > .hero__prelude-title {
  position: absolute;
  top: clamp(24px, 4vh, 42px);
  left: 0;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: clamp(3rem, 4.55vw, 5.4rem);
  font-weight: 900;
  line-height: 1.31;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 3px rgba(0, 0, 0, 0.34), 0 14px 38px rgba(0, 0, 0, 0.7);
  opacity: var(--hero-prelude-opacity);
  transform: translateY(var(--hero-prelude-shift));
  pointer-events: none;
  will-change: opacity, transform;
}

.hero--activation .hero__panel > h1,
.hero--activation .hero__description,
.hero--activation .hero__contact {
  opacity: var(--hero-current-opacity);
  transform: translateY(var(--hero-current-shift));
  will-change: opacity, transform;
}

.hero__brand-activation {
  position: relative;
  left: var(--desktop-logo-x);
  display: block;
  width: var(--desktop-logo-width);
  aspect-ratio: 1378 / 416;
  margin: 0 auto var(--desktop-cta-gap);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.9), inset 0 -11px 23px rgba(36, 48, 47, 0.09), 0 18px 48px rgba(0, 0, 0, 0.3), 0 0 26px rgba(255, 255, 255, 0.18), 0 0 24px rgba(var(--brand-rgb), 0.18), 0 0 42px rgba(var(--brand-rgb), var(--hero-logo-glow-alpha, 0));
  cursor: pointer;
  appearance: none;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  animation: hero-brand-body-pulse 2.8s ease-in-out infinite;
}

.hero__brand-activation::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 0;
  border: 1px solid rgba(var(--brand-rgb), 0.42);
  border-radius: inherit;
  box-shadow: 0 0 22px rgba(var(--brand-rgb), 0.34);
  filter: grayscale(calc(1 - var(--hero-logo-progress, var(--hero-progress))));
  opacity: 0.38;
  pointer-events: none;
  animation: hero-brand-pulse 2.8s ease-in-out infinite;
}

.hero--activation.is-hero-ready .hero__brand-activation,
.hero--activation.is-hero-ready .hero__brand-activation::after {
  animation: none;
}

.hero__brand-activation:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 7px;
}

.hero__brand-logo,
.hero__brand-color {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__brand-logo {
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  object-fit: cover;
}

.hero__brand-logo--mono {
  filter: grayscale(1);
  opacity: 1;
  animation: hero-brand-mono-blink 1.65s ease-in-out infinite;
}

.hero--activation.is-hero-ready .hero__brand-logo--mono {
  filter: grayscale(1);
  opacity: 1;
  animation: none;
}

.hero__brand-color {
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  clip-path: inset(0 var(--hero-logo-color-clip, var(--hero-color-clip)) 0 0);
  will-change: clip-path;
}

.hero__brand-glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: inherit;
  box-shadow: inset 0 3px 4px rgba(255, 255, 255, 0.72), inset 0 -2px 2px rgba(41, 55, 53, 0.1);
  pointer-events: none;
}

.hero--activation .hero__contact {
  position: relative;
  left: var(--desktop-cta-x);
  isolation: isolate;
  width: var(--desktop-cta-width);
  min-width: var(--desktop-cta-width);
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(24, 217, 204, var(--desktop-cta-opacity)),
    rgba(8, 205, 191, var(--desktop-cta-opacity)) 58%,
    rgba(2, 156, 146, var(--desktop-cta-opacity))
  );
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  filter: grayscale(calc(1 - var(--hero-progress)));
  justify-content: center;
  pointer-events: none;
  transition: transform var(--transition), filter 120ms linear, box-shadow var(--transition), border-color var(--transition);
}

.hero--activation .hero__contact::before {
  display: none;
}

.hero--activation .hero__contact span {
  position: relative;
  z-index: 1;
}

.hero--activation.is-current-visible .hero__contact {
  pointer-events: auto;
}

.hero--activation.is-current-visible .hero__contact:hover {
  color: #fff;
  box-shadow: 0 18px 38px rgba(8, 205, 191, 0.25);
  transform: translateY(-2px);
}

.hero__start-cue {
  position: absolute;
  right: 50%;
  bottom: clamp(18px, 3.2vh, 34px);
  z-index: 6;
  display: flex;
  width: fit-content;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
  opacity: var(--hero-cue-opacity, 1);
  transform: translate(50%, var(--hero-cue-shift, 0));
  pointer-events: none;
  will-change: opacity, transform;
}

.hero__start-mouse {
  position: relative;
  display: block;
  width: 19px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 11px;
}

.hero__start-mouse i {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 2px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  transform: translateX(-50%);
  animation: hero-start-wheel 1.5s ease-in-out infinite;
}

.hero__start-cue b {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  animation: hero-start-arrow 1.5s ease-in-out infinite;
}

.site-header.is-over-hero {
  --hero-header-alpha: 0;
  --hero-header-content-opacity: 0;
  --hero-header-grayscale: 1;
  --hero-header-reveal: 0%;
  --hero-header-edge: 0%;
  --hero-header-blur: 0px;

  background: transparent;
  box-shadow: none;
}

.site-header.is-over-hero::after,
.site-header.is-over-hero.is-scrolled::after {
  background: rgba(255, 255, 255, var(--hero-header-alpha));
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: blur(var(--hero-header-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--hero-header-blur)) saturate(120%);
  clip-path: inset(0 var(--hero-header-clip, 100%) 0 0);
  opacity: 1;
}

.site-header.is-over-hero .header-inner {
  opacity: var(--hero-header-content-opacity);
  filter: grayscale(var(--hero-header-grayscale));
  -webkit-mask-image: linear-gradient(90deg, #000 0 var(--hero-header-reveal), transparent var(--hero-header-edge) 100%);
  mask-image: linear-gradient(90deg, #000 0 var(--hero-header-reveal), transparent var(--hero-header-edge) 100%);
}

.site-header.is-over-hero.is-hero-dormant {
  pointer-events: none;
}

@keyframes hero-brand-pulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(1);
    box-shadow: 0 0 22px rgba(var(--brand-rgb), 0.34);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.025);
    box-shadow: 0 0 44px rgba(var(--brand-rgb), 0.68);
  }
}

@keyframes hero-brand-body-pulse {
  0%,
  100% {
    transform: translateZ(0) scale(1);
  }

  50% {
    transform: translateZ(0) scale(1.022);
  }
}

@keyframes hero-brand-mono-blink {
  0%,
  100% {
    filter: grayscale(1) brightness(0.82);
    opacity: 0.72;
  }

  50% {
    filter: grayscale(1) brightness(1.12);
    opacity: 1;
  }
}

@keyframes hero-start-wheel {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 7px);
  }
}

@keyframes hero-start-arrow {
  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(3px);
  }
}

@media (min-width: 921px) and (max-width: 1200px) {
  .hero--activation {
    --desktop-title-size: clamp(2.4rem, 4.1vw, 3.3rem);
    --desktop-description-gap: 18px;
    --desktop-logo-width: min(247.5px, 43.5%);
    --desktop-cta-gap: 26px;
  }

  .hero--activation .hero__content {
    padding-top: 88px;
    padding-bottom: 28px;
  }

  .hero--activation .hero__panel {
    width: min(590px, 52%);
  }

  .hero--activation .hero__panel > .hero__prelude-title {
    font-size: clamp(2.4rem, 4.1vw, 3.3rem);
  }
}

/* Shared copy visibility (desktop included). */
.hero__mobile-copy { display: none; }
.hero--activation .hero__prelude-title {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 0 24px rgba(0,0,0,.75);
}

@media (max-width: 920px) {
  .hero--activation {
    /* Image focal points */
    --hero-mono-focus-x: 76%;
    --hero-mono-focus-y: 32%;
    --hero-color-focus-x: 75%;
    --hero-color-focus-y: 21%;

    /* Mobile content controls */
    --mobile-title-width: clamp(228px, 64vw, 260px);
    --mobile-title-size: clamp(1.9rem, 8.3vw, 3.05rem);
    --mobile-title-x: clamp(12px, calc(var(--hero-color-focus-x) - var(--mobile-title-width) - var(--mobile-image-copy-gap)), 28px);
    --mobile-title-y: clamp(56px, calc(var(--hero-color-focus-y) - 90px), 128px);
    --mobile-logo-width: min(116px, 36vw);
    --mobile-logo-x: clamp(24px, 7vw, 30px);
    --mobile-logo-y: max(22px, calc(env(safe-area-inset-top) + 12px));
    --mobile-cta-width: 150px;
    --mobile-cta-x: calc(var(--mobile-title-x) + (var(--mobile-title-width) - var(--mobile-cta-width)) / 2 + 8px);
    --mobile-cta-gap: clamp(24px, 4svh, 36px);
    --mobile-cta-opacity: 1;
    --mobile-description-width: min(calc(100vw - 48px), 430px);
    --mobile-description-size: clamp(0.72rem, 3vw, 0.8rem);
    --mobile-description-x: 0px;
    --mobile-description-gap: clamp(24px, 4svh, 36px);
    --mobile-description-opacity: 1;

    /* Supporting layout values */
    --mobile-image-copy-gap: clamp(26px, 7vw, 34px);
    --mobile-content-bottom: max(24px, calc(env(safe-area-inset-bottom) + 18px));

    height: 100svh;
    min-height: 100svh;
  }

  .hero--activation .hero__sticky {
    position: relative;
    height: 100svh;
    min-height: 100svh;
  }

  .hero--activation .hero__sticky::before {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, rgba(2, 9, 17, 0.97) 0%, rgba(2, 10, 19, 0.76) 30%, rgba(3, 12, 21, 0.28) 58%, rgba(3, 12, 21, 0.06) 72%, transparent 84%), linear-gradient(0deg, rgba(3, 12, 21, 0.56) 0%, transparent 48%);
  }

  .hero--activation .hero__image,
  .hero__image-color img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(var(--hero-image-translate-y, 0));
  }

  .hero--activation .hero__image--mono {
    object-position: var(--hero-mono-focus-x) var(--hero-mono-focus-y);
  }

  .hero__image-color img {
    object-position: var(--hero-color-focus-x) var(--hero-color-focus-y);
  }

  .hero--activation .hero__content {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    align-items: stretch;
    padding: 0;
  }

  .hero--activation .hero__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: var(--mobile-title-y) 0 var(--mobile-content-bottom);
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scrollbar-width: none;
    text-align: right;
    transform: none;
  }

  .hero--activation .hero__panel::-webkit-scrollbar {
    display: none;
  }

  .hero--activation .hero__panel::before {
    content: "";
    position: absolute;
    top: calc(var(--mobile-title-y) - 16px);
    bottom: 35%;
    left: 0;
    display: block;
    width: min(300px, 78vw);
    height: auto;
    border: 0;
    background: radial-gradient(ellipse at 34% 48%, rgba(3, 16, 18, 0.13) 0%, rgba(3, 16, 18, 0.07) 52%, transparent 78%);
    pointer-events: none;
  }

  .hero--activation .hero__panel > h1 {
    position: relative;
    top: 0;
    left: 0;
    flex: 0 0 auto;
    width: var(--mobile-title-width);
    max-width: none;
    margin: 0 auto 0 var(--mobile-title-x);
    font-size: var(--mobile-title-size);
    line-height: 1.3;
    text-align: right;
    transform: translateY(var(--hero-current-shift));
  }

  .hero__title-copy {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
  }

  .hero--activation .hero__title-copy .hero__title-line {
    width: fit-content;
    max-width: 100%;
    margin-right: 0;
    margin-left: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero--activation .hero__title-copy em.hero__title-line {
    color: #1be9ee;
    font-size: inherit;
    line-height: inherit;
    -webkit-text-fill-color: #1be9ee;
  }

  .hero__title-fragment {
    display: block;
  }

  .hero--activation .hero__panel > .hero__prelude-title {
    top: clamp(156px, calc(var(--hero-mono-focus-y) - 48px), 244px);
    right: auto;
    left: var(--mobile-title-x);
    width: var(--mobile-title-width);
    font-size: clamp(1.65rem, 6.9vw, 2.7rem);
    line-height: 1.26;
    text-align: right;
  }

  .hero__brand-activation,
  .hero--activation.is-current-visible .hero__brand-activation {
    position: absolute;
    top: var(--mobile-logo-y);
    right: auto;
    left: var(--mobile-logo-x);
    width: var(--mobile-logo-width);
    margin: 0;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.9), inset 0 -11px 23px rgba(36, 48, 47, 0.09), 0 14px 34px rgba(0, 0, 0, 0.26), 0 0 18px rgba(255, 255, 255, 0.14), 0 0 17px rgba(var(--brand-rgb), 0.12), 0 0 30px rgba(var(--brand-rgb), calc(var(--hero-logo-glow-alpha, 0) * 0.72));
  }

  .hero__brand-activation::before {
    content: "";
    position: absolute;
    inset: -6px 0;
    z-index: 4;
    border-radius: inherit;
  }

  .hero__brand-activation::after {
    box-shadow: 0 0 16px rgba(var(--brand-rgb), 0.22);
    filter: none;
    opacity: 0.3;
  }

  .hero--activation .hero__contact,
  .hero--activation.is-current-visible .hero__contact,
  .hero--activation.is-current-visible .hero__contact:hover {
    position: relative;
    left: 0;
    flex: 0 0 auto;
    width: var(--mobile-cta-width);
    min-width: var(--mobile-cta-width);
    min-height: 48px;
    margin: var(--mobile-cta-gap) auto 0 var(--mobile-cta-x);
    padding: 9px 20px;
    border-color: rgba(255, 255, 255, 0.48);
    color: #073638;
    background: rgba(27, 233, 238, var(--mobile-cta-opacity));
    box-shadow: 0 12px 28px rgba(27, 233, 238, 0.24);
    font-size: 0.88rem;
    white-space: normal;
    text-wrap: balance;
    transform: none;
  }

  .hero--activation .hero__description {
    position: relative;
    left: var(--mobile-description-x);
    flex: 0 0 auto;
    width: var(--mobile-description-width);
    max-width: none;
    margin: var(--mobile-description-gap) auto 0;
    padding: 9px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, calc(var(--mobile-description-opacity) * 0.17)),
      rgba(255, 255, 255, calc(var(--mobile-description-opacity) * 0.055))
    ), rgba(10, 18, 20, calc(var(--mobile-description-opacity) * 0.2));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(15px) saturate(1.1);
    -webkit-backdrop-filter: blur(15px) saturate(1.1);
    font-size: var(--mobile-description-size);
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
    transform: none;
  }

  .hero__description-copy {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero__description-break {
    display: inline;
  }

  .hero__start-cue {
    display: none;
  }

  /* Keep the header out of document flow throughout its scroll reveal.
     Switching back to sticky moves #experience and reverses the reveal threshold. */
  .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
  }

  .site-header.is-over-hero {
    opacity: var(--hero-header-content-opacity, 0);
    transform: translateY(var(--hero-header-shift, -8px));
  }

  .site-header.is-over-hero::after,
  .site-header.is-over-hero.is-scrolled::after {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(33, 30, 32, 0.06);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    clip-path: none;
  }

  .site-header.is-over-hero .header-inner {
    opacity: 1;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 920px) and (max-height: 700px) {
  .hero--activation {
    --mobile-title-width: clamp(210px, 60vw, 235px);
    --mobile-title-size: clamp(1.62rem, 7vw, 2rem);
    --mobile-image-copy-gap: 24px;
    --mobile-title-y: clamp(42px, calc(var(--hero-color-focus-y) - 84px), 64px);
    --mobile-logo-width: min(108px, 30vw);
    --mobile-logo-y: max(14px, calc(env(safe-area-inset-top) + 8px));
    --mobile-cta-gap: 20px;
    --mobile-description-size: 0.7rem;
    --mobile-description-gap: 20px;
    --mobile-content-bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
  }

  .hero--activation .hero__panel > .hero__prelude-title {
    top: clamp(118px, calc(var(--hero-mono-focus-y) - 40px), 174px);
    font-size: clamp(1.45rem, 7vmin, 1.9rem);
  }

  .hero--activation .hero__description {
    padding-block: 7px;
    line-height: 1.55;
  }
}

@media (max-width: 920px) and (max-height: 520px) {
  .hero--activation .hero__description {
    display: none;
  }
}

/* Mobile composition and glass card (after short-screen safeguards). */
@media (max-width: 920px) {
  .hero--activation {
    --hero-copy-height: 350px;
    height: max(100svh, calc(var(--hero-copy-height) + 280px));
    min-height: 740px;
  }
  .hero--activation .hero__sticky {
    height: max(100svh, calc(var(--hero-copy-height) + 280px));
    min-height: 740px;
  }
  .hero__visual {
    top: 0;
    height: 100%;
  }
  .hero--activation .hero__image,
  .hero__image-color img {
    object-position: 76% 50%;
    transform: none;
  }
  .hero--activation .hero__sticky::before {
    background: linear-gradient(90deg, rgba(3,13,18,.91), rgba(3,13,18,.78) 28%, rgba(3,13,18,.38) 52%, transparent 76%), linear-gradient(180deg, rgba(3,13,18,.38), transparent 65%, rgba(3,13,18,.35));
  }
  .hero--activation .hero__panel {
    height: auto;
    padding: max(108px, calc(env(safe-area-inset-top) + 90px)) 20px 0;
    overflow: visible;
    align-items: flex-end;
  }
  .hero--activation .hero__panel::before { display: none; }
  .hero--activation .hero__panel > h1 {
    width: 56%;
    max-width: 300px;
    margin: 0 auto 0 0;
    font-size: clamp(25px, 6.6vw, 34px);
    line-height: 1.4;
    text-align: right;
    letter-spacing: 0;
    text-shadow: none;
  }
  .hero--activation .hero__title-copy .hero__title-line {
    width: auto;
    margin: 0;
    overflow-wrap: normal;
    text-wrap: balance;
  }
  .hero__title-fragment { display: block; }
  .hero__title-fragment + .hero__title-fragment::before { content: ' '; }
  .hero--activation .hero__panel > .hero__prelude-title {
    top: 150px;
    left: 20px;
    right: auto;
    width: 52%;
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.55;
    text-align: right;
    text-shadow: none;
  }
  .hero__brand-activation,
  .hero--activation.is-current-visible .hero__brand-activation {
    top: max(18px, env(safe-area-inset-top));
    left: 24px;
    width: 120px;
    min-height: 44px;
    box-shadow: 0 0 16px rgba(8,205,191,.15);
  }
  .hero--activation .hero__description {
    display: block;
    width: 56%;
    max-width: 300px;
    margin: 14px auto 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    color: #d6e3df;
    font-size: 14px;
    line-height: 1.8;
    text-align: right;
    text-shadow: none;
  }
  .hero--activation .hero__contact,
  .hero--activation.is-current-visible .hero__contact,
  .hero--activation.is-current-visible .hero__contact:hover {
    width: 56%;
    max-width: 300px;
    min-width: 0;
    min-height: 50px;
    margin: 20px auto 0 0;
    font-size: 16px;
    box-shadow: none;
    border: 0;
    border-radius: 12px;
  }
  .hero__brand-activation:focus-visible,
  .hero--activation .hero__contact:focus-visible {
    outline: 3px solid white;
    outline-offset: 5px;
  }
  .hero__brand-logo { object-fit: contain; }

  /* Glass-card controls: defaults preserve the shipped mobile composition. */
  .hero--activation {
    --mobile-card-max-width: 540px;
    --mobile-card-padding: 26px 22px 22px;
    --mobile-card-radius: 30px;
    --mobile-card-backdrop: blur(24px) saturate(125%);
    --mobile-card-title-size: clamp(25px, 6.7vw, 34px);
    --mobile-card-description-size: 15px;
    --mobile-card-description-margin: 12px 0 20px;
    --mobile-card-cta-height: 54px;
    --mobile-card-cta-radius: 16px;
    --mobile-card-cta-size: 17px;
    --mobile-panel-padding: max(510px, 64svh) 14px max(18px, env(safe-area-inset-bottom));
  }

  /* Mobile glass card and reveal rules; keep after short-screen safeguards. */
  .hero--activation,
  .hero--activation .hero__sticky {
    height: auto;
    min-height: 100svh;
  }
  .hero--activation .hero__content { height: auto; }
  .hero--activation .hero__panel {
    min-height: 100svh;
    height: auto;
    padding: var(--mobile-panel-padding);
    overflow: visible;
    align-items: stretch;
    box-sizing: border-box;
  }
  .hero--activation .hero__visual { height: 100%; }
  .hero--activation .hero__image--mono {
    filter: grayscale(1) contrast(1.08) brightness(1.03);
    height: 100%;
    object-position: 82% center;
    transform: none;
  }
  .hero--activation .hero__image-color img {
    height: calc(100% - 260px);
    object-position: 90% center;
    filter: none;
    transform: none;
  }
  .hero--activation .hero__sticky::before {
    display: block;
    background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.38) 25%, transparent 52%);
    opacity: 1;
    clip-path: inset(0 0 0 var(--hero-reveal, 0%));
  }
  .hero--activation .hero__panel > .hero__prelude-title {
    top: max(104px, calc(15svh - 16px));
    right: 26px;
    left: 26px;
    width: auto;
    text-align: center;
    font-size: clamp(33px, 9.4vw, 46px);
    line-height: 1.25;
    padding: 0;
    border-radius: 0;
    background: none;
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 var(--prelude-hidden-left, 0px));
  }
  .hero__mobile-card {
    position: relative;
    width: 100%;
    max-width: var(--mobile-card-max-width);
    margin: auto auto 0;
    padding: var(--mobile-card-padding);
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: var(--mobile-card-radius);
    background: linear-gradient(140deg, rgba(27,45,49,.91), rgba(8,22,28,.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 48px rgba(0,0,0,.25);
    opacity: 1;
    transform: none;
    visibility: visible;
    clip-path: inset(0 var(--card-hidden-right, 100%) 0 0);
  }
  @supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
    .hero__mobile-card {
      background: linear-gradient(140deg, rgba(30,48,52,.77), rgba(5,18,25,.89));
      backdrop-filter: var(--mobile-card-backdrop);
      -webkit-backdrop-filter: var(--mobile-card-backdrop);
    }
  }
  .is-current-visible .hero__mobile-card { visibility: visible; }
  .hero--activation .hero__mobile-card h1 {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: var(--mobile-card-title-size);
    line-height: 1.55;
    text-align: center;
    text-shadow: none;
    letter-spacing: 0;
  }
  .hero__mobile-copy { display: block; }
  .hero__title-copy, .hero__description-copy { display: none; }
  .hero--activation h1 .hero__mobile-copy em {
    color: #37eddb;
    -webkit-text-fill-color: #37eddb;
    font: inherit;
    background: none;
  }
  .hero--activation .hero__mobile-card .hero__description {
    width: 100%;
    max-width: none;
    margin: var(--mobile-card-description-margin);
    padding: 0;
    font-size: var(--mobile-card-description-size);
    line-height: 1.85;
    color: #e7f0ef;
    text-align: center;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }
  .hero--activation .hero__mobile-card .hero__contact,
  .hero--activation .hero__mobile-card .hero__contact:hover {
    width: 100%;
    max-width: none;
    min-height: var(--mobile-card-cta-height);
    margin: 0;
    border-radius: var(--mobile-card-cta-radius);
    color: #063833;
    background: linear-gradient(110deg, #39ebd9, #10dfed);
    font-size: var(--mobile-card-cta-size);
    font-weight: 700;
    opacity: 1;
    transform: none;
    box-shadow: 0 6px 20px rgba(0,220,204,.12);
  }
  .hero--activation .hero__mobile-card h1 { opacity: 1; transform: none; }
  .hero--activation .hero__brand-activation { top: max(20px, env(safe-area-inset-top)); }
  .hero--activation.is-current-visible .hero__brand-activation {
    top: max(20px, env(safe-area-inset-top));
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .hero__brand-activation::before {
    content: none;
    top: calc(100% + 6px);
    bottom: auto;
    color: white;
    font-size: 12px;
    line-height: 1.8;
    white-space: nowrap;
  }
  .hero--activation.is-current-visible .hero__brand-activation::before { content: none; }
  .hero__prelude-subline {
    display: inline-block;
    margin-top: 0;
    font-size: .66em;
    font-weight: 700;
  }
  .hero--activation .hero__start-cue {
    display: flex;
    position: absolute;
    top: auto;
    bottom: max(22px, calc(100% - 100svh + 22px));
    left: 50%;
    right: auto;
    width: max-content;
    flex-direction: column;
    gap: 5px;
    color: white;
    font-size: 12px;
    opacity: var(--hero-cue-opacity, 1);
    transform: translateX(-50%);
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
    pointer-events: none;
    z-index: 6;
  }
  .hero__start-cue .hero__start-mouse { display: none; }
  .hero__start-cue b { font-size: 22px; }
  /* Experience-section spacing retained here for parity with the shipped mobile styles. */
  .experience-fallback__title {
    padding-inline-start: 24px;
    box-sizing: border-box;
  }
}
@media (min-width: 600px) and (max-width: 920px) {
  .hero--activation { --hero-copy-height: 360px; }
  .hero--activation .hero__image,
  .hero__image-color img { object-fit: cover; }
}
@media (min-width: 921px) {
  .hero--activation .hero__brand-activation {
    width: 220px;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
  }
  .hero--activation.is-current-visible .hero__brand-activation::after { opacity: .1; }
  .hero--activation .hero__contact { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--activation {
    height: auto;
    min-height: 100svh;
  }

  .hero--activation .hero__sticky {
    position: relative;
  }

  .hero--activation .hero__image {
    transform: none !important;
    will-change: auto;
  }

  .hero__image-color,
  .hero__brand-color {
    clip-path: inset(0);
  }

  .hero__activation-sweep,
  .hero--activation .hero__panel > .hero__prelude-title {
    display: none;
  }

  .hero__brand-activation,
  .hero__brand-activation::after,
  .hero__brand-logo--mono,
  .hero__start-mouse i,
  .hero__start-cue b {
    animation: none;
  }

  .hero--activation .hero__panel > h1,
  .hero--activation .hero__description,
  .hero--activation .hero__contact {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) and (prefers-reduced-motion: reduce) {
  .hero__mobile-card { opacity: 1; visibility: visible; transform: none; }
}


/* Mobile-only media and logo: desktop retains its original image and geometry. */
@media (max-width: 920px) {
  .hero--activation.is-hero-ready .hero__image-color {
    clip-path: inset(0);
    will-change: auto;
  }

  .hero--activation .hero__image-color img,
  .hero--activation .hero__image-color .hero__mobile-video,
  .hero--activation .hero__image-color .hero__mobile-video-fallback {
    position: absolute;
    inset: 0 0 auto;
    display: block;
    width: 100%;
    height: calc(100% - 260px);
    object-fit: cover;
    object-position: center center;
    transform: none;
  }
  .hero__mobile-video,
  .hero__mobile-video-fallback {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
  }
  .hero__mobile-video.is-playing,
  .hero__mobile-video-fallback.is-playing { opacity: 1; }
  .hero__mobile-video-fallback { z-index: 2; }
  .hero--activation .hero__brand-activation,
  .hero--activation.is-current-visible .hero__brand-activation {
    transform: scale(.75);
    transform-origin: center;
    animation: none;
  }
  .hero--activation .hero__brand-activation::before,
  .hero--activation.is-current-visible .hero__brand-activation::before {
    content: "";
    inset: auto;
    left: -16.6667%;
    top: 50%;
    width: 133.3333%;
    height: max(133.3333%, 59px);
    transform: translateY(-50%);
  }
}

@media (max-width: 920px) and (orientation: landscape) {
  .hero--activation .hero__image-color img,
  .hero--activation .hero__image-color .hero__mobile-video,
  .hero--activation .hero__image-color .hero__mobile-video-fallback {
    object-position: center 15%;
  }
}
