/* Shared navigation/portrait safety repair. Versioned URL bypasses old asset caches. */
.menu-toggle { display: none; }
@media (max-width: 1023px) {
  .hero, .hero.term-hero { display: grid; min-height: 0; background: #071a3a; }
  .hero .hero-inner, .term-hero .hero-inner { display: contents; }
  .hero .topbar {
    grid-row: 1; width: 86%; margin: 0 auto; padding: 18px 0;
    display: block; background: #071a3a;
  }
  .hero .brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; width: 100%; max-width: none; }
  .hero .brand .name { grid-column: 1; grid-row: 1; line-height: 1.5; }
  .hero .brand .broker { grid-column: 1; grid-row: 2; line-height: 1.6; color: #c1ccdc; letter-spacing: .11em; }
  .nav-enhanced .menu-toggle {
    grid-column: 2; grid-row: 1 / 3; align-self: center;
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    padding: 9px 12px; border: 1px solid #35d7f3; border-radius: 7px;
    background: #071a3a; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .menu-toggle svg { width: 18px; height: 18px; }
  .menu-toggle:focus-visible, .site-links a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .hero .site-links {
    grid-column: 1 / -1; display: flex; flex-direction: column;
    align-items: stretch; margin: 12px 0 0; padding: 8px 0 0;
    border-top: 1px solid #38506e; gap: 0; background: #071a3a;
  }
  .hero .site-links[hidden] { display: none; }
  .hero .site-links a { min-height: 44px; padding: 9px 0; font-size: 15px; line-height: 1.4; color: #35d7f3; }
  .hero .hero-photo {
    grid-row: 2; position: relative; inset: auto; width: 100%; height: clamp(300px, 90vw, 460px);
    background: #0b0b0b url('/kimber-hero.jpg?v=20261012') 80% 0 / cover no-repeat;
  }
  .hero .hero-copy {
    grid-row: 3; width: 86%; max-width: none; margin: 0 auto;
    padding: 32px 0 44px; background: #071a3a;
  }
  .hero .hero-copy h1 { max-width: none; }
  .hero .hero-lede { max-width: none; }
}
/* The same text/face collision was verified at desktop widths. Keep the
   existing photo/gradient composition, but reserve its portrait side. */
@media (min-width: 1024px) {
  .hero .topbar .brand { width: 46%; max-width: 46%; }
  .hero .hero-copy { width: 46%; max-width: 46%; }
  .hero .hero-copy h1 { font-size: clamp(44px, 4.8vw, 70px); }
}
