.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header--overlay .logo {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.site-header--overlay .nav-links a,
.site-header--overlay .login-link {
  color: #fff;
}

.site-header--overlay .icon-btn {
  color: #fff;
}

.site-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: #fff;
  background: #0a0f14;
}

.site-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.site-hero__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--hero-transition, 800ms) ease;
  will-change: opacity;
}

.site-hero__layer.is-active {
  opacity: 1;
}

.site-hero__video,
.site-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.site-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.site-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-height, 64px) + 48px) 28px 96px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.site-hero__subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  opacity: 0.92;
  max-width: 42ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.site-hero__cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-hero__cta a.is-primary {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}

.site-hero__cta a.is-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.site-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.site-hero__dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-hero__dot.is-active {
  background: #fff;
  transform: scaleY(1.4);
}

.site-content {
  position: relative;
  z-index: 1;
  background: #f5f7fa;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .site-header--overlay .nav-links.open {
    background: rgba(10, 15, 20, 0.92);
    backdrop-filter: blur(8px);
  }

  .site-hero__content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-hero__layer {
    transition: none;
  }
}
