html, body.home-refresh {
    overflow-x: clip;
}
body.home-refresh {
    --home-light: #F1ECE3;
    --home-dark: #E7DBCD;
    --home-line: #D6C6B6;
    --home-heading: #76513B;
    --home-soft: #EFE4DC;
    --home-sage: #E2E7DD;
    --tile: var(--home-light);
    --sand-deep: var(--home-line);
    --section-tint: var(--home-light);
    --field-0: #F1ECE3; --field-1: #E7DBCD; --field-2: #EDE3D7;
    --field-3: #F1ECE3; --field-4: #D6C6B6; --field-5: #E7DBCD;
    background: var(--home-light);
}
.home-refresh h1, .home-refresh h2, .home-refresh h3, .home-refresh h4 { color: var(--home-heading); }
.home-refresh .home-hero-clean { position: relative; isolation: isolate; overflow: hidden; padding: 0; margin: 0; }
.home-hero-image { display: block; width: 100%; height: clamp(540px, 44vw, 680px); object-fit: cover; object-position: center; }
.home-hero-shade { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(241,236,227,.97), rgba(241,236,227,.82) 38%, rgba(241,236,227,.08) 68%, transparent); }
.home-hero-shade .container { width: 100%; }
.home-hero-shade h1 { max-width: 16ch; font-size: clamp(2.3rem, 4vw, 3.65rem); line-height: 1.13; letter-spacing: -.025em; margin: 0 0 22px; }
.home-hero-shade p { max-width: 46ch; margin: 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.75; color: var(--espresso); }

.home-intro-clean { padding: clamp(36px, 5vw, 68px) 0; }
.home-intro-clean .container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.home-intro-clean h2 { max-width: 12ch; margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.home-intro-copy p { max-width: 70ch; margin: 0; font-size: 1rem; line-height: 1.85; }
.home-about-button, .home-team-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; margin-top: 24px; padding: 8px 10px 8px 22px; border-radius: 999px; background: var(--espresso); color: #fff; font-size: .92rem; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.home-about-button:hover, .home-team-button:hover { background: #453126; color: #fff; transform: translateY(-1px); }
.home-about-button .home-arrow-circle, .home-about-button .home-long-arrow,
.home-team-button .home-arrow-circle, .home-team-button .home-long-arrow { width: 32px; height: 32px; color: rgba(255,255,255,0.22); --ff-arrow-stroke: #ffffff; flex-shrink: 0; transition: transform .2s ease, color .2s ease; }
.home-about-button:hover .home-arrow-circle, .home-about-button:hover .home-long-arrow,
.home-team-button:hover .home-arrow-circle, .home-team-button:hover .home-long-arrow { color: #ffffff; --ff-arrow-stroke: var(--espresso); transform: translateX(3px); }

.home-services-clean { padding: 0 0 clamp(40px, 6vw, 76px); overflow-x: clip; }
.home-services-heading { margin-bottom: 20px; }
.home-services-heading h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.75rem); }
.home-services-slider { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; margin-bottom: 40px; border-radius: 22px; }
.home-services-slides { display: flex; width: 200%; animation: home-services-marquee 28s linear infinite; will-change: transform; }
.home-services-slide-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 0 0 50%; gap: 10px; padding-right: 10px; box-sizing: border-box; }
.home-services-slides img { display: block; width: 100%; height: clamp(180px, 20vw, 280px); border-radius: 18px; object-fit: cover; }
.home-services-slider:hover .home-services-slides,
.home-services-slider:focus-within .home-services-slides { animation-play-state: paused; }
@keyframes home-services-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.home-service-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; list-style: none; margin: 0; padding: 0; }
.home-service-pills li { display: flex; min-width: 0; }
.home-service-pills a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; width: 100%; min-height: 94px; padding: 22px 24px; border: 1px solid var(--home-line); border-radius: 20px; background: var(--home-dark); color: var(--espresso); text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.home-service-pills a:hover { border-color: var(--home-heading); background: #EFE4D8; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,31,23,.08); }
.home-service-pills a:focus-visible, .home-team-categories a:focus-visible, .home-service-tabs button:focus-visible, .home-about-button:focus-visible, .home-team-button:focus-visible { outline: 3px solid var(--espresso); outline-offset: 4px; }
.home-service-pills h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--espresso); overflow-wrap: break-word; }
.home-service-pills p { grid-column: 1; grid-row: 2; margin: 6px 0 0; font-size: .84rem; line-height: 1.55; color: var(--text-soft); }
.home-service-pills .home-arrow-circle, .home-service-pills .home-long-arrow { grid-column: 2; grid-row: 1 / span 2; display: block; width: 20px; height: 20px; padding: 0; box-sizing: border-box; border: 0; background: transparent; color: var(--espresso); opacity: .58; flex-shrink: 0; transition: transform .2s ease, opacity .2s ease; }
.home-service-pills a:hover .home-arrow-circle, .home-service-pills a:hover .home-long-arrow { transform: translateX(2px); opacity: .82; }

