/* Project detail page — NASA-lite minimal */

html { scroll-behavior: smooth; }

.project-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px 20px 80px;
}

.project-hero .hero-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.55;
}

.project-hero .hero-title {
  font-size: 44px;
  line-height: 1.05;
  margin: 10px 0 10px;
}

.project-hero .hero-subtitle {
  max-width: 68ch;
  opacity: 0.72;
  margin: 0 0 14px;
}

.project-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
}

.project-hero .hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.project-hero .hero-action {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 2px;
}

.project-hero .hero-action:hover {
  border-bottom-color: rgba(0, 63, 135, 0.75);
  color: rgba(0, 63, 135, 0.95);
}

.project-hero .hero-rule {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-top: 18px;
}

.project-section {
  margin-top: 22px;
}

.project-section .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.project-section .section-title {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

.project-section .section-meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.45;
}

.project-content {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 16px 16px;
  background: rgba(255,255,255,0.35);
}

.project-content p { margin: 0 0 10px; }
.project-content p:last-child { margin-bottom: 0; }

.cover {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
}

.cover img {
  width: 100%;
  height: auto;
  display: block;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  opacity: 0.9;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.stack-item {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.35);
  font-size: 13px;
}

.timeline {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
}

.tl-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.tl-row:first-child { border-top: none; }

.tl-date {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}

.tl-title {
  font-weight: 600;
}

.tl-note {
  opacity: 0.7;
  margin-top: 2px;
  font-size: 13px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.link-card {
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.35);
  display: block;
}

.link-card:hover {
  border-color: rgba(0, 63, 135, 0.35);
  color: rgba(0, 63, 135, 0.95);
}

.link-card-title {
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.75;
}

.link-card-url {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.7;
  word-break: break-word;
}

.project-footer .footer-rule {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-top: 26px;
}

.project-footer .footer-text {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Tag filter pills as buttons */
.tag-pill {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  cursor: pointer;
}

.tag-pill:hover {
  border-color: rgba(0, 63, 135, 0.35);
}

.tag-pill.is-active {
  border-color: rgba(0, 63, 135, 0.70);
  background: rgba(0, 63, 135, 0.06);
  color: rgba(0, 63, 135, 0.95);
}

.tag-pill-clear {
  margin-right: 10px;
  border-color: rgba(0,0,0,0.20);
}

.filter-hint {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.65;
  letter-spacing: 0.08em;
}

.filter-name {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Official mission-style project page */
.official-project-wrap {
  max-width: 1040px;
}

.official-hero .hero-title {
  max-width: 920px;
}

.mission-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  margin-top: 22px;
}

.mission-card {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 8px;
  background: rgba(255,255,255,0.38);
  padding: 15px;
}

.mission-card-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 12px;
}

.mission-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.mission-facts div {
  min-width: 0;
}

.mission-facts dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.48;
  margin-bottom: 4px;
}

.mission-facts dd {
  margin: 0;
  line-height: 1.35;
  color: rgba(0,0,0,0.78);
}

.recognition-card {
  display: flex;
  flex-direction: column;
}

.recognition-title {
  font-weight: 650;
  line-height: 1.3;
}

.recognition-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.56;
}

.recognition-item p {
  margin: 10px 0 0;
  color: rgba(0,0,0,0.68);
  line-height: 1.55;
}

.mission-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 0;
  background: var(--blog-cream, #fbfaf7);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mission-nav a {
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.64);
  background: rgba(255,255,255,0.36);
}

.mission-nav a:hover {
  border-color: rgba(0, 63, 135, 0.35);
  color: rgba(0, 63, 135, 0.95);
}

.official-content-section {
  margin-top: 18px;
}

.official-content {
  border-radius: 8px;
  padding: 20px 20px 6px;
}

.official-content h2 {
  margin: 28px 0 10px;
  padding-top: 4px;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.official-content h2:first-child {
  margin-top: 0;
}

.official-content h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

.official-content p,
.official-content li {
  line-height: 1.62;
}

.official-content ul,
.official-content ol {
  padding-left: 21px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.official-content li {
  margin: 3px 0;
}

.project-page .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.project-page .chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.62);
  background: rgba(255,255,255,0.35);
}

