/* Pixel edition: keep the lunar layout, but make the type and details feel built from pixels. */
html[data-edition="pixel"] {
  --bg: #08090b;
  --surface: #0d0f12;
  --text: #f0f1f0;
  --muted: #b0b4b8;
  --line: rgba(222, 227, 232, 0.17);
  --font: var(--pixel);
  --display: var(--pixel);
  --label-size: 11px;
  --label-tracking: 0.08em;
  --side: clamp(20px, 5.2vw, 80px);
  color-scheme: dark;
  scroll-padding-top: 88px;
}

html[data-edition="pixel"] body,
html[data-edition="pixel"] body * {
  font-family: var(--pixel);
}

html[data-edition="pixel"] body {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: none;
  font-synthesis: none;
}

html[data-edition="pixel"] :is(h1, h2, h3, p) {
  margin-block: 0;
}

html[data-edition="pixel"] :is(p, .timeline-description, .faq-answer) {
  line-height: 1.7;
}

html[data-edition="pixel"] :is(h1, h2, h3) {
  color: #f2f3f2;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

html[data-edition="pixel"] em {
  font-style: normal;
}

html[data-edition="pixel"] ::selection {
  color: #08090b;
  background: #d7dbde;
}

html[data-edition="pixel"] :focus-visible {
  outline: 2px solid #e3e6e8;
  outline-offset: 4px;
  border-radius: 0;
}

/* The hero title stays on one line even on narrow phones. */
html[data-edition="pixel"] .hero h1 {
  display: inline-block;
  max-width: 100%;
  margin: 28px 0 22px;
  color: #f4f4f1;
  font-size: clamp(26px, 9.8vw, 132px);
  line-height: 1.16;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.42);
}

html[data-edition="pixel"] .hero h1 span {
  color: #d9dcdf;
}

html[data-edition="pixel"] .hero-eyebrow {
  gap: 10px;
  color: #e0e2e3;
  font-size: 11px;
  letter-spacing: 0.08em;
}

html[data-edition="pixel"] .hero-tagline {
  max-width: 38ch;
  margin-inline: auto;
  color: #f0f1f0;
  font-size: clamp(20px, 2.25vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

html[data-edition="pixel"] .hero-tagline em {
  color: #c7cbcf;
}

html[data-edition="pixel"] .hero-description {
  max-width: 54ch;
  margin: 18px auto 0;
  color: #d0d3d5;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-shadow: 0 2px 10px #000;
}

html[data-edition="pixel"] .hero-copy {
  padding-top: clamp(150px, 19svh, 205px);
}

html[data-edition="pixel"] .hero-shade {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.2) 48%,
    transparent 68%,
    #08090b 100%
  );
}

html[data-edition="pixel"] .hero-image {
  filter: grayscale(0.5) saturate(0.32) contrast(1.06) brightness(0.9);
}

/* Fine dither at the bottom of the sky gives the surface a pixel texture without striping it. */
html[data-edition="pixel"] .hero-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.13;
  background-image: radial-gradient(rgba(225, 229, 232, 0.68) 0.7px, transparent 0.9px);
  background-size: 7px 7px;
  mask-image: linear-gradient(180deg, transparent 38%, #000 100%);
}

html[data-edition="pixel"] .hero-bottom {
  bottom: 26px;
}

html[data-edition="pixel"] .scroll-cue {
  gap: 12px;
  padding-block: 10px;
  color: #d0d3d5;
  font-size: 11px;
  letter-spacing: 0.07em;
}

html[data-edition="pixel"] .scroll-line {
  width: 2px;
  height: 24px;
  background: repeating-linear-gradient(180deg, #d8dcdf 0 3px, transparent 3px 6px);
}

html[data-edition="pixel"] .event-coordinates {
  border-color: var(--line);
  color: #e4e6e7;
  font-size: 15px;
}

html[data-edition="pixel"] .coordinate-label,
html[data-edition="pixel"] .section-eyebrow,
html[data-edition="pixel"] .eyebrow {
  color: #b9bec2;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.075em;
}

html[data-edition="pixel"] .detail-note {
  color: #aeb3b7;
  font-size: 13px;
}

/* Shared section headings use a compact scale so the square letterforms wrap cleanly. */
html[data-edition="pixel"] h2 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.24;
  letter-spacing: 0.005em;
}

