/* MomVibe Tribe tuning pass: calmer scale, larger logo, and image-led sections. */
.brand img {
  width: 168px;
}

.footer-grid img {
  width: 180px;
}

.hero {
  min-height: auto;
  padding-top: clamp(8rem, 13vh, 10rem);
  padding-bottom: clamp(3.5rem, 7vh, 6rem);
}

.hero h1 {
  letter-spacing: 0;
  max-width: 920px;
  font-size: clamp(2.55rem, 5.4vw, 5.65rem);
  line-height: 1;
}

.page-hero {
  padding-top: clamp(4.8rem, 9vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-hero h1 {
  letter-spacing: 0;
  max-width: 920px;
  font-size: clamp(2.65rem, 5.4vw, 5.85rem);
  line-height: 1;
}

.intro h2,
.section-heading h2,
.resource-teaser h2,
.partner h2,
.newsletter-section h2,
.footer-lead h2 {
  letter-spacing: 0;
  font-size: clamp(2rem, 3.6vw, 3.85rem);
  line-height: 1.08;
}

.statement-band h2 {
  letter-spacing: 0;
  font-size: clamp(2.15rem, 4.2vw, 4.65rem);
  line-height: 1.06;
}

.editorial-section h2,
.partner-columns h2 {
  letter-spacing: 0;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.08;
}

.project-grid h2 {
  letter-spacing: 0;
  font-size: clamp(4.25rem, 10vw, 10.5rem);
  line-height: .78;
}

.project-card h2 {
  letter-spacing: 0;
  font-size: clamp(4rem, 9vw, 9.5rem);
  line-height: .86;
}

.resource-detail h2 {
  font-size: clamp(2.05rem, 3.7vw, 3.9rem);
}

.photo-feature {
  background: var(--ivory);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 6vw, 7.5rem);
  display: grid;
}

.photo-feature.reverse {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.photo-feature.reverse .photo-card {
  order: 2;
}

.photo-feature h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 56, "wght" 420;
  letter-spacing: 0;
  text-wrap: balance;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.08;
}

.photo-feature p {
  color: var(--muted);
  max-width: 620px;
  font-size: 1.03rem;
  line-height: 1.7;
}

.photo-card {
  margin: 0;
  position: relative;
}

.photo-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px #48334b21;
}

.photo-card figcaption {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .9rem;
  font-size: .68rem;
  font-weight: 650;
}

.home-photo-band {
  background: linear-gradient(#f5e7ec 0%, #fffaf8 100%);
}

.project-photo {
  margin: 0;
}

.project-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border: 1px solid #ffffff40;
  box-shadow: 0 18px 56px #2d124533;
}

.project-grid.with-photo {
  grid-template-columns: .9fr 1fr .82fr;
  align-items: center;
}

.resource-grid {
  align-items: start;
}

.resource-card .resource-art {
  background-size: cover;
  background-position: center;
}

.resource-card:nth-child(1) .resource-art {
  background-image: linear-gradient(#2b202c24, #2b202c10), url("/assets/photos/digital-skills.png");
}

.resource-card:nth-child(2) .resource-art {
  background-image: linear-gradient(#2b202c18, #2b202c08), url("/assets/photos/community-learning.png");
}

.resource-card:nth-child(3) .resource-art {
  background-image: linear-gradient(135deg, #e5c1cf 0%, #ead6ad 48%, #cbbdd2 100%);
}

.resource-card:nth-child(1) .resource-art span,
.resource-card:nth-child(2) .resource-art span {
  color: #fff;
  text-shadow: 0 2px 18px #2b202c80;
}

@media (max-width: 820px) {
  .brand img {
    width: 136px;
  }

  .photo-feature,
  .photo-feature.reverse,
  .project-grid.with-photo {
    grid-template-columns: 1fr;
  }

  .photo-feature.reverse .photo-card {
    order: 0;
  }

  .project-photo {
    order: 2;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 4.35rem);
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 11vw, 4.45rem);
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 126px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.75rem);
  }

  .footer-grid img {
    width: 160px;
  }
}
