/* Sections authored in the site dashboard use the existing site palette. */
.cms-section{background:#fff;color:var(--ink)}
.cms-section.cms-theme-soft{background:var(--paper)}
.cms-section.cms-theme-dark{background:var(--navy);color:#fff}
.cms-section h2{font-size:clamp(26px,3vw,40px);line-height:1.5;margin-block:12px 24px}
.cms-section h3{font-size:clamp(18px,1.7vw,24px);line-height:1.6}
.cms-section-heading{max-width:820px;margin-bottom:32px}
.cms-section .cms-prose{line-height:2;overflow-wrap:anywhere}
.cms-section .cms-prose p+p{margin-top:18px}
.cms-section .cms-prose+.button,.cms-section .cms-reading>.button{margin-top:25px}
.cms-reading{max-width:950px;margin-inline:auto}
.cms-theme-dark .eyebrow,.cms-theme-dark .cms-prose{color:#d5e4ea}
.cms-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(28px,5vw,75px)}
.cms-feature-photo{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:18px;background:var(--paper)}
.cms-feature-photo img{display:block;width:100%;height:100%;object-fit:cover}
.cms-grid{display:grid;grid-template-columns:repeat(var(--cms-columns,3),minmax(0,1fr));gap:24px}
.cms-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;color:var(--ink);border-radius:18px}
.cms-card-photo{aspect-ratio:16/10;overflow:hidden;background:var(--paper)}
.cms-card-photo img{width:100%;height:100%;object-fit:cover}
.cms-card-copy{padding:25px;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.cms-card-copy .text-link{margin-top:auto}
.cms-email-card{border:1px solid var(--line);border-block-start:3px solid var(--orange);box-shadow:0 10px 30px rgba(0,63,90,.05)}
.cms-email-card .cms-card-copy{padding:clamp(22px,2.3vw,34px);gap:22px;min-width:0}
.cms-email-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#fff0e9;color:var(--orange)}
.cms-email-icon svg{width:25px;height:25px}
.cms-email-card h3{color:var(--navy);font-size:clamp(18px,1.5vw,23px);line-height:1.7}
.cms-email-card .text-link{max-width:100%;min-height:44px;gap:10px;color:var(--navy);font-size:14px;overflow-wrap:anywhere;unicode-bidi:isolate}
.cms-email-card .text-link svg{width:18px;color:var(--orange)}
.cms-email-card .text-link:hover{color:var(--orange)}
.career-apply-action{margin-top:24px}
.career-dialog .form-grid{align-items:start}
.career-dialog input[type="file"]{width:100%;min-width:0;padding:10px;background:var(--paper);border:1px dashed var(--pale);border-radius:10px;font-size:13px;overflow:hidden}
.career-dialog input[type="file"]::file-selector-button{font:inherit;color:var(--navy);background:#fff0e9;border:0;border-radius:7px;padding:10px 12px;margin-inline-end:12px;cursor:pointer}
.career-field-help{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.9}
.career-dialog .quotation-modal-note bdi{color:var(--navy);font-weight:600}
.mail-form-status{white-space:pre-line;overflow-wrap:anywhere}
.mail-form-status[data-state="success"]{border:1px solid #badacb;border-inline-start:4px solid #26704e;background:#f0f8f3;color:#194c35;padding:18px;border-radius:10px;line-height:1.9;font-weight:500}
@media(max-width:600px){.career-apply-action{width:100%}.career-dialog .quotation-dialog-head h2{font-size:25px}.career-dialog .quotation-dialog-body{padding:20px}.career-dialog input[type="file"]{font-size:12px}.mail-form-status[data-state="success"]{padding:14px;font-size:13px}}
.cms-gallery-item{margin:0;background:#fff;color:var(--ink);overflow:hidden;border-radius:16px}
.cms-gallery-item>button{display:block;position:relative;width:100%;aspect-ratio:4/3;padding:0;background:var(--paper);border:0;overflow:hidden}
.cms-gallery-item img{display:block;width:100%;height:100%;object-fit:cover}
.cms-gallery-item figcaption{padding:16px 20px;line-height:1.7}
.cms-faq{display:grid;gap:15px;max-width:1000px}
.cms-faq-item{padding:22px 26px;border-radius:14px;background:#fff;color:var(--ink)}
.cms-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;font-weight:600;list-style:none}
.cms-faq-item summary svg{width:22px;height:22px;flex:none;color:var(--orange)}
.cms-faq-item[open] .cms-prose{padding-top:18px}
.cms-metric{padding:28px;text-align:center;border-radius:16px;background:#fff;color:var(--ink)}
.cms-metric strong{display:block;color:var(--orange);font-size:clamp(34px,4vw,56px);line-height:1.3;margin-bottom:12px}
.page-hero>.page-hero-image{object-position:var(--cms-page-focus-desktop,50% 50%)}
#main[data-cms-hero="false"]{padding-block-start:var(--header)}
html.cms-without-hero #site-header:not(.scrolled){background:var(--navy)!important}
#main .technology-card>.cms-technology-photo{width:100%;height:210px;object-fit:cover;border-radius:12px;margin-bottom:20px}
@media(max-width:900px){.cms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.page-hero>.page-hero-image{object-position:var(--cms-page-focus-mobile,50% 50%)}}
@media(max-width:600px){.cms-grid,.cms-split{grid-template-columns:minmax(0,1fr)}.cms-grid{gap:20px}.cms-card-copy{padding:22px}.cms-faq-item{padding:20px}.cms-section h2{font-size:28px}}

/* Mobile and desktop share the decoded, GPU-composited zoom lifecycle. */
@media(prefers-reduced-motion:no-preference){
 #main[data-page="/"]>.hero .hero-slide:is(.active,.is-leaving,.is-prepared) .hero-photo img{animation-duration:var(--cms-home-motion-duration,16s)}
}
@media(max-width:800px){
 html.cms-no-mobile-motion #main[data-page="/"]>.hero .hero-photo img{animation:none!important;transform:none!important;will-change:auto}
}
@media(min-width:801px){
 html.cms-no-desktop-motion #main[data-page="/"]>.hero .hero-photo img{animation:none!important;transform:none!important;will-change:auto}
}
