/* Home (pages/home.php): three full-screen figures. The hero (the brain over the mark, the headline, the five
   works), the SR-71A Blackbird above the Earth, and memory. Each figure fills its section; the words sit over it. */

:root { --space: #02040a; --volt: #48b9ff; }

/* ---- 01 hero ------------------------------------------------------------------------------------------- */
.hero--home { min-height: var(--shot-h, max(760px, 100svh)); background: var(--space); }
.hero--home::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 4, 10, .62) 0%, rgba(2, 4, 10, .3) 24%, rgba(2, 4, 10, 0) 38%),
              linear-gradient(0deg, rgba(2, 4, 10, .72) 0%, rgba(2, 4, 10, 0) 26%); }
.hero--home .hero__copy { max-width: 760px; }
.hero--home .hero__copy .mono b { color: var(--signal); font-weight: 500; }
.hero--home .lede { max-width: 30ch; }
.hero__index { position: static; grid-row: 2; margin: 0 0 44px var(--gutter); width: min(700px, 44vw); text-align: left; }   /* its own row under the words (never over the buttons, however short the window), so the atom has the right side to itself */
.hero__index ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgba(3, 7, 15, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__index li + li { border-left: 1px solid var(--line); }
.hero__index a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 12px 14px; color: var(--fg-2); text-decoration: none; transition: background .2s, color .2s; }
.hero__index a b { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; color: var(--fg-3); }
.hero__index .hero__name { font: 620 16px/1.15 var(--sans); font-stretch: 106%; color: var(--fg); }
.hero__index .hero__line { font-size: 12.5px; line-height: 1.35; color: var(--fg-3); }
.hero__index .status { align-self: flex-start; margin-top: 6px; padding: 3px 7px; font-size: 9.5px; }
.hero__index a:hover, .hero__index a:focus-visible { background: rgba(72, 185, 255, .07); color: var(--fg); }
.hero__index a:hover b, .hero__index a:focus-visible b { color: var(--volt); }

/* ---- the cards' list: the figure shows it on wide screens (kept for keyboards and screen readers); on narrow
   screens, where the cards are small, it shows as a grid of links under the figure ------------------------------ */
.orbit-index ul { margin: 0; padding: 0; list-style: none; }
.orbit-index a { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 14px; color: var(--fg-2); text-decoration: none; }
.orbit-index__name { font: 620 15px/1.2 var(--sans); font-stretch: 106%; color: var(--fg); }
.orbit-index__line { font-size: 12.5px; line-height: 1.35; color: var(--fg-3); }
@media (min-width: 861px) {
  .orbit-index { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .orbit-index:focus-within { left: var(--gutter); bottom: 40px; z-index: 5; width: min(780px, 56vw); height: auto; clip-path: none; white-space: normal; background: rgba(3, 7, 15, .92); border: 1px solid var(--line-2); }
  .orbit-index:focus-within ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .hero__index { width: min(600px, 52vw); }
}
@media (max-width: 860px) {
  .hero--home .fig { height: 74svh; min-height: 460px; }
  .hero--home::after { background: linear-gradient(0deg, rgba(2, 4, 10, .6), rgba(2, 4, 10, 0) 30%); }
  .hero__index { position: static; order: 6; width: auto; margin: 22px var(--gutter) 28px; }
  .orbit-index { order: 7; margin: 0 var(--gutter) 36px; }
  .orbit-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .orbit-index li { border-bottom: 1px solid var(--line); }
  .orbit-index li:nth-child(2n) { border-left: 1px solid var(--line); }
  .hero__index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__index li:nth-child(2n+1) { border-left: 0; }
  .hero__index li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

