:root {
    --bg: #0b0e13;
    --bg-rgb: 11, 14, 19;
    --bg-soft: #0f141b;
    --surface: #11171f;
    --surface-2: #151c25;
    --text: #f4f2ea;
    --muted: #99a2ad;
    --muted-2: #69737e;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .2);
    --accent: #f6d94d;
    --accent-rgb: 246, 217, 77;
    --accent-ink: #11151a;
    --signal: #4af0d5;
    --signal-rgb: 74, 240, 213;
    --contact-bg: #f0eee5;
    --contact-text: #11151a;
    --shadow: 0 32px 100px rgba(0, 0, 0, .36);
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #f6f8fc;
    --bg-rgb: 246, 248, 252;
    --bg-soft: #eef3fb;
    --surface: #ffffff;
    --surface-2: #edf3ff;
    --text: #0a1d3d;
    --muted: #5f6f86;
    --muted-2: #8996a8;
    --line: rgba(18, 56, 112, .14);
    --line-strong: rgba(18, 56, 112, .25);
    --accent: #0d62ff;
    --accent-rgb: 13, 98, 255;
    --accent-ink: #ffffff;
    --signal: #0d62ff;
    --signal-rgb: 13, 98, 255;
    --contact-bg: linear-gradient(135deg, #f7faff 0%, #e8f1ff 55%, #dceaff 100%);
    --contact-text: #102746;
    --shadow: 0 30px 80px rgba(33, 73, 132, .16);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif; text-rendering: optimizeLegibility; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

.site-shell { min-height: 100vh; overflow: hidden; position: relative; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 50% 0/96px 96px, linear-gradient(var(--line) 1px, transparent 1px) 50% 0/96px 96px, radial-gradient(circle at 70% 11%, rgba(var(--signal-rgb), .09), transparent 28%), var(--bg); }
.ambient { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .14; pointer-events: none; }
.ambient-one { width: 420px; height: 420px; background: var(--accent); top: 20rem; left: -20rem; }
.ambient-two { width: 360px; height: 360px; background: var(--signal); top: 70rem; right: -15rem; }

.site-header { width: min(1380px, calc(100% - 64px)); margin: 0 auto; height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.brand-cluster { min-width: 0; display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 5px; font-weight: 900; letter-spacing: -.06em; font-size: 1.2rem; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--accent-ink); background: var(--accent); border-radius: 50%; letter-spacing: 0; }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin: -14px 0 0 3px; box-shadow: 0 0 14px var(--signal); }
.brand-divider { width: 1px; height: 28px; flex: 0 0 auto; background: var(--line-strong); }
.ella-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; width: max-content; padding: 3px 0; line-height: 1; }
.ella-wordmark { position: relative; display: inline-flex; align-items: baseline; padding: 0 3px 7px 1px; font-family: "Bodoni MT", "Bodoni 72", Didot, Baskerville, Georgia, serif; font-size: 1.34rem; font-style: italic; font-weight: 600; letter-spacing: 0; line-height: .7; }
.ella-wordmark::after { content: ""; position: absolute; left: 2px; right: 0; bottom: 0; height: 5px; border-top: 1px solid var(--accent); border-radius: 50%; transform: rotate(-2deg) skewX(-18deg); box-shadow: 0 -3px 12px rgba(var(--accent-rgb), .16); }
.ella-wordmark > span { display: inline-block; transform-origin: center bottom; }
.ella-wordmark .ella-e { color: var(--accent); transform: scaleX(1.12) translateY(.02em); text-shadow: 0 0 14px rgba(var(--accent-rgb), .2); }
.ella-wordmark .ella-l-one { margin-left: .02em; transform: translateY(-.055em) rotate(-1.5deg); }
.ella-wordmark .ella-l-two { margin-left: -.1em; transform: translateY(.02em) rotate(1.5deg); }
.ella-wordmark .ella-a { margin-left: -.045em; transform: scaleX(1.08) translateY(-.015em); }
.ella-brand small { align-self: stretch; padding-left: .2em; color: var(--muted-2); font: 600 .4rem/1 Consolas, monospace; letter-spacing: .28em; text-align: center; white-space: nowrap; }
.site-header nav { display: flex; gap: 34px; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.site-header nav a { transition: color .25s ease; }
.site-header nav a:hover { color: var(--accent); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .2s, background-color .2s; }
.theme-toggle:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.theme-sun, .theme-moon { grid-area: 1 / 1; transition: transform .25s, opacity .25s; }
:root[data-theme="dark"] .theme-moon { opacity: 0; transform: rotate(-35deg) scale(.5); }
:root[data-theme="light"] .theme-sun { opacity: 0; transform: rotate(35deg) scale(.5); }
.portal-link { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 99px; transition: .25s ease; }
.portal-link:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.mobile-menu { display: none; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.15rem; }

.hero { width: min(1380px, calc(100% - 64px)); margin: 0 auto; min-height: 730px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--muted); font: 600 .7rem/1 Consolas, monospace; letter-spacing: .14em; }
.eyebrow > span { width: 28px; height: 1px; background: var(--accent); }
.hero h1, .section-heading h2, .solutions-copy h2, .contact-intro h2 { margin: 0; font-weight: 650; letter-spacing: -.065em; line-height: .96; }
.hero h1 { font-size: clamp(4rem, 7.15vw, 7.2rem); }
.hero h1 em, .contact-intro h2 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { width: min(580px, 90%); margin: 32px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.primary-cta { display: inline-flex; align-items: center; gap: 28px; padding: 15px 17px 15px 20px; border-radius: 3px; background: var(--accent); color: var(--accent-ink); font-size: .84rem; font-weight: 700; }
.primary-cta span, .text-cta span { transition: transform .25s ease; }
.primary-cta:hover span { transform: translateX(5px); }
.text-cta { color: var(--text); display: inline-flex; align-items: center; gap: 8px; font-size: .83rem; }
.text-cta:hover span { transform: translate(3px, 3px); }

.hero-console { min-height: 540px; padding: 24px 28px 22px; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(var(--accent-rgb), .035), rgba(var(--bg-rgb), .15)), var(--surface); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); box-shadow: var(--shadow); position: relative; }
.hero-console::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; }
.console-topline { display: flex; justify-content: space-between; color: var(--muted-2); font: 600 .62rem/1 Consolas, monospace; letter-spacing: .12em; }
.live-indicator { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.live-indicator i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); animation: pulse 1.8s infinite; }
.space-console { cursor: crosshair; }
.space-stage { --flight-left: -185px; --flight-right: 220px; height: 400px; position: relative; display: grid; place-items: center; overflow: hidden; }
.star-field { position: absolute; inset: 8% 4%; opacity: .55; background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 72%, transparent) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(var(--signal-rgb), .62) 0 1px, transparent 1.7px); background-position: 0 0, 28px 36px; background-size: 73px 67px, 101px 89px; mask-image: radial-gradient(circle, #000, transparent 72%); animation: starDrift 18s linear infinite; }
.orbital { width: 100%; height: 100%; position: relative; display: grid; place-items: center; transform: perspective(900px) rotateX(var(--space-x, 0deg)) rotateY(var(--space-y, 0deg)); transform-style: preserve-3d; transition: transform .18s ease-out; }
.orbit { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.orbit-one { width: 320px; height: 320px; animation: rotate 22s linear infinite; }
.orbit-one::before { left: 52px; top: 20px; }
.orbit-one::after { right: -2px; top: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.orbit-two { width: 244px; height: 244px; border-style: dashed; animation: rotateReverse 16s linear infinite; }
.orbit-two::before { right: 38px; bottom: 17px; }
.orbit-two::after { left: -2px; top: 50%; }
.orbit-three { width: 166px; height: 166px; border-color: rgba(var(--accent-rgb), .3); }
.planet { position: absolute; display: block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .75); }
.planet-one { width: 13px; height: 13px; top: 29px; left: 46px; }
.planet-two { width: 9px; height: 9px; right: 25px; bottom: 34px; background: var(--signal); box-shadow: 0 0 14px rgba(var(--signal-rgb), .8); }
.planet-three { width: 7px; height: 7px; left: -4px; top: 50%; background: #9dbbff; box-shadow: 0 0 12px rgba(157, 187, 255, .8); }
.rocket-track { width: 356px; height: 356px; position: absolute; border-radius: 50%; animation: rocketOrbit 13s linear infinite; }
.rocket { position: absolute; top: 48%; right: -11px; display: grid; place-items: center; font-size: 1.45rem; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .75)); transform: rotate(-2deg); }
.rocket::after { content: ""; position: absolute; width: 18px; height: 3px; right: 21px; bottom: 3px; border-radius: 50%; background: linear-gradient(90deg, transparent, var(--signal)); filter: blur(1px); animation: rocketFlare .8s ease-in-out infinite alternate; }
.is-boosted .rocket-track { animation-duration: 3.5s; }
.is-boosted .orbit-one { animation-duration: 8s; }
.is-boosted .core { box-shadow: inset 0 0 38px rgba(var(--accent-rgb), .17), 0 0 62px rgba(var(--accent-rgb), .22); }
.core { width: 116px; height: 116px; padding: 0; color: inherit; font: inherit; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid rgba(var(--accent-rgb), .65); background: rgba(var(--accent-rgb), .08); border-radius: 50%; box-shadow: inset 0 0 30px rgba(var(--accent-rgb), .1), 0 0 40px rgba(var(--accent-rgb), .08); transition: box-shadow .25s ease, transform .25s ease; }
.core:hover { transform: scale(1.05); }
.core-scan { color: var(--accent); line-height: 1; }
.core strong { font-size: 2.2rem; line-height: 1; font-weight: 900; letter-spacing: -.08em; }
.core .core-wordmark { margin: 0 0 0 .08em; padding-bottom: 9px; font-family: "Bodoni MT", "Bodoni 72", Didot, Baskerville, Georgia, serif; font-size: 1.72rem; font-style: italic; font-weight: 600; letter-spacing: 0; line-height: .7; }
.core .core-wordmark::after { left: 3px; right: 1px; border-color: var(--accent); box-shadow: 0 -3px 13px rgba(var(--accent-rgb), .25); }
.core small { margin-top: 7px; color: var(--muted); font: 600 .48rem/1 Consolas, monospace; letter-spacing: .16em; }
.core .core-byline { margin-top: 6px; padding-left: .2em; font-size: .4rem; letter-spacing: .24em; }
.flight-console { position: absolute; z-index: 7; top: 28px; right: 8px; width: 174px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: #43ef89; font: 600 .56rem/1.15 Consolas, monospace; letter-spacing: .08em; text-shadow: 0 0 12px rgba(67, 239, 137, .3); pointer-events: none; }
.flight-console small { margin-bottom: 5px; color: var(--muted-2); font-size: .48rem; }
.flight-console span { color: var(--muted-2); font-size: .48rem; }
.flight-console span b { color: inherit; }
.flight-console strong { min-height: 14px; font-size: .62rem; }
.flight-security-tag { margin-top: 2px; padding: 6px 0 4px 8px; color: var(--muted); border-left: 2px solid #43ef89; font-size: .46rem; font-style: normal; line-height: 1.7; letter-spacing: .13em; animation: securityTagIn .45s ease-out both; }
.flight-security-tag b { color: #43ef89; font-size: .58rem; }
.flight-security-tag[hidden] { display: none; }
.launch-pad { position: absolute; z-index: 4; left: 50%; bottom: 7px; width: 78px; height: 18px; transform: translateX(-50%); border-bottom: 2px solid rgba(var(--accent-rgb), .45); }
.launch-pad::before, .launch-pad::after { content: ""; position: absolute; bottom: 0; width: 1px; height: 14px; background: rgba(var(--accent-rgb), .35); }
.launch-pad::before { left: 16px; transform: rotate(28deg); }.launch-pad::after { right: 16px; transform: rotate(-28deg); }
.launch-pad i { position: absolute; bottom: -3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.launch-pad i:nth-child(1) { left: 6px; }.launch-pad i:nth-child(2) { left: 37px; }.launch-pad i:nth-child(3) { right: 6px; }
.mission-rocket { position: absolute; z-index: 8; left: calc(50% - 15px); bottom: 19px; width: 30px; height: 30px; display: grid; place-items: center; font-size: 1.5rem; filter: drop-shadow(0 0 9px rgba(var(--accent-rgb), .8)); transform-origin: center; }
.mission-rocket > i { display: block; font-style: normal; line-height: 1; transform: rotate(-45deg); }
.mission-rocket::after { content: ""; position: absolute; left: 11px; top: 24px; width: 7px; height: 0; border-radius: 50%; background: linear-gradient(var(--accent), var(--signal), transparent); filter: blur(1px); opacity: 0; }
.mission-rocket.is-flying { animation: flightMission 19s cubic-bezier(.45, .03, .25, 1) forwards; }
.mission-rocket.is-flying::after { height: 28px; opacity: 1; animation: missionFlare .24s ease-in-out infinite alternate; }
.mission-rocket.mission-03.is-flying { animation: flightMissionLost 16.5s cubic-bezier(.42, .02, .2, 1) forwards; }
.mission-rocket.mission-04.is-flying { animation: flightMissionCrash 12.5s cubic-bezier(.42, .03, .4, 1) forwards; }
.mission-rocket.mission-05.is-flying { animation: flightMissionSpiral 12.5s cubic-bezier(.42, .03, .45, 1) forwards; }
.mission-rocket.mission-06.is-flying { animation: flightMissionDrop 12.5s cubic-bezier(.42, .03, .45, 1) forwards; }
.mission-rocket.mission-09.is-flying { animation: flightMissionProtected 21s cubic-bezier(.45, .03, .25, 1) forwards; }
.mission-rocket.is-hit { opacity: 0; transition: opacity .08s linear; }
.intruder-ship { position: absolute; z-index: 9; top: 34%; right: -72px; opacity: 0; font-size: 2rem; filter: drop-shadow(0 0 12px rgba(var(--signal-rgb), .7)); pointer-events: none; }
.intruder-ship::after { content: ""; position: absolute; right: 24px; top: 22px; width: 95px; height: 2px; opacity: 0; transform: rotate(164deg); transform-origin: right center; background: linear-gradient(90deg, transparent, var(--accent)); box-shadow: 0 0 8px var(--accent); }
.intruder-ship.is-attacking { animation: intruderAttack 7.5s ease-in-out forwards; }
.intruder-ship.is-attacking::after { animation: intruderLaser 7.5s linear forwards; }
.mission-impact { position: absolute; z-index: 11; left: calc(50% + 105px); bottom: 72px; opacity: 0; color: var(--accent); font-size: 3.3rem; line-height: 1; text-shadow: 0 0 9px var(--accent), 0 0 28px #ff7043; pointer-events: none; }
.mission-impact.is-crash { left: calc(50% - 26px); bottom: 12px; }
.mission-impact.is-active { animation: impactFlash 1.65s ease-out forwards; }
.orbit-one.shield-active { border: 2px solid rgba(var(--signal-rgb), .9); box-shadow: 0 0 18px rgba(var(--signal-rgb), .55), inset 0 0 34px rgba(var(--signal-rgb), .11); animation: shieldPulse 1.05s ease-in-out infinite; }
.shield-fleet { --shield-radius: 160px; position: absolute; inset: 0; z-index: 9; overflow: hidden; pointer-events: none; }
.shield-attack { position: absolute; left: 50%; top: 50%; width: 0; height: 0; opacity: 0; transform: rotate(var(--attack-angle)); transform-origin: 0 0; }
.shield-beam { position: absolute; left: var(--shield-radius); top: -1px; width: var(--beam-length); height: 2px; opacity: 0; transform-origin: left center; background: linear-gradient(90deg, #fff 0, var(--attack-color) 12%, var(--attack-color) 68%, transparent 100%); box-shadow: 0 0 5px #fff, 0 0 14px var(--attack-color); }
.shield-beam::after { content: ""; position: absolute; left: 0; top: -2px; width: 15px; height: 6px; border-radius: 50%; background: #fff; filter: blur(2px); box-shadow: 0 0 16px 5px var(--attack-color); }
.shield-impact { position: absolute; left: calc(var(--shield-radius) - 6px); top: -6px; width: 12px; height: 12px; opacity: 0; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 8px #fff, 0 0 18px 6px var(--attack-color), 0 0 34px 10px var(--signal); }
.shield-impact::before, .shield-impact::after { content: ""; position: absolute; inset: -7px; border: 1px solid #fff; border-radius: 50%; }
.shield-impact::after { inset: -13px; border-color: var(--signal); }
.shield-sparks { position: absolute; left: var(--shield-radius); top: 0; width: 3px; height: 3px; opacity: 0; border-radius: 50%; background: #fff; box-shadow: 18px 0 var(--attack-color), -17px 5px var(--signal), 8px 17px #fff, -7px -18px var(--attack-color), 15px -12px var(--accent), -14px 15px #fff; }
.shield-sparks::before, .shield-sparks::after { content: ""; position: absolute; left: -22px; top: -1px; width: 45px; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); }
.shield-sparks::after { transform: rotate(90deg); }
.shield-fleet.is-attacking .shield-attack { opacity: 1; }
.shield-fleet.is-attacking .shield-beam { animation: shieldBeamStrike 1.25s cubic-bezier(.18,.75,.15,1) var(--attack-delay) both; }
.shield-fleet.is-attacking .shield-impact { animation: shieldImpactBurst 1.35s ease-out var(--attack-delay) both; }
.shield-fleet.is-attacking .shield-sparks { animation: shieldSparkBurst 1.15s ease-out var(--attack-delay) both; }
.launch-controls { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.core-caption { display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted-2); font: 600 .58rem/1 Consolas, monospace; letter-spacing: .15em; }
.core-caption span { width: 40px; height: 1px; background: var(--line-strong); }
.core-caption b { font: inherit; }
.launch-button { min-width: 176px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; color: var(--accent-ink); border: 1px solid var(--accent); background: var(--accent); font: 700 .62rem/1 Consolas, monospace; letter-spacing: .09em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.launch-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--accent-rgb), .16); }
.launch-button:disabled { cursor: wait; opacity: .55; }
.launch-button b { font: inherit; }
.space-dialog { width: min(1080px, 96vw); height: min(760px, 91vh); max-width: none; max-height: none; padding: 0; color: var(--text); border: 0; background: transparent; overflow: visible; }
.space-dialog::backdrop { background: rgba(3, 6, 12, .82); backdrop-filter: blur(18px); }
.space-dialog-panel { width: 100%; height: 100%; padding: 27px 30px 22px; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(var(--accent-rgb), .04), transparent 38%), var(--bg); box-shadow: var(--shadow); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.space-dialog-head { position: relative; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.space-dialog-head p { margin: 0 0 8px; color: var(--muted-2); font: 600 .6rem/1 Consolas, monospace; letter-spacing: .14em; }
.space-dialog-head h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.25rem); letter-spacing: -.04em; }
.space-dialog-head button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.space-dialog-head button:hover { color: var(--accent); border-color: var(--accent); }
.space-map { height: calc(100% - 104px); min-height: 470px; margin-top: 16px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at center, rgba(var(--signal-rgb), .06), transparent 45%); }
.space-map .star-field { inset: 0; }
.map-system { position: absolute; inset: 0; display: grid; place-items: center; transform: perspective(1100px) rotateX(var(--space-x, 0deg)) rotateY(var(--space-y, 0deg)); transform-style: preserve-3d; transition: transform .18s ease-out; }
.map-orbit { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; }
.map-orbit-one { width: min(650px, 72vw); height: min(650px, 72vw); animation: rotate 38s linear infinite; }
.map-orbit-two { width: min(470px, 53vw); height: min(470px, 53vw); border-style: dashed; animation: rotateReverse 28s linear infinite; }
.map-orbit-three { width: min(285px, 33vw); height: min(285px, 33vw); border-color: rgba(var(--accent-rgb), .28); animation: rotate 22s linear infinite; }
.map-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; color: var(--muted); font: 600 .55rem/1 Consolas, monospace; letter-spacing: .1em; }
.map-node span { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px rgba(var(--accent-rgb), .72); animation: nodePulse 2.2s ease-in-out infinite; }
.node-nav { left: 13%; top: 23%; }.node-gempos { right: 12%; top: 27%; }.node-mobile { right: 17%; bottom: 18%; }.node-custom { left: 20%; bottom: 17%; }.node-it { left: 9%; top: 55%; }.node-support { right: 8%; top: 56%; }
.node-mobile span, .node-it span { background: var(--signal); box-shadow: 0 0 16px rgba(var(--signal-rgb), .7); }
.node-custom span, .node-support span { background: #9dbbff; box-shadow: 0 0 16px rgba(157, 187, 255, .7); }
.rocket-track-large { width: min(590px, 66vw); height: min(590px, 66vw); }
.space-dialog-panel.is-boosted .rocket-track-large { animation-duration: 4.2s; }
.map-core { position: relative; z-index: 6; width: 132px; height: 132px; }
.space-map-hint { margin: 12px 0 0; text-align: center; color: var(--muted-2); font: 600 .56rem/1 Consolas, monospace; letter-spacing: .11em; }

.signal-strip { min-height: 78px; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 70px); border-block: 1px solid var(--line); background: rgba(var(--bg-rgb), .45); color: var(--muted-2); font: 600 .59rem/1 Consolas, monospace; letter-spacing: .13em; white-space: nowrap; }
.signal-strip i { width: 4px; height: 4px; background: var(--accent); transform: rotate(45deg); }
.ella-statement span { display: inline-flex; align-items: baseline; color: var(--muted); }
.ella-statement strong { margin-right: 1px; color: var(--accent); font-size: .82rem; }

.services-section, .solutions-section, .contact-section { width: min(1380px, calc(100% - 64px)); margin: 0 auto; }
.services-section { padding: 150px 0 160px; }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; column-gap: 70px; align-items: end; margin-bottom: 66px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .solutions-copy h2, .contact-intro h2 { font-size: clamp(3rem, 5vw, 5.25rem); }
.section-heading > p:last-child, .solutions-copy > p { max-width: 520px; color: var(--muted); line-height: 1.8; margin: 0 0 5px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { min-height: 248px; position: relative; padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(255,255,255,.006)); box-shadow: 0 18px 50px rgba(0,0,0,.08); transition: border-color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease; }
.service-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 74px; height: 2px; background: var(--accent); opacity: .72; transition: width .3s ease; }
.service-card:hover { border-color: rgba(var(--accent-rgb), .36); background: linear-gradient(145deg, rgba(var(--accent-rgb), .075), rgba(255,255,255,.012)); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.service-card:hover::before { width: 118px; }
.service-card-top { display: flex; justify-content: space-between; color: var(--muted-2); font: 600 .62rem/1 Consolas, monospace; }
.service-card-top b { display: grid; place-items: center; width: 38px; height: 38px; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .22); background: rgba(var(--accent-rgb), .055); font-size: 1.18rem; font-weight: 400; }
.service-card h3 { margin: 38px 0 12px; font-size: 1.34rem; letter-spacing: -.03em; }
.service-card p { width: calc(100% - 22px); margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.58; }
.card-arrow { position: absolute; bottom: 24px; right: 26px; color: var(--muted-2); transition: .25s ease; }
.service-card:hover .card-arrow { color: var(--accent); transform: translate(3px, -3px); }

.solutions-section { padding: 10px 0 160px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }
.solutions-copy { position: sticky; top: 40px; align-self: start; }
.solutions-copy > p { margin-top: 28px; }
.solution-meta { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 15px; }
.meta-icon { color: var(--signal); font-size: 1.5rem; }
.solution-meta div { display: flex; flex-direction: column; gap: 4px; }
.solution-meta strong { font-size: .82rem; }
.solution-meta div span { color: var(--muted-2); font: .6rem/1 Consolas, monospace; letter-spacing: .08em; }
.solution-list { border-top: 1px solid var(--line); }
.solution-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 22px; align-items: center; min-height: 126px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.solution-row:hover { padding-inline: 16px; background: rgba(var(--accent-rgb), .04); }
.solution-row > span { color: var(--muted-2); font: 600 .6rem/1 Consolas, monospace; }
.solution-row div { display: flex; flex-direction: column; gap: 7px; }
.solution-row strong { font-size: 1.2rem; letter-spacing: -.02em; }
.solution-row small { color: var(--muted); }
.solution-row b { color: var(--accent); font-weight: 400; }

.contact-section { margin-bottom: 90px; padding: 78px; background: var(--contact-bg); color: var(--contact-text); display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; position: relative; overflow: hidden; }
.contact-section::after { content: "3"; position: absolute; right: -10px; bottom: -110px; font-size: 24rem; font-weight: 900; color: rgba(0, 0, 0, .045); pointer-events: none; }
:root[data-theme="light"] .contact-section { border: 1px solid rgba(50,116,217,.14); box-shadow: 0 24px 65px rgba(33,73,132,.1); }
:root[data-theme="light"] .contact-section::after { color: rgba(50,116,217,.055); }
:root[data-theme="light"] .flight-console { color: var(--accent); text-shadow: none; }
:root[data-theme="light"] .flight-security-tag { color: var(--muted); border-left-color: var(--accent); }
:root[data-theme="light"] .flight-security-tag b { color: var(--accent); }
.contact-section .eyebrow { color: currentColor; opacity: .65; }
.contact-section .eyebrow > span { background: currentColor; }
.contact-intro h2 em { color: var(--accent); }
:root[data-theme="light"] .contact-intro h2 em { color: #2364c7; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.contact-actions { position: relative; z-index: 2; border-top: 1px solid currentColor; }
.contact-action { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 95px; border-bottom: 1px solid currentColor; }
.contact-actions, .contact-action { border-color: color-mix(in srgb, currentColor 20%, transparent); }
.contact-action > span { grid-column: 1 / -1; margin-bottom: -25px; opacity: .58; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-action strong { font-size: 1.15rem; }
.contact-action b { font-weight: 400; transition: transform .25s ease; }
.contact-action:hover b { transform: translate(4px, -4px); }
.accent-action strong { color: var(--accent); }
:root[data-theme="light"] .accent-action strong { color: #2364c7; }

footer { width: min(1380px, calc(100% - 64px)); margin: 0 auto; min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .68rem; }
footer p:last-child { justify-self: end; }
.footer-brand { color: var(--text); }

/* Authentication */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--bg); }
.auth-visual { position: relative; overflow: hidden; padding: 54px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/72px 72px, linear-gradient(var(--line) 1px, transparent 1px) 0 0/72px 72px, var(--bg-soft); border-right: 1px solid var(--line); }
.auth-visual h1 { max-width: 700px; margin: 0; font-size: clamp(3.2rem, 6vw, 6.7rem); letter-spacing: -.065em; line-height: .95; }
.auth-visual h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.auth-visual p { max-width: 520px; color: var(--muted); line-height: 1.75; }
.auth-core { position: absolute; right: -95px; top: 50%; width: 350px; height: 350px; border: 1px solid var(--line-strong); border-radius: 50%; transform: translateY(-50%); box-shadow: inset 0 0 0 55px rgba(var(--accent-rgb), .025), inset 0 0 0 110px rgba(var(--accent-rgb), .025); }
.auth-core::before { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 45px rgba(var(--accent-rgb), .45); }
.auth-panel { display: grid; place-items: center; padding: 34px; background: var(--surface); }
.auth-card { width: min(470px, 100%); }
.auth-top { display: flex; justify-content: flex-end; margin-bottom: 60px; }
.auth-card h2 { margin: 0; font-size: 2.35rem; letter-spacing: -.045em; }
.auth-card > p { color: var(--muted); line-height: 1.65; }

/* Forms and shared UI */
.form-stack { display: grid; gap: 19px; margin-top: 32px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .75rem; color: var(--muted); }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--bg); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.input, .select { height: 48px; padding: 0 14px; }
.textarea { min-height: 150px; resize: vertical; padding: 13px 14px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 3px; padding: 0 20px; background: var(--accent); color: var(--accent-ink); font-size: .82rem; font-weight: 700; cursor: pointer; transition: filter .2s, transform .2s; }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.button-small { min-height: 35px; padding: 0 12px; font-size: .72rem; }
.notice { margin: 20px 0; padding: 13px 15px; border: 1px solid var(--line); font-size: .82rem; line-height: 1.55; }
.notice-success { border-color: rgba(var(--signal-rgb), .35); background: rgba(var(--signal-rgb), .07); color: var(--signal); }
.notice-error { border-color: rgba(235, 80, 92, .34); background: rgba(235, 80, 92, .07); color: #e96a76; }
.helper { color: var(--muted-2); font-size: .72rem; line-height: 1.5; }

/* Portal */
.portal-shell { min-height: 100vh; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/110px 110px, var(--bg); }
.portal-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 270px; padding: 25px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px); }
.portal-ella-brand .ella-wordmark { font-size: 1.62rem; }
.portal-ella-brand small { font-size: .42rem; }
:root[data-theme="light"] .portal-shell { background: radial-gradient(circle at 85% 4%, rgba(50,116,217,.08), transparent 25%), linear-gradient(135deg, #f8faff, #eef4fc); }
:root[data-theme="light"] .portal-sidebar { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,246,253,.97)); border-color: rgba(33,73,132,.13); box-shadow: 18px 0 55px rgba(33,73,132,.06); }
.portal-security { margin-top: 36px; padding: 16px 0; border-block: 1px solid var(--line); }
.portal-security small, .portal-header small, .portal-kicker { display: block; color: var(--muted-2); font: 600 .58rem/1.4 Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
.portal-security span { display: flex; align-items: center; gap: 8px; margin-top: 7px; color: var(--signal); font-size: .72rem; }
.portal-security i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 9px var(--signal); }
.portal-nav { display: grid; gap: 7px; margin-top: 28px; }
.portal-nav a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 13px; border-radius: 3px; color: var(--muted); font-size: .82rem; transition: .2s; }
.portal-nav a:hover { background: rgba(var(--accent-rgb), .06); color: var(--text); }
.portal-nav a.active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.nav-icon { width: 22px; text-align: center; }
.portal-user { margin-top: auto; padding: 15px; border: 1px solid var(--line); background: rgba(var(--bg-rgb), .3); }
.portal-user strong, .portal-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-user strong { font-size: .78rem; }
.portal-user small { margin-top: 4px; color: var(--muted-2); font-size: .64rem; }
.logout-form { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.logout-link { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .7rem; }
.portal-main { min-height: 100vh; padding-left: 270px; }
.portal-header { position: sticky; top: 0; z-index: 30; height: 76px; padding: 0 46px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(20px); }
.portal-header h1 { margin: 3px 0 0; font-size: .9rem; }
.portal-header-actions { display: flex; align-items: center; gap: 10px; }
.portal-header .theme-toggle { width: 36px; height: 36px; }
.portal-menu-button { display: none; }
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .68rem; }
.portal-content { width: min(1180px, calc(100% - 70px)); margin: 0 auto; padding: 50px 0 80px; }
.portal-intro { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 42px; }
.portal-intro h2 { max-width: 760px; margin: 8px 0 0; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1; letter-spacing: -.055em; }
.portal-intro > p { max-width: 360px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.metric { padding: 20px; background: var(--surface); }
.metric-label { color: var(--muted-2); font: 600 .58rem/1 Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.metric strong { display: block; margin-top: 20px; font-size: 1.65rem; }
.metric strong.online { color: var(--signal); }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.quick-card { min-height: 178px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); transition: .25s; }
.quick-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .045); }
.quick-card .quick-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.quick-card h3 { margin: 29px 0 8px; font-size: 1.08rem; }
.quick-card p { margin: 0; color: var(--muted); font-size: .78rem; }
:root[data-theme="light"] .portal-header { background: rgba(247,250,255,.88); border-color: rgba(33,73,132,.13); }
:root[data-theme="light"] .metrics { border-color: rgba(33,73,132,.12); background: rgba(33,73,132,.12); box-shadow: 0 14px 38px rgba(33,73,132,.06); }
:root[data-theme="light"] .metric { background: linear-gradient(145deg, #fff, #f5f8fd); }
:root[data-theme="light"] .quick-card { background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,244,253,.9)); border-color: rgba(33,73,132,.13); box-shadow: 0 15px 38px rgba(33,73,132,.07); }
:root[data-theme="light"] .quick-card:hover { background: linear-gradient(145deg, #fff, #e8f1fc); border-color: rgba(50,116,217,.34); box-shadow: 0 20px 45px rgba(33,73,132,.11); }
.panel-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; }
.panel { border: 1px solid var(--line); background: var(--surface); padding: 27px; }
.panel-full { grid-column: 1 / -1; }
.panel-spaced { margin-top: 20px; }
.panel h3 { margin: 4px 0 0; font-size: 1.15rem; }
.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.panel-heading > span { color: var(--muted-2); font-size: .68rem; }
.data-list { border-top: 1px solid var(--line); }
.data-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; align-items: center; min-height: 75px; border-bottom: 1px solid var(--line); }
.data-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--accent-rgb), .08); color: var(--accent); }
.data-row strong { display: block; font-size: .78rem; }
.data-row small { display: block; margin-top: 5px; color: var(--muted-2); font-size: .64rem; }
.data-row time { color: var(--muted-2); font-size: .63rem; }
.empty-state { padding: 45px 0; color: var(--muted-2); font-size: .78rem; text-align: center; border-bottom: 1px solid var(--line); }
.status { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(var(--signal-rgb), .25); border-radius: 99px; color: var(--signal); background: rgba(var(--signal-rgb), .06); font: 600 .54rem/1 Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.ticket-message { margin: 13px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.6; white-space: pre-wrap; }
.ticket-row { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ticket-row > small, .ticket-top small { display: block; margin-top: 5px; color: var(--muted-2); font-size: .64rem; }
.ticket-top { display: flex; justify-content: space-between; gap: 15px; }
.ticket-top strong { font-size: .8rem; }
.status-form { display: flex; gap: 8px; margin-top: 14px; }
.status-form .select { height: 36px; }
.ticket-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto auto; gap: 10px; align-items: end; margin: -4px 0 22px; padding: 16px; border: 1px solid var(--line); background: rgba(var(--accent-rgb), .025); }
.ticket-filters .field { gap: 6px; }
.ticket-filters .input, .ticket-filters .select { height: 38px; }
.ticket-filters .button { white-space: nowrap; }
.ticket-pagination { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 15px; align-items: center; padding-top: 18px; }
.ticket-pagination a:last-child { justify-self: end; }
.ticket-pagination small { color: var(--muted-2); font-size: .68rem; }
.upload-zone { min-height: 285px; display: grid; place-items: center; border: 1px dashed var(--line-strong); background: rgba(var(--accent-rgb), .02); text-align: center; padding: 32px; }
.upload-zone strong { display: block; margin-top: 15px; }
.upload-zone p { color: var(--muted); font-size: .75rem; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-name { margin-top: 12px; color: var(--muted); font-size: .7rem; }
.upload-icon-center { margin: auto; }
.upload-button { margin-top: 18px; }
.admin-users { display: grid; gap: 9px; }
.admin-user { padding: 13px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.admin-user strong, .admin-user small { display: block; }
.admin-user strong { font-size: .78rem; }
.admin-user small { margin-top: 4px; color: var(--muted-2); font-size: .64rem; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotateReverse { to { transform: rotate(-360deg); } }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 3px var(--signal); } }
@keyframes rocketOrbit { to { transform: rotate(360deg); } }
@keyframes rocketFlare { to { width: 26px; opacity: .45; } }
@keyframes starDrift { to { background-position: 73px 67px, -73px 125px; } }
@keyframes nodePulse { 50% { transform: scale(1.35); opacity: .65; } }
@keyframes missionFlare { to { height: 42px; opacity: .48; } }
@keyframes flightMission {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    8% { transform: translate(0, -70px) rotate(-8deg) scale(1.04); }
    22% { transform: translate(var(--flight-left), -235px) rotate(-72deg) scale(.95); }
    39% { transform: translate(65px, -325px) rotate(30deg) scale(.9); }
    55% { transform: translate(var(--flight-right), -205px) rotate(112deg) scale(.92); }
    70% { transform: translate(108px, -72px) rotate(190deg) scale(.96); }
    84% { transform: translate(-125px, -140px) rotate(255deg) scale(.92); }
    94% { transform: translate(-28px, -55px) rotate(330deg) scale(1); }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}
@keyframes flightMissionLost {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
    10% { transform: translate(0, -85px) rotate(-8deg) scale(1.04); }
    28% { transform: translate(var(--flight-left), -230px) rotate(-70deg) scale(.96); }
    48% { transform: translate(70px, -325px) rotate(28deg) scale(.9); }
    68% { transform: translate(var(--flight-right), -210px) rotate(112deg) scale(.9); }
    82% { transform: translate(135px, -95px) rotate(182deg) scale(.86); opacity: 1; }
    100% { transform: translate(calc(var(--flight-right) + 270px), -455px) rotate(85deg) scale(.58); opacity: .12; }
}
@keyframes flightMissionCrash {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    12% { transform: translate(0, -88px) rotate(-8deg) scale(1.04); }
    34% { transform: translate(var(--flight-left), -235px) rotate(-72deg) scale(.95); }
    55% { transform: translate(70px, -320px) rotate(35deg) scale(.9); }
    72% { transform: translate(var(--flight-right), -195px) rotate(120deg) scale(.93); }
    88% { transform: translate(54px, -110px) rotate(245deg) scale(.98); }
    100% { transform: translate(0, 0) rotate(540deg) scale(.9); }
}
@keyframes flightMissionDrop {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    12% { transform: translate(0, -88px) rotate(-8deg) scale(1.04); }
    36% { transform: translate(var(--flight-left), -230px) rotate(-70deg) scale(.95); }
    58% { transform: translate(60px, -315px) rotate(34deg) scale(.9); }
    72% { transform: translate(var(--flight-right), -185px) rotate(120deg) scale(.94); }
    86% { transform: translate(72px, -85px) rotate(240deg) scale(.98); }
    100% { transform: translate(18px, 8px) rotate(455deg) scale(.92); }
}
@keyframes flightMissionSpiral {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    12% { transform: translate(0, -90px) rotate(-8deg) scale(1.04); }
    30% { transform: translate(-150px, -245px) rotate(-95deg) scale(.94); }
    46% { transform: translate(90px, -300px) rotate(105deg) scale(.9); }
    61% { transform: translate(165px, -180px) rotate(255deg) scale(.94); }
    76% { transform: translate(-90px, -135px) rotate(430deg) scale(.97); }
    89% { transform: translate(78px, -58px) rotate(610deg) scale(1); }
    100% { transform: translate(-32px, 9px) rotate(790deg) scale(.9); }
}
@keyframes flightMissionProtected {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    10% { transform: translate(0, -92px) rotate(-8deg) scale(1.04); }
    30% { transform: translate(var(--flight-left), -238px) rotate(-72deg) scale(.95); }
    50% { transform: translate(70px, -318px) rotate(32deg) scale(.9); }
    70% { transform: translate(var(--flight-right), -190px) rotate(118deg) scale(.93); }
    88% { transform: translate(-116px, -130px) rotate(260deg) scale(.96); }
    100% { transform: translate(0, -54px) rotate(360deg) scale(1); }
}
@keyframes intruderAttack {
    0% { transform: translateX(0) rotate(-8deg) scale(.7); opacity: 0; }
    18% { opacity: 1; }
    46% { transform: translateX(-155px) rotate(4deg) scale(1); opacity: 1; }
    62% { transform: translateX(-185px) rotate(-5deg) scale(1); opacity: 1; }
    100% { transform: translateX(-720px) rotate(-18deg) scale(.72); opacity: 0; }
}
@keyframes intruderLaser { 0%, 43%, 52%, 100% { opacity: 0; } 46%, 49% { opacity: 1; } }
@keyframes impactFlash { 0% { opacity: 0; transform: scale(.15) rotate(0); } 18% { opacity: 1; transform: scale(1.35) rotate(24deg); } 46% { opacity: .85; transform: scale(.85) rotate(50deg); } 100% { opacity: 0; transform: scale(2.2) rotate(100deg); } }
@keyframes shieldPulse { 50% { border-color: #fff; box-shadow: 0 0 30px rgba(var(--signal-rgb), .9), inset 0 0 46px rgba(var(--signal-rgb), .18); } }
@keyframes shieldBeamStrike { 0% { opacity: 0; transform: translateX(130px) scaleX(.08); } 18% { opacity: 1; } 48% { opacity: 1; transform: translateX(0) scaleX(1); } 54%, 100% { opacity: 0; transform: translateX(-10px) scaleX(.88); } }
@keyframes shieldImpactBurst { 0%, 42% { opacity: 0; transform: scale(.15); } 50% { opacity: 1; transform: scale(1.15); } 68% { opacity: .9; transform: scale(2.15); } 100% { opacity: 0; transform: scale(4.8); } }
@keyframes shieldSparkBurst { 0%, 46% { opacity: 0; transform: scale(.15) rotate(0); } 54% { opacity: 1; transform: scale(1.1) rotate(12deg); } 100% { opacity: 0; transform: scale(3.8) rotate(48deg); } }
@keyframes securityTagIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1020px) {
    .site-header, .hero, .services-section, .solutions-section, .contact-section, footer { width: min(100% - 36px, 780px); }
    .site-header { grid-template-columns: 1fr auto; }
    .site-header nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 20px; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .site-header nav.is-open { display: flex; }
    .mobile-menu { display: grid; place-items: center; }
    .hero { grid-template-columns: 1fr; padding: 90px 0; }
    .section-heading, .solutions-section, .contact-section { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 238px; }
    .solutions-section { gap: 60px; }
    .solutions-copy { position: static; }
    .contact-section { padding: 50px 36px; gap: 55px; }
    footer { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
    footer p { margin: 0; }
    footer p:last-child { justify-self: start; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-visual { min-height: 430px; }
    .auth-core { right: -170px; }
    .auth-panel { min-height: 620px; }
    .portal-sidebar { transform: translateX(-100%); transition: transform .25s ease; }
    .portal-sidebar.is-open { transform: translateX(0); }
    .portal-main { padding-left: 0; }
    .portal-menu-button { display: grid !important; }
}

@media (max-width: 720px) {
    .site-header, .hero, .services-section, .solutions-section, .contact-section, footer { width: calc(100% - 28px); }
    .site-header { height: 76px; }
    .brand-cluster { gap: 9px; }
    .brand-divider { height: 24px; }
    .ella-brand { gap: 3px; }
    .ella-wordmark { font-size: 1.08rem; }
    .ella-brand small { font-size: .36rem; }
    .portal-link { display: none; }
    .hero { min-height: auto; padding: 70px 0; }
    .hero h1 { font-size: clamp(3.15rem, 16vw, 4.7rem); }
    .hero-lead { width: 100%; font-size: .98rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-console { min-height: 430px; padding-inline: 18px; }
    .space-stage { --flight-left: -112px; --flight-right: 118px; height: 350px; }
    .orbital { transform: scale(.82) perspective(900px) rotateX(var(--space-x, 0deg)) rotateY(var(--space-y, 0deg)); margin-inline: -30px; }
    .flight-console { top: 12px; right: 0; width: 140px; }
    .space-console .orbit-one, .space-console .orbit-three { display: none; }
    .space-console .orbit-one.shield-active { display: block; width: 280px; height: 280px; }
    .space-console .shield-fleet { --shield-radius: 140px; }
    .space-console .star-field { opacity: .34; animation: none; }
    .space-console .flight-console span, .space-console .flight-console small { display: none; }
    .space-console .flight-console { top: 14px; width: 128px; }
    .space-console .flight-console strong { font-size: .69rem; line-height: 1.35; }
    .space-console .launch-pad i:nth-child(n+2) { display: none; }
    .space-dialog .map-orbit-one, .space-dialog .node-custom, .space-dialog .node-it { display: none; }
    .space-dialog .star-field { opacity: .42; animation: none; }
    .launch-controls { flex-direction: column; justify-content: center; padding-top: 8px; }
    .launch-button { width: 100%; }
    .rocket-track { width: 340px; height: 340px; }
    .space-dialog { width: calc(100vw - 16px); height: min(760px, 96vh); }
    .space-dialog-panel { padding: 20px 16px 16px; }
    .space-map { min-height: 430px; }
    .map-orbit-one { width: 470px; height: 470px; }.map-orbit-two { width: 340px; height: 340px; }.map-orbit-three { width: 220px; height: 220px; }
    .rocket-track-large { width: 430px; height: 430px; }
    .map-node { font-size: .48rem; }
    .node-nav { left: 6%; }.node-gempos { right: 5%; }.node-it { left: 4%; }.node-support { right: 3%; }
    .signal-strip { justify-content: center; overflow: visible; padding: 22px 12px; gap: 14px 18px; flex-wrap: wrap; white-space: normal; }
    .ella-statement span { white-space: nowrap; }
    .services-section { padding: 100px 0; }
    .section-heading { margin-bottom: 45px; }
    .section-heading h2, .solutions-copy h2, .contact-intro h2 { font-size: 3rem; }
    .section-heading > p:last-child { margin-top: 24px; }
    .solutions-section { padding-bottom: 100px; }
    .contact-section { padding: 42px 24px; margin-bottom: 40px; }
    .ticket-filters { grid-template-columns: 1fr; }
    .ticket-filters .button { width: 100%; }
    .ticket-pagination { grid-template-columns: 1fr; text-align: center; }
    .ticket-pagination a, .ticket-pagination a:last-child { width: 100%; justify-self: stretch; }
    .ticket-pagination span { display: none; }
    .auth-visual { padding: 30px; min-height: 380px; }
    .auth-visual h1 { font-size: 3.5rem; }
    .auth-panel { padding: 28px 20px; }
    .auth-top { margin-bottom: 40px; }
    .portal-header { padding: 0 18px; }
    .back-link { display: none; }
    .portal-content { width: calc(100% - 30px); padding-top: 35px; }
    .portal-intro { display: block; }
    .portal-intro h2 { font-size: 2.8rem; }
    .portal-intro > p { margin-top: 20px; }
    .metrics, .quick-grid, .panel-grid { grid-template-columns: 1fr; }
    .data-row { grid-template-columns: 35px 1fr; }
    .data-row > :last-child { grid-column: 2; }
    .panel { padding: 20px; }
}

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