/* EMP opening study. One photographic stage and one clock for all three chapters. */
.emp-hero { position:relative; isolation:isolate; overflow:hidden; height:100svh; min-height:380px; margin-top:0; background:#15333e; color:white; }
.emp-hero .slide { position:absolute; inset:0; opacity:0; transition:opacity .24s ease-out; pointer-events:none; }
.emp-hero.at-top { touch-action:pinch-zoom; }
.emp-hero .slide.on { opacity:1; pointer-events:auto; }
.emp-hero .bg,.emp-hero .slide::after { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Neutral scrims only where words sit: the left text column, the header strip and the progress strip. */
.emp-hero .slide::after { content:""; background:linear-gradient(90deg,#000000b3 0%,#00000080 26%,transparent 54%),linear-gradient(to bottom,#00000099 0,transparent 16%,transparent 74%,#000000a6); pointer-events:none; }
.emp-hero .intro { position:absolute; z-index:3; left:5%; top:34%; max-width:83%; pointer-events:none; }
.emp-hero .intro :is(h1,h2) { margin:0; font-size:clamp(40px,4.8vw,82px); line-height:1.14; letter-spacing:-.055em; color:white; }
.emp-hero .intro p { font-size:clamp(17px,1.5vw,25px); font-weight:600; line-height:1.52; margin:1.05em 0 0; }
/* Field service and solution chapters share one split: the message on the left, one subject on the right. */
/* Every chapter is a full-bleed photograph with the sentence on the left, like the company chapter. */
.emp-hero :is(.operations-slide,.field-products)::after { z-index:0; background:linear-gradient(90deg,#000000b8 0%,#00000085 30%,#00000059 60%,#0000008c),linear-gradient(to bottom,#00000099 0,transparent 16%,transparent 74%,#000000a6); }
.emp-hero :is(.operations-slide,.field-products) .opening-split { z-index:1; }
.emp-hero .intro a { display:inline-flex; align-items:center; min-height:44px; margin-top:14px; color:white; font-weight:650; text-decoration:none; border-bottom:1px solid #fff9; pointer-events:auto; }
.emp-hero :is(.operations-slide,.field-products) :is(.intro,.split-copy) { text-shadow:0 1px 4px #101510d9; }
.opening-split { position:absolute; inset:calc(68px + clamp(20px,4svh,40px)) 5% clamp(100px,15svh,132px); display:grid; grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr); gap:clamp(28px,4.5vw,80px); align-items:center; }
.split-copy h2 { margin:0; font-size:clamp(34px,3.6vw,62px); line-height:1.18; letter-spacing:-.045em; color:white; word-break:keep-all; }
.split-copy p { max-width:24em; margin:18px 0 10px; font-size:clamp(16px,1.3vw,21px); line-height:1.6; color:#d6e2ea; word-break:keep-all; }
.split-copy a { display:inline-flex; align-items:center; min-height:44px; color:white; font-weight:650; text-decoration:none; border-bottom:1px solid #fff9; }
.split-copy a:is(:hover,:focus-visible) { border-bottom-color:white; }
.operations-model { position:relative; justify-self:end; height:100%; max-width:100%; aspect-ratio:1448/1086; margin:0; overflow:hidden; border-radius:12px; }
.operations-model img { display:block; width:100%; height:100%; object-fit:cover; }
.work-pin { position:absolute; left:var(--x); top:var(--y); display:flex; align-items:center; gap:8px; padding:5px 11px 5px 8px; border-radius:999px; background:#0b1823d9; color:white; font-size:clamp(13px,1vw,16px); font-weight:700; white-space:nowrap; transform:translate(-8px,-50%); }
.work-pin::before { content:""; width:8px; height:8px; border-radius:50%; background:#4ebbe9; box-shadow:0 0 0 3px #4ebbe955; }
/* Solution chapter: sentence, one representative product card, and the five work areas. The copy starts where the other chapters' titles start. */
.opening-split.showcase { inset:68px 5% clamp(100px,15svh,132px); grid-template-columns:minmax(300px,1.4fr) auto minmax(250px,.7fr); gap:clamp(24px,3vw,56px); align-items:start; }
.opening-split.showcase > .split-copy { margin-top:calc(34svh - 68px); }
.opening-split.showcase .split-copy h2 { font-size:clamp(36px,4.1vw,70px); line-height:1.16; letter-spacing:-.055em; white-space:nowrap; }
.opening-split.showcase > :is(.solution-showcase,.solution-areas) { align-self:center; }
.solution-showcase { position:relative; width:clamp(250px,24vw,360px); aspect-ratio:4/5; }
.solution-showcase figure { position:absolute; inset:0; margin:0; overflow:hidden; border-radius:18px; background:#142431; box-shadow:0 24px 60px #0009; opacity:0; transition:opacity .8s ease; }
.solution-showcase figure.on { opacity:1; }
.solution-showcase img { width:100%; height:100%; object-fit:cover; }
.solution-showcase figcaption { position:absolute; inset:auto 0 0; display:grid; gap:2px; padding:56px 20px 18px; background:linear-gradient(to top,#000000d9,#00000099 60%,transparent); color:white; }
.solution-showcase small { font-size:14px; font-weight:700; color:#ffd9a8; }
.solution-showcase strong { font-size:clamp(24px,2.1vw,32px); letter-spacing:-.04em; line-height:1.2; }
.solution-showcase span { font-size:15px; line-height:1.45; color:#e6ecf1; word-break:keep-all; }
.solution-areas { display:grid; gap:4px; padding:10px; border-radius:16px; background:#0b0f14bf; }
.solution-areas a { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; padding:8px 14px; border-radius:10px; color:white; text-decoration:none; transition:background .2s; }
.solution-areas a.on { background:#ffffff26; }
.solution-areas a.on i { opacity:1; }
.solution-areas strong,.solution-areas span { display:block; word-break:keep-all; }
.solution-areas strong { font-size:clamp(18px,1.6vw,26px); line-height:1.25; }
.solution-areas span { margin-top:3px; font-size:clamp(15px,1.1vw,17px); color:#e0e8ee; }
.solution-areas i { font-style:normal; font-size:20px; opacity:.75; }
.solution-areas a:is(:hover,:focus-visible) strong { text-decoration:underline; text-underline-offset:.22em; }
.solution-areas a:is(:hover,:focus-visible) i { opacity:1; }
.solution-areas a:focus-visible { outline:3px solid white; outline-offset:2px; }
.emp-hero .field-products { background:linear-gradient(120deg,#101a25,#1b3443); }
.emp-hero .field-products::after { display:none; }
.field-products .opening-split.showcase { grid-template-columns:minmax(235px,.9fr) minmax(0,1.35fr) minmax(215px,.8fr); gap:clamp(14px,2.4vw,38px); }
.field-products .solution-showcase { width:100%; max-height:100%; min-height:230px; aspect-ratio:1.18; }
.field-products .solution-showcase figure { display:grid; grid-template-rows:minmax(0,1fr) auto; }
.field-products .solution-media { position:relative; min-height:0; background:#142735; }
.field-products .solution-media:has(img[src$=".svg"]) { background:#eaf0f2; }
.field-products .solution-media img { display:block; object-fit:contain; }
.field-products .solution-media > span { position:absolute; right:8px; bottom:8px; padding:4px 7px; border-radius:4px; background:#102131; color:white; font-size:13px; }
.field-products .solution-showcase figcaption { position:static; padding:12px 16px 15px; background:#0d1822; }
.field-products .solution-areas { gap:2px; padding:8px; max-height:100%; overflow:auto; overscroll-behavior:contain; }
.field-products .solution-areas a { gap:8px; min-height:48px; padding:6px 12px; }
.field-products .solution-areas strong { font-size:clamp(16px,1.4vw,22px); }
.field-products .solution-areas span { margin-top:1px; font-size:clamp(13px,1.05vw,16px); }
.emp-hero .playback { position:absolute; inset:auto 5% 4%; z-index:2; display:grid; grid-template-columns:1fr 40px; gap:0 14px; align-items:center; }
@property --opening-progress { syntax:"<percentage>"; inherits:true; initial-value:0%; }
.playback input { appearance:none; width:100%; min-width:0; height:26px; margin:0; background:transparent; cursor:pointer; }
.playback input::-webkit-slider-runnable-track { height:3px; background:linear-gradient(to right,var(--played,white) var(--opening-progress),var(--remaining,#ffffff55) var(--opening-progress)); }
.playback input::-webkit-slider-thumb { appearance:none; width:1px; height:3px; background:transparent; }
.playback input::-moz-range-track { height:3px; background:var(--remaining,#ffffff55); }
.playback input::-moz-range-progress { height:3px; background:var(--played,white); }
.playback button { border:0; background:none; color:white; font:inherit; }
.playback .pause { grid-column:2; grid-row:1/3; min-height:44px; font-size:20px; }
.chapter-names { display:grid; grid-template-columns:repeat(3,1fr); }
.chapter-names button { text-align:left; padding:0 0 6px; min-height:28px; font-size:clamp(13px,1vw,18px); font-weight:600; }
.field-story { position:relative; background:#090c0e; color:white; }
.field-stop { scroll-snap-align:start; }
.record-fill { color:transparent; font-weight:inherit; text-shadow:none; background:linear-gradient(90deg,#ff6862 var(--record-fill,0%),white var(--record-fill,0%)); background-clip:text; -webkit-background-clip:text; }
.mast-utility,.mast .menu-inquiry,.opening-menu { display:none; }
.mast.over-opening,.mast.over-opening:not(.menu-open) {
  position:fixed; inset:0 0 auto; height:68px; min-height:68px; padding:0 clamp(16px,2.35vw,48px);
  gap:24px; background:transparent; border-bottom:1px solid #ffffff38; color:white;
  transition:transform .32s ease,opacity .25s;
}
.mast.over-opening.over-field-story { transform:translateY(-105%); opacity:0; pointer-events:none; }
.mast.over-opening .identity { margin-right:auto; color:white; gap:10px; font-size:22px; line-height:1; align-self:stretch; padding-bottom:5px; }
.mast.over-opening .identity img { width:52px; height:36px; filter:none; }
.mast.over-opening nav { position:absolute; inset:auto auto auto 50%; transform:translateX(-50%); display:flex; gap:clamp(18px,2.9vw,52px); margin:0; padding:0; background:transparent; border:0; font-size:clamp(14px,1.2vw,20px); }
.mast.over-opening nav a { padding:0; font-weight:750; }
.mast.over-opening .mast-utility { display:flex; gap:16px; font-size:14px; font-weight:650; white-space:nowrap; }
.mast.over-opening .contact-link,.mast.over-opening .search-link :is(span,svg),.mast.over-opening #menu span { display:none; }
.mast.over-opening .search-link { display:block; width:22px; height:22px; border:2px solid; border-radius:50%; position:relative; }
.mast.over-opening .search-link::after { content:""; position:absolute; width:9px; height:2px; background:white; bottom:-3px; right:-7px; transform:rotate(45deg); }
.mast.over-opening #menu { display:block; width:40px; height:40px; border:0; border-radius:0; background:radial-gradient(circle at 3.5px 3.5px,currentColor 3.5px,transparent 3.8px) left top/13px 13px; background-origin:content-box; background-clip:content-box; padding:10px; color:inherit; }
.mast.over-opening.menu-open .opening-menu { color:white; display:block; position:absolute; right:3vw; top:80%; padding:18px 24px; background:#182228; line-height:2; }
.opening-menu a { display:block; }
@media(max-width:1050px) { .mast.over-opening nav { gap:14px; } .mast.over-opening { gap:12px; } .mast.over-opening .mast-utility { gap:8px; } }
@media(max-width:900px) { .mast.over-opening nav { display:none; } }
@media(max-width:650px) {
  .emp-hero .intro { top:max(105px,16svh); max-width:90%; }
  .emp-hero .intro :is(h1,h2) { font-size:clamp(31px,8.8vw,48px); }
  .emp-hero .intro p { font-size:clamp(16px,4.2vw,21px); }


  .mast.over-opening { gap:10px; }
  .mast.over-opening .identity { gap:5px; font-size:16px; }
  .mast.over-opening .identity img { width:38px; }
  .mast.over-opening .mast-utility { gap:8px; font-size:12px; }
  .mast.over-opening .search-link { margin:0; }


}
@media(prefers-reduced-motion:reduce) {
 .emp-hero .slide,.mast.over-opening { transition:none; }
}


.mast-utility a { display:inline-flex; align-items:center; gap:5px; }
.mast-utility img { width:auto; height:20px; object-fit:contain; }
.company-slide .bg { object-position:80% center; }

.company-slide .intro,
.emp-hero:has(.company-slide.on) .playback { text-shadow:0 1px 4px #101510d9; }
.emp-hero:has(.company-slide.on) .playback button { text-shadow:inherit; }
.emp-hero:has(.company-slide.on) .playback input { filter:drop-shadow(0 1px 2px #0009); }

@media(max-width:650px) {
 .mast.over-opening { padding-inline:10px; gap:6px; }
 .mast-utility img { height:15px; }
 .emp-hero .intro p { max-width:24em; word-break:keep-all; }
}
@media(min-width:901px) and (max-width:1180px) { .mast.over-opening nav { display:none; } }
@media(max-width:650px) {
  .company-slide .bg { object-position:46% center; }


}
@media(max-width:650px) {
 .mast.over-opening,.mast.over-opening:not(.menu-open) { height:84px; min-height:84px; display:grid; grid-template-columns:1fr 26px 40px; grid-template-rows:40px 28px; align-content:center; column-gap:14px; row-gap:0; padding:4px 16px; background:linear-gradient(#09151dda,#09151d96); }
 .mast.over-opening .identity { grid-column:1; grid-row:1; align-self:center; padding:0; }
 .mast.over-opening .mast-utility { grid-column:1/-1; grid-row:2; justify-self:end; gap:18px; font-size:13px; }
 .mast.over-opening .mast-utility img { height:18px; }
 .mast.over-opening .search-link { grid-column:2; grid-row:1; }
 .mast.over-opening #menu { grid-column:3; grid-row:1; }

}

@media(max-width:760px) {
  .opening-split { inset:calc(var(--home-mast-height,84px) + 16px) 5% 96px; grid-template-columns:1fr; grid-template-rows:auto auto; align-content:center; gap:22px; align-items:start; }
  .split-copy h2 { font-size:clamp(28px,7.6vw,40px); }
  .split-copy p { margin:10px 0 2px; font-size:15px; }
  .operations-model { justify-self:stretch; width:100%; height:auto; align-self:start; border-radius:10px; }
  .work-pin { gap:5px; padding:3px 8px 3px 6px; font-size:12px; }
  .work-pin::before { width:6px; height:6px; }
  .opening-split.showcase { inset:calc(var(--home-mast-height,84px) + 16px) 5% 96px; grid-template-columns:1fr; align-content:center; }
  .opening-split.showcase > .split-copy { margin-top:0; }
  .opening-split.showcase .split-copy h2 { font-size:clamp(28px,7.6vw,40px); }
  .solution-showcase { display:none; }
  .solution-areas a { min-height:48px; padding-block:6px; }
  .solution-areas strong { font-size:17px; }
  .solution-areas span { font-size:13px; }
  .company-slide .intro p span { white-space:nowrap; }
  .emp-hero .company-slide::after { background:linear-gradient(to bottom,#0b1721c9 0%,#0b1721bf 29%,transparent 55%,transparent 74%,#0b1721c9); }
  .emp-hero .company-slide .intro { top:calc(var(--home-mast-height,84px) + clamp(12px,3svh,28px)); }
  .company-slide .intro p { max-width:19em; text-wrap:balance; }
  .emp-hero .intro { top:var(--home-mast-height,84px); padding-top:4px; }
  .field-products .opening-split.showcase { grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,auto); gap:12px; }
  .field-products .solution-areas { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .field-products .solution-areas a { min-height:52px; padding-inline:8px; }
  .field-products .solution-areas i { font-size:16px; }
}
@media (max-width:365px) and (max-height:650px) {
  .field-products .opening-split.showcase { bottom:78px; gap:8px; }
  .field-products .solution-areas a { min-height:45px; padding-block:4px; }
  .field-products .solution-areas span { line-height:1.25; }
  .field-products .solution-areas i { display:none; }
}
@media (max-width:760px) and (min-height:760px) {
  .field-products .opening-split.showcase { grid-template-rows:auto minmax(0,auto) minmax(0,auto); align-content:start; gap:10px; }
  .field-products .solution-showcase { display:block; min-height:0; height:clamp(186px,27svh,248px); }
  .field-products .solution-showcase figcaption { padding:7px 11px 9px; }
  .field-products .solution-showcase small { font-size:13px; }
  .field-products .solution-showcase span { font-size:14px; }
}
@media (min-width:761px) and (max-height:650px) {
  .field-products .opening-split.showcase { bottom:80px; }
  .field-products .solution-areas a { min-height:42px; padding-block:3px; }
}
@media (min-width:761px) and (max-height:490px) {
  .field-products .opening-split.showcase { grid-template-columns:minmax(0,1fr) minmax(0,1.55fr); }
  .field-products .solution-showcase { display:none; }
  .field-products .solution-areas { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* While the opening scrolls away the header gets its own backdrop so page text never shows through it. */
body:has(.opening:not(.at-top)) .mast.over-opening:not(.in-fields):not(.past-fields) { background:#0b1118; }

/* Hover or keyboard focus on a menu title opens its submenu, on every page. */
.mast.over-opening nav { align-self:stretch; align-items:stretch; top:0; bottom:0; }
.nav-item { position:relative; display:flex; align-items:center; }
.submenu { position:absolute; top:100%; left:50%; z-index:40; display:grid; min-width:180px; padding:10px; border-radius:12px; background:white; color:#101e30; box-shadow:0 14px 36px #0000003d; transform:translate(-50%,-6px); opacity:0; visibility:hidden; transition:opacity .16s ease,transform .16s ease,visibility 0s .16s; }
.nav-item:is(:hover,:focus-within):not(.chosen) .submenu { opacity:1; visibility:visible; transform:translate(-50%,0); transition-delay:0s; }
.mast.over-opening nav .submenu a { display:flex; align-items:center; min-height:40px; padding:0 14px; border-radius:8px; font-size:16px; font-weight:600; white-space:nowrap; color:#101e30; }
.mast.over-opening nav .submenu a:is(:hover,:focus-visible) { background:#eef3f8; color:#164fa0; }
/* Below the home the same header sits on a white bar in the page flow. */
.mast.over-opening.on-page,.mast.over-opening.on-page:not(.menu-open) { position:sticky; top:0; background:white; }
html:has(.mast.on-page) { --bar:68px; }
@media (max-width:650px) { html:has(.mast.on-page) { --bar:84px; } }
.mast.over-opening .nav-item > a[aria-current] { color:#ff5a5f; }
.mast.over-opening.past-fields:not(.over-panels) .nav-item > a[aria-current] { color:#e5383b; }
@media(prefers-reduced-motion:reduce) { .submenu,.solution-showcase figure,.solution-areas a { transition:none; } }
