/* ── Hero ─────────────────────────────────────────────────
   Full-bleed aerial video under a navy shade + faint blueprint grid.
   Headline bottom-left, white quote card bottom-right, fact strip along the bottom. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: max(720px, 100svh);
  background: var(--msp-secondary);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(8 17 25 / .86) 0%, rgb(8 17 25 / .6) 36%, rgb(8 17 25 / .12) 72%, rgb(8 17 25 / .05) 100%),
    linear-gradient(180deg, rgb(8 17 25 / .65) 0%, rgb(8 17 25 / 0) 24%, rgb(8 17 25 / 0) 52%, rgb(8 17 25 / .9) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 82% 38%, #000 0%, transparent 70%);
  mask-image: radial-gradient(70% 70% at 82% 38%, #000 0%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); /* text 60%, quote card 40% */
  align-items: end;
  gap: clamp(32px, 4vw, 64px);
  padding-top: calc(var(--msp-header-h) + clamp(56px, 9vh, 120px));
  padding-bottom: clamp(36px, 5vh, 60px);
}
.hero__content { max-width: none; }
.hero__title {
  margin: 22px 0 26px;
  font-size: var(--msp-fs-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.015em;
  color: #fff;
}
.hero__title em { font-style: normal; color: var(--msp-primary); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
/* Above-the-fold exception (spec MOTION): transform-only line reveal, opacity stays 1. */
.js-motion .hero__title .line > span { transform: translateY(108%); transition: transform 1s var(--msp-ease-out); transition-delay: calc(var(--i) * 90ms + 100ms); }
.js-motion .hero.is-in .hero__title .line > span { transform: none; }
.hero__lead { max-width: 580px; font-size: var(--msp-fs-lead); line-height: 1.6; color: rgb(255 255 255 / .84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Quote card */
.hero-quote {
  width: 100%; max-width: 560px; justify-self: end;
  padding: 28px;
  border-radius: var(--msp-radius-lg);
  background: #fff; color: var(--msp-text);
  box-shadow: var(--msp-shadow-lg);
  scroll-margin: calc(var(--msp-header-h) + 24px);
}
.hero-quote__title { margin: 14px 0 22px; font-size: 26px; line-height: 1.15; }
.hero-quote__form { display: grid; gap: 14px; }
.hero-quote__form .btn { margin-top: 6px; }
.hero-quote__note { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--msp-muted); }
.hero-quote__note .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--msp-accent); }
.hero-quote__note.is-success { color: var(--msp-secondary); }

/* Fact strip */
.hero__facts { border-top: 1px solid rgb(255 255 255 / .16); background: linear-gradient(180deg, rgb(8 17 25 / .2), rgb(8 17 25 / .55)); }
.hero__facts-inner { display: flex; align-items: center; gap: 24px; padding-block: 22px 24px; }
.hero__fact-list { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 48px); }
.hero-fact { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 400; color: #fff; }
.hero-fact__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(155 213 5 / .18); color: var(--msp-primary); }
.hero-fact__icon .icon { width: 15px; height: 15px; }
.hero__pause { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 13.5px; color: var(--msp-on-dark-muted); }
.hero__pause-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; color: #fff; transition: background-color .3s, color .3s; }
.hero__pause-icon .icon { width: 15px; height: 15px; }
.hero__pause:hover .hero__pause-icon { background: #fff; color: var(--msp-secondary); }

@media (max-width: 1099px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero-quote { width: 100%; max-width: 560px; justify-self: start; }
}
@media (max-width: 767px) {
  .hero { min-height: auto; }
  .hero__inner { padding-top: calc(var(--msp-header-h) + 48px); }
  .hero__title { margin: 18px 0 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .btn--icon { justify-content: space-between; padding-left: 26px; }
  .hero-quote { padding: 22px; }
  .hero__facts-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .hero-fact { font-size: 14px; align-items: flex-start; }
  .hero-fact__icon { flex: none; width: 24px; height: 24px; }
  .hero__pause { margin-left: 0; }
}
