/* 2026-10-28: the seven requested desktop refinements. Font families remain
   governed by typography/brand-typography.css. */
@media(min-width:1151px){
  /* Match the drawing-submission control, instead of the old data-number size. */
  .header .sg-dropdown-nav .sg-nav-trigger{font-size:15px!important;line-height:1.4!important}
  .header>.quote{font-size:12px!important;line-height:1.4!important}
  .header .sg-dropdown-nav{justify-content:center;gap:clamp(2px,.45vw,12px)!important}

  /* Continue the navy hero into the pale factory image without a hard seam. */
  #group-integration::before{height:clamp(105px,14vh,165px);background:linear-gradient(180deg,#123d70 0%,#54789d 24%,#b6c9da 56%,#edf3f7cc 80%,#ffffff00 100%)!important}
  #group-integration .fac-media::after{background:linear-gradient(180deg,#ffffff00,#ffffff38 30%,#ffffff00),linear-gradient(90deg,#ffffffed 0%,#ffffffc9 39%,#ffffff70 53%,#ffffffc9 70%,#fffffff0 100%)!important}
  #group-integration .fac-d,#group-integration .mt p{color:#203e57!important;opacity:1;text-shadow:0 1px 3px #fff}
  #group-integration .mt .n{color:#204f79}

  /* Enlarge the actual five photographs, keeping the existing wall choreography. */
  #sg-precision-story .sg-wall-featured{gap:1.4vw;padding-inline:3.4vw}
  #sg-precision-story.sg-wall-animated .sg-wall-motion-column .sg-wall-feature-image img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}

  /* Full process is visible from entry. Only the connecting lines animate. */
  #industries .sg26-wire-base{stroke:#9bb5cd}

  /* Desktop case chapter: heading, complete film, caption and three stills
     share the viewport below the 76px header; no cropping of video or images. */
  #project-cases.sg24-case-showcase{padding-block:16px 20px;scroll-margin-top:82px}
  #project-cases .sg24-case-heading{margin-bottom:10px;gap:24px}
  #project-cases .sg24-case-eyebrow{margin-bottom:5px;font-size:11px}
  #project-cases .sg24-case-heading h2{font-size:clamp(30px,3.7vh,42px);line-height:1.12}
  #project-cases .sg24-case-heading h2 br{display:none}
  #project-cases .sg24-case-heading h2>span+br+span{margin-left:.25em}
  #project-cases .sg24-case-tabs{margin-bottom:10px}
  #project-cases .sg24-case-tabs button{padding:8px 0 10px;font-size:14px}
  #project-cases .sg24-banner-video{height:var(--review-video-height,25vh);min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;background:#e8eff5!important}
  #project-cases .sg24-banner-bottom{padding:12px 24px;gap:28px}
  #project-cases .sg24-banner-copy{max-width:1100px}
  #project-cases .sg24-banner-copy h3{font-size:clamp(24px,2.8vh,32px);line-height:1.2;margin-bottom:5px}
  #project-cases .sg24-banner-summary{max-width:1100px;font-size:13px;line-height:1.6}
  #project-cases .sg24-banner-cta{margin-top:7px;padding-bottom:3px;font-size:12px;line-height:1.4}
  #project-cases .sg24-spec-value{font-size:clamp(28px,3.2vh,38px)}
  #project-cases .sg24-detail-heading{margin:10px 0 7px}
  #project-cases .sg24-detail-heading p{font-size:13px}
  #project-cases .sg24-case-photos a{height:var(--review-photo-height,12vh);min-height:0;max-height:none;aspect-ratio:auto;background:#eef3f8}
  #project-cases .sg24-case-photos img{height:100%;aspect-ratio:auto;object-fit:contain}
  #project-cases .sg24-case-photos figcaption{padding:6px 14px;font-size:11px;line-height:1.4}
  #project-cases .sg24-banner-code{left:16px;top:12px}
  #project-cases .sg24-video-toggle{right:16px;top:12px;min-height:36px;padding:7px 12px}

  /* Soft blue behind the four customer-logo rows, fading at both boundaries. */
  #clients{background:linear-gradient(180deg,#fff 0%,#edf5fc 18%,#d9eafa 52%,#e8f2fb 83%,#fff 100%)!important}
  #clients::before{background:linear-gradient(180deg,#fff,#edf5fc00)!important}
  #clients .crow__label{color:#325774}
  #clients .crow__label sup{color:#57758f}

  .n39-ticker{color:#456580;gap:24px}
  .n39-ticker>b{flex-shrink:0}
  .n39-ticker>.n39-ticker-window{display:block;min-width:0;flex:1;overflow:hidden}
  .n39-ticker-track{display:flex;width:max-content;will-change:transform}
  .n39-ticker-group{display:flex;flex-shrink:0;align-items:center;gap:40px;padding-right:40px}
  .n39-ticker time{color:#58748b}
  .n39-ticker a:focus-visible{outline:2px solid #235b8b;outline-offset:4px}
}
@media(prefers-reduced-motion:reduce){
  .n39-ticker>.n39-ticker-window{overflow-x:auto}
  .n39-ticker-track{will-change:auto}
  .n39-ticker-group[aria-hidden=true]{display:none}
}

/* Chinese opening titles: quieter scale and a distinct English accent. */
@media(min-width:1151px){
  html[lang^="zh"] #home .st-cap{width:min(76vw,1480px)}
  html[lang^="zh"] #home .st-cap .en{
    font-size:clamp(40px,4.2vw,104px);
    line-height:1.2;
    letter-spacing:.025em;
    text-wrap:balance;
  }
  html[lang^="zh"] #home .st-cap .zh{
    margin-top:clamp(22px,2.2vw,40px);
    font-size:clamp(13px,.95vw,19px);
    line-height:1.8;
    letter-spacing:.24em;
  }
  html body #sg-precision-story{
    background:radial-gradient(ellipse at 50% 48%,#d8e8f8 0%,#e8f1fa 36%,#f3f7fb 68%,#fff 100%)!important;
  }
  html[lang^="zh"] #sg-precision-story .sg-wall-title{
    top:49%;
    font-size:clamp(60px,6vw,120px);
    line-height:1.24;
    letter-spacing:.025em;
  }
  html body #sg-precision-story #sg-wall-title[data-sg-heading-mask]::after{
    top:-1.38em;
    height:1.2em;
    font-size:clamp(30px,3.4vw,68px);
    letter-spacing:.015em;
    color:#537eae;
    opacity:.58;
    -webkit-mask-image:linear-gradient(180deg,#000 12%,#000b 55%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 12%,#000b 55%,transparent 100%);
  }
  #sg-precision-story .sg-wall-bottom{
    background:linear-gradient(180deg,transparent,#edf4fbc9);
  }
}
