/* Max-width responsive rules moved from style.css. */

@media (max-width: 1024px) {
  .approved-reference-section .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .approved-reference-section .story-figure { aspect-ratio: 16 / 10; }
  .approved-reference-section .team-grid { grid-template-columns: 1fr 1fr; }
  .solutions-page.basic-page-with-hero > .hero[data-screen-label="About Acuative"] h1 { font-size: clamp(48px, 5.2vw, 56px); line-height: 1.02; }
  .about-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .approved-reference-section .spine::before { left: 9px; }
  .approved-reference-section .sp-row { grid-template-columns: 40px 1fr; margin-bottom: 14px; }
  .approved-reference-section .sp-dot { grid-column: 1; justify-self: start; margin-left: 1px; }
  .approved-reference-section .sp-row:nth-child(odd) .sp-card,
  .approved-reference-section .sp-row:nth-child(even) .sp-card { grid-column: 2; text-align: left; }
  .approved-reference-section .plans,
  .approved-reference-section .svc-block { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .approved-reference-section .awards-grid,
  .approved-reference-section .team-grid { grid-template-columns: 1fr; }
  .solutions-page.basic-page-with-hero > .hero[data-screen-label="About Acuative"] h1 { font-size: clamp(36px, 10vw, 42px); line-height: 1.04; }
  .article--about-summary { padding-block: 56px; }
  .about-summary-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-summary-card { padding: 24px; }
  .approved-reference-section .award-row:nth-child(odd) { padding-right: 0; border-right: 0; }
  .approved-reference-section .award-row:nth-child(even) { padding-left: 0; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Use the established compact header with the drawer at tablet widths. */
  .topbar-inner {
    height: 60px;
    gap: 10px;
    padding-inline: 16px;
  }

  .topbar .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
  }

  .topbar .logo img {
    width: min(137px, 100%);
    max-width: 145px;
    height: auto;
  }

  .topbar .nav {
    order: 3;
    flex: 0 0 auto;
  }

  .topbar .topbar-cta {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    order: 2;
    margin-left: 0;
  }

  .topbar-cta .search-btn,
  .topbar-cta .topbar-client-portal {
    display: none;
  }

  .topbar .topbar-cta .topbar-contact {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  .topbar-cta .btn-primary svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .approved-reference-section.reference-sase-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .approved-reference-section.reference-sase-band .sase-band__header {
    gap: 12px;
  }

  .approved-reference-section.reference-sase-band h2 {
    max-width: 12ch;
  }

  .approved-reference-section.reference-sase-band .sase-band__content {
    gap: 20px;
  }

  .approved-reference-section.reference-sase-band .sase-band__intro {
    gap: 12px;
  }

  .approved-reference-section.reference-sase-band .sase-band__intro strong {
    font-size: 15.5px;
  }

  .approved-reference-section.reference-sase-band li {
    min-height: 0;
    padding: 13px 14px;
    font-size: 13.5px;
  }

  .approved-reference-section.reference-sase-band .sase-band__closing {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .approved-reference-section.reference-sase-band .sase-band__closing .btn {
    justify-self: start;
  }
}

/* Preserve the Careers Inclusion desktop composition above the mobile cutoff;
 * the general tablet card-grid collapse earlier in this file is intentionally
 * broader for other components. */
@media (min-width: 769px) {
  #careers-inclusion .card-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #leo-use-cases .card-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Middle East client logo wall: three tablet columns, then two mobile columns. */
@media (max-width: 1024px) {
  .logo-wall--images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* About milestones: compact, card-to-card progression on mobile only. */
@media (max-width: 768px) {
  .approved-reference-section:has(> .spine) > .col-meta {
    gap: 8px 14px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .approved-reference-section:has(> .spine) > h2.spread {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .approved-reference-section > .spine {
    margin-top: 0;
    padding: 0;
  }

  .approved-reference-section > .spine::before {
    content: none;
  }

  .approved-reference-section > .spine > .sp-row {
    display: block;
    margin: 0 0 36px;
  }

  .approved-reference-section > .spine > .sp-row:last-child {
    margin-bottom: 0;
  }

  .approved-reference-section > .spine > .sp-row:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 36px;
    background: var(--brand-light);
    transform: translateX(-50%);
  }

  .approved-reference-section > .spine > .sp-row .sp-dot {
    position: absolute;
    left: 50%;
    bottom: -24px;
    width: 12px;
    height: 12px;
    margin: 0;
    border: 6px solid var(--brand);
    background: var(--paper);
    box-shadow: none;
    transform: translateX(-50%);
    z-index: 2;
  }

  .approved-reference-section > .spine > .sp-row:last-child .sp-dot {
    display: none;
  }

  .approved-reference-section > .spine > .sp-row.milestone .sp-dot {
    border-color: var(--accent);
    box-shadow: none;
  }

  .approved-reference-section > .spine > .sp-row:nth-child(odd) .sp-card,
  .approved-reference-section > .spine > .sp-row:nth-child(even) .sp-card {
    width: 100%;
    padding: 22px;
    border-radius: 17px;
    text-align: left;
  }

  .approved-reference-section > .spine .sp-year {
    font-size: clamp(34px, 10vw, 40px);
    margin-bottom: 8px;
  }

  .approved-reference-section > .spine .sp-card p {
    font-size: 15px;
    line-height: 1.5;
  }

  :is(#leadership, #testimonials).article {
    padding-block: 64px;
  }

  :is(#leadership, #testimonials) .col-meta {
    gap: 8px 14px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  :is(#leadership, #testimonials) h2.spread {
    margin: 0 0 14px;
  }

  :is(#leadership, #testimonials) p.lead {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  :is(#leadership, #testimonials) .team-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 350px);
    grid-template-columns: none;
    gap: 14px;
    margin: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  :is(#leadership, #testimonials) .team-grid::-webkit-scrollbar {
    display: none;
  }

  :is(#leadership, #testimonials) .team-card {
    width: 100%;
    min-width: 0;
    border-radius: 16px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    user-select: none;
    -webkit-user-select: none;
  }

  :is(#leadership, #testimonials) .team-card:hover {
    transform: none;
  }

  :is(#leadership, #testimonials) .team-card .ph {
    aspect-ratio: 4 / 3;
  }

  :is(#leadership, #testimonials) .team-card .ph img {
    object-position: center 20%;
  }

  :is(#leadership, #testimonials) .team-card .bd {
    padding: 18px 20px 20px;
  }

  :is(#leadership, #testimonials) .team-card h3 {
    font-size: clamp(24px, 7vw, 27px);
    line-height: 1.08;
  }

  :is(#leadership, #testimonials) .team-card .role {
    margin: 7px 0 12px;
    font-size: 11px;
    line-height: 1.4;
  }

  #leadership .team-card .bd > p {
    display: block;
    max-height: 4.5em;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    transition: max-height .3s ease;
  }

  #testimonials .team-card .bd > p {
    display: block;
    max-height: none;
    overflow: visible;
    font-size: 15px;
    line-height: 1.5;
  }

  #leadership .team-card.is-bio-expanded .bd > p {
    max-height: 40em;
    overflow: visible;
  }

  #leadership .team-bio-toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
  }

  #leadership .team-bio-toggle::after {
    content: "→";
    margin-left: 6px;
  }

  #leadership .team-card.is-bio-expanded .team-bio-toggle::after {
    content: "↑";
  }

  #leadership .team-card .li {
    margin-top: 12px;
  }

  :is(#leadership, #testimonials) .team-carousel-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    color: var(--brand-dark);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
  }

  :is(#leadership, #testimonials) .team-carousel-progress__track {
    position: relative;
    width: 92px;
    height: 2px;
    overflow: hidden;
    background: var(--line);
  }

  :is(#leadership, #testimonials) .team-carousel-progress__bar {
    display: block;
    width: 12.5%;
    height: 100%;
    background: var(--brand);
    transform: translateX(0);
    transition: transform .25s ease;
  }
}

@media (max-width: 767px) {
  .acuative-contact-dialog.ui-dialog {
    position: fixed !important;
    top: calc(var(--contact-viewport-top, 0px) + max(8px, env(safe-area-inset-top))) !important;
    left: 12px !important;
    width: calc(100% - 24px) !important;
    height: auto !important;
    max-height: calc(100vh - 16px);
    max-height: calc(var(--contact-viewport-height, 100dvh) - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));
    min-height: 0 !important;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .acuative-contact-dialog .ui-dialog-titlebar {
    min-height: 54px;
    box-sizing: border-box;
    padding: 12px 62px 12px 16px;
  }

  .acuative-contact-dialog .ui-dialog-title {
    font-size: 22px;
  }

  .acuative-contact-dialog .ui-dialog-titlebar-close {
    right: 10px;
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .acuative-contact-dialog .ui-dialog-content {
    flex: 1 1 auto;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box;
    padding: 12px 16px !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-block: 14px;
  }

  .acuative-contact-dialog .webform-flexbox {
    margin-bottom: 10px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .acuative-contact-dialog .webform-submission-form .form-item {
    margin: 0;
  }

  .acuative-contact-dialog .form-item label {
    margin-bottom: 5px;
  }

  .acuative-contact-dialog :is(input[type='text'], input[type='email'], input[type='tel'], input[type='url'], select, textarea) {
    font-size: 16px;
  }

  .acuative-contact-dialog :is(input[type='text'], input[type='email'], input[type='tel'], input[type='url'], select) {
    min-height: 44px;
    padding-block: 9px;
  }

  .acuative-contact-dialog textarea {
    height: 96px;
    min-height: 96px;
    padding: 10px 12px;
  }

  .acuative-contact-dialog .ui-dialog-buttonpane {
    flex: 0 0 auto;
    margin: 0;
    padding: 10px 16px;
  }

  /* Drupal moves submit controls into a separate fixed dialog footer. */
  .acuative-contact-dialog .webform-submission-form .form-actions {
    margin-top: 0;
  }

  .acuative-contact-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none;
    width: 100%;
    margin: 0;
  }

  .acuative-contact-dialog .form-actions .btn-primary {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .related-resources-section .resources-rail > * {
    flex-basis: 42.5%;
  }
}

@media (max-width: 768px) {
  .related-resources-section .resources-rail-controls {
    flex: 0 0 auto;
  }
  .related-resources-section .resources-rail-control {
    width: 40px;
    height: 40px;
  }
  .related-resources-section .resources-rail {
    gap: 14px;
  }
  .related-resources-section .resources-rail > * {
    flex-basis: min(86vw, 360px);
  }
}

@media (max-width: 1370px) {
  .wrap { padding: 0 20px; }
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px;}
  .contact-form .row { grid-template-columns: 1fr; }
  .hero-body, .why-grid, .noc-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { min-height: 380px; }
  .why-figure, .noc-figure { aspect-ratio: 16/10; max-height: 460px; }
  .solutions-page .noc-figure.noc-figure--editorial,
  .page-node-type-solutions .noc-grid .noc-figure {
    max-height: none;
    aspect-ratio: auto;
  }
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.flip .fb-media { order: 0; }
  .tcards, .ind-cards { grid-template-columns: 1fr; }
  .frame-grid { grid-template-columns: 1fr 1fr; }
  .tcard.tall { grid-row: auto; aspect-ratio: 16/10; }
  .glance-table, .hero-stats { grid-template-columns: 1fr; }
  .gt-row:nth-child(odd) { padding-right: 0; border-right: 0; }
  .gt-row:nth-child(even) { padding-left: 0; }
  .hero-stat:nth-child(odd) { padding-right: 0; border-right: 0; }
  .hero-stat:nth-child(even) { padding-left: 0; }
  .card-grid, .card-grid.cols-4, .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 80px; }
  .hero-visual { max-width: 560px; transform: none; }
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .fitem { grid-template-columns: 70px minmax(0, 1fr); gap: 24px; }
  .sol-grid { grid-template-columns: 1fr; gap: 40px; }
  .sol-visual { aspect-ratio: 5/4; max-width: 560px; }
  .ind-head { grid-template-columns: 1fr; gap: 24px; }
  .ind-stack { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .stories-grid .story.lg { grid-column: 1 / -1; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .testi-rail { grid-template-columns: 1fr; gap: 48px; }
  .testi-head-l,
  .testi-card--featured,
  .testi-mini { grid-column: 1; grid-row: auto; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .partner-band { grid-template-columns: 1fr; gap: 32px; }
  .risk-cols { grid-template-columns: 1fr 1fr; }
  .eos-grid { grid-template-columns: 1fr 1fr; }
  .proc { grid-template-columns: repeat(2, 1fr); }
  .cred-band { grid-template-columns: repeat(3, 1fr); }
  .kit-grid { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .case-study .cs-img { min-height: 260px; order: -1; }
  .art-layout { grid-template-columns: 1fr; gap: 36px; }
  .art-aside { position: static; order: -1; }
  .article-detail--without-aside .art-layout { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-cell { padding: 32px 24px !important; }
  .num-cell:nth-child(2n) { border-right: 0; padding-right: 0 !important; }
  .num-cell:nth-child(2n+1) { padding-left: 0 !important; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .office-list { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-grid.feat { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .stories-grid--single .story {
    display: flex;
  }

  #cybersecurity-industries .scard {
    min-height: 0;
    padding-block: 26px;
  }

  .logo-wall--images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-wall--images .client-logo {
    min-height: 118px;
    padding: 20px 16px;
  }

  .logo-wall--images .client-logo img {
    max-height: 72px;
  }

  .sols-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }
  .sols-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink-2);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .sols-tab:first-child { grid-column: 1 / -1; }
  .sols-tab:hover { color: var(--brand-dark); border-color: var(--brand); }
  .sols-tab.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
  }
  .sols-tab:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand) 45%, white);
    outline-offset: 2px;
  }
  .sols-panel { padding-top: 36px; }
  .noc-stats-list, .fo-meta, .card-grid, .card-grid.cols-2, .steps, .feature-list, .frame-grid { grid-template-columns: 1fr; }
  .noc-stat-cell:nth-child(odd) { padding-right: 0; border-right: 0; }
  .noc-stat-cell:nth-child(even) { padding-left: 0; }
  .fo-meta .item:nth-child(odd) { padding-right: 0; border-right: 0; }
  .fo-meta .item:nth-child(even) { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 {font-size: clamp(50px, 7vw, 132px);}
  .front-page section.hero {padding-bottom: 20px;}
  .footer-bottom-links {width:100%; margin-top: 12px; padding-top: 24px; border-top: 2px solid rgba(255,255,255,0.1);}
  section.breadcrumb {padding-bottom:0;}
  section.breadcrumb > .wrap {border-bottom: 1px solid var(--line); padding-bottom: 12px;}
  .crumbs { display: inline-block; line-height: 1.6; }
  .hero-meta { display: inline-block; line-height: 2.6; padding-top: 10px; margin-bottom: 44px;}
  .hero-body {margin-top: 44px;}
  .hero-stats {margin-top: 28px;}
  .tech-grid { grid-template-columns: 1fr; }
  .risk-cols, .eos-grid, .proc, .cred-band { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-meta { gap: 28px; }
  .scard { padding: 26px; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 26px; }
  .step .num { margin-bottom: 24px; }
  .chal-row { grid-template-columns: 1fr; gap: 8px; }
  .fitem { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .bullet-rows li { grid-template-columns: 12px 1fr; gap: 12px; }
  .caps-grid, .stats-grid, .stories-grid, .insights-grid, .foot-grid { grid-template-columns: 1fr; }
  .testi-hero blockquote { padding-left: 20px; font-size: 26px; }
  .testi-hero .qmark { font-size: 140px; }
  .testi-attrib { padding-left: 20px; }
  .sol-features { grid-template-columns: 1fr; }
  .video-play .disc { width: 64px; height: 64px; }
  .video-cap .v { font-size: 18px; }
}

@media (max-width: 600px) {
  .art-hero { padding: 36px 0 28px; }
  .art-cover { aspect-ratio: 4 / 3; border-radius: 10px; }
  .art-media-player { margin-bottom: 24px; border-radius: 10px; }
  section.article.article-detail { padding-top: 56px; padding-bottom: 64px; }
  .art-body p { font-size: 16px; line-height: 1.7; }
  .art-body h2 { margin-top: 34px; font-size: 24px; }
  .art-body h3 { margin-top: 24px; }
  .aside-card { padding: 20px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .num-cell { padding-left: 0 !important; padding-right: 0 !important; border-right: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .office-list { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid.feat { grid-template-columns: 1fr; }
  .doc-row { flex-wrap: wrap; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall--images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall--images .client-logo { min-height: 118px; padding: 20px 16px; }
  .logo-wall--images .client-logo img { max-height: 72px; }


  .front-page .hero h1 {
    font-size: clamp(42px, 5.6vw, 84px);
  }
  .front-page .hero .lead {
    font-size: 18px;
  }
  .front-page .hero-meta{
    gap: 24px;
    justify-content: space-between;
  }
  .front-page .hero-meta .lbl {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .hero-inner { padding-top: 48px; padding-bottom: 64px; gap: 32px; }
  .hero-meta {margin-bottom: 32px; line-height: 2.4; padding-top: 8px;}
  .award-inner {display: inline-block; line-height: 1.6;}
  .award-strip .divider {margin: 0 18px;padding: 0 0.5px;}
  .sols-section {
    padding-top: 64px;
  }
  .sols-header {
    margin-bottom: 32px;
  }
  .btn {
    padding: 10px 20px;
  }
}

@media (max-width: 900px) {
  .contact-page__main { padding: 44px 0 64px; }
  .contact-page__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-page__content h1 { font-size: clamp(42px, 11vw, 64px); }
  .contact-page__lead { margin: 20px 0 28px; }
  .contact-primary .contact-form { padding: 24px; }
  .contact-page__figure { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .contact-page__main { padding: 32px 0 52px; }
  .contact-primary .contact-form { padding: 20px; }
  .contact-primary__details { flex-direction: column; gap: 16px; }
  .contact-page__figure { border-radius: 10px; }
}

/* Acuative mobile system translated from the approved all-pages reference. */
@media (max-width: 768px) {
  :root {
    --mobile-page-padding: 20px;
    --mobile-section-space: 40px;
    --mobile-section-space-compact: 32px;
    --mobile-card-gap: 14px;
  }

  /* Base and typography */
  .wrap {
    width: 100%;
    padding-inline: var(--mobile-page-padding);
  }

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

  .spread,
  .article .spread,
  .sols-header h2,
  .ind-head h2,
  .stats-head h2,
  .stories-head h2,
  .insights-head h2,
  .testi-head-l h2,
  .li-head h2,
  .cta-inner h2 {
    font-size: clamp(24px, 7.2vw, 28px);
    line-height: 1.14;
    letter-spacing: -0.022em;
  }

  .eyebrow,
  .cat,
  .kind,
  .col-num,
  .col-title {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .btn {
    min-height: 44px;
    padding: 11px 18px;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
  }

  .pager {
    max-width: 100%;
    margin-block: 32px;
  }

  .pager__items {
    gap: 6px;
  }

  .pager__item > a,
  .pager__link,
  .pager__item--active:not(:has(> a)) {
    min-width: 40px;
    min-height: 40px;
    padding-inline: 11px;
    font-size: 14px;
  }

  .pager__item--ellipsis {
    min-height: 40px;
  }

  /* Header and mobile navigation */
  .topbar-inner {
    height: 60px;
    gap: 10px;
    padding-inline: 16px;
  }

  .topbar .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
  }

  .topbar .logo img {
    width: min(137px, 100%);
    max-width: 145px;
    height: auto;
  }

  .topbar .nav {
    order: 3;
    flex: 0 0 auto;
  }

  .topbar .topbar-cta {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    order: 2;
    margin-left: 0;
  }

  .topbar-cta .search-btn {
    display: none;
  }

  .topbar .topbar-cta .topbar-contact {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    top: 10px;
    right: 70px;
  }

  .topbar-cta .btn-primary svg {
    display: none;
  }

  .topbar-cta .topbar-client-portal {
    display: none;
  }

  /* Breadcrumbs */
  section.breadcrumb {
    padding-block: 8px 0;
  }

  section.breadcrumb > .wrap {
    padding-bottom: 8px;
  }

  .crumbs {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 6px;
    min-width: 0;
    font-size: 10.5px;
    line-height: 1.45;
  }

  .crumbs > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* Shared heroes */
  .front-page .hero-inner {
    gap: 0;
    padding-block: 32px 28px;
  }

  /* Keep the desktop markup intact while placing the homepage video between
     the intro and actions in the mobile reading order. */
  .front-page .hero-copy {
    display: contents;
  }

  .front-page .hero-eyebrow {
    order: 1;
  }

  .front-page .hero h1 {
    order: 2;
  }

  .front-page .hero .lead {
    order: 3;
  }

  .front-page .hero-visual {
    order: 4;
  }

  .front-page .hero-ctas {
    order: 5;
  }

  .front-page .hero-meta {
    order: 6;
  }

  .front-page .hero h1,
  .solutions-page .hero h1,
  .basic-page-with-hero .hero h1,
  .blog-hero h1,
  .documents-hero h1,
  .events-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .solutions-page .hero:not(.events-hero) h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.02;
  }

  .front-page .hero-eyebrow {
    margin-bottom: 18px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .front-page .hero p.lead,
  .front-page .hero .lead,
  .solutions-page .hero-lead,
  .basic-page-with-hero .hero-lead {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .front-page .hero .lead,
  .front-page .hero p.lead {
    margin-bottom: 20px;
  }

  .front-page .hero-ctas,
  .solutions-page .hero-ctas,
  .basic-page-with-hero .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0 22px;
  }

  .front-page .hero-ctas .btn,
  .solutions-page .hero-ctas .btn,
  .basic-page-with-hero .hero-ctas .btn {
    width: 100%;
  }

  .front-page .hero-visual,
  .front-page .hero-img.big {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .front-page .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding-top: 16px;
    line-height: 1.3;
  }

  .front-page .hero-meta .num {
    font-size: 25px;
  }

  .front-page .hero-meta .lbl {
    font-size: 10px;
    overflow-wrap: anywhere;
  }

  /* Compact, centered badges in a horizontally swipeable mobile rail. */
  .front-page .award-strip {
    padding-block: 10px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .front-page .award-strip .award-inner {
    display: none;
  }

  .front-page .award-strip .award-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-inline: var(--mobile-page-padding);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .front-page .award-strip .award-track::-webkit-scrollbar {
    display: none;
  }

  .front-page .award-strip .award-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    color: var(--brand-deep);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
  }

  .front-page .award-strip .award-chip p {
    margin: 0;
  }

  .hero-meta .pill {
    color: var(--brand);
    background: transparent;
    padding: 0;
    font-weight: bold;
  }

  .solutions-page .hero,
  .basic-page-with-hero .hero {
    padding-top: 24px;
  }

  .solutions-page .hero > .wrap {
    min-width: 0;
  }

  .solutions-page .hero-meta,
  .basic-page-with-hero .hero-meta {
    gap: 7px;
    margin-bottom: 22px;
    padding: 0 0 12px;
    font-size: 10px;
    line-height: 1.45;
  }

  .solutions-page .hero-body,
  .basic-page-with-hero .hero-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
    padding-bottom: 36px;
  }

  .solutions-page .hero-lead-col,
  .solutions-page .hero-figure,
  .solutions-page .article > .wrap,
  .solutions-page .two-col > *,
  .solutions-page .why-grid > *,
  .solutions-page .noc-grid > * {
    min-width: 0;
  }

  .solutions-page .hero-stats,
  .basic-page-with-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin-top: 22px;
    padding: 0;
    list-style: none;
  }

  .solutions-page .hero-stat,
  .basic-page-with-hero .hero-stat {
    min-width: 0;
    padding: 14px 16px 14px 0;
  }

  .solutions-page .hero-stat:nth-child(2n),
  .basic-page-with-hero .hero-stat:nth-child(2n) {
    padding-right: 0;
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .solutions-page .hero-stat .v,
  .basic-page-with-hero .hero-stat .v {
    min-width: 0;
    font-size: clamp(24px, 7vw, 28px);
    overflow-wrap: anywhere;
  }

  .solutions-page .hero-stat .k,
  .basic-page-with-hero .hero-stat .k {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .solutions-page .hero-figure,
  .basic-page-with-hero .hero-figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .solutions-page .hero.landscape-media .hero-figure {
    aspect-ratio: 3 / 2;
  }

  .solutions-page .hero.diagram-media .hero-figure {
    aspect-ratio: 16 / 9;
  }

  .solutions-page .hero.diagram-media .hero-figure img {
    object-fit: contain;
    transform: none;
  }

  .solutions-page .hero-figure img,
  .solutions-page .why-figure img,
  .solutions-page .noc-figure img,
  .solutions-page .feature-block .fb-media img,
  .solutions-page .case-study .cs-img img,
  .solutions-page .kit .kimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .solutions-page .noc-figure.noc-figure--editorial,
  .page-node-type-solutions .noc-grid .noc-figure {
    max-height: none;
    aspect-ratio: auto;
  }

  .solutions-page .noc-figure.noc-figure--editorial img,
  .page-node-type-solutions .noc-grid .noc-figure img {
    height: auto;
  }

  .solutions-page .case-study .cs-img.is-empty {
    display: none;
  }

  .solutions-page .hero-figure .badge,
  .solutions-page .hero-figure .live,
  .basic-page-with-hero .hero-figure .badge,
  .basic-page-with-hero .hero-figure .live {
    top: 12px;
    padding: 6px 10px;
    font-size: 9px;
  }

  .solutions-page .hero-figure .badge,
  .basic-page-with-hero .hero-figure .badge {
    left: 12px;
  }

  .solutions-page .hero-figure .live,
  .basic-page-with-hero .hero-figure .live {
    right: 12px;
  }

  .solutions-page .hero-figure .caption,
  .basic-page-with-hero .hero-figure .caption {
    inset: auto 10px 10px;
    padding: 10px 12px;
  }
  .hero-figure .caption .k {
    font-size: 11px;
  }
  .hero-figure .caption .v {
    font-size: 19px;
  }

  /* Shared sections */
  .article,
  .sols-section,
  .ind-section,
  .stats-section,
  .logos-section,
  .stories-section,
  .insights-section,
  .testi-section,
  .li-section,
  .cta-section {
    padding-block: var(--mobile-section-space);
  }

  .sols-header,
  .ind-head,
  .stats-head,
  .stories-head,
  .insights-head,
  .li-head {
    margin-bottom: 20px;
  }

  .front-page .insights-head {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .front-page .insights-head h2 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .front-page .insights-head .btn-ghost {
    flex: 0 0 auto;
    min-height: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brand);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
  }

  .ind-head .eyebrow::before {display: none;}
  .ind-head .eyebrow {
    font-size: 11px;
    letter-spacing: .22em;
  }

  h2.sec {
      font-family: 'Epilogue', sans-serif;
      font-weight: 700;
      font-size: 26px;
      line-height: 1.12;
      letter-spacing: -.02em;
      margin: 8px 0 4px;
  }

  .article .col-meta {
    margin-bottom: 20px;
  }

  .article .lead,
  .ind-intro,
  .li-head .sub {
    font-size: 15px;
    line-height: 1.55;
  }

  .two-col,
  .why-grid,
  .noc-grid,
  .contact-grid,
  .partner-band,
  .case-study,
  .kit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* Cards and grids */
  .card-grid,
  .card-grid.cols-2,
  .split-card-grid,
  .frame-grid,
  .steps,
  .proc,
  .risk-cols,
  .eos-grid,
  .kit-grid,
  .loc-grid,
  .post-grid,
  .post-grid.feat,
  .testi-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--mobile-card-gap);
  }

  .stats-grid,
  .numbers-grid,
  .spec-row,
  .tech-grid,
  .cred-band,
  .logo-wall,
  .office-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scard,
  .step,
  .risk-cols .rc,
  .eos-card,
  .proc .pstep,
  .loc-card,
  .testi,
  .post-card .pbody,
  .kit .kbody,
  .aside-card,
  .partner-band,
  .case-study .cs-body {
    min-height: 0;
    padding: 20px;
  }

  /* Numbered process paragraphs stay compact while exposing the next step. */
  .article--process .proc {
    display: flex;
    gap: var(--mobile-card-gap);
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .article--process .proc::-webkit-scrollbar {
    display: none;
  }

  .article--process .proc .pstep {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .who-we-serve {
    padding: 36px 0 28px;
    overflow: hidden;
    background: var(--bg-2);
  }

  .who-we-serve::before {
    display: none;
  }

  .who-we-serve > .wrap {
    padding-inline: 0;
  }

  .who-we-serve__header {
    display: block;
    margin-bottom: 0;
    padding-inline: var(--mobile-page-padding);
  }

  .who-we-serve__header .ind-intro {
    margin-top: 12px;
  }

  .who-we-serve__rail {
    display: flex;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 16px var(--mobile-page-padding) 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: var(--mobile-page-padding);
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .who-we-serve__rail::-webkit-scrollbar {
    display: none;
  }

  .who-we-serve__list {
    display: contents;
  }

  .who-we-serve__card,
  .ind-row.who-we-serve__card,
  .ind-featured.who-we-serve__card {
    position: relative;
    display: block;
    flex: 0 0 250px;
    width: 250px;
    min-width: 0;
    min-height: 312px;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--brand-deep);
    color: #fff;
    scroll-snap-align: start;
    transform: none;
  }

  .who-we-serve__card--featured,
  .ind-featured.who-we-serve__card--featured {
    flex-basis: 290px;
    width: 290px;
  }

  .who-we-serve__media,
  .ind-row .who-we-serve__media {
    position: absolute;
    inset: 0;
    display: block;
  }

  .who-we-serve__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
  }

  .who-we-serve__card::after,
  .ind-featured.who-we-serve__card::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 37, 71, .06) 20%, rgba(0, 37, 71, .94) 100%);
  }

  .who-we-serve__content,
  .ind-row .who-we-serve__content,
  .ind-featured .who-we-serve__content {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    display: block;
    height: auto;
    padding: 18px;
    color: #fff;
  }

  .who-we-serve__content .num-bg,
  .who-we-serve__content .arr,
  .who-we-serve__content + .arr,
  .who-we-serve__content .cta-arrow,
  .who-we-serve__desktop-title {
    display: none;
  }

  .who-we-serve__mobile-title {
    display: block;
    margin: 0 0 6px;
    color: #fff;
    font-family: 'Epilogue', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
  }

  .who-we-serve__card--featured .who-we-serve__mobile-title {
    font-size: 23px;
  }

  .who-we-serve__number,
  .ind-row .who-we-serve__number {
    display: block;
    margin: 0 0 6px;
    color: var(--brand-light);
    font-family: 'Epilogue', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .who-we-serve__description,
  .ind-row .who-we-serve__description,
  .ind-featured .who-we-serve__description {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    line-height: 1.45;
  }

  .who-we-serve__description p,
  .ind-featured .who-we-serve__description p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  .who-we-serve__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px var(--mobile-page-padding) 0;
    color: var(--ink-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .who-we-serve__hint svg {
    width: 18px;
    height: 18px;
    color: var(--brand-light);
  }

  .who-we-serve__card:focus-visible {
    outline: 3px solid var(--brand-light);
    outline-offset: -4px;
  }

  .feature-list .fitem {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .bullet-rows,
  .chal-list,
  .faq-list {
    gap: 8px;
  }

  .chal-row,
  .bullet-rows li {
    min-width: 0;
    padding-block: 12px;
  }

  .num-cell,
  .stat,
  .spec-row .sp,
  .tech-cell,
  .cred-band .cred,
  .logo-wall .lw {
    min-width: 0;
    min-height: 0;
    padding: 18px 14px;
  }

  .stats-grid .num,
  .stat .num,
  .num-cell .big {
    font-size: clamp(30px, 9vw, 38px);
  }

  .solutions-page .noc-stat-cell .num {
    min-width: 0;
    font-size: clamp(22px, 7vw, 28px);
    overflow-wrap: anywhere;
  }

  /* Compact two-column data grids used by NOC, at-a-glance, and diagrams. */
  .solutions-page .noc-stats-list,
  .solutions-page .glance-table,
  .solutions-page .fo-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solutions-page .noc-stats-list {
    margin-top: 20px;
  }

  .solutions-page .noc-stat-cell {
    padding: 14px 0;
  }

  .solutions-page .noc-stat-cell:nth-child(odd) {
    padding-right: 14px;
    border-right: 1px solid var(--line);
  }

  .solutions-page .noc-stat-cell:nth-child(even) {
    padding-left: 14px;
  }

  .solutions-page .noc-stat-cell .num {
    font-size: 26px;
  }

  .solutions-page .noc-stat-cell .lbl {
    font-size: 12px;
  }

  .solutions-page .gt-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .solutions-page .gt-row:nth-child(odd) {
    padding-right: 14px;
    border-right: 1px solid var(--line);
  }

  .solutions-page .gt-row:nth-child(even) {
    padding-left: 14px;
  }

  .solutions-page .gt-row .v {
    font-size: 14px;
  }

  /* Shared image-card sections become a compact native swipe rail on mobile. */
  .solutions-page .block-with-images-grid .tcards {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: 100%;
    padding: 2px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .solutions-page .block-with-images-grid .tcards::-webkit-scrollbar {
    display: none;
  }

  .solutions-page .block-with-images-grid .tcards > .tcard,
  .solutions-page .block-with-images-grid .tcards > .tcard.tall {
    flex: 0 0 min(86vw, 360px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .solutions-page .block-with-image-cards .ind-cards {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 2px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .solutions-page .block-with-image-cards .ind-cards::-webkit-scrollbar {
    display: none;
  }

  .solutions-page .block-with-image-cards .ind-cards > .ind-card {
    flex: 0 0 min(84%, 360px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .solutions-page .block-with-image-cards .ind-cards > .ind-card.reveal {
    opacity: 1;
    transform: none;
  }

  .solutions-page .fo-meta .item:nth-child(odd) {
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .solutions-page .fo-meta .item:nth-child(even) {
    padding-left: 14px;
  }

  .solutions-page .fo-meta .v {
    font-size: 19px;
  }

  .solutions-page .faq-q,
  .solutions-page .faq-a-inner,
  .solutions-page .article p,
  .solutions-page .article a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .case-study .cs-img,
  .loc-figure,
  .why-figure,
  .noc-figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .why-figure.why-figure--contain,
  .noc-figure.noc-figure--contain {
    aspect-ratio: 1;
  }

  .solutions-page .noc-figure.noc-figure--editorial,
  .page-node-type-solutions .noc-grid .noc-figure {
    max-height: none;
    aspect-ratio: auto;
  }

  .solutions-page .why-figure.why-figure--contain img,
  .solutions-page .noc-figure.noc-figure--contain img {
    object-fit: contain;
  }

  .post-card .pimg,
  .kit .kimg {
    aspect-ratio: 16 / 10;
  }

  /* Solution-page swipe rails from the approved mobile all-pages reference. */
  section.article {
    padding: 48px 0;
  }
  
  .solutions-page .article .card-grid,
  .solutions-page .article .card-grid.cols-2,
  .solutions-page .article .card-grid.cols-3,
  .solutions-page .article .card-grid.cols-4,
  .solutions-page .article .steps {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    width: 100%;
    padding: 2px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .solutions-page .article .card-grid::-webkit-scrollbar,
  .solutions-page .article .steps::-webkit-scrollbar {
    display: none;
  }

  /* Integration/logo rails remain contained while supporting touch swiping. */
  .solutions-page .partner-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .solutions-page .partner-marquee .track {
    width: max-content;
    animation: none;
  }

  .solutions-page .article .card-grid > *,
  .solutions-page .article .steps > * {
    flex: 0 0 min(82%, 320px);
    width: auto;
    max-width: 320px;
    min-width: 0;
    min-height: 0;
    scroll-snap-align: start;
  }

  .solutions-page .article .card-grid:focus-visible,
  .solutions-page .article .steps:focus-visible {
    outline: 3px solid var(--brand-light);
    outline-offset: 3px;
  }

  .solutions-page .article--card-grid-dark .card-grid {
    gap: 12px;
    margin-top: 24px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .solutions-page .article--card-grid-dark .scard {
    min-height: 168px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
  }

  .solutions-page .credentials-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }

  .solutions-page .credential-row,
  .solutions-page .credential-row:nth-child(even) {
    padding: 18px 0;
    border-right: 0;
  }

  .solutions-page .credential-summary {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }

  .solutions-page .credential-partner {
    width: 108px;
    height: 40px;
  }

  .solutions-page .credential-partner img {
    max-width: 102px;
    max-height: 34px;
  }

  .solutions-page .feature-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 32px;
  }

  .solutions-page .feature-block.flip .fb-media {
    order: 0;
  }

  .solutions-page .feature-block .fb-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .solutions-page .feature-block .fb-media.fb-media--landscape {
    aspect-ratio: 16 / 9;
  }

  .solutions-page .feature-block .fb-media.fb-media--square {
    aspect-ratio: 1;
  }

  .solutions-page .feature-block .fb-media.fb-media--wide img,
  .solutions-page .feature-block .fb-media.fb-media--contain img {
    object-fit: contain;
  }

  .solutions-page .partner-band-cta,
  .solutions-page .cta-inner .btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .solutions-page .partner-band--portrait {
    padding: 20px 20px 0;
    gap: 18px;
    background: linear-gradient(160deg, var(--bg-2) 0 54%, #dcecf8 100%);
  }

  .solutions-page .partner-band__portrait {
    min-height: 320px;
  }

  .solutions-page .partner-band__portrait img {
    width: min(100%, 300px);
    max-height: 350px;
  }

  .solutions-page .partner-band__credential {
    right: 0;
    bottom: 16px;
    font-size: 16px;
  }

  .solutions-page .partner-band--artwork {
    padding: 20px;
    overflow: visible;
  }

  .solutions-page .partner-band--artwork .partner-band__portrait {
    min-height: 0;
    padding: 16px;
  }

  .solutions-page .partner-band--artwork .partner-band__portrait img {
    width: min(100%, 270px);
    max-height: 270px;
    object-position: center;
  }

  .solutions-page .partner-band--artwork .partner-band__credential {
    position: static;
    margin-top: 10px;
  }

  .solutions-page .partner-band-cta .btn,
  .solutions-page .cta-inner .btns .btn {
    width: 100%;
    min-height: 44px;
  }

  .solutions-page .video-section {
    padding-bottom: var(--mobile-section-space);
  }

  .solutions-page .video-shell,
  .solutions-page .fo-stage {
    max-width: 100%;
  }

  .solutions-page .fo-stage {
    padding: 20px;
  }

  .solutions-page .fo-canvas {
    height: 240px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .solutions-page .fo-canvas::-webkit-scrollbar {
    display: none;
  }

  .solutions-page .fo-canvas svg {
    width: 760px;
    min-width: 760px;
  }

  .solutions-page .architecture-diagram__viewport img {
    width: 760px;
    max-width: none;
  }

  .solutions-page .architecture-diagram__hint {
    display: block;
    margin-top: 10px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-align: right;
  }

  /* Rails and carousels */
  .front-page .stories-grid,
  .front-page .insights-grid {
    display: flex;
    gap: var(--mobile-card-gap);
    /* margin-inline: calc(var(--mobile-page-padding) * -1); */
    padding: 0 var(--mobile-page-padding) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .front-page .stories-grid::-webkit-scrollbar,
  .front-page .insights-grid::-webkit-scrollbar {
    display: none;
  }

  .front-page .stories-grid > *,
  .front-page .insights-grid > * {
    flex: 0 0 min(82vw, 310px);
    min-width: 0;
    scroll-snap-align: start;
  }

  /* Homepage testimonials: native swipe rail from the approved mobile reference. */
  .testi-section {
    overflow: hidden;
  }

  .testi-section .testi-wrap {
    display: block;
    width: 100%;
    padding-inline: 0;
  }

  .testi-rail {
    display: contents;
  }

  .testi-section .testi-head-l {
    padding-inline: var(--mobile-page-padding);
  }

  .testi-section .testi-head-l .eyebrow {
    display: block;
    margin-bottom: 14px;
  }

  .testi-section .testi-head-l .eyebrow::before {
    content: none;
  }

  .testi-rail__track {
    display: flex;
    gap: 14px;
    width: 100%;
    padding: 16px var(--mobile-page-padding) 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--mobile-page-padding);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .testi-rail__track::-webkit-scrollbar {
    display: none;
  }

  .testi-rail__track:focus-visible {
    outline: 3px solid #f4b400;
    outline-offset: -3px;
  }

  .testi-rail__track .testi-card {
    flex: 0 0 calc(100vw - 90px);
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-left: 3px solid #f4b400;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    overflow-wrap: anywhere;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    transform: none;
  }

  .testi-rail__track .testi-card:hover {
    transform: none;
  }

  .testi-card--featured .qmark {
    display: none;
  }

  .testi-card--featured blockquote {
    margin: 0 0 18px;
    padding: 0;
    font-size: 16.5px;
    line-height: 1.3;
  }

  .testi-card--featured .testi-attrib {
    gap: 12px;
    padding: 0;
  }

  .testi-card--featured .testi-attrib .portrait {
    width: 46px;
    height: 46px;
  }

  .testi-card--featured .testi-attrib .who {
    font-size: 14px;
  }

  .testi-card--featured .testi-attrib .where {
    font-size: 11px;
  }

  .testi-rail__track .testi-mini .stars {
    margin-bottom: 10px;
  }

  .testi-rail__track .testi-mini h4 {
    margin-bottom: 8px;
    font-size: 16.5px;
    line-height: 1.3;
  }

  .testi-rail__track .testi-mini p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  /* Solutions and accordion tabs */
  .sols-section {
    padding-block: 0;
  }

  .sols-section > .wrap {
    width: 100%;
  }

  .sols-header {
    display: none;
  }

  /* The homepage keeps its CMS-driven solutions intro above the existing
     mobile accordion and its approved service icons. */
  .front-page .sols-section .sols-header {
    display: block;
    margin: 0;
    padding-block: 32px 24px;
    text-align: left;
  }

  .front-page .sols-section .sols-header .eyebrow {
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .front-page .sols-section .sols-header h2 {
    margin: 0;
    color: var(--brand-deep);
    font-family: 'Epilogue', sans-serif;
    font-size: clamp(27px, 7.7vw, 31px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
  }

  .front-page .sols-section .sols-header h2 em {
    color: var(--brand);
    font-style: italic;
    font-weight: 800;
  }

  .sols-tabs {
    display: none;
  }

  .sols-accordion {
    display: block;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .sols-accordion__item {
    border-bottom: 1px solid var(--line);
  }

  .sols-accordion__toggle {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 76px;
    padding: 14px 0;
    border: 0;
    background: #fff;
    color: var(--ink);
    text-align: left;
  }

  .sols-accordion__toggle:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand) 45%, white);
    outline-offset: 2px;
  }

  .sols-accordion__label {
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .sols-accordion__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--brand-tint);
    color: var(--brand-dark);
  }

  .stats-head {
    text-align: left;
  }

  .stats-section::before {
    background: transparent;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    position: relative;
    background: rgba(255, 255, 255, .12);
    border-radius: 14px;
    overflow: hidden;
  }

  .stat{
    background: var(--brand-deep);
    padding: 20px 18px;
    border-left: 0;
    border-right: 0;
  }

  .logo-chip{
    height: 56px;
    min-width: auto;
  }
  .logo-chip .partner-logo-image{
    width: 144px;
    max-width: 100%;
    height: 46px;
    max-height: 100%;
    object-fit: contain;
  }

  .logos-section .marquee {
    background: transparent;
  }

  .story {
    width: 280px;
  }

  .story h4, .story.lg .story-body h4 {
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    font-size: 16.5px;
    line-height: 1.25;
    letter-spacing: -.01em;
    margin-bottom: 8px;
    color: var(--brand);
  }
  .story p {
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.5;
    font-style: italic;
    flex: 1;
    margin-bottom: 10px;
  }

  .story.lg .story-img {
    aspect-ratio: 16 / 10;
  }

  .sols-accordion__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sols-accordion__icon .media,
  .sols-accordion__icon .field,
  .sols-accordion__icon .field__item {
    display: contents;
  }

  .sols-accordion__icon img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .sols-accordion__chevron {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform 320ms cubic-bezier(.4, 0, .2, 1), border-color 180ms ease;
  }

  .sols-accordion__item.is-open .sols-accordion__toggle {
    color: var(--brand-dark);
  }

  .sols-accordion__item.is-open .sols-accordion__chevron {
    border-color: var(--brand);
    transform: rotate(225deg);
  }

  .sols-accordion .sols-panel {
    padding: 16px 0 22px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition:
      height 320ms cubic-bezier(.4, 0, .2, 1),
      opacity 180ms ease,
      visibility 0s linear 320ms;
  }

  .sols-accordion__item.is-open .sols-panel {
    visibility: visible;
    opacity: 1;
    transition:
      height 320ms cubic-bezier(.4, 0, .2, 1),
      opacity 220ms ease 60ms,
      visibility 0s linear 0s;
  }

  .sols-accordion .sols-panel > .wrap {
    width: 100%;
  }

  .sols-accordion .sol-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .sols-accordion .sol-panel__visual {
    order: 1;
    width: 100%;
    /* aspect-ratio: 16 / 9; */
    margin: 0 0 16px;
    border-radius: 14px;
  }

  .sols-accordion .sol-visual-overlay {
    inset: auto 12px 12px;
    padding: 10px 14px;
    border-radius: 10px;
  }

  .sols-accordion .sol-visual-overlay .k {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .sols-accordion .sol-visual-overlay .v {
    margin-bottom: 0;
    font-size: 19px;
    line-height: 1.05;
  }

  .sols-accordion .sol-visual-overlay .d {
    display: none;
  }

  .sols-accordion .sol-copy {
    display: flex;
    flex-direction: column;
    order: 2;
    min-width: 0;
  }

  .sols-accordion .sol-copy__eyebrow,
  .sols-accordion .sol-copy__heading {
    display: none;
  }

  .sols-accordion .sol-description {
    order: 1;
    margin: 0 0 16px;
  }

  .sols-accordion .sol-description p {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-2);
  }

  .sols-accordion .sol-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 2;
    gap: 10px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .sols-accordion .sol-feature {
    display: block;
    min-width: 0;
    min-height: 104px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f4f7fa;
  }

  .sols-accordion .sol-feature .icon {
    display: none;
  }

  .sols-accordion .sol-feature h4 {
    margin: 0 0 3px;
    font-size: 13px;
    line-height: 1.25;
  }

  .sols-accordion .sol-feature p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.4;
  }

  .sols-accordion .sol-copy__cta {
    order: 3;
    width: 100%;
    min-height: 50px;
    margin: 16px 0 0;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 15px;
    text-align: center;
  }

  .faq-q {
    min-height: 52px;
    padding-block: 14px;
    font-size: 15px;
  }

  .faq-a-inner {
    padding: 0 0 18px;
  }

  /* Forms */
  .contact-form,
  .webform-submission-form,
  .views-exposed-form,
  .site-search-form,
  .user-login-form,
  .user-register-form,
  .user-pass {
    min-width: 0;
  }

  .contact-form .form-item,
  .webform-submission-form .form-item,
  .views-exposed-form .form-item {
    margin-bottom: 16px;
  }

  .views-exposed-form .resources-hub-filter-options.form-item {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .contact-form input:not([type='checkbox']):not([type='radio']),
  .contact-form select,
  .contact-form textarea,
  .webform-submission-form input:not([type='checkbox']):not([type='radio']),
  .webform-submission-form select,
  .webform-submission-form textarea,
  .views-exposed-form input:not([type='checkbox']):not([type='radio']),
  .views-exposed-form select,
  .site-search-form input,
  .user-login-form input:not([type='checkbox']),
  .user-register-form input:not([type='checkbox']),
  .user-pass input {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  .contact-form .form-actions,
  .webform-submission-form .form-actions,
  .views-exposed-form .form-actions {
    margin-top: 18px;
  }

  .contact-form .form-actions .button,
  .webform-submission-form .form-actions .button,
  .site-search-form .form-submit,
  .user-login-form .button,
  .user-register-form .button,
  .user-pass .button {
    width: 100%;
    min-height: 44px;
  }

  .captcha,
  .g-recaptcha,
  .h-captcha,
  .webform-element-help,
  .form-managed-file {
    max-width: 100%;
  }

  /* Articles and resources */
  .art-hero {
    padding-block: 28px 24px;
  }

  .art-hero h1 {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.08;
  }

  .art-hero .cat-pill {
    margin-bottom: 14px;
  }

  .art-meta {
    gap: 10px;
    margin-top: 18px;
  }

  .art-meta .av {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .art-cover {
    aspect-ratio: 16 / 10;
    margin-bottom: 24px;
  }

  section.article.article-detail {
    padding-block: 32px 48px;
  }

  .art-layout {
    gap: 24px;
  }

  .art-body p,
  .art-body li {
    font-size: 16px;
    line-height: 1.65;
  }

  .art-body h2 {
    margin-top: 32px;
    font-size: 24px;
    scroll-margin-top: 76px;
  }

  .art-body h3 {
    margin-top: 24px;
    scroll-margin-top: 76px;
  }

  .art-body blockquote {
    margin-block: 24px;
    padding-left: 18px;
    font-size: 18px;
  }

  .art-body p.article-inline-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-block: 24px 32px;
  }

  .art-body .article-inline-media > img,
  .art-body .article-inline-media--right > img {
    grid-row: 1;
    grid-column: 1;
    width: min(100%, 220px);
  }

  .art-body .article-inline-media--right > .article-inline-media__content {
    grid-row: 2;
    grid-column: 1;
  }

  .art-body img.align-left,
  .art-body img.align-right {
    float: none;
    width: auto;
    max-width: min(100%, 343px);
    margin: 20px 0 24px;
  }

  .art-body .article-table-scroll {
    margin-block: 24px;
  }

  .art-body table {
    min-width: 620px;
    font-size: 13px;
  }

  .art-body th,
  .art-body td,
  .glance-table th,
  .glance-table td {
    padding: 10px 12px;
  }

  .article-toc-card {
    padding: 18px;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-bar .chip {
    min-height: 40px;
    padding: 9px 13px;
  }

  .doc-row {
    gap: 12px;
    padding-block: 16px;
  }

  .doc-row .dt {
    min-width: 0;
  }

  .doc-row .dt h3,
  .doc-row .dl {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  /* Utility pages */
  .search-page__hero,
  .search-page__results,
  .auth-shell,
  .account-page {
    padding-block: var(--mobile-section-space-compact);
  }

  .search-page__header h1,
  .auth-shell h1,
  .account-hero h1,
  .person-profile__name {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.08;
  }

  .search-result-card,
  .account-profile-card,
  .account-actions-card,
  .account-submissions-card,
  .account-edit-card {
    border-radius: 12px;
  }

  .legal-page__hero .legal-page__title {
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .legal-page__lead {
    margin: 18px 0 6px;
  }

  .legal-page__article {
    padding-top: var(--mobile-section-space-compact);
  }

  /* CTA */
  .cta-section {
    padding-block: 44px;
  }

  .cta-inner {
    max-width: none;
  }

  .cta-inner .btns,
  .article.dark .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .cta-inner .btn,
  .article.dark .hero-ctas .btn {
    width: 100%;
  }

  /* Footer */
  .site-footer,
  footer.foot {
    padding-block: 36px 24px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 0;
  }

  .foot-brand {
    padding-bottom: 18px;
  }

  .foot-logo img {
    height: 34px;
  }

  .foot-col {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .foot-col h5 {
    margin: 0;
  }

  .footer-accordion__desktop-label {
    display: none;
  }

  .footer-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 16px 2px;
    font-family: 'Epilogue', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
  }

  .footer-accordion__chevron {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 2px solid rgba(255, 255, 255, 0.55);
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
    transform: rotate(45deg);
    transition: transform 180ms ease;
  }

  .footer-accordion__trigger[aria-expanded='true'] .footer-accordion__chevron {
    transform: rotate(225deg);
  }

  .footer-accordion__trigger:focus-visible {
    outline: 3px solid var(--brand-light);
    outline-offset: 2px;
  }

  .foot-col .footer-accordion__panel {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 260ms ease, visibility 0s linear 260ms;
  }

  .foot-col .footer-accordion__panel[data-footer-accordion-state='expanded'],
  .foot-col .footer-accordion__panel[data-footer-accordion-state='expanding'] {
    visibility: visible;
    transition: height 260ms ease;
  }

  .foot-col .footer-accordion__panel > .menu {
    padding: 0 2px 14px;
  }

  .foot-col .menu {
    gap: 0;
  }

  .foot-col .menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding-block: 9px;
  }

  .foot-bot {
    gap: 14px;
    padding-top: 20px;
    font-size: 11px;
  }

  .foot-bot .footer-bottom-links ul:not(.contextual-links) , #block-acuative-theme-footerbottom ul:not(.contextual-links) {
    gap: 10px 18px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  
  .footer-bottom-links {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .foot-bot .footer-bottom-links ul:not(.contextual-links) li {
    margin-left: 0;
  }


  .marquee {
      padding: 14px 0;
  }
  .marquee-track span {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .solutions-page .hero:not(.events-hero) h1 {
    font-size: clamp(36px, 10vw, 44px);
  }
}

@media (max-width: 360px) {
  :root {
    --mobile-page-padding: 18px;
  }

  .stats-grid,
  .numbers-grid,
  .spec-row,
  .tech-grid,
  .cred-band,
  .logo-wall,
  .office-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .solutions-page .hero-stats,
  .solutions-page .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-accordion__chevron,
  .sols-accordion__chevron {
    transition: none;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .foot-col .footer-accordion__panel,
  .sols-accordion .sols-panel {
    transition: none;
  }
}

/* Not-found helpful links: the CMS wrapper <p> owns the wrapping layout. */
@media (max-width: 768px) {
  .technology-partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .technology-partner-logos figure {
    min-height: 104px;
    padding: 18px;
  }

  .technology-partner-logos img {
    max-width: 145px;
    height: 58px;
  }

  .technology-partner-logos figure:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body .nf .nf-links {
    display: block;
    width: 100%;
    margin-top: 24px;
  }

  body .nf .nf-links > p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    line-height: 1.2;
  }

  body .nf .nf-links a {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 10px 18px;
    font-size: 13px;
    line-height: 1.2;
    transform: none;
    white-space: nowrap;
  }

  #careers-inclusion .spread {
    margin-bottom: 22px;
  }

  #careers-inclusion .card-grid,
  #careers-inclusion .card-grid.cols-3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    overflow: visible;
    padding: 0;
  }

  #careers-inclusion .card-grid > .scard {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 27px 24px 24px;
  }

  #careers-inclusion .scard .k {
    margin-bottom: 12px;
  }

  #careers-inclusion .scard h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  #careers-inclusion .scard p,
  #careers-inclusion .scard ul {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .quote-block blockquote {
    font-size: 22px;
  }
}

/* Leadership is a normal responsive grid, including touch devices. */
@media (max-width: 979px) {
  #leadership .team-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    padding: 0;
  }
  #leadership .team-card { user-select: auto; -webkit-user-select: auto; }
  #leadership .team-card .ph { height: 220px; aspect-ratio: auto; }
  #leadership .team-card .ph img { object-position: center top; }
  #leadership .team-card h3 { font-size: 21px; }
  #leadership .team-carousel-progress { display: none; }
}
@media (max-width: 599px) {
  #leadership .team-grid { grid-template-columns: minmax(0, 1fr); }
  #leadership .team-card .ph { height: 240px; }
}

@media (max-width: 768px) {
  /* Let overlay copy determine card height instead of clipping long headings. */
  .tcard,
  .tcard.tall {
    display: flex;
    align-items: flex-end;
    min-height: 340px;
    aspect-ratio: auto;
  }
  .tcard .body {
    position: relative;
    inset: auto;
    margin: 24px;
  }
  .tcard::after {
    background: linear-gradient(180deg, rgba(0,37,71,.68), rgba(0,37,71,.78) 55%, rgba(0,37,71,.96));
  }
  .tcard .n { color: #a8daf7; opacity: 1; }
  #leadership .team-bio-toggle { margin-right: 16px; }
}
@media (max-width: 768px) {
  .solutions-page .hero.diagram-media[data-screen-label="Acu-boot™"] .hero-figure img { padding: 20px 20px 90px; }
}
