/* Sections hidden until loader exits */
.hero,
.work,
.about,
.testimonials,
footer {
  opacity: 1;
}

/* ─── ABOUT TEXT CONTAINER (887px, bio & photos-intro only) ─── */
.about-text-wrap {
  max-width: 887px;
  margin: 0 auto;
  padding: 0 40px;
}

/* White page transition cover on about page */
#page-cover {
  background: var(--clr-bg);
}

/* Footer overrides — dark theme for about page */
.footer {
  background: var(--clr-dark);
  color: var(--txt-white);
}

.footer .section-label,
.footer-heading,
.footer-link {
  color: var(--txt-white);
}

.footer-bottom {
  background: var(--clr-bg);
}

.footer-privacy,
.footer-copy {
  color: var(--txt-black) !important;
  background: transparent;
}

/* ─── ABOUT PAGE HERO ─── */
.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 132px;
}

.about-hero-photo {
  width: clamp(140px, 16vw, 240px);
  height: clamp(140px, 16vw, 240px);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.about-hero-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-title {
  font-size: 170px;
  letter-spacing: -0.025em;
  color: var(--txt-black);
  white-space: nowrap;
}

/* ─── BIO TEXT SECTION ─── */
.about-bio {
  padding-bottom: 120px;
}

.about-bio .about-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-indent {
  padding-left: 40px;
}

.about-bio p,
.photos-intro-text p {
  text-align: left;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -3%;
  font-weight: 500;
}
.about-grid {
  padding-bottom: 100px;
}

.bio-left,
.bio-right {
  align-self: center;
  text-align: left;
  width: 100%;
  max-width: 887px;
}

.photos-intro-heading {
  font-size: 120px;
  letter-spacing: -0.025em;
  width: 300px;
  color: var(--txt-black);
  margin: 0 auto;
  text-align: center;
}

.about-photos-intro .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.photos-intro-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 120px;
  margin-bottom: 80px;
}

.nav-active {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ─── ABOUT PHOTO GRID ─── */

.about-grid-group {
  margin-bottom: 64px;
}

.about-grid-group:last-child {
  margin-bottom: 0;
}

.about-grid-group-label {
  font-family: "Antonio", sans-serif; /* override p → Inter */
  text-transform: uppercase;
  color: black;
  margin-bottom: 16px;
  max-width: none;
}

.about-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.about-grid-row:last-child {
  margin-bottom: 0;
}

.about-grid-item {
  overflow: hidden;
  position: relative;
}

.about-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition:
    filter 0.5s ease,
    transform 0.55s ease;
}

.about-grid-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* Fixed heights */
.about-grid-item {
  height: 800px;
}

@media (max-width: 1920px) {
  .about-grid-item {
    height: 600px;
  }
}

@media (max-width: 1440px) {
  .about-grid-item {
    height: 500px;
  }
}

@media (max-width: 1200px) {
  .photos-intro-heading {
    font-size: 100px;
  }
  .about-hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .bio-right,
  .bio-left {
    color: black;
    justify-content: stretch;
    width: 100%;
  }

  .about-hero-photo {
    width: clamp(100px, 28vw, 180px);
    height: clamp(100px, 28vw, 180px);
  }
  .about-hero-title {
    font-size: clamp(52px, 12vw, 100px);
    white-space: normal;
    text-align: center;
  }
  .about-bio {
    padding-bottom: 80px;
  }
  .photos-intro-text {
    margin-top: 80px;
    margin-bottom: 40px;
  }
  .about-grid-item {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-text-wrap {
    padding: 0 20px;
  }

  .about-photos-intro {
    gap: 32px;
  }
  .about-bio .about-text-wrap {
    gap: 20px;
  }
  .photos-intro-text {
    margin-top: 40px;
  }
  .photos-intro-heading {
    font-size: 40px;
  }

  .about-bio p,
  .photos-intro-text p {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.02em;
  }

  .bio-right {
    align-self: center;
    text-align: left;
    width: 100%;
  }
  .photos-intro-heading {
    font-size: 80px;
  }

  .about-bio {
    padding-bottom: 60px;
  }
  .about-grid-item {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .photos-intro-text p {
    font-size: 16px;
    line-height: 24px;
  }

  .about-bio p {
    font-size: 16px;
    line-height: 24px;
  }

  .about-bio {
    padding-bottom: 40px;
  }
  .about-grid-row {
    grid-template-columns: 1fr;
  }
  .about-grid-item {
    height: 300px;
  }
  .photos-intro-heading {
    font-size: 40px;
  }
}