@media (max-width: 780px) {
  .project-wrap {
    padding: 38px 18px 64px;
  }

  .project-hero .hero-title {
    font-size: 34px;
  }

  .mission-panel-grid {
    grid-template-columns: 1fr;
  }

  .mission-facts {
    grid-template-columns: 1fr;
  }

  .mission-nav {
    position: static;
  }

  .tl-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* S-ART visual identity */
.sart-page {
  --sart-space: #071421;
  --sart-space-2: #0d2032;
  --sart-cyan: #21d4d8;
  --sart-cyan-soft: rgba(33, 212, 216, 0.16);
  --sart-amber: #f6b642;
  --sart-amber-soft: rgba(246, 182, 66, 0.16);
  --sart-border: rgba(10, 28, 44, 0.14);
  --sart-grid: rgba(10, 28, 44, 0.07);
  --sart-muted: rgba(10, 28, 44, 0.62);
  --sart-panel: rgba(255,255,255,0.68);
  background:
    linear-gradient(90deg, transparent 0 31px, var(--sart-grid) 32px),
    linear-gradient(0deg, transparent 0 31px, var(--sart-grid) 32px),
    var(--blog-cream, #fbfaf7);
  background-size: 32px 32px;
}

.sart-page .official-project-wrap {
  max-width: 1120px;
}

.sart-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 10px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(246,182,66,0.16), transparent 26%),
    linear-gradient(135deg, #071421 0%, #0c1d2d 58%, #102234 100%);
  color: rgba(255,255,255,0.9);
  box-shadow: 0 18px 42px rgba(7, 20, 33, 0.20);
}

.sart-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,0.055) 40px),
    linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,0.045) 40px);
  background-size: 40px 40px;
  pointer-events: none;
}

.sart-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sart-cyan), var(--sart-amber), transparent);
  opacity: 0.76;
}

.sart-hero-copy,
.sart-signal-panel {
  position: relative;
  z-index: 1;
}

.sart-page .project-hero .hero-kicker {
  color: var(--sart-cyan);
  opacity: 0.92;
}

.sart-page .project-hero .hero-title {
  max-width: none;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
  margin: 14px 0 8px;
  letter-spacing: 0;
}

.hero-full-name {
  margin: 0 0 16px;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.sart-page .project-hero .hero-subtitle {
  max-width: 56ch;
  color: rgba(255,255,255,0.78);
  opacity: 1;
  line-height: 1.65;
}

.sart-status-strip {
  gap: 9px;
  margin-top: 18px;
}

.sart-page .project-hero .pill,
.sart-page .project-hero .chip {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.075);
  color: rgba(255,255,255,0.82);
}

.sart-page .project-hero .pill {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.sart-page .project-hero .pill-secondary {
  color: rgba(255,255,255,0.76);
}

.sart-page .project-hero .pill-esa {
  border-color: rgba(246,182,66,0.48);
  background: rgba(246,182,66,0.12);
  color: #ffe0a0;
}

.sart-page .project-hero .hero-action {
  color: rgba(255,255,255,0.72);
  border-bottom-color: rgba(255,255,255,0.22);
}

.sart-page .project-hero .hero-action:hover {
  color: #ffffff;
  border-bottom-color: var(--sart-cyan);
}

.sart-signal-panel {
  margin: 0;
  min-height: 330px;
  align-self: center;
}

.sart-signal-panel svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.28));
}

.sart-svg-label {
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.18em;
  fill: rgba(255,255,255,0.66);
}

.sart-wave-path {
  stroke-dasharray: 9 8;
  animation: sart-scan 8s linear infinite;
}

.sart-page .mission-panel-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 16px;
  margin-top: 18px;
}

.sart-page .mission-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border-color: rgba(255,255,255,0.13);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px),
    linear-gradient(145deg, var(--sart-space), var(--sart-space-2));
  background-size: 22px 22px, 22px 22px, auto;
  color: rgba(255,255,255,0.88);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(7, 20, 33, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sart-page .mission-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(7, 20, 33, 0.16);
}

.sart-page .mission-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sart-cyan), rgba(33,212,216,0.1), var(--sart-amber));
  opacity: 0.78;
}

.sart-page .mission-card-label {
  color: var(--sart-cyan);
  opacity: 0.95;
}

.sart-page .mission-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sart-page .mission-facts dt {
  color: rgba(255,255,255,0.48);
  opacity: 1;
}

