/* Full-bleed photo → circle on the right, wheel-driven. */

html.kweb-intro-locked,
html.kweb-intro-locked body {
  overflow: hidden;
  height: 100%;
}

.kweb-intro {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--site-header-h, 4.5rem);
  z-index: 20;
  pointer-events: none;
}

.kweb-intro__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: clip-path;
}

.kweb-intro__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  display: block;
}

.kweb-intro__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 16, 40, 0.42) 0%,
    rgba(8, 16, 40, 0.18) 48%,
    rgba(8, 16, 40, 0.08) 100%
  );
}

.kweb-intro__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem clamp(1.5rem, 6vw, 5rem);
  max-width: 46rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.kweb-intro__overlay h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.96);
}

.kweb-intro__overlay p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

.hero-visual.kweb-intro__land {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: min(22rem, 56vw);
  aspect-ratio: 1;
  border-radius: 50%;
}

.hero-visual.kweb-intro__land .passcode-demo {
  display: none;
}

@media (max-width: 767px) {
  .kweb-intro {
    display: none;
  }
  .hero-visual.kweb-intro__land {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #0b1530;
  }
  .hero-visual.kweb-intro__land::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    min-height: 14rem;
    background: #0b1530 url("/img/hero-wide.jpg") center 42% / cover no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kweb-intro {
    display: none;
  }
  html.kweb-intro-locked,
  html.kweb-intro-locked body {
    overflow: auto;
    height: auto;
  }
}
