/*
 * Desktop readability standard
 * All ordinary UI/body copy is at least 16px on desktop (Bootstrap lg and up).
 * Display headings and decorative icon glyphs retain their own sizes.
 */
@media (min-width: 992px) {
  body {
    font-size: 16px !important;
  }

  /* Semantic text elements. Exclude text nested inside display headings so
     accent words within large headings keep their original display scale. */
  body :where(p, a, li, label, small, summary, figcaption, time, dt, dd,
    blockquote, address, span, strong, em, b, th, td, button, input,
    select, textarea, legend, output, cite, q):not(h1 *):not(h2 *):not(h3 *):not(h4 *):not(h5 *):not(h6 *):not(.step-number):not(.service-card-number):not(.consider-item span):not(.standard-index):not(.standards-list article > span):not(.service-number) {
    font-size: max(16px, 1em) !important;
  }

  /* Text-bearing utility elements that use non-semantic containers. */
  :where(
    .topbar,
    .topbar-location,
    .topbar-phone,
    .topbar-email,
    .brand-copy strong,
    .brand-copy small,
    .site-nav .nav-link,
    .site-nav .btn-nav,
    .service-nav-menu .dropdown-item,
    .btn,
    .eyebrow,
    .hero-kicker,
    .hero-overline,
    .hero-note,
    .hero-scroll,
    .hero-proof-row,
    .hero-image-caption small,
    .hero-image-index,
    .page-hero-photo-tag,
    .body-copy,
    .photo-caption strong,
    .photo-caption small,
    .check-list,
    .text-link,
    .service-card a:not(.btn),
    .gallery-label,
    .gallery-kicker,
    .gallery-footnote,
    .contact-intro,
    .contact-details small,
    .contact-details strong,
    .form-heading > span,
    .form-heading p,
    .quote-form .form-label,
    .form-note,
    .form-disclaimer,
    .form-status,
    .footer-about,
    .footer-links a,
    .footer-contact a,
    .footer-contact span,
    .footer-cta,
    .footer-bottom,
    .detail-description,
    .service-includes strong,
    .service-includes p,
    .detail-outcome,
    .service-bottom-cta p,
    .image-stamp,
    .service-accordion .accordion-button,
    .service-accordion .accordion-body,
    .standards-feature p,
    .standard-item p,
    .gallery-result-count,
    .service-jump-label,
    .service-jump-links a,
    .service-scope-card p,
    .site-credit-label,
    .service-card-placeholder span,
    .why-card p,
    .detail-planning-panel p,
    .detail-check-list li,
    .consider-item p,
    .standards-list p,
    .contact-promise,
    .service-card-body p,
    .feature-band p,
    .gallery-intro,
    .process-step p,
    .strip-item strong,
    .strip-item span:not(.strip-icon),
    .service-includes,
    .form-heading
  ) {
    font-size: max(16px, 1em) !important;
  }

  /* Keep large desktop navigation readable without allowing it to crowd. */
  .site-nav .navbar-nav {
    gap: 0;
  }

  .site-nav .nav-link {
    padding-inline: 7px !important;
    letter-spacing: .025em;
  }

  .site-nav .nav-cta-item {
    margin-left: 5px;
  }

  .site-nav .btn-nav {
    padding-inline: 12px;
    letter-spacing: .025em;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .navbar-brand {
    gap: 8px !important;
  }

  .site-nav .nav-link {
    padding-inline: 5px !important;
  }

  .site-nav .btn-nav {
    padding-inline: 9px;
    white-space: normal;
    max-width: 205px;
  }
}

/* Footer brand wordmark: white for clear contrast on the dark footer. */
.site-footer .footer-brand .brand-copy strong {
  color: #ffffff !important;
}


/* Navigation uses readable title case rather than forced all-caps labels. */
.site-nav .nav-link,
.site-nav .service-nav-menu .dropdown-item,
.site-nav .btn-nav {
  text-transform: none !important;
}

.gallery-filters .filter-btn {
  text-transform: none !important;
}
