/* Dark hero band (synvox colors): near-black night sky with a sparse static starfield. */
#hero.hero-sail.hero-band.hero-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #030407;
  border-bottom: 1px solid #000;
  color: #f4f4f5;
}
.hero-dark .hero-band-inner { padding-top: calc(5rem + 56px); padding-bottom: 5.5rem; }
@media (min-width: 768px) { .hero-dark .hero-band-inner { padding-top: calc(7rem + 56px); padding-bottom: 7.5rem; } }
@media (min-width: 1024px) { .hero-dark .hero-band-inner { padding-top: calc(9rem + 56px); padding-bottom: 9.5rem; } }
.hero-dark .hero-title { color: #fafafa; }
.hero-dark .hero-lead { color: #a7abb8; }
/* Glossy buttons on the dark band: light primary, graphite secondary. */
.hero-dark .sails-btn {
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  background-color: #fafafa;
  background-image: linear-gradient(#fff, #e9e9ec);
  color: #0a0a0a;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.6);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.08), 0 1px 2px rgb(0 0 0 / 0.5);
  transition: background-color 150ms, box-shadow 150ms;
}
.hero-dark .sails-btn:hover { background-image: linear-gradient(#fff, #f1f1f3); border-color: #d4d4d8; }
.hero-dark .sails-btn:active { background-image: linear-gradient(#e4e4e7, #f4f4f5); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.18); }
.hero-dark .sails-btn.sails-btn-secondary {
  border-color: #2a2a2e;
  background-color: #141414;
  background-image: linear-gradient(#202024, #111113);
  color: #d4d4d8;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.45);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 1px 2px rgb(0 0 0 / 0.5);
}
.hero-dark .sails-btn.sails-btn-secondary:hover { background-image: linear-gradient(#26262b, #161618); }
.hero-dark .sails-btn.sails-btn-secondary:active { background-image: linear-gradient(to top, #101010, #080808); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.5); }

/* Header sits on the dark band until it scrolls away. */
#site-header.sails-blue-nav:not(.is-past-hero) { border-bottom-color: rgb(255 255 255 / 0.06); }

/* Light page below the band: flat light gray (light mode only). */
html:not(.dark) #hero.hero-dark ~ .home-sec:nth-of-type(2) {
  background: #f4f4f5;
  border-top: 0;
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
}
