/* Preserve a sharp scene, with a blurred duplicate only at the perimeter. */
body #scenes .scene-photo{overflow:hidden}
html body #scenes .scene-main::after{content:"";position:absolute;inset:0 0 auto;height:110px;background:linear-gradient(to bottom,#fff 0%,rgb(255 255 255 / .85) 18%,rgb(255 255 255 / .35) 55%,transparent 100%);pointer-events:none;z-index:2}
body #scenes .scene-photo::after{content:"";position:absolute;inset:-18px;background-image:inherit;background-size:cover;background-position:inherit;filter:blur(14px);mask-image:radial-gradient(ellipse 66% 63% at 50% 50%,transparent 60%,#000 100%);pointer-events:none}
html body #platform .capability-metrics .metric{position:relative;isolation:isolate;overflow:hidden;justify-content:flex-end}
html body #platform .capability-metrics .metric>div{position:relative;z-index:1}
html body #platform .capability-metrics .metric::before{content:"";position:absolute;inset:0;z-index:0;opacity:0;background:conic-gradient(from 205deg at 100% 0%,transparent 0deg,#a9c8ff66 40deg,#b9f1ddbb 90deg,#d2c5ff77 140deg,transparent 205deg);mask-image:radial-gradient(ellipse at 100% 0%,#000 0%,transparent 78%);transition:opacity .5s}
html body #platform .capability-metrics .metric::after{content:"";position:absolute;inset:0;z-index:0;opacity:0;background:url('assets/metric-contours.svg') top right/220px;mask-image:radial-gradient(ellipse at 100% 0%,#000,transparent 75%);transition:opacity .5s}
html body #platform .capability-metrics .metric:hover::before,html body #platform .capability-metrics .metric:hover::after{opacity:1}
/* Keep the Hero downward link unfilled on hover. */
html body #home .circle-link:not(:disabled):hover,html body #home .circle-link:focus-visible{background:transparent!important;border-color:transparent!important;filter:none;box-shadow:none}
html body #home .circle-link::before,html body #home .circle-link::after{display:none!important}
/* Continuous logo motion, including pointer hover and keyboard focus. */
html body #cases .partner-logo-track,html body #cases .partner-marquee:hover .partner-logo-track,html body #cases .partner-marquee:focus-within .partner-logo-track{animation-play-state:running}
#home.hero::before{background-image:url('assets/fine-weave.svg');background-size:48px 48px;opacity:.75;mask-image:linear-gradient(#000 0%,#0009 16%,transparent 35%,transparent 70%,#0008 87%,#000 100%)}
/* Contact dialog: neutral primitives via semantic design tokens. */
html body #contact-dialog{color:var(--shejitoken-text-primary);background:var(--shejitoken-surface);border-color:var(--shejitoken-border);box-shadow:0 30px 100px rgb(var(--shejitoken-black-rgb) / .25)}
html body #contact-dialog::backdrop{background:var(--shejitoken-overlay)}
html body #contact-dialog :is(h2,h3){color:var(--shejitoken-text-primary)}
html body #contact-dialog :is(label,.dialog-description,#form-success p){color:var(--shejitoken-text-secondary)}
html body #contact-dialog :is(.form-note,.dialog-close){color:var(--shejitoken-text-tertiary)}
html body #contact-dialog :is(input,select,textarea){color:var(--shejitoken-text-primary);background:var(--shejitoken-surface-subtle);border-color:var(--shejitoken-border);border-radius:var(--shejitoken-radius);padding:var(--shejitoken-space-field);accent-color:var(--shejitoken-action)}
html body #contact-dialog :is(input,textarea)::placeholder{color:var(--shejitoken-text-tertiary);opacity:1}
html body #contact-dialog :is(input,select,textarea):focus-visible{outline:2px solid var(--shejitoken-text-secondary);outline-offset:2px}
html body #contact-dialog .button,html body #contact-dialog .button:not(:disabled):hover{background:var(--shejitoken-action)!important;color:var(--shejitoken-on-action)!important;border-color:transparent!important}
html body #contact-dialog .dialog-close:hover{color:var(--shejitoken-text-primary)}
html body #contact-dialog .success-icon{color:var(--shejitoken-text-primary);background:var(--shejitoken-surface-subtle)}
@media(max-width:767px){body #scenes .scene-photo::after{background-position:76% center;filter:blur(9px)}}
@media(prefers-reduced-motion:reduce){html body #cases .partner-logo-track{animation:none}.metric::before,.metric::after{transition:none}}
html body #cases .partner-logo-group{min-width:max-content;gap:72px;padding-inline:36px}
html body #cases .partner-logo-track{animation-duration:60s}
html body #cases .courier-logo img{max-width:210px;max-height:76px}
@media(max-width:767px){html body #cases .partner-logo-group{gap:36px;padding-inline:18px}html body #cases .partner-logo-track{animation-duration:48s}html body #cases .courier-logo img{max-width:170px;max-height:62px}}
body .scroll-story .shipper::before,.reference-scroll-enabled body .scroll-story .shipper::before{background-image:url('assets/capacity-studio-designed.webp')}
html body #contact-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid var(--shejitoken-text-secondary);outline-offset:3px}
html body #cases .courier-logo img:not([src$="courier-jd.png"]){filter:grayscale(1) invert(1);mix-blend-mode:screen}
html body #contact-dialog :is(button,input,select,textarea):focus-visible{outline-color:var(--shejitoken-text-secondary)!important}
html body #cases .courier-logo img{width:210px;height:76px;max-width:210px;max-height:none;object-fit:cover}
html body #cases .courier-logo img[src$="courier-jd.png"]{object-fit:contain}
@media(max-width:767px){html body #cases .courier-logo img{width:170px;height:62px;max-width:170px}}
html body #cases .courier-logo img:not([src$="courier-jd.png"]){filter:grayscale(1) contrast(3) invert(1)}
/* Narrow layouts retain the desktop cards' transparent, dashed treatment. */
html body #home .circle-link{aspect-ratio:1;flex:none;min-width:0;min-height:0;padding:0;box-sizing:border-box;height:auto}
html body #home .circle-link>img{display:block;aspect-ratio:1;height:auto}
html body #scenes .section-heading{text-align:center}
html body #scenes .section-heading>p{margin-inline:auto}
body #scenes .scene-photo{mask-image:linear-gradient(to bottom,transparent,#000 36px,#000 calc(100% - 24px),transparent)}
/* Fade downward from the white heading into a progressively sharper image. */
html body #scenes .scene-photo{mask-image:linear-gradient(to bottom,transparent 0%,#0005 24px,#000c 60px,#000 110px,#000 calc(100% - 24px),transparent 100%)}
html body #scenes .scene-photo::after{mask-image:linear-gradient(to bottom,#000 0px,#000d 28px,#0005 70px,transparent 125px);inset:-18px;filter:blur(16px)}
html{overscroll-behavior-y:none;background:#fff}
html body{overscroll-behavior-y:none;background:#fff}
html body footer,html body footer .footer-bottom,html body footer .footer-legal{background:#191f2a}
html body .owner-pin-card{animation:none}
html body .scroll-story .shipper::after{background:none}
html body .contact-scroll-enabled .contact-cta{height:100svh;min-height:0}
@media(max-width:1099px){
 html body #platform .capability-metrics .metric{background:transparent;border:1px dashed #0006}
 html body #platform .capability-metrics .metric strong{font-size:clamp(48px,6vw,64px);line-height:1.1}
}
