/*
 * Hero E (AEC-4117/AEC-4144): a translucent "glass" top header, replacing
 * the shared header's existing near-opaque bg-ink-950/80 for this page
 * only. Element+class selector (header.hero-glass-header) outranks the
 * single-class Tailwind utilities it overrides, so no !important is
 * needed and the cascade stays legible. Not loaded on hero-a/b/c/d.html or
 * the live site -- those keep the shared header exactly as shipped.
 */
header.hero-glass-header {
  background-color: rgba(10, 12, 16, 0.28);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  /* No seam at rest (AEC-4158): the header's own border-color transition
   * (from the shared "transition-[...border-color...]" utility it already
   * carries) is reused -- only this color target changes, not the
   * transition itself. The divider fades in only once hero-glass-header.js
   * adds .is-scrolled, and fades out again when it's removed back at the
   * top of the page. */
  border-bottom-color: transparent;
}

header.hero-glass-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

/* A touch more contrast behind the brand mark and nav labels than the
 * blur+tint alone gives, since they sit directly over a bright, moving
 * video rather than the page's own dark background. */
header.hero-glass-header a[aria-label],
header.hero-glass-header nav a,
header.hero-glass-header button {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
