/* Homepage Hybrid Refinement 49.16.3, V50 architecture. Scoped to the front-page template. */
.pfh-home .pf-home-hero .pf-eyebrow {
  color: #ffe46a;
}

.pfh-home .pfh-section {
  padding-block: 88px;
}

.pfh-home .pfh-centered-heading {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.pfh-home .pfh-centered-heading > p,
.pfh-home .pfh-dark-heading > p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.pfh-home .pfh-tools {
  padding-block: 84px;
}

.pfh-home .pfh-tools-grid .pf-checkup-card {
  min-width: 0;
}

.pfh-home .pfh-tools-grid .pf-checkup-card h3 {
  line-height: 1.15;
}

.pfh-home .pfh-tools-grid .pf-checkup-card__action small {
  line-height: 1.5;
}

.pfh-home .pfh-questions {
  padding-block: 82px;
}

.pfh-home .pfh-dark-heading {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.pfh-home .pfh-questions .pfh-dark-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.pfh-home .pfh-question-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(175px, 1fr));
  gap: 16px;
}

.pfh-home .pfh-question-card {
  min-width: 0;
  padding: 25px 22px;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  background: var(--pf-white);
}

.pfh-home .pfh-question-card__category {
  display: block;
  margin-bottom: 12px;
  color: var(--pf-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pfh-home .pfh-question-card .pfh-question-card__title {
  margin-bottom: 13px;
  color: var(--pf-navy);
  font-size: 1.2rem;
  line-height: 1.16;
}

.pfh-home .pfh-question-card p {
  margin-bottom: 0;
  color: var(--pf-copy);
  font-size: 0.97rem;
  line-height: 1.55;
}

.pfh-home .pfh-family {
  background: var(--pf-white);
}

.pfh-home .pfh-family-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 54px;
}

.pfh-home .pfh-family-media {
  position: sticky;
  top: 24px;
}

.pfh-home .pfh-family-media picture {
  display: block;
}

/* Photo parity (teaching pass): the approved Photo 114 at its own shape for each responsive variant. */
.pfh-home .pfh-family-media .pf-people-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1000;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .pfh-home .pfh-family-media .pf-people-photo {
    aspect-ratio: 1200 / 800;
  }
}

.pfh-home .pfh-family-copy > p {
  max-width: 64ch;
}

/* Trust & Transparency entry points (replaced the repeated relationship points). */
.pfh-home .pfh-trust-links {
  margin-block: 28px 24px;
  padding-block: 22px;
  border-block: 1px solid var(--pf-line);
}

.pfh-home .pfh-trust-links h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.pfh-home .pfh-trust-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pfh-home .pfh-trust-links a {
  color: var(--pf-teal);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Compact AI strip between the tools and the planning sections. */
.pfh-home .pfh-ai-strip {
  padding-block: 40px;
  border-bottom: 1px solid var(--pf-line);
  background: var(--pf-white);
}

.pfh-home .pfh-ai-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: center;
}

.pfh-home .pfh-ai-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.pfh-home .pfh-ai-strip p {
  margin: 0;
}

/* Backgrounds are set explicitly rather than taken from section position. */
.pfh-home .pfh-signature,
.pfh-home .pfh-journey {
  background: var(--pf-white);
}

.pfh-home .pfh-faq {
  background: var(--pf-ice);
}

.pfh-home .pfh-path {
  background: var(--pf-ice);
}

.pfh-home .pfh-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.pfh-home .pfh-path-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 12px;
  align-items: center;
  align-content: start;
  min-width: 0;
  padding: 24px 22px;
  border: 1px solid var(--pf-line);
  border-top: 4px solid var(--pf-teal);
  border-radius: 8px;
  background: var(--pf-white);
}

.pfh-home .pfh-path-card__letter {
  display: inline-grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
  background: var(--pf-gold);
  color: var(--pf-navy);
  font-weight: 900;
}

.pfh-home .pfh-path-card .pfh-path-card__value {
  margin: 0;
  color: var(--pf-blue);
  font-size: 1.2rem;
}

.pfh-home .pfh-path-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.pfh-home .pfh-path-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--pf-line);
}

.pfh-home .pfh-path-footer p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--pf-navy);
  font-weight: 750;
}

/* V50 section 2: the signature question and its evidence handoff. */
.pfh-home .pfh-signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.pfh-home .pfh-signature,
.pfh-home .pfh-journey {
  padding-block: 72px;
}

.pfh-home .pfh-signature h2 {
  max-width: 22ch;
}

.pfh-home .pfh-signature-copy > p {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.pfh-home .pfh-signature-evidence {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px;
  border-radius: 8px;
  background: var(--pf-navy);
  color: var(--pf-white);
}

.pfh-home .pfh-signature-evidence h3 {
  margin: 0;
  color: var(--pf-white);
  font-size: 1.5rem;
}

.pfh-home .pfh-signature-evidence p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.pfh-home .pfh-signature-evidence .pf-checkup-card__label,
.pfh-home .pfh-signature-evidence .pf-text-link {
  color: #ffe46a;
}

.pfh-home .pfh-signature-evidence small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* V50 section 4: four Planning Lab tools, two by two. */
.pfh-home .pfh-tools-grid {
  max-width: 1080px;
}

.pfh-home .pfh-tools-grid .pf-checkup-card {
  min-height: 0;
}

/* V50 section 5: what working with Pathfinders looks like. */
.pfh-home .pfh-journey .pf-section-heading {
  margin-bottom: 30px;
}

.pfh-home .pfh-journey-link {
  margin: 24px 0 0;
  text-align: center;
}

/* V50 section 7: who does what, beside Rick and Sean. */
.pfh-home .pfh-roles {
  display: grid;
  gap: 10px;
  max-width: 64ch;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pfh-home .pfh-roles li {
  position: relative;
  padding-left: 24px;
}

.pfh-home .pfh-roles li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--pf-teal);
}

