/* White studio film with native navy copy and no image-obscuring overlay. */
.home-page .hero {
  color: #102c45;
  background: #f8fafd;
}
.home-page .hero-shade {
  display: none;
}
.home-page .hero-visual { inset: 0; }
.home-page .hero-visual video { object-fit: contain; }
@media (min-width: 768px) {
  .home-page .hero-content { width: 42%; }
  .home-page .hero #hero-title { font-size: clamp(26px, 3.4vw, 56px); }
  .home-page .hero #hero-title .hero-line-inner > span { display: block; }
  .home-page .hero #hero-title wbr { display: none; }
  .home-page .hero .hero-lead { max-width: 29em; }
  .home-page .hero .hero-actions { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
.home-page .hero #hero-title,
.home-page .hero .hero-tagline,
.home-page .hero .hero-lead,
.home-page .hero .hero-browse {
  color: #102c45;
  text-shadow: none;
}
.home-page .hero .hero-tagline > span { background: #154bfa; }
.home-page .hero .hero-lead { color: #304d66; }
.home-page .hero .button-primary { color: #fff; }
.home-page .hero .hero-browse:hover { color: #154bfa; }
.home-page .hero .hero-browse:focus-visible,
.home-page .hero .video-toggle:focus-visible { outline-color: #154bfa; }
.home-page .hero .hero-boundary { background: #102c4526; }
.home-page .hero .video-toggle {
  border-color: #102c4580;
  background: #ffffffeb;
  color: #102c45;
}
.home-page .hero .video-toggle:hover { background: #e8efff; }
.home-page .site-header { background: #081622f5; }

/* Selected design 1: pale blue copy panel with a broad curved edge. */
.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(110deg, #dcecff 0%, #edf5ff 45%, #f2f9ff 100%);
  clip-path: ellipse(46% 160% at -6% -20%);
}
@media (max-width: 767px) {
  .home-page .hero::before {
    bottom: auto;
    height: 470px;
    clip-path: ellipse(125% 100% at -15% 0%);
    background: linear-gradient(135deg, #dcecff, #edf5ff 80%);
  }
}

/* Brand zero: readable live text with a centered pronunciation above the digit. */
.home-page .hero #hero-title .hero-zero {
  color: #205abd; ruby-position: over; ruby-align: center;
  font-style: normal; letter-spacing: 0;
}
.home-page .hero #hero-title .hero-zero rt {
  color: #102c45; font-family: var(--heading);
  font-size: clamp(10px, .26em, 15px); font-weight: 700;
  line-height: 1; letter-spacing: .06em; text-align: center;
}
.home-page .hero .hero-lead { text-wrap: pretty; }

.home-page .hero .hero-lead > .hero-lead-phrase { display: inline-block; max-width: 100%; }

/* Stronger brand numeral; the ruby annotation keeps its existing type size. */
.home-page .hero #hero-title .hero-zero-digit { font-size: 1.25em; line-height: 1; vertical-align: baseline; }
.home-page .hero-credentials {
  display: flex; flex-wrap: wrap; gap: 5px 16px; list-style: none;
  padding: 0 0 0 11px; margin: 14px 0 3px; border-left: 2px solid #205abd;
  color: #304d66; font-size: 12px; line-height: 1.8; font-weight: 600;
}
.home-page .hero-credentials li { max-width: 100%; }
.home-page .hero-credentials strong { color: #102c45; font-size: 1.12em; margin-inline: .15em; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  /* Flow the copy above a larger crop of the existing portrait film. */
  .home-page .hero { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; padding-bottom: 58px; }
  .home-page .hero-content { position: relative; order: 0; inset: auto; transform: none; width: auto; max-width: none; padding: 104px var(--gutter) 0; }
  .home-page .hero .hero-actions { max-width: none; }
  .home-page .hero-credentials { margin-top: 12px; gap: 3px 12px; font-size: 11px; line-height: 1.75; }
  .home-page .hero .hero-visual { position: relative; order: 1; inset: auto; z-index: 0; flex: none; width: 100%; height: 72vw; margin-top: 4px; overflow: hidden; }
  .home-page .hero .hero-visual video { position: absolute; left: -6%; top: 0; transform: translateY(-50%); width: 112%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
}
/* Unframed film; avoid forced 3D transforms on the native video plane. */
.home-page .hero-visual,
.home-page .hero-visual video,
.home-page #hero-film-surface { border:0; outline:0; box-shadow:none; }
.home-page .hero-visual video { background:#f8fafd; backface-visibility:visible; -webkit-backface-visibility:visible; }
@media(min-width:768px){.home-page .hero-visual video{transform:none}}
.home-page #hero-film-surface{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#f8fafd;pointer-events:none}
.home-page #hero-film-surface[hidden]{display:none}
.home-page .hero-visual video.hero-film-composited{opacity:0}
