/* ─────────────────────────────────────────
   Client Logos
───────────────────────────────────────── */

.client-logos-section {
    background-color: var(--background-color);
    padding-top: max(40px, 3vw);
    padding-bottom: max(40px, 3vw);
}

.client-logos-label {
    text-align: center;
    opacity: 0.35;
    margin-bottom: max(28px, 2vw);
}

.client-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: max(32px, 4vw);
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-item img {
    height: max(45px, 3.8vw);
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ─────────────────────────────────────────
   Feature Showcase (Financial Strategy)
───────────────────────────────────────── */

.feature-showcase {
    background-color: var(--background-color);
}

.feature-showcase-card {
    position: relative;
    width: 100%;
    min-height: max(500px, 90vh);
    overflow: hidden;
    border-radius:8px
}

.feature-showcase-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
}

.feature-showcase-bg img,
.feature-showcase-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-showcase-card .dark-overlay {
    opacity: 0.55;
    z-index: 1;
}

.feature-showcase-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: max(48px, 3.5vw);
    gap: max(14px, 1vw);
    padding-left: max(26px, 1.8vw);
    padding-right: max(26px, 1.8vw);
}

.feature-showcase-title {
    font-family: var(--font1);
    font-size: max(calc(60px * var(--heading-font-scale)), calc(3.8vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    line-height: calc(90% * var(--heading-font-line-height-scale));
    max-width: max(480px, 42vw);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.feature-showcase-body {
    color: var(--overlay-text-color) !important;
    max-width: max(380px, 80vw);
    font-size: max(14px, calc(1.2vw * var(--scale))) !important;
    line-height: 165% !important;
    text-transform: none !important;
}

/* ─────────────────────────────────────────
   Feature Showcase Eyebrow
───────────────────────────────────────── */

.feature-showcase-eyebrow {
    color: var(--overlay-text-color);
}

/* hp-btn system moved to global.css */

.feature-bracket-button {
    width: fit-content;
    color: var(--overlay-text-color);
    margin-top: max(4px, 0.3vw);
}

.feature-bracket-button .medium-text {
    color: var(--overlay-text-color);
}


/* ─────────────────────────────────────────
   Application Modernization
───────────────────────────────────────── */

.app-mod-section {
    background-color: var(--color-darkgrey);
}

hr .dark {
    border-color: var(--background-color);
      background-color: var(--color-darkgrey);
}

.app-mod-header {
    text-align: center;
    margin-bottom: max(40px, 3vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: max(10px, 0.75vw);
}

.app-mod-header .eyebrow {
    color: var(--overlay-text-color);
    opacity: 1;
}

.app-mod-title {
    font-family: var(--font2);
    font-size: max(calc(38px * var(--heading-font-scale)), calc(2.7vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 400;
    color: var(--overlay-text-color);
    text-transform: none;
    line-height: 120%;
}

.app-mod-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    column-gap: max(16px, 1.1vw);
    row-gap: max(16px, 1.1vw);
    width: 90vw;
    margin: auto;
}

.app-mod-card {
    position: relative;
    aspect-ratio: 600 / 553;
    overflow: hidden;
    clip-path: url(#folderTabClip);
    height:50vh;
}

.app-mod-card-bg {
    position: absolute;
    inset: 0;
}

.app-mod-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.6s var(--ease-transition);
}

.app-mod-card:hover .app-mod-card-bg img {
    transform: scale(1.03);
}

.app-mod-card-bg .dark-overlay {
    opacity: 0;
    z-index: 1;
}

.app-mod-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: max(20px, 1.5vw);
    display: flex;
    flex-direction: column;
    gap: max(6px, 0.4vw);
}

.app-mod-card-title {
    font-family: var(--font2);
    font-size: max(18px, calc(2vw * var(--scale)));
    font-weight: 100;
    color: var(--overlay-text-color);
    text-transform: none;
    line-height: 130%;
}

.app-mod-card .paragraph {
    color: var(--overlay-text-color) !important;
    opacity: 0.55;
    font-size: max(13px, calc(0.9vw * var(--scale))) !important;
    line-height: 155% !important;
    text-transform: none !important;
}


/* ─────────────────────────────────────────
   AI Managed Services
───────────────────────────────────────── */

.cloud-native-section {
    background-color: var(--color-darkgrey);
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.cloud-native-header {
    text-align: center;
    margin-bottom: max(48px, 3.5vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: max(10px, 0.7vw);
}

.cloud-native-header .eyebrow {
    color: var(--overlay-text-color);
    opacity: 1;
}

.cloud-native-header .paragraph {
    font-family: var(--font2) !important;
}

.cloud-native-title {
    font-family: var(--font2);
    font-size: max(calc(38px * var(--heading-font-scale)), calc(2.7vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 100;
    color: var(--overlay-text-color);
    text-transform: none;
    line-height: 140%;
}

.cloud-native-subtitle {
    color: var(--overlay-text-color) !important;
    opacity: 0.55;
    text-transform: none !important;
    max-width: 80vw;
}

.cloud-native-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: max(48px, 3.5vw);
    align-items: center;
}

/* ── Carousel ── */

.cloud-native-carousel {
    position: relative;
    width: min(100%, 62vh);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    align-self: start;
}

.cnc-circle {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: width 0.3s ease, top 0.3s ease, left 0.3s ease, opacity 0.3s ease;
}

.cnc-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cnc-circle[data-pos="far-prev"] {
    top: -12%;
    left: -12%;
    width: 15%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.cnc-circle[data-pos="prev"] {
    top: 5%;
    left: 5%;
    width: 35%;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
}

.cnc-circle[data-pos="current"] {
    top: 20%;
    left: 20%;
    width: 60%;
    opacity: 1;
    z-index: 3;
    box-shadow: 0 0 0 10px var(--color-darkgrey);
}

.cnc-circle[data-pos="next"] {
    top: 60%;
    left: 60%;
    width: 35%;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
}

.cnc-circle[data-pos="far-next"] {
    top: 88%;
    left: 88%;
    width: 15%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── List ── */

.cloud-native-list {
    display: flex;
    flex-direction: column;
    padding-top: max(8px, 0.6vw);
}

.cloud-native-item {
    display: block;
    text-decoration: none;
    padding: max(8px, 0.55vw) 0;
    cursor: default;
}

.cloud-native-name {
    font-family: var(--font1);
    font-size: max(calc(42px * var(--heading-font-scale)), calc(3vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    opacity: 0.2;
    line-height: calc(90% * var(--heading-font-line-height-scale));
    letter-spacing: 0.025em;
    text-transform: uppercase;
    will-change: opacity;
    transition: opacity 0.2s ease;
}

.cloud-native-item.active .cloud-native-name,
.cloud-native-item:hover .cloud-native-name {
    opacity: 1;
}

.cloud-native-detail-row {
    display: flex;
    align-items: flex-start;
    gap: max(8px, 0.5vw);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease-out, opacity 0.2s ease-out, margin-top 0.25s ease-out;
    margin-top: 0;
    color: var(--overlay-text-color);
}

.cloud-native-item.active .cloud-native-detail-row {
    max-height: 60px;
    opacity: 1;
    margin-top: max(8px, 0.5vw);
}

.cloud-native-detail-row svg {
    flex-shrink: 0;
    opacity: 0.7;
    margin-top: 1px;
}

.cloud-native-detail-row span {
    font-family: var(--font2);
    font-size: max(16px, calc(1.11vw * var(--scale)));
    line-height: 155%;
    opacity: 0.7;
    text-transform: none;
}


/* ─────────────────────────────────────────
   Success Stories Timeline
───────────────────────────────────────── */

.success-stories-section {
    background-color: var(--color-darkgrey);
    padding: max(60px, 5vw) 0 max(72px, 6vw);
    overflow: visible;
}

.success-stories-section .wide-container {
    width: 80vw;
    max-width: 80vw;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}

.success-stories-eyebrow {
    color: var(--overlay-text-color) !important;
    opacity: 0.5;
    margin-bottom: max(16px, 1.2vw);
}

.success-stories-heading {
    font-family: var(--font1);
    font-size: max(calc(48px * var(--heading-font-scale)), calc(3.8vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    line-height: calc(92% * var(--heading-font-line-height-scale));
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: max(12px, 0.85vw);
}

.success-stories-sub {
    font-family: var(--font2);
    font-size: max(14px, calc(1vw * var(--scale)));
    line-height: 165%;
    color: var(--overlay-text-color);
    opacity: 0.55;
    text-transform: none;
    margin-bottom: max(44px, 4vw);
}

.success-stories-timeline {
    display: flex;
    position: relative;
    align-items: flex-start;
    overflow: visible;
}

.success-stories-timeline::before {
    content: '';
    position: absolute;
    top: max(16px, 1.25vw);
    left: 50%;
    width: 100vw;
    height: 2px;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle at center, rgba(255, 248, 238, 0.25) 1.5px, transparent 1.5px);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    background-position: 0 center;
    pointer-events: none;
}

.ss-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: max(24px, 2.2vw);
    overflow: visible;
}

.ss-node {
    position: relative;
    z-index: 2;
    padding: max(16px, 1.4vw);
    margin: max(-16px, -1.4vw) 0 0 max(-16px, -1.4vw);
    overflow: visible;
}

.ss-circle {
    width: max(32px, 2.5vw);
    height: max(32px, 2.5vw);
    display: block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.ss-item:hover .ss-circle {
    transform: scale(1.75);
}

.ss-client {
    font-family: var(--font1);
    font-size: max(calc(28px * var(--heading-font-scale)), calc(2.2vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: calc(92% * var(--heading-font-line-height-scale));
    margin: 0;
}

.ss-title-wrap {
    display: flex;
    align-items: flex-start;
}

.ss-client-logo {
    height: auto;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    object-position: left top;
    display: block;
}

.ss-desc {
    font-family: var(--font2);
    font-size: max(12px, calc(0.88vw * var(--scale)));
    line-height: 165%;
    color: var(--overlay-text-color);
    opacity: 0.5;
    margin: 0;
    margin-top: max(8px, 0.5vw);
}

@media screen and (max-width: 767px) {
    .client-logo-item img {
        height: 28px;
    }

    .ss-client-logo {
        width: 80%;
    }

    .app-mod-header {
        margin-top: 5vh;
    }

    .success-stories-section .wide-container {
        width: 90vw;
        max-width: 90vw;
    }

    .success-stories-timeline {
        flex-direction: column;
        gap: max(36px, 4vw);
    }

    .success-stories-timeline::before {
        display: none;
    }

    .ss-item {
        flex-direction: row;
        align-items: flex-start;
        gap: max(16px, 3vw);
        padding-right: 0;
    }

    .ss-node {
        margin: 0;
        padding: max(8px, 0.6vw);
    }

    .ss-circle {
        flex-shrink: 0;
    }
}

/* ─────────────────────────────────────────
   CTA Banner
───────────────────────────────────────── */

.cta-banner {
    position: relative;
    overflow: hidden;
    background-color: var(--background-color-dark);
    padding: 0 !important;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-banner-bg figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.cta-banner-bg figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner-bg .dark-overlay {
    opacity: 0.65;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: max(24px, 2.4vw);
    padding-top: max(120px, 5vw);
}

.cta-banner-logo {
    width: max(100px, 7vw);
    height: auto;
    object-fit: contain;
}

.cta-marquee-wrapper {
    /* overflow-x: hidden; */
    width: 100%;
}

.cta-marquee-track {
    display: flex;
    align-items: center;
    gap: max(28px, 2.2vw);
    width: max-content;
    animation: ctaMarquee 45s linear infinite;
}

.cta-marquee-logo {
    height: 3em;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.cta-marquee-sep {
    font-family: var(--font1);
    font-size: max(calc(72px * var(--heading-font-scale)), calc(6.2vw * var(--scale) * var(--heading-font-scale)));
    color: var(--overlay-text-color);
    opacity: 0.35;
    line-height: 1;
}

@keyframes ctaMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.cta-banner-text {
    font-family: var(--font2);
    font-size: max(calc(60px * var(--heading-font-scale)), calc(5.2vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 100;
    color: var(--overlay-text-color);
    line-height: calc(95% * var(--heading-font-line-height-scale));
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.cta-banner-btn {
    width: fit-content;
    font-family: var(--font-mono) !important;
    font-size: max(12px, calc(0.83vw * var(--scale))) !important;
    letter-spacing: 0.1em;
    text-transform: uppercase !important;
    background-color: var(--overlay-text-color) !important;
    color: var(--overlay-button-text-color) !important;
    text-decoration: none;
    display: block;
    border-radius: max(100px, calc(6.94vw * var(--scale)));
    padding: max(15px, calc(1.04vw * var(--scale))) max(30px, calc(2.08vw * var(--scale)));
    cursor: pointer;
}


.hp-footer-wrap {
    padding-top: max(48px, 4vw);
}

.cta-banner .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: max(26px, 1.81vw);
    padding-top: max(40px, 3vw);
}

.cta-banner .footer-bottom .return-button-wrapper {
    display: none;
}

.cta-banner .footer-bottom .paragraph,
.cta-banner .footer-bottom .paragraph * {
    color: var(--overlay-text-color);
    opacity: 0.55;
    font-size: max(12px, calc(0.97vw * var(--scale))) !important;
}

/* ─────────────────────────────────────────
   Case Study Section
───────────────────────────────────────── */

.case-study-section {
    padding: max(80px, 6vw) 0;
    background-color: var(--color-darkgrey);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.case-study-card {
    position: relative;
    background-color: transparent;
    border-radius: max(16px, 1.1vw);
    padding: max(40px, 3.5vw) max(48px, 4vw) max(40px, 3.5vw);
    overflow: visible;
    color: var(--overlay-text-color);
    width: 90%;
    height: 80vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-study-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    border-radius: max(16px, 1.1vw);
}

.case-study-outline-portrait {
    display: none;
}

@media screen and (orientation: portrait) {
    .case-study-outline-landscape {
        display: none;
    }
    .case-study-outline-portrait {
        display: block;
    }
}

.case-study-top {
    display: flex;
    flex-direction: column;
    gap: max(30px, 1.2vw);
}

.case-study-heading-row {
    margin-top:2vh;
    display: flex;
    align-items: center;
    gap: max(16px, 1.2vw);
}

.case-study-eyebrow {
    opacity: 1;
    color: var(--overlay-text-color) !important;
}

.case-study-logo {
    height: max(50px, 1.6vw);
    width: auto;
    object-fit: contain;
    object-position: left;
    filter: brightness(0) invert(1);
}

.case-study-title {
    font-family: var(--font-heading);
    color: var(--overlay-text-color);
    font-size: max(30px, 1.9vw);
    font-weight: 100;
    margin-top: max(30px, 1.9vw);
    line-height: 120%;
}


.case-study-body {
    font-family: var(--font2);
    font-size: max(14px, 0.97vw);
    line-height: 160%;
    color: rgba(255, 248, 238, 0.65);
    max-width: 90ch;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.case-study-stat {
    padding: 0 max(24px, 2vw);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: max(10px, 0.7vw);
}

.case-study-stat:first-child {
    padding-left: 0;
}

.case-study-stat:last-child {
    border-right: none;
}

.case-study-icon-box {
    width: max(36px, 2.6vw);
    height: max(36px, 2.6vw);
    border-radius: max(6px, 0.42vw);
    background-color: var(--color-darkgrey);
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--overlay-text-color);
    flex-shrink: 0;
}

.case-study-icon-box svg {
    width: max(16px, 1.15vw);
    height: max(16px, 1.15vw);
}

.case-study-stat-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: max(14px, 1vw);
    line-height: 130%;
    color: var(--overlay-text-color);
}

.case-study-stat-body {
    font-family: var(--font2);
    font-size: max(12px, 0.83vw);
    line-height: 155%;
    color: rgba(255, 248, 238, 0.55);
    flex: 1;
}

.case-study-cta-row {
    display: flex;
    justify-content: center;
    margin-top: max(20px, 1.5vw);
}


/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */

@media screen and (max-width: 1080px) {
    .feature-showcase-title {
        font-size: calc(42px * var(--heading-font-scale));
        max-width: 80vw;
    }

    .app-mod-card {
    height:30vw;
}

    .feature-showcase-body {
        max-width: 80vw;
    }

    .app-mod-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cloud-native-layout {
        grid-template-columns: 1fr;
        row-gap: max(40px, 3vw);
    }

    .cloud-native-carousel {
        max-width: 55%;
        margin: 0 auto;
    }

    .cta-banner-text {
        font-size: calc(54px * var(--heading-font-scale));
    }

    .case-study-heading-row {
        flex-wrap: wrap;
    }

    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: max(28px, 2vw) 0;
    }

    .case-study-stat {
        border-right: none !important;
        border-top: none !important;
    }
}

/* Medium screens (768px–1080px) overrides */
@media screen and (min-width: 768px) and (max-width: 1080px) {
    /* Case study: fixed 80vh height overflows when stats go 2×2 */
    .case-study-card {
        height: auto;
        gap: max(32px, 3vw);
    }

    .case-study-section {
        padding: max(60px, 5vw) 0;
        min-height: auto;
    }
}

/* Cloud native: keep side-by-side on medium screens, just scale down */
@media screen and (min-width: 768px) and (max-width: 1080px) {
    .cloud-native-layout {
        grid-template-columns: 1fr 1fr;
        column-gap: max(24px, 2vw);
        row-gap: 0;
    }

    .cloud-native-carousel {
        width: min(100%, 40vh);
        max-width: none;
    }

    .cloud-native-header {
        margin-bottom: max(28px, 2.2vw);
    }

    .cloud-native-title {
        font-size: max(calc(26px * var(--heading-font-scale)), calc(2.2vw * var(--scale) * var(--heading-font-scale)));
    }

    .cloud-native-name {
        font-size: max(calc(26px * var(--heading-font-scale)), calc(2.4vw * var(--scale) * var(--heading-font-scale)));
    }

    .cloud-native-detail-row span {
        font-size: max(11px, calc(0.85vw * var(--scale)));
    }
}

@media screen and (max-width: 767px) {
    .cloud-native-layout {
        row-gap: 0;
    }

    .cloud-native-item {
        text-align: center;
    }

    .feature-showcase-card {
        min-height: 90vh;
    }

    .feature-showcase-content {
        padding-bottom: max(26px, 1.8vw);
    }

    .feature-showcase-title {
        font-size: calc(36px * var(--heading-font-scale));
    }

    .app-mod-section {
        overflow: hidden;
    }

    .cloud-native-section {
        padding-top: 5vh;
        padding-bottom: 5vh;
        height: auto;
        overflow: visible;
    }

    .cloud-native-header {
        margin-bottom: 0;
    }

    .cloud-native-header .paragraph {
        font-size: 13px !important;
    }

    .cloud-native-detail-row span {
        font-size: 13px;
    }

    .cloud-native-title,
    .app-mod-title {
        font-size: 24px;
        line-height: 110%;
    }

    .app-mod-grid {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 5vw;
        gap: 14px;
        scrollbar-width: none;
    }

    .app-mod-grid::-webkit-scrollbar {
        display: none;
    }

    .app-mod-card {
        flex: 0 0 80vw;
        height: 90vw;
        scroll-snap-align: start;
    }

    .cloud-native-carousel {
        max-width: 80%;
        margin: 0 auto;
    }

    .cloud-native-name {
        font-size: calc(24px * var(--heading-font-scale));
    }

    .cta-banner-text {
        font-size: calc(40px * var(--heading-font-scale));
    }

    .case-study-section {
        min-height: auto;
        padding: max(40px, 4vw) 0;
    }

    .case-study-card {
        height: auto;
        width: 90%;
        padding: max(28px, 2.5vw) max(24px, 2vw);
        gap: max(20px, 2vw);
    }

    .case-study-eyebrow {
        padding-top: max(16px, 1.2vw);
    }

    .case-study-title {
        font-size: 22px;
        margin-top: 0;
        line-height: 120%;
    }

    .case-study-body {
        font-size: 13px;
        line-height: 155%;
    }

    .case-study-logo {
        height: 32px;
    }

    .case-study-grid {
        display: none;
    }

    .case-study-stat {
        padding: 0 !important;
        border-right: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: max(20px, 1.5vw) !important;
    }

    .case-study-stat:first-child {
        border-top: none;
        padding-top: 0 !important;
    }
}
