/* About: the opening art bleeds to the left edge, the two people get equal
   weight with the second set a little lower, then how we work and two
   closing panels: what you'll find here, and a black "Get in touch". */

/* Opening */
.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 6vw;
  padding: 0 max(20px, 8.5%) clamp(64px, 6vw, 112px) 0;
}

.about-hero__art {
  position: relative;
  flex: 1.7 1 560px;
  min-width: 0;
  /* the screen under the open header, as site-shell.css sizes it */
  max-height: calc(100svh - max(64px, min(5.25vw + 12px, 7.55vw - 21px)));
  aspect-ratio: 4 / 3;
}

.about-hero__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__text {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 24em;
}

.about-hero h1 {
  max-width: 11em;
  margin-top: 22px;
  font-size: clamp(28px, 2.474vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.about-hero__line {
  max-width: 21em;
  margin-top: 1.4em;
  font-size: clamp(17px, 1.302vw, 27px);
  line-height: 1.4;
  text-wrap: pretty;
}

@media (max-width: 1009px) {
  .about-hero {
    padding: 0 0 clamp(64px, 6vw, 112px);
  }

  .about-hero__text {
    padding: 0 max(20px, 5.5%);
  }
}

/* Who runs BLURSOR */
.about-people {
  padding: clamp(128px, 12vw, 216px) var(--bl-side) 0;
}

.about-people__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(88px, 9vw, 144px) clamp(48px, 8vw, 144px);
  margin-top: clamp(40px, 4.4vw, 80px);
}

.about-person {
  flex: 1 1 340px;
  min-width: 0;
}

/* While Alex is the only person listed, his details sit beside the portrait. */
@media (min-width: 900px) {
  .about-person:only-child {
    display: grid;
    flex-basis: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(48px, 8vw, 144px);
  }

  .about-person:only-child .about-person__photo {
    grid-row: 1 / span 2;
  }

  .about-person:only-child h3 {
    margin-top: 0;
  }

  /* On short screens the heading and the whole mark fit the screen. */
  .about-person__mark {
    width: min(100%, calc((100svh - 173px) * 150 / 180));
  }
}

@media (min-width: 900px) {
  .about-person--second {
    margin-top: clamp(0px, 12vw, 240px);
  }
}

.about-person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
}

/* The BLURSOR mark, tiled, with Alex's photo in its upper dot. The lower dot
   is the second person's place and stays tiled until then. */
.about-person__mark {
  aspect-ratio: 150 / 180;
}

.about-person__mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-person__portrait {
  position: absolute;
  top: 16.667%;
  left: 66.667%;
  width: 26.667%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 899px) {
  .about-person__mark {
    width: 50%;
  }
}

.about-person__photo--pending {
  display: grid;
  place-items: center;
  background: var(--bl-sand);
}

.about-person__photo--pending span {
  color: var(--bl-muted);
  font-size: 14px;
  letter-spacing: .04em;
}

.about-person h3 {
  margin-top: clamp(28px, 2.6vw, 44px);
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 300;
  line-height: 1.15;
}

.about-person__status {
  margin-top: 10px;
}

.about-person__details {
  max-width: 32em;
  margin-top: clamp(24px, 2.2vw, 36px);
  padding-top: 16px;
  border-top: 1px solid var(--bl-rule);
}

.about-person__label {
  color: var(--bl-muted);
}

.about-person__role {
  margin-top: 10px;
  font-size: clamp(17px, 1.302vw, 24px);
  line-height: 1.4;
  text-wrap: pretty;
}

.about-person__role.to-confirm {
  font-size: clamp(17px, 1.302vw, 24px);
}

.about-person__bio {
  margin-top: 20px;
  color: var(--bl-muted);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.about-person__bio .to-confirm {
  font-size: inherit;
}

.about-person__links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
}

.about-person__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--bl-underline);
  text-underline-offset: .25em;
}

/* What you'll find here, and Get in touch */
.about-panels {
  display: flex;
  flex-wrap: wrap;
  margin-top: clamp(128px, 12vw, 216px);
}

.about-find {
  flex: 1 1 64.6%;
  min-width: 0;
  padding: clamp(32px, 4.4vw, 80px) var(--bl-side) clamp(40px, 4.4vw, 80px);
  background: var(--bl-panel);
}

.about-find__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px clamp(24px, 3vw, 48px);
  margin-top: clamp(36px, 4vw, 64px);
}

.about-find__item {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--bl-rule);
}

.about-find__item h3 {
  font-size: clamp(20px, 1.56vw, 26px);
  font-weight: 400;
  line-height: 1.25;
}

.about-find__item p {
  flex: 1 1 auto;
  margin-top: 12px;
  color: var(--bl-muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.about-find__item .arrow-link {
  align-self: flex-start;
  margin-top: 14px;
}

.about-touch {
  display: flex;
  flex: 1 1 35.4%;
  flex-direction: column;
  min-width: min(300px, 100%);
  padding: clamp(32px, 4.4vw, 80px) clamp(24px, 4vw, 72px) clamp(40px, 4.4vw, 80px);
  background: var(--bl-black);
  color: var(--bl-black-text);
}

.about-touch__line {
  max-width: 20em;
  margin: 20px 0 clamp(56px, 8vw, 160px);
  color: var(--bl-black-muted);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.about-touch__email {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--bl-muted);
  color: var(--bl-black-text);
  font-size: clamp(22px, 1.9vw, 32px);
  font-weight: 300;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.about-touch__email:hover {
  border-bottom-color: var(--bl-black-text);
  color: var(--bl-black-text);
  text-decoration: none;
}

.about-touch :focus-visible {
  outline-color: var(--bl-black-text);
}
