/* ==========================================================
   HOME HERO: headline + form on the left, the office film as a
   bright rounded video card on the right (phone: text, form, film).
   The film's own captions stay fully visible, nothing covers them.
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.hero--split .hero-grid { flex: 1; display: grid; align-items: center; width: 100%;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.22fr); gap: clamp(28px, 4.2vw, 68px); max-width: 1380px; margin-inline: auto; padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px); }
.hero--split .hero-inner { flex: none; align-items: flex-start; text-align: left; padding-block: 0; }
.hero--split h1 { font-size: clamp(2.5rem, 4.7vw, 4.5rem); margin-top: 24px; }
.hero--split .hero-text { margin-left: 0; max-width: 46ch; }
.hero--split .hero-links { justify-content: flex-start; }
.hero--split .hero-risk { align-self: center; }

/* ---- the film card ---- */
.hf-card { position: relative; min-width: 0; }
.hf-card::before { content: ""; position: absolute; inset: -26px; z-index: -1; border-radius: 44px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(34, 197, 94, .26), rgba(34, 197, 94, 0) 70%); }
.hf-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0a2417; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(74, 222, 128, .12); }
.hf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0a2417; }
.hf-dip { position: absolute; inset: 0; background: #0a2417; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hf-dip.on { opacity: 1; }

.hf-pause { position: absolute; left: 14px; bottom: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(4, 17, 10, .55); border: 1px solid rgba(255, 255, 255, .3); transition: border-color .3s, transform .3s var(--ease), opacity .3s; opacity: .85; }
.hf-pause:hover { border-color: #4ade80; transform: scale(1.06); opacity: 1; }
.hf-pause svg { width: 16px; height: 16px; }
.hf-pause .i-play { display: none; } .hf-pause.paused .i-pause { display: none; } .hf-pause.paused .i-play { display: block; }
.hf-pause:focus-visible { outline: 2px solid #4ade80; outline-offset: 3px; }

/* ---- tablet and phone: one column. phone shows the 9:16 film ---- */
@media (max-width: 991px) {
  .hero--split .hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: clamp(36px, 7vw, 64px) clamp(20px, 5vw, 40px) 8px; }
  .hero--split .hero-inner { display: contents; }               /* lets us slot the film between the form and the small print */
  .hero--split .hero-badge { order: 1; } .hero--split h1 { order: 2; } .hero--split .hero-sub { order: 3; text-align: center; } .hero--split .hero-text { order: 4; margin-inline: auto; }
  .hero--split .hero-form { order: 5; } .hero--split .hero-form-msg { order: 6; }
  .hero--split .hf-card { order: 7; width: min(100%, 760px); margin-top: 14px; }
  .hero--split .hero-micro { order: 8; margin-top: 26px; } .hero--split .hero-links { order: 9; justify-content: center; }
  .hero--split h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); }
}
@media (max-width: 767px) {
  .hf-frame { aspect-ratio: 9 / 16; border-radius: 20px; }
  .hero--split .hf-card { width: min(100%, 420px); }
  .hf-card::before { inset: -14px; }
}
@media (prefers-reduced-motion: reduce) { .hf-dip { transition: none; } }
.hero--split .hero-form { width: min(100%, 610px); }