@import url("assets/color-tokens.css");
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--deep-midnight);color:var(--soft-platinum);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit}
:root{--content:1280px;--serif:Georgia,"Times New Roman",serif;--header-steel:#31445F;--header-steel-top:#415470;--header-line:rgba(255,255,255,.18)}

.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:linear-gradient(180deg,var(--header-steel-top),var(--header-steel));
  border-bottom:1px solid var(--header-line);
  box-shadow:0 10px 26px rgba(3,8,18,.18)
}
.header-inner{
  max-width:var(--content);
  min-height:58px;
  margin:auto;
  padding:10px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:0 1 auto
}
.brand-mark{width:44px;height:44px;object-fit:contain;flex:0 0 auto}
.brand-wordmark{height:26px;width:auto;min-width:0;object-fit:contain}
.desktop-nav{display:flex;align-items:center;gap:28px;font-size:14px;color:#f4f6fb;white-space:nowrap;flex:0 1 auto}
.desktop-nav a{opacity:.96;transition:opacity .2s ease,color .2s ease}
.desktop-nav a:hover{color:var(--golden-light);opacity:1}
.menu-button{
  display:none;
  color:#f4f6fb;
  border:1px solid rgba(255,255,255,.36);
  border-radius:12px;
  padding:8px 14px;
  background:rgba(255,255,255,.08)
}
.mobile-nav{display:none}

.hero-starfield{
  position:relative;
  min-height:300px;
  background:linear-gradient(180deg,rgba(6,16,39,.06),rgba(6,16,39,.10)),url("assets/hero-starfield.webp") center/cover no-repeat
}
.earth-hero{position:relative;width:100%;background:#061027;overflow:hidden}
.earth-hero img{display:block;width:100%;height:auto;max-height:390px;object-fit:cover;object-position:center center}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 24px;border:1px solid rgba(232,210,161,.55);border-radius:12px;background:rgba(6,16,39,.54);font-weight:700;color:var(--soft-platinum);box-shadow:0 10px 22px rgba(3,8,18,.16)}
.button.primary{border:0;background:linear-gradient(180deg,var(--golden-sand),var(--warm-gold));color:var(--galaxy-midnight)}

.section{padding:78px 28px}
.section-inner{max-width:var(--content);margin:auto}
.silver-section{
  position:relative;
  background:
    linear-gradient(180deg,rgba(233,239,247,.92),rgba(205,216,235,.88)),
    url("assets/silver-blue-panel-master-v2.webp") center/cover no-repeat;
  border-top:1px solid rgba(255,255,255,.4);
  border-bottom:1px solid rgba(130,150,184,.22)
}
.galaxy-section{background:linear-gradient(180deg,rgba(16,34,74,.95),rgba(6,16,39,.98))}
.star-section{background:linear-gradient(rgba(6,16,39,.78),rgba(6,16,39,.88)),url("assets/hero-starfield.webp") center/cover no-repeat}
.eyebrow{color:var(--golden-sand);text-transform:uppercase;letter-spacing:.3em;font-size:12px;margin-bottom:14px}
.section h2{font-family:var(--serif);font-weight:400;font-size:clamp(38px,4.3vw,62px);line-height:1.08;margin:0 0 18px;color:var(--soft-platinum)}
.silver-section h2,.silver-section .lead,.silver-section .card p,.silver-section .card h3{color:#f7f8fb}
.silver-section .lead{color:#eef3fa}
.lead{max-width:860px;margin:0 0 38px;color:#d7deea;font-size:18px;line-height:1.72}
.grid{display:grid;gap:20px}
.grid.three{grid-template-columns:repeat(3,1fr)}
.grid.two{grid-template-columns:repeat(2,1fr)}
.card{padding:28px;min-height:220px;background:rgba(49,68,95,.58);border:1px solid rgba(255,255,255,.18);border-radius:18px;backdrop-filter:blur(5px);box-shadow:0 10px 30px rgba(3,8,18,.08)}
.card-code{color:var(--golden-sand);font-size:11px;letter-spacing:.18em}
.card h3{font-family:var(--serif);font-size:28px;font-weight:400;margin:12px 0 10px}
.card p{margin:0;color:#dde4ef;line-height:1.65}
.portfolio-card{min-height:250px;display:flex;flex-direction:column;justify-content:space-between}
.project-kind{color:var(--golden-retriever);text-transform:uppercase;letter-spacing:.18em;font-size:11px}
.project-name{font-family:var(--serif);font-size:44px;font-weight:400;display:block;margin:8px 0 14px}
.status{margin-top:24px;color:var(--soft-platinum);font-size:14px}
.light-card{background:linear-gradient(180deg,rgba(244,246,251,.96),rgba(225,234,246,.9));color:var(--galaxy-midnight)}
.light-card p,.light-card .status{color:#30405d}
.light-card .project-name{color:#284d92}
.light-card .project-kind{color:#355c9b}
.warm-card{background:linear-gradient(180deg,rgba(247,236,213,.96),rgba(238,223,187,.9));color:var(--galaxy-midnight)}
.warm-card p,.warm-card .status{color:#50463c}
.warm-card .project-name{color:#946d28}
.warm-card .project-kind{color:#9a7632}
.partner-panel{display:flex;justify-content:space-between;align-items:flex-end;gap:34px;flex-wrap:wrap;padding:38px 40px;background:rgba(10,24,54,.44);border:1px solid rgba(212,176,106,.28);border-left:3px solid var(--golden-retriever);border-radius:20px}
.partner-panel .lead{max-width:780px;margin-bottom:0}
.contact-row{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;flex-wrap:wrap}
.legal-mark{color:var(--golden-sand);font-size:15px;padding-bottom:5px;border-bottom:1px solid rgba(232,210,161,.35)}
.site-footer{padding:28px;background:#040b19;color:var(--muted-platinum);border-top:1px solid rgba(217,217,212,.10);font-size:13px}
.footer-inner{max-width:var(--content);margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

@media(max-width:1180px){
  .header-inner{padding:10px 20px;gap:16px}
  .brand-wordmark{height:24px}
  .desktop-nav{gap:20px;font-size:13px}
}
@media(max-width:980px){
  .desktop-nav{display:none}
  .menu-button{display:block;flex:0 0 auto}
  .mobile-nav{position:fixed;z-index:59;top:58px;left:0;right:0;background:rgba(49,68,95,.98);border-bottom:1px solid rgba(255,255,255,.16);padding:12px 18px 18px}
  .mobile-nav.open{display:grid}
  .mobile-nav a{padding:10px 4px;color:var(--soft-platinum);font-size:15px}
  .header-inner{min-height:56px;padding:8px 16px}
  .brand{gap:10px;flex:1 1 auto}
  .brand-mark{width:40px;height:40px}
  .brand-wordmark{height:21px;max-width:calc(100vw - 150px)}
  .hero-starfield{min-height:230px}
  .earth-hero img{max-height:310px}
  .grid.three,.grid.two{grid-template-columns:1fr}
  .card{min-height:0}
  .section{padding:66px 20px}
}
@media(max-width:620px){
  .header-inner{min-height:52px;gap:10px;padding:7px 14px}
  .brand{gap:8px}
  .brand-mark{width:36px;height:36px}
  .brand-wordmark{height:18px;max-width:calc(100vw - 138px)}
  .menu-button{padding:7px 12px;border-radius:11px}
  .mobile-nav{top:52px}
  .hero-starfield{min-height:170px}
  .earth-hero img{max-height:240px}
  .section{padding:58px 16px}
  .section h2{font-size:clamp(34px,11vw,52px)}
  .lead{font-size:17px;line-height:1.6}
  .project-name{font-size:38px}
  .partner-panel{padding:28px 22px}
  .footer-inner{justify-content:center;text-align:center}
}
@media(max-width:420px){
  .brand-wordmark{height:16px;max-width:calc(100vw - 130px)}
  .menu-button{padding:6px 11px}
  .hero-starfield{min-height:145px}
  .earth-hero img{max-height:220px}
  .card{padding:24px 20px}
}
