/*
 * About page: the editable story blocks (see inc/page-about.php), set as
 * App.jsx set them. Plain CSS with Tailwind's values, since @apply is not
 * available outside the build. md = 768px.
 */

/* ABOUT_PROSE in its max-w-3xl column:
   mb-10 text-lg leading-[1.8] text-gray-900 space-y-6 */
.ps-about-prose {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgb(17 24 39);
}
.ps-about-prose > * {
  margin-top: 0;
  margin-bottom: 0;
}
.ps-about-prose > * + * {
  margin-top: 1.5rem;
}

/* ABOUT_QUOTE: font-serif mx-auto text-2xl md:text-[length:min(1.875rem,2.5vw)]
   italic font-normal text-gray-900 text-center leading-relaxed, my-16 md:my-24
   (the first one: mb only). Breaks out to the max-w-6xl column. */
.ps-about-quote {
  margin: 4rem auto;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.625;
  font-style: italic;
  font-weight: 400;
  color: rgb(17 24 39);
  text-align: center;
}
.ps-about-quote:first-child {
  margin-top: 0;
}

/* FullBleed > Plate, my-16 md:my-24 (the last one: mt only). */
.ps-about-plate {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin: 4rem -50vw;
  overflow: hidden;
}
.ps-about-plate:last-child {
  margin-bottom: 0;
}
.ps-about-plate__open {
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #f8f7f5;
  cursor: zoom-in;
}
.ps-about-plate__img {
  display: block;
  width: 100%;
  height: auto;
  transition-property: transform;
  transition-duration: 1200ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.ps-about-plate__open:hover .ps-about-plate__img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .ps-about-quote {
    margin-top: 6rem;
    margin-bottom: 6rem;
    font-size: min(1.875rem, 2.5vw);
  }
  .ps-about-quote:first-child {
    margin-top: 0;
  }
  /* Each of the client's lines on its own row. */
  .ps-about-quote > span {
    display: block;
  }
  .ps-about-plate {
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
  .ps-about-plate:last-child {
    margin-bottom: 0;
  }
}
