@media (min-width: 1600px) {
  .hero-inner {
    min-height: 640px;
  }
}
@media (max-width: 1180px) {
  :root {
    --gutter: 28px;
  }
  .header-inner {
    gap: 14px;
    height: 72px;
  }
  .main-nav a {
    padding: 7px 9px;
    font-size: 12.5px;
  }
  .phone-pill {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1.1fr 330px;
    gap: 24px;
  }
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
  }
  .keywords-layout {
    grid-template-columns: 1fr;
  }
  .keywords-panel {
    position: static;
  }
}
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #fff;
    padding: 12px var(--gutter) 20px;
    box-shadow: var(--shadow-md);
    border-block: 1px solid var(--line);
  }
  .mobile-nav a {
    padding-block: 11px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
  }
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-nav li a {
    display: block;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 38px 64px;
  }
  .hero-glass-card {
    max-width: 480px;
  }
  .services-bento {
    grid-template-columns: 1fr;
  }
  .services-secondary-grid {
    grid-template-rows: 210px;
    grid-template-columns: repeat(2, 1fr);
  }
  .service-teaser,
  .service-cover {
    height: 210px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .contact-hub {
    grid-template-columns: 1fr;
  }
  .page-layout {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    position: static;
  }
  .admin-bar .topbar {
    top: 46px;
  }
}
@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }
  html {
    scroll-padding-top: 74px;
  }
  body {
    padding-bottom: 70px;
  }
  .header-inner {
    height: 66px;
    gap: 10px;
  }
  .brand-word strong {
    font-size: 20px;
  }
  .brand-word small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .header-inner .brand img {
    width: 33px;
    height: 36px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn.small {
    min-height: 35px;
    font-size: 11.5px;
    padding: 6px 11px;
  }
  .header-actions .icon-btn {
    width: 34px;
    height: 34px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding-block: 28px 66px;
    gap: 20px;
  }
  .hero-photo {
    opacity: 0.35;
  }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(244, 246, 248, 0.92) 0%,
      rgba(244, 246, 248, 0.86) 65%,
      #f4f6f8 100%
    );
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 52px);
    letter-spacing: -1.4px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-glass-card {
    padding: 18px;
  }
  .hero-nav {
    bottom: 14px;
    left: 18px;
  }
  .section {
    padding-block: 44px;
  }
  .section.compact {
    padding-block: 38px;
  }
  .section-head {
    flex-wrap: wrap;
    margin-bottom: 22px;
    gap: 12px;
  }
  .head-actions {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .section-head h2,
  .split-title h2,
  .contact-hub-info h2,
  .page-heading {
    font-size: 27px;
    letter-spacing: -0.6px;
  }
  .service-feature-card {
    grid-template-columns: 1fr;
  }
  .feature-media {
    min-height: 210px;
    height: 210px;
  }
  .feature-body {
    padding: 20px;
  }
  .services-secondary-grid {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }
  .service-teaser,
  .service-cover {
    height: 196px;
  }
  .service-extra {
    grid-template-columns: 1fr;
  }
  .call-strip-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .call-strip-actions {
    width: 100%;
  }
  .call-strip-actions .btn {
    width: 100%;
  }
  .project-grid,
  .article-grid,
  .article-grid.archive-two,
  .article-grid.related-two,
  .archive-services-grid,
  .archive-services-grid.two-col,
  .spec-cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .keywords-panel,
  .districts-panel,
  .coverage-card,
  .service-cta-box,
  .contact-hub-form,
  .page-main,
  .sidebar-card {
    padding: 18px;
  }
  .service-cta-box .cta-row,
  .service-cta-box .btn,
  .detail-quick-actions .btn {
    width: 100%;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 34px;
  }
  .footer-credit {
    flex-wrap: wrap;
    font-size: 11px;
  }
  .field-pair {
    grid-template-columns: 1fr;
  }
  .gallery-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-foot-actions {
    width: 100%;
    justify-content: space-between;
  }
  .lightbox-stage > img {
    height: 40dvh;
  }
  .source-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 92px minmax(0, 1fr);
    height: 46vh;
  }
  .source-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .source-file {
    width: auto;
    padding: 4px 6px;
    font-size: 10px;
  }
  .floating-dock {
    display: none;
  }
  .mobile-sticky-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 23, 34, 0.08);
  }
  .mbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
  }
  .mbar-call {
    background: var(--ink);
  }
  .mbar-wa {
    background: var(--wa);
  }
  .mbar-quote {
    background: var(--orange);
  }
  .mbar-btn .ic {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 14px;
  }
  .header-actions .source-open {
    display: none;
  }
  .brand-word strong {
    font-size: 18px;
  }
  .brand-word small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-photo {
    transform: none !important;
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation-duration: 0.12s;
}
::view-transition-new(root) {
  animation-duration: 0.22s;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.01ms !important;
  }
}
