/* Celestial atlas. Editorial composition built from credited mission imagery. */
:root {
  --ink: #060d19;
  --gold: #d8c39b;
  --atlas-silver: #dce6ee;
  --atlas-muted: #9baebe;
}

.site-header {
  background: #060d19;
}
.site-header .brand-mark {
  border-color: #b7d6e046;
}
.site-header .nav a:hover,
.site-header .nav a[aria-current] {
  background: #d6e5f20b;
  color: #e5d5b6;
}
.page-intro::before {
  background:
    linear-gradient(90deg, #060d19 6%, #060d19eb 55%, #060d1970),
    url('/science/cosmic-cliffs-800.webp') center 30% / cover;
}
.page-intro::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -50px;
  top: -45px;
  width: 410px;
  height: 410px;
  pointer-events: none;
  opacity: .14;
  background: url('/science/moon-nearside-520.webp') center / contain no-repeat;
}
.site-footer {
  background: #060d19;
}
.rmw-privacy-links {
  background: #060d19;
}
.celestial-home {
  background: #060d19;
  color: #e4ebf1;
}
.celestial-home :focus-visible {
  outline-color: #d8c39b;
}
.celestial-home .site-header {
  border-color: #b4cfde1a;
}
.atlas-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #060d19;
}
.atlas-nebula,
.atlas-stars,
.atlas-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.atlas-nebula {
  z-index: -3;
}
.atlas-nebula img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 24%;
  opacity: .42;
  filter: saturate(.62);
  transform: scale(1.03);
}
.atlas-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #060d19fa 0%, #060d19df 32%, #060d194a 70%),
    linear-gradient(0deg, #060d19 2%, transparent 45%, #060d193b);
}
.atlas-stars {
  z-index: -2;
  opacity: .8;
  background-image:
    radial-gradient(circle at 10% 15%, #f8eddb 0 1px, transparent 2px),
    radial-gradient(circle at 31% 7%, #c4e0ff 0 1px, transparent 2px),
    radial-gradient(circle at 53% 24%, #c4e0ff 0 1px, transparent 2px),
    radial-gradient(circle at 67% 8%, #f8eddb 0 1px, transparent 2px),
    radial-gradient(circle at 88% 30%, #c4e0ff 0 1px, transparent 2px),
    radial-gradient(circle at 97% 62%, #c4e0ff 0 1px, transparent 2px),
    radial-gradient(circle at 52% 70%, #f8eddb 0 1px, transparent 2px),
    radial-gradient(circle at 18% 84%, #c4e0ff 0 1px, transparent 2px);
}
.atlas-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 730px;
  padding-block: 3.8rem 3.4rem;
}
.atlas-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}
.atlas-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #d8c39b;
  font-size: .65rem;
  letter-spacing: .16em;
  margin-bottom: 1.7rem;
}
.atlas-copy .eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: #d8c39b;
}
.atlas-copy h1 {
  font: 400 clamp(3.8rem, 6.6vw, 6.1rem) / 1.04 Georgia, 'Times New Roman', serif;
  letter-spacing: -.052em;
  color: #f0f2ef;
  margin-bottom: 1.8rem;
}
.atlas-copy h1 em {
  font-weight: 400;
  color: #d8c39b;
}
.atlas-copy .atlas-lead {
  max-width: 29rem;
  color: #b7c8d6;
  font-size: 1rem;
  line-height: 1.85;
}
.atlas-copy .atlas-marathi {
  color: #ced8dd;
  font-size: .95rem;
  line-height: 1.9;
  margin-top: 1.3rem;
}
.atlas-copy .actions {
  gap: .8rem;
  margin-top: 1.8rem;
}
.atlas-copy .button {
  border: 1px solid #d8c39b;
  border-radius: 3px;
  background: #d8c39b;
  color: #101a27;
  padding: 1rem 1.25rem;
  font-size: .84rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.atlas-copy .button:hover {
  background: #ecdbba;
}
.atlas-copy .button.secondary {
  background: #0a152471;
  color: #dce6ee;
  border-color: #819baa75;
}
.atlas-copy .button.secondary:hover {
  background: #18283c;
  border-color: #c1d1dc;
}
.atlas-copy .hero-author {
  margin-top: 2rem;
  font-size: .59rem;
  line-height: 1.9;
  letter-spacing: .12em;
  color: #8ea5b5;
}
.atlas-figure {
  min-width: 0;
  margin: -1.4rem -2.5rem 0 0;
}
.lunar-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.atlas-coordinates {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
}
.lunar-disk {
  position: absolute;
  inset: 14%;
  display: block;
}
.lunar-disk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 32px #a0bfd519);
}
.atlas-reference,
.atlas-scale-note,
.lunar-reference {
  position: absolute;
  font: 500 .55rem / 1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .1em;
  color: #9dafbe;
  text-transform: uppercase;
}
.atlas-reference {
  left: 10%;
  top: 2%;
}
.atlas-scale-note {
  right: 6%;
  bottom: 5%;
}
.lunar-reference {
  right: 1%;
  top: 28%;
  text-align: right;
}
.lunar-detail {
  position: absolute;
  left: 9%;
  bottom: 13%;
  border: 1px solid #c1d0dd62;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b1729d1;
  color: #e8dfcd;
  font-size: 1.3rem;
  cursor: pointer;
}
.lunar-detail:hover {
  background: #20344a;
  border-color: #d8c39b;
}
.atlas-figure figcaption {
  max-width: 370px;
  margin: -.2rem 2.4rem 0 auto;
  border-top: 1px solid #9ab7c739;
  padding-top: 1rem;
}
.atlas-figure figcaption a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1rem;
  align-items: center;
  min-height: 64px;
  color: #dae2e7;
  text-decoration: none;
}
.atlas-figure figcaption .figure-kicker {
  grid-column: 1 / -1;
  color: #a9bcce;
  font-size: .56rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.atlas-figure figcaption strong {
  font: 400 1.6rem / 1.4 Georgia, serif;
}
.atlas-figure figcaption .figure-arrow {
  font-size: 1.5rem;
  color: #d8c39b;
}
.atlas-figure figcaption a:hover strong {
  color: #e5cfaa;
}
.atlas-strip {
  border-block: 1px solid #b3cadd1f;
  background: #070f1bd9;
}
.atlas-strip > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.1rem;
}
.atlas-credit {
  margin: 0;
  max-width: 43rem;
  font-size: .67rem;
  line-height: 1.9;
  color: #91a8ba;
}
.atlas-credit strong {
  color: #b5c6d2;
  font-weight: 500;
}
.atlas-credit a {
  color: #c8b58e;
  text-underline-offset: 3px;
}
.atlas-strip .motion-toggle {
  min-width: 125px;
  color: #d8e2e9;
  border-color: #a9bed147;
}
.motion-ready .atlas-nebula img {
  animation: atlas-drift 45s ease-in-out infinite alternate;
}
.motion-ready .atlas-stars {
  animation: atlas-glimmer 12s ease-in-out infinite alternate;
}
.motion-paused .atlas-nebula img,
.motion-paused .atlas-stars,
.page-away .atlas-nebula img,
.page-away .atlas-stars,
.image-is-open .atlas-nebula img,
.image-is-open .atlas-stars {
  animation-play-state: paused;
}
@keyframes atlas-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-.7%, .3%, 0); }
}
@keyframes atlas-glimmer {
  from { opacity: .45; }
  to { opacity: .85; }
}
.celestial-home .science-paths {
  background: #0a1423;
}
.celestial-home .science-paths .container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.celestial-home .science-paths a {
  padding-inline: .9rem;
  gap: .8rem;
}
.celestial-home .science-paths .path-symbol {
  font: 500 .7rem / 1 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #9bb7ca;
  min-width: 1.4rem;
}
.celestial-home .science-paths strong {
  color: #cedce7;
}
.celestial-home .science-paths small {
  font-size: .63rem;
}
.celestial-home .universe-intro {
  background:
    radial-gradient(ellipse at 100% 0, #15233a70, transparent 65%),
    #070f1b;
}
.celestial-home .universe-intro h2 {
  color: #e4e9ee;
  max-width: 14ch;
}
.celestial-home .universe-intro .eyebrow {
  color: #a6bed0;
}
.atlas-archive-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.4rem;
  margin-top: 1.25rem;
}
.atlas-archive-actions .view-image-button {
  border-color: #899fb254;
}
.celestial-home .cosmic-facts dt {
  color: #d6c6a7;
}
.celestial-home .research-section {
  background:
    radial-gradient(ellipse at 0 0, #1c21473d, transparent 55%),
    #0b1524;
}
.celestial-home .research-entry {
  background: #0e1a2c;
  border-color: #a8c1d827;
}
.celestial-home .research-entry-featured {
  background: linear-gradient(115deg, #152337, #0c192b);
  border-top-color: #a3b9ca;
}
.celestial-home .research-entry .tag {
  color: #b0bfd2;
}
.celestial-home .research-entry .entry-index {
  color: #8b9bb4;
}
.celestial-home .research-entry h3 {
  color: #e7ecf1;
}
.celestial-home .research-entry .entry-status {
  color: #bdb49f;
}
.celestial-home .research-tools {
  background: #0a1423;
}
.celestial-home .research-filters button[aria-pressed=true] {
  background: #d4c4a7;
  color: #101c2b;
  border-color: #d4c4a7;
}
.celestial-home .section.alt {
  background: #070f1c;
  color: #dbe5eb;
  border-bottom: 1px solid #9fbdd326;
}
.celestial-home .bridge-copy h2 {
  color: #e9eef0;
}
.celestial-home .bridge-copy > .eyebrow {
  color: #acbfd0;
}
.celestial-home .bridge-copy > p:not(.eyebrow) {
  color: #a8bccb;
}
.celestial-home .bridge-copy .button {
  border-color: #9fb4c454;
  background: #15263a;
}
.celestial-home .bridge-copy .text-link {
  color: #cfbea1;
}
.celestial-home .bridge-list,
.celestial-home .bridge-list > a {
  border-color: #94b2c52e;
}
.celestial-home .bridge-list > a:hover {
  background: #17283a54;
}
.celestial-home .bridge-list strong {
  color: #d6e2e9;
}
.celestial-home .bridge-list small {
  color: #9db4c4;
}
.celestial-home .bridge-list .list-number {
  color: #c4b292;
}
.celestial-home .notes-section {
  background: #0b1524;
  color: #dce6ec;
}
.celestial-home .notes-section h2,
.celestial-home .science-notes h3 {
  color: #e4ebef;
}
.celestial-home .notes-section .eyebrow,
.celestial-home .science-notes .tag {
  color: #acbed0;
}
.celestial-home .notes-section .section-head .text-link,
.celestial-home .science-notes .text-link {
  color: #cbb898;
}
.celestial-home .science-notes article {
  background: linear-gradient(130deg, #152237, #0d1a2b);
  border: 1px solid #a2bdd32b;
  padding: 2rem;
  border-radius: 4px;
}
.celestial-home .science-notes article > p:not(.tag) {
  color: #a9bdcc;
}
.celestial-home .curiosity-band {
  background:
    radial-gradient(ellipse at 85% 130%, #34466a6b, transparent 65%),
    #060d19;
}
.lunar-dialog {
  width: min(820px, calc(100% - 2rem));
}
.lunar-dialog > img {
  display: block;
  width: min(100%, 65vh);
  height: auto;
  margin: 1.3rem auto;
}
@media (min-width: 1600px) {
  .atlas-layout { min-height: 800px; }
}
@media (max-width: 1050px) {
  .atlas-layout { gap: .5rem; min-height: 680px; }
  .atlas-copy h1 { font-size: clamp(3.9rem, 6.8vw, 5.6rem); }
  .atlas-figure { margin-right: -1.5rem; }
  .atlas-figure figcaption { margin-right: 1.2rem; }
  .lunar-reference { font-size: .5rem; right: 0; }
  .celestial-home .science-paths strong { font-size: .72rem; }
  .celestial-home .science-paths small { font-size: .58rem; }
}
@media (max-width: 800px) {
  .atlas-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding-block: 1.5rem 2.8rem;
  }
  .atlas-figure {
    grid-row: 1;
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
  }
  .atlas-copy { max-width: 36rem; margin: 0 auto; width: 100%; }
  .atlas-copy h1 { font-size: clamp(3.7rem, 8vw, 5.1rem); }
  .atlas-figure figcaption { margin: -.5rem auto 0; max-width: 330px; }
  .atlas-figure figcaption strong { font-size: 1.35rem; }
  .atlas-strip > .container { gap: 1rem; }
  .atlas-credit { font-size: .64rem; }
  .celestial-home .science-paths .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .celestial-home .science-paths a { min-height: 88px; }
  .celestial-home .science-paths a:last-child { grid-column: 1 / -1; border-top: 1px solid #b2c6d21a; }
  .celestial-home .science-paths strong { font-size: .79rem; }
  .celestial-home .science-paths small { font-size: .67rem; }
}
@media (max-width: 480px) {
  .atlas-layout { padding-top: 1rem; gap: 1.7rem; }
  .atlas-figure { max-width: 305px; }
  .atlas-figure figcaption { max-width: 270px; padding-top: .7rem; }
  .atlas-figure figcaption a { min-height: 52px; gap: .25rem 1rem; }
  .atlas-figure figcaption .figure-kicker { font-size: .5rem; }
  .atlas-figure figcaption strong { font-size: 1.2rem; }
  .atlas-copy .eyebrow { font-size: .55rem; letter-spacing: .1em; gap: .6rem; margin-bottom: 1.25rem; }
  .atlas-copy .eyebrow::before { width: 18px; }
  .atlas-copy h1 { font-size: clamp(2.9rem, 13vw, 3.7rem); margin-bottom: 1.3rem; }
  .atlas-copy .atlas-lead { font-size: .92rem; line-height: 1.85; }
  .atlas-copy .atlas-marathi { font-size: .88rem; }
  .atlas-copy .actions { gap: .7rem; align-items: stretch; flex-direction: column; }
  .atlas-copy .button { font-size: .8rem; }
  .atlas-copy .hero-author { font-size: .54rem; }
  .atlas-reference, .atlas-scale-note, .lunar-reference { font-size: .45rem; }
  .lunar-reference { top: 23%; right: 1%; }
  .lunar-detail { width: 44px; height: 44px; bottom: 9%; left: 5%; }
  .atlas-strip > .container { align-items: start; flex-direction: column; gap: .75rem; }
  .atlas-strip .motion-toggle { font-size: .64rem; min-width: 110px; }
  .celestial-home .science-paths a { padding-inline: .5rem !important; }
  .celestial-home .science-notes article { padding: 1.5rem; }
  .page-intro::after { width: 290px; height: 290px; right: -70px; top: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-nebula img,
  .atlas-stars {
    animation: none !important;
  }
}
@media print {
  .atlas-nebula, .atlas-stars, .atlas-shade, .atlas-figure, .atlas-strip {
    display: none !important;
  }
  .atlas-hero, .atlas-layout, .celestial-home .section.alt, .celestial-home .notes-section {
    background: white !important;
    color: #13283c !important;
  }
  .atlas-layout { display: block; min-height: 0; }
}

.atlas-copy .button span { font-family: Arial, sans-serif; }