.home-service-explorer { margin-top: 55px; padding-top: 30px; }
.home-service-explorer > h2 { font-size: 1.6rem; margin: 0 0 16px; }
.home-service-tabs { display: inline-flex; gap: 4px; margin-bottom: 18px; padding: 5px; border: 1px solid var(--home-line); border-radius: 999px; background: var(--home-light); }
.home-service-tabs button { min-width: 112px; min-height: 44px; border: 0; border-radius: 999px; padding: 10px 24px; background: transparent; color: var(--espresso); font: inherit; font-size: .95rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.home-service-tabs button[aria-selected="true"] { background: var(--espresso); color: white; }
.home-service-panel[hidden] { display: none; }
.home-detail-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-detail-pills a { grid-template-rows: auto; min-height: 58px; padding: 14px 18px; border-radius: 16px; column-gap: 12px; }
.home-detail-pills h3 { grid-column: 1; grid-row: 1; font-size: .88rem; font-weight: 500; }
.home-detail-pills .home-arrow-circle, .home-detail-pills .home-long-arrow { grid-column: 2; grid-row: 1; width: 18px; height: 18px; padding: 0; }
.home-detail-pills a:hover .home-arrow-circle, .home-detail-pills a:hover .home-long-arrow { transform: translateX(3px); }

.home-team-clean { padding: clamp(40px, 6vw, 72px) 0; background: var(--home-dark); }
.home-team-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 5vw, 68px); align-items: center; }
.home-team-visual { position: relative; overflow: hidden; border-radius: 24px; min-height: 430px; }
.home-team-visual img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: 67% center; }
.home-team-visual.home-visual-slider img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.home-team-visual.home-visual-slider img.is-active { opacity: 1; }
.home-visual-dots { position: absolute; z-index: 2; bottom: 18px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.home-visual-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(45,31,23,.18); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.home-visual-dots button:hover { background: rgba(255,255,255,.8); }
.home-visual-dots button.is-active { background: var(--warm-white); transform: scale(1.3); }
.home-visual-dots button:focus-visible { outline: 2px solid var(--warm-white); outline-offset: 2px; }
.home-team-content h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 3vw, 2.65rem); }
.home-team-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.home-team-categories li { min-width: 0; }
.home-team-categories li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.home-team-categories a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 68px; padding: 10px 15px; border: 1px solid rgba(118,81,59,.14); border-radius: 999px; background: var(--home-light); color: var(--espresso); font-size: .86rem; line-height: 1.3; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.home-team-categories a:hover { transform: translateY(-2px); border-color: var(--home-heading); }
.home-team-categories a img { grid-column: 1; grid-row: 1; width: 36px; height: 36px; object-fit: contain; }
.home-team-categories a span { grid-column: 2; grid-row: 1; }
.home-team-categories .home-arrow-circle, .home-team-categories .home-long-arrow { grid-column: 3; grid-row: 1; width: 20px; height: 20px; color: var(--espresso); opacity: .58; flex-shrink: 0; transition: transform .2s ease, opacity .2s ease; }
.home-team-categories a:hover .home-arrow-circle, .home-team-categories a:hover .home-long-arrow { transform: translateX(2px); opacity: .82; }

