@media (max-width: 767px) {

    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    body {
        font-size: 15px;
        line-height: 1.6;
    }

    main,
    main>section,
    main .container,
    .site-footer,
    .site-footer .container {
        min-width: 0;
        max-width: 100%;
    }

    main>section:not([class*="hero"]) {
        padding-block: 42px;
    }

    main h1 {
        font-size: clamp(30px, 8vw, 42px) !important;
        letter-spacing: -1.2px;
        overflow-wrap: anywhere;
    }

    main h2 {
        font-size: clamp(27px, 7vw, 36px) !important;
        letter-spacing: -1px;
        overflow-wrap: anywhere;
    }

    main h3 {
        overflow-wrap: anywhere;
    }

    main p {
        overflow-wrap: break-word;
    }

    .site-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 100;
    }

    body {
        padding-top: var(--header-height);
    }

    .header-inner {
        width: calc(100% - 32px);
        min-height: 72px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
        max-width: calc(100% - 60px);
    }

    .brand img {
        width: clamp(190px, 58vw, 238px);
        height: auto;
    }

    .menu-toggle {
        position: relative;
        z-index: 102;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border: 1px solid #e1e7ef;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 3px 12px #10234b10;
    }

    .menu-toggle span {
        width: 22px;
        margin-inline: auto;
        border-radius: 2px;
        background: #15143f;
    }

    .main-nav {
        position: fixed;
        z-index: 101;
        top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
        right: 0;
        bottom: 0;
        left: auto;
        display: flex;
        width: min(88vw, 360px);
        max-height: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px));
        border-top: 0;
        border-left: 1px solid #e4e9f1;
        background: #fff;
        box-shadow: -18px 0 42px #09132b24;
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility .3s;
    }

    .main-nav.is-open {
        display: flex;
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav>a,
    .nav-dropdown>summary {
        min-height: 50px;
        padding: 14px 4px;
        border-bottom: 1px solid #edf0f5;
        font-size: 15px;
        white-space: normal;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown>summary {
        justify-content: space-between;
    }

    .nav-dropdown>summary .icon {
        width: 14px;
        height: 14px;
        transition: transform .2s ease;
    }

    .nav-dropdown[open]>summary .icon {
        transform: rotate(180deg);
    }

    .nav-dropdown-panel {
        display: grid;
        gap: 2px;
        margin: 0 0 8px;
        padding: 5px 0 5px 13px;
        border-left: 2px solid #dbe5f5;
    }

    .nav-dropdown-panel a {
        padding: 11px 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .main-nav .mobile-contact {
        display: inline-flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 14px;
        padding: 14px 18px;
        border: 0;
        border-radius: 7px;
        color: #fff;
    }

    .desktop-contact {
        display: none;
    }

    body:has(.menu-toggle[aria-expanded="true"]) {
        overflow: hidden;
    }

    body::after {
        position: fixed;
        z-index: 99;
        inset: calc(var(--header-height) + env(safe-area-inset-top, 0px)) 0 0;
        background: rgb(8 16 38 / 48%);
        content: "";
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    body:has(.menu-toggle[aria-expanded="true"])::after {
        opacity: 1;
        pointer-events: auto;
    }

    .hero,
    .agentic-hero,
    .business-hero,
    .consult-hero,
    .data-hero,
    .talent-hero,
    .what-hero,
    .edge-hero,
    .insights-hero,
    .careers-hero,
    .contact-hero {
        overflow: hidden;
    }

    #home.hero {
        height: calc(100svh - var(--header-height));
        min-height: 560px;
    }

    #home.hero .hero-inner {
        padding: 50px 0 0;
    }

    #home.hero .hero-copy {
        padding-inline: 20px;
    }

    #home.hero .hero-actions {
        align-items: flex-start;
    }

    #home.hero .hero-values {
        right: 16px;
        bottom: 12px;
        left: 16px;
        justify-content: space-around;
        padding: 11px 8px;
        border: 1px solid #ffffff24;
        background: #11162bbd;
        backdrop-filter: blur(8px);
    }

    main [class*="hero-inner"],
    main [class*="hero-layout"],
    main [class*="-layout"] {
        min-width: 0;
        max-width: 100%;
        gap: 24px;
    }

    main [class*="hero-copy"],
    main [class*="-copy"] {
        min-width: 0;
        max-width: 100%;
    }

    main .hero-actions,
    main [class*="hero-actions"] {
        flex-wrap: wrap;
        gap: 10px;
    }

    main .button {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    main [class*="hero"] .button,
    main [class*="contact"] .button {
        min-width: 0;
    }

    main>section:not([class*="hero"]) .container {
        width: calc(100% - 40px);
    }

    main [class*="grid"]:not(.industry-grid),
    main .process-grid,
    main .business-process,
    main .consult-process,
    main .contact-step-list,
    main .career-benefit-grid,
    main .impact-area-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
    }

    main [class*="-card"],
    main .process-step,
    main .business-process-step,
    main .consult-process>li,
    main .contact-step-list>li {
        min-width: 0;
        max-width: 100%;
    }

    main .process-grid,
    main .business-process,
    main .consult-process,
    main .contact-step-list {
        margin-inline: 0;
        padding-inline: 0;
    }

    main .process-step {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        align-items: center;
        column-gap: 15px;
        padding: 12px 0;
        text-align: left;
    }

    main .process-step .step-icon {
        grid-row: span 2;
        width: 58px;
        height: 58px;
        margin: 0;
        box-shadow: inset 0 0 0 5px #fff, 0 0 0 3px #ddecf140;
    }

    main .process-step .step-icon>i {
        font-size: 21px;
    }

    main .process-step h3,
    main .process-step p {
        grid-column: 2;
        margin: 0;
    }

    main .process-step h3 {
        align-self: end;
        margin-bottom: 3px;
        font-size: 17px !important;
    }

    main .process-step p {
        align-self: start;
        font-size: 14px !important;
    }

    main .step-arrow {
        display: none;
    }

    main .business-process-step {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        gap: 4px 13px;
        padding: 14px;
        border: 1px solid #ffffff20;
        border-radius: 12px;
        background: #ffffff0b;
        text-align: left;
    }

    main .business-process-icon {
        grid-row: span 2;
        width: 54px;
        height: 54px;
        margin: 0;
    }

    main .business-process-step h3,
    main .business-process-step p {
        grid-column: 2;
        margin: 0;
    }

    main .business-process-step h3 {
        font-size: 16px !important;
    }

    main .business-process-step p {
        font-size: 13px !important;
    }

    main .business-process-step::after {
        display: none;
    }

    main .consult-process>li {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: center;
        gap: 4px 12px;
        padding: 14px;
        border: 1px solid #ffffff20;
        border-radius: 12px;
        background: #ffffff0b;
    }

    main .consult-step-icon {
        grid-row: span 2;
        width: 42px;
        height: 42px;
    }

    main .consult-process h3,
    main .consult-process p {
        grid-column: 2;
        margin: 0;
    }

    main .consult-process li::after {
        display: none;
    }

    main .contact-steps-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }

    main .contact-step-list>li {
        display: grid;
        grid-template-columns: 44px 30px minmax(0, 1fr);
        align-items: center;
        gap: 4px 10px;
        padding: 13px;
        border: 1px solid #e1e8f2;
        border-radius: 12px;
        background: #fff;
    }

    main .contact-step-icon {
        grid-row: span 2;
        width: 42px;
        height: 42px;
    }

    main .contact-step-line {
        display: none;
    }

    main .contact-step-list h3,
    main .contact-step-list p {
        grid-column: 2 / -1;
        margin: 0;
    }

    main .contact-step-list h3 {
        font-size: 16px !important;
    }

    main .contact-step-list p {
        font-size: 13px !important;
    }

    main .capability-orbit {
        display: grid;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        justify-self: stretch;
    }

    main .capability-orbit .orbit-ring,
    main .capability-orbit .orbit-center {
        display: none;
    }

    main .capability-orbit .orbit-node {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 112px;
        border-radius: 16px;
        gap: 8px;
        padding: 14px 8px;
    }

    main .talent-orbit {
        display: grid;
        min-height: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    main .talent-orbit> :not(.orbit-item) {
        display: none;
    }

    main .talent-orbit .orbit-item {
        position: static;
        width: 100%;
        min-height: 92px;
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 12px;
        border-radius: 14px;
    }

    main .talent-orbit .orbit-icon {
        width: 34px;
        height: 34px;
    }

    main .career-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    main .career-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    main .career-area-card:nth-child(4),
    main .career-area-card:nth-child(5) {
        grid-column: auto;
    }

    main .impact-area-card {
        min-height: 104px;
        transform: none !important;
    }

    main .insight-filters,
    main [class*="filter-list"],
    main [class*="filter-row"] {
        display: flex;
        max-width: 100%;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding: 3px 1px 10px;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    main .insight-filter {
        flex: 0 0 auto;
        min-height: 40px;
        white-space: nowrap;
    }

    main .contact-inner,
    main .career-cta-inner {
        display: flex;
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 18px;
        padding-block: 34px;
    }

    main .contact-inner .button,
    main .career-cta-inner .button {
        align-self: flex-start;
    }

    main .contact-main-layout,
    main .contact-potential-layout,
    main .perspective-layout,
    main .impact-path-layout,
    main .career-areas-layout,
    main .talent-ecosystem-layout,
    main .talent-differentiators-layout,
    main .data-landscape-layout,
    main .data-difference-layout,
    main .integrated-layout,
    main .edge-approach-layout,
    main .related-layout,
    main .subscribe-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    main .contact-form-card,
    .content-dialog,
    .contact-dialog {
        width: min(100% - 28px, 560px);
        max-width: calc(100vw - 28px);
        margin-inline: auto;
    }

    main .contact-fields-grid,
    main .form-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    main .full-width {
        grid-column: auto;
    }

    main .footer-main {
        gap: 18px;
    }

    .ai-copy {
        width: 100%;
    }

    .ai-image {
        width: 100%;
        max-width: 100%;
        height: 134%;
        object-fit: cover;
        object-position: left;
        mask-image: linear-gradient(90deg, #161616 2% 10%, transparent 100%);
    }

    .edge-grid p br {
        display: none;
    }

    .stack-layer {
        margin-inline: 0;
    }

    .talent-section-intro {
        align-items: baseline;
        flex-direction: column;
    }

    .consult-hero .breadcrumbs {
        gap: 7px;
    }

    .impact-areas-heading {
        align-items: baseline;
        flex-direction: column;
    }

    .agentic-loop-steps p {
        max-width: 100%;
        font-size: 14px !important;
    }

    .loop-arrow {
        margin-bottom: 10px;
        color: #000000;
        font-size: 28px;
        transform: rotate(90deg);
    }

    .agentic-loop-steps {
        align-items: center;
        flex-direction: column;
    }

    .agentic-loop-steps .feature-icon {
        font-size: 18px !important;
        margin-bottom: 10px;
    }

    .agentic-loop-steps h3 {
        font-size: 18px !important;
    }

    .agentic-roadmap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 35px;
    }

    .agentic-roadmap::before {
        background: transparent;
    }

    .business-section-heading {
        align-items: baseline;
        flex-direction: column;
    }

    .business-process-icon .feature-icon {
        width: unset;
    }

    .edge-hero-inner {
        display: block;
    }

    .edge-section-heading {
        align-items: baseline;
        flex-direction: column;
    }

    .insights-filters {
        display: flex;
        flex-wrap: wrap;
    }

    .insight-search {
        flex: 0;
    }

    .insights-toolbar {
        align-items: unset;
        gap: 12px;
        flex-direction: column;
    }

    .insights-section-heading {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
    }

    .career-area-card strong {
        font-size: 14px;
    }

    .career-area-card strong br {
        display: none;
    }

    .contact-detail-item:first-child {
        padding-left: 18px !important;
    }

    .contact-details-inner {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding-block: 17px;
        gap: 20px;
    }

    .contact-details::before {
        background: linear-gradient(90deg, #f9fbff, #f9fbffa8 70%, #f9fbff00 100%), url(../img/contact/contact-office.jpg) right 32% / cover no-repeat;

    }

    .contact-detail-item small {
        color: #040404;
        font-size: 15px;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    main>section:not([class*="hero"]) {
        padding-block: 36px;
    }

    main>section:not([class*="hero"]) .container {
        width: calc(100% - 36px);
    }

    main [class*="grid"]:not(.career-benefit-grid):not(.career-area-grid):not(.capability-orbit):not(.talent-orbit) {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    main .career-benefit-grid,
    main .career-area-grid,
    main .capability-orbit,
    main .talent-orbit {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    main .hero-values {
        gap: 6px;
    }

    main .hero-value {
        gap: 5px;
    }

    main .hero-value span {
        font-size: 9px !important;
        letter-spacing: .7px;
    }

    main .button {
        min-height: 46px;
        padding: 12px 16px;
        gap: 12px;
    }

    main .section-heading {
        margin-bottom: 22px;
    }

    main .career-benefit {
        padding: 12px;
    }

    main .career-area-card {
        min-height: 100px;
    }

    main .insight-grid,
    main .insight-article-grid,
    main .insight-topic-grid {
        gap: 14px;
    }

    main .contact-form-card {
        padding: 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .main-nav,
    .main-nav *,
    body::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}