/* =============================================================
   About page — panorama, biography, and behind-the-scenes film
   ============================================================= */

.jd-about-page {
  width: 100%;
  overflow: hidden;
  background: var(--color-deep-sky);
}

/* Let the full-width panorama sit beneath the same fading header used at home. */
body.page-template-page-about.page-template-page-about-php #page {
  padding-top: 0;
}

.jd-about-page h1,
.jd-about-page h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  color: var(--color-text);
}

.jd-about-hero {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #080c14;
}

.jd-about-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.jd-about-bio {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.jd-about-bio__inner {
  max-width: 980px;
}

.jd-about-bio h1 {
  margin-bottom: 1.25rem;
  font-size: 2.25rem;
  line-height: 1.3;
  letter-spacing: normal;
}

.jd-about-bio__copy {
  max-width: 760px;
}

.jd-about-bio__copy p {
  max-width: none;
  margin: 0 0 1.65em;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: var(--weight-regular);
  line-height: 1.5;
  color: var(--color-body-copy);
}

.jd-about-bio__copy p:last-child {
  margin-bottom: 0;
}

.jd-about-video {
  padding-block: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--color-border);
  background: #080c14;
}

.jd-about-video__inner {
  max-width: 1280px;
}

.jd-about-video h2 {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.3;
  letter-spacing: normal;
}

.jd-about-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.jd-about-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.has-reveal-motion .jd-about-hero__image,
.has-reveal-motion .jd-about-bio h1,
.has-reveal-motion .jd-about-bio__copy {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.has-reveal-motion.is-page-revealed .jd-about-hero__image,
.has-reveal-motion.is-page-revealed .jd-about-bio h1,
.has-reveal-motion.is-page-revealed .jd-about-bio__copy {
  animation: jd-rise-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.has-reveal-motion.is-page-revealed .jd-about-hero__image {
  animation-name: jd-about-image-in;
  animation-duration: 950ms;
}

.has-reveal-motion.is-page-revealed .jd-about-bio h1 {
  animation-delay: 100ms;
}

.has-reveal-motion.is-page-revealed .jd-about-bio__copy {
  animation-delay: 180ms;
}

@keyframes jd-about-image-in {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .jd-about-bio,
  .jd-about-video {
    padding-block: 4.5rem;
  }

  .jd-about-bio h1,
  .jd-about-video h2 {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jd-about-hero__image,
  .jd-about-bio h1,
  .jd-about-bio__copy {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