.home-refresh .home-pair-clean { padding: clamp(36px, 5vw, 64px) 0; }
.home-refresh .home-pair-clean > .container:not(.pair-single) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); gap: 24px; }
.home-refresh .home-pair-clean .pair { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--home-dark); background-image: none; border: 1px solid var(--home-line); }
.home-refresh .home-pair-clean .pair h2 { margin-bottom: 14px; font-size: 1.6rem; }
.home-refresh .home-pair-clean .pair > img { order: 0; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 14px; margin: 0 0 22px; }
.home-refresh .home-pair-clean .pair > p { margin: 0 0 24px; font-size: 1rem; line-height: 1.8; }
.home-refresh .home-pair-clean .butn { margin-top: auto; }
.home-refresh .home-pair-clean .butn a { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; gap: 14px; border-radius: 16px; padding: 14px 18px; background: var(--espresso); color: white; box-shadow: none; text-decoration: none; font-size: .94rem; font-weight: 500; transition: background .2s ease; }
.home-refresh .home-pair-clean .butn a:hover { background: #453126; color: white; }
.home-refresh .home-pair-clean .butn .home-arrow-circle, .home-refresh .home-pair-clean .butn .home-long-arrow { width: 32px; height: 32px; color: rgba(255,255,255,0.22); --ff-arrow-stroke: #ffffff; flex-shrink: 0; transition: transform .2s ease, color .2s ease; }
.home-refresh .home-pair-clean .butn a:hover .home-arrow-circle, .home-refresh .home-pair-clean .butn a:hover .home-long-arrow { color: #ffffff; --ff-arrow-stroke: var(--espresso); transform: translateX(3px); }
.home-refresh .home-pair-clean .butn a::after { content: none; }

.home-refresh .home-why .why-field, .home-refresh .site-footer { --field-0: #F1ECE3; --field-1: #E7DBCD; --field-2: #EDE3D7; --field-3: #F1ECE3; --field-4: #D6C6B6; --field-5: #E7DBCD; }
.home-refresh .home-why .home-form-main { background: var(--home-dark); }
.home-refresh .home-why .why-list .items { border-color: var(--home-line); }
.home-refresh .impor-link { padding: 48px 0; background: var(--home-light); }
.home-refresh .impor-link ul { column-gap: 18px; }
.home-refresh .impor-link li { margin: 0 0 12px; }
.home-refresh .impor-link li a {
    width: 100%;
    min-height: 64px;
    margin: 0;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    background: var(--home-dark);
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease;
}
.home-refresh .impor-link li a:hover {
    border-color: var(--home-heading);
    background: #E2D4C3;
    box-shadow: none;
    transform: none;
}
.home-refresh .home-why .home-form-main > h3 { color: var(--home-heading); }
.home-refresh .home-why .why-list.why-spot .items.active { background: var(--home-dark); }
.home-refresh .home-why .why-stage { background: var(--home-dark) !important; }
.home-refresh .home-why .why-stage .stage-title { color: var(--home-heading); }
.home-refresh .home-why .why-list:not(.why-spot) .items { background: var(--home-dark); }
.home-refresh .home-why .why-list:not(.why-spot) .items::before { background: var(--home-heading); }
#home-services, #home-team, #home-partners { scroll-margin-top: calc(var(--header-h) + 20px); }

@media (max-width: 991px) {
    .home-team-layout { grid-template-columns: 1fr; }
    .home-team-visual, .home-team-visual img { min-height: 340px; }
    .home-team-visual img { object-position: 64% center; }
    .home-detail-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home-hero-image { height: 600px; object-position: 64% center; }
    .home-hero-shade { background: linear-gradient(90deg, rgba(241,236,227,.96), rgba(241,236,227,.72) 60%, rgba(241,236,227,.32)); }
    .home-hero-shade h1 { font-size: clamp(2rem, 7.6vw, 2.75rem); max-width: 15ch; }
    .home-hero-shade p { max-width: 36ch; font-size: .95rem; line-height: 1.65; }
    .home-intro-clean .container { grid-template-columns: 1fr; gap: 18px; }
    .home-intro-clean h2 { max-width: none; }
    .home-services-slider { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; border-radius: 18px; }
    .home-services-slides { width: max-content; animation-duration: 24s; }
    .home-services-slide-set { grid-template-columns: repeat(3, 78vw); flex: none; width: calc(234vw + 30px); }
    .home-services-slides img { width: 78vw; height: 210px; border-radius: 18px; }
    .home-service-pills { grid-template-columns: 1fr; gap: 10px; }
    .home-service-pills a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; min-height: auto; padding: 16px 18px; border-radius: 16px; }
    .home-service-pills h3 { grid-column: 1; grid-row: 1; min-width: 0; font-size: .98rem; }
    .home-service-pills p { grid-column: 1; grid-row: 2; min-width: 0; margin-top: 5px; font-size: .82rem; line-height: 1.5; color: var(--text-soft); }
    .home-detail-pills { grid-template-columns: 1fr; gap: 8px; }
    .home-detail-pills a { grid-template-rows: auto; min-height: 52px; padding: 12px 16px; border-radius: 14px; column-gap: 12px; }
    .home-detail-pills h3 { grid-column: 1; grid-row: 1; }
    .home-detail-pills .home-arrow-circle, .home-detail-pills .home-long-arrow { grid-column: 2; grid-row: 1; width: 17px; height: 17px; padding: 0; }
    .home-service-pills .home-arrow-circle, .home-service-pills .home-long-arrow { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; padding: 0; }
    .home-team-categories a { min-height: 62px; padding: 9px 12px; font-size: .78rem; }
    .home-team-categories img { width: 30px; height: 30px; }
    .home-team-visual, .home-team-visual img { min-height: 280px; }
    .home-refresh .home-pair-clean > .container { grid-template-columns: 1fr; gap: 18px; }
    .home-refresh .home-pair-clean .pair { padding: 22px; }
    .home-refresh .impor-link li a { min-height: 58px; padding: 11px 14px; }

    /* Mobile sequence: heading, active reason, then all five compact tabs. */
    .home-why .banner-sub h2 {
        padding: 34px var(--in) 16px;
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .home-why .why-list.why-spot {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding-right: var(--in) !important;
        padding-bottom: 28px !important;
    }

    .home-why .why-list.why-spot .why-stage {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 220px;
        margin: 0 0 7px;
        padding: 24px 22px;
        border-radius: 18px;
        gap: 8px;
    }

    .home-why .why-list.why-spot .items {
        grid-column: auto;
        min-height: 48px;
        padding: 9px 11px;
        gap: 7px;
        border-radius: 12px;
    }

    .home-why .why-list.why-spot .items::before {
        font-size: .68rem;
    }

    .home-why .why-list.why-spot h3 {
        font-size: .78rem;
        line-height: 1.25;
    }

    .home-why .why-stage .stage-num {
        top: 14px;
        right: 18px;
        font-size: 2.8rem;
    }

    .home-why .why-stage .stage-title {
        max-width: 12em;
        padding-right: 34px;
        font-size: 1.4rem;
        line-height: 1.15;
    }

    .home-why .why-stage .stage-text {
        max-width: 24em;
        font-size: .9rem;
        line-height: 1.5;
    }
}
@media (max-width: 390px) {
    .home-service-pills a { padding: 14px 16px; }
    .home-service-pills h3 { font-size: .94rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .home-refresh .home-service-pills .rv,
    .home-refresh .home-team-categories li.rv { transition-duration: .45s, .55s; }
}
@media (prefers-reduced-motion: reduce) {
    .home-services-slides { animation: none; transform: none; }
    .home-service-pills a, .home-team-categories a { transition: none; }
}
@media print { .home-service-panel[hidden] { display: block; } }

/* ---------- Mobile refinements ---------- */
@media (max-width: 767px) {
    /* Hero about 23% shorter than the previous 600px */
    .home-hero-image { height: 460px; }

    /* Section headings carry more weight on small screens */
    .home-intro-clean h2,
    .home-services-heading h2,
    .home-team-content h2,
    .home-why .banner-sub h2 { font-size: 2rem; line-height: 1.15; }
    .home-service-explorer > h2 { font-size: 1.75rem; }
    .home-refresh .home-pair-clean .pair h2 { font-size: 1.75rem; }
    .home-refresh .home-why .home-form-main > h3 { font-size: 1.75rem; }

    /* Services: two equal-height cards per row, arrow at the foot */
    .home-service-pills:not(.home-detail-pills) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
    .home-service-pills:not(.home-detail-pills) a { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 12px 12px 14px; }
    .home-service-pills:not(.home-detail-pills) h3 { font-size: .88rem; line-height: 1.28; hyphens: auto; }
    .home-service-pills:not(.home-detail-pills) p { margin: 5px 0 10px; font-size: .74rem; line-height: 1.4; }
    .home-service-pills:not(.home-detail-pills) .home-arrow-circle { align-self: flex-end; margin-top: auto; }

    /* Child and adult services: two equal-height pills per row */
    .home-detail-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
    .home-detail-pills a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 12px 12px 12px 14px; }
    .home-detail-pills h3 { font-size: .8rem; line-height: 1.3; hyphens: auto; }
    .home-detail-pills .home-arrow-circle { align-self: flex-end; margin-top: auto; }
    .home-detail-pills li:last-child:nth-child(odd) { grid-column: 1 / -1; }

    /* Team: icon, then the specialty, then its button, in equal cards */
    .home-team-categories { grid-auto-rows: 1fr; gap: 8px; }
    .home-team-categories li { display: flex; }
    .home-team-categories a { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 14px; border-radius: 18px; font-size: .86rem; }
    .home-team-categories a img { width: 32px; height: 32px; }
    .home-team-categories .home-arrow-circle { margin-top: auto; width: 18px; height: 18px; }

    /* EAP and Collaborate become a swipeable pair; the second card peeks in */
    .home-refresh .home-pair-clean > .container { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
    .home-refresh .home-pair-clean > .container::-webkit-scrollbar { display: none; }
    .home-refresh .home-pair-clean .pair { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; }

    /* The darkest pool of the colour field reads as a smudge on a narrow screen */
    .home-refresh .home-why .why-field { --field-4: #EDE3D7; }

    /* Why choose: plain, even tabs instead of dotted labels */
    .home-why .why-list.why-spot .items { justify-content: center; min-height: 52px; padding: 10px 12px; border: 1px solid var(--home-line); background: var(--home-light); text-align: center; }
    .home-why .why-list.why-spot .items::before { display: none; }
    .home-why .why-list.why-spot .items:hover { transform: none; }
    .home-why .why-list.why-spot .items:nth-child(5) { grid-column: 1 / -1; }
    .home-why .why-list.why-spot h3 { font-size: .82rem; }
    .home-refresh .home-why .why-list.why-spot .items.active { border-color: var(--espresso); background: var(--espresso); }
    .home-refresh .home-why .why-list.why-spot .items.active h3 { color: #fff; }

    .home-refresh .home-why .why-list.why-spot .why-stage { min-height: 260px; }
}

/* Why choose: let the photograph through, with a light wash only behind the words */
.home-why .why-stage .stage-photo { filter: none; mix-blend-mode: normal; opacity: 1; }
.home-why .why-stage.swap .stage-photo { opacity: 0; }
.home-refresh .home-why .why-list.why-spot .why-stage { justify-content: flex-end; }
.home-why .why-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(231,219,205,.94), rgba(231,219,205,.78) 42%, rgba(231,219,205,0) 78%); }
@media (min-width: 768px) { .home-why .why-stage::after { background: linear-gradient(0deg, rgba(231,219,205,.96), rgba(231,219,205,.86) 40%, rgba(231,219,205,0) 74%); } }

/* Collaborate on its own: one full-width band, photo beside the copy */
.home-refresh .home-pair-clean > .pair-single { display: block; padding-inline: var(--col-x); }
.home-refresh .home-pair-clean .pair-single .pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(28px, 4vw, 56px); align-items: start; min-height: 300px; padding: 0; overflow: hidden; }
.home-refresh .home-pair-clean .pair-single .pair > img { grid-column: 1; grid-row: 1 / -1; width: 100%; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; margin: 0; border-radius: 0; object-fit: cover; object-position: center 40%; }
.home-refresh .home-pair-clean .pair-single .pair h2 { grid-column: 2; grid-row: 2; margin: 36px clamp(24px, 4vw, 52px) 12px 0; }
.home-refresh .home-pair-clean .pair-single .pair > p { grid-column: 2; grid-row: 3; max-width: 60ch; margin: 0 clamp(24px, 4vw, 52px) 22px 0; font-size: .98rem; line-height: 1.75; }
.home-refresh .home-pair-clean .pair-single .butn { grid-column: 2; grid-row: 4; margin: 0 0 36px; padding-top: 4px; }
.home-refresh .home-pair-clean .pair-single .butn a { display: inline-flex; width: auto; gap: 24px; border-radius: 999px; padding: 8px 10px 8px 22px; min-height: 48px; }
@media (max-width: 767px) {
    .home-refresh .home-pair-clean > .pair-single { display: block; overflow: visible; padding-inline: var(--col-x); }
    .home-refresh .home-pair-clean .pair-single .pair { display: flex; flex-direction: column; }
    .home-refresh .home-pair-clean .pair-single .pair > img { order: -1; height: 170px; }
    .home-refresh .home-pair-clean .pair-single .pair h2 { margin: 22px 20px 10px; }
    .home-refresh .home-pair-clean .pair-single .pair > p { margin: 0 20px 18px; font-size: .94rem; line-height: 1.65; }
    .home-refresh .home-pair-clean .pair-single .butn { margin: 0 20px 22px; padding-top: 0; }
    .home-refresh .home-pair-clean .pair-single .butn a { display: flex; width: 100%; gap: 12px; padding-left: 18px; font-size: .88rem; white-space: nowrap; }
}

.home-service-pills .pediatrics-card {
    /* visibility: hidden !important; */
    display: none !important;
}

/* Phones: show the family photo clean at the top and set the heading below it, not across their faces. */
@media (max-width: 767px) {
    .home-refresh .home-hero-clean { overflow: visible; background: var(--home-light, #F1ECE3); }
    .home-hero-image { height: clamp(260px, 72vw, 340px); object-position: 62% center; }
    .home-hero-shade { position: static; inset: auto; display: block; background: none; padding: 26px 0 30px; }
}

/* Phones: the detailed-service cards size to their own row, so the last single card is not a tall empty box. */
@media (max-width: 767px) {
    .home-detail-pills { grid-auto-rows: auto; }
    .home-detail-pills li { display: flex; }
    .home-detail-pills a { width: 100%; }
}
