.about-page {
  --about-muted: #777;
  --about-gap: clamp(4px, .31vw, 6px);
}

.about-return { background: white; color: var(--ink); }

.about-skip {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: white;
  transform: translateY(-150%);
}
.about-skip:focus { transform: translateY(0); }

.about-main {
  margin-inline: var(--side);
  padding-top: calc(var(--header-height) + 12px);
}
.about-hero {
  height: 11.04vw;
  margin-bottom: 2.2vw;
  color: #000;
  font-size: 15.7vw;
  line-height: .815;
  letter-spacing: -.02em;
}

.about-profile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc((100vw - 2 * var(--side)) * .5);
  border-radius: 6px;
  background: white;
}
.about-profile.mobile-favorites { display: none; }
.profile-copy { padding: clamp(12px, 1.25vw, 24px); }
.profile-copy h2, .profile-copy h3 {
  font-size: clamp(20px, 2.4vw, 46px);
  line-height: 1;
}
.profile-tags {
  display: grid;
  gap: var(--about-gap);
  margin-top: clamp(9px, 1.25vw, 24px);
}
.profile-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--about-gap);
}
.desktop-favorites { margin-top: clamp(16px, 3.4vw, 66px); }

.profile-tag, .about-action, .driver-tag {
  padding: .375em .79em;
  border: 1px solid #8f8f8f;
  border-radius: 100px;
  color: var(--about-muted);
  background: white;
  font: 400 clamp(13px, 1.25vw, 24px)/1.25 Gertrude, sans-serif;
}
.profile-tag { cursor: pointer; }
.profile-tag[aria-pressed='true'] { background: #777; color: white; }
.profile-tag[aria-pressed='false']:hover, .about-action:hover { background: #f1f1f1; }

.about-stage {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f3f3;
}
.about-stage[data-kind='gallery'] { background: white; }
.about-panel { position: absolute; inset: 0; }
.about-panel.is-leaving { z-index: 1; pointer-events: none; }
.about-panel:not(.is-leaving) { z-index: 2; }
.about-photo-view {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-view.product-photo { object-fit: contain; object-position: center; }
.about-photo-view.dog-photo { object-position: center bottom; }
.about-caption-chip {
  position: absolute;
  inset: 1.25vw auto auto 1.25vw;
  padding: .38em .8em;
  border-radius: 100px;
  color: var(--about-muted);
  background: white;
  font-size: clamp(13px, 1.25vw, 24px);
}
.about-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.about-gallery {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(4px, .47vw, 9px);
  padding: clamp(4px, .52vw, 10px);
}
.about-gallery img, .design-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.about-gallery.albums {
  grid-template-rows: repeat(2, auto);
  align-content: start;
}
.about-gallery.albums img { aspect-ratio: 1; }
.about-gallery.beer {
  grid-template-rows: minmax(0, 1fr);
  padding-block: 9%;
}
.about-gallery.beer img { object-fit: contain; }
.design-collage { position: relative; height: 100%; }
.design-collage img { position: absolute; }
.design-collage img:nth-child(1) { inset: 1.32% auto auto 0; width: 36.87%; height: 54.84%; }
.design-collage img:nth-child(2) { inset: 1.32% auto auto 37.70%; width: 32.42%; height: 54.84%; }
.design-collage img:nth-child(3) { inset: 1.32% auto auto 70.97%; width: 27.68%; height: 45.27%; }
.design-collage img:nth-child(4) { inset: 47.47% auto auto 70.97%; width: 27.68%; height: 20.22%; }
.design-collage img:nth-child(5) { inset: 57.05% auto auto 0; width: 70.12%; height: 41.64%; }
.design-collage img:nth-child(6) { inset: 68.54% auto auto 70.97%; width: 27.68%; height: 30.14%; }

.about-details {
  position: absolute;
  z-index: 3;
  inset: .8vw auto .8vw 31.3%;
  width: 17%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--about-gap);
  color: var(--about-muted);
  font-size: clamp(13px, 1.25vw, 24px);
  line-height: 1.25;
}
.about-details[hidden] { display: none; }
.about-details p + p { margin-top: 1.4em; }
.about-detail-links { display: flex; flex-direction: column; align-items: flex-start; gap: var(--about-gap); }
.about-detail-links:only-child { margin-top: auto; }
.about-action { justify-content: flex-start; max-width: 100%; text-align: left; }
.about-action[href] { text-wrap: balance; }
.about-detail-socials { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.about-detail-socials a { width: clamp(28px, 3vw, 52px); }
.about-detail-socials img { width: 100%; height: auto; }

@media (min-width: 761px) {
  .about-profile:has(.about-stage[data-kind='gallery']) { grid-template-columns: 47.25% 52.75%; }
  .about-profile:has(.about-stage[data-kind='gallery']) .about-details { width: 15.3%; }
}

@media (max-width: 760px) {
  .about-hero {
    height: auto;
    margin-bottom: 17px;
    font-size: clamp(42px, 13.6vw, 70px);
    line-height: 1;
    letter-spacing: -.04em;
  }
  .about-profile, .about-profile.mobile-favorites {
    display: grid;
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'media' 'copy' 'details';
    margin-bottom: 23px;
  }
  .about-profile .desktop-favorites { display: none; }
  .profile-copy { grid-area: copy; padding: 10px 12px 12px; }
  .profile-copy h2 { font-size: clamp(19px, 5.5vw, 30px); }
  .profile-tags { margin-top: 9px; }
  .profile-tag { min-height: 37px; font-size: clamp(13px, 3.6vw, 19px); }
  .mobile-favorites .profile-tags { display: flex; flex-wrap: wrap; gap: 4px; }
  .mobile-favorites .profile-tag-row { display: contents; }
  .about-stage { grid-area: media; height: min(74vw, 500px); }
  .about-photo-view { object-position: center 44%; }
  .about-caption-chip { inset: 10px auto auto 10px; }
  .about-details {
    grid-area: details;
    position: static;
    width: auto;
    padding: 0 12px 12px;
    font-size: 14px;
  }
  .about-detail-links { flex-direction: row; flex-wrap: wrap; }
  .about-detail-socials a { width: 33px; }
}
