@media (max-width: 768px), (max-width: 1024px) and (max-height: 600px) and (pointer: coarse) {
  :root {
    --mobile-gutter: clamp(1rem, 4vw, 1.5rem);
    --mobile-header-height: 5rem;
    --mobile-text-size: max(16px, 1rem);
  }

  body {
    font-size: var(--mobile-text-size);
    overflow-x: visible;
    overflow-wrap: anywhere;
    background-attachment: scroll;
  }

  .container {
    padding-inline: var(--mobile-gutter);
  }

  img, video, iframe, embed, object {
    max-inline-size: 100%;
  }

  img, video {
    block-size: auto;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    min-height: var(--mobile-header-height);
    padding-block: .5rem;
  }

  .logo-frame {
    min-width: 0;
    width: 10rem;
  }

  .logo-frame img {
    width: 100%;
    height: auto;
  }

  .mobile-menu-btn {
    display: flex;
    position: static;
    transform: none;
    flex: none;
    border: 1px solid var(--border-focus);
  }

  header nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    width: 100%;
  }

  header nav ul {
    display: none;
    position: static;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100vh - var(--mobile-header-height) - 1px);
    max-height: calc(100dvh - var(--mobile-header-height) - 1px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: .5rem var(--mobile-gutter);
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
  }

  header nav ul.active {
    display: flex;
  }

  header nav li + li {
    border-top: 1px solid var(--border-color);
  }

  .mobile-menu-btn, header nav a, .btn, .footer-nav a, .footer-links a,
  .form-group input, .form-group textarea {
    min-width: 44px;
    min-height: 44px;
  }

  header nav a, .footer-nav a, .footer-links a {
    display: flex;
    align-items: center;
    padding-block: .375rem;
  }

  .hero {
    padding: calc(var(--mobile-header-height) + 2.5rem) 0 4rem;
  }

  section[id] {
    scroll-margin-top: calc(var(--mobile-header-height) + 1rem);
  }

  .hero h1 {
    font-size: clamp(1.875rem, 7vw, 2.25rem);
  }

  .hero-tagline::before {
    flex: 0 0 6px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-inline: 1rem;
  }

  p:not(.hero-desc, .section-sub, .contact-lead), header nav a, .hero-tagline,
  .section-label, .theme-chips li, .engage-tag, .admin-meta, .form-group label,
  .form-group input, .form-group textarea, .form-success, .btn, footer,
  .footer-brand-name, .footer-brand-tag, .footer-nav-title, .footer-disclaimer {
    font-size: var(--mobile-text-size);
  }

  .capabilities-grid, .value-grid, .sector-grid, .process-grid, .engage-grid,
  .about-layout, .contact-layout, .form-row, .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .cap-card, .sector-card, .engage-card {
    padding: 1.5rem;
  }

  .section-padding {
    padding-block: 4rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .footer-container, .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .footer-nav {
    align-items: flex-start;
    gap: .25rem;
  }
}
