/* NASA Earth hero (20 Nov 2026): homepage (variant B, founder decision 14:03) and /preview/earth-hero/. */
.ehx-banner { box-sizing: border-box; width: 100%; max-width: none; justify-self: stretch; align-self: stretch; margin: 0; padding: 0.45rem var(--ds-gutter, 1rem); background: #ffd76a; color: #1a1a1a; font-size: 0.85rem; text-align: center; }
main#main .he { background: radial-gradient(120% 90% at 72% 50%, #0a2240 0%, #061a33 45%, #030d1c 100%); }
.he .ehx canvas { position: absolute; left: 0; top: 0; -webkit-mask-image: none; mask-image: none; }
.he .ehx .ehx-fallback { display: none; }
.he .ehx.ehx-static .ehx-fallback { display: block; }
.he .ehx.ehx-static .ehx-fallback img { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 118%; width: auto; max-width: none; }
.he .ehx .ehx-sky { z-index: 0; } .he .ehx .ehx-globe { z-index: 2; } .he .ehx .ehx-wind { z-index: 3; }
.he .ehx .ehx-sky, .he .ehx .ehx-globe, .he .ehx .ehx-wind { opacity: 0; transition: opacity 0.9s ease; }
.he .ehx.ehx-ready .ehx-sky, .he .ehx.ehx-ready .ehx-globe, .he .ehx.ehx-ready .ehx-wind { opacity: 1; }
/* keep the text column readable: a soft dark band behind it on wide screens */
.he .ehx::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(3,13,28,0.35) 0%, rgba(3,13,28,0.2) 34%, rgba(3,13,28,0) 50%); }
.he .ehx-meta { z-index: 2; }
.he .ehx-ctl { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: flex-end; }
.he .ehx-layers { display: flex; gap: 0.25rem; border: 0; margin: 0; padding: 0; }
.he .ehx-layers label { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: #fff; background: rgba(6,26,51,0.6); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 0.25rem 0.7rem; cursor: pointer; }
.he .ehx-layers input { accent-color: #8fd3ff; margin: 0; }
.he .ehx-layers label:focus-within { outline: 2px solid var(--ds-amber, #f5b942); outline-offset: 2px; }
.ehx-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.he .ehx-credit { max-width: 34rem; font-size: 0.74rem; line-height: 1.4; color: #b7cddb; text-align: right; }
.he .ehx-credit summary { cursor: pointer; }
.he .ehx-credit ul { text-align: left; margin: 0.4rem 0 0; padding: 0.6rem 0.8rem 0.6rem 1.6rem; background: rgba(3,13,28,0.85); border-radius: 0.5rem; }
.he .ehx-credit li + li { margin-top: 0.25rem; }
@media (max-width: 47.99rem) {
  .he .ehx { height: 19rem; }
  .he .ehx::before { background: linear-gradient(180deg, rgba(3,13,28,0) 82%, rgba(6,26,51,1) 100%); }
  main#main .he .hx-hero-inner { padding-top: 18rem; }
  .he .ehx-ctl { justify-content: flex-start; }
  .he .ehx-credit { text-align: left; }
}
.he .ehx-when { margin: 0; font-size: 0.72rem; color: #b7cddb; text-align: right; }
.he .ehx-when:empty { display: none; }
@media (max-width: 47.99rem) { .he .ehx-when { text-align: left; } }
.he .ehx .ehx-sun { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; }
.he .ehx-ctl .he-motion { font-size: 0.72rem; padding: 0.15rem 0.6rem; background: rgba(6,26,51,0.45); border-color: rgba(255,255,255,0.25); color: #d8e6ef; }
.he .ehx-ctl .he-motion:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
/* 20 Nov 2026 16:19: four entry points, two by two on wide screens */
@media (min-width: 48rem) { main#main .he .hx-paths-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; max-width: 40rem; }
  main#main .he .hx-paths-4 .hx-path { width: auto; min-width: 0; } }
main#main .he .ehx-when { font-size: 0.72rem; line-height: 1.35; color: #b7cddb; max-width: 34rem; margin: 0; }

/* 20 Nov 2026 17:53 (founder): four distinct CTA colours from the ICI palette, flat (no gradients or heavy shadows) */
main#main .he .hx-paths-4 .hx-path { border: 1px solid transparent; box-shadow: none; }
main#main .he .hx-paths-4 .hx-path small { color: inherit; opacity: 0.88; }
main#main .he .hx-paths-4 .hx-path svg { color: inherit; }
main#main .he .hx-paths-4 .hx-path[data-home-path="check"] { background: #092a40; color: #fff; border-color: rgba(255,255,255,0.28); }
main#main .he .hx-paths-4 .hx-path[data-home-path="check"]:hover { background: #0e3a58; }
main#main .he .hx-paths-4 .hx-path[data-home-path="earth"] { background: #1c64a3; color: #fff; }
main#main .he .hx-paths-4 .hx-path[data-home-path="earth"]:hover { background: #2372b6; }
main#main .he .hx-paths-4 .hx-path[data-home-path="space"] { background: #0c6f70; color: #fff; }
main#main .he .hx-paths-4 .hx-path[data-home-path="space"]:hover { background: #0f8081; }
main#main .he .hx-paths-4 .hx-path[data-home-path="story"] { background: #f5b942; color: #092a40; }
main#main .he .hx-paths-4 .hx-path[data-home-path="story"]:hover { background: #f8c869; }
main#main .he .hx-paths-4 .hx-path:focus-visible { outline: 3px solid #ffe08a; outline-offset: 3px; }
main#main .he .hx-paths-4 .hx-path[data-home-path="story"]:focus-visible { outline-color: #ffffff; }
.he .hx-lede-short, .he .ehx-sum-short { display: none; }
.he .ehx-credit li.ehx-when-in { display: none; }
/* phones: one composition (smaller Earth flowing into the headline, compact two-by-two entry points, details folded away) */
@media (max-width: 47.99rem) {
  .he .ehx { height: 15.5rem; }
  main#main .he .hx-hero-inner { padding-top: 14rem; }
  main#main .he h1#home-h1 { font-size: clamp(1.6rem, 7.4vw, 2.05rem); line-height: 1.12; margin-bottom: 0.6rem; }
  .he .hx-lede-long { display: none; } .he .hx-lede-short { display: inline; }
  main#main .he .hx-lede { font-size: 0.98rem; line-height: 1.45; margin-bottom: 1rem; }
  main#main .he .hx-paths-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  main#main .he .hx-paths-4 .hx-path { width: auto; min-width: 0; min-height: 3.5rem; padding: 0.7rem 0.75rem; border-radius: 0.85rem; align-items: center; }
  main#main .he .hx-paths-4 .hx-path strong { font-size: 0.98rem; line-height: 1.2; }
  main#main .he .hx-paths-4 .hx-path small { display: none; }
  main#main .he .hx-paths-4 .hx-path svg { width: 1.4rem; height: 1.4rem; flex: none; }
  main#main .he .hx-reassure { font-size: 0.82rem; margin-top: 0.75rem; }
  .he .ehx-when { display: none; }
  .he .ehx-credit li.ehx-when-in { display: list-item; }
  .he .ehx-sum-long { display: none; } .he .ehx-sum-short { display: inline; }
  .he .ehx-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
}
@media (max-width: 21rem) { main#main .he .hx-paths-4 { grid-template-columns: 1fr; } main#main .he .hx-paths-4 .hx-path { min-height: 3rem; } }
