/* Header and hero based on the supplied 1672 × 941 reference. */
:root{--hero-navy:#022b57;--hero-cyan:#00d6ed;--hero-gutter:clamp(24px,2.5vw,52px)}
.site-header{background:radial-gradient(ellipse at 0 0,#0b4c69,transparent 30%),#032952;color:#fff;width:100%;max-width:none}
.site-header .header-inner{min-height:0;height:clamp(76px,6.1vw,102px);width:100%;max-width:none;padding-inline:var(--hero-gutter);gap:clamp(24px,3vw,50px);flex-wrap:nowrap}
.site-header .header-inner .brand{width:clamp(230px,20vw,334px);flex:none;display:block}
.reference-logo{display:block;width:100%;height:auto;aspect-ratio:334/74}
.site-header #main-nav{display:flex;flex:1;justify-content:space-evenly;align-items:center;gap:0;font-size:clamp(20px,1.85vw,31px);line-height:1.2;font-weight:800;flex-wrap:nowrap;margin:0;padding:0}
.site-header #main-nav a{position:relative;display:block;padding-inline:clamp(18px,3.5vw,59px);white-space:nowrap;border-left:1px solid var(--hero-cyan)}
.site-header #main-nav a:last-child{border-left:0}
.site-header #main-nav a.active:after{content:'';position:absolute;bottom:-14px;right:50%;transform:translateX(50%);width:62px;height:5px;background:var(--hero-cyan);border:0;border-radius:0}
.site-header #main-nav a:hover{color:var(--hero-cyan)}
.reference-header-call{display:flex;align-items:center;justify-content:center;width:clamp(165px,13.7vw,229px);height:clamp(48px,3.65vw,61px);border-radius:99px;background:linear-gradient(100deg,#ff9500,#ff8500);color:#fff;font-size:clamp(22px,2vw,34px);line-height:1;font-weight:850;white-space:nowrap;flex:none}
.site-header .menu-toggle{display:none}
.reference-hero{position:relative;isolation:isolate;width:100%;max-width:none;height:clamp(580px,43.36vw,820px);overflow:hidden;background:radial-gradient(ellipse at 36% 88%,#066391,transparent 59%),linear-gradient(110deg,#074c73,#012a55 74%);color:#fff}
.reference-hero-photo{position:absolute;inset:0 auto 0 0;width:58.91%;height:100%;z-index:-1;mask-image:linear-gradient(to right,#000 0%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 0%,#000 88%,transparent 100%)}
.reference-photo{width:100%;height:100%;display:block}
.reference-hero-copy{position:relative;margin-right:var(--hero-gutter);margin-left:auto;width:40.7%;padding-top:clamp(26px,1.8vw,36px);text-align:right}
.reference-hero-copy h1{font-size:clamp(64px,5.74vw,100px);font-weight:900;line-height:1.1;letter-spacing:-1.5px;margin:0;color:#fff}
.reference-hero-copy h1 span{display:block;font-size:clamp(48px,4.9vw,85px);line-height:1.1;color:var(--hero-cyan);letter-spacing:-1.2px;white-space:nowrap}
.reference-subtitle{font-size:clamp(25px,2.15vw,38px);font-weight:650;line-height:1.25;margin:12px 0 0;white-space:nowrap}
.reference-services{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.17fr) minmax(0,.92fr);margin-top:clamp(28px,2.03vw,36px);width:90%;margin-right:0;margin-left:auto}
.reference-services a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:clamp(98px,6.7vw,116px);border-left:1px solid var(--hero-cyan);color:#fff}
.reference-services a:last-child{border-left:0}
.reference-service-icon{color:var(--hero-cyan);height:clamp(56px,4.4vw,74px);width:clamp(60px,5.8vw,100px);display:block}
.reference-services span{font-size:clamp(18px,1.6vw,28px);font-weight:800;line-height:1.2;white-space:nowrap}
.reference-hero-actions{display:flex;align-items:center;gap:3%;margin-top:clamp(32px,3.22vw,57px)}
.reference-cta{display:flex;align-items:center;justify-content:center;height:clamp(58px,4.78vw,82px);border-radius:99px;line-height:1.1;font-size:clamp(27px,2.4vw,42px);font-weight:850;white-space:nowrap;transition:filter .18s,background .18s}
.reference-call{width:47%;color:#fff;background:linear-gradient(100deg,#ff9700,#ff8400);border:3px solid transparent}
.reference-chat{width:40%;color:#fff;background:#01325e40;border:4px solid var(--hero-cyan);gap:12px;direction:rtl}
.reference-chat .icon{width:24px;height:24px;flex:none;color:var(--hero-cyan)}
.reference-cta:hover,.reference-header-call:hover{filter:brightness(1.08)}
.reference-chat:hover{filter:brightness(1.1)}
.reference-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:none;padding:20px var(--hero-gutter);min-height:clamp(100px,6.82vw,124px);background:linear-gradient(110deg,#03284f,#02234c);color:#fff}
.reference-benefits>div{display:flex;align-items:center;justify-content:center;gap:20px;border-left:1px solid var(--hero-cyan);min-width:0}
.reference-benefits>div:last-child{border-left:0}
.reference-benefit-icon{color:var(--hero-cyan);display:block;height:65px;width:80px;flex:none}
.reference-benefits strong{font-size:clamp(24px,2.27vw,40px);line-height:1.25;white-space:nowrap;font-weight:850;letter-spacing:-.5px}
.reference-hero a:focus-visible,.reference-header-call:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(min-width:901px) and (max-width:1300px){
 .site-header .header-inner{gap:20px}
 .site-header .header-inner .brand{width:230px}
 .site-header #main-nav{font-size:20px}
 .site-header #main-nav a{padding-inline:20px}
 .reference-header-call{width:165px;font-size:24px}
 .reference-hero-copy{width:44%}
 .reference-hero-copy h1{font-size:clamp(60px,5.74vw,76px)}
 .reference-hero-copy h1 span{font-size:clamp(42px,4.4vw,58px)}
 .reference-subtitle{font-size:clamp(22px,2.15vw,28px)}
 .reference-services span{font-size:clamp(16px,1.55vw,20px)}
 .reference-benefits{padding-inline:24px}
 .reference-benefits>div{gap:12px}
 .reference-benefits strong{font-size:clamp(20px,2.15vw,28px)}
 .reference-benefit-icon{width:60px;height:55px}
}
@media(max-width:900px){
 :root{--hero-gutter:16px}
 .site-header .header-inner{height:72px;gap:10px;padding-inline:16px}
 .site-header .header-inner .brand{width:clamp(150px,32vw,250px)}
 .site-header .menu-toggle{display:flex;order:0;margin-right:auto;padding:8px;gap:5px}
 .site-header .menu-toggle span{background:var(--hero-cyan)}
 .site-header #main-nav{display:none;position:absolute;inset:72px 0 auto;padding:24px;background:#032952;box-shadow:0 9px 15px #00152c40;font-size:22px}
 .site-header #main-nav.is-open{display:flex;flex-direction:column;gap:26px}
 .site-header #main-nav a{border:0;padding:0}
 .site-header #main-nav a.active:after{bottom:-9px;width:40px;height:3px}
 .reference-header-call{width:145px;height:43px;font-size:24px}
 .reference-hero{height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .reference-hero-copy{width:100%;margin:0;padding:28px 16px 30px;text-align:center}
 .reference-hero-copy h1{font-size:clamp(52px,9vw,72px);line-height:1.1;letter-spacing:-1px}
 .reference-hero-copy h1 span{font-size:clamp(30px,5.8vw,48px);line-height:1.2;letter-spacing:-.7px;white-space:normal}
 .reference-subtitle{font-size:clamp(19px,3.3vw,26px);margin-top:14px;white-space:normal}
 .reference-services{margin:25px auto 0;width:100%;gap:0}
 .reference-services a{min-height:92px;gap:7px}
 .reference-service-icon{color:var(--hero-cyan);height:56px;width:66px}
 .reference-services span{font-size:clamp(13px,2.5vw,19px);white-space:normal;padding-inline:4px}
 .reference-hero-actions{justify-content:center;gap:12px;margin-top:28px}
 .reference-cta{height:54px;font-size:clamp(23px,4.2vw,30px)}
 .reference-call{width:48%}
 .reference-chat{width:44%;border-width:3px}
 .reference-hero-photo{position:relative;inset:auto;order:2;width:100%;height:auto;aspect-ratio:985/725;z-index:0;mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 100%);margin-top:-18px}
 .reference-photo{aspect-ratio:985/725}
 .reference-benefits{min-height:105px;padding:14px 12px}
 .reference-benefits>div{flex-direction:column;gap:7px;text-align:center;padding-inline:5px}
 .reference-benefits strong{font-size:clamp(13px,2.3vw,19px);white-space:normal;letter-spacing:0}
 .reference-benefit-icon{height:40px;width:54px}
}
@media(max-width:390px){
 .site-header .header-inner{gap:6px;padding-inline:12px}
 .site-header .header-inner .brand{width:145px}
 .reference-header-call{width:112px;height:40px;font-size:20px}
 .site-header .menu-toggle{padding:5px}
 .reference-hero-copy{padding-inline:12px}
 .reference-hero-copy h1{font-size:52px}
 .reference-hero-copy h1 span{font-size:29px}
 .reference-subtitle{font-size:18px}
 .reference-services span{font-size:13px}
 .reference-cta{font-size:23px;height:51px}
}

/* Compact header requested after reviewing the first desktop implementation. */
.site-header .header-inner{height:76px;gap:clamp(20px,2.5vw,40px)}
.site-header .header-inner .brand{width:240px}
.site-header #main-nav{font-size:20px;flex:0 1 740px}
.site-header #main-nav a{padding-inline:clamp(12px,1.7vw,28px)}
.site-header #main-nav a.active:after{bottom:-11px;width:42px;height:3px}
.reference-header-call{width:166px;height:44px;font-size:23px}
@media(min-width:901px) and (max-width:1300px){
 .site-header .header-inner{height:72px;gap:18px}
 .site-header .header-inner .brand{width:205px}
 .site-header #main-nav{font-size:18px}
 .site-header #main-nav a{padding-inline:8px}
 .reference-header-call{width:150px;height:42px;font-size:21px}
}
@media(min-width:901px) and (max-width:1000px){
 .site-header .header-inner{gap:12px}
 .site-header .header-inner .brand{width:190px}
 .site-header #main-nav{font-size:17px}
 .site-header #main-nav a{padding-inline:6px}
 .reference-header-call{width:140px;font-size:20px}
}
@media(max-width:900px){
 .site-header .header-inner{height:66px;gap:10px}
 .site-header .header-inner .brand{width:clamp(145px,29vw,205px)}
 .site-header #main-nav{inset-block-start:66px;font-size:19px}
 .reference-header-call{width:128px;height:39px;font-size:20px}
}
@media(max-width:390px){
 .site-header .header-inner{height:64px;gap:6px}
 .site-header .header-inner .brand{width:140px}
 .site-header #main-nav{inset-block-start:64px}
 .reference-header-call{width:108px;height:37px;font-size:18px}
}

/* Keep the full-width canvas; size the hero contents individually, without scaling. */
@media(min-width:901px){
 .reference-hero{height:clamp(464px,34.688vw,656px)}
 .reference-hero-photo{width:clamp(630px,47.128vw,891.3px)}
 .reference-hero-copy{padding-top:clamp(21px,1.44vw,29px)}
 .reference-hero-copy h1{font-size:clamp(51px,4.592vw,80px);letter-spacing:-1.2px}
 .reference-hero-copy h1 span{font-size:clamp(38px,3.92vw,68px);letter-spacing:-1px}
 .reference-subtitle{font-size:clamp(20px,1.72vw,30px);margin-top:10px}
 .reference-services{width:72%;margin-top:clamp(22px,1.624vw,29px)}
 .reference-services a{min-height:clamp(78px,5.36vw,93px);gap:6px}
 .reference-service-icon{height:clamp(45px,3.52vw,59px);width:clamp(48px,4.64vw,80px)}
 .reference-services span{font-size:clamp(14px,1.28vw,22px)}
 .reference-hero-actions{gap:2.4%;margin-top:clamp(26px,2.576vw,46px)}
 .reference-cta{height:clamp(47px,3.824vw,66px);font-size:clamp(22px,1.92vw,34px)}
 .reference-call{width:37.6%;border-width:2px}
 .reference-chat{width:32%;border-width:3px}
 .reference-benefits{padding-block:16px;min-height:clamp(80px,5.456vw,100px)}
 .reference-benefits>div{gap:16px}
 .reference-benefits strong{font-size:clamp(19px,1.816vw,32px)}
 .reference-benefit-icon{height:52px;width:64px}
}
@media(min-width:901px) and (max-width:1300px){
 .reference-hero-copy h1{font-size:clamp(48px,4.592vw,61px)}
 .reference-hero-copy h1 span{font-size:clamp(34px,3.52vw,46px)}
 .reference-subtitle{font-size:clamp(18px,1.72vw,23px)}
 .reference-services span{font-size:clamp(13px,1.24vw,16px)}
 .reference-benefits strong{font-size:clamp(17px,1.72vw,23px)}
 .reference-benefit-icon{width:48px;height:44px}
}
@media(max-width:900px){
 .reference-hero-copy{padding-block:22px 24px}
 .reference-hero-copy h1{font-size:clamp(44px,7.4vw,60px)}
 .reference-hero-copy h1 span{font-size:clamp(26px,4.8vw,40px)}
 .reference-subtitle{font-size:clamp(18px,2.7vw,22px);margin-top:11px}
 .reference-services{margin-top:20px}
 .reference-services a{min-height:78px;gap:6px}
 .reference-service-icon{height:46px;width:54px}
 .reference-services span{font-size:clamp(13px,2.1vw,16px)}
 .reference-hero-actions{margin-top:22px;gap:10px}
 .reference-cta{height:46px;font-size:clamp(20px,3.5vw,25px)}
 .reference-hero-photo{height:clamp(215px,48vw,340px);aspect-ratio:auto;margin-top:-14px}
 .reference-photo{height:100%;aspect-ratio:auto}
 .reference-benefits{min-height:90px;padding-block:12px}
 .reference-benefit-icon{height:34px;width:46px}
 .reference-benefits strong{font-size:clamp(13px,2vw,16px)}
}
/* Match the service-page message action without changing the call button. */
.reference-hero .reference-chat{width:auto;min-width:170px;min-height:42px;height:auto;padding:9px 19px;border:2px solid #fff;border-radius:12px;background:#ffffff05;color:#fff;font-size:18px;line-height:1.2;gap:10px}
.reference-hero .reference-chat .icon{width:23px;height:23px;color:#fff}
@media(min-width:801px) and (max-width:1100px){.reference-hero .reference-chat{min-width:145px;font-size:17px;padding-inline:13px}}
@media(max-width:800px){.reference-hero .reference-chat{min-width:max-content;font-size:17px;padding-inline:16px}}
@media(max-width:360px){.reference-hero .reference-chat{font-size:16px;padding-inline:10px}}
@media(max-width:390px){
 .reference-hero-copy h1{font-size:44px}
 .reference-hero-copy h1 span{font-size:26px}
 .reference-services span{font-size:13px}
 .reference-cta{height:45px;font-size:20px}
}

/* One layout governs the photograph and copy so their separation cannot drift. */
.reference-hero-layout{display:contents}
.reference-hero-content{min-width:0}
.reference-hero-content h1,.reference-hero-content .reference-subtitle{text-align:center}
.reference-hero-content .reference-hero-actions{justify-content:center}
@media(min-width:901px){
 .reference-hero{height:auto;min-height:0}
 .reference-hero-layout{display:grid;direction:ltr;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(20px,1.5vw,28px);align-items:center;width:100%;padding:16px var(--hero-gutter)}
 .reference-hero-photo{position:relative;inset:auto;z-index:0;width:100%;max-width:760px;height:auto;aspect-ratio:985/725;justify-self:end}
 .reference-hero-photo{mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 88%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 3%,#000 97%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 88%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 3%,#000 97%,transparent 100%);-webkit-mask-composite:source-in}
 .reference-photo{height:100%}
 .reference-hero-copy{position:static;direction:rtl;width:100%;margin:0;padding:0;min-width:0}
 .reference-hero-content{width:min(100%,540px);margin-right:auto;margin-left:0}
 .reference-hero-copy h1{font-size:clamp(48px,3.8vw,68px);line-height:1.08}
 .reference-hero-copy h1 span{font-size:clamp(32px,3.1vw,54px);line-height:1.15;white-space:normal}
 .reference-subtitle{font-size:clamp(18px,1.25vw,23px);line-height:1.4;white-space:normal;margin-top:12px}
 .reference-service-icon{width:60px;height:48px}
 .reference-services{width:100%;margin-top:20px}
 .reference-services a{min-height:68px}
 .reference-services span{font-size:clamp(13px,1.05vw,18px);white-space:normal;text-align:center}
 .reference-hero-actions{width:100%;gap:12px;margin-top:22px}
 .reference-call{width:48%}
 .reference-chat{width:45%}
 .reference-cta{height:48px;font-size:clamp(20px,1.3vw,24px)}
}
@media(min-width:901px) and (max-width:1300px){
 .reference-hero-layout{padding-block:22px}
 .reference-hero-copy h1 span{white-space:normal}
 .reference-services{margin-top:18px}
 .reference-services a{min-height:74px}
 .reference-hero-actions{margin-top:22px}
 .reference-cta{height:50px;font-size:clamp(20px,1.9vw,25px)}
}

/* Continuous scene: edge-to-edge photography, tonal overlap and live content. */
.reference-hero{background:radial-gradient(ellipse at 42% 86%,#0a5072 0%,transparent 58%),linear-gradient(100deg,#174e68 0%,#083f62 43%,#043158 68%,#032952 100%)}
.reference-hero::after{content:'';position:absolute;inset:auto 0 0;height:22px;background:linear-gradient(transparent,#053252);pointer-events:none;z-index:2}
.reference-benefits{position:relative;background:linear-gradient(180deg,#053252 0%,#032b50 100%);border-top:1px solid #52d8e61c}
.reference-benefits>div{border-left-color:#48d3e23b}
@media(min-width:901px){
 .reference-hero{height:auto;min-height:clamp(414px,28.8vw,540px)}
 .reference-hero-layout{position:relative;display:grid;grid-template-columns:minmax(0,52fr) minmax(0,48fr);min-height:inherit;width:100%;padding:0;gap:0;align-items:center;direction:ltr}
 .reference-hero-photo{position:absolute;inset:0 auto 0 0;z-index:0;width:55%;max-width:none;height:100%;aspect-ratio:auto;margin:0;mask-image:linear-gradient(to right,#000 0%,#000 72%,rgba(0,0,0,.91) 82%,rgba(0,0,0,.44) 93%,transparent 100%);mask-composite:add;-webkit-mask-image:linear-gradient(to right,#000 0%,#000 72%,rgba(0,0,0,.91) 82%,rgba(0,0,0,.44) 93%,transparent 100%);-webkit-mask-composite:source-over}
 .reference-photo{display:block;width:100%;height:100%;aspect-ratio:auto}
 .reference-hero-copy{position:relative;grid-column:2;grid-row:1;z-index:1;align-self:stretch;display:grid;place-items:center;width:100%;min-width:0;margin:0;padding:36px var(--hero-gutter);direction:rtl;text-align:right}
 .reference-hero-content{width:min(100%,560px);margin-inline:auto}
 .reference-hero-copy h1{font-size:clamp(48px,3.7vw,66px);line-height:1.08;margin:0}
 .reference-hero-copy h1 span{font-size:clamp(32px,3vw,52px);line-height:1.15;white-space:normal}
 .reference-subtitle{font-size:clamp(18px,1.2vw,22px);line-height:1.4;margin:14px 0 0;white-space:normal}
 .reference-services{width:100%;margin:24px 0 0}
 .reference-services a{min-height:72px;gap:7px;border-left-color:#00d6ed55}
 .reference-service-icon{width:60px;height:48px}
 .reference-services span{font-size:clamp(13px,1.05vw,18px);line-height:1.25;white-space:normal;text-align:center}
 .reference-hero-actions{width:100%;margin:24px 0 0;gap:12px}
 .reference-call{width:48%}
 .reference-chat{width:45%;border-width:2px;background:#03295250}
 .reference-cta{height:48px;font-size:clamp(20px,1.3vw,24px)}
 .reference-benefits{min-height:84px;padding-block:15px}
 .reference-benefit-icon{width:54px;height:44px}
 .reference-benefits strong{font-size:clamp(18px,1.55vw,27px)}
}
@media(max-width:900px){
 .reference-hero-layout{display:flex;flex-direction:column;width:100%;min-width:0}
 .reference-hero-copy{order:0;width:100%;margin:0;padding:26px 20px 25px;z-index:1}
 .reference-hero-content{width:100%;margin:0}
 .reference-hero-photo{position:relative;inset:auto;order:1;width:100%;max-width:none;height:clamp(230px,58vw,360px);aspect-ratio:auto;margin:-16px 0 0;z-index:0;mask-image:linear-gradient(to bottom,transparent 0%,#000 14%,#000 96%,transparent 100%);mask-composite:add;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 14%,#000 96%,transparent 100%);-webkit-mask-composite:source-over}
 .reference-photo{width:100%;height:100%;aspect-ratio:auto}
 .reference-services a{border-left-color:#00d6ed55}
 .reference-benefits{min-height:88px;padding-block:13px}
 .reference-benefit-icon{height:34px;width:44px}
 .reference-benefits strong{font-size:clamp(13px,2vw,16px)}
}
