/* V21: logo-only change, layered on locked-in V20 Option B. */
/* The original official logo art is kept intact. Only its navy field was removed
   to create the transparent HERO image; the original asset returns on scroll. */
body:has(.hero--v17) .site-header .header-brand-mark {
  position:relative;
  display:block;
  width:40px;
  height:40px;
  flex:0 0 40px;
}
body:has(.hero--v17) .site-header .header-brand-mark .header-brand-icon {
  position:absolute;
  display:block;
  max-width:none;
  margin:0;
  object-fit:contain;
  flex:none;
  transition:opacity .24s ease;
}
/* Top of page: actual whale and sparkle silhouette over transparent video. */
body:has(.hero--v17) .site-header .header-brand-mark .header-brand-icon--hero {
  inset:0;
  width:40px;
  height:40px;
  border-radius:0;
  opacity:1;
  filter:drop-shadow(0 1px 4px rgba(1,16,31,.25));
}
/* Scrolled: approved white-orca-on-navy icon tile, without shifting wordmark. */
body:has(.hero--v17) .site-header .header-brand-mark .header-brand-icon--tile {
  top:3px;
  left:3px;
  width:34px;
  height:34px;
  border-radius:7px;
  opacity:0;
}
body:has(.hero--v17) .site-header.is-scrolled .header-brand-icon--hero {opacity:0;}
body:has(.hero--v17) .site-header.is-scrolled .header-brand-icon--tile {opacity:1;}
@media(max-width:760px) {
  body:has(.hero--v17) .site-header .header-brand-mark {width:38px;height:38px;flex-basis:38px;}
  body:has(.hero--v17) .site-header .header-brand-mark .header-brand-icon--hero {width:38px;height:38px;}
  body:has(.hero--v17) .site-header .header-brand-mark .header-brand-icon--tile {top:2.5px;left:2.5px;width:33px;height:33px;}
}
@media(prefers-reduced-motion:reduce) {
  body:has(.hero--v17) .site-header .header-brand-mark .header-brand-icon {transition:none;}
}

/* V22: match the hero primary CTA to the approved translucent header CTA language. */
.hero--v17 .button-hero-glass {
  min-height: 55px;
  color: #f6fbff;
  background: rgba(235, 246, 255, .09);
  border: 1px solid rgba(236, 247, 255, .56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero--v17 .button-hero-glass:hover,
.hero--v17 .button-hero-glass:focus-visible {
  color: #ffffff;
  background: rgba(235, 246, 255, .19);
  border-color: rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 28px rgba(0,16,34,.18);
  outline: none;
}
.hero--v17 .button-hero-glass:focus-visible {
  outline: 3px solid rgba(144, 207, 245, .85);
  outline-offset: 3px;
}
