/* Desktop composition, measured against the current 1920px homepage.
 * Loaded after legacy/page styles. No rules apply below 1366px or above 1920px.
 * Geometry may follow the viewport; reading text and controls have size floors.
 */
@media (min-width:1366px) and (max-width:1920px) {
  :root {
    --arts-desktop-unit:clamp(.7114583333px,.052083333333vw,1px);
    --arts-desktop-gap:clamp(21.34375px,1.5625vw,30px);
    --arts-header-height:clamp(76px,4.6875vw,90px);
  }

  /* Shared header: spend the available space on labels before gaps. */
  .site-header {height:var(--arts-header-height);display:flex;align-items:center;}
  .nav-wrap {height:calc(60 * var(--header-unit));}
  .header-right {width:auto;height:auto;gap:clamp(16px,calc(4.0433213vw - 39.23177px),38.4px);}
  .desktop-nav {gap:clamp(12px,calc(4.0722022vw - 43.62628px),34.56px);}
  .desktop-nav > :nth-child(n) {width:auto;}
  .desktop-nav > a,.desktop-nav .nav-dropdown > button,.desktop-nav .technology-trigger {
    font-size:14px;line-height:24px;letter-spacing:1.4px;
  }
  .header-cta {
    min-width:clamp(200px,11.770833333vw,226px);
    height:clamp(44px,2.708333333vw,52px);font-size:14px;line-height:24px;
    letter-spacing:1.4px;padding-inline:clamp(16px,1.25vw,24px);
  }
  .dropdown-menu {width:270px;}
  .dropdown-menu a {font-size:13px;line-height:20px;letter-spacing:.8px;}

  /* The reference gutter is 50/1920; remove the old 1440px gutter jump. */
  body.home {
    --container:min(1820px,calc(100% - 100 * var(--arts-desktop-unit)));
    --arts-body-font-size:clamp(16px,.9375vw,18px);
    --arts-body-line-height:clamp(26px,1.5625vw,30px);
    --arts-body-paragraph-space:clamp(16px,1.041666667vw,20px);
  }

  /* Headings and their text frames share the same unit to preserve line breaks. */
  .home .hero {height:auto;min-height:calc(890 * var(--arts-desktop-unit));}
  .home .hero-inner {
    min-height:calc(890 * var(--arts-desktop-unit));height:auto;
    padding-top:calc(74 * var(--arts-desktop-unit));
    padding-bottom:calc(184 * var(--arts-desktop-unit));
  }
  .home .hero-copy,.home .hero h1 {width:calc(873 * var(--arts-desktop-unit));max-width:100%;}
  .home .hero h1 {font-size:calc(75 * var(--arts-desktop-unit));line-height:calc(80 * var(--arts-desktop-unit));margin-bottom:calc(30 * var(--arts-desktop-unit));}
  .home .hero-lead {width:calc(840 * var(--arts-desktop-unit));}
  .home .hero-actions {width:clamp(520px,33.958333333vw,652px);max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,.78125vw,15px);}
  .home .hero-actions .btn {min-width:0;padding-inline:clamp(16px,1.25vw,24px);white-space:nowrap;}
  .home .hero .slider-controls {bottom:calc(80 * var(--arts-desktop-unit));}
  .home .hero > .scroll-cue {right:calc(80 * var(--arts-desktop-unit));bottom:calc(50 * var(--arts-desktop-unit));}
  .home .ticker-group {gap:calc(40 * var(--arts-desktop-unit));padding-right:calc(40 * var(--arts-desktop-unit));}

  .home .why {min-height:calc(912 * var(--arts-desktop-unit));padding-top:calc(100 * var(--arts-desktop-unit));}
  .home :is(.why-grid,.product-grid,.blog-grid) {gap:var(--arts-desktop-gap);grid-template-columns:repeat(3,minmax(0,1fr));}
  .home .why-grid {grid-template-rows:repeat(2,minmax(calc(325 * var(--arts-desktop-unit)),auto));}
  .home .why-grid .section-intro h2 {max-width:calc(587 * var(--arts-desktop-unit));font-size:calc(56 * var(--arts-desktop-unit));line-height:calc(60 * var(--arts-desktop-unit));}
  .home .feature-card {padding:calc(40 * var(--arts-desktop-unit));min-height:calc(325 * var(--arts-desktop-unit));}
  .home .feature-card .feature-icon {width:calc(80 * var(--arts-desktop-unit));height:calc(80 * var(--arts-desktop-unit));}
  .home .feature-card .feature-icon img {width:calc(48 * var(--arts-desktop-unit));height:calc(48 * var(--arts-desktop-unit));}
  .home .feature-card h3 {font-size:calc(32 * var(--arts-desktop-unit));line-height:1.25;margin-top:calc(30 * var(--arts-desktop-unit));}
  .home .why .center-action {margin-block:calc(40 * var(--arts-desktop-unit));}

  .home .industries {min-height:calc(1110 * var(--arts-desktop-unit));padding-top:calc(100 * var(--arts-desktop-unit));}
  .home .industries-grid::before {top:calc(51 * var(--arts-desktop-unit));}
  .home .industries-intro {max-width:calc(587 * var(--arts-desktop-unit));padding-right:0;}
  .home .industries .eyebrow {margin-bottom:calc(52 * var(--arts-desktop-unit));}
  .home .industries h2 {font-size:calc(56 * var(--arts-desktop-unit));line-height:calc(60 * var(--arts-desktop-unit));}
  .home .industry-list {margin-top:calc(52 * var(--arts-desktop-unit));min-height:calc(958 * var(--arts-desktop-unit));padding-bottom:calc(100 * var(--arts-desktop-unit));}
  .home .industry-row {
    height:auto;min-height:calc(143 * var(--arts-desktop-unit));
    padding:calc(29 * var(--arts-desktop-unit)) 0 calc(20 * var(--arts-desktop-unit)) calc(29 * var(--arts-desktop-unit));
    grid-template-columns:calc(43 * var(--arts-desktop-unit)) minmax(0,1fr) calc(330 * var(--arts-desktop-unit)) calc(62 * var(--arts-desktop-unit));column-gap:0;
  }
  .home .industry-row:last-child {padding-bottom:calc(19 * var(--arts-desktop-unit));}
  .home .industry-row strong {font-size:calc(40 * var(--arts-desktop-unit));line-height:1.25;white-space:nowrap;}
  .home .industry-row small {font-size:clamp(16px,.9375vw,18px);line-height:clamp(24px,1.5625vw,30px);}
  .home .industry-previews {width:100%;height:calc(103 * var(--arts-desktop-unit));gap:calc(20 * var(--arts-desktop-unit));margin-top:calc(-10 * var(--arts-desktop-unit));align-self:auto;}
  .home .industry-preview {flex:1 1 0;width:0;height:100%;aspect-ratio:155/103;}
  .home .industry-arrow {width:32px;height:32px;margin-top:calc(25 * var(--arts-desktop-unit));}
  .home .industries::before {left:calc(50% - 1000 * var(--arts-desktop-unit));top:calc(-112 * var(--arts-desktop-unit));width:calc(2000 * var(--arts-desktop-unit));height:calc(1335 * var(--arts-desktop-unit));}
  .home .industries::after {left:calc(-270 * var(--arts-desktop-unit));top:calc(506 * var(--arts-desktop-unit));width:calc(982 * var(--arts-desktop-unit));height:calc(604 * var(--arts-desktop-unit));}

  .home .products {padding:calc(88 * var(--arts-desktop-unit)) 0 calc(100 * var(--arts-desktop-unit));}
  .home .insights {padding-block:calc(100 * var(--arts-desktop-unit));}
  .home :is(.products,.insights) h2 {font-size:calc(56 * var(--arts-desktop-unit));line-height:1.07;}
  .home #products .homepage-partner-logo {height:calc(260 * var(--arts-desktop-unit));padding:calc(24 * var(--arts-desktop-unit));}
  .home #products .homepage-partner-logo img {max-width:min(100%,calc(320 * var(--arts-desktop-unit)));max-height:calc(130 * var(--arts-desktop-unit));}
  .home #products .homepage-partner-card {padding-inline:calc(30 * var(--arts-desktop-unit));padding-bottom:calc(30 * var(--arts-desktop-unit));}
  .home #products .homepage-partner-card > h3 {font-size:calc(32 * var(--arts-desktop-unit));line-height:1.25;}
  .home #about .home-about-content > .btn {font-size:16px;line-height:24px;min-height:52px;}
  .home :is(.about,.case) .eyebrow {font-size:14px;line-height:24px;}
  .home .case-panel dd {font-size:clamp(16px,.9375vw,18px);line-height:clamp(26px,1.5625vw,30px);}
  .home .case-panel dt {font-size:clamp(20px,1.25vw,24px);line-height:clamp(28px,1.666666667vw,32px);}
  .home .case-panel .btn {font-size:16px;line-height:24px;min-height:52px;}
  /* Avoid the image's intrinsic height enlarging the grid's content-sized row. */
  .home .case-head .case-arrows button {width:clamp(44px,2.708333333vw,52px);height:clamp(44px,2.708333333vw,52px);}
  .home .blog-card {min-height:calc(575 * var(--arts-desktop-unit));}
  .home .blog-card > div {left:calc(35 * var(--arts-desktop-unit));right:calc(35 * var(--arts-desktop-unit));width:calc(100% - 70 * var(--arts-desktop-unit));margin-bottom:calc(32 * var(--arts-desktop-unit));}
  .home .blog-card h3 {font-size:calc(32 * var(--arts-desktop-unit));line-height:1.25;}

  /* Shared CTA retains its two-column layout and side-by-side actions. */
  .contact {min-height:calc(628 * var(--arts-desktop-unit));}
  .contact-copy .eyebrow {font-size:14px;line-height:24px;letter-spacing:1.4px;}
  .contact .btn {font-size:14px;line-height:24px;letter-spacing:1.4px;height:auto;min-height:clamp(44px,2.708333333vw,52px);padding-inline:clamp(12px,1.25vw,24px);}
  .contact .light-btn {width:clamp(248px,13.802083333vw,265px);}
  .contact .outline {width:clamp(210px,11.770833333vw,226px);}

  /* Footer text is readable; its existing column and decorative ratios remain. */
  .footer-grid a {font-size:16px;line-height:24px;}
  .footer-grid > div:nth-child(2) :is(p,a),.footer-grid > div:nth-child(3) a {
    font-size:clamp(16px,.9375vw,18px);line-height:clamp(26px,1.5625vw,30px);
  }
  .footer-grid > div:nth-child(2) :is(p,a) {width:clamp(260px,15.260416667vw,293px);}
  .footer .copyright {font-size:clamp(16px,.9375vw,18px);line-height:clamp(26px,1.5625vw,30px);}
  .footer .copyright > span:first-child {width:clamp(554px,32.447916667vw,623px);}
  .footer-policies {width:clamp(280px,16.40625vw,315px);}
  .footer-credit {width:clamp(190px,11.09375vw,213px);}
}
