/* Mobile header + hamburger + hero fit (staging 2026-10-10) */
.nav-toggle { display: none; }

@media (max-width: 767.98px) {
  :root { --nav-h: 64px; }
  .site-header,
  .has-media-hero .site-header,
  .has-media-hero.no-topbar .site-header,
  .audit-page.has-media-hero .site-header {
    position: sticky !important;
    top: 0 !important;
    inset: auto;
    z-index: 40;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    min-height: 64px;
    padding: 0 1rem;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid rgba(196, 163, 90, 0.18);
    backdrop-filter: blur(8px);
  }
  .site-header .brand-mark.brand-lockup { gap: 16px; font-size: 1.35rem; min-width: 0; }
  .brand-lockup__mark { height: 32px; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: -10px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    flex: 0 0 auto;
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .nav-toggle__bar {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--cream);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(196, 163, 90, 0.25);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .site-header .nav.is-open { display: flex; }
  .site-header .nav a {
    display: block;
    padding: 0.85rem 1.25rem;
    border-bottom: 0;
  }
  .site-header .nav a.is-active { color: var(--gold-soft); border-bottom: 0; padding-bottom: 0.85rem; }

  /* Home hero: in-flow below header, never clipped */
  .hero--slim { max-height: none; }
  .hero--slim .hero__content { padding: 1.25rem 1rem 1.25rem; }
  .hero--slim h1,
  .hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.2rem);
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }
  .hero--slim .hero__sub { font-size: 0.95rem; text-wrap: pretty; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
  .hero--slim .hero__textlink { display: inline; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
  .hero--slim .hero__scrim {
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.82) 100%);
  }
}
@media (max-width: 767.98px) and (orientation: landscape) {
  .site-header .nav { max-height: calc(100vh - 64px); }
}
/* Landscape phones (short viewport): never clip the hero top */
@media (max-height: 500px) and (orientation: landscape) {
  .hero--slim { max-height: none; }
  .hero--slim h1 { text-wrap: balance; }
}
/* All widths: remove hero height cap so the headline is never clipped (Mike GO 2026-10-10) */
.hero--slim { max-height: none; }
