/* About page, translated from Figma frames 702:22927 and 675:22208. */
.about-page {
  min-height: 100vh;
  overflow: clip;
  background: #fffdf6;
}

.about-page-header { height: 78px !important; }
.about-page-header .site-nav { gap: 55px; }
.about-page-header .nav-link[aria-current="page"] { color: #111; }

.about-main { width: 100%; }
.about-layout {
  width: min(94.15vw, 1446px);
  margin: 26px auto 108px;
  display: grid;
  grid-template-columns: minmax(0, 482fr) minmax(0, 910fr);
  gap: clamp(26px, 3.2vw, 49px);
  align-items: start;
}

.about-copy {
  min-width: 0;
  padding-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #111;
}
.about-intro h1,
.about-detail-group h2 {
  margin: 0;
  font-family: 'Product Sans', sans-serif;
  font-weight: 400;
  color: #111;
}
.about-intro h1 { font-size: 30px; line-height: 1.2; }
.about-intro p {
  margin: 16px 0 0;
  max-width: 459px;
  color: #65666b;
  font: 400 16px/1.45 Inter, sans-serif;
}
.about-details { display: flex; flex-direction: column; gap: 30px; }
.about-detail-group h2 { font-size: 20px; line-height: 1.25; margin-bottom: 13px; }
.experience-rows { display: flex; flex-direction: column; }
.experience-row,
.about-single-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font: 400 14px/1.4 Inter, sans-serif;
  color: #65666b;
}
.experience-row > div { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 1px; min-width: 0; }
.experience-org { color: #27272a; }
.experience-role { color: #74757a; }
.experience-year,
.about-single-row span:last-child { color: #94958f; white-space: nowrap; }
.about-divider { display: block; width: 100%; height: 1px; object-fit: fill; margin: 11px 0; }
.about-single-row { justify-content: flex-start; gap: 12px; }
.about-facts h2 { margin-bottom: 12px; }
.about-facts ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.about-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; color: #4c1c34; font: 400 14px/1.4 Inter, sans-serif; }
.about-facts li img { width: 19px; height: 19px; object-fit: contain; margin-top: 0; }
.about-contact { margin: 0; color: #65666b; font: 400 14px/1.5 Inter, sans-serif; }
.about-contact a { color: #ff4fa8; text-decoration: none; }
.about-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.about-photo-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.about-photo {
  position: relative;
  margin: 0;
  min-width: 0;
  aspect-ratio: 449.5 / 370.5;
  overflow: hidden;
  background: #f1eee8;
  isolation: isolate;
}
.about-photo > img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
}
.about-photo--portrait > img { width: 124.5%; height: 226.54%; left: -10%; top: -31.57%; }
.about-photo--goat > img { width: 100%; height: 215.68%; left: 0; top: -63.18%; }
.about-photo--community > img { width: 123.62%; height: 100%; left: -23.62%; top: 0; }
.about-photo--drink > img { inset: 0; width: 100%; height: 100%; }
.about-photo--captioned::after {
  position: absolute;
  z-index: 1;
  content: "";
  inset: auto 0 0;
  height: 68%;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0) 0%, rgba(254, 94, 174, .08) 40%, rgba(254, 94, 174, .54) 100%);
  -webkit-backdrop-filter: blur(35px);
  backdrop-filter: blur(35px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .88) 28%, rgba(0, 0, 0, .42) 62%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .88) 28%, rgba(0, 0, 0, .42) 62%, transparent 100%);
  transition: opacity 220ms ease;
}
.about-photo-caption {
  position: absolute;
  z-index: 2;
  left: 27px;
  right: 27px;
  bottom: 20px;
  margin: 0;
  color: #fff;
  font: 400 18px/1.35 'Product Sans', sans-serif;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.about-photo--captioned:hover::after,
.about-photo--captioned:focus-visible::after { opacity: 1; }
.about-photo--captioned:hover .about-photo-caption,
.about-photo--captioned:focus-visible .about-photo-caption { opacity: 1; transform: translateY(0); }
.about-photo--captioned:focus-visible { outline: 2px solid #ff4fa8; outline-offset: 3px; }

@media (hover: none) {
  .about-photo--captioned::after,
  .about-photo-caption { opacity: 1; }
  .about-photo-caption { transform: none; }
}

@media (max-width: 1080px) {
  .about-layout { width: min(92vw, 910px); grid-template-columns: 1fr; gap: 34px; margin-top: 28px; }
  .about-copy { max-width: 660px; }
  .about-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; }
  .about-photo-grid { width: 100%; }
  .about-page-header { height: auto !important; }
}

@media (max-width: 760px) {
  .about-layout { width: calc(100% - 36px); margin: 22px auto 72px; gap: 28px; }
  .about-copy { gap: 25px; }
  .about-intro h1 { font-size: 27px; }
  .about-intro p { font-size: 15px; }
  .about-details { grid-template-columns: 1fr; gap: 21px; }
  .about-photo-grid { gap: 8px; }
  .about-photo-caption { left: 12px; right: 12px; bottom: 10px; font-size: clamp(13px, 3.5vw, 17px); }
}

@media (max-width: 420px) {
  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 1.22 / 1; }
  .about-photo--portrait > img { width: 100%; height: 160%; left: 0; top: -30%; }
  .about-photo--goat > img { height: 190%; top: -50%; }
  .about-photo--community > img { width: 100%; left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo--captioned::after,
  .about-photo-caption { transition: none; }
}