.sart-page .mission-facts dd {
  color: rgba(255,255,255,0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.sart-page .esa-milestone-card {
  background:
    linear-gradient(145deg, rgba(246,182,66,0.14), transparent 44%),
    linear-gradient(145deg, var(--sart-space), #112338);
}

.sart-page .recognition-title {
  font-size: 19px;
  color: #ffffff;
}

.sart-page .milestone-chips span {
  border: 1px solid rgba(246,182,66,0.32);
  border-radius: 999px;
  padding: 4px 7px;
  color: #ffe0a0;
  background: rgba(246,182,66,0.08);
}

.sart-page .recognition-item p {
  color: rgba(255,255,255,0.76);
}

.sart-page .mission-nav {
  top: 0;
  padding: 12px 0;
  backdrop-filter: blur(12px);
  background: rgba(251,250,247,0.88);
}

.sart-page .mission-nav a {
  border-radius: 7px;
  border-color: var(--sart-border);
  background: rgba(255,255,255,0.68);
}

.sart-page .official-content {
  position: relative;
  border-color: var(--sart-border);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(10,28,44,0.035) 32px),
    linear-gradient(0deg, transparent 0 31px, rgba(10,28,44,0.03) 32px),
    rgba(255,255,255,0.74);
  background-size: 32px 32px;
  box-shadow: 0 8px 24px rgba(7,20,33,0.055);
}

.sart-page .official-content h2 {
  position: relative;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--sart-border);
  color: rgba(7,20,33,0.92);
  letter-spacing: 0.12em;
}

.sart-page .official-content h2:first-child {
  border-top: none;
  padding-top: 0;
}

.sart-page .section-eyebrow {
  display: inline-flex;
  margin: 0 0 8px;
  border-left: 2px solid var(--sart-cyan);
  padding-left: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(7,20,33,0.55);
}

.sart-page .mission-chain {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 10px;
}

.sart-page .chain-node {
  position: relative;
  min-height: 118px;
  border: 1px solid var(--sart-border);
  border-radius: 8px;
  padding: 12px 10px;
  background: var(--sart-panel);
}

.sart-page .chain-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, var(--sart-cyan), transparent);
}

.sart-page .chain-node:last-child::after {
  display: none;
}

.sart-page .chain-index,
.sart-page .roadmap-step span,
.sart-page .subsystem-tag {
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sart-page .chain-index {
  color: var(--sart-cyan);
  margin-bottom: 10px;
}

.sart-page .chain-node strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(7,20,33,0.88);
}

.sart-page .chain-node p {
  margin: 0;
  font-size: 12px;
  color: var(--sart-muted);
}

.sart-page .subsystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 26px;
}

.sart-page .subsystem-card {
  border: 1px solid var(--sart-border);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 1px 0 rgba(7,20,33,0.03);
}

.sart-page .official-content .subsystem-card h3 {
  margin: 9px 0 8px;
  font-size: 15px;
}

.sart-page .subsystem-tag {
  border: 1px solid rgba(33,212,216,0.28);
  border-radius: 999px;
  padding: 3px 6px;
  color: rgba(7,90,104,0.92);
  background: var(--sart-cyan-soft);
}

.sart-page .subsystem-card p,
.sart-page .subsystem-card small {
  display: block;
  margin: 0;
  line-height: 1.45;
}

.sart-page .subsystem-card small {
  margin-top: 10px;
  color: var(--sart-muted);
}

.sart-page .roadmap-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 16px;
  border: 1px solid var(--sart-border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.76);
}

.sart-page .roadmap-step {
  position: relative;
  padding: 16px 14px;
  border-left: 1px solid var(--sart-border);
}

.sart-page .roadmap-step:first-child {
  border-left: none;
}

.sart-page .roadmap-step::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(7,20,33,0.28);
  background: #ffffff;
}

.sart-page .roadmap-step.is-current::before {
  border-color: var(--sart-cyan);
  background: var(--sart-cyan);
  box-shadow: 0 0 0 5px var(--sart-cyan-soft);
}

.sart-page .roadmap-step span {
  color: var(--sart-muted);
}

.sart-page .official-content .roadmap-step h3 {
  margin: 11px 0 8px;
  font-size: 15px;
}

.sart-page .roadmap-step p {
  margin: 0;
  font-size: 13px;
  color: var(--sart-muted);
}

@keyframes sart-scan {
  to { stroke-dashoffset: -68; }
}

@media (prefers-reduced-motion: reduce) {
  .sart-page *,
  .sart-page *::before,
  .sart-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .sart-hero {
    grid-template-columns: 1fr;
  }

  .sart-signal-panel {
    min-height: 0;
    max-width: 620px;
  }

  .sart-page .mission-chain,
  .sart-page .subsystem-grid,
  .sart-page .roadmap-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sart-page .chain-node::after {
    display: none;
  }

  .sart-page .roadmap-step {
    border-top: 1px solid var(--sart-border);
  }

  .sart-page .roadmap-step:nth-child(1),
  .sart-page .roadmap-step:nth-child(2) {
    border-top: none;
  }

  .sart-page .roadmap-step:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 780px) {
  .sart-hero {
    padding: 22px;
  }

  .sart-page .project-hero .hero-title {
    font-size: 58px;
  }

  .hero-full-name {
    font-size: 13px;
    line-height: 1.45;
  }

  .sart-page .mission-panel-grid,
  .sart-page .mission-facts,
  .sart-page .mission-chain,
  .sart-page .subsystem-grid,
  .sart-page .roadmap-panel {
    grid-template-columns: 1fr;
  }

  .sart-page .roadmap-step,
  .sart-page .roadmap-step:nth-child(2) {
    border-left: none;
    border-top: 1px solid var(--sart-border);
  }

  .sart-page .roadmap-step:first-child {
    border-top: none;
  }
}
