:root{--shell-pad:clamp(24px,6.25vw,108px);--shell-height:84px;--footer-width:1500px}
html{overflow-y:scroll}
header.armion-header{height:var(--shell-height);padding:0 var(--shell-pad);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:0;z-index:20}
.armion-header>.logo{width:137px;justify-self:start;filter:drop-shadow(0 2px 8px #05091388)}
.armion-header>.cloud-nav{justify-self:center;margin:0}
.armion-header>.controls{display:flex;justify-self:end;align-items:center;gap:15px}
.armion-header .controls .control{display:grid;place-items:center;min-width:40px;min-height:40px;padding:8px;border:0;background:none;color:var(--fg);font:700 12px/1.2 Arial,sans-serif;letter-spacing:.05em}
.armion-header .controls .control svg{display:block;width:19px;height:19px}
.armion-header .controls .cloud-mobile{display:none!important}
.armion-header .cloud-trigger,.armion-header .cloud-contact{font:500 13px/1.4 Arial,sans-serif}
.armion-home .armion-header{position:fixed;inset:0 0 auto}
.armion-page .armion-header{position:sticky;top:0;background:linear-gradient(180deg,#08101ee0,#0b1425ad);backdrop-filter:blur(9px);border-bottom:1px solid #a9c2df15}
html[data-theme=light] .armion-page .armion-header{background:linear-gradient(180deg,#283f5ce8,#334d69ba)}
@media(max-width:820px){header.armion-header{grid-template-columns:1fr auto}.armion-header>.controls{gap:5px}.armion-header .controls .cloud-mobile{display:inline-grid!important}.armion-header>.cloud-nav{justify-self:stretch}}
@media(max-width:650px){:root{--shell-height:68px}.armion-header>.logo{width:105px}.armion-header>.controls{gap:0}.armion-header .controls .control{min-width:33px;padding:5px}}
.shared-footer{position:relative;z-index:2;color:#f6f8fc;--line:#ffffff24;--accent:#d63b2e}
.shared-footer .footer-inner{width:100%;max-width:var(--footer-width);margin:0 auto;position:relative}
.shared-footer .footer-top,.earth-unified .shared-footer .footer-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.2fr) minmax(0,.85fr) minmax(0,1fr);gap:clamp(18px,3vw,48px);border-top:1px solid #ffffff20;padding:23px 0 20px}
.shared-footer .footer-brand .logo,.earth-unified .shared-footer .footer-brand .logo{width:clamp(140px,12vw,185px);display:block;max-width:100%}
.shared-footer .footer-brand .logo .arm{fill:#f6f8fc!important}.shared-footer .footer-brand .logo .ion{fill:#d63b2e!important}
.shared-footer .footer-brand p,.earth-unified .shared-footer .footer-brand p{font-size:12px;line-height:1.55;color:#b8bec7;margin-top:10px;max-width:250px}
.shared-footer .footer-nav,.shared-footer .footer-sky,.earth-unified .shared-footer .footer-nav,.earth-unified .shared-footer .footer-sky{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.shared-footer .meta{font:10px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;color:#a1afc4}
.shared-footer .footer-nav .meta,.shared-footer .footer-sky .meta{margin-bottom:5px;font-size:10px;letter-spacing:.13em}
.shared-footer .footer-nav a,.shared-footer .footer-sky a,.shared-footer .origin-link,.earth-unified .shared-footer .footer-nav a,.earth-unified .shared-footer .footer-sky a{font:400 12px/1.5 Arial,sans-serif;color:#dce5f1;background:none;border:0;padding:0;text-align:left;text-decoration:none;overflow-wrap:anywhere}
.shared-footer .footer-nav a:hover,.shared-footer .footer-sky a:hover,.shared-footer .origin-link:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.shared-footer .footer-bottom,.earth-unified .shared-footer .footer-bottom{display:flex;align-items:center;gap:22px;border-top:1px solid #ffffff20;padding-top:12px}
.shared-footer .footer-line{height:1px;flex:1;min-width:8px;background:linear-gradient(90deg,transparent,#d63b2e73,transparent)}
.shared-footer .footer-up{display:grid;place-items:center;width:34px;height:34px;border:1px solid #a8bbd244;border-radius:50%;flex-shrink:0;color:#f6f8fc}
.shared-footer .footer-up svg{width:19px;height:19px}.shared-footer .footer-up:hover{border-color:#d63b2e}
@media(max-width:850px){.shared-footer .footer-top,.earth-unified .shared-footer .footer-top{grid-template-columns:1fr 1fr;gap:22px 24px}.shared-footer .footer-brand{grid-column:auto}}
@media(max-width:650px){.shared-footer .footer-top,.earth-unified .shared-footer .footer-top{grid-template-columns:1fr 1fr;gap:20px 14px;padding:20px 0}.shared-footer .footer-brand{grid-column:1/-1}.shared-footer .footer-brand .logo,.earth-unified .shared-footer .footer-brand .logo{width:145px}.shared-footer .footer-bottom,.earth-unified .shared-footer .footer-bottom{gap:10px;padding-top:10px}.shared-footer .footer-bottom .meta{font-size:9px}.shared-footer .footer-nav a,.shared-footer .footer-sky a,.shared-footer .origin-link{min-height:24px}}
.armion-page{--panel:#101a2a;--blue:#7db7f0;--pad:var(--shell-pad);min-height:100svh;display:flex;flex-direction:column;isolation:isolate;position:relative;background:linear-gradient(155deg,#0b1220 6%,#1a2840 56%,#283349 100%);color:#f6f8fc}
.armion-page:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 72% 24%,#7c89aa24,transparent 52%),radial-gradient(1px 1px at 14% 22%,#dceaffb0 99%,transparent),radial-gradient(1px 1px at 81% 16%,#dceaff90 99%,transparent),radial-gradient(1px 1px at 61% 48%,#dceaff70 99%,transparent),radial-gradient(1px 1px at 28% 72%,#dceaff80 99%,transparent),radial-gradient(1.5px 1.5px at 91% 63%,#dceaff90 99%,transparent),radial-gradient(1px 1px at 43% 11%,#dceaff70 99%,transparent);opacity:.7}
html[data-theme=light] .armion-page{--panel:#283d56;--blue:#a4ceff;background:linear-gradient(155deg,#2f4967 0%,#49657f 47%,#65758b 78%,#34485b 100%)}
html[data-theme=light] .armion-page:before{background:radial-gradient(ellipse at 78% 12%,#c1d4eb39,transparent 55%),radial-gradient(ellipse at 18% 48%,#1d304840,transparent 55%),radial-gradient(ellipse at 87% 85%,#a4b5ca25,transparent 50%);opacity:1}
.armion-page>main{flex:1;width:min(var(--footer-width),calc(100% - var(--shell-pad)*2));max-width:none;margin:0 auto;padding:clamp(64px,9vh,120px) 0 clamp(76px,12vh,145px);position:relative;min-width:0}
.armion-page h1{font-size:clamp(48px,7.2vw,106px);font-weight:600;letter-spacing:-.06em;text-shadow:0 2px 18px #08101b30}
.armion-page .lede{line-height:1.65;max-width:65ch}.armion-page .service-grid{gap:0 clamp(28px,5vw,80px)}
.armion-page .service-grid h2,.armion-page .project h2{font-weight:600;letter-spacing:-.045em}
.armion-page .service-grid article,.armion-page .project{scroll-margin-top:calc(var(--shell-height) + 20px)}
.armion-page .frame{background:linear-gradient(145deg,#13203399,#263951aa);border-color:#c0d5ec30;backdrop-filter:blur(5px)}
.armion-page .contact-card{max-width:760px}.armion-page .page-cta{min-height:44px}
.armion-footer{position:relative;isolation:isolate;background:linear-gradient(180deg,#111a27 0%,#08090b 50%);padding:clamp(26px,4.2vh,48px) var(--shell-pad) 20px;color:#f6f8fc}
.armion-footer .shared-footer{padding:0;background:none}
.armion-page #origin-dialog{width:min(550px,calc(100% - 36px));background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:12px;padding:32px;box-shadow:0 30px 100px #0008}.armion-page #origin-dialog::backdrop{background:#050913b8;backdrop-filter:blur(8px)}
.armion-page .origin-top{display:flex;justify-content:space-between;align-items:center}.armion-page .origin-top .meta{font:10px/1.4 ui-monospace,monospace;letter-spacing:.13em;color:var(--muted)}.armion-page .origin-top button{font-size:26px;border:0;background:none;line-height:1;padding:7px}.armion-page #origin-dialog h2{font-size:clamp(30px,5vw,49px);margin:24px 0;letter-spacing:-.045em}.armion-page #origin-dialog p{font-size:15px;line-height:1.65;color:var(--muted);margin-bottom:18px}.armion-page #origin-dialog a{color:var(--blue);font-size:13px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:650px){.armion-page>main{padding:55px 0 72px}.armion-page h1{font-size:clamp(44px,11vw,65px);overflow-wrap:anywhere}.armion-page .service-grid{gap:0}.armion-footer{padding-top:29px;padding-bottom:18px}.armion-page #origin-dialog{padding:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

@media(max-width:650px){.shared-footer .footer-top>.footer-nav:nth-child(2){grid-column:1;grid-row:2 / span 2}.shared-footer .footer-top>.footer-nav:nth-child(3){grid-column:2;grid-row:2}.shared-footer .footer-top>.footer-sky{grid-column:2;grid-row:3;align-self:start}}

/* V47: shared legal links without changing the scene or footer columns. */
.shared-footer .footer-legal{display:flex;flex-wrap:wrap;gap:8px 24px;border-top:1px solid #ffffff20;padding:12px 0;align-items:center}.shared-footer .footer-legal a{font:400 12px/1.5 Arial,sans-serif;color:#c5d1df;text-decoration:none}.shared-footer .footer-legal a:hover,.shared-footer .footer-legal a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}@media(max-width:650px){.shared-footer .footer-legal{gap:7px 16px}.shared-footer .footer-legal a{font-size:11px;min-height:24px;display:inline-flex;align-items:center}}
