/* Hero frame: nav, centered headline block. The block starts where the center band starts (--band-start, set from words.json). */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--white); background: var(--teal); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--grain); opacity: .22; mix-blend-mode: overlay; pointer-events: none; }
.nav { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; max-width: 1240px; margin: 0 auto; padding: 24px 32px; }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.02em; text-decoration: none; color: var(--navy); }
.nav ul { display: flex; gap: 32px; list-style: none; font-size: 14px; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--navy); font-weight: 600; }
.nav ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.center {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%);
  top: calc(var(--band-start, 24) * 1% + 20px);
  width: min(820px, calc(100% - 40px)); text-align: center; text-shadow: 0 2px 14px var(--text-glow);
}
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.sub { margin: 16px auto 0; max-width: 46ch; font-size: 19px; line-height: 1.4; }
.sub b { font-weight: 800; }
@media (max-width: 700px) {
  .nav { padding: 16px 20px; }
  .nav ul { display: none; }
  h1 { font-size: 40px; }
  .sub { font-size: 16px; }
}
