:root {
  --bg: #03070f;
  --bg-2: #08111f;
  --panel: rgba(9, 17, 31, 0.82);
  --panel-2: rgba(255, 255, 255, 0.06);
  --text: #edf5ff;
  --muted: #9eb6d4;
  --line: rgba(111, 193, 255, 0.18);
  --accent: #2da9ff;
  --accent-2: #6dd1ff;
  --accent-deep: #0b68d0;
  --shadow: 0 30px 90px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(45,169,255,.15), transparent 28%),
    linear-gradient(180deg, #03070f 0%, #08111f 55%, #050b16 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; transition: .25s ease; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
.shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #06101d; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border-radius: 999px; border: 2px solid #06101d; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #58c7ff, #1288ff); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248,252,255,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(24,92,170,.10);
  box-shadow: 0 14px 40px rgba(0,18,50,.08);
}
.site-header.is-scrolled { background: rgba(255,255,255,.94); }
.header-shell { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img, .custom-logo-link img, .brand-logo { width: 160px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: Orbitron, Inter, sans-serif; font-size: 1rem; letter-spacing: .08em; color:#071528; }
.brand-text small { color: #45627f; font-size: .75rem; }
.site-nav ul, .mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; align-items: center; }
.site-nav a {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; color: #0e2038; font-weight:700;
  position: relative; padding: 8px 0;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--accent-deep); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; border: 1px solid rgba(24,92,170,.14); background: rgba(255,255,255,.72);
  color: #071528; padding: 10px 14px; border-radius: 999px;
}
.mobile-nav {
  background: rgba(5,13,24,.98); border-top: 1px solid rgba(255,255,255,.06); padding: 14px 20px 24px;
}
.mobile-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
.mobile-nav a { width: 100%; padding: 10px 0; color: #d9e7ff; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
.mobile-nav-extra { margin-top: 14px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 20px; font-weight: 700; border: 1px solid transparent;
}
.button-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06101d; box-shadow: 0 18px 40px rgba(45,169,255,.26); }
.button-primary:hover { transform: translateY(-1px); color: #03101a; }
.button-secondary, .button-ghost { background: rgba(255,255,255,.68); border-color: rgba(24,92,170,.14); color: #071528; }
.button-secondary:hover, .button-ghost:hover { background: rgba(45,169,255,.14); border-color: rgba(45,169,255,.35); color: #071528; }

.hero--wide { position: relative; min-height: calc(100vh - 88px); overflow: hidden; }
.hero-media {
  position: absolute; inset: 0; background-position: center center; background-size: cover; opacity: 1;
}
.hero-home::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,7,15,.1), rgba(3,7,14,.64) 76%, rgba(3,7,14,.92));
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .85fr; align-items: center; gap: 42px; padding: 110px 0 88px; }
.hero-copy h1, .page-hero h1 { margin: 0 0 18px; font-family: Orbitron, Inter, sans-serif; line-height: 1.04; letter-spacing: -.03em; }
.hero-copy h1 { font-size: clamp(2.9rem, 7vw, 6rem); max-width: 12ch; }
.lead { max-width: 700px; font-size: 1.08rem; color: #dfeeff; }
.eyebrow, .mini-label { text-transform: uppercase; letter-spacing: .2em; color: var(--accent-2); font-size: .78rem; margin-bottom: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.media-card { max-width: 430px; justify-self: end; }
.stat-list, .clean-list, .footer-links { list-style: none; padding: 0; margin: 0; }
.stat-list li { display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.stat-list li:last-child { border-bottom: 0; }
.stat-list strong { color: #fff; }
.stat-list span, .clean-list li, .footer-links li { color: var(--muted); }
.clean-list li { padding: 9px 0 9px 16px; position: relative; }
.clean-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: 18px; box-shadow: 0 0 12px rgba(45,169,255,.7); }

.page-block { padding: 34px 0; }
.page-hero.compact-hero { padding-top: 58px; padding-bottom: 14px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.card-grid { display: grid; gap: 24px; }
.card-grid.two-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.three-up { grid-template-columns: repeat(3, minmax(0,1fr)); }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.leadership-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.leader-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 26px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 24px; }
.leader-photo { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-family: Orbitron, sans-serif; font-size: 1.8rem; background: linear-gradient(135deg, rgba(45,169,255,.28), rgba(109,209,255,.09)); border: 1px solid rgba(109,209,255,.25); }
.product-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.product-card.reverse { grid-template-columns: 1fr 1fr; }
.product-card.reverse .product-image { order: 2; }
.product-card.reverse .glass-card { order: 1; }
.product-image img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.1); }
.stack-images { display: grid; gap: 18px; }
.product-tagline { color: #c7edff; font-weight: 700; }
.single-copy { max-width: 900px; }

.mac4-form label { display: block; color: #eaf4ff; font-weight: 600; font-size: .95rem; }
.mac4-form input, .mac4-form textarea {
  width: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); color: #fff; font: inherit;
}
.mac4-form input:focus, .mac4-form textarea:focus { outline: none; border-color: rgba(109,209,255,.7); box-shadow: 0 0 0 3px rgba(45,169,255,.15); }
.form-row { margin-bottom: 18px; }
.form-row.two-up { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-status { min-height: 24px; color: var(--accent-2); margin-top: 12px; }

.site-footer { margin-top: 54px; border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; padding: 58px 0 28px; }
.footer-branding { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; }
.footer-logo, .footer-branding .custom-logo-link img { width: 130px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: #fff; text-shadow: 0 0 12px rgba(45,169,255,.8); }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.social-link {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #dbe9ff; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.social-link:hover {
  transform: translateY(-2px); color: #fff; background: rgba(45,169,255,.16); border-color: rgba(45,169,255,.48);
  box-shadow: 0 0 0 1px rgba(45,169,255,.15), 0 0 26px rgba(45,169,255,.34);
}
.social-link svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--muted); padding: 18px 0 34px; font-size: .94rem; }

.wp-block-image img { border-radius: 22px; }
.elementor-page .site-header { position: sticky; }

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-portal-link { display: none; }
  .hero-grid, .two-col, .product-card, .leadership-grid, .footer-grid, .footer-branding, .card-grid.two-up, .card-grid.three-up, .form-row.two-up { grid-template-columns: 1fr; }
  .media-card { justify-self: stretch; max-width: none; }
  .product-card.reverse .product-image, .product-card.reverse .glass-card { order: initial; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 1240px); }
  .brand img, .custom-logo-link img, .brand-logo { width: 118px; }
  .brand-text small { display: none; }
  .hero--wide { min-height: auto; }
  .hero-grid { padding: 86px 0 64px; }
  .hero-copy h1 { max-width: none; font-size: clamp(2.3rem, 10vw, 4rem); }
  .footer-bottom { flex-direction: column; }
}

