*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --navy: #061232;
  --navy-deep: #031d63;
  --text-white: #eeeeee;
  --muted: #c6d3f6;
  --menu-blue: #163891;
  --menu-muted: #8a99bd;
  --menu-bg: #fbfcfe;
  --line: rgba(25,48,110,.3);
  --header-h: 68px;
}

html, body { margin: 0; min-height: 100%; background: #061232; }
body { font-family: "Onest", Arial, sans-serif; color: var(--text-white); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: max(900px, 100vh);
  overflow: hidden;
  background: linear-gradient(180deg,#061232 9.2%,#0e2a75 22.7%,#124adf 37.9%,#99c1fa 73.35%,#cddbee 97.6%);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(220px,1fr) auto minmax(280px,1fr);
  align-items: center;
  padding: 0 40px;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: background .38s ease,border-color .38s ease,color .38s ease;
}

.logo { position: relative; width: 169px; height: 34px; display: inline-flex; align-items: center; justify-self: start; }
.logo-img {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 100%; height: 100%;
  object-fit: contain; object-position: left center;
  transition: opacity .38s ease;
}
.logo-img--dark { opacity: 0; }
.hero.menu-open .logo-img--light { opacity: 0; }
.hero.menu-open .logo-img--dark { opacity: 1; }

.main-nav { display: flex; align-items: center; gap: 10px; justify-self: center; }

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: #eee;
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .27px;
  text-transform: uppercase;
  padding: 8px 7px 10px;
  cursor: pointer;
  transition: color .25s ease,transform .25s ease,opacity .25s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  opacity: .65;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}

.nav-item:hover { color: #fff; transform: translateY(-1px); }
.nav-item:hover::after,.nav-item.is-open::after { transform: scaleX(1); }

.chevron {
  display: inline-block;
  flex: none;
  width: 6px; height: 6px;
  margin-left: 7px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  border-radius: 0 0 1.5px 0;
  font-size: 0;
  transition: transform .28s ease;
}
.nav-item.is-open .chevron { transform: translateY(1px) rotate(225deg); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

.search-btn {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  color: inherit; background: transparent;
  cursor: pointer;
  transition: background .25s ease,transform .25s ease;
}
.search-btn:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }

.search-ring {
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.search-ring::after {
  content: "";
  position: absolute;
  width: 7px; height: 2px;
  background: currentColor;
  right: -6px; bottom: -3px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.contact-btn {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: #082b7f;
  font-family: "Geist Mono",monospace;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  transition: transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .26s ease,background .26s ease;
}
.contact-btn:hover { transform: translateY(-2px); background: #0a369d; box-shadow: 0 10px 28px rgba(4,35,115,.36); }
.contact-btn:active,.products-btn:active,.primary-wide:active,.secondary-wide:active { transform: translateY(0) scale(.985); }

.hero-content { position: absolute; inset: var(--header-h) 0 0; }

.grid-overlay {
  position: absolute;
  left: 21.5%;
  top: -22px;
  width: min(78vw,1352px);
  height: 1163px;
  opacity: .58;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 52% 44%,#000 0 42%,rgba(0,0,0,.35) 65%,transparent 88%);
  pointer-events: none;
}

.hero-copy { position: absolute; z-index: 5; left: 40px; top: 40px; width: 785px; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px,3.2vw,54px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -2.4px;
}
.hero-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -.6px;
}

.products-btn {
  margin-top: 32px;
  height: 58px;
  display: inline-flex; align-items: center; gap: 20px;
  padding: 3px 3px 3px 20px;
  border-radius: 8px;
  background: var(--navy-deep);
  box-shadow: inset 0 2px 3px #0b339f,0 2px 4px rgba(91,200,255,.5);
  font-family: "Geist Mono",monospace;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,background .3s ease;
}
.products-btn:hover {
  transform: translateY(-3px);
  background: #052575;
  box-shadow: inset 0 2px 3px #174ec2,0 14px 30px rgba(10,65,173,.28);
}
.products-arrow {
  width: 52px; height: 52px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 21px;
  transition: transform .32s cubic-bezier(.2,.8,.2,1),background .32s ease;
}
.products-btn:hover .products-arrow { transform: translateX(6px); background: rgba(255,255,255,.06); }

.registry-note {
  position: absolute; z-index: 4;
  top: 40px; right: 40px;
  display: flex; align-items: center; gap: 12px;
  color: var(--muted);
  font-size: 16px; line-height: 1.4; font-weight: 300; letter-spacing: -.48px;
}
.registry-mark { width: 48px; height: 48px; display: grid; place-items: center; font-size: 33px; color: #c9d7f6; opacity: .9; }

.hero-art-stage { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.hero-art {
  position: absolute;
  opacity: 0;
  filter: blur(4px);
  will-change: opacity,transform,filter;
  transition: opacity 1.05s cubic-bezier(.22,.61,.36,1),transform 1.35s cubic-bezier(.16,1,.3,1),filter .9s ease;
}
.hero-art.is-visible { opacity: 1; filter: blur(0); }
.hero-art--robot {
  width: 900px; height: 932px;
  left: calc(50% - 260px); top: 120px;
  object-fit: contain; object-position: center;
  transform: scale(.93) translate3d(16px,12px,0);
  transform-origin: 54% 35%;
}
.hero-art--robot.is-visible { transform: scale(1) translate3d(0,0,0); }
.hero-art--turbine {
  width: 1056px; height: 979px;
  left: calc(50% - 192px); top: -80px;
  object-fit: contain; object-position: bottom;
  transform: scale(1.11) translate3d(34px,12px,0);
  transform-origin: 46% 30%;
}
.hero-art--turbine.is-visible { transform: scale(1) translate3d(0,0,0); }

.news-widget {
  position: absolute; z-index: 8;
  left: 40px; bottom: 222px;
  display: flex; gap: 8px; align-items: flex-start;
}
.news-card {
  width: 422px; height: 144px;
  position: relative;
  padding: 16px 31px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(238,238,238,.05),rgba(238,238,238,.30));
  backdrop-filter: blur(16px);
  color: #030a1b;
  box-shadow: 0 2px 8px rgba(186,209,242,.6);
  transition: transform .3s ease,box-shadow .3s ease,background .3s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(118,151,199,.24);
  background: linear-gradient(180deg,rgba(255,255,255,.13),rgba(238,238,238,.40));
}
.news-card::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -8px;
  height: 22px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(238,238,238,.04), rgba(238,238,238,.16));
  border: 1px solid rgba(255,255,255,.22);
  z-index: -1;
}
.news-card p { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.6px; transition: opacity .22s ease, transform .22s ease; }
.news-widget.is-swapping .news-card p { opacity: 0; transform: translateY(6px); }
.news-card span {
  position: absolute; left: 31px; bottom: 18px;
  font-family: "Geist Mono",monospace;
  font-size: 16px; color: #98a3be; letter-spacing: .32px; text-transform: uppercase;
}

.news-dots { padding-top: 39px; display: flex; flex-direction: column; gap: 8px; }
.dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 100px;
  background: #eaeef4; cursor: pointer;
  transition: height .25s ease,transform .25s ease,background .25s ease;
}
.dot:hover { transform: scale(1.3); }
.dot.is-current { background: #163891; height: 14px; }

.mega-menu {
  position: absolute; z-index: 40;
  top: var(--header-h); left: 0;
  width: 100%; height: 476px;
  background: var(--menu-bg); color: #030a1b;
  overflow: hidden;
  opacity: 0; transform: translateY(-14px);
  visibility: hidden; pointer-events: none;
  transition: opacity .34s ease,transform .42s cubic-bezier(.16,1,.3,1),visibility .34s;
  box-shadow: 0 24px 60px rgba(2,18,55,.16);
}
.mega-menu.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }

.mega-grid {
  display: grid;
  grid-template-columns: minmax(0,252px) minmax(0,215px) minmax(0,215px) minmax(0,215px) minmax(0,406px);
  column-gap: clamp(24px,3vw,80px);
  height: 100%;
  padding: 32px 40px;
}
.mega-grid > * { min-width: 0; }
.menu-stack { display: flex; flex-direction: column; gap: 47px; min-width: 0; }
.menu-column h3 {
  margin: 0 0 16px;
  font-family: "Geist Mono",monospace;
  font-size: 12px; line-height: 1.1; letter-spacing: .24px;
  text-transform: uppercase; font-weight: 500;
}
.menu-column a {
  display: block; width: max-content; max-width: 100%;
  margin: 0 0 12px;
  color: var(--menu-blue);
  font-size: 16px; line-height: 1.3; letter-spacing: -.48px;
  transition: color .2s ease,transform .2s ease;
}
.menu-column a:hover { color: #0a43bd; transform: translateX(4px); }

.menu-cta {
  position: relative;
  margin-left: auto;
  width: 100%; max-width: 406px; height: 412px;
  border-radius: 8px;
  background: #f0f4fa;
  padding: 24px 32px;
}
.menu-cta h2 { margin: 0; color: #030a1b; font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -.72px; }
.menu-cta-actions { position: absolute; left: 32px; right: 32px; bottom: 20px; display: grid; gap: 8px; }

.primary-wide,.secondary-wide {
  min-height: 64px;
  padding: 0 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-family: "Geist Mono",monospace;
  font-size: 15px; line-height: 1.1;
  text-transform: uppercase; text-align: center;
  transition: transform .25s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease;
}
.primary-wide { color: #eee; background: #031d63; }
.primary-wide:hover { transform: translateY(-2px); background: #082c82; box-shadow: 0 10px 24px rgba(3,29,99,.22); }
.secondary-wide { color: #163891; border: 2px solid rgba(22,56,145,.10); background: transparent; }
.secondary-wide:hover { transform: translateY(-2px); background: #fff; border-color: rgba(22,56,145,.24); box-shadow: 0 8px 20px rgba(29,56,116,.08); }

.hero.menu-open .site-header { background: #fbfcfe; border-bottom-color: #e0e9f5; color: #030a1b; }
.hero.menu-open .nav-item { color: var(--menu-muted); }
.hero.menu-open .nav-item.is-open { color: #030a1b; }
.hero.menu-open .search-btn { color: #030a1b; }
.hero.menu-open .contact-btn { color: #eee; background: #031d63; }

@media (max-width: 1450px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .logo { width: 166px; }
  .main-nav { gap: 4px; }
  .nav-item { font-size: 13px; padding-left: 5px; padding-right: 5px; }
  .contact-btn { font-size: 13px; padding: 0 16px; }
  .search-btn { width: 48px; }
  .hero-copy { left: 24px; }
  .registry-note { right: 24px; }
  .news-widget { left: 24px; }
  .mega-grid {
    padding-left: 24px; padding-right: 24px; column-gap: 32px;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1.45fr;
  }
  .menu-cta { width: 100%; }
}
@media (max-width: 1120px) {
  .hero { min-height: 980px; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav { display: none; }
  .hero-copy { width: calc(100% - 48px); }
  .hero-copy h1 { font-size: 50px; }
  .hero-art--robot { left: 36%; }
  .hero-art--turbine { left: 28%; }
  .registry-note { display: none; }
  .mega-menu { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .site-header { height: 68px; padding: 0 16px; }
  .logo { width: 145px; height: 32px; }
  .contact-btn { display: none; }
  .hero-copy { left: 16px; top: 28px; }
  .hero-copy h1 { font-size: 38px; letter-spacing: -1.8px; }
  .hero-copy p { font-size: 19px; }
  .products-btn { height: 64px; font-size: 16px; }
  .products-arrow { width: 56px; height: 56px; }
  .hero-art--robot,.hero-art--turbine {
    left: 2%; top: 350px; width: 98vw; height: 640px; object-fit: contain;
  }
  .news-widget { left: 16px; right: 16px; top: auto; bottom: 22px; }
  .news-card { width: min(88vw,422px); }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}