
  .hero {
    position: relative;
    z-index: var(--z-raise);
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
  }
  .hero-photo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
  .hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(5,32,48,0.38), rgba(5,32,48,0.38)), linear-gradient(180deg, rgba(6,20,36,0.15) 0%, rgba(6,20,36,0.3) 60%, rgba(6,20,36,0.75) 100%);
  }
  .hero .wrap { position: relative; z-index: var(--z-raise); }
  body.hero-page header.site {
    position: absolute;
    top: 0; left: 0; right: 0; z-index: var(--z-header);
    background: transparent;
    border-bottom: none;
  }
  body.hero-page header.site .logo { color: var(--white); }
  body.hero-page header.site .logo .logo-star { fill: var(--bronze-light); }
  body.hero-page header.site .user-menu { color: var(--ink); }
  /* University and Log in as one frosted box (owner, 2026-10-26); the size of each link is what it was */
  body.hero-page header.site .hero-pill {
    display: inline-flex; align-items: stretch; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 20px rgba(0, 0, 0, 0.18);
  }
  body.hero-page header.site .hero-pill a { border: 0; border-radius: var(--radius-md); background: transparent; color: var(--white); font-weight: 500; }
  /* a little smaller than the plain header links (owner, 2026-11-01); phones keep their own sizes from chrome.css */
  @media (min-width: 481px) { body.hero-page header.site .hero-pill a { padding: 7px 14px; font-size: 0.8rem; } }
  body.hero-page header.site .hero-pill a + a, body.hero-page header.site .hero-pill .hdr-chips + a { position: relative; }
  body.hero-page header.site .hero-pill a + a::before, body.hero-page header.site .hero-pill .hdr-chips + a::before { content: ""; position: absolute; inset-block: 9px; inset-inline-start: -1px; width: 1px; background: rgba(255, 255, 255, 0.24); }
  body.hero-page header.site .hero-pill a:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
  body.hero-page header.site .btn-login { color: var(--white); }
  /* phones: the chips row under the logo, white text on frosted glass like the pill */
  @media (max-width: 480px) {
    /* a backdrop-filter would make the pill the containing block of the absolutely placed chips row, so the pill goes without the blur here (a slightly stronger tint instead) */
    body.hero-page header.site .hero-pill { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 20, 36, 0.42); }
    body.hero-page header.site .hdr-chips .why-chip { background: rgba(6, 20, 36, 0.42); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius-pill); color: var(--white); }
    body.hero-page header.site .hdr-chips .why-chip:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }
  }
  body.hero-page header.site .why-chip { color: var(--white); }
  body.hero-page header.site :focus-visible { outline-color: var(--white); }
