.site-nav-toggle {
  display: none;
}

@media (max-width: 1100px) {
  .site-header .shell,
  .shell,
  .page-hero .shell,
  .about-page-grid,
  .contact-consult-layout,
  .case-section > .shell,
  .archive-section > .shell,
  .faq-section > .shell,
  .service-catalog-section > .shell,
  .product-hero-grid {
    width: min(1040px, calc(100% - 40px));
  }

  .service-grid,
  .case-highlight-grid,
  .archive-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr);
  }

  .footer-consult {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  html,
  body.geo-site {
    min-width: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.geo-site {
    --page-shell-width: calc(100% - 40px);
    --page-shell-max: 100%;
  }

  img,
  video,
  iframe,
  svg {
    max-width: 100%;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 68px;
  }

  .site-header .shell,
  .site-header.is-scrolled .shell {
    width: calc(100% - 32px);
  }

  .nav-wrap {
    position: relative;
    min-width: 0;
    min-height: 68px;
    height: auto !important;
    flex-wrap: wrap;
  }

  .mobile-nav-ready .nav-wrap {
    height: 68px !important;
    flex-wrap: nowrap;
  }

  .site-header .brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .site-header .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .brand img {
    max-width: 160px;
    height: 42px;
  }

  .site-nav-toggle {
    position: relative;
    z-index: 32;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: #344054;
    cursor: pointer;
  }

  .mobile-nav-ready .site-nav-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
  }

  .site-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-open .site-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .site-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .site-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header--hero .site-nav-toggle {
    color: #fff;
  }

  .site-header--hero.is-scrolled .site-nav-toggle,
  .nav-open .site-header--hero .site-nav-toggle {
    color: #344054;
  }

  .site-nav {
    width: 100%;
    min-width: 0;
    padding: 12px 0 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px !important;
    border-top: 1px solid #edf0f5;
    background: #fff;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 12px;
    left: 12px;
    z-index: 31;
    width: auto;
    height: auto !important;
    max-height: calc(100dvh - 84px);
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(.985);
    transform-origin: top;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    overscroll-behavior: contain;
  }

  .mobile-nav-ready.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-nav-ready.nav-open body {
    overflow: hidden;
  }

  .site-nav .nav-item,
  .site-nav .nav-link {
    width: 100%;
  }

  .site-header .site-nav .nav-link,
  .site-header.site-header--hero .site-nav .nav-link,
  .site-header.site-header--hero.is-scrolled .site-nav .nav-link,
  html body.geo-site .site-header.site-header--hero .site-nav .nav-link {
    min-height: 46px;
    padding: 12px 14px;
    justify-content: space-between;
    border-radius: 10px;
    color: #344054 !important;
    text-shadow: none !important;
  }

  .site-header .site-nav .nav-link::after {
    display: none;
  }

  .site-header .site-nav .nav-link:hover,
  .site-header .site-nav .nav-link.is-current {
    background: #f3f6fb;
    color: var(--site-brand) !important;
  }

  .site-nav .nav-dropdown {
    position: static !important;
    display: block !important;
    width: 100% !important;
    padding: 0 0 6px 14px !important;
    visibility: inherit !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .site-nav .nav-dropdown-panel {
    display: grid;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 1px solid #e3e8f0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav .nav-dropdown-item {
    min-width: 0;
    padding: 10px 12px;
  }

  .site-header + main {
    padding-top: 68px;
  }

  .site-header--hero + main {
    padding-top: 0;
  }

  .section {
    padding: 74px 0;
  }

  .page-hero,
  .page-hero-centered,
  .about-page,
  .page-hero-about {
    min-height: 290px;
    padding: 68px 0 58px;
  }

  .page-hero::after,
  .page-hero-content::after {
    right: -70px;
    width: 230px;
    height: 230px;
    opacity: .45;
  }

  .page-hero h1,
  .page-hero-content h1 {
    font-size: clamp(40px, 8vw, 56px);
    letter-spacing: -.05em;
  }

  .growth-hero-carousel,
  .growth-hero-carousel.has-hero-image,
  .hero-slide-inner {
    min-height: 720px !important;
  }

  .hero-slide-inner {
    width: calc(100% - 40px);
    padding: 112px 0 72px;
  }

  .growth-hero-carousel .hero-copy {
    width: min(680px, 100%) !important;
  }

  .growth-hero-carousel .hero-copy .hero-title {
    font-size: clamp(42px, 8.3vw, 62px) !important;
  }

  .hero-carousel-prev {
    left: 18px;
  }

  .hero-carousel-next {
    right: 18px;
  }

  .about-grid,
  .product-hero-grid,
  .about-page-grid,
  .contact-consult-layout,
  .faq-editorial-layout,
  .service-showcase-row,
  .article-row,
  .case-blog-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .about-photo,
  .about-page-media,
  .product-cover img,
  .product-cover-fallback,
  .service-showcase-media {
    height: auto;
    min-height: 320px;
  }

  .about-photo-badge {
    right: 0;
    bottom: 12px;
  }

  .service-showcase-row,
  .service-showcase-row:first-child {
    min-height: 0;
    padding: 34px 0;
    gap: 30px;
  }

  .service-showcase-row:nth-child(even) .service-showcase-media,
  .service-showcase-row:nth-child(even) .service-showcase-copy {
    grid-row: auto;
    grid-column: auto;
  }

  .service-showcase-row:nth-child(even) .service-showcase-copy {
    order: 2;
  }

  .faq-editorial-intro {
    position: static;
    top: auto;
  }

  .consult-form-card {
    padding: 38px;
  }

  .value-grid,
  .process-list,
  .home-faq-grid,
  .footer-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-item {
    min-width: 0;
  }

  .case-blog-cover {
    width: 100%;
    height: 260px;
  }

  .case-blog-copy {
    order: 2;
  }

  .article-content,
  .richtext {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .article-content table,
  .richtext table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  html.motion-enabled [data-reveal],
  html.motion-enabled [data-reveal="left"],
  html.motion-enabled [data-reveal="right"] {
    transform: translateY(18px) !important;
  }

  .site-footer .footer-grid {
    gap: 42px;
  }
}

@media (max-width: 640px) {
  body.geo-site {
    --page-shell-width: calc(100% - 32px);
  }

  .site-header .shell,
  .shell,
  .page-hero .shell,
  .about-page-grid,
  .contact-consult-layout,
  .case-section > .shell,
  .archive-section > .shell,
  .faq-section > .shell,
  .service-catalog-section > .shell,
  .product-hero-grid {
    width: calc(100% - 32px);
  }

  .site-header .brand > span:last-child {
    max-width: 180px;
  }

  .site-header .brand img {
    max-width: 132px;
    height: 38px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading,
  .section-heading-center,
  .service-section-heading,
  .case-heading {
    margin-bottom: 30px;
  }

  .service-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .service-section-heading > div,
  .service-section-heading > p:not(.section-kicker) {
    width: 100%;
  }

  .service-section-heading > p:not(.section-kicker) {
    max-width: none;
    text-align: left;
  }

  .section-heading h2,
  .section-heading-center h2,
  .service-section-heading h2,
  .case-heading h2,
  .contact-band h2,
  .about-page-content h2 {
    font-size: clamp(32px, 9vw, 42px);
    letter-spacing: -.045em;
  }

  .page-hero,
  .page-hero-centered,
  .about-page,
  .page-hero-about {
    min-height: 250px;
    padding: 54px 0 48px;
  }

  .page-hero h1,
  .page-hero-content h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.14;
  }

  .page-hero p:not(.section-kicker):not(.eyebrow) {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.8;
  }

  .growth-hero-carousel,
  .growth-hero-carousel.has-hero-image,
  .hero-slide-inner {
    min-height: max(680px, 100svh) !important;
  }

  .hero-slide-inner {
    width: calc(100% - 36px);
    padding: 104px 0 78px;
    align-items: center;
  }

  .growth-hero-carousel .hero-copy .hero-title {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 50px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.045em !important;
  }

  .hero-slide-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 18, 31, .72), rgba(8, 18, 31, .38) 68%, rgba(8, 18, 31, .2));
    content: "";
  }

  .growth-hero-carousel .hero-copy .hero-title,
  .growth-hero-carousel .hero-text,
  .growth-hero-carousel .hero-text-link,
  .growth-hero-carousel .hero-text-link span,
  .growth-hero-carousel .hero-promises span {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .38) !important;
  }

  .growth-hero-carousel .hero-promises span::before {
    background: #fff !important;
  }

  .growth-hero-carousel .hero-text {
    margin-top: 18px;
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  .growth-hero-carousel .hero-actions {
    display: grid !important;
    width: min(100%, 310px);
    margin-top: 24px !important;
    gap: 10px !important;
  }

  .growth-hero-carousel .hero-primary-link,
  .growth-hero-carousel .hero-text-link {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }

  .growth-hero-carousel .hero-text-link {
    padding: 10px 2px;
  }

  .growth-hero-carousel .hero-promises {
    display: grid !important;
    margin-top: 22px !important;
    gap: 8px !important;
  }

  .growth-hero-carousel .hero-promises span {
    font-size: 12px;
  }

  .hero-carousel-arrow {
    display: none !important;
  }

  .hero-carousel-dots {
    bottom: 18px;
  }

  .service-grid,
  .value-grid,
  .process-list,
  .case-highlight-grid,
  .archive-card-grid,
  .home-faq-grid,
  .footer-contact-list,
  .consult-form,
  .service-detail-content > .article-content ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .case-highlight-card,
  .archive-card,
  .home-faq-item,
  .consult-form-card {
    border-radius: 18px;
  }

  .service-card-media,
  .case-highlight-media,
  .archive-card-media,
  .about-photo,
  .about-page-media,
  .product-cover img,
  .product-cover-fallback,
  .service-showcase-media,
  .case-blog-cover {
    min-height: 230px;
    height: 230px;
  }

  .about-grid {
    gap: 32px;
  }

  .about-photo {
    min-height: clamp(260px, 68vw, 340px);
    height: clamp(260px, 68vw, 340px);
  }

  .about-photo > img,
  .about-photo-fallback {
    min-height: 0;
    height: 100%;
  }

  .service-showcase-row {
    padding: 28px 0;
    gap: 22px;
  }

  .process-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .process-media,
  .process-item:nth-child(even) .process-media {
    grid-row: auto;
    grid-column: 1;
    min-height: 210px;
    height: 210px;
  }

  .process-copy,
  .process-item:nth-child(even) .process-copy {
    grid-row: auto;
    grid-column: 1;
    max-width: none;
  }

  .contact-band-inner,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-band-inner .btn,
  .contact-actions .btn,
  .primary-btn,
  .light-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-info-list > a,
  .contact-info-list > div {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 12px;
  }

  .contact-info-list > div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .contact-info-list > a > span,
  .contact-info-list > div > span {
    width: 42px;
    height: 42px;
  }

  .contact-info-list strong {
    font-size: 16px;
  }

  .consult-form-card {
    padding: 26px 20px;
  }

  .consult-captcha {
    grid-template-columns: minmax(0, 1fr);
  }

  .consult-captcha-image {
    width: 100%;
  }

  .case-blog-card {
    padding: 16px;
    gap: 18px;
  }

  .case-blog-meta {
    flex-wrap: wrap;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .detail,
  .service-detail-page {
    padding: 54px 0 68px;
  }

  .article-content,
  .richtext {
    font-size: 16px;
    line-height: 1.85;
  }

  .article-content h2,
  .richtext h2 {
    font-size: 25px;
  }

  .site-footer {
    padding-top: 58px;
  }

  .site-footer .footer-grid {
    gap: 34px;
  }

  .footer-consult {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-consult-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 640px) {
  .blog-detail {
    padding: 48px 0 72px;
  }

  .blog-detail-hero {
    padding: 0;
  }

  .blog-detail-heading {
    width: calc(100% - 32px);
  }

  .blog-detail-heading .eyebrow {
    margin-bottom: 14px;
  }

  .blog-detail-heading h1 {
    font-size: 34px;
    line-height: 1.3;
  }

  .blog-detail-date {
    margin-top: 16px;
  }

  .blog-detail-main {
    padding: 0;
  }

  .blog-detail-shell {
    width: calc(100% - 32px);
  }

  .blog-detail-cover img {
    border-radius: 6px;
  }

  .blog-detail-cover {
    margin-top: 32px;
  }

  .blog-detail-reading {
    margin-top: 36px;
    padding-top: 32px;
  }

  .blog-detail-content {
    font-size: 16px;
    line-height: 1.9;
  }

  .blog-detail-content h2 {
    margin-top: 42px;
  }
}

@media (max-width: 390px) {
  .site-header .brand > span:last-child {
    max-width: 145px;
  }

  .growth-hero-carousel .hero-copy .hero-title {
    font-size: 36px !important;
  }

  .service-card-body,
  .case-highlight-card > div,
  .archive-card-copy {
    padding-right: 20px;
    padding-left: 20px;
  }
}
