/* Desktop refinement: preserve the composition while reducing its visual scale. */
@media (min-width: 961px) {
  :root {
    --shell: min(1180px, calc(100vw - 64px));
    --shell-narrow: min(940px, calc(100vw - 64px));
    --header-h: 68px;
  }

  body.foundation-v8 main h1 {
    font-size: clamp(3rem, 4vw, 4.15rem) !important;
    line-height: 1.01;
  }

  body.foundation-v8 main > :is(
    .home-proof, .home-scenes, .home-capabilities, .home-performance,
    .home-acquisition, .home-capability-download, .home-company,
    .home-ecosystem, .home-careers,
    .about-thesis, .about-model, .about-evidence, .about-profile,
    .eh-agencies, .eh-tech, .eh-relationships, .eh-evidence,
    .ai-thesis, .ai-pipeline, .ai-evidence, .ai-tech,
    .dh-review, .dh-index2,
    .c09-statement, .c09-disciplines, .c09-openings, .c09-culture,
    .cloud-premise, .cloud-stack, .cloud-route, .cloud-dossier,
    .cloud-continuum, .ct09-form-zone, .ct09-paths, .ct09-location,
    .vh-gsa, .vh-route, .vh-review,
    .data-fragment, .data-layers, .data-evidence, .data-stack,
    .ds-thesis, .ds-loop, .ds-guardrails, .ds-cadence, .ds-next,
    .fh-pathways, .fh-identity, .fh-access, .fh-due, .fh-agencies,
    .nh-ledger, .nh-identity, .nh-credentials, .nh-engagement, .nh-cross,
    .pp8-intro, .pp8-matrix, .policy-body,
    .pm-thesis, .pm-control, .pm-system, .pm-disciplines, .pm-cross,
    .pm-next, .wf-transformation, .wf-canvas, .wf-system, .wf-dossier,
    .wf-next, .r09-brief, .r09-apply, .r09-related
  ) {
    padding-block: clamp(64px, 5.6vw, 84px);
  }

  body.foundation-v8 main > :is(
    .home-cta, .about-next, .eh-close, .ai-next, .dh-close, .c09-close,
    .cloud-next, .vh-close, .data-next, .ds-cta, .fh-close,
    .pp8-cta, .pm-cta
  ) { padding-block: clamp(54px, 4.4vw, 68px); }

  body.foundation-v8 main > :is(
    .home-hero, .about-hero, .cloud-hero, .data-hero, .ai-hero,
    .wf-hero, .ds-hero, .pm-hero, .fh-hero, .vh-hero, .eh-hero,
    .nh-hero, .pp8-hero, .c09-hero, .ct09-hero, .dh-hero, .policy-hero
  ) { min-height: 0; }

  .phase02-home .home-hero__shell { min-height: 590px; padding-block: 48px 104px; }
  .phase02-home .home-hero__rail-inner { min-height: 68px; }
  .phase02-home .home-hero__proofline { margin-top: 28px; gap: 22px; }
  .phase02-home .home-proof__grid { min-height: 420px; }
  .phase02-home .home-proof__major { padding-block: 40px; }
  .phase02-home .home-proof__major strong { font-size: clamp(5.4rem, 9vw, 9rem); }
  .phase02-home .home-scene:nth-child(1) { height: 440px; }
  .phase02-home .home-scene:nth-child(2) { height: 330px; margin-top: 52px; }
  .phase02-home .home-scene:nth-child(3) { height: 390px; margin-top: 18px; }
  .phase02-home .home-capabilities__stage,
  .phase02-home .home-cap-detail { min-height: 510px; }
  .phase02-home .home-performance__feature,
  .phase02-home .home-performance__visual { min-height: 475px; }

  .phase03-about .about-hero__shell { min-height: 610px; padding-block: 44px 70px; }
  .phase03-about .about-hero__portrait { min-height: 475px; }
  .phase03-about .about-model__body { min-height: 540px; }
  .phase03-about .about-evidence__metric { min-height: 420px; }
  .phase03-about .about-standard { min-height: 630px; }

  .phase04-cloud .cloud-hero__shell,
  .phase04-data .data-hero__shell { min-height: 620px; padding-block: 52px 78px; }
  .phase04-data .data-hero__shell { padding-block: 38px 48px; }
  .phase04-data .data-hero__visual { height: 500px; }
  .ai-hero, .ds-hero, .pm-hero, .wf-hero { padding-top: calc(var(--header-h) + 58px); padding-bottom: 52px; }
  .ds-controlplane { min-height: 390px; }
  .fh-hero, .vh-hero, .eh-hero, .nh-hero, .pp8-hero,
  .c09-hero, .dh-hero, .policy-hero { padding-top: calc(var(--header-h) + 58px); }
  .vh-hero__grid { padding-bottom: 44px; }
  .vh-routeboard { min-height: 300px; }
  .vh-routeboard__node { padding: 12px 16px; }
  .c09-hero__inner { min-height: 570px; padding-block: 38px 54px; }
  .pp8-hero { padding-bottom: 30px; }
  .pp8-hero__layout { min-height: 0; }
  .pp8-hero__visual { height: 490px; }
  .pp8-hero__ledger { margin-top: 22px; }
  .pp8-hero__ledger > div { min-height: 62px; padding-top: 14px; }
  .ct09-hero__grid { min-height: 530px; padding-block: 42px 54px; }
  .r09-hero__grid { padding-block: 48px 58px; }

  body.foundation-v8 main :is(.section-heading, .home-proof__header,
    .home-scenes__head, .home-capabilities__intro, .home-performance__head,
    .about-evidence__head, .about-profile__head) { margin-bottom: 40px; }
}

@media (min-width: 961px) and (max-width: 1180px) {
  :root { --shell: calc(100vw - 52px); --shell-narrow: calc(100vw - 88px); }
  body.foundation-v8 main h1 { font-size: clamp(2.7rem, 4vw, 3.45rem) !important; }
}

@media (min-width: 961px) and (max-width: 1050px) {
  .fh-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(365px, .82fr); gap: 34px; }
  .fh-command { max-width: none; }
  .pp8-hero__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .pp8-hero__visual { height: 450px; max-width: none; }
  .pp8-hero__ledger { grid-template-columns: repeat(4, 1fr); }
}
