/* Smartphone-only refinement for the hero business map. */
@media (max-width: 760px) {
  .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin-top: 12px;
    padding: 18px 0 4px;
    transform: none;
  }

  .hero-visual .orbit {
    display: none;
  }

  .visual-core {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: 128px;
    height: 128px;
    margin: 0 auto 8px;
    border-width: 7px;
    transform: none;
  }

  .visual-core strong {
    font-size: 31px;
  }

  .visual-core span {
    margin-top: 6px;
    font-size: 9px;
  }

  .visual-card,
  .card-telecom,
  .card-sales,
  .card-event {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    min-height: 116px;
    padding: 15px 14px;
    border: 1px solid rgba(8, 42, 87, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(8, 42, 87, 0.1);
  }

  .visual-card::after {
    display: none;
  }

  .visual-card strong {
    font-size: 15px;
    line-height: 1.45;
  }

  .visual-card small {
    font-size: 10px;
    line-height: 1.55;
  }

  .card-number {
    margin-bottom: 7px;
  }

  .card-event {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .hero-tags {
    gap: 8px;
    margin-top: 28px;
  }

  .hero-tags span {
    padding: 7px 12px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    grid-template-columns: 1fr;
  }

  .card-event {
    grid-column: auto;
  }
}

/* Detailed typography refinements requested during review. */
html body .hero-visual .card-number {
  font-size: 13px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.16em !important;
}

html body .hero-visual .visual-card strong {
  font-size: 18px !important;
  line-height: 1.45 !important;
}

html body .hero-visual .visual-card small {
  font-size: 13px !important;
  line-height: 1.65 !important;
}

html body .hero-tags span {
  padding: 10px 18px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

html body .service-card li {
  font-size: 14px !important;
  line-height: 1.85 !important;
}

html body .strength-grid span {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

html body .strength-grid p {
  font-size: 15px !important;
  line-height: 1.9 !important;
}

html body .company-table dt {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

html body .company-table > div:first-child dd {
  color: #445972 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
}

html body .contact-route p {
  font-size: 14px !important;
  line-height: 1.9 !important;
}

/* Layout fixes after mobile preview review. */
html body .company-lead,
html body .people-copy > p:not(.section-label),
html body .contact-box > div:last-child > p,
html body .intro-copy > p:not(.review-note) {
  max-width: none !important;
}

@media (max-width: 760px) {
  html body .service-card h3 {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 24px !important;
    line-height: 1.45 !important;
  }

  html body .service-card > p:not(.service-index, .review-note) {
    min-height: auto !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  html body .section h2,
  html body .intro h2,
  html body .people-copy h2 {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body .company-lead,
  html body .people-copy > p:not(.section-label),
  html body .contact-box > div:last-child > p,
  html body .intro-copy > p:not(.review-note) {
    width: 100% !important;
    max-width: none !important;
  }

  html body .company-table > div {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile menu overlay fix. */
@media (max-width: 760px) {
  html body.menu-open {
    overflow: hidden !important;
  }

  html body.menu-open .draft-bar {
    display: none !important;
  }

  html body.menu-open .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1003 !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(220, 229, 239, 0.95) !important;
  }

  html body.menu-open .header-inner {
    position: relative !important;
    z-index: 1004 !important;
    min-height: 76px !important;
  }

  html body .global-nav {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1001 !important;
    min-height: 100dvh !important;
    padding: 112px 28px 48px !important;
    background: #ffffff !important;
  }

  html body .global-nav.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  html body .global-nav a {
    width: min(100%, 280px) !important;
    padding: 8px 0 !important;
    color: #082a57 !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  html body .global-nav .nav-cta {
    margin-top: 6px !important;
    padding: 16px 28px !important;
    color: #ffffff !important;
    font-size: 18px !important;
  }

  html body.menu-open .brand,
  html body.menu-open .menu-button {
    position: relative !important;
    z-index: 1005 !important;
  }
}
