/* Scoped to the fourth-wave functional pages and the quote PDF preview. */
.hero.hero-page.hero-fourth-wave {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 48px; min-height: 0;
  padding: 54px max(32px, calc((100vw - 1320px) / 2));
  color: var(--blue-900); background: #f7fafb;
  border-bottom: 1px solid #e2e9ee; overflow: visible;
}
.hero-fourth-wave::after { display: none; }
.hero-fourth-wave .hero-content { width: 100%; min-width: 0; }
.hero-fourth-wave .eyebrow { color: #0b746d; font-size: .72rem; letter-spacing: .1em; margin-bottom: 18px; }
.hero-fourth-wave h1 { max-width: 650px; color: #102a56; font-size: var(--heading-1); line-height: 1.18; letter-spacing: -.028em; text-wrap: balance; }
.hero-fourth-wave .hero-intro { max-width: 590px; color: #485b70; font-size: 1.07rem; line-height: 1.7; margin-top: 22px; }
.hero-fourth-wave .hero-actions { gap: 10px; margin-top: 26px; }
.hero-fourth-wave .button { min-height: var(--control-height); padding: 10px 16px; border-radius: var(--control-radius); font-size: var(--control-font-size); white-space: normal; text-align: center; }
.hero-fourth-wave .button-primary { color: #fff; background: var(--blue-700); box-shadow: 0 5px 16px rgba(23,78,166,.12); }
.hero-fourth-wave .button-primary:hover { background: var(--blue-900); }
.hero-fourth-wave .button-secondary { color: var(--blue-900); background: #fff; border-color: #c8d5e3; }
.hero-fourth-wave .button-secondary:hover { border-color: var(--blue-700); background: #f0f5fb; }
.hero-fourth-wave .hero-actions .button:nth-child(n + 3) { background: #eaf2f7; border-color: #d8e4ed; color: #123b7a; padding-inline: 16px; text-decoration: none;  }
.hero-fourth-wave .hero-video-reference { margin-top: 14px; }
.hero-fourth-wave .hero-video-reference a { color: #174ea6; min-height: 44px; }
.hero-fourth-wave .hero-video-reference a:hover { color: #102a56; text-shadow: none; text-decoration: none;  }
.hero-fourth-wave .hero-video-icon { color: #0b746d; }
.hero-fourth-wave a:focus-visible { outline: 3px solid #0b746d; outline-offset: 4px; }
.fourth-wave-visual { width: 100%; min-width: 0; margin: 0; }
.fourth-wave-visual picture, .fourth-wave-document-visual picture { display: block; border: 1px solid #d7e1eb; border-radius: var(--card-radius); overflow: hidden; background: #fff; box-shadow: var(--card-shadow); }
.fourth-wave-visual img, .fourth-wave-document-visual img { display: block; width: 100%; height: auto; }
.fourth-wave-visual figcaption, .fourth-wave-document-visual figcaption { color: #536579; font-size: .78rem; line-height: 1.55; margin-top: 12px; }
.fourth-wave-direct-note { color: #485b70; font-size: .8rem; line-height: 1.6; margin: 8px 0 0; }
.hero-fourth-wave--photo .fourth-wave-visual img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 58% 48%; }
.content-section.fourth-wave-document-context { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: var(--section-space) max(32px, calc((100vw - 1320px) / 2)); }
.fourth-wave-document-context .section-copy { display: block; width: 100%; max-width: none; margin: 0; }
.fourth-wave-document-context h2 { font-size: var(--heading-2); margin-bottom: 20px; }
.fourth-wave-document-visual { min-width: 0; margin: 0; }
.fourth-wave-document-visual figcaption strong, .fourth-wave-document-visual figcaption span { display: block; }
.fourth-wave-document-visual figcaption strong { color: #173253; font-weight: 650; }
@media (max-width: 1100px) and (min-width: 901px) {
  .hero.hero-page.hero-fourth-wave, .content-section.fourth-wave-document-context { gap: 30px; padding-inline: 28px; }
  .hero-fourth-wave h1 { font-size: var(--heading-1); }
  .hero-fourth-wave .hero-intro { font-size: 1rem; }
}
@media (max-width: 900px) {
  .hero.hero-page.hero-fourth-wave { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 38px 22px 30px; }
  .hero-fourth-wave .hero-content, .hero-fourth-wave .fourth-wave-visual { width: 100%; max-width: 660px; margin-inline: auto; }
  .hero-fourth-wave h1 { max-width: 660px; font-size: var(--heading-1-small); }
  .hero-fourth-wave .hero-intro { font-size: 1rem; margin-top: 18px; }
  .hero-fourth-wave .eyebrow { font-size: .68rem; margin-bottom: 15px; }
  .hero-fourth-wave .hero-actions { margin-top: 22px; }
  .fourth-wave-visual picture, .fourth-wave-document-visual picture { border-radius: var(--card-radius); }
  .content-section.fourth-wave-document-context { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: var(--section-space) 22px; }
  .fourth-wave-document-context .section-copy, .fourth-wave-document-visual { width: 100%; max-width: 660px; margin-inline: auto; }
}
@media (max-width: 420px) {
  .hero-fourth-wave .hero-actions .button:first-child, .hero-fourth-wave .hero-actions .button:nth-child(2) { flex: 1 1 100%; }
  .hero-fourth-wave .hero-actions .button:nth-child(n + 3) { min-height: var(--control-height); font-size: var(--control-font-size); }
  .hero-fourth-wave h1 { font-size: var(--heading-1-small); }
  .fourth-wave-visual figcaption, .fourth-wave-document-visual figcaption { font-size: .75rem; }
}

.hero-fourth-wave ~ .content-section .section-copy, .hero-fourth-wave ~ .content-section .section-copy > * { min-width: 0; overflow-wrap: anywhere; }
.fourth-wave-resource-link { margin-top: 10px; }
.fourth-wave-resource-link a { display: inline-flex; align-items: center; min-height: 44px; color: #174ea6; font-size: .88rem; font-weight: 650;  }

.hero-fourth-wave .hero-actions .button:nth-child(n + 3):hover { background: #dce9f2; border-color: #a7bfce; }
.hero-fourth-wave .hero-video-reference a:hover { background: #eaf2f7; border-radius: 6px; }
