/*
 * Adaptive laptop scale layer.
 *
 * Rollback is intentionally simple: remove `laptop-scale-v1` from <html> or
 * remove this stylesheet link. Desktop >= 1600px and mobile/tablet < 1100px
 * remain on their established layout systems.
 */
@media (min-width: 1100px) and (max-width: 1599px) {
  html.laptop-scale-v1 {
    --laptop-inline-gutter: clamp(1.15rem, 2vw, 2rem);
    --laptop-section-space: clamp(2.5rem, 4vw, 4rem);
    --laptop-panel-padding: clamp(1.3rem, 2.15vw, 2.35rem);
    --laptop-card-padding: clamp(1rem, 1.55vw, 1.55rem);
    --laptop-layout-gap: clamp(0.8rem, 1.35vw, 1.35rem);
    --laptop-title-xl: clamp(2.85rem, 4.25vw, 4.3rem);
    --laptop-title-lg: clamp(2.2rem, 3.15vw, 3.25rem);
    --laptop-title-md: clamp(1.7rem, 2.35vw, 2.4rem);
    --laptop-body-size: clamp(0.92rem, calc(0.75rem + 0.25vw), 1rem);
    --laptop-control-height: 44px;
    --laptop-standard-hero-height: clamp(27rem, 34vw, 34rem);
    --laptop-split-height: clamp(24rem, 30vw, 30rem);
    --laptop-split-panel-width: min(48%, 43rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] {
    overflow-x: clip;
  }

  /* Shared navigation, controls, cards, and page furniture. */
  html.laptop-scale-v1 body[data-viewport="desktop"] .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(0.4rem, 0.7vw, 0.75rem);
    min-height: clamp(5.4rem, 6.6vw, 6.4rem);
    padding-inline: clamp(0.75rem, 1.2vw, 1.25rem);
    padding-left: clamp(5rem, 9.1vw, 9.1rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .brand-logo {
    width: clamp(4.5rem, 5.6vw, 6rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .site-nav {
    gap: clamp(0.85rem, 1.5vw, 1.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .site-nav-combo {
    gap: clamp(0.12rem, 0.16vw, 0.2rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .site-nav-link {
    padding-inline: clamp(0.34rem, calc(0.16rem + 0.27vw), 0.6rem);
    font-size: clamp(0.72rem, calc(0.46rem + 0.38vw), 0.9rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .site-nav-trigger {
    width: clamp(0.9rem, 1.15vw, 1.25rem);
    min-height: 1.45rem;
    margin-left: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .site-nav-link.is-active::after,
    .site-nav-link:hover::after,
    .site-nav-item--dropdown:hover > .site-nav-combo .site-nav-link::after,
    .site-nav-item--dropdown.is-open > .site-nav-combo .site-nav-link::after
  ) {
    left: clamp(0.34rem, calc(0.16rem + 0.27vw), 0.6rem);
    right: clamp(0.34rem, calc(0.16rem + 0.27vw), 0.6rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .header-actions {
    min-width: 0;
    gap: clamp(1rem, 1.5vw, 1.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .header-phone {
    display: inline-flex;
    gap: clamp(0.3rem, 0.45vw, 0.45rem);
    font-size: clamp(0.69rem, calc(0.45rem + 0.3vw), 0.82rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .header-phone-icon {
    width: clamp(1.15rem, 1.4vw, 1.4rem);
    height: clamp(1.15rem, 1.4vw, 1.4rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .header-phone-icon svg {
    width: clamp(0.9rem, 1vw, 1rem);
    height: clamp(0.9rem, 1vw, 1rem);
  }

  /* Give only the header CTA a compact shared control height. */
  html.laptop-scale-v1 body[data-viewport="desktop"] .header-cta {
    --laptop-control-height: 36px;
    min-width: clamp(6.75rem, 7.7vw, 7.75rem);
    min-height: 36px;
    gap: clamp(0.35rem, 0.5vw, 0.55rem);
    padding: 0.45rem clamp(0.45rem, 0.6vw, 0.6rem);
    font-size: clamp(0.69rem, calc(0.45rem + 0.3vw), 0.82rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .site-subnav {
    min-width: min(20rem, 78vw);
    padding: 0.62rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .site-subnav a {
    min-height: var(--laptop-control-height);
    padding: 0.68rem 0.78rem;
    font-size: 0.88rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .button,
    button,
    input:not([type="checkbox"]):not([type="radio"]),
    select
  ) {
    min-height: var(--laptop-control-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .hero-card,
    .info-card,
    .quote-card,
    .contact-card,
    .timeline-item,
    .service-card,
    .stat-panel,
    .form-shell
  ) {
    padding: var(--laptop-card-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .hero-copy h1,
    .section-heading h2,
    .cta-band h2,
    .footer-cta h2
  ) {
    font-size: var(--laptop-title-lg);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .hero-copy p,
    .section-heading p,
    .info-card p,
    .service-card p,
    .cta-band p
  ) {
    font-size: var(--laptop-body-size);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .card-grid,
    .stats-grid,
    .news-grid,
    .contact-grid,
    .service-grid,
    .sector-grid,
    .split-layout,
    .split-layout-compact
  ) {
    gap: var(--laptop-layout-gap) !important;
  }

  /* Shared split-page templates and specialist feature pages. */
  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-page--dropdown-standardized {
    --dropdown-standardized-hero-height: var(--laptop-standard-hero-height);
    --dropdown-standardized-section-height: var(--laptop-split-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-page--service-detail {
    --service-detail-hero-height: var(--laptop-standard-hero-height);
    --service-detail-section-height: var(--laptop-split-height);
    --service-detail-inline-start: clamp(3rem, 7vw, 7.5rem);
    --service-detail-inline-end: clamp(3rem, 7vw, 7.5rem);
    --service-detail-panel-margin: clamp(0.9rem, 1.5vw, 1.35rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-panel {
    gap: var(--laptop-layout-gap);
    width: var(--laptop-split-panel-width);
    margin: clamp(0.75rem, 1.5vw, 1.2rem);
    padding: var(--laptop-panel-padding);
  }

  /* Keep recurring image/text sections at the same composition, just shorter. */
  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-section:not(.split-template-section--hero)
    .split-template-band {
    min-height: var(--laptop-split-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-section.split-template-section--hero
    .split-template-band,
  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-section.dropdown-standardized-hero
    .split-template-band {
    min-height: var(--laptop-standard-hero-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .split-template-band,
    .dropdown-template-media,
    .why-join-hero-card,
    .why-join-highlights-shell,
    .why-join-story-shell
  ) {
    overflow: hidden;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .split-template-band > .container,
    .split-template-band-content
  ) {
    min-height: inherit;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .dropdown-template-media img,
    .split-template-mobile-media img,
    .why-join-hero-visual img,
    .why-join-highlights-visual img,
    .why-join-story-visual img
  ) {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--dropdown-standardized
    :is(.dropdown-standardized-highlights, .dropdown-standardized-overview)
    :is(.split-template-band, .split-template-band-content, .split-template-panel) {
    min-height: var(--laptop-split-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--dropdown-standardized
    .dropdown-standardized-hero
    :is(.split-template-band, .split-template-panel) {
    min-height: var(--laptop-standard-hero-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--dropdown-standardized
    :is(.dropdown-standardized-highlights, .dropdown-standardized-overview)
    .split-template-panel {
    width: var(--laptop-split-panel-width);
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-panel h1 {
    max-width: 12ch;
    font-size: var(--laptop-title-xl);
    white-space: normal;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-panel h2 {
    font-size: var(--laptop-title-lg);
    white-space: normal;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-panel :is(
    p,
    .split-template-lead
  ) {
    font-size: var(--laptop-body-size);
    line-height: 1.58;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .split-template-list,
    .split-template-card-grid,
    .split-template-stat-grid,
    .split-template-news-grid
  ) {
    gap: var(--laptop-layout-gap);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .split-template-list-item,
    .split-template-card,
    .split-template-news-card,
    .split-template-stat
  ) {
    padding: var(--laptop-card-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section.service-detail-overview
    .split-template-band {
    min-height: clamp(32rem, 38vw, 38rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section.service-detail-overview
    .split-template-panel {
    gap: clamp(0.7rem, 0.9vw, 0.95rem);
    width: var(--laptop-split-panel-width);
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    :is(.service-detail-hero, .service-detail-proof)
    .split-template-panel {
    width: var(--laptop-split-panel-width);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .service-detail-hero
    :is(.split-template-band, .split-template-panel) {
    min-height: var(--laptop-standard-hero-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .service-detail-proof:not(.split-template-section--layout-featured-proof)
    .split-template-band {
    min-height: var(--laptop-split-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section--layout-featured-proof
    .split-template-band {
    min-height: clamp(32rem, 39vw, 39rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section.service-detail-proof.split-template-section--layout-featured-proof
    .split-template-panel {
    width: calc(100% - var(--service-detail-inline-start) - var(--service-detail-inline-end));
    max-width: none;
    margin: 0 var(--service-detail-inline-end) 0 var(--service-detail-inline-start);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section--layout-featured-proof
    .split-template-card-grid--featured-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section--layout-featured-proof
    .split-template-card--featured-proof {
    min-width: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section.service-detail-overview
    .split-template-panel
    > h2 {
    font-size: clamp(1.85rem, 2.35vw, 2.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .service-detail-overview
    .split-template-list--service-cards {
    grid-template-rows: repeat(3, minmax(6rem, 1fr));
    gap: 0.68rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .service-detail-overview
    .split-template-list--service-cards
    .split-template-list-item {
    grid-template-columns: 3.45rem minmax(0, 1fr);
    gap: 0.9rem;
    min-height: 6rem;
    padding: 0.78rem 0.9rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .service-detail-overview
    .split-template-list--service-cards
    .split-template-list-icon {
    width: 3.45rem;
    height: 3.45rem;
  }

  /* High-specificity split-page variants use the same laptop proportions. */
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="innovations"]
    .split-template-section.dropdown-standardized-hero
    :is(.split-template-band, .split-template-panel),
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="company-values"]
    .split-template-section.company-values-hero
    :is(.split-template-band, .split-template-panel) {
    min-height: var(--laptop-standard-hero-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="innovations"]
    :is(.innovations-highlights, .innovations-overview)
    :is(.split-template-band, .split-template-band-content),
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="company-values"]
    :is(.company-values-highlights, .company-values-overview)
    :is(.split-template-band, .split-template-band-content) {
    min-height: var(--laptop-split-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="innovations"]
    :is(.innovations-highlights, .innovations-overview)
    .split-template-panel,
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="company-values"]
    :is(.company-values-highlights, .company-values-overview)
    .split-template-panel {
    width: var(--laptop-split-panel-width);
    min-height: 0;
    margin: clamp(0.8rem, 1.5vw, 1.2rem);
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="company-values"]
    .company-values-highlights
    .split-template-panel
    :is(h1, h2),
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="company-values"]
    .company-values-overview
    .split-template-panel
    :is(h1, h2) {
    font-size: var(--laptop-title-lg);
    white-space: normal;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="why-join-us"]
    :is(.why-join-hero-card, .why-join-hero-copy) {
    min-height: var(--laptop-standard-hero-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="why-join-us"]
    :is(.why-join-highlights-shell, .why-join-highlights-copy) {
    min-height: clamp(27rem, 34vw, 34rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="why-join-us"]
    .why-join-story-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: var(--laptop-split-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="why-join-us"]
    .why-join-story-copy {
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="why-join-us"]
    :is(.why-join-cta-band, .why-join-cta-shell) {
    min-height: clamp(29rem, 36vw, 36rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="why-join-us"]
    .why-join-cta-shell {
    padding: var(--laptop-panel-padding);
  }

  /* Full-width application forms are not 50/50 media sections. */
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="vacancies"]
    .split-template-page
    .vacancies-application-section
    .split-template-band,
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"]
    .split-template-page
    .contact-application-section
    .split-template-band {
    min-height: 0;
    padding: clamp(1.5rem, 2.5vw, 2.5rem) var(--laptop-inline-gutter);
    overflow: visible;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="vacancies"]
    .vacancies-application-section
    :is(.split-template-band > .container, .split-template-band-content),
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"]
    .contact-application-section
    :is(.split-template-band > .container, .split-template-band-content) {
    min-height: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="vacancies"]
    .split-template-page
    .vacancies-application-section
    .split-template-panel,
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"]
    .split-template-page
    .contact-application-section
    .split-template-panel {
    width: min(100%, 94rem);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .vacancies-application-shell,
    .contact-application-shell
  ) {
    grid-template-columns: minmax(17rem, 0.65fr) minmax(0, 1.55fr);
    gap: clamp(1.1rem, 2vw, 2rem);
    width: 100%;
    min-width: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .vacancies-application-shell,
    .contact-application-shell
  ) .vacancies-application-intro {
    padding: 0 clamp(1rem, 2vw, 1.75rem) clamp(1.75rem, 3vw, 3rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .vacancies-application-shell,
    .contact-application-shell
  ) .vacancies-application-intro h2 {
    font-size: clamp(2rem, 3.2vw, 3.15rem) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .vacancies-application-shell,
    .contact-application-shell
  ) .vacancies-application-form {
    min-width: 0;
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .vacancies-application-shell,
    .contact-application-shell
  ) :is(.vacancies-form-grid, .vacancies-additional-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.4vw, 1.25rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .vacancies-application-shell,
    .contact-application-shell
  ) .vacancies-form-group {
    padding-block: clamp(1.25rem, 2vw, 1.8rem);
  }

  /* Contact, forms, news, and legal templates. */
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"] .contact-page-shell {
    gap: clamp(1.2rem, 1.8vw, 1.75rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"] :is(
    .contact-page-copy,
    .contact-side-panel,
    .contact-method-card,
    .contact-form-panel
  ) {
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"] :is(
    .contact-page-copy h2,
    .contact-form-header h2
  ) {
    font-size: var(--laptop-title-lg);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="contact-us"]
    .contact-form
    .field
    textarea {
    min-height: clamp(8rem, 13vw, 11rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="latest-news"] :is(
    .latest-news-hero-section,
    .latest-news-feed-section
  ) {
    padding-block: var(--laptop-section-space);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="latest-news"] .latest-news-hero-copy {
    gap: var(--laptop-layout-gap);
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="latest-news"] .latest-news-hero-copy h1 {
    font-size: var(--laptop-title-xl);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="latest-news"] .latest-news-hero-media {
    min-height: clamp(19rem, 32vw, 31rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="latest-news"] .latest-news-card-grid {
    gap: var(--laptop-layout-gap);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="latest-news"] .latest-news-card-body {
    gap: 0.8rem;
    padding: var(--laptop-card-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-hero {
    min-height: var(--laptop-standard-hero-height);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-hero-inner {
    gap: 0.8rem;
    padding: clamp(3.5rem, 5.5vw, 5.25rem) clamp(4.5rem, 7vw, 7rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-hero h1 {
    font-size: var(--laptop-title-xl);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-content-section {
    padding: var(--laptop-section-space) var(--laptop-inline-gutter);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-content-shell {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 54rem);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-summary {
    top: calc(var(--site-header-height) + 1.25rem);
    gap: 0.9rem;
    padding: var(--laptop-card-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-section {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--laptop-layout-gap);
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .legal-section h2 {
    font-size: var(--laptop-title-md);
  }

  /* Advanced and simple homepage share the same proportion system. */
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-card,
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-media {
    min-height: clamp(32rem, 42vw, 39rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-card {
    grid-template-columns: minmax(0, 0.94fr) minmax(31rem, 1.06fr);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-copy {
    gap: clamp(0.75rem, 1.2vw, 1.1rem);
    padding:
      clamp(3rem, 5vw, 4.6rem)
      var(--laptop-panel-padding)
      clamp(1.3rem, 2vw, 1.8rem)
      calc(var(--brand-guide-offset) + clamp(2rem, 3vw, 3.5rem));
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-copy h1 {
    font-size: clamp(3rem, 4.5vw, 4.1rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-copy p {
    font-size: var(--laptop-body-size);
    line-height: 1.58;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-panel {
    width: min(calc(100% + 4rem), 42rem);
    margin-right: -4rem;
    margin-left: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-proof-item {
    grid-template-columns: 2rem minmax(0, 1fr) !important;
    gap: 0.58rem !important;
    min-height: 62px !important;
    padding-inline: 0.65rem !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-proof-icon {
    width: 2rem !important;
    height: 2rem !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-proof-copy strong {
    font-size: clamp(1.45rem, 1.8vw, 1.8rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-proof-copy span {
    font-size: clamp(0.76rem, 0.72vw, 0.86rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-feature {
    right: clamp(2.5rem, 5vw, 6rem);
    width: min(calc(100% - 4rem), 27rem);
    min-height: clamp(16.25rem, 23vw, 20.25rem);
    padding: clamp(1.4rem, 2vw, 2rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-feature-content {
    min-height: calc(clamp(16.25rem, 23vw, 20.25rem) - clamp(2.8rem, 4vw, 4rem));
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-feature h2 {
    font-size: clamp(2.05rem, 2.8vw, 3rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-hero-feature
    .home-hero-feature-copy {
    margin-top: clamp(1rem, 1.5vw, 1.4rem);
    font-size: clamp(0.9rem, 0.85vw, 1rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-feature-counter {
    top: clamp(1.4rem, 2vw, 2rem);
    right: clamp(1.4rem, 2vw, 2rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-problem-copy,
    .home-problem-media
  ) {
    min-height: clamp(26rem, 32vw, 32rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-problem-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-problem-copy {
    gap: clamp(0.7rem, 1.1vw, 1rem);
    padding:
      clamp(1.75rem, 2.5vw, 2.25rem)
      var(--laptop-panel-padding)
      clamp(1.75rem, 2.5vw, 2.25rem)
      calc(var(--brand-guide-offset) + clamp(2rem, 3vw, 3.5rem));
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-problem-copy h2 {
    max-width: 7ch;
    font-size: clamp(2rem, 3vw, 3rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-problem-list li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.72rem;
    font-size: var(--laptop-body-size);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-problem-list-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-problem-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-problem-list,
    .home-problem-actions
  ) {
    gap: clamp(0.65rem, 1vw, 0.9rem);
  }

  /* Keep every client logo inside its carousel cell on narrower desktops. */
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid.home-proof-grid--marquee:not(.home-bridge-bar) {
    grid-template-columns: minmax(clamp(14rem, 20vw, 18rem), 1.1fr) minmax(0, 5fr) !important;
    padding: 0.85rem 0 0.85rem 1.25rem !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-label {
    max-width: 18rem;
    font-size: clamp(0.68rem, 0.68vw, 0.78rem);
    letter-spacing: 0.18em;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-marquee-group
    .home-proof-item {
    min-width: 0;
    min-height: 68px;
    height: 68px;
    padding: 0.35rem clamp(0.65rem, 1vw, 1rem) !important;
    overflow: hidden !important;
    contain: paint;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-marquee-group
    .home-proof-item::before {
    height: 3.75rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-logo-image {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--nando-s
    .home-proof-logo-image {
    transform: translateY(8px) scale(1.65) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--fieldfisher
    .home-proof-logo-image {
    transform: translateY(3px) scale(1.4) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--workspace
    .home-proof-logo-image {
    transform: translateY(-1px) scale(1.15) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--rendall-rittner
    .home-proof-logo-image {
    transform: scale(1) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--jasper-conran
    .home-proof-logo-image {
    transform: scale(1) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--old-square-chambers
    .home-proof-logo-image {
    transform: translateY(4px) scale(1.12) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-item--toynbee-hall
    .home-proof-logo-image {
    transform: scale(1) !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-process-layout {
    min-height: clamp(21.5rem, 28vw, 27.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-process-copy {
    --home-process-measure: clamp(25rem, 31vw, 30.5rem);
    width: min(48%, 42rem);
    max-width: 42rem;
    padding: var(--laptop-panel-padding) clamp(1.25rem, 2vw, 2rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-process-copy h2 {
    font-size: clamp(2.35rem, 3vw, 3rem);
    line-height: 1.24;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-process-lead,
    .home-process-detail
  ) {
    font-size: var(--laptop-body-size);
    line-height: 1.55;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-process-divider,
    .home-process-highlights,
    .home-process-link
  ) {
    margin-top: clamp(1rem, 1.5vw, 1.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-services-scroll-stage {
    height: calc(100svh - var(--site-header-height));
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-stage-intro {
    top: clamp(0.5rem, 1.2svh, 0.9rem);
    width: min(calc(100% - 8rem), 58rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-stage-intro h2 {
    font-size: clamp(1.95rem, 2.45vw, 2.85rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-stage-lead {
    margin-top: clamp(0.7rem, 1.4svh, 1.15rem);
    font-size: clamp(0.88rem, 0.8vw, 0.98rem);
    line-height: 1.48;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section--hide-highlights
    .home-services-pair-progress {
    margin-top: clamp(1.5rem, 3svh, 2.6rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-pair-progress {
    height: 2.75rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-services-panel {
    padding: clamp(0.75rem, 1.2vw, 1.2rem) var(--laptop-inline-gutter);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-services-grid {
    --home-service-pair-gap: clamp(0.75rem, 1.15vw, 1.1rem);
    --home-service-pair-centre: clamp(58%, calc(50% + 10svh), 70%);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-service-scroll-row {
    height: clamp(20rem, 55svh, 27rem);
    min-height: clamp(20rem, 55svh, 27rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-service-card {
    padding: var(--laptop-card-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-service-content {
    max-width: min(100%, 22rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-service-title-row {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0.7rem;
    margin-bottom: 0.68rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-service-card--two-line
    .home-service-title-row {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-service-icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-service-card h3 {
    font-size: clamp(1.305rem, 1.62vw, 1.71rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-service-copy {
    max-width: 21rem;
    font-size: clamp(0.86rem, 0.78vw, 0.95rem);
    line-height: 1.5;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-service-best-for {
    gap: 0.45rem;
    margin-top: clamp(0.7rem, 1.2vw, 1.05rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-service-best-list span {
    font-size: clamp(0.8rem, 0.7vw, 0.9rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-service-actions {
    gap: 0.7rem;
    margin-top: clamp(0.7rem, 1.2vw, 1.15rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-service-link {
    min-height: var(--laptop-control-height);
    font-size: clamp(0.88rem, 0.8vw, 0.98rem);
  }

  /* Footer and CTA proportions across every public route. */
  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .home-cta-band,
    .footer-cta,
    .dropdown-template-cta-band
  ) {
    gap: var(--laptop-layout-gap);
    padding: var(--laptop-panel-padding);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] :is(
    .home-cta-band h2,
    .dropdown-template-cta-band h2
  ) {
    font-size: var(--laptop-title-lg);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .footer-main {
    gap: var(--laptop-layout-gap);
    padding-block: clamp(0.9rem, 1.8vw, 1.35rem);
  }
}

/*
 * Keep the homepage client carousel inside the first viewport on laptop-height
 * screens. The hero keeps its established proportions until that would push
 * the carousel below the fold, then yields only the vertical space required.
 */
@media (min-width: 1100px) and (max-width: 1599px) and (max-height: 900px) {
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero {
    padding-block: clamp(0.4rem, 1svh, 0.65rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-hero-card,
    .home-hero-media
  ) {
    height: min(
      clamp(32rem, 42vw, 39rem),
      calc(100svh - var(--site-header-height) - 7.25rem)
    );
    min-height: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-copy {
    justify-content: center;
    gap: clamp(0.45rem, 1svh, 0.7rem);
    padding-top: clamp(1rem, 2.5svh, 1.5rem);
    padding-bottom: clamp(1rem, 2.5svh, 1.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-copy h1 {
    font-size: clamp(2.65rem, 3.8vw, 3.45rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-copy p {
    font-size: clamp(0.84rem, calc(0.72rem + 0.18vw), 0.94rem);
    line-height: 1.42;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero .hero-actions {
    margin-top: 0;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero .hero-actions .button {
    min-height: 40px;
    padding-block: 0.6rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-hero-proof-item {
    min-height: 54px !important;
    padding-block: 0.3rem !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-proof-grid.home-proof-grid--marquee:not(.home-bridge-bar) {
    padding-block: 0.5rem !important;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-proof-grid--marquee
    .home-proof-marquee-group
    .home-proof-item {
    min-height: 60px;
    height: 60px;
  }
}

/* Typical short laptops keep their full content and compact vertically. */
@media (min-width: 1100px) and (max-width: 1599px) and (min-height: 681px) and (max-height: 800px) {
  html.laptop-scale-v1 {
    --laptop-standard-hero-height: clamp(25rem, 65svh, 31rem);
    --laptop-split-height: clamp(22rem, 54svh, 27rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-problem-copy,
    .home-problem-media
  ) {
    min-height: clamp(24rem, 58svh, 28.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-process-layout {
    min-height: clamp(20.5rem, 52svh, 24.5rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"]
    .split-template-page--service-detail
    .split-template-section.service-detail-overview
    .split-template-band {
    min-height: clamp(29rem, 68svh, 34rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-stage-lead,
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-service-copy {
    display: block;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-stage-intro h2 {
    font-size: clamp(1.75rem, 2.15vw, 2.35rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-services-grid {
    --home-service-pair-centre: 63%;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-service-scroll-row {
    height: clamp(19rem, 52svh, 23rem);
    min-height: clamp(19rem, 52svh, 23rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-service-copy {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-page .home-service-best-for {
    margin-top: 0.62rem;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"] .split-template-panel {
    gap: 0.72rem;
    padding-block: clamp(1.15rem, 2svh, 1.6rem);
  }
}

/* Extremely short windows retain the established simplified content fallback. */
@media (min-width: 1100px) and (max-width: 1599px) and (max-height: 680px) {
  html.laptop-scale-v1 {
    --laptop-standard-hero-height: clamp(24rem, 68svh, 28rem);
    --laptop-split-height: clamp(21rem, 58svh, 24rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] :is(
    .home-problem-copy,
    .home-problem-media
  ) {
    min-height: clamp(23rem, 62svh, 26rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-process-layout {
    min-height: clamp(20rem, 55svh, 23rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-services-grid {
    --home-service-pair-centre: 56%;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-service-scroll-row {
    height: clamp(17rem, 50svh, 19rem);
    min-height: clamp(17rem, 50svh, 19rem);
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-services-stage-lead,
  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"]
    .home-services-scroll-section.is-scroll-ready
    .home-service-copy {
    display: none;
  }

  html.laptop-scale-v1 body[data-viewport="desktop"][data-route="home"] .home-service-best-for {
    margin-top: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1100px) and (max-width: 1599px) {
  html.laptop-scale-v1 {
    scroll-behavior: auto;
  }
}
