.automation-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:7vw;align-items:center;background:var(--deep);color:white;padding-top:140px;padding-bottom:64px;min-height:780px}
.automation-hero h1{font-size:clamp(42px,5.2vw,76px);line-height:1.05;max-width:780px;margin:20px 0 28px}
.automation-intro{font-size:17px;color:#b7c8d3;line-height:1.8;max-width:650px}
.automation-hero-note{display:flex;flex-direction:column;gap:6px;border-top:1px solid #344553;margin-top:44px;padding-top:20px;color:#9ab0bd;font-size:12px;letter-spacing:.06em}
.automation-hero-note span:first-child{color:#fff;font-size:14px}
.automation-hero-photo{margin:0;position:relative;max-width:480px;justify-self:end;width:100%;background:#16232b}
.automation-hero-photo img{width:100%;height:570px;object-fit:cover;object-position:center}
.automation-hero-photo figcaption{padding:14px 18px;font-size:12px;color:#c5d4dd}
.automation-jump{display:flex;justify-content:center;gap:4vw;flex-wrap:wrap;background:#fff;border-bottom:1px solid var(--line);padding:22px 5vw;font-size:14px;font-weight:600}
.automation-jump a:hover{color:var(--blue)}
.automation-section-intro{display:grid;grid-template-columns:1fr 1fr;gap:8vw;margin-bottom:42px}
.automation-section-intro h2,.automation-fmcs-intro h2{font-size:clamp(30px,3.5vw,48px);line-height:1.14;max-width:680px}
.automation-section-intro p:not(.eyebrow),.automation-fmcs-intro>p:not(.eyebrow){color:#566979;line-height:1.8;margin:0}
.automation-facts{display:flex;gap:40px;margin:28px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.automation-facts dt{font-size:clamp(25px,2.5vw,38px);font-weight:650;line-height:1.2;letter-spacing:-.03em}
.automation-facts dt small{font-size:18px}
.automation-facts dd{margin:8px 0 0;font-size:13px;color:#566979}
.factory-gallery{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.factory-gallery figure{margin:0}
.factory-gallery img{width:100%;height:auto;aspect-ratio:2.6;object-fit:cover}
.factory-gallery figcaption{font-size:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.automation-capabilities{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:48px}
.automation-capabilities article{border-top:2px solid var(--blue);padding-top:18px}
.automation-capabilities span{color:var(--blue);font-size:12px}
.automation-capabilities h3{font-size:21px;margin:14px 0 12px}
.automation-capabilities p{color:#566979;font-size:15px;line-height:1.75}
.automation-products{background:#fff}
.automation-products .section-head{max-width:760px}
.automation-products .section-head p:last-child{color:#566979;line-height:1.75}
.automation-product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:42px 24px}
.automation-product{grid-column:span 2;min-width:0}
.automation-product:nth-child(n+4){grid-column:span 3}
.panel-photo{display:block;position:relative;background:#e6ecef;overflow:hidden}
.panel-photo img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;transition:transform .3s}
.automation-product:nth-child(n+4) .panel-photo img{aspect-ratio:4/3}
.panel-photo:hover img{transform:scale(1.025)}
.photo-expand{position:absolute;bottom:12px;right:12px;background:#fff;color:var(--ink);width:32px;height:32px;display:grid;place-items:center}
.automation-product-caption{display:flex;gap:16px;padding-top:18px}
.automation-product-index{font-size:12px;color:var(--blue);padding-top:4px}
.automation-product h3{font-size:20px;line-height:1.3}
.automation-product p{font-size:14px;line-height:1.7;color:#566979;margin-bottom:0}
.reference-table-wrap{overflow-x:auto;border-top:2px solid var(--ink)}
.automation-reference-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;min-width:690px}
.automation-reference-table caption{text-align:left;padding:18px 0;font-size:13px;color:#566979}
.automation-reference-table td,.automation-reference-table th{padding:17px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.automation-reference-table thead{background:#e4ecf1}
.automation-reference-table thead th{font-weight:600;font-size:12px}
.automation-reference-table tbody th{font-weight:500;width:46%}
.automation-reference-table td:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.automation-reference-table tbody tr:hover{background:#fff}
.automation-reference-note{font-size:12px;color:#566979;margin-top:16px}
.automation-other-projects{margin-top:60px}
.automation-other-projects>h3{font-size:23px;margin-bottom:24px}
.automation-other-projects>div{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.automation-other-projects article{border-top:1px solid var(--line);padding-top:18px}
.automation-other-projects h4{font-size:17px;margin:0 0 12px}
.automation-other-projects p{font-size:14px;color:#566979;line-height:1.7}
.automation-fmcs-intro{background:#dfeaf0;padding-bottom:56px}
.automation-fmcs-intro>p:not(.eyebrow){max-width:870px;margin-top:24px}
.panel-lightbox{border:0;padding:52px 20px 16px;background:#101a22;color:white;max-width:95vw;max-height:95vh;width:900px;text-align:center}
.panel-lightbox::backdrop{background:#000c}
.panel-lightbox img{max-height:76vh;width:100%;object-fit:contain}
.panel-lightbox p{font-size:14px;margin:12px 0 0}
.panel-lightbox-close{position:absolute;right:10px;top:4px;width:44px;height:44px;background:transparent;color:#fff;border:0;font-size:34px;cursor:pointer}
body.photo-open{overflow:hidden}
a:focus-visible,button:focus-visible,.reference-table-wrap:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
@media(max-width:950px){.automation-hero{gap:36px;min-height:auto}.automation-hero-photo img{height:480px}.automation-section-intro{gap:36px}.automation-facts{gap:24px}.automation-hero .hero-actions{flex-direction:column;align-items:flex-start}}
@media(max-width:700px){.automation-hero{grid-template-columns:1fr;padding-top:112px;padding-bottom:36px}.automation-hero h1{font-size:44px}.automation-hero .hero-actions{flex-direction:row}.automation-hero-note{margin-top:26px}.automation-hero-photo{justify-self:start;max-width:100%}.automation-hero-photo img{height:430px;object-fit:contain;background:#16232b}.automation-jump{gap:12px 22px;font-size:12px;justify-content:flex-start}.automation-section-intro{grid-template-columns:1fr;gap:24px}.factory-gallery{gap:22px;grid-template-columns:1fr}.automation-capabilities,.automation-other-projects>div{grid-template-columns:1fr;gap:20px}.automation-product-grid{grid-template-columns:1fr;gap:34px}.automation-product,.automation-product:nth-child(n+4){grid-column:auto}.panel-photo img{max-height:520px}.automation-product:nth-child(n+4) .panel-photo img{aspect-ratio:auto;max-height:520px}.automation-facts{gap:34px}.automation-reference-table td,.automation-reference-table th{padding:14px 12px}.automation-fmcs-intro h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.panel-photo img{transition:none}}
.customer-section{background:#fff;border-bottom:1px solid var(--line);overflow:hidden;padding-top:54px;padding-bottom:48px}
.customer-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}
.customer-heading h2{font-size:clamp(26px,3vw,38px);line-height:1.2}
.customer-heading p:not(.eyebrow){font-size:14px;color:#566979;margin-bottom:0}
.customer-pause{border:1px solid var(--line);background:white;color:var(--steel);padding:10px 16px;cursor:pointer;font-size:12px;flex-shrink:0}
.customer-marquee{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)}
.customer-track{display:flex;width:max-content;animation:customer-scroll 65s linear infinite}
.customer-logo-group{display:flex;gap:32px;align-items:center;list-style:none;padding:0 32px 0 0;margin:0;flex-shrink:0}
.customer-logo{width:168px;height:92px;display:flex;align-items:center;justify-content:center;background:white}
.customer-logo img{width:148px;height:68px;object-fit:contain;mix-blend-mode:multiply}
.customer-section.is-paused .customer-track,.customer-section:hover .customer-track{animation-play-state:paused}
@keyframes customer-scroll{to{transform:translateX(-50%)}}
@media(max-width:700px){.customer-heading{align-items:flex-start;flex-direction:column;gap:18px}.customer-section{padding-top:36px;padding-bottom:30px}.customer-logo{width:132px;height:78px}.customer-logo img{width:118px;height:58px}.customer-logo-group{gap:22px;padding-right:22px}}
@media(prefers-reduced-motion:reduce){.customer-track{animation:none;width:100%}.customer-marquee{overflow:visible;mask-image:none}.customer-logo-group{width:100%;flex-wrap:wrap;justify-content:center;padding:0}.customer-logo-group[aria-hidden="true"]{display:none}.customer-pause{display:none}}
.business-segments{background:var(--paper)}
.business-segments-heading{max-width:780px;margin-bottom:44px}
.business-segments-heading h2{font-size:clamp(30px,3.5vw,48px);line-height:1.15}
.business-segments-heading p:not(.eyebrow){font-size:16px;color:#566979;line-height:1.8;margin-top:22px}
.business-segments-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 60px}
.business-segment{display:grid;grid-template-columns:34px minmax(0,1fr);gap:18px;border-top:1px solid #b7cbd8;padding-top:26px}
.business-segment-number{color:var(--blue);font-size:13px;font-weight:600;padding-top:6px}
.business-segment h3{font-size:25px;line-height:1.25}
.business-segment p{color:#566979;font-size:15px;line-height:1.8;margin:16px 0}
.business-segment ul{padding-left:18px;margin:18px 0 0;font-size:14px;line-height:1.7;color:var(--steel)}
.business-segment li{padding-left:3px;margin:6px 0}
.business-segment li::marker{color:var(--teal)}
.business-segments-contact{display:inline-flex;gap:24px;align-items:center;margin-top:38px;border-bottom:1px solid var(--blue);padding-bottom:8px;color:var(--blue);font-size:14px;font-weight:600}
@media(max-width:700px){.business-segments-grid{grid-template-columns:1fr;gap:30px}.business-segment{grid-template-columns:24px minmax(0,1fr);gap:12px}.business-segment h3{font-size:23px}.business-segments-heading{margin-bottom:30px}}
.business-segment-image{grid-column:1/-1;position:relative;display:block;background:#dfe6eb;overflow:hidden;margin-bottom:6px}
.business-segment-image img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;transition:transform .3s ease}
.business-segment-image:hover img{transform:scale(1.025)}
@media(prefers-reduced-motion:reduce){.business-segment-image img{transition:none}}

/* Keep the wide automation overview legible without cropping. */
.automation-hero-photo{max-width:620px}
.automation-hero-photo img{height:auto;aspect-ratio:auto;object-fit:contain}

.automation-hero-photo a{display:block;cursor:zoom-in}
.automation-hero-photo a:focus-visible{outline:3px solid #19b5bc;outline-offset:5px}

.automation-hero{grid-template-columns:minmax(0,1fr);gap:40px;min-height:auto}
.automation-hero-copy{max-width:1100px}
.automation-hero h1{max-width:1000px}
.automation-hero .automation-intro{max-width:900px}
.automation-hero-photo{max-width:1400px;justify-self:center}
.automation-hero-photo img{display:block;width:100%;height:auto;max-height:none}
@media(max-width:700px){.automation-hero{gap:28px}.automation-hero-photo{max-width:100%}.automation-hero-photo figcaption{padding:12px;font-size:12px}}

.project-experience{background:#f3f7f9}.project-case-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px 36px}.project-case{min-width:0}.project-case-image{display:block;background:white;cursor:zoom-in}.project-case-image img{display:block;width:100%;height:auto;aspect-ratio:2 / 1;object-fit:contain}.project-case-image span{display:block;padding:12px 16px;font-size:13px;border-bottom:1px solid var(--line)}.project-case h3{font-size:25px;margin:24px 0 14px}.project-case p,.project-case li{font-size:15px;line-height:1.8;color:#566979}.project-case ul{padding-left:20px}.high-tech-references{margin-top:64px}.high-tech-references h3{font-size:30px}.high-tech-references>p{color:#566979;line-height:1.8}.project-table-scroll{overflow-x:auto;margin:24px 0}.project-table-scroll table{width:100%;min-width:760px}.project-table-scroll:focus-visible{outline:2px solid var(--blue)}@media(max-width:700px){.project-case-grid{grid-template-columns:1fr;gap:36px}.project-case h3{font-size:23px}}