.page-content,.front-page-content{display:block;}
.page-content>.shell:first-child,.front-page-content>.shell:first-child{margin-top:0;}
.mission-band h2{margin-top:0;font-family:Orbitron,Inter,sans-serif;}
.page-content .elementor,.front-page-content .elementor{max-width:none;}


.hero-home--media-only { min-height: min(82vh, 860px); }
.hero-media-shell { position: relative; z-index: 1; min-height: inherit; display: block; }
.hero-media-placeholder { min-height: inherit; }
.intro-band { padding-top: 28px; }
.intro-band-inner { max-width: 920px; }
.intro-band h1 { margin: 0 0 14px; font-family: Orbitron, Inter, sans-serif; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; }
.lead-compact { max-width: 860px; font-size: 1rem; color: #d8e9fb; }
.home-projects-grid { align-items: stretch; }
.project-summary-card { display: flex; flex-direction: column; }
.project-summary-card .button { margin-top: auto; width: fit-content; }
.latest-news-section h2 { margin: 0; font-family: Orbitron, Inter, sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.card-grid.one-up { grid-template-columns: 1fr; }
.news-feature-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 28px; align-items: center; }
.news-feature-card .product-image img { min-height: 320px; object-fit: cover; }
@media (max-width: 1080px) {
  .news-feature-grid { grid-template-columns: 1fr; }
  .section-heading-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .hero-home--media-only { min-height: 58vh; }
  .intro-band h1 { font-size: clamp(1.7rem, 8vw, 2.5rem); }
}
