/* City video from Rick Parker's site, reused with Bobby's stated permission. */
body[data-page="home"] .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: clamp(40rem, 74svh, 50rem);
  padding: clamp(2rem, 4.5vw, 4rem) clamp(20px, 4vw, 64px);
  gap: 3rem;
  background: #09243d;
}
.hero-city {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-city-poster { z-index: -3; }
.hero-city-video { opacity: 0; }
.hero-city-video.is-ready { opacity: 1; }
.hero-video-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 1rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(4, 18, 31, .72);
  color: white;
  font-size: .8125rem;
}
.hero-video-toggle:hover { background: white; color: var(--ink); }
body[data-page="home"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 18, 31, .68), rgba(4, 18, 31, .24) 58%, rgba(4, 18, 31, .16)),
    linear-gradient(180deg, rgba(4, 18, 31, .32), transparent 58%, rgba(4, 18, 31, .4));
  pointer-events: none;
}
.hero-copy { max-width: 50rem; }
body[data-page="home"] h1 {
  font-size: clamp(3.5rem, 6.3vw, 6rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}
body[data-page="home"] .hero .eyebrow {
  max-width: 32rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
body[data-page="home"] .hero-actions { margin-top: 1.8rem; }
body[data-page="home"] .hero-actions .action.secondary {
  background: rgba(4, 18, 31, .62);
  border-color: rgba(255, 255, 255, .7);
}
body[data-page="home"] .hero-actions .action.secondary:hover {
  background: white;
  color: var(--ink);
}
body[data-page="home"] .hero-person {
  align-self: flex-end;
  width: min(100%, 23rem);
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(6, 22, 36, .82);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}
body[data-page="home"] .hero-profile img {
  flex-basis: 60px;
  width: 60px;
  height: 60px;
}
body[data-page="home"] .hero-profile span span,
body[data-page="home"] .hero-person p { color: #e4eaf0; }
body[data-page="home"] .hero-person p { margin: .9rem 0 .65rem; font-size: .9375rem; }

@media (max-width: 840px) {
  body[data-page="home"] .hero { min-height: 42rem; gap: 5rem; }
  .hero-city { object-position: center; }
}
@media (max-width: 560px) {
  body[data-page="home"] .hero {
    min-height: 44rem;
    padding-block: 2.5rem 1.5rem;
    gap: 6rem;
  }
  body[data-page="home"] h1 { font-size: clamp(2.75rem, 11.5vw, 4rem); }
  body[data-page="home"] .hero .eyebrow { font-size: .75rem; letter-spacing: .1em; margin-bottom: 1rem; }
  body[data-page="home"] .hero-actions { margin-top: 1.5rem; }
  body[data-page="home"] .hero-person { align-self: stretch; padding: 1rem; }
  body[data-page="home"] .hero-person p { line-height: 1.5; }
  .hero-city { object-position: center; }
}
@media print {
  body[data-page="home"] .hero { min-height: 0; gap: 2rem; }
  .hero-city, .hero-video-toggle { display: none; }
}
