/* Dark wireframe hero: a contained video region, clear copy, and no chroma key. */
.hero.hero-wireframe {
  min-height: 500px;
  border-bottom-right-radius: 34px !important;
  background: #0b1424 !important;
  border-color: rgba(28, 40, 61, .9) !important;
  box-shadow: 0 22px 58px rgba(20, 32, 52, .22) !important;
}

.hero-wireframe .hero-corner-action {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 18px 24px 0;
  border: 0;
  background: linear-gradient(145deg, #ff425e, #d91032);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  color: #fff;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  transition: filter .2s ease;
}

.hero-wireframe .hero-corner-label {
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}

.hero-wireframe .hero-corner-label span {
  font-size: 17px;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.hero-wireframe .hero-corner-label strong {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.hero-wireframe .hero-corner-action:hover,
.hero-wireframe .hero-corner-action:focus-visible {
  filter: brightness(1.13);
}

.hero-wireframe .hero-corner-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}

.hero-wireframe .hero-inner {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding-block: 58px !important;
}

.hero-wireframe .hero-copy {
  width: min(54%, 640px);
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-wireframe .eyebrow {
  color: #ff657c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.hero-wireframe h1 {
  max-width: 640px;
  color: #f8faff !important;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(45px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.hero-wireframe h1 .hero-brand-line {
  display: inline-block;
  color: #ff405b;
  font-size: .9em;
  font-weight: 650;
  letter-spacing: -.045em;
}
.hero-wireframe h1 em {
  color: #f8faff;
  font-family: inherit;
  font-size: 1.04em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -.055em;
}
.hero-wireframe .hero-description {
  max-width: 540px;
  color: #e7edf8 !important;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 600;
  line-height: 1.3;
}
.hero-wireframe .hero-support { max-width: 500px; color: #b9c9dd !important; font-size: 14px; line-height: 1.55; }

.hero-wireframe .hero-art {
  inset: 0 0 0 37% !important;
  border-radius: 0 34px 34px 0;
  opacity: 1 !important;
  box-shadow: none !important;
}

.hero-wireframe .hero-art video {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 65% center !important;
  background: #0b1424 !important;
  filter: contrast(1.07) saturate(1.06);
}

.hero-wireframe .hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block !important;
  background: linear-gradient(90deg, #0b1424 0%, rgba(11, 20, 36, .82) 15%, rgba(11, 20, 36, .17) 48%, transparent 72%) !important;
  pointer-events: none;
}

.hero-wireframe .motion-control {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3) !important;
  background: rgba(11, 20, 36, .76) !important;
  box-shadow: none !important;
  left: 28px !important;
  right: auto !important;
  bottom: 18px !important;
}

@media (max-width: 760px) {
  .hero.hero-wireframe {
    min-height: 0;
  }
  .hero-wireframe .hero-corner-action {
    width: 135px;
    height: 135px;
    padding: 0 10px 13px 0;
  }
  .hero-wireframe .hero-corner-label span {
    font-size: 13px;
  }
  .hero-wireframe .hero-corner-label strong {
    font-size: 18px;
  }
  .hero-wireframe .hero-inner {
    display: block;
    min-height: 0;
    padding: 34px 22px 252px !important;
  }
  .hero-wireframe .hero-copy { width: 100%; }
  .hero-wireframe .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero-wireframe h1 { font-size: clamp(36px, 9vw, 44px); line-height: 1.1; }
  .hero-wireframe .hero-description { max-width: 430px; font-size: 18px; }
  .hero-wireframe .hero-support { max-width: 430px; font-size: 13px; }
  .hero-wireframe .hero-art {
    inset: auto 0 0 0 !important;
    height: 230px !important;
    border-radius: 0 0 24px 24px;
    background: #0b1424;
  }
  .hero-wireframe .hero-art video {
    object-position: 92% center !important;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%);
    mask-image: linear-gradient(180deg, transparent, #000 34%);
  }
  .hero-wireframe .hero-art::after {
    display: none !important;
  }
  .hero-wireframe .motion-control { left: 18px !important; right: auto !important; bottom: 16px !important; }
}

/* Cursor-tracking glow + parallax layers (driven by hero-cursor.js). */
.hero-wireframe .hero-cursor-glow {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 560px; height: 560px; border-radius: 50%;
  pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(239,17,24,.30), rgba(239,17,24,.10) 42%, transparent 70%);
  transition: opacity .35s ease;
  will-change: transform;
}
.hero-wireframe.is-cursor-active .hero-cursor-glow { opacity: 1; }
.hero-wireframe .hero-art,
.hero-wireframe .hero-copy { will-change: transform; }
