/* Hero: a quiet navy stage for a moving sculpture of blue light. */
.site-header { height: 84px; }
.header-inner { gap: 30px; padding-inline: 32px; }
.desktop-nav { gap: 28px; }
.desktop-nav a { font-size: 15px !important; }
.header-contact { min-height: 48px; font-size: 14px; padding-inline: 21px; }
.brand > span { font-size: 25px; white-space: nowrap; }
.header-actions { margin-left: auto; }
.hero { min-height: 0; border-radius: 10px; background: #050f1d; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: linear-gradient(90deg, #050f1d55, transparent 65%); }
.hero-grid { background-size: 100px 100px; opacity: .38; }
.hero-glow { animation: none; filter: none; top: 0; right: 0; width: 65%; height: 100%; border-radius: 0; background: radial-gradient(ellipse at 73% 52%, #0a396633, transparent 64%); pointer-events: none; }
.hero #hero-canvas { z-index: 0; pointer-events: none; }
.hero-inner { width: min(1320px, calc(100% - 112px)); min-height: 740px; height: clamp(740px, calc(100svh - 110px), 900px); padding-top: 70px; pointer-events: none; }
.hero-copy { width: min(800px, 69%); margin-block: auto; padding-bottom: 52px; }
.hero-kicker { font-size: 15px; letter-spacing: .05em; color: #bfd5e4; font-weight: 600; margin-bottom: 28px; }
.hero-kicker span { width: 6px; height: 6px; box-shadow: 0 0 12px #50dcff66; }
.hero h1 { font-size: clamp(44px, 5.1vw, 76px); font-weight: 700; line-height: 1.4; letter-spacing: -.055em; }
.hero-nowrap { white-space: nowrap; }
.hero h1 em { color: #8bddf5; background: none; }
.hero-lead { max-width: 570px; font-size: 18px; line-height: 2; color: #b9cbd9; margin-top: 30px; text-wrap: pretty; }
.hero-actions { gap: 30px; margin-top: 35px; pointer-events: auto; width: fit-content; }
.primary-cta { border-radius: 5px; font-size: 16px; box-shadow: none; min-height: 64px; padding: 14px 20px 14px 25px; gap: 28px; }
.primary-cta b { background: transparent; color: #1263c9; font-size: 28px; }
.secondary-cta { font-size: 15px; color: #d2e0ea; min-height: 48px; align-items: center; }
.hero-bottom { padding: 24px 140px 26px 0; gap: 30px; flex-wrap: wrap; font-size: 14px; font-weight: 500; line-height: 1.6; color: #a5bfce; margin-top: 0; }
.hero .motion-toggle { bottom: 20px; right: 28px; font: 500 13px/1.6 var(--jp); min-height: 44px; padding: 8px; gap: 10px; letter-spacing: 0; }
.hero-energy { position: absolute; width: min(49vw, 710px); height: 95%; top: 0; right: -1%; pointer-events: none; z-index: 1; }
.hero-energy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050f1d 0%, #050f1d55 13%, transparent 35%); }
.hero-energy canvas, .energy-fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: auto; }
.hero-energy canvas { opacity: 0; transition: opacity .5s; }
.hero-energy.is-rendered canvas { opacity: 1; }
.hero-energy.is-rendered .energy-fallback { display: none; }
.hero-inner { z-index: 2; }

@media (min-width: 1700px) {
  .hero-energy { right: 4%; }
}
@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 20px !important; }
  .desktop-nav a { font-size: 14px !important; }
  .hero-inner { width: calc(100% - 72px); }
  .hero h1 { font-size: 5.2vw; }
  .hero-copy { width: 72%; }
  .hero-lead { max-width: 500px; }
  .hero-energy { right: -8%; width: 58%; opacity: .92; }
  .hero-bottom { gap: 15px 24px; font-size: 13px; }
}
@media (max-width: 960px) {
  .desktop-nav { display: none !important; }
  .nav-toggle { display: grid; width: 44px; height: 44px; }
}
@media (max-width: 800px) {
  .site-header { height: 76px; }
  .header-inner { padding-inline: 20px; gap: 16px; }
  .brand > span { font-size: 23px; }
  .hero { margin: 0 8px 8px; border-radius: 6px; min-height: 0; }
  .hero-inner { width: calc(100% - 40px); height: auto; min-height: 800px; padding-top: 46px; }
  .hero-copy { width: 100%; margin: 0; padding-bottom: 286px; }
  .hero-kicker { font-size: 13px; letter-spacing: .015em; gap: 9px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(27px, 8.65vw, 62px); line-height: 1.5; letter-spacing: -.055em; }
  .hero-nowrap { white-space: nowrap; }
  .hero-lead { font-size: 16px; line-height: 1.95; margin-top: 24px; max-width: 36em; }
  .hero-actions { flex-wrap: wrap; flex-direction: row; gap: 10px 25px; margin-top: 25px; }
  .primary-cta { font-size: 15px; min-height: 58px; padding: 12px 16px 12px 18px; gap: 18px; }
  .primary-cta b { width: 27px; height: 30px; }
  .secondary-cta { font-size: 14px; }
  .hero-energy { width: 380px; height: 300px; top: auto; bottom: 150px; right: calc(50% - 190px); opacity: 1; }
  .hero-energy::after { display: none; }
  .hero-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 22px 0 74px; font-size: 13px; }
  .hero-bottom p:nth-child(4) { display: block; }
  .hero .motion-toggle { right: 20px; bottom: 15px; font-size: 12px; }
  .hero .motion-toggle [data-motion-text] { display: inline; }
  .header-contact { min-height: 44px; padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .header-inner { padding-inline: 16px; gap: 10px; }
  .brand > span { font-size: 21px; }
  .header-actions { gap: 10px; }
  .header-contact { display: none; }
  .hero-inner { min-height: 0; }
}
@media (max-width: 359px) {
  .hero .primary-cta { font-size: 14px; gap: 10px; padding-inline: 14px; }
  .hero .primary-cta span { white-space: nowrap; }
  .hero .primary-cta b { width: 22px; flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero #hero-canvas, .hero .hero-energy canvas { display: block; }
  .hero-energy canvas { transition: none; }
}
