/*
  About page: text on the left, photo on the right, on one screen. Everything is sized in vw / vh so it scales with
  the window. Below 900px wide (or in portrait) the columns stack and the page scrolls.
*/
.about .layer { position: fixed; }                 /* glow layers stay behind everything */

.about-body {
  position: absolute;
  inset: 14vh var(--header-inset) 5vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3vw;
}

.about-text {
  flex: 1 1 0;
  min-width: 0;
  font-size: min(1.2vw, 2.1vh);
  line-height: 1.45;
  text-shadow: 0 0 0.9em rgb(0 0 0 / 0.6);
  color: #fff;
}
.about-text p { margin: 0 0 1.2em; }

.about-text .about-links { display: flex; flex-wrap: wrap; gap: 0.6em 2.2em; margin: 1.8em 0 0; }
.about-links a { color: #fff; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.about-links a:hover, .about-links a:focus-visible { text-decoration-thickness: 2px; outline: none; }

.about-photo {
  flex: none;
  margin: 0;
  height: min(62vh, 36vw);
  aspect-ratio: 1179 / 1516;
}
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  html:has(body.about), body.about { height: auto; overflow-y: auto; }
  .about .stage { position: relative; min-height: 100vh; min-height: 100svh; }
  .about-body {
    position: relative; inset: auto;
    flex-direction: column; align-items: stretch; gap: 8vw;
    padding: 12vw 7vw 34vw;
  }
  .about-text { font-size: max(4.5vw, 16px); line-height: 1.5; }
  .about-text .about-links { gap: 0.5em 1.6em; }
  .about-photo { order: -1; height: auto; width: 66%; }
  /* the header is fixed to the bottom of the screen, so fade the copy out underneath it */
  body.about::after {
    content: ""; position: fixed; inset: auto 0 0; height: 36vw; z-index: 4; pointer-events: none;
    background: linear-gradient(to bottom, transparent, #000 62%);
  }
}
