:root {
  --paper: #f2eddf;
  --paper-deep: #e8dfca;
  --ink: #0d1a28;
  --ink-soft: #3e4a52;
  --navy: #101e2d;
  --navy-deep: #07111c;
  --gold: #c4943d;
  --gold-light: #e3bd72;
  --rust: #9b4f35;
  --green: #597c61;
  --line: rgba(13, 26, 40, 0.22);
  --line-light: rgba(242, 237, 223, 0.18);
  --shadow: 10px 10px 0 rgba(13, 26, 40, 0.1);
  --radius: 2px;
  --max-width: 1180px;
  --display: Georgia, "Times New Roman", serif;
  --sans: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(13, 26, 40, 0.025) 50%, transparent 50.2%),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
}

body::before {
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(13, 26, 40, 0.17) 0 0.7px, transparent 0.9px),
    radial-gradient(circle at 70% 60%, rgba(196, 148, 61, 0.18) 0 0.7px, transparent 1px);
  background-position: 0 0, 7px 5px;
  background-size: 9px 9px, 11px 11px;
  mix-blend-mode: multiply;
}

body::after {
  opacity: 0.11;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(7, 17, 28, 0.22) 4px
  );
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  color: var(--paper);
  background: var(--navy);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 237, 223, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
}

.language-switch > span {
  opacity: 0.35;
}

.language-switch button {
  min-width: 28px;
  min-height: 28px;
  padding: 2px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--gold);
}

.brand-glyph img {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle-lines::after {
  transform: translateY(4px);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

.site-nav .nav-moon {
  gap: 7px;
}

.nav-moon::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: inset -4px 0 0 var(--paper);
  content: "";
}

main {
  overflow: hidden;
}

.page-hero,
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 620px;
}

.hero-grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 4.2vw, 4.9rem);
  line-height: 1;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

h3 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
}

.lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button::after {
  content: "→";
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--gold);
}

.button-primary {
  color: var(--paper);
  background: var(--navy);
}

.button-secondary {
  background: transparent;
}

.button-no-arrow::after {
  content: none;
}

.hero-visual {
  position: relative;
  display: grid;
  height: min(70vh, 620px);
  min-height: 560px;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--navy);
}

.hero-visual::before,
.pixel-frame::after,
.moon-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-visual::before {
  z-index: 2;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(227, 189, 114, 0.08) 49% 51%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(242, 237, 223, 0.04) 0 2px, transparent 2px 5px);
  background-size: 37px 100%, 100% 5px;
  mix-blend-mode: screen;
}

.hero-image {
  width: min(88%, 520px);
  height: auto;
  max-height: 520px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex: none;
  border: 1px solid rgba(227, 189, 114, 0.34);
  filter: sepia(0.12) contrast(1.06) saturate(0.82);
  image-rendering: auto;
  box-shadow: 14px 14px 0 rgba(196, 148, 61, 0.18);
}

.hero-stamp {
  position: absolute;
  right: 24px;
  bottom: 26px;
  z-index: 3;
  width: 112px;
  padding: 12px 8px;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  background: rgba(7, 17, 28, 0.82);
  font-family: var(--sans);
  font-size: 0.64rem;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.section {
  padding-block: 96px;
  border-bottom: 1px solid var(--line);
}

.section-compact {
  padding-block: 62px;
}

.section-dark {
  color: var(--paper);
  background: var(--navy);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 50px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-dark .section-heading p:last-child {
  color: rgba(242, 237, 223, 0.7);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-label,
.paper-label,
.micro-label {
  display: block;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-value {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.metric-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.paper-card,
.research-card,
.value-card,
.log-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(248, 244, 234, 0.6);
}

.paper-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.paper-card:hover,
.research-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

.paper-card p,
.research-card p,
.value-card p {
  color: var(--ink-soft);
}

.paper-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.7rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 0.7rem;
}

.status::before {
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 2px 2px 0 rgba(89, 124, 97, 0.28);
  content: "";
  animation: status-blink 2.8s steps(2, end) infinite;
}

.text-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.moon-panel {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.media-band {
  padding-block: 54px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.media-band-dark {
  background: var(--navy-deep);
}

.editorial-figure {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.editorial-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(227, 189, 114, 0.22);
  filter: saturate(0.88) contrast(1.04);
}

.editorial-figure-wide img {
  aspect-ratio: 2 / 1;
}

.editorial-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 4px 1px;
  color: rgba(242, 237, 223, 0.65);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.045em;
}

.wisdom-terminal-figure {
  margin-bottom: 32px;
}

.moon-panel::after {
  opacity: 0.2;
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(227, 189, 114, 0.12) 8px 9px);
}

.moon-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.moon-copy p {
  max-width: 520px;
  color: rgba(242, 237, 223, 0.72);
}

.moon-orbit {
  position: relative;
  min-height: 430px;
  border-left: 1px solid var(--line-light);
}

.moon-orbit-image {
  margin: 0;
  overflow: hidden;
}

.moon-orbit-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 28, 0.45), transparent 52%), repeating-linear-gradient(0deg, transparent 0 3px, rgba(7, 17, 28, 0.2) 4px);
  content: "";
  pointer-events: none;
}

.moon-orbit-image .feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.moon-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 30%, rgba(13, 26, 40, 0.2) 0 8%, transparent 9%),
    radial-gradient(circle at 64% 62%, rgba(13, 26, 40, 0.18) 0 12%, transparent 13%),
    var(--gold-light);
  box-shadow: 0 0 60px rgba(227, 189, 114, 0.28), 10px 10px 0 rgba(196, 148, 61, 0.22);
  transform: translate(-50%, -50%);
}

.moon-disc::after {
  position: absolute;
  inset: -70px;
  border: 1px dashed rgba(227, 189, 114, 0.32);
  border-radius: 50%;
  content: "";
}

.footnote {
  margin-top: 24px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
}

.page-hero-inner {
  padding-block: 100px 76px;
}

.page-hero-inner h1 {
  max-width: 880px;
}

.page-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.index-chip,
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.index-chip {
  min-height: 36px;
  padding: 6px 10px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.research-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 34px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.research-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.research-number {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.research-result {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.research-result strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 500;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tag {
  padding: 4px 7px;
  color: var(--ink-soft);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dashboard-metric {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-value {
  display: block;
  margin: 30px 0 14px;
  font-family: var(--sans);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-value[data-moon-field="signal"] {
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
}

.log-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.log-list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.log-time {
  color: var(--rust);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.log-list p {
  margin: 0;
}

.wisdom-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  border: 1px solid var(--line);
  background: rgba(248, 244, 234, 0.62);
  box-shadow: var(--shadow);
}

.wisdom-output {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 6vw, 70px);
  border-right: 1px solid var(--line);
}

.wisdom-mark {
  color: var(--gold);
  font-family: var(--display);
  font-size: 5rem;
  line-height: 0.6;
}

.wisdom-text {
  max-width: 780px;
  margin: 28px 0 40px;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.06;
}

.wisdom-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 34px;
  background: var(--paper-deep);
}

.wisdom-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
}

.about-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 280px;
  padding: 30px;
}

.value-number {
  display: block;
  margin-bottom: 58px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.timeline-year {
  font-family: var(--display);
  font-size: 2rem;
}

.notice {
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  background: rgba(232, 223, 202, 0.7);
}

.notice p:last-child {
  margin-bottom: 0;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 86px);
  place-items: center;
  padding-block: 70px;
  text-align: center;
}

.error-code {
  position: relative;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: clamp(6rem, 25vw, 18rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.1em;
  text-shadow: 7px 0 0 rgba(196, 148, 61, 0.38), -5px 0 0 rgba(155, 79, 53, 0.2);
}

.error-code::after {
  position: absolute;
  inset: 40% -8% auto;
  height: 10px;
  background: var(--paper);
  content: "";
}

.not-found p {
  max-width: 620px;
  margin-inline: auto;
}

.site-footer {
  color: var(--paper);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-block: 46px;
}

.footer-title {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(242, 237, 223, 0.62);
  font-size: 0.82rem;
}

.footer-meta {
  text-align: right;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes status-blink {
  0%,
  78% {
    opacity: 1;
  }
  79%,
  100% {
    opacity: 0.35;
  }
}

@media (max-width: 1000px) {
  .hero,
  .hero-grid {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 72px 0 58px;
  }

  .hero-visual {
    height: min(58vw, 520px);
    min-height: 380px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-image {
    width: min(52vw, 420px);
    max-height: 84%;
  }
}

@media (max-width: 980px) {
  .hero-copy {
    padding-right: 0;
  }

  .card-grid,
  .about-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid > :last-child,
  .value-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 819px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-copy span {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    border: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 8px 8px 0 var(--gold);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    display: grid;
    padding: 8px;
  }

  .site-nav a {
    min-height: 50px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .hero-grid {
    min-height: 0;
  }

  .hero-grid,
  .section-heading,
  .moon-panel,
  .wisdom-lab {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 72px 0 54px;
  }

  .hero-visual {
    height: min(72vw, 460px);
    min-height: 340px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 34px;
  }

  .moon-orbit,
  .wisdom-output {
    border: 0;
  }

  .moon-orbit {
    border-top: 1px solid var(--line-light);
  }

  .wisdom-output {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  body::after {
    opacity: 0.07;
  }

  .metric-grid,
  .card-grid,
  .research-grid,
  .dashboard-grid,
  .about-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .card-grid > :last-child,
  .value-grid > :last-child {
    grid-column: auto;
  }

  .metric,
  .dashboard-metric {
    min-height: 160px;
  }

  .paper-card,
  .research-card {
    min-height: 0;
  }

  .hero-visual {
    height: 360px;
    min-height: 0;
  }

  .hero-image {
    width: min(76vw, 330px);
    max-height: 82%;
  }

  .hero-stamp {
    right: 14px;
    bottom: 16px;
  }

  .moon-copy,
  .wisdom-controls,
  .research-card,
  .paper-card {
    padding: 26px;
  }

  .moon-disc {
    width: 170px;
    height: 170px;
  }

  .log-list li,
  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .editorial-figure {
    padding: 8px;
  }

  .editorial-figure figcaption {
    display: grid;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
