/* ============================================================
     ABOUT — the desk.
     Identity stays pinned in a sticky left rail (name, roles,
     the lab photo, the Vienna line) while the story reads as
     one properly-measured column on the right. Photos are
     bolted prints — mounted straight, staggered by placement,
     never rotated.
     ============================================================ */
.about-wall {
  position: relative;
  padding: 56px 0 110px;
}
.about-flow {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.about-desk {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* ---------- the rail ---------- */
.about-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 26px;
}
.about-id h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 3.3vw, 46px);
}
.about-roles {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.about-rail-micro {
  margin: 0 0 0 6px;
}
.about-hero-media {
  transition: opacity 0.24s ease;
}
html.media-gate .about-hero-media {
  opacity: 0;
}
html.media-gate .about-hero-media.img-ready {
  opacity: 1;
}

/* ---------- photo prints: bolted plates, natural ratio ---------- */
.photo-plate {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-hard);
  padding: 12px;
  width: min(100%, 340px);
}
.photo-plate img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* ---------- the story column ---------- */
.about-story {
  max-width: 62ch;
  display: grid;
  gap: 22px;
}
.about-story > p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}
/* story prints: unbolted, thin frames, hung slightly off-true —
   the casual counterpart to the bolted rail photo */
.about-print {
  border-width: 1px;
  border-color: var(--border-strong);
  padding: 9px;
}
.about-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin: 12px 0 10px;
}
.about-pair .photo-plate {
  width: 100%;
  rotate: -1.2deg;
}
.about-pair .photo-plate:nth-child(2) {
  rotate: 1.4deg;
  translate: 0 16px;
  margin-bottom: 16px;
}
/* the final pair: the closer tucks into the gap the short hardware
   photo leaves beside the tall gear-room one */
.about-pair-end {
  grid-template-areas:
    "hw gear"
    "close gear";
  grid-template-rows: auto 1fr;
}
.about-pair-end .pe-hw {
  grid-area: hw;
}
.about-pair-end .pe-gear {
  grid-area: gear;
}
.about-pair-end .pe-close {
  grid-area: close;
  align-self: start;
  margin: 8px 0 0;
}
/* the "so I did" line gets the accent */
.about-close {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  font-size: 19px;
  color: var(--text);
  margin: 10px 0 0;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .about-desk {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-rail {
    position: static;
    justify-items: start;
  }
  /* the portrait centers on narrow screens, its caption with it */
  .about-rail .photo-plate {
    width: min(100%, 320px);
    justify-self: center;
  }
  .about-rail-micro {
    justify-self: center;
    margin: 0;
  }
  .about-story {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero-media {
    transition: none;
  }
}
@media (max-width: 600px) {
  .about-wall {
    padding: 40px 0 80px;
  }
  .about-flow {
    padding: 0 20px;
  }
  .about-board {
    padding: 30px 24px 28px;
  }
  .about-board h1 {
    margin: 14px 0 16px;
  }
  .about-roles {
    font-size: 10.5px;
  }
  .about-story > p {
    font-size: 16.5px;
  }
  .about-pair {
    gap: 14px;
  }
  .about-pair .photo-plate:nth-child(2) {
    translate: 0 14px;
    margin-bottom: 14px;
  }
  /* too narrow for text beside a photo: the closer spans below both */
  .about-pair-end {
    grid-template-areas:
      "hw gear"
      "close close";
    grid-template-rows: auto auto;
  }
  .about-pair-end .pe-close {
    margin-top: 18px;
  }
  .photo-plate {
    padding: 10px;
  }
  .about-close {
    font-size: 18px;
  }
}
