.home-page .site-header {
  --brand-ring: #fbf1e5;
  --brand-warm: #ffbd95;
  --brand-cool: #b9f7f5;
  color: #fbf1e5;
  background: #182126;
  border-bottom-color: #4c5054;
}
.home-page .site-header :is(a:hover, .menu-toggle) { color: #ffd4b6; }
.home-page .site-header :focus-visible, .home-hero :focus-visible { outline-color: #ffcfac; }

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: stretch;
  min-height: clamp(35rem, 72svh, 47rem);
  color: #fff4e8;
  background: #202730;
}

.hero-visual, .hero-visual img, .home-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-visual { z-index: -2; }
.hero-visual img { object-fit: cover; object-position: center top; }
.home-hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, #101a20ed 2%, #111c23d9 34%, #19272d4d 68%, #12202938),
    linear-gradient(0deg, #0c1821cc, transparent 65%);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(2.75rem, 4vw, 4.5rem);
}
.hero-copy { position: relative; z-index: 1; max-width: 38rem; }
.hero-kicker { display: flex; align-items: center; gap: .6rem; color: #ffd0ab; }
.hero-kicker::before { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; content: ""; }
.home-hero h1 { margin: .85rem 0 1.5rem; font: 500 clamp(4.4rem, 7.6vw, 7.5rem)/.88 var(--display); letter-spacing: -.075em; }
.home-hero h1 span { font-size: .71em; letter-spacing: -.055em; }
.home-hero h1 i { color: #f6d8c2; font-weight: 400; }
.hero-intro { max-width: 42ch; color: #f4e6da; font-size: clamp(1.08rem, 1.6vw, 1.29rem); line-height: 1.6; text-wrap: pretty; }
.hero-intro-history { max-width: 47ch; margin-top: .75rem; color: #e3d9d2; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.55rem; margin-top: 1.9rem; }
.home-hero .button { background: #fff1e2; border-color: #fff1e2; color: #242724; }
.home-hero .button:hover { background: #ffd5b8; border-color: #ffd5b8; }
.home-hero .text-link { text-decoration-color: #cdb4a3; }
.home-hero .text-link:hover { color: #ffd5b8; }
.home-hero .text-link:hover span { transform: translateX(3px); }

.beam-plate { width: 100%; max-width: 36rem; justify-self: end; }
.hero-orbit {
  position: relative;
  width: 100%;
  color: #fff1db;
  filter: drop-shadow(0 1px 2px #18212690);
}
.hero-orbit > svg { width: 100%; height: auto; }
.hero-complex { opacity: .86; }
.hero-beams, .hero-event-tracks { opacity: 0; }
.hero-orbit.is-flying .hero-beams { opacity: 1; }
.hero-beam { color: #ffe1ac; fill: currentColor; }
.hero-beam--cool { color: #b9f7f5; }
.hero-event-tracks path {
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.hero-atlas-link {
  position: absolute;
  /* Place the dot at the ATLAS node in the SVG viewBox. */
  left: calc(303 / 609 * 100%);
  top: calc(232 / 434 * 100%);
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding-inline: .75rem;
  transform: translate(-1rem, -50%);
  color: #fff2df;
  text-decoration: none;
  pointer-events: auto;
}
.hero-atlas-dot {
  position: relative;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #ffe1ad;
  box-shadow: 0 0 0 3px #ffe1ad42;
}
.hero-collision-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4df 0%, #ffdfaa88 23%, #ffd3a123 51%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}
.hero-atlas-label {
  padding: .22rem .48rem;
  border: 1px solid #ffe1ad80;
  border-radius: .2rem;
  background: #191d24e8;
  font-size: .73rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .04em;
}
.hero-atlas-link:is(:hover, :focus-visible) .hero-atlas-label { color: #26211c; background: #ffe1ad; }
.hero-orbit.has-collision .hero-atlas-dot { background: #fff4df; box-shadow: 0 0 0 3px #ffe1ad66; }
.hero-collision-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero-beam-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-top: .6rem;
  border-top: 1px solid #eed4bd88;
}
.beam-caption { display: block; font: 500 1.32rem/1.35 var(--display); }
.hero-diagram-credit {
  color: #efdbcc;
  font-size: .7rem;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: #b9a495;
  text-underline-offset: .18em;
}
.hero-diagram-credit:hover { color: #ffd5b8; }
.particle-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .65rem;
  padding: .42rem .9rem;
  border: 1px solid #f8ddc68c;
  border-radius: .2rem;
  background: #191d24bb;
  color: #fff0e4;
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.particle-button:hover { color: #211d20; background: #ffdbc0; transform: translateY(-2px); }
.particle-button:active { transform: translateY(0); }
.particle-icon { display: flex; gap: .22rem; }
.particle-icon::before, .particle-icon::after { width: .31rem; height: .31rem; border-radius: 50%; background: currentColor; content: ""; }

.home-guide { background: #f4efe4; border-bottom: 1px solid var(--line); }
.home-guide-inner {
  display: grid;
  grid-template-columns: .8fr repeat(3, minmax(0, 1.2fr));
  align-items: center;
  padding-block: 1.3rem;
}
.home-guide .eyebrow { max-width: 13ch; }
.home-guide a { display: grid; gap: .25rem; border-left: 1px solid #cfc5b5; padding: .3rem clamp(.8rem, 2vw, 2rem); text-decoration: none; }
.home-guide a:last-child { padding-right: 0; }
.home-guide small { color: var(--muted); font-size: .75rem; }
.home-guide a span { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; font: 500 clamp(1rem, 1.6vw, 1.35rem)/1.2 var(--display); }
.home-guide b { color: var(--accent); font: .95rem var(--body); }
.home-guide a:hover span { text-decoration: underline; text-underline-offset: .22em; }
@media (max-width: 900px) and (min-width: 721px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 1.5rem; }
  .hero-beam-controls { align-items: start; }
  .home-guide-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 0; }
  .home-guide .eyebrow { grid-column: 1 / -1; max-width: none; }
  .home-guide a:first-of-type { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .home-page .header-inner:has(.menu-toggle:not([hidden])) .site-nav { color: #fff1e5; background: #182126; border-bottom-color: #4c5054; }
  .home-hero { min-height: auto; }
  .home-hero::before { background: linear-gradient(105deg, #111d25db, #111d2582 72%), linear-gradient(0deg, #101a20dc, transparent 65%); }
  .hero-visual img { object-position: 65% center; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 2.6rem 1.5rem; }
  .home-hero h1 { font-size: clamp(3.9rem, 12.5vw, 5.8rem); margin: .75rem 0 1.2rem; }
  .hero-intro { font-size: 1.05rem; }
  .hero-intro-history { font-size: .96rem; }
  .hero-actions { margin-top: 1.1rem; gap: .25rem 1.05rem; }
  .hero-actions .button { padding-inline: .9rem; }
  .beam-plate { max-width: 29rem; justify-self: center; }
  .hero-orbit { width: min(100%, 21rem); margin: auto; }
  .beam-caption { font-size: 1.12rem; }
  .home-guide-inner { display: block; padding-block: .95rem .65rem; }
  .home-guide .eyebrow { max-width: none; margin-bottom: .45rem; }
  .home-guide a { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: .7rem; align-items: center; min-height: 44px; border: 0; border-top: 1px solid var(--line); padding: .55rem 0; }
  .home-guide a span { font-size: 1.12rem; }
}