html[data-edition="pixel"] .muted-heading,
html[data-edition="pixel"] h2 em,
html[data-edition="pixel"] .passage-title em {
  color: #c2c7cb;
}

html[data-edition="pixel"] .section-eyebrow {
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

html[data-edition="pixel"] .section-eyebrow > span {
  display: inline-grid;
  min-width: 30px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(222, 227, 232, 0.24);
  color: #e0e3e5;
  font-size: 12px;
  letter-spacing: 0;
}

html[data-edition="pixel"] .intro-copy .lead {
  color: #e0e3e5;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}

html[data-edition="pixel"] .intro-copy > p:not(.lead),
html[data-edition="pixel"] .principles p,
html[data-edition="pixel"] .section-intro > p,
html[data-edition="pixel"] .timeline-description,
html[data-edition="pixel"] .partners-heading > p,
html[data-edition="pixel"] .partner-status p,
html[data-edition="pixel"] .partner-status small,
html[data-edition="pixel"] .partner-footer,
html[data-edition="pixel"] .faq-note,
html[data-edition="pixel"] .faq-answer,
html[data-edition="pixel"] .closing-note {
  color: #bcc1c5;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

html[data-edition="pixel"] .principles {
  border-color: var(--line);
  gap: clamp(24px, 4vw, 56px);
}

html[data-edition="pixel"] .principle-number,
html[data-edition="pixel"] .phase,
html[data-edition="pixel"] .timeline-tag {
  color: #b8bdc1;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

html[data-edition="pixel"] .principles h3 {
  margin-top: 20px;
  color: #e7e9ea;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0;
}

html[data-edition="pixel"] .timeline,
html[data-edition="pixel"] .timeline-item,
html[data-edition="pixel"] .faq-list details,
html[data-edition="pixel"] .faq-list details:first-child {
  border-color: var(--line);
}

html[data-edition="pixel"] .timeline summary {
  padding-block: 25px;
}

html[data-edition="pixel"] .timeline-title {
  color: #e5e7e8;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

html[data-edition="pixel"] .timeline-tag {
  margin-top: 7px;
  line-height: 1.6;
}

html[data-edition="pixel"] .details-plus {
  color: #c3c8cc;
  font-size: 19px;
}

html[data-edition="pixel"] .timeline summary:hover .timeline-title {
  color: #fff;
}

html[data-edition="pixel"] .partners {
  border-color: var(--line);
}

html[data-edition="pixel"] .partners-heading > p {
  padding-bottom: 3px;
}

html[data-edition="pixel"] .partners-awaiting {
  border-color: var(--line);
  border-radius: 0;
  background:
    radial-gradient(rgba(219, 224, 228, 0.2) 0.65px, transparent 0.9px) 0 0 / 8px 8px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 65%);
}

html[data-edition="pixel"] .partner-signal,
html[data-edition="pixel"] .partner-signal::after {
  border-color: rgba(222, 227, 232, 0.24);
  border-radius: 0;
}

html[data-edition="pixel"] .partner-signal {
  color: #c1c6ca;
}

html[data-edition="pixel"] .partner-signal::after {
  border-style: dashed;
  opacity: 0.55;
}

html[data-edition="pixel"] .partner-status {
  color: #e2e4e5;
  font-size: 19px;
  line-height: 1.5;
}

html[data-edition="pixel"] .partner-grid {
  border-color: var(--line);
}

html[data-edition="pixel"] .faq {
  border-color: var(--line);
}

html[data-edition="pixel"] .faq-list summary {
  color: #e3e6e7;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

html[data-edition="pixel"] .faq-answer {
  padding-bottom: 24px;
}

html[data-edition="pixel"] .text-link {
  color: #e1e4e6;
  text-decoration-color: rgba(225, 228, 230, 0.48);
  text-underline-offset: 4px;
}

html[data-edition="pixel"] .text-link:hover {
  text-decoration: underline;
}

html[data-edition="pixel"] .journey-panel::before {
  background: linear-gradient(
    180deg,
    rgba(6, 7, 8, 0.56),
    rgba(6, 7, 8, 0.86) 22%,
    rgba(6, 7, 8, 0.86) 78%,
    rgba(6, 7, 8, 0.58)
  );
}

html[data-edition="pixel"] .journey-passage::before {
  background: linear-gradient(90deg, rgba(6, 7, 8, 0.82), rgba(6, 7, 8, 0.38) 58%, rgba(6, 7, 8, 0.48));
}

html[data-edition="pixel"] .passage-title {
  color: #eef0f1;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.24;
  letter-spacing: 0.005em;
}

html[data-edition="pixel"] .passage-copy .eyebrow {
  margin-bottom: 20px;
}

html[data-edition="pixel"] .passage-rule {
  width: 84px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #d1d5d8 0 3px, transparent 3px 7px);
}

html[data-edition="pixel"] .meteorite-study img {
  filter: grayscale(1) contrast(1.04);
}

html[data-edition="pixel"] .journey-poster img {
  filter: grayscale(0.55) saturate(0.28) brightness(0.8);
}

html[data-edition="pixel"] .closing {
  border-color: var(--line);
  background: linear-gradient(180deg, #090a0c 0%, #101216 100%);
}

html[data-edition="pixel"] .closing .eyebrow {
  max-width: 52ch;
  margin: 0 auto 28px;
  color: #c1c6ca;
  font-size: 11px;
  letter-spacing: 0.075em;
}

html[data-edition="pixel"] .closing h2 {
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.28;
  letter-spacing: 0.005em;
}

html[data-edition="pixel"] .closing h2 em {
  color: #d0d4d7;
}

html[data-edition="pixel"] .closing .button {
  margin-top: 34px;
}

/* Square edges and stepped silhouettes give the controls a tactile pixel finish. */
html[data-edition="pixel"] .button {
  min-height: 56px;
  gap: 18px;
  padding: 10px 12px 10px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111316;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  box-shadow: none;
  transition: transform 0.16s ease, color 0.16s ease;
}

html[data-edition="pixel"] .button::before {
  background: #e5e7e7;
}

html[data-edition="pixel"] .button:hover::before {
  background: #fff;
}

html[data-edition="pixel"] .button-light {
  color: #111316;
  box-shadow: none;
}

html[data-edition="pixel"] .button .button-icon {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: #181b1e;
  color: #f0f1f0;
  box-shadow: none;
}

html[data-edition="pixel"] .button-icon svg {
  width: 16px;
  height: 16px;
}

html[data-edition="pixel"] .button-icon svg path {
  stroke-linecap: square;
  stroke-linejoin: miter;
}

html[data-edition="pixel"] .nav-register {
  min-height: 44px;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(222, 227, 232, 0.32);
  border-radius: 0;
  background: rgba(12, 14, 17, 0.66);
  color: #f0f1f0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: none;
  /* Keep the focus outline outside the control unobstructed. */
  clip-path: none;
}

html[data-edition="pixel"] .nav-register:hover {
  border-color: rgba(240, 243, 245, 0.62);
  background: rgba(31, 34, 38, 0.82);
}

html[data-edition="pixel"] .nav-register .button-icon {
  width: 16px;
  height: 16px;
}

html[data-edition="pixel"] .desktop-nav {
  gap: 2px;
  color: #e0e3e5;
  font-size: 12px;
}

html[data-edition="pixel"] .desktop-nav a {
  padding: 11px 12px;
  border-radius: 0;
}

html[data-edition="pixel"] .desktop-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

html[data-edition="pixel"] .menu-toggle,
html[data-edition="pixel"] .mobile-nav {
  border-radius: 0;
}

html[data-edition="pixel"] .menu-toggle {
  border-color: var(--line);
  background: rgba(12, 14, 17, 0.72);
}

html[data-edition="pixel"] .mobile-nav {
  border-color: rgba(222, 227, 232, 0.25);
  background: #0c0e11;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.48);
  font-size: 14px;
}

html[data-edition="pixel"] .mobile-nav a {
  border-color: var(--line);
}

html[data-edition="pixel"] .brand {
  gap: 10px;
  color: #f1f2f1;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

html[data-edition="pixel"] .brand-mark :is(canvas, img, svg),
html[data-edition="pixel"] .orbit-symbol :is(canvas, img, svg) {
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

html[data-edition="pixel"] .footer {
  border-color: var(--line);
}

html[data-edition="pixel"] .footer > p,
html[data-edition="pixel"] .back-top,
html[data-edition="pixel"] .copyright {
  color: #b5bbc0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
}

html[data-edition="pixel"] .footer .brand {
  font-size: 15px;
}

html[data-edition="pixel"] .back-top span {
  margin-left: 10px;
  font-size: 15px;
}

/* Optional edition links are deliberately small and work in either the footer or header. */
html[data-edition="pixel"] .edition-switch {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  color: #bdc2c6;
  font-size: 11px;
  line-height: 1.5;
}

html[data-edition="pixel"] .edition-switch a {
  display: inline-block;
  padding: 4px 7px;
  color: inherit;
}

html[data-edition="pixel"] .edition-switch [aria-current="page"],
html[data-edition="pixel"] .edition-switch .is-current {
  background: rgba(220, 225, 229, 0.12);
  color: #f0f1f0;
}

html[data-edition="pixel"] .footer .edition-switch {
  grid-column: 1 / -1;
}

/* Preserve crisp edges in authored pixel artwork. */
html[data-edition="pixel"] :is(.pixel-art-canvas, .journey-canvas, .atmosphere) {
  image-rendering: pixelated;
}

html[data-edition="pixel"] .pixel-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  image-rendering: pixelated;
}

html[data-edition="pixel"] .hero-image,
html[data-edition="pixel"] .journey-poster img,
html[data-edition="pixel"] .meteorite-study img {
  image-rendering: pixelated;
}

html[data-edition="pixel"] .passage-copy,
html[data-edition="pixel"] .meteorite-study {
  position: relative;
  z-index: 1;
}

@media (max-width: 1000px) {
  html[data-edition="pixel"] .site-header {
    gap: 16px;
  }

  html[data-edition="pixel"] .desktop-nav a {
    padding-inline: 9px;
  }

  html[data-edition="pixel"] .event-coordinates {
    gap: 18px;
  }
}

@media (max-width: 700px) {
  html[data-edition="pixel"] {
    --side: 20px;
  }

  html[data-edition="pixel"] .site-header {
    height: 80px;
    padding-inline: 20px;
    gap: 8px;
  }

  html[data-edition="pixel"] .brand {
    gap: 7px;
    font-size: 14px;
  }

  html[data-edition="pixel"] .brand-mark {
    width: 30px;
    height: 30px;
  }

  html[data-edition="pixel"] .header-actions {
    gap: 8px;
  }

  html[data-edition="pixel"] .nav-register {
    min-height: 44px;
    gap: 8px;
    padding-inline: 10px;
    font-size: 12px;
  }

  html[data-edition="pixel"] .hero-copy {
    padding: 150px 16px 0;
  }

  html[data-edition="pixel"] .hero h1 {
    margin-block: 24px 20px;
    font-size: clamp(26px, 9.8vw, 68px);
  }

  html[data-edition="pixel"] .hero-tagline {
    max-width: 30ch;
    font-size: clamp(19px, 5.2vw, 24px);
    line-height: 1.55;
  }

  html[data-edition="pixel"] .hero-description {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  html[data-edition="pixel"] .hero-cta {
    margin-top: 24px;
    padding-inline: 18px 10px;
  }

  html[data-edition="pixel"] .hero-image {
    object-position: 82% center;
  }

  html[data-edition="pixel"] .hero-bottom {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

  html[data-edition="pixel"] .event-coordinates {
    gap: 22px 14px;
    padding: 25px 20px;
    font-size: 14px;
  }

  html[data-edition="pixel"] .coordinate-label {
    font-size: 10px;
  }

  html[data-edition="pixel"] .section {
    padding-block: 74px;
  }

  html[data-edition="pixel"] .journey-panel {
    min-height: 0;
    padding-block: 84px;
  }

  html[data-edition="pixel"] .section-eyebrow {
    gap: 12px;
    margin-bottom: 30px;
  }

  html[data-edition="pixel"] h2 {
    font-size: clamp(28px, 7.5vw, 42px);
    line-height: 1.34;
  }

  html[data-edition="pixel"] .intro-grid {
    gap: 30px;
  }

  html[data-edition="pixel"] .intro-copy .lead {
    font-size: 16px;
  }

  html[data-edition="pixel"] .principles {
    gap: 22px;
    margin-top: 38px;
    padding-top: 24px;
  }

  html[data-edition="pixel"] .principles article {
    padding-bottom: 22px;
  }

  html[data-edition="pixel"] .principles h3 {
    margin: 0 0 8px;
    font-size: 17px;
  }

  html[data-edition="pixel"] .principles p {
    font-size: 15px;
  }

  html[data-edition="pixel"] .schedule-grid,
  html[data-edition="pixel"] .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  html[data-edition="pixel"] .timeline summary {
    padding-block: 20px;
    grid-template-columns: 25px minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  html[data-edition="pixel"] .timeline-title {
    font-size: 16px;
  }

  html[data-edition="pixel"] .timeline-description {
    margin: 0 18px 22px 37px;
    font-size: 15px;
  }

  html[data-edition="pixel"] .partners-heading > p {
    margin-top: 18px;
  }

  html[data-edition="pixel"] .partners-awaiting {
    justify-content: flex-start;
    gap: 20px;
    min-height: 170px;
    padding: 24px 18px;
  }

  html[data-edition="pixel"] .partner-signal {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  html[data-edition="pixel"] .partner-status {
    font-size: 17px;
  }

  html[data-edition="pixel"] .partner-status p,
  html[data-edition="pixel"] .partner-status small,
  html[data-edition="pixel"] .partner-footer {
    font-size: 15px;
  }

  html[data-edition="pixel"] .partner-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  html[data-edition="pixel"] .faq {
    display: block;
  }

  html[data-edition="pixel"] .faq-note {
    margin-top: 18px;
  }

  html[data-edition="pixel"] .faq-list {
    margin-top: 30px;
    padding-top: 0;
  }

  html[data-edition="pixel"] .faq-list summary {
    min-height: 70px;
    gap: 16px;
    padding-block: 20px;
    font-size: 15px;
  }

  html[data-edition="pixel"] .faq-answer {
    padding: 0 18px 20px 0;
    font-size: 15px;
  }

  html[data-edition="pixel"] .journey-passage {
    min-height: 100svh;
    padding-block: 68px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  html[data-edition="pixel"] .passage-title {
    font-size: clamp(28px, 7.4vw, 42px);
    line-height: 1.35;
  }

  html[data-edition="pixel"] .passage-copy .eyebrow {
    margin-bottom: 16px;
  }

  html[data-edition="pixel"] .meteorite-study {
    width: 90%;
    margin: 0 0 0 10%;
  }

  html[data-edition="pixel"] .passage-rule {
    margin-top: 22px;
  }

  html[data-edition="pixel"] .journey-finale {
    min-height: 100svh;
    padding: 96px 20px 30svh;
  }

  html[data-edition="pixel"] .closing {
    padding: 88px 20px 72px;
  }

  html[data-edition="pixel"] .closing .eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
    line-height: 1.8;
  }

  html[data-edition="pixel"] .closing h2,
  html[data-edition="pixel"] .journey-finale h2 {
    font-size: clamp(23px, 7.2vw, 46px);
    line-height: 1.38;
  }

  html[data-edition="pixel"] .closing .button {
    margin-top: 27px;
  }

  html[data-edition="pixel"] .footer {
    grid-template-columns: 1fr auto;
    padding: 26px 20px;
    gap: 16px 12px;
  }

  html[data-edition="pixel"] .footer > p {
    grid-row: 2;
    grid-column: 1;
    text-align: left;
  }

  html[data-edition="pixel"] .copyright {
    grid-row: 2;
    grid-column: 2;
    margin: 0;
    text-align: right;
  }

  html[data-edition="pixel"] .footer .edition-switch {
    grid-row: 3;
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  html[data-edition="pixel"] .site-header {
    padding-inline: 16px;
    gap: 6px;
  }

  html[data-edition="pixel"] .brand {
    gap: 6px;
    font-size: 13px;
  }

  html[data-edition="pixel"] .brand-mark {
    width: 28px;
    height: 28px;
  }

  html[data-edition="pixel"] .nav-register {
    min-height: 44px;
    gap: 6px;
    padding-inline: 8px;
    font-size: 11px;
  }

  html[data-edition="pixel"] .header-actions {
    gap: 6px;
  }

  html[data-edition="pixel"] .hero h1 {
    font-size: clamp(25px, 9.6vw, 36px);
  }

  html[data-edition="pixel"] .hero-eyebrow {
    gap: 7px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  html[data-edition="pixel"] .hero-tagline {
    font-size: 19px;
  }

  html[data-edition="pixel"] .event-coordinates {
    padding-inline: 16px;
  }

  html[data-edition="pixel"] .footer {
    grid-template-columns: 1fr;
  }

  html[data-edition="pixel"] .footer > p {
    grid-row: auto;
    grid-column: 1;
  }

  html[data-edition="pixel"] .back-top {
    grid-row: auto;
    grid-column: 1;
  }

  html[data-edition="pixel"] .copyright {
    grid-row: auto;
    grid-column: 1;
    text-align: left;
  }

  html[data-edition="pixel"] .footer .edition-switch {
    grid-row: auto;
    grid-column: 1;
  }
}

/* Authored pixel scenes: no low-resolution video or photographic filters. */
html[data-edition="pixel"] .hero-image,
html[data-edition="pixel"] .meteorite-study img,
html[data-edition="pixel"] .journey-poster img { filter: none; }
html[data-edition="pixel"] .hero-scene::after { display: none; }
html[data-edition="pixel"] .partners-awaiting { background-image: none; }
html[data-edition="pixel"] .journey-poster { display: none; }
html[data-edition="pixel"] .scroll-journey {
  view-timeline-name: --pixel-voyage;
  view-timeline-axis: block;
}
.pixel-journey-scenes, .pixel-journey-scenes img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pixel-journey-scenes { overflow: hidden; }
.pixel-journey-scenes img { object-fit: cover; image-rendering: pixelated; }
.pixel-arrival { opacity: 0; }
html[data-edition="pixel"] .closing.journey-finale {
  padding-bottom: 34svh;
  background: linear-gradient(rgba(6,7,8,.45), rgba(6,7,8,.08)), url('/assets/pixel/arrival.webp') center / cover;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pixel-space {
      animation: pixel-space-travel linear both;
      animation-timeline: --pixel-voyage;
      animation-range: contain 0% contain 100%;
    }
    .pixel-arrival {
      animation: pixel-moon-arrival linear both;
      animation-timeline: --pixel-voyage;
      animation-range: contain 0% contain 100%;
    }
    html[data-edition="pixel"] .closing.journey-finale {
      background: linear-gradient(180deg, rgba(6,7,8,.65), rgba(6,7,8,.25) 50%, transparent 78%);
    }
  }
}
@keyframes pixel-space-travel {
  from { transform: scale(1.03) translateY(1%); }
  to { transform: scale(1.14) translateY(-2%); }
}
@keyframes pixel-moon-arrival {
  0%, 70% { opacity: 0; transform: translateY(10%); }
  88%, 100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pixel-space { transform: none; }
  .pixel-arrival { opacity: 0; }
}
/* Narrow/tall crops follow the rover; laptop frames favor the open central sky. */
html[data-edition="pixel"] .hero-image { object-position: 75% center; }
@media (min-width: 1280px) and (min-aspect-ratio: 3/2) {
  html[data-edition="pixel"] .hero-image { object-position: 65% center; }
}
@media (min-width: 1440px) and (min-aspect-ratio: 3/2) {
  html[data-edition="pixel"] .hero-image { object-position: 60% center; }
}
@media (min-width: 1600px) and (min-aspect-ratio: 16/9) {
  html[data-edition="pixel"] .hero-image { object-position: center; }
}
@media (max-width: 700px) {
  html[data-edition="pixel"] .hero-image { object-position: 90% center; }
}
html[data-edition="pixel"] .closing-note { margin-top: 24px; }

/* A second, smaller stone arrives in the open space beside the itinerary. */
html[data-edition="pixel"] .schedule-meteorite {
  width: min(90%, 360px);
  margin: 32px auto 8px;
  position: relative;
  pointer-events: none;
}
html[data-edition="pixel"] .schedule-meteorite img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  transform: rotate(12deg);
}
/* One scroll progress controls arrival, contact, dust expansion and dissipation. */
html[data-edition="pixel"] :is(.meteorite-study, .schedule-meteorite) {
  view-timeline-name: --meteorite-landing;
  view-timeline-axis: block;
}
html[data-edition="pixel"] .meteorite-impact {
  --dust-unit: clamp(6px, .7vw, 10px);
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}
html[data-edition="pixel"] .meteorite-impact > span {
  position: absolute;
  left: var(--impact-x);
  top: var(--impact-y);
  display: block;
  opacity: 0;
  pointer-events: none;
}
html[data-edition="pixel"] :is(.meteorite-impact__dust, .meteorite-impact__core) {
  width: clamp(18px, 2.1vw, 30px);
  aspect-ratio: 1;
  background: #e2e2df;
  clip-path: polygon(25% 0, 65% 0, 65% 12.5%, 87.5% 12.5%, 87.5% 37.5%, 100% 37.5%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 87.5%, 0 87.5%, 0 25%, 25% 25%);
}
html[data-edition="pixel"] .meteorite-impact__dust[data-tone="1"] { background: #b2b2ad; }
html[data-edition="pixel"] .meteorite-impact__dust[data-tone="2"] { background: #868681; }
html[data-edition="pixel"] .meteorite-impact__debris {
  width: clamp(5px, .65vw, 9px);
  aspect-ratio: 1;
  background: #f2f2ee;
  clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 75%, 75% 100%, 0 100%, 0 25%, 25% 25%);
}
html[data-edition="pixel"] .meteorite-impact__debris[data-tone="1"] { background: #bcbcb6; }
html[data-edition="pixel"] .meteorite-impact__debris[data-tone="2"] { width: clamp(4px, .45vw, 6px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html[data-edition="pixel"] .meteorite-study img {
      animation: pixel-stone-glide linear both;
      animation-timeline: --meteorite-landing;
      animation-range: entry 0% exit 100%;
    }
    html[data-edition="pixel"] .schedule-meteorite img {
      animation: pixel-geode-glide linear both;
      animation-timeline: --meteorite-landing;
      animation-range: entry 0% exit 100%;
    }
    html[data-edition="pixel"] .meteorite-impact { visibility: visible; }
    html[data-edition="pixel"] .meteorite-impact__dust {
      animation: pixel-impact-dust linear both;
      animation-timeline: --meteorite-landing;
      animation-range: entry 0% exit 100%;
    }
    html[data-edition="pixel"] .meteorite-impact__debris {
      animation: pixel-impact-debris linear both;
      animation-timeline: --meteorite-landing;
      animation-range: entry 0% exit 100%;
    }
    html[data-edition="pixel"] .meteorite-impact__core {
      animation: pixel-impact-core linear both;
      animation-timeline: --meteorite-landing;
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes pixel-stone-glide {
  0% { transform: translate(36%, -14%) rotate(16deg) scale(.94); opacity: 0; }
  12% { opacity: 1; }
  45% { transform: translate(5%, -2%) rotate(-2deg) scale(.995); }
  58%, 100% { transform: translate(0, 0) rotate(-5deg) scale(1); opacity: 1; }
}
@keyframes pixel-geode-glide {
  0% { transform: translate(-36%, -14%) rotate(-5deg) scale(.93); opacity: 0; }
  12% { opacity: 1; }
  45% { transform: translate(-5%, -2%) rotate(9deg) scale(.995); }
  58%, 100% { transform: translate(0, 0) rotate(12deg) scale(1); opacity: 1; }
}
@keyframes pixel-impact-core {
  0%, 55% { transform: translate(-50%, -50%) scale(.35); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1.05); opacity: .95; }
  69% { transform: translate(-50%, -50%) scale(1.8); opacity: .35; }
  83%, 100% { transform: translate(-50%, -65%) scale(2); opacity: 0; }
}
@keyframes pixel-impact-dust {
  0%, 56% { transform: translate(-50%, -50%) scale(.25); opacity: 0; }
  63% { transform: translate(calc(-50% + var(--flight-x) * .5), calc(-50% + var(--flight-y) * .5)) scale(var(--puff-scale)); opacity: .82; }
  73% { transform: translate(calc(-50% + var(--flight-x)), calc(-50% + var(--flight-y))) scale(calc(var(--puff-scale) * 1.2)); opacity: .52; }
  89%, 100% { transform: translate(calc(-50% + var(--flight-x) * 1.35), calc(-50% + var(--flight-y) * 1.2)) scale(calc(var(--puff-scale) * 1.35)); opacity: 0; }
}
@keyframes pixel-impact-debris {
  0%, 57% { transform: translate(-50%, -50%) rotate(0deg) scale(.5); opacity: 0; }
  62% { transform: translate(calc(-50% + var(--flight-x) * .4), calc(-50% + var(--flight-y) * .4)) rotate(0deg) scale(1); opacity: 1; }
  74% { transform: translate(calc(-50% + var(--flight-x)), calc(-50% + var(--flight-y))) rotate(var(--chip-turn)) scale(.85); opacity: .85; }
  90%, 100% { transform: translate(calc(-50% + var(--flight-x) * 1.2), calc(-50% + var(--flight-y) + 24px)) rotate(var(--chip-turn)) scale(.45); opacity: 0; }
}
@media (max-width: 700px) {
  html[data-edition="pixel"] .schedule-meteorite {
    width: min(68vw, 260px);
    margin-block: 24px 8px;
  }
}

/* The illustrated journey follows its content, rather than the film's holds. */
html[data-edition="pixel"] { overscroll-behavior-y: none; }
html[data-edition="pixel"] .journey-viewport { margin-bottom: 0; }
html[data-edition="pixel"] .journey-chapters { margin-top: -100svh; }
html[data-edition="pixel"] .journey-panel {
  min-height: 0;
  padding-block: clamp(76px, 10svh, 112px);
}
html[data-edition="pixel"] .journey-panel .section-eyebrow { margin-bottom: 32px; }
html[data-edition="pixel"] .journey-panel .principles { margin-top: 48px; }
html[data-edition="pixel"] .journey-passage {
  min-height: 0;
  padding-block: clamp(64px, 9svh, 104px);
}
html[data-edition="pixel"] .meteorite-study { margin: 0; }
html[data-edition="pixel"] .closing.journey-finale {
  min-height: 100svh;
  padding: clamp(64px, 10svh, 110px) var(--side) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
html[data-edition="pixel"] .closing h2 {
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 1.2;
}
html[data-edition="pixel"] .closing .button { margin-top: 28px; flex-shrink: 0; }
html[data-edition="pixel"] .closing-note { margin: 20px 0 64px; }
html[data-edition="pixel"] .closing .footer {
  position: relative;
  z-index: 2;
  width: calc(100% + var(--side) * 2);
  max-width: none;
  margin: auto calc(var(--side) * -1) 0;
  padding: 22px var(--side);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 36px;
  background: #08090b;
  text-align: left;
}
html[data-edition="pixel"] .closing .footer > p { display: none; }
html[data-edition="pixel"] .closing .footer .copyright { order: 1; }
html[data-edition="pixel"] .closing .footer .edition-switch { order: 2; }
html[data-edition="pixel"] .closing .footer .back-top { order: 3; }
html[data-edition="pixel"] .closing .footer .edition-switch {
  grid-column: auto;
  padding: 0;
  border: 0;
  justify-self: end;
}
html[data-edition="pixel"] .closing .footer .edition-switch a { padding: 10px 0; }
html[data-edition="pixel"] .closing .footer .back-top { padding-block: 10px; }
@media (max-width: 700px) {
  html[data-edition="pixel"] .journey-panel { padding-block: 64px; }
  html[data-edition="pixel"] .journey-passage {
    padding-block: 48px 64px;
    gap: 24px;
  }
  html[data-edition="pixel"] .meteorite-study { width: min(100%, 420px); justify-self: center; }
  html[data-edition="pixel"] .closing.journey-finale { padding-top: 64px; }
  html[data-edition="pixel"] .pixel-arrival { object-position: 24% center; }
  html[data-edition="pixel"] .closing.journey-finale { background-position: 24% center; }
  html[data-edition="pixel"] .closing .eyebrow { margin-bottom: 24px; }
  html[data-edition="pixel"] .closing .eyebrow { text-wrap: balance; }
  html[data-edition="pixel"] .closing h2 { font-size: clamp(30px, 8.8vw, 36px); }
  html[data-edition="pixel"] .closing-note { margin-bottom: 56px; font-size: 14px; }
  html[data-edition="pixel"] .closing .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-block: 18px;
  }
  html[data-edition="pixel"] .closing .footer .copyright {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    font-size: 11px;
  }
  html[data-edition="pixel"] .closing .footer .back-top { grid-column: 2; grid-row: 1; }
  html[data-edition="pixel"] .closing .footer .edition-switch { grid-column: 2; grid-row: 2; }
  html[data-edition="pixel"] .closing .footer .brand { font-size: 13px; }
  html[data-edition="pixel"] .closing .footer > * { order: 0; }
}
