/* CAX ecosystem header: 1800px artwork, native CaxFish links and palette. */
.site-header.hero {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: var(--bg);
  border: 0;
}

.site-header .hero-art {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  overflow: hidden;
}

.site-header .hero-bg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1504 / 592;
  object-fit: contain;
}

.site-header .hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Keep this video's low feature strip visible while blending its border. */
  background: linear-gradient(180deg, transparent 94%, #06121f),
    linear-gradient(90deg, rgba(6,18,31,.45), transparent 3%, transparent 97%, rgba(6,18,31,.45));
}

.site-header .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(1600px, calc(100% - 40px));
  margin: -4px auto 0;
  padding: 14px 0 20px;
  background: none;
  border-bottom: 1px solid rgba(111,204,224,.16);
}

.site-header .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.site-header .hero-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 15px;
  border: 1px solid rgba(159,214,227,.3);
  border-top-color: rgba(223,246,249,.45);
  border-radius: 13px;
  color: #edf9fb;
  background: linear-gradient(160deg, rgba(170,219,231,.16), rgba(34,87,103,.18) 52%, rgba(8,29,39,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.3), 0 6px 16px rgba(0,0,0,.14);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.site-header .hero-actions > .primary {
  color: #d9ffb5;
  border-color: rgba(148,218,69,.55);
  background: linear-gradient(150deg, rgba(148,218,69,.21), rgba(46,111,78,.19));
  box-shadow: inset 0 1px 0 rgba(233,255,212,.18), 0 6px 20px rgba(72,148,41,.08);
}

.site-header .hero-actions > a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .site-header .hero-actions > a:hover {
    border-color: #8cdbe8;
    background-color: rgba(74,160,179,.17);
    transform: translateY(-1px);
  }
}

@media (max-width: 1150px) {
  .site-header .hero-content {
    width: calc(100% - 32px);
    padding-top: 10px;
    padding-bottom: 14px;
  }
}

@media (max-width: 760px) {
  .site-header .hero-actions > .header-cta { display: none; }
}

@media (max-width: 620px) {
  .site-header .hero-content { width: calc(100% - 24px); margin-top: 0; }
  .site-header .hero-art::after { background: linear-gradient(180deg, transparent 94%, #06121f); }
  .site-header .hero-actions > a { font-size: 14px; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header .hero-actions > a { background: #102735; }
  .site-header .hero-actions > .primary { background: #1d3528; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header .hero-actions > a,
  .site-header .hero-actions > a:hover { transition: none; transform: none; }
}
