/* Norvex website v1.0 · WayQ · direction D (image-led): D1 hero, D3 service index, D2 slices, D4 standby */

@font-face{font-family:"Archivo";src:url("/fonts/Archivo.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2");font-weight:600 700;font-display:swap}

:root{
  --navy:#022258;--navy-900:#011638;--navy-950:#010E26;--navy-700:#1B3F7A;
  --red:#E40302;--red-dark:#C10201;--red-soft:#FF8A82;
  --ink:#141B2D;--steel:#48484A;--muted:#5E6570;--chrome:#C6CACF;--mist:#E4E7EB;--quiet:#9BA3AE;
  --ground:#F4F6F9;--line:#D7DCE3;--line-soft:#E3E7EC;--link:#044191;
  --pad:clamp(20px,5vw,80px);
  --display:"Archivo","Arial Narrow",Arial,sans-serif;
  --body:"Plex Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
  --wipe:cubic-bezier(.77,0,.18,1);
  --sweep:cubic-bezier(.25,.8,.25,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:var(--body);font-size:16px;line-height:1.6;color:var(--ink);background:#FFFFFF;-webkit-font-smoothing:antialiased}
img,svg{display:block}
img{max-width:100%;height:auto}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--link)}
a:hover{color:var(--red)}
:focus-visible{outline:2px solid var(--link);outline-offset:3px}
.on-dark :focus-visible,.plate:not(.plate--white) :focus-visible,.site-header:not(.is-solid) .nav :focus-visible{outline-color:#FFFFFF}
button{font:inherit;color:inherit}
[lang="ar"]{font-family:var(--body)}

.sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;background:#FFFFFF;color:var(--navy);font-family:var(--display);font-weight:600;border-radius:12px 3px;text-decoration:none}
.skip:focus{top:12px}

.wrap{max-width:1440px;margin:0 auto;padding-inline:var(--pad)}
.section{padding-block:clamp(72px,8vw,120px)}
.section--ground{background:var(--ground)}
.ico{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ico--fill{fill:currentColor;stroke:none}
/* photos fade in as they arrive instead of popping in; pre.js marks each one .is-loaded */
.fx{transition:opacity .7s var(--ease)}
.js .fx:not(.is-loaded){opacity:0}

/* ---------- type ---------- */
.kicker{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-family:var(--display);font-weight:600;font-size:12px;line-height:16px;letter-spacing:.22em;text-transform:uppercase;color:var(--red-dark)}
.kicker--steel{color:var(--steel)}
.kicker--light{color:var(--chrome)}
.kicker--soft{color:var(--red-soft)}
.slash{display:inline-block;flex:none;width:6px;height:13px;background:var(--red);transform:skewX(-30deg)}
.display{font-family:var(--display);font-weight:800;font-stretch:125%;letter-spacing:-.02em;line-height:1.02;text-wrap:balance}
.h1{font-size:clamp(38px,5.4vw,80px)}
.h1--md{font-size:clamp(32px,4vw,58px);line-height:1.04}
.h2{font-family:var(--display);font-weight:800;font-stretch:125%;font-size:clamp(30px,3.6vw,52px);line-height:1.08;letter-spacing:-.01em;color:var(--navy);text-wrap:balance}
.h3{font-family:var(--display);font-weight:700;font-size:20px;line-height:1.3;color:var(--navy)}
.titled{display:inline-flex;flex-direction:column;gap:14px;width:fit-content;max-width:100%}
.titled::after{content:"";display:block;height:4px;background:linear-gradient(90deg,rgba(228,3,2,0),var(--red));clip-path:polygon(0 65%,100% 0,100% 100%,0 100%)}
.lead{font-size:18px;line-height:1.62;color:var(--steel);max-width:32em;text-wrap:pretty}
.body{font-size:16px;line-height:1.65;color:var(--steel);text-wrap:pretty}
.on-dark{color:#FFFFFF}
.on-dark .h2,.on-dark .h3{color:#FFFFFF}
.on-dark .lead,.on-dark .body{color:var(--chrome)}

/* ---------- buttons & links ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border:0;border-radius:12px 3px;font-family:var(--display);font-weight:600;font-size:16px;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.btn--red{background:var(--red);color:#FFFFFF}
.btn--red:hover{background:var(--red-dark);color:#FFFFFF}
.btn--ghost{background:transparent;color:#FFFFFF;border:1px solid rgba(198,202,207,.6)}
.btn--ghost:hover{background:rgba(255,255,255,.12);color:#FFFFFF}
.btn--line{background:transparent;color:var(--navy);border:1.5px solid var(--navy)}
.btn--line:hover{background:var(--navy);color:#FFFFFF}
.btn--sm{min-height:46px;padding:0 20px;font-size:15px}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}
.go{display:inline-flex;align-items:center;gap:8px;min-height:44px;width:fit-content;font-family:var(--display);font-weight:600;font-size:15px;color:var(--link);text-decoration:none}
.go .ico{transition:transform .25s var(--ease)}
.go:hover .ico,a:hover>.go .ico{transform:translateX(4px)}
.go--light{color:#FFFFFF}
.go--light .ico{color:var(--red-soft)}
.go--light:hover{color:#FFFFFF}
.tel{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-family:var(--display);font-weight:600;font-size:16px;color:#FFFFFF;text-decoration:none}
.tel .ico{color:var(--red-soft)}
.tel:hover{color:#FFFFFF;text-decoration:underline}

/* ---------- header ---------- */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;justify-content:space-between;align-items:flex-start;gap:8px 24px;transition:background-color .3s,box-shadow .3s;view-transition-name:nx-header}
.site-header::before{content:"";position:absolute;left:0;right:0;top:0;height:200px;background:linear-gradient(rgba(1,22,56,.62),rgba(1,22,56,0));pointer-events:none;transition:opacity .3s;z-index:-1}
.brand{display:block;flex:none;padding:18px 64px 18px max(var(--pad),calc((100% - 1280px)/2));background:#FFFFFF;clip-path:polygon(0 0,100% 0,calc(100% - 44px) 100%,0 100%)}
.brand img{width:210px;height:auto}
.nav{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px 24px;padding:18px max(var(--pad),calc((100% - 1280px)/2)) 0 16px}
.nav a{position:relative;display:flex;align-items:center;min-height:44px;font-weight:500;font-size:15px;color:#FFFFFF;text-decoration:none;border-bottom:2px solid transparent}
.nav a:hover{color:#FFFFFF;border-bottom-color:rgba(255,255,255,.6)}
/* the red current-page mark is its own element, so it can slide to the new link when the page changes */
.nav__mark{position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--red);view-transition-name:nx-navmark}
.nav .btn{border:0;color:#FFFFFF;margin-left:6px}
.nav .btn:hover{color:#FFFFFF}
.menu-btn{display:none}
.site-header.is-solid{background:#FFFFFF;box-shadow:0 1px 0 var(--line-soft),0 8px 24px rgba(2,34,88,.06)}
.site-header.is-solid::before{opacity:0}
.site-header.is-solid .nav a:not(.btn){color:var(--ink)}
.site-header.is-solid .nav a:not(.btn):hover{border-bottom-color:var(--line)}
@media (max-width:1060px){
  .brand img{width:176px}
  .js .menu-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:16px var(--pad) 0 0;padding:0 14px;border:1px solid rgba(255,255,255,.6);border-radius:12px 3px;background:rgba(1,22,56,.35);color:#FFFFFF;font-family:var(--display);font-weight:600;font-size:15px;cursor:pointer}
  .js .site-header.is-solid .menu-btn{color:var(--navy);border-color:var(--line);background:#FFFFFF}
  .js .nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:6px var(--pad) 24px;background:#FFFFFF;box-shadow:0 18px 40px rgba(2,34,88,.14)}
  .js .nav.is-open{display:flex}
  .js .nav__mark{display:none}
  .js .nav a:not(.btn){min-height:54px;color:var(--ink);border-bottom:1px solid var(--line-soft);font-size:17px}
  .js .nav a[aria-current="page"]{color:var(--red-dark);border-bottom-color:var(--line-soft)}
  .js .nav .btn{margin:18px 0 0}
  .js .site-header .nav a[aria-current="page"]:not(.btn){color:var(--red-dark);border-bottom-color:var(--line-soft)}
}
@media (max-width:420px){.brand{padding-right:52px}.brand img{width:150px}}

/* ---------- plates (text on photographs, with the logo's 30-degree lean) ---------- */
/* --lean: how far the plate's slanted edge leans over its height */
.plate{--lean:clamp(64px,14vw,240px);position:relative;z-index:2;width:min(100%,calc(max(var(--pad),(100% - 1280px)/2) + 860px));padding:44px clamp(96px,17vw,280px) 48px max(var(--pad),calc((100% - 1280px)/2));background:var(--navy);color:#FFFFFF;clip-path:polygon(0 0,100% 0,calc(100% - var(--lean)) 100%,0 100%);display:flex;flex-direction:column;gap:20px}
.plate--right{margin-left:auto;padding:44px max(var(--pad),calc((100% - 1280px)/2)) 48px clamp(96px,17vw,280px);clip-path:polygon(var(--lean) 0,100% 0,100% 100%,0 100%)}
.plate--white{background:#FFFFFF;color:var(--ink)}
.plate p{color:var(--chrome)}
.plate--white p{color:var(--steel)}
.plate .h2{color:#FFFFFF}
.plate--white .h2{color:var(--navy)}
.plate .lead{color:var(--chrome)}
.plate--white .lead{color:var(--steel)}
@media (max-width:640px){
  .plate{--lean:30px;padding:30px 46px 34px var(--pad)}
  .plate--right{padding:30px var(--pad) 34px 46px}
}

.ticks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));column-gap:28px;border-top:1px solid var(--line);font-size:15px;line-height:22px;color:var(--ink)}
.ticks li{padding:11px 0;border-bottom:1px solid var(--line)}
.plate:not(.plate--white) .ticks,.on-dark .ticks{border-color:rgba(198,202,207,.28);color:#FFFFFF}
.plate:not(.plate--white) .ticks li,.on-dark .ticks li{border-color:rgba(198,202,207,.28)}

/* ---------- page hero (photo + plate) ---------- */
.hero{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(600px,58vw,860px);background:var(--navy-900)}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .plate{padding-top:40px}
.hero .lead{max-width:30em}
.op-60{object-position:center 60%}
.op-45{object-position:center 45%}
.op-40{object-position:center 40%}
.op-70{object-position:center 70%}

/* ---------- home hero: lean wipe slideshow (D1) ---------- */
.show{position:relative;overflow:hidden;height:clamp(680px,62vw,900px);background:var(--navy-900)}
.show__slide,.show__red{position:absolute;inset:0;clip-path:polygon(-45% 0%,0% 0%,-30% 100%,-45% 100%);z-index:1}
.show__red{background:var(--red);z-index:0}
.show__slide img{width:100%;height:100%;object-fit:cover}
.show__slide.is-prev{clip-path:polygon(-45% 0%,130% 0%,100% 100%,-45% 100%);z-index:2}
.show__slide.is-active{clip-path:polygon(-45% 0%,130% 0%,100% 100%,-45% 100%);z-index:4;transition:clip-path 1.3s var(--wipe)}
.show__red.is-active{clip-path:polygon(-45% 0%,130% 0%,100% 100%,-45% 100%);z-index:3;transition:clip-path 1.2s var(--wipe)}
.show .plate{--lean:clamp(70px,17vw,270px);position:absolute;left:0;bottom:0;z-index:8;width:min(100%,calc(max(var(--pad),(100% - 1280px)/2) + 900px));padding:40px clamp(100px,20vw,310px) 28px max(var(--pad),calc((100% - 1280px)/2));gap:24px}
.caps{display:grid}
.cap{grid-area:1/1;display:flex;flex-direction:column;justify-content:flex-end;gap:16px;opacity:0;visibility:hidden;transform:translateY(18px);transition:opacity .25s,transform .25s,visibility 0s .25s}
.cap.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .7s .55s,transform .9s .55s var(--ease),visibility 0s}
.cap__line{font-family:var(--display);font-weight:800;font-stretch:125%;font-size:clamp(28px,3.2vw,46px);line-height:1.06;letter-spacing:-.015em;color:#FFFFFF;text-wrap:balance}
.tabs{display:flex;gap:8px;padding-top:8px;border-top:1px solid rgba(198,202,207,.22)}
.tab{position:relative;flex:1 1 0;min-width:0;height:58px;margin:0;padding:0 14px;border:0;background:transparent;color:var(--chrome);transform:skewX(-30deg);cursor:pointer;transition:background-color .3s,color .3s}
.tab:hover{background:rgba(255,255,255,.08)}
.tab.is-active{background:rgba(255,255,255,.14);color:#FFFFFF}
.tab__in{display:flex;align-items:center;gap:10px;height:100%;transform:skewX(30deg);font-family:var(--display);font-weight:600;font-size:14px;line-height:18px;white-space:nowrap;overflow:hidden}
.tab__n{letter-spacing:.16em;color:var(--red-soft)}
.tab.is-active .tab__n{color:#FFB3AD}
.tab__name{overflow:hidden;text-overflow:ellipsis}
.tab__track,.tab__fill{position:absolute;left:0;right:0;bottom:0;height:3px}
.tab__track{background:rgba(255,255,255,.18)}
.tab__fill{background:#FFFFFF;transform:scaleX(0);transform-origin:left center}
.tab.is-active .tab__fill{animation:nxFill 6.5s linear forwards}
.show.is-paused .tab.is-active .tab__fill{animation-play-state:paused}
.show-pause{flex:none;display:flex;align-items:center;justify-content:center;width:48px;height:58px;margin:0;padding:0;border:0;background:transparent;color:#FFFFFF;cursor:pointer}
.show-pause:hover{background:rgba(255,255,255,.08)}
.show-pause .i-play{display:none}
.show.is-paused .show-pause .i-play{display:block}
.show.is-paused .show-pause .i-pause{display:none}
@keyframes nxFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (max-width:640px){
  .show{height:auto;min-height:760px;display:flex;flex-direction:column;justify-content:flex-end}
  .show .plate{--lean:26px;position:relative;padding:28px 40px 22px var(--pad)}
  .tab{transform:none;height:auto;min-height:58px;padding:8px 6px}
  .tab__in{transform:none;justify-content:center;text-align:center;white-space:normal;font-size:13px;line-height:16px}
  .tab__name{overflow:visible}
  .tab__n{display:none}
}

/* ---------- statement + facts ---------- */
.statement{font-family:var(--display);font-weight:700;font-stretch:112.5%;font-size:clamp(26px,3vw,44px);line-height:1.22;color:var(--navy);max-width:26em;text-wrap:pretty}
.blade{display:block;width:min(360px,60%);height:5px;background:linear-gradient(90deg,rgba(228,3,2,0),var(--red));clip-path:polygon(0 65%,100% 0,100% 100%,0 100%)}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));border-top:1px solid var(--navy);border-bottom:1px solid var(--line)}
.fact{display:flex;flex-direction:column;gap:8px;padding:22px 24px 24px 0}
.fact+.fact{padding-left:24px;border-left:1px solid var(--line)}
.fact dt{font-family:var(--display);font-weight:600;font-size:11px;line-height:14px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.fact dd{margin:0;font-family:var(--display);font-weight:700;font-size:16px;line-height:22px;color:var(--navy)}
.fact dd[lang="ar"]{font-family:var(--body);font-weight:600;font-size:17px;line-height:26px}
@media (max-width:560px){.fact+.fact{padding-left:0;border-left:0;border-top:1px solid var(--line)}}

/* ---------- service index (D3) ---------- */
.index{position:relative;overflow:hidden;isolation:isolate;background:var(--navy-900);color:#FFFFFF}
.index__bg img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.08);transition:opacity .9s ease,transform 7s var(--ease)}
.index__bg img.is-active{opacity:1;transform:scale(1)}
.index__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(1,22,56,.92) 0%,rgba(1,22,56,.76) 48%,rgba(1,22,56,.24) 100%)}
.index__head{display:flex;flex-direction:column;gap:20px;max-width:900px}
.index .lead{color:var(--chrome)}
.index__head .h2{color:#FFFFFF;font-size:clamp(34px,4.6vw,68px);line-height:1.02;letter-spacing:-.02em}
.index__grid{display:flex;flex-wrap:wrap;align-items:flex-end;gap:48px 64px;margin-top:clamp(40px,5vw,64px)}
.index__list{flex:1 1 560px;display:flex;flex-direction:column;gap:28px;min-width:0}
.glabel{display:flex;align-items:center;gap:12px;padding-bottom:10px;margin-bottom:4px;border-bottom:1px solid rgba(198,202,207,.28);font-family:var(--display);font-weight:600;font-size:12px;line-height:16px;letter-spacing:.22em;text-transform:uppercase;color:var(--chrome)}
.glabel span{color:var(--red-soft)}
.svc{display:flex;align-items:center;width:100%;min-height:48px;margin:0;padding:6px 0;border:0;background:none;color:rgba(255,255,255,.64);text-align:left;font-family:var(--display);font-weight:800;font-stretch:112.5%;font-size:clamp(20px,2.1vw,32px);line-height:1.2;letter-spacing:-.01em;cursor:pointer;transition:color .3s}
.svc:hover,.svc.is-active{color:#FFFFFF}
.svc::before{content:"";flex:none;display:block;width:0;height:.72em;margin-right:0;background:var(--red);transform:skewX(-30deg);transition:width .45s var(--ease),margin .45s var(--ease)}
.svc.is-active::before{width:14px;margin-right:18px}
.svc__desc{display:none}
.index__plate{flex:0 1 460px;padding:32px 36px 34px clamp(56px,7vw,96px);background:#FFFFFF;color:var(--ink);clip-path:polygon(clamp(40px,5vw,72px) 0,100% 0,100% 100%,0 100%);display:flex;flex-direction:column;gap:12px}
.index__plate .kicker{font-size:11px}
.index__name{font-family:var(--display);font-weight:800;font-stretch:112.5%;font-size:24px;line-height:30px;color:var(--navy)}
.index__text{font-size:15px;line-height:24px;color:var(--steel)}
@media (max-width:760px){
  .index__shade{background:rgba(1,22,56,.8)}
  .index__plate{display:none}
  .svc__desc{font-size:15px;line-height:24px;color:var(--mist);padding:2px 0 12px 32px}
  li.is-active>.svc__desc{display:block}
}

/* ---------- how we work ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:32px 0}
.step{display:flex;flex-direction:column;gap:10px;padding:0 24px}
.step:first-child{padding-left:0}
.step+.step{border-left:1px solid var(--line)}
.step__n{font-family:var(--display);font-weight:800;font-stretch:125%;font-size:56px;line-height:1;color:var(--navy)}
.step:last-child .step__n{color:var(--red)}
.step__t{font-family:var(--display);font-weight:700;font-size:20px;line-height:26px;color:var(--navy)}
.step__d{font-size:15px;line-height:24px;color:var(--steel)}
@media (max-width:640px){.step{padding:0}.step+.step{border-left:0;border-top:1px solid var(--line);padding-top:24px}}
.expect{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;margin-top:48px}
.expect__i{display:flex;gap:14px;padding:22px 24px;background:var(--ground);border-radius:20px 5px}
.expect__i .ico{width:24px;height:24px;color:var(--navy);margin-top:1px}
.expect__t{display:block;font-family:var(--display);font-weight:700;font-size:16px;line-height:22px;color:var(--navy)}
.expect__d{display:block;margin-top:4px;font-size:14px;line-height:21px;color:var(--steel)}

/* ---------- section head ---------- */
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 48px;margin-bottom:48px}
.sec-head__t{display:flex;flex-direction:column;gap:14px}

/* ---------- chapters: full-bleed photo + overlapping plate ---------- */
.chapter{position:relative}
.chapter__img{width:100%;height:clamp(360px,44vw,640px);object-fit:cover}
.chapter .plate{margin-top:-170px}
@media (max-width:640px){.chapter .plate{margin-top:-56px}}
.chapter+.chapter{margin-top:clamp(72px,8vw,120px)}

/* scroll reveal: the photo opens from a leaning window (D4), where the browser supports it */
@keyframes nxOpen{from{clip-path:polygon(40% 12%,82% 12%,64% 88%,22% 88%)}to{clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%)}}
@keyframes nxZoom{from{transform:scale(1.16)}to{transform:scale(1)}}
.reveal{overflow:hidden}
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .reveal{animation:nxOpen linear both;animation-timeline:view();animation-range:entry 5% cover 42%}
    .reveal>img{animation:nxZoom linear both;animation-timeline:view();animation-range:entry 0% cover 60%}
  }
}

/* ---------- split: photo with a leaning edge beside text ---------- */
.split{position:relative;overflow:hidden}
.split__img{position:absolute;top:0;bottom:0;right:0;width:52%;height:100%;object-fit:cover;clip-path:polygon(34% 0,100% 0,100% 100%,0 100%)}
.split--left .split__img{right:auto;left:0;clip-path:polygon(0 0,100% 0,66% 100%,0 100%)}
.split__body{position:relative;max-width:1440px;margin:0 auto;padding:clamp(72px,8vw,112px) var(--pad);display:flex}
.split--left .split__body{justify-content:flex-end}
.split__text{width:min(100%,560px);display:flex;flex-direction:column;gap:20px}
@media (max-width:900px){
  .split__img{position:static;width:100%;height:320px;clip-path:none}
  .split--left .split__body{justify-content:flex-start}
}

.rows{display:flex;flex-direction:column;border-top:1px solid var(--chrome)}
.row{display:flex;flex-direction:column;gap:6px;padding:18px 0;border-bottom:1px solid var(--chrome)}
.row__t{font-family:var(--display);font-weight:700;font-size:19px;line-height:25px;color:var(--navy)}
.row__d{font-size:15px;line-height:24px;color:var(--steel)}

/* ---------- triptych (about): photos that open on hover ---------- */
.tri{display:flex;gap:6px;height:clamp(420px,46vw,620px)}
.tri__p{position:relative;isolation:isolate;flex:1 1 0;min-width:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(24px,3vw,40px);transition:flex-grow .7s var(--ease)}
.tri:hover .tri__p{flex-grow:.85}
.tri .tri__p:hover,.tri .tri__p:focus-within{flex-grow:1.7}
.tri__p img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--ease),opacity .7s var(--ease)}
.tri__p:hover img{transform:scale(1.05)}
.tri__p::before{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;z-index:-1;background:linear-gradient(to top,rgba(1,22,56,.92),rgba(1,22,56,0))}
.tri__n{font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.22em;color:var(--red-soft)}
.tri__t{margin-top:8px;font-family:var(--display);font-weight:800;font-stretch:125%;font-size:clamp(24px,2.6vw,38px);line-height:1.1;color:#FFFFFF}
.tri__d{margin-top:10px;max-width:26em;font-size:16px;line-height:25px;color:var(--mist)}
.tri__p .go{margin-top:12px}
.tri__p .go::after{content:"";position:absolute;inset:0}
@media (max-width:760px){.tri{flex-direction:column;height:auto}.tri__p{flex:none;height:320px}}

/* ---------- slices strip (fit out): leaning photo slices (D2) ---------- */
.slices{display:flex;gap:8px;height:clamp(320px,30vw,440px);padding-inline:clamp(92px,8.7vw,128px);overflow:hidden}
.slice{position:relative;flex:1 1 0;min-width:0;overflow:hidden;transform:skewX(-30deg);transition:flex-grow .7s var(--ease);text-decoration:none}
.slices:hover .slice{flex-grow:.8}
.slices .slice:hover,.slices .slice:focus-visible{flex-grow:2.6}
.slice:focus-visible{outline:3px solid var(--red);outline-offset:-6px}
.slice__in{position:absolute;top:0;bottom:0;left:-200px;right:-200px;transform:skewX(30deg)}
.slice__in img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease),opacity .7s var(--ease)}
.slice:hover .slice__in img{transform:scale(1.06)}
.slice__in::after{content:"";position:absolute;inset:0;background:rgba(1,22,56,.4);transition:background-color .4s}
.slice:hover .slice__in::after{background:rgba(1,22,56,.18)}
.slice__lab{position:absolute;left:50%;top:50%;z-index:1;transform:translate(-50%,-50%) rotate(-60deg);white-space:nowrap;font-family:var(--display);font-weight:700;font-size:17px;color:#FFFFFF;text-shadow:0 1px 12px rgba(1,22,56,.5)}
@media (max-width:760px){
  .slices{flex-wrap:wrap;height:auto;gap:6px;padding-inline:0}
  .slice{transform:none;flex:1 1 45%;height:190px}
  .slices:hover .slice,.slices .slice:hover{flex-grow:1}
  .slice__in{transform:none;left:0;right:0}
  .slice__lab{transform:none;left:14px;right:14px;top:auto;bottom:14px;white-space:normal;font-size:15px;line-height:20px}
}

/* ---------- service gallery (division pages) ---------- */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:56px 40px}
.gitem{display:flex;flex-direction:column;gap:14px;scroll-margin-top:110px}
.gitem__img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px 5px}
.gitem__t{display:flex;align-items:baseline;gap:12px;font-family:var(--display);font-weight:800;font-stretch:112.5%;font-size:24px;line-height:1.2;color:var(--navy)}
.gitem__t span{font-weight:600;font-stretch:100%;font-size:12px;letter-spacing:.2em;color:var(--red-dark)}

/* ---------- photo pair ---------- */
.duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:6px}
.duo img{width:100%;height:clamp(260px,30vw,440px);object-fit:cover}

/* ---------- scope columns (ductwork) ---------- */
.scope{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:40px}
.scope__t{display:flex;gap:10px;font-family:var(--display);font-weight:700;font-size:19px;line-height:25px;color:var(--navy);margin-bottom:12px}
.scope__t span{color:var(--red)}
.bul li{position:relative;padding:7px 0 7px 20px;font-size:15px;line-height:23px;color:var(--steel)}
.bul li::before{content:"";position:absolute;left:0;top:15px;width:7px;height:7px;background:var(--navy);border-radius:2px .5px}

/* ---------- band: navy statement ---------- */
.band{background:var(--navy);color:#FFFFFF}
.band__in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px 56px;padding-block:clamp(48px,6vw,80px)}
.band__t{font-family:var(--display);font-weight:800;font-stretch:112.5%;font-size:clamp(24px,2.6vw,36px);line-height:1.2;max-width:24em}
.band__d{margin-top:10px;color:var(--chrome);font-size:17px;line-height:27px;max-width:36em}

/* ---------- contact band (night skyline) ---------- */
.cband{position:relative;overflow:hidden;isolation:isolate;color:#FFFFFF}
.cband__img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 75%}
.cband::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(1,22,56,.66)}
.cband__in{display:flex;flex-direction:column;gap:34px;padding-block:clamp(88px,10vw,144px)}
.cband__t{font-family:var(--display);font-weight:800;font-stretch:125%;font-size:clamp(30px,3.8vw,54px);line-height:1.1;letter-spacing:-.01em;max-width:18em;text-wrap:balance}
.cband__links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 44px}
.big-link{display:inline-flex;align-items:center;min-height:44px;font-family:var(--display);font-weight:700;font-stretch:112.5%;font-size:clamp(22px,2.4vw,34px);line-height:1.2;color:#FFFFFF;text-decoration:none}
.big-link:hover{color:#FFFFFF;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.cband__addr{font-size:17px;line-height:26px;color:var(--mist)}

/* ---------- contact page ---------- */
.cgrid{display:flex;flex-wrap:wrap;gap:56px 80px;align-items:flex-start}
.cgrid__main{flex:1.4 1 520px;display:flex;flex-direction:column;gap:36px}
.cgrid__side{flex:1 1 360px;display:flex;flex-direction:column;gap:22px;padding:32px;background:var(--ground);border-radius:20px 5px}
.cdetails{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:28px 40px}
.cdetail{display:flex;flex-direction:column}
.cdetail .ico{width:24px;height:24px;color:var(--navy)}
.cdetail dt{display:flex;align-items:center;gap:12px;font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.cdetail dd{margin:6px 0 0 36px;font-family:var(--display);font-weight:700;font-size:clamp(19px,1.8vw,24px);line-height:1.3;color:var(--navy)}
.cdetail dd a{color:var(--navy);text-decoration:none}
.cdetail dd a:hover{color:var(--red)}
.lockup{width:100%;max-width:420px;height:auto}

/* ---------- footer ---------- */
.site-footer{background:var(--navy-950);color:var(--chrome)}
.fband{display:flex;height:6px}
.fband span:first-child{width:29.7%;background:var(--red);clip-path:polygon(0 0,100% 0,calc(100% - 3.5px) 100%,0 100%)}
.fband span:last-child{flex:1 1 auto;margin-left:4px;background:var(--navy-700);clip-path:polygon(3.5px 0,100% 0,100% 100%,0 100%)}
.footer__top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:36px 48px;padding-block:52px 40px}
.footer__brand{flex:1 1 300px;display:flex;flex-direction:column;gap:16px}
.footer__brand img{width:120px;height:auto}
.footer__name{font-family:var(--display);font-weight:800;font-stretch:125%;font-size:18px;line-height:24px;letter-spacing:.04em;text-transform:uppercase;color:#FFFFFF}
.footer__name span{font-weight:600;color:var(--chrome)}
.footer__ar{font-weight:600;font-size:16px;line-height:26px;color:#FFFFFF}
.footer__col{display:flex;flex-direction:column;gap:2px;min-width:160px}
.footer__h{margin-bottom:8px;font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--quiet)}
.footer__col a,.footer__col span{display:flex;align-items:center;min-height:36px;font-size:15px;color:var(--mist);text-decoration:none}
.footer__col a:hover{color:#FFFFFF;text-decoration:underline}
.footer__base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-block:20px 32px;border-top:1px solid rgba(198,202,207,.16);font-size:13px;line-height:20px;color:var(--quiet)}

/* ---------- generators hero: the standby sequence (D4) ---------- */
.standby__status{position:absolute;top:110px;right:max(var(--pad),calc((100% - 1280px)/2));z-index:3;display:grid;padding:12px 18px;background:rgba(1,10,28,.62);border:1px solid rgba(255,255,255,.18);border-radius:12px 3px;font-family:var(--display);font-weight:600;font-size:12px;line-height:16px;letter-spacing:.18em;text-transform:uppercase;color:#FFFFFF}
.standby__status{display:none}
.play-standby .standby__status{display:grid;animation:nxChip 7s linear both}
.standby__s{grid-area:1/1;display:flex;align-items:center;gap:10px;opacity:0}
.standby__s3{opacity:1}
.dot{display:block;width:8px;height:8px;border-radius:50%;background:var(--chrome)}
.dot--fail{background:#FF3B30}
.dot--on{background:#FFFFFF;box-shadow:0 0 0 3px rgba(228,3,2,.7)}
.standby__load{position:absolute;left:50%;top:44%;z-index:3;width:300px;margin-left:-150px;display:flex;flex-direction:column;align-items:center;gap:14px;opacity:0;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--chrome)}
.standby__bar{display:block;width:300px;height:6px;background:rgba(255,255,255,.12);overflow:hidden}
.standby__fill{display:flex;height:100%;transform-origin:left center}
.standby__fill span:first-child{width:29.7%;background:var(--red);clip-path:polygon(0 0,100% 0,calc(100% - 3.5px) 100%,0 100%)}
.standby__fill span:last-child{flex:1 1 auto;margin-left:3px;background:var(--chrome);clip-path:polygon(3.5px 0,100% 0,100% 100%,0 100%)}
.play-standby .standby .hero__img{animation:nxPower 7s linear both}
.play-standby .standby__s1{animation:nxS1 7s linear both}
.play-standby .standby__s2{animation:nxS2 7s linear both}
.play-standby .standby__s3{animation:nxS3 7s linear both}
.play-standby .dot--fail{animation:nxBlink .6s linear infinite}
.play-standby .standby__load{animation:nxLoad 7s linear both}
.play-standby .standby__fill{animation:nxBar 7s cubic-bezier(.6,0,.2,1) both}
.play-standby .standby .plate{animation:nxPlate 7s var(--ease) both}
@keyframes nxPower{0%,10%{filter:brightness(1) saturate(1)}11.5%{filter:brightness(.4) saturate(.8)}13%{filter:brightness(.92) saturate(1)}14.5%{filter:brightness(.1) saturate(.5)}16%,40%{filter:brightness(.05) saturate(.4)}42%{filter:brightness(.75) saturate(.9)}43.5%{filter:brightness(.22) saturate(.6)}46%,100%{filter:brightness(1) saturate(1)}}
@keyframes nxS1{0%,10%{opacity:1}11%,100%{opacity:0}}
@keyframes nxS2{0%,10.5%{opacity:0}11.5%,40%{opacity:1}42%,100%{opacity:0}}
@keyframes nxS3{0%,41%{opacity:0}44%,100%{opacity:1}}
@keyframes nxLoad{0%,15%{opacity:0;transform:translateY(8px)}18%,40%{opacity:1;transform:none}45%,100%{opacity:0;transform:none}}
@keyframes nxBar{0%,18%{transform:scaleX(0)}40%,100%{transform:scaleX(1)}}
@keyframes nxPlate{0%,45%{opacity:0;transform:translateY(28px)}54%,100%{opacity:1;transform:none}}
@keyframes nxChip{0%,66%{opacity:1}74%,100%{opacity:0}}
@keyframes nxBlink{0%,49%{opacity:1}50%,100%{opacity:.2}}
.replay{display:none;align-items:center;gap:10px;min-height:52px;margin:0;padding:0 20px;border:1px solid rgba(198,202,207,.5);border-radius:12px 3px;background:transparent;color:#FFFFFF;font-family:var(--display);font-weight:600;font-size:15px;cursor:pointer}
.replay:hover{background:rgba(255,255,255,.12)}
.js .replay{display:inline-flex}
@media (max-width:640px){.standby__status{top:auto;bottom:calc(100% - 150px)}.standby__load{top:30%}}

/* ---------- page details ---------- */
.more{margin-top:28px}
.statement{margin-top:18px}
.blade{margin:22px 0 48px}
.chapter-gap{height:clamp(72px,8vw,120px)}
.plate--white .display{color:var(--navy)}
.about-ar{font-size:clamp(22px,2.4vw,32px);font-weight:600;line-height:1.5;color:var(--navy)}
.about-cols{display:flex;flex-wrap:wrap;gap:32px 80px;align-items:flex-start}
.about-cols .statement{flex:1 1 420px;margin-top:0}
.about-body{flex:1 1 420px;display:flex;flex-direction:column;gap:18px}
.pull{font-family:var(--display);font-weight:700;font-stretch:112.5%;font-size:clamp(20px,2vw,26px);line-height:1.35;color:var(--navy);padding-top:6px}
.pull::before{content:"";display:block;width:120px;height:4px;margin-bottom:16px;background:var(--red);clip-path:polygon(0 65%,100% 0,100% 100%,0 100%)}
.facts--gap{margin-top:clamp(56px,6vw,88px)}
.sec-head--flush{margin-bottom:0}
.section--flush-top{padding-top:0}
.hero--short{min-height:clamp(540px,46vw,700px)}

/* ---------- 404 ---------- */
.nf-title{color:var(--navy);margin:14px 0 18px}
.nf-actions{margin-top:28px}
.notfound{min-height:70vh;display:flex;align-items:center;padding-top:120px}

/* ---------- splash (W1 Paper, once per visit) ---------- */
.nx-splash{display:none}
.js .nx-splash{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(40px,7vh,56px);padding:0 32px;background:#FFFFFF;transition:opacity .4s ease,visibility .4s}
.js.nx-nosplash .nx-splash{display:none}
.nx-splash.is-done{opacity:0;visibility:hidden}
.nx-splash__logo{width:min(560px,77vw);height:auto;aspect-ratio:1597/298;animation:nxRise .7s var(--ease) both}
.nx-splash__load{display:flex;flex-direction:column;align-items:center;gap:14px}
.nx-band{width:min(280px,46vw);height:6px;background:#EEF1F5;overflow:hidden}
.nx-band__fill{display:flex;height:100%;transform-origin:left center;animation:nxSplashFill 2.6s cubic-bezier(.6,0,.2,1) infinite}
.nx-band__red{width:29.7%;background:var(--red);clip-path:polygon(0 0,100% 0,calc(100% - 3.5px) 100%,0 100%)}
.nx-band__navy{flex:1 1 auto;margin-left:-1px;background:var(--navy);clip-path:polygon(3.5px 0,100% 0,100% 100%,0 100%)}
.nx-splash__label{font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--steel)}
@keyframes nxSplashFill{0%{transform:scaleX(0)}70%,100%{transform:scaleX(1)}}
@keyframes nxRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- motion: page changes, page openings, scroll reveals ---------- */
/* Page to page (cross-document view transitions, where supported): the header stays put, the red
   current-page mark slides to the new link, and the page cross-fades into the next one. */
@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
::view-transition-group(nx-header){animation-duration:.45s}
::view-transition-group(nx-navmark){animation-duration:.6s;animation-timing-function:var(--wipe)}

@keyframes nxUp{from{opacity:0;translate:0 22px}}
@keyframes nxSettle{from{transform:scale(1.06)}}
@keyframes nxPlateIn{from{clip-path:polygon(0 0,0 0,calc(0px - var(--lean)) 100%,0 100%)}}
@keyframes nxPlateInR{from{clip-path:polygon(calc(100% + var(--lean)) 0,100% 0,100% 100%,100% 100%)}}
@keyframes nxWipeIn{from{clip-path:polygon(-45% 0%,0% 0%,-30% 100%,-45% 100%)}}
@keyframes nxMenu{from{opacity:0;translate:0 -10px}}

@media (prefers-reduced-motion:no-preference){
  /* Page opening: the photo settles, the plate leans in from the edge, its lines rise one after another.
     Home: the red layer and the first photo wipe in, as when the slides change. */
  .js:not(.play-standby) .hero__img{animation:nxSettle 1.8s var(--ease) both}
  .js:not(.play-standby) .hero .plate,.js .show .plate{animation:nxPlateIn .85s var(--sweep) both}
  .js .show .plate{animation-delay:.25s}
  .js:not(.play-standby) .hero .plate>*,.js .show .plate>*,.js .notfound .wrap>*{animation:nxUp .75s var(--ease) both}
  .js .hero .plate>:nth-child(1),.js .notfound .wrap>:nth-child(1){animation-delay:.12s}
  .js .hero .plate>:nth-child(2),.js .notfound .wrap>:nth-child(2){animation-delay:.2s}
  .js .hero .plate>:nth-child(3),.js .notfound .wrap>:nth-child(3){animation-delay:.28s}
  .js .hero .plate>:nth-child(4),.js .notfound .wrap>:nth-child(4){animation-delay:.36s}
  .js .show .plate>:nth-child(1){animation-delay:.4s}
  .js .show .plate>:nth-child(2){animation-delay:.5s}
  .js .show .plate>:nth-child(3){animation-delay:.6s}
  .js .show__red.is-first{animation:nxWipeIn 1.2s var(--wipe) both}
  .js .show__slide.is-first{animation:nxWipeIn 1.3s var(--wipe) .06s both}
  /* phone menu drops in */
  @media (max-width:1060px){.js .nav.is-open{animation:nxMenu .32s var(--ease)}}
}
/* held while the splash is up (pre.js adds .nx-hold, site.js removes it as the splash fades) */
.nx-hold main *{animation-play-state:paused !important}

/* Scroll reveals: site.js marks blocks below the first screen .rv and adds .is-in as they come into view. */
.rv:not(.is-in){opacity:0}
.rv.is-in{animation:nxUp .85s var(--ease) var(--rv-d,0s) backwards}
.rv--plate.is-in{animation:nxPlateIn .9s var(--sweep) var(--rv-d,0s) backwards}
.plate--right.rv--plate.is-in{animation-name:nxPlateInR}
@media print{.rv{opacity:1 !important;animation:none !important}}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;transition-delay:0s !important}
}
