/* Page headings only. Rich landing pages keep their photos and contact panel. */
.pk-site .pk-page-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: #194c35;
    color: #fff;
    margin-bottom: 32px;
}
.pk-page-hero::before,
.pk-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}
.pk-page-hero::before {
    background: radial-gradient(ellipse at 100% 0%, rgb(88 169 105 / 24%), transparent 58%);
}
.pk-page-hero::after {
    background: repeating-linear-gradient(127deg, transparent 0 44px, rgb(216 240 222 / 7%) 45px, transparent 46px);
    -webkit-mask-image: linear-gradient(to right, transparent 35%, #000);
    mask-image: linear-gradient(to right, transparent 35%, #000);
}
.pk-page-hero > .pk-wrap { position: relative; }
.pk-site .pk-page-hero .pk-crumbs {
    color: #d9eade;
    padding-top: 24px;
    padding-bottom: 20px;
    margin: 0;
}
.pk-site .pk-page-hero .pk-crumbs a {
    color: inherit;
    text-decoration-color: currentColor;
}
.pk-site .pk-page-hero h1 { color: #fff; }
.pk-site .pk-page-hero .pk-lead { color: #edf5ef; }
.pk-site .pk-page-hero .pk-title-block { padding: 12px 0 40px; }
.pk-page-hero .pk-title-block > :last-child { margin-bottom: 0; }
.pk-site .pk-page-hero .pk-eyebrow,
.pk-page-hero .pk-about-hero .pk-about-label,
.pk-page-hero .pk-consult-hero > div > .pk-consult-label,
.pk-page-hero .pk-consult-threshold,
.pk-page-hero .pk-about-photo figcaption { color: #d9eade; }
.pk-site .pk-page-hero .pk-btn {
    color: #194c35;
    background: #fff;
    border-color: #fff;
    border-radius: 6px;
    box-shadow: none;
}
.pk-site .pk-page-hero .pk-btn:hover {
    color: #103c28;
    background: #e9f4ed;
    border-color: #e9f4ed;
}
.pk-page-hero .pk-about-actions .pk-text-link {
    color: #fff;
    text-decoration-color: #c3dfcc;
}
.pk-page-hero .pk-about-actions .pk-text-link:hover,
.pk-site .pk-page-hero .pk-crumbs a:hover { color: #fff; text-decoration-color: #fff; }
.pk-site .pk-page-hero a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}
.pk-site .pk-page-hero .pk-consult-direct a:focus-visible {
    outline-color: #147d42;
    outline-offset: 4px;
}

/* A search heading stays short so the first results remain close. */
.pk-site .pk-page-hero--compact { margin-bottom: 24px; }
.pk-site .pk-page-hero--compact .pk-title-block { padding-bottom: 28px; }
.pk-site .pk-page-hero--catalog .pk-title-block h1 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 12px;
}
.pk-site .pk-page-hero--catalog .pk-lead { max-width: 75ch; }

/* Preserve the existing rich layouts; only their color context changes. */
.pk-site .pk-page-hero--about,
.pk-site .pk-page-hero--consult { margin-bottom: 0; }
.pk-page-hero--about .pk-about-hero { padding-top: 28px; }
.pk-page-hero--consult .pk-consult-hero { padding-top: 28px; }
.pk-page-hero--consult .pk-consult-direct { color: #292b2c; border-top-color: #7eac8b; }

@media (max-width: 767px) {
    .pk-site .pk-page-hero { margin-bottom: 24px; }
    .pk-site .pk-page-hero .pk-crumbs { padding-top: 18px; padding-bottom: 18px; font-size: 12px; }
    .pk-site .pk-page-hero .pk-title-block { padding: 8px 0 30px; }
    .pk-site .pk-page-hero--compact { margin-bottom: 20px; }
    .pk-site .pk-page-hero--compact .pk-title-block { padding-bottom: 24px; }
    .pk-site .pk-page-hero--catalog .pk-lead { font-size: 15px; line-height: 1.55; }
    .pk-site .pk-page-hero--about,
    .pk-site .pk-page-hero--consult { margin-bottom: 0; }
    .pk-page-hero--about .pk-about-hero,
    .pk-page-hero--consult .pk-consult-hero { padding-top: 12px; }
}
@media (forced-colors: active) {
    .pk-page-hero::before,
    .pk-page-hero::after { display: none; }
    .pk-site .pk-page-hero a:focus-visible { outline-color: Highlight; }
}
