/* Final hero cleanup: lighter type, centered composition, no right-side media. */

body.page-home .home-human__hero {
  align-items: center !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: minmax(0, 960px) !important;
  justify-content: center !important;
  justify-items: center !important;
  min-height: auto !important;
  padding: clamp(140px, 12vw, 178px) 0 clamp(82px, 9vw, 118px) !important;
  text-align: center !important;
}

body.page-home .home-human__hero-copy {
  display: grid !important;
  justify-items: center !important;
  margin-inline: auto !important;
  max-width: 960px !important;
  width: 100% !important;
}

body.page-home .home-human__hero h1 {
  font-size: clamp(2.9rem, 4.75vw, 4.45rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.045em !important;
  line-height: 1.03 !important;
  margin-inline: auto !important;
  max-width: 16ch !important;
  text-align: center !important;
  text-wrap: balance !important;
}

body.page-home .home-human__pretitle {
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

body.page-home .home-human__lead {
  font-size: clamp(1.12rem, 1.55vw, 1.35rem) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  margin-inline: auto !important;
  max-width: 760px !important;
  text-align: center !important;
}

body.page-home .home-human__personal,
body.page-home .home-human__microcopy {
  font-weight: 400 !important;
  margin-inline: auto !important;
  max-width: 720px !important;
  text-align: center !important;
}

body.page-home .home-human__actions {
  justify-content: center !important;
}

body.site-page :is(
  .home-human__hero-visual,
  .local-beyonds-hero__visual,
  .hero-cloud__visual,
  .about-one-photo,
  .realisations-clean-hero__media,
  .ww-blog-radar,
  .cv-next-hero__visual
) {
  display: none !important;
}

body.site-page:not(.page-home) :is(
  .local-beyonds-hero__grid,
  .hero-cloud__inner,
  .about-one-hero,
  .realisations-clean-hero,
  .ww-blog-hero__inner,
  .cv-next-hero__inner
) {
  align-items: center !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: minmax(0, 980px) !important;
  justify-content: center !important;
  justify-items: center !important;
  margin-inline: auto !important;
  max-width: min(1080px, calc(100vw - 40px)) !important;
  text-align: center !important;
  width: 100% !important;
}

body.site-page:not(.page-home) :is(
  .local-beyonds-hero__copy,
  .hero-cloud__content,
  .about-one-copy,
  .realisations-clean-hero__copy,
  .ww-blog-hero__copy,
  .cv-next-hero__copy
) {
  align-items: center !important;
  display: grid !important;
  justify-items: center !important;
  margin-inline: auto !important;
  max-width: 980px !important;
  text-align: center !important;
  width: 100% !important;
}

body.site-page :is(
  .local-beyonds-hero h1,
  .hero-cloud__title.hero-title,
  .about-one-copy h1,
  .realisations-clean-hero h1,
  .ww-blog-hero h1,
  .ww-article-hero h1,
  .cv-next-hero h1
) {
  font-size: clamp(2.55rem, 3.85vw, 3.85rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.04em !important;
  line-height: 1.04 !important;
  margin-inline: auto !important;
  max-width: 19ch !important;
  text-align: center !important;
  text-wrap: balance !important;
}

/* High-specificity lock against the legacy release cascade. */
html body.site-page.site-page.site-page.site-page.site-page.site-page.site-page.site-page :is(
  .local-beyonds-hero h1,
  .hero-cloud__title.hero-title,
  .about-one-copy h1,
  .realisations-clean-hero h1,
  .ww-blog-hero h1,
  .ww-article-hero h1,
  .cv-next-hero h1
) {
  font-size: clamp(2.55rem, 3.85vw, 3.85rem) !important;
  font-variation-settings: "wght" 500 !important;
  font-weight: 500 !important;
  letter-spacing: -.04em !important;
  line-height: 1.04 !important;
  margin-inline: auto !important;
  max-width: 19ch !important;
  text-align: center !important;
  text-wrap: balance !important;
}

body.site-page:not(.page-home) :is(
  .local-beyonds-lead,
  .hero-cloud__subtitle,
  .about-one-lead,
  .realisations-clean-hero__copy > p,
  .ww-blog-hero__copy > p,
  .cv-next-hero__copy > p
) {
  font-weight: 400 !important;
  margin-inline: auto !important;
  max-width: 760px !important;
  text-align: center !important;
}

body.site-page:not(.page-home) :is(
  .local-beyonds-actions,
  .hero-cloud__actions,
  .about-one-actions,
  .realisations-clean-hero__actions,
  .ww-blog-hero__actions,
  .cv-next-hero__actions
) {
  justify-content: center !important;
  justify-items: center !important;
  margin-inline: auto !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  body.page-home .home-human__hero {
    padding: 112px 0 74px !important;
  }

  body.page-home .home-human__hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.05rem) !important;
    letter-spacing: -.038em !important;
    line-height: 1.06 !important;
    max-width: 13ch !important;
  }

  body.page-home .home-human__lead {
    font-size: 1.06rem !important;
    line-height: 1.58 !important;
  }

  body.site-page:not(.page-home) :is(
    .local-beyonds-hero__grid,
    .hero-cloud__inner,
    .about-one-hero,
    .realisations-clean-hero,
    .ww-blog-hero__inner,
    .cv-next-hero__inner
  ) {
    max-width: min(100%, calc(100vw - 28px)) !important;
  }

  body.site-page :is(
    .local-beyonds-hero h1,
    .hero-cloud__title.hero-title,
    .about-one-copy h1,
    .realisations-clean-hero h1,
    .ww-blog-hero h1,
    .ww-article-hero h1,
    .cv-next-hero h1
  ) {
    font-size: clamp(2.1rem, 8.8vw, 2.75rem) !important;
    line-height: 1.07 !important;
    max-width: 15ch !important;
  }

  html body.site-page.site-page.site-page.site-page.site-page.site-page.site-page.site-page :is(
    .local-beyonds-hero h1,
    .hero-cloud__title.hero-title,
    .about-one-copy h1,
    .realisations-clean-hero h1,
    .ww-blog-hero h1,
    .ww-article-hero h1,
    .cv-next-hero h1
  ) {
    font-size: clamp(2.1rem, 8.8vw, 2.75rem) !important;
    font-variation-settings: "wght" 500 !important;
    font-weight: 500 !important;
    line-height: 1.07 !important;
    max-width: 15ch !important;
  }
}

/* FAQ rows must share one axis and one width, regardless of question length. */
body.site-page .local-beyonds-section--faq .faq {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: stretch !important;
  margin-inline: auto !important;
  width: 100% !important;
}

body.site-page .local-beyonds-section--faq .faq-item {
  justify-self: stretch !important;
  margin-inline: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.site-page .local-beyonds-section--details {
  justify-items: center !important;
}

body.site-page .local-beyonds-details-cta {
  display: flex !important;
  justify-content: center !important;
  margin-top: clamp(28px, 4vw, 48px) !important;
  width: 100% !important;
}

body.site-page .local-beyonds-details-cta .local-beyonds-btn {
  min-width: min(100%, 22rem) !important;
  width: min(100%, 22rem) !important;
}

/* Human service cards: one centered rhythm, never intrinsic staggered widths. */
body.site-page .human-service-page .local-beyonds-text-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  margin-inline: auto !important;
  max-width: 1200px !important;
  width: 100% !important;
}

body.site-page .human-service-page .local-beyonds-text-grid .local-beyonds-list-card {
  align-content: center !important;
  height: 100% !important;
  justify-items: center !important;
  justify-self: stretch !important;
  margin: 0 !important;
  max-width: none !important;
  text-align: center !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  body.site-page .human-service-page .local-beyonds-text-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 680px !important;
  }
}

/* Specificity lock against the legacy internal-page grid cascade. */
html body.site-page.site-page.site-page.site-page.site-page.site-page.site-page.site-page .human-service-page .local-beyonds-text-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  margin-inline: auto !important;
  max-width: 1200px !important;
  width: 100% !important;
}

html body.site-page.site-page.site-page.site-page.site-page.site-page.site-page.site-page .human-service-page .local-beyonds-text-grid .local-beyonds-list-card {
  align-content: center !important;
  height: 100% !important;
  justify-items: center !important;
  justify-self: stretch !important;
  margin: 0 !important;
  max-width: none !important;
  text-align: center !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  html body.site-page.site-page.site-page.site-page.site-page.site-page.site-page.site-page .human-service-page .local-beyonds-text-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 680px !important;
  }
}
