/* hero.css — clean, self-hosted rebuild of Site 1's video hero, spliced onto Site 2.
   Dark editorial atmosphere: full-bleed background video, Clash Display headline,
   transparent overlaid nav, white CTA, muted logo trust bar. */

@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.lp-hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.lp-hero *,
.lp-hero *::before,
.lp-hero *::after {
  box-sizing: border-box;
}
/* flex children may shrink below min-content so wide content never grows the hero */
.lp-nav,
.lp-hero__inner,
.lp-hero__trust {
  min-width: 0;
  max-width: 100%;
}

/* ---- background video ---- */
.lp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lp-hero__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* scrim: darken for text legibility + a heavier top for nav, heavier bottom for logos */
.lp-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 22%,
      rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
}

/* ---- nav ---- */
.lp-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.lp-nav__brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
}
.lp-nav__brand svg {
  height: 22px;
  width: auto;
  display: block;
  fill: currentColor;
  color: #fff;
}
.lp-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
}
.lp-nav__links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-family: 'Inter', 'Inter Placeholder', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.lp-nav__links a:hover {
  color: #fff;
}
.lp-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: #fff;
}
.lp-nav__toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* ---- hero content ---- */
.lp-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px clamp(20px, 5vw, 48px) 40px;
}
.lp-hero__title {
  font-family: 'Clash Display', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6.2vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 15ch;
  color: #fff;
}
.lp-hero__sub {
  font-family: 'Inter', 'Inter Placeholder', system-ui, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
  margin: 22px 0 0;
  max-width: 44ch;
}
.lp-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 14px 30px;
  background: #fff;
  color: #0a0a0a;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.lp-hero__cta:hover {
  transform: translateY(-1px);
  background: #f0f0f0;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

/* ---- trust bar ---- */
.lp-hero__trust {
  position: relative;
  z-index: 2;
  padding: 0 24px 44px;
  text-align: center;
}
.lp-hero__trust-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 22px;
}
.lp-hero__logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  height: 22px;
  opacity: 0.62;
  filter: grayscale(1) brightness(1.7);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.lp-logo:hover {
  opacity: 0.95;
  filter: grayscale(0) brightness(1);
}
.lp-logo svg {
  height: 100%;
  width: auto;
  display: block;
}

/* ---- responsive: tablet / mobile ---- */
@media (max-width: 810px) {
  .lp-nav__links {
    display: none;
  }
  .lp-nav.is-open .lp-nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px clamp(20px, 5vw, 64px) 22px;
    background: rgba(6, 6, 6, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .lp-nav.is-open .lp-nav__links a {
    padding: 10px 0;
    font-size: 17px;
  }
  .lp-nav__toggle {
    display: inline-flex;
  }
  .lp-hero__inner {
    align-items: flex-start;
    text-align: left;
    padding-top: 48px;
  }
  .lp-hero__title {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
    max-width: 100%;
  }
  /* let the headline wrap naturally on narrow screens (the desktop <br> would
     force an over-wide line that overflows the viewport) */
  .lp-hero__title br {
    display: none;
  }
  .lp-hero__sub {
    max-width: 100%;
  }
  .lp-hero__cta {
    align-self: flex-start;
  }
  .lp-hero__logos {
    gap: 34px;
  }
  .lp-logo {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__video {
    display: none;
  }
  .lp-hero__bg {
    background: #060606;
  }
}