.pfh-home .pfh-insights {
  background: var(--pf-ice);
}

.pfh-home .pfh-insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 22px;
}

.pfh-home .pfh-insights-supporting {
  display: grid;
  gap: 22px;
}

.pfh-home .pfh-insight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  background: var(--pf-white);
}

.pfh-home .pfh-insight-card--featured {
  display: flex;
  flex-direction: column;
}

.pfh-home .pfh-insight-card--supporting {
  display: grid;
  grid-template-columns: minmax(145px, 0.72fr) minmax(0, 1.28fr);
}

.pfh-home .pfh-insight-card__image {
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #dcecf0;
}

.pfh-home .pfh-insight-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pfh-home .pfh-insight-card--featured .pfh-insight-card__image {
  flex: 0 0 auto;
  aspect-ratio: 16 / 8;
}

.pfh-home .pfh-insight-card--supporting .pfh-insight-card__image {
  height: 100%;
  aspect-ratio: auto;
}

.pfh-home .pfh-insight-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  background: var(--pf-blue);
}

.pfh-home .pfh-insight-card__body {
  min-width: 0;
  padding: 26px;
}

.pfh-home .pfh-insight-card--supporting .pfh-insight-card__body {
  padding: 22px;
}

.pfh-home .pfh-insight-card h3 {
  margin-bottom: 12px;
  font-size: 1.48rem;
  line-height: 1.16;
}

.pfh-home .pfh-insight-card--supporting h3 {
  font-size: 1.12rem;
}

.pfh-home .pfh-insight-card h3 a {
  text-decoration: none;
}

.pfh-home .pfh-insight-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pfh-home .pfh-final-cta .section-inner {
  max-width: 880px;
  text-align: center;
}

@media (max-width: 1120px) {
  .pfh-home .pfh-question-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pfh-home .pfh-question-card {
    grid-column: span 2;
  }

  .pfh-home .pfh-question-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .pfh-home .pfh-question-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .pfh-home .pfh-family-grid {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
    gap: 38px;
  }

  .pfh-home .pfh-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pfh-home .pfh-family-grid,
  .pfh-home .pfh-signature-grid,
  .pfh-home .pfh-insights-layout {
    grid-template-columns: 1fr;
  }

  .pfh-home .pfh-signature-grid {
    gap: 28px;
  }

  .pfh-home .pfh-family-media {
    position: static;
  }

  .pfh-home .pfh-insights-supporting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pfh-home .pfh-insight-card--supporting {
    grid-template-columns: 1fr;
  }

  .pfh-home .pfh-insight-card--supporting .pfh-insight-card__image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 820px) {
  .pfh-home .pfh-ai-strip__inner,
  .pfh-home .pfh-trust-links ul {
    grid-template-columns: 1fr;
  }

  .pfh-home .pfh-section,
  .pfh-home .pfh-tools,
  .pfh-home .pfh-questions {
    padding-block: 64px;
  }

  .pfh-home .pfh-question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pfh-home .pfh-question-card,
  .pfh-home .pfh-question-card:nth-child(4),
  .pfh-home .pfh-question-card:nth-child(5) {
    grid-column: auto;
  }

  .pfh-home .pfh-path-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .pfh-home .pfh-question-grid,
  .pfh-home .pfh-path-grid,
  .pfh-home .pfh-insights-supporting {
    grid-template-columns: 1fr;
  }

  .pfh-home .pfh-question-card,
  .pfh-home .pfh-path-card,
  .pfh-home .pfh-signature-evidence,
  .pfh-home .pfh-insight-card__body,
  .pfh-home .pfh-insight-card--supporting .pfh-insight-card__body {
    padding: 22px;
  }

  .pfh-home .pfh-family-media .pf-people-photo {
    object-position: center;
  }
}

@media (max-width: 600px) {
  .pfh-home .pfh-family-media .pf-people-photo {
    aspect-ratio: 900 / 675;
  }
}

/* V50.1: scanability on phones. The five questions and the four tools keep all their content, with less vertical space. */
@media (max-width: 620px) {
  .pfh-home .pfh-questions,
  .pfh-home .pfh-tools {
    padding-block: 44px;
  }

  .pfh-home .pfh-dark-heading {
    margin-bottom: 22px;
  }

  .pfh-home .pfh-questions .pfh-dark-heading h2 {
    font-size: 1.65rem;
  }

  .pfh-home .pfh-question-grid {
    gap: 10px;
  }

  .pfh-home .pfh-question-card {
    padding: 16px 18px;
  }

  .pfh-home .pfh-question-card__category {
    margin-bottom: 6px;
  }

  .pfh-home .pfh-question-card .pfh-question-card__title {
    margin-bottom: 6px;
    font-size: 1.08rem;
  }

  .pfh-home .pfh-tools .pf-checkups-heading {
    margin-bottom: 20px;
  }

  .pfh-home .pfh-tools .pf-checkups-heading h2 {
    font-size: 1.75rem;
  }

  .pfh-home .pfh-tools-grid {
    gap: 12px;
  }

  .pfh-home .pfh-tools-grid .pf-checkup-card {
    padding: 20px 18px;
  }

  .pfh-home .pfh-tools-grid .pf-checkup-card h3 {
    margin: 8px 0;
    font-size: 1.28rem;
  }

  .pfh-home .pfh-tools-grid .pf-checkup-card__action {
    gap: 8px;
    padding-top: 14px;
  }

  .pfh-home .pfh-tools-grid .pf-checkup-card__action small {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfh-home *,
  .pfh-home *::before,
  .pfh-home *::after {
    scroll-behavior: auto !important;
  }
}
