/* Shared baseline overrides kept separate from the accumulated visual theme. */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #073c87;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(7, 28, 67, 0.24);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(button, a):focus-visible {
  outline: 3px solid #f9c74f;
  outline-offset: 3px;
}

@media (min-width: 1100px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, 500px);
    gap: clamp(36px, 5vw, 72px);
  }

  .home-copy h1 {
    font-size: clamp(48px, 4.8vw, 72px);
  }
}

@media (max-width: 640px) {
  .home-topbar,
  body.home-mode .home-topbar {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }

  .home-logo {
    flex: 0 0 auto;
  }

  .home-logo strong {
    max-width: 112px;
  }

  .home-topbar nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    width: auto;
    padding-bottom: 0;
  }

  .home-topbar nav button,
  .tab {
    min-height: 36px;
  }
}
