/* Landing page — SpaceX void + 1950s handbook plates.
 * Tokens stay on the aviation palette. Only body.is-landing is restyled. */

body.is-landing {
  background: var(--paper);
}

body.is-landing .site-nav {
  background: rgba(5, 8, 13, 0.78);
  border-bottom-color: rgba(233, 240, 247, 0.12);
  backdrop-filter: blur(14px);
}
body.is-landing .brand,
body.is-landing .brand__name { color: #f6f9fc; }
body.is-landing .site-nav__link { color: rgba(246, 249, 252, 0.72); }
body.is-landing .site-nav__link:hover {
  background: rgba(246, 249, 252, 0.08);
  color: #fff;
}
body.is-landing .site-nav__link.is-active {
  background: rgba(20, 83, 143, 0.45);
  color: #fff;
}
body.is-landing .btn--ghost { color: rgba(246, 249, 252, 0.86); }
body.is-landing .btn--ghost:hover {
  background: rgba(246, 249, 252, 0.1);
  color: #fff;
}
body.is-landing .site-nav__toggle {
  border-color: rgba(246, 249, 252, 0.25);
}
body.is-landing .site-nav__toggle span { background: #f6f9fc; }
body.is-landing .site-footer {
  background: #05080d;
  border-top-color: rgba(233, 240, 247, 0.1);
  color: rgba(246, 249, 252, 0.45);
}

/* ---------- Hero ---------- */

.landing-hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: 0;
  padding: 6.5rem 1.5rem 5.5rem;
  text-align: left;
  color: #f6f9fc;
  overflow: hidden;
}
.landing-hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.landing-hero__chart {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.landing-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}
.landing-stamp {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.landing-hero .hero__kicker {
  background: transparent;
  border: 1px solid rgba(246, 249, 252, 0.28);
  color: #faeadd;
  margin-bottom: 1.4rem;
}
.landing-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1.1rem;
  color: #fff;
  text-wrap: balance;
}
.landing-hero .hero__lede {
  margin: 0 0 2rem;
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(246, 249, 252, 0.78);
  text-align: left;
}
.landing-hero .hero__actions { justify-content: flex-start; }
.landing-btn-ghost {
  border: 1px solid rgba(246, 249, 252, 0.35);
  color: #f6f9fc;
}
.landing-btn-ghost:hover {
  border-color: #fff;
  background: rgba(246, 249, 252, 0.08);
  color: #fff;
}
.landing-hero__credit {
  margin: 1.75rem 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: rgba(246, 249, 252, 0.5);
}
.landing-hero__credit a {
  color: #faeadd;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 640px) {
  .landing-hero { padding: 3.5rem 1.25rem 3.25rem; text-align: left; }
  .landing-hero h1 { font-size: 2.15rem; }
}

/* ---------- Sections ---------- */

.landing { padding: 0; }
.landing-section {
  padding: 4.5rem 1.5rem;
}
.landing-section--paper { background: var(--paper); }
.landing-section--void {
  background: #05080d;
  color: #f6f9fc;
}
.landing-section__head {
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.landing-section__head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.landing-section__head p { color: var(--ink-soft); margin: 0; }
.landing-section__head--light p { color: rgba(246, 249, 252, 0.7); }
.landing-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
}
.landing-kicker--light { color: #e3a06a; }

/* ---------- Source plates (50s data-plate) ---------- */

.source-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.source-plate {
  background: #fffdf8;
  border: 1px solid #d4c4a8;
  box-shadow: inset 0 0 0 3px #f3ead6, var(--shadow);
  border-radius: 2px;
  padding: 1.35rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 13.5rem;
}
.source-plate--index {
  background: var(--brand-deep);
  border-color: var(--brand);
  box-shadow: inset 0 0 0 3px rgba(246, 249, 252, 0.12);
  color: #f6f9fc;
}
.source-plate--index p { color: rgba(246, 249, 252, 0.75); }
.source-plate--index .source-plate__doc { color: #e3a06a; }
.source-plate--index h3 { color: #fff; }
.source-plate--index .source-plate__link { color: #faeadd; }
.source-plate__doc {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.65rem;
}
.source-plate h3 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.source-plate p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 1.1rem;
  flex: 1;
}
.source-plate__link {
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.source-plate__link:hover { text-decoration: underline; text-underline-offset: 0.16em; }

/* ---------- Method (SpaceX numbered stack) ---------- */

.method-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}
.method-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(246, 249, 252, 0.12);
}
.method-list li:last-child { border-bottom: 1px solid rgba(246, 249, 252, 0.12); }
.method-list__n {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.15rem;
}
.method-list h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.method-list p { color: rgba(246, 249, 252, 0.68); margin: 0; }

@media (max-width: 560px) {
  .method-list li { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ---------- Close / plaque ---------- */

.landing-cred {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.landing-cred h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.03em;
}
.landing-cred > div > p { color: var(--ink-soft); max-width: 38rem; }
.landing-cred__actions { justify-content: flex-start; margin-top: 1.5rem; }

.landing-plaque {
  background: #111821;
  color: #f6f9fc;
  border-radius: 2px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent);
}
.landing-plaque__eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e3a06a;
  margin: 0 0 0.7rem;
}
.landing-plaque__body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(246, 249, 252, 0.82);
  margin: 0 0 1rem;
}
.landing-plaque__src { margin: 0; font-size: 0.85rem; }
.landing-plaque__src a { color: #faeadd; }

@media (max-width: 800px) {
  .landing-cred { grid-template-columns: 1fr; gap: 2rem; }
}
