body.page-about-story {
  height: auto;
  min-height: 100svh;
  overflow: visible;
  overflow-x: hidden;
}

.page-about-story .site-shell.about-shell {
  display: block;
  height: auto;
  min-height: 0;
  padding: clamp(2.5rem, 6vw, 5rem) 0 1rem;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 2.5rem;
}

.about-story-visual {
  position: static;
}

.about-story-visual .about-portrait-card {
  width: 100%;
}

.about-story-moon {
  display: block;
  width: 4rem;
  height: auto;
  /* Reserve the moon’s intrinsic proportions before video metadata arrives. */
  aspect-ratio: 1921 / 3272;
  margin: 1rem 0 0;
  pointer-events: none;
}

.about-story {
  min-width: 0;
  color: #ff5dc4;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.7;
}

.about-story h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.about-story h2 {
  margin: 0 0 0.85rem;
  color: #75d8b8;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.about-story section {
  grid-column: 1 / -1;
  margin: 0;
}

.about-story p {
  margin: 0 0 1.25rem;
}

.about-story section p:last-child {
  margin-bottom: 0;
}

.about-story .about-story-roles {
  margin: 0 0 1.5rem;
  color: #75d8b8;
}

.about-tools ul {
  margin: 0;
  padding-left: 1.25rem;
}

.about-tools li + li {
  margin-top: 0.35rem;
}

.about-press a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.about-press a:hover {
  color: #75d8b8;
}

@media (max-width: 900px) {
  .about-story-layout {
    grid-template-columns: 1fr;
    max-width: 40rem;
    margin: 0 auto;
    gap: 2rem;
  }

  .about-story-visual {
    position: static;
    width: min(100%, 23rem);
    margin: 0 auto;
  }

  .about-story-moon {
    display: none;
  }

  .about-story {
    text-align: left;
  }
}

@media (min-width: 901px) {
  .about-story-layout { align-items: start; row-gap: 1.5rem; }
  .about-story-moon { margin-top: -0.5rem; }
}

@media (min-width: 901px) {
  .about-story-intro { position: relative; }
  /* Retain the moon's former space so the following sections do not move. */
  .about-story-intro::after {
    content: "";
    display: block;
    width: 4rem;
    aspect-ratio: 1921 / 3272;
    margin-top: -0.5rem;
  }
  .about-story-intro .about-story-moon {
    position: absolute;
    top: -2rem;
    left: calc(clamp(2rem, 4vw, 3rem) * 5.6 + 12px);
    right: auto;
    margin: 0;
  }
}

@media (min-width: 901px) {
  .about-story-layout > section:first-of-type { margin-top: -70px; }
}
