/* MAPLE LEAF FLEET — CELESTIAL GATEWAY HEADER
   Unified centred identity, pinned dropdown navigation and persistent support action. */
.celestial-header{position:fixed;top:0;left:0;right:0;z-index:100;display:block;padding:12px clamp(16px,3vw,42px);background:rgba(12,39,49,.92);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);border-bottom:1px solid rgba(216,184,121,.42);box-shadow:0 9px 35px rgba(3,18,25,.24);transition:background .35s,box-shadow .35s}
.celestial-header.scrolled{background:rgba(9,31,41,.97);box-shadow:0 13px 40px rgba(3,18,25,.42)}
.celestial-header .gateway-row{position:relative;width:min(1600px,100%);min-height:58px;margin:auto;display:flex;align-items:center;justify-content:flex-end;gap:14px}
.celestial-header .brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;text-decoration:none;white-space:nowrap}
.celestial-header .brand img{display:block;width:50px;height:50px;flex:0 0 50px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(226,197,139,.28))}
.celestial-header .brand-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;line-height:1.25}
.celestial-header .brand-title{display:block;font:600 15px 'Cinzel',serif;letter-spacing:.13em;color:#f0dba8;white-space:nowrap}
.celestial-header .brand-sub{display:block;margin-top:3px;font:600 9px 'Rajdhani',sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#c5d8ce;white-space:nowrap}
.celestial-header .gateway-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}
.celestial-header .gateway-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;background:linear-gradient(120deg,rgba(8,35,49,.97),rgba(22,68,68,.97));border:1px solid rgba(216,184,121,.72);color:#f0dba8;padding:11px 17px;font:700 13px 'Rajdhani',sans-serif;letter-spacing:.14em;cursor:pointer;clip-path:polygon(0 8px,8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px));transition:background .25s,box-shadow .25s}
.celestial-header .gateway-toggle:hover,.celestial-header .gateway-toggle:focus-visible,.celestial-header .gateway-toggle[aria-expanded="true"]{background:linear-gradient(120deg,rgba(20,65,76,.98),rgba(32,91,85,.98));box-shadow:0 0 18px rgba(117,213,202,.18);outline:2px solid rgba(117,213,202,.42);outline-offset:3px}
.celestial-header .gateway-chevron{display:inline-block;transition:transform .22s}.celestial-header .gateway-toggle[aria-expanded="true"] .gateway-chevron{transform:rotate(180deg)}
.celestial-header .gateway-nav{position:absolute;top:calc(100% + 9px);right:0;width:min(560px,calc(100vw - 32px));display:none;flex-direction:column;align-items:stretch;gap:3px;margin:0;padding:14px;background:linear-gradient(105deg,rgba(8,35,49,.985),rgba(22,68,68,.985) 48%,rgba(15,43,62,.985));border:1px solid rgba(216,184,121,.72);box-shadow:0 16px 40px rgba(2,17,25,.48),inset 0 0 28px rgba(117,213,202,.07);clip-path:polygon(0 13px,13px 0,calc(100% - 13px) 0,100% 13px,100% calc(100% - 13px),calc(100% - 13px) 100%,13px 100%,0 calc(100% - 13px))}
.celestial-header .gateway-nav.open{display:flex}
.celestial-header .gateway-nav:before,.celestial-header .gateway-nav:after{content:"";position:absolute;left:25px;right:25px;height:1px;background:linear-gradient(90deg,transparent,#e5c98e,transparent);opacity:.66;pointer-events:none}.celestial-header .gateway-nav:before{top:3px}.celestial-header .gateway-nav:after{bottom:3px}
.celestial-header .gateway-link{position:relative;z-index:1;display:flex;align-items:center;min-height:42px;padding:0 16px;color:#e4e9df;text-decoration:none;font:600 15px 'Rajdhani',sans-serif;letter-spacing:.065em;white-space:nowrap;transition:color .25s,background .25s}
.celestial-header .gateway-link:hover,.celestial-header .gateway-link:focus-visible{color:#f3dfb0;background:rgba(216,184,121,.10);outline:none}
.celestial-header .gateway-link.active{color:#f3dfb0;background:linear-gradient(90deg,rgba(216,184,121,.18),rgba(117,213,202,.08));box-shadow:inset 2px 0 #75d5ca}
.celestial-header .gateway-signal{display:block;flex:0 0 5px;width:5px;height:5px;margin:4px 16px;border-radius:50%;background:#75d5ca;box-shadow:0 0 10px #75d5ca;animation:gatewayPulse 2.8s ease-in-out infinite}
.celestial-header .gateway-support{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:12px 15px;color:#f4e5c2;text-decoration:none;border:1px solid #d8b879;background:linear-gradient(120deg,rgba(150,63,66,.62),rgba(176,138,75,.18));font:700 11px 'Rajdhani',sans-serif;letter-spacing:.09em;white-space:nowrap;transition:background .3s,box-shadow .3s,transform .3s}
.celestial-header .gateway-support:hover{background:linear-gradient(120deg,#a74749,#987746);box-shadow:0 0 23px rgba(216,184,121,.3);transform:translateY(-1px)}.celestial-header .gateway-star{font-size:16px;color:#f0dba8}
@keyframes gatewayPulse{50%{opacity:.38;box-shadow:0 0 3px #75d5ca}}
@media(max-width:760px){.celestial-header{padding:9px 12px}.celestial-header .gateway-row{min-height:52px;gap:8px}.celestial-header .brand{gap:8px}.celestial-header .brand img{width:42px;height:42px;flex-basis:42px}.celestial-header .brand-title{font-size:11px;letter-spacing:.07em}.celestial-header .brand-sub{font-size:7px;letter-spacing:.10em}.celestial-header .gateway-controls{gap:7px}.celestial-header .gateway-toggle{padding:10px 11px;font-size:10px;letter-spacing:.09em}.celestial-header .gateway-support{padding:10px 9px;font-size:9px;letter-spacing:.045em}.celestial-header .gateway-nav{right:0;width:min(420px,calc(100vw - 24px))}}
@media(max-width:430px){.celestial-header .gateway-row{min-height:48px}.celestial-header .brand{left:0;transform:translateY(-50%);gap:6px}.celestial-header .brand img{width:36px;height:36px;flex-basis:36px}.celestial-header .brand-title{font-size:9px;letter-spacing:.045em}.celestial-header .brand-sub{font-size:6px;letter-spacing:.06em}.celestial-header .gateway-controls{gap:5px}.celestial-header .gateway-toggle{padding:9px 8px;font-size:9px}.celestial-header .gateway-support{padding:9px 7px;font-size:8px}.celestial-header .gateway-star{font-size:12px}}
@media(prefers-reduced-motion:reduce){.celestial-header .gateway-signal{animation:none}.celestial-header .gateway-link,.celestial-header .gateway-support,.celestial-header .gateway-toggle{transition:none}}

/* FINAL HEADER REFINEMENT — emblem-only centred identity; persistent support action */
.celestial-header{min-height:82px;padding:10px clamp(14px,2.5vw,36px)}
.celestial-header .gateway-row{min-height:60px;justify-content:flex-end}
.celestial-header .brand{left:50%;top:50%;width:72px;height:72px;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}
.celestial-header .brand img.brand-emblem{display:block;width:68px;height:68px;max-width:68px;max-height:68px;object-fit:contain;flex:0 0 68px}
.celestial-header .brand-copy,.celestial-header .brand-title,.celestial-header .brand-sub{display:none!important}
.celestial-header .gateway-controls{position:relative;z-index:102;display:flex;align-items:center;gap:10px;margin-left:auto}
.celestial-header .gateway-support{position:relative;z-index:102;display:flex!important;visibility:visible!important;opacity:1!important}
.celestial-header .gateway-nav{z-index:103}
@media(max-width:760px){.celestial-header{min-height:68px;padding:7px 10px}.celestial-header .gateway-row{min-height:52px}.celestial-header .brand{left:50%;width:54px;height:54px;transform:translate(-50%,-50%)}.celestial-header .brand img.brand-emblem{width:52px;height:52px;max-width:52px;max-height:52px;flex-basis:52px}.celestial-header .gateway-controls{gap:6px}.celestial-header .gateway-toggle{padding:9px 10px;font-size:10px}.celestial-header .gateway-support{padding:9px 8px;font-size:8px;letter-spacing:.035em}}
@media(max-width:390px){.celestial-header .brand{width:44px;height:44px}.celestial-header .brand img.brand-emblem{width:43px;height:43px;max-width:43px;max-height:43px;flex-basis:43px}.celestial-header .gateway-controls{gap:4px}.celestial-header .gateway-toggle{padding:8px 7px;font-size:9px}.celestial-header .gateway-support{padding:8px 6px;font-size:7px}}


/* Persistent Support the Mission action: independent of the dropdown on every page. */
.celestial-header{position:fixed;isolation:isolate}
.celestial-header .gateway-support-fixed{position:absolute!important;z-index:110!important;right:clamp(14px,2.5vw,36px)!important;top:50%!important;transform:translateY(-50%)!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.celestial-header .gateway-support-fixed:hover{transform:translateY(calc(-50% - 1px))!important}
.celestial-header .gateway-controls{margin-right:clamp(210px,19vw,260px)!important}
.celestial-header .gateway-nav{z-index:120!important}
@media(max-width:760px){.celestial-header .gateway-support-fixed{right:10px!important;padding:9px 8px!important;font-size:8px!important;letter-spacing:.035em!important}.celestial-header .gateway-controls{margin-right:clamp(145px,39vw,190px)!important}.celestial-header .gateway-toggle{padding:9px 10px!important;font-size:10px!important}}
@media(max-width:390px){.celestial-header .gateway-support-fixed{right:7px!important;padding:8px 6px!important;font-size:7px!important}.celestial-header .gateway-controls{margin-right:130px!important}.celestial-header .gateway-toggle{padding:8px 7px!important;font-size:9px!important}}


/* APPROVED THREE-ZONE HEADER — Navigation left, emblem centred, Support right. */
.celestial-header{min-height:82px;padding:10px clamp(12px,2.2vw,32px);}
.celestial-header .gateway-row{position:relative;width:100%;min-height:60px;margin:0;display:block;}
.celestial-header .brand{position:absolute!important;left:50%!important;top:50%!important;width:72px!important;height:72px!important;min-width:0!important;margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.celestial-header .brand img.brand-emblem{display:block!important;width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important;flex:0 0 68px!important;object-fit:contain!important;}
.celestial-header .brand-copy,.celestial-header .brand-title,.celestial-header .brand-sub{display:none!important;}
.celestial-header .gateway-controls{position:absolute!important;left:0!important;right:auto!important;top:50%!important;z-index:112!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;margin:0!important;transform:translateY(-50%)!important;}
.celestial-header .gateway-toggle{white-space:nowrap;}
.celestial-header .gateway-nav{position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 9px)!important;z-index:120!important;width:min(560px,calc(100vw - 24px))!important;}
.celestial-header .gateway-support-fixed{position:absolute!important;right:0!important;left:auto!important;top:50%!important;z-index:113!important;transform:translateY(-50%)!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.celestial-header .gateway-support-fixed:hover{transform:translateY(calc(-50% - 1px))!important;}
@media(max-width:760px){
 .celestial-header{min-height:68px;padding:7px 10px!important;}
 .celestial-header .gateway-row{min-height:52px!important;}
 .celestial-header .brand{left:50%!important;width:54px!important;height:54px!important;}
 .celestial-header .brand img.brand-emblem{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;flex-basis:52px!important;}
 .celestial-header .gateway-toggle{padding:9px 10px!important;font-size:10px!important;letter-spacing:.08em!important;}
 .celestial-header .gateway-support-fixed{right:0!important;padding:9px 8px!important;font-size:8px!important;letter-spacing:.035em!important;}
}
@media(max-width:430px){
 .celestial-header{padding-left:7px!important;padding-right:7px!important;}
 .celestial-header .gateway-toggle{padding:8px 7px!important;font-size:8px!important;letter-spacing:.045em!important;}
 .celestial-header .gateway-support-fixed{padding:8px 6px!important;font-size:7px!important;letter-spacing:.015em!important;}
 .celestial-header .gateway-star{font-size:11px!important;}
 .celestial-header .brand{width:46px!important;height:46px!important;}
 .celestial-header .brand img.brand-emblem{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;flex-basis:44px!important;}
}
@media(prefers-reduced-motion:reduce){.celestial-header .gateway-toggle,.celestial-header .gateway-support-fixed{transition:none!important;}}

/* SITE-WIDE HEADER POSITION + CONTROL SIZE LOCK — applies identically on every page. */
.celestial-header .gateway-row{position:relative!important;width:100%!important;min-height:60px!important;}
.celestial-header .gateway-controls{position:absolute!important;left:0!important;right:auto!important;top:50%!important;bottom:auto!important;z-index:112!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;}
.celestial-header .gateway-controls .gateway-toggle{box-sizing:border-box!important;width:164px!important;min-width:164px!important;height:46px!important;min-height:46px!important;padding:0 14px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;letter-spacing:.12em!important;line-height:1!important;white-space:nowrap!important;}
.celestial-header .gateway-support-fixed{box-sizing:border-box!important;position:absolute!important;left:auto!important;right:24px!important;top:50%!important;bottom:auto!important;z-index:113!important;width:198px!important;min-width:198px!important;height:46px!important;min-height:46px!important;padding:0 12px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;letter-spacing:.075em!important;line-height:1!important;white-space:nowrap!important;transform:translateY(-50%)!important;}
.celestial-header .gateway-support-fixed:hover{transform:translateY(calc(-50% - 1px))!important;}
@media(max-width:760px){
 .celestial-header .gateway-row{min-height:52px!important;}
 .celestial-header .gateway-controls .gateway-toggle{width:126px!important;min-width:126px!important;height:40px!important;min-height:40px!important;padding:0 8px!important;font-size:10px!important;letter-spacing:.075em!important;}
 .celestial-header .gateway-support-fixed{right:12px!important;width:154px!important;min-width:154px!important;height:40px!important;min-height:40px!important;padding:0 6px!important;font-size:8px!important;letter-spacing:.025em!important;}
}
@media(max-width:430px){
 .celestial-header .gateway-controls .gateway-toggle{width:112px!important;min-width:112px!important;height:36px!important;min-height:36px!important;padding:0 5px!important;font-size:9px!important;letter-spacing:.035em!important;}
 .celestial-header .gateway-support-fixed{right:7px!important;width:136px!important;min-width:136px!important;height:36px!important;min-height:36px!important;padding:0 4px!important;font-size:7px!important;letter-spacing:0!important;}
}
