/* ==========================================================================
   Home page – lower sections v2 (Dec 4 2026, Diane t45u)
   Everything below the Concept C hero / filter / therapist slider, restyled in the C language:
   arched image frames with the hero's thin outline ring, two-tone H2s (italic accent #4F6146),
   concentric corners (inner radius = outer radius − padding), pill buttons, sage/cream palette,
   generous spacing and a gentle reveal on scroll (off for prefers-reduced-motion).
   Scoped to body.ho-lower (added by tools/home_lower.py). Remove the <link> to this file (and the
   ho-lower class) to get the previous look back. Blog markup: tools/home_lower.py.
   ========================================================================== */
.ho-lower {
  --hl-r-lg: 48px;      /* big containers */
  --hl-r-md: 32px;      /* cards */
  --hl-pad: 16px;       /* card inset for nested media */
  --hl-ring: color-mix(in srgb, var(--color-primary) 70%, transparent);
  --hl-sage: color-mix(in srgb, var(--color-primary) 18%, var(--color-background));
  --hl-shadow: 0 26px 50px -34px color-mix(in srgb, var(--color-secondary-dark) 60%, transparent);
}
.ho-lower main > .section { padding-bottom: 128px; }
.ho-lower main h2 .heading-accent,
.ho-lower main .display-title .heading-accent { color: var(--color-accent-deep); }
.ho-lower main .image-band h2 .heading-accent, .ho-lower main .image-band .display-title .heading-accent { color: var(--color-secondary); } /* gold on the dark photo band */
.ho-lower main .section-intro { margin-bottom: 52px; }
.ho-lower main .section-intro h2 { text-wrap: balance; }

/* Pill buttons, like "Meet All Therapists" */
.ho-lower main .btn { min-height: 56px; padding: 14px 30px; border-radius: var(--radius-pill); font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.ho-lower main .btn:hover { transform: translateY(-2px); }
.ho-lower main a:focus-visible, .ho-lower main .btn:focus-visible { outline: 2px solid var(--color-secondary-dark); outline-offset: 3px; }
.ho-lower main .btn svg { width: 18px; height: 18px; }

/* ---------- Insurance strips: logos on a white pill rail ---------- */
.ho-lower .insurance-strip { padding: 72px 20px; }
.ho-lower .insurance-strip__title { margin-bottom: 24px; font: var(--font-accent); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-accent-deep); }
.ho-lower .insurance-strip__viewport { max-width: 1280px; margin: 0 auto; padding: 22px 0; border-radius: var(--radius-pill); background: var(--color-white); box-shadow: var(--hl-shadow); mask-image: none; -webkit-mask-image: none; position: relative; }
.ho-lower .insurance-strip__viewport::before, .ho-lower .insurance-strip__viewport::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none; }
.ho-lower .insurance-strip__viewport::before { left: 0; background: linear-gradient(90deg, var(--color-white) 30%, transparent); }
.ho-lower .insurance-strip__viewport::after { right: 0; background: linear-gradient(270deg, var(--color-white) 30%, transparent); }
.ho-lower .insurance-strip__list { gap: 56px; padding: 0 28px; }
.ho-lower .insurance-strip__list img { width: 128px; height: 56px; }
.ho-lower main > .ho-slider + .insurance-strip { padding-top: 40px; }

/* ---------- Services: white cards, arch icon tile, pill chips ---------- */
.ho-lower .card-grid { gap: 28px; }
.ho-lower .service-card { position: relative; padding: 32px 32px 30px; border-radius: var(--hl-r-md); background: var(--color-white); box-shadow: 0 1px 0 color-mix(in srgb, var(--color-secondary-dark) 6%, transparent); transition: transform .3s ease, box-shadow .3s ease; }
.ho-lower .service-card:hover, .ho-lower .service-card:focus-within { transform: translateY(-4px); box-shadow: var(--hl-shadow); }
/* arch tile: radius = half its width at the top, 14px at the bottom */
.ho-lower .service-card__icon { width: 72px; height: 84px; padding: 18px 14px 14px; margin-bottom: 22px; border-radius: 36px 36px 14px 14px; background: var(--hl-sage); }
.ho-lower .service-card h4 { font: var(--font-h5); font-weight: 400; font-size: 26px; margin: 0 0 12px; color: var(--color-secondary-dark); }
.ho-lower .service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ho-lower .service-card__link:hover { text-decoration: none; }
.ho-lower .service-card:hover h4 { color: var(--color-accent-deep); }
.ho-lower .service-card__link:focus-visible { outline: none; }
.ho-lower .service-card:has(.service-card__link:focus-visible) { outline: 2px solid var(--color-secondary-dark); outline-offset: 3px; }
.ho-lower .service-card__text { color: var(--color-text); }
.ho-lower .feature-list--inline { gap: 8px; padding-top: 20px; border-top-color: color-mix(in srgb, var(--color-secondary-dark) 10%, transparent); }
.ho-lower .feature-list--inline li { padding: 6px 12px 6px 8px; gap: 7px; border-radius: var(--radius-pill); background: var(--color-background); color: var(--color-accent-deep); font-size: 13px; }
.ho-lower .feature-list--inline li::before { flex-basis: 14px; height: 14px; background-color: var(--color-accent-deep); background-size: 9px; }

/* ---------- Dark image band: rounded, with the hero's outline ring ---------- */
.ho-lower .image-band { border-radius: var(--hl-r-lg); outline: 1px solid var(--hl-ring); outline-offset: 10px; padding: 150px 88px 80px; margin: 12px; }
.ho-lower .image-band .eyebrow--light { background: color-mix(in srgb, var(--color-white) 16%, transparent); backdrop-filter: blur(6px); }
.ho-lower .image-band .btn { background: var(--color-background); border-color: var(--color-background); color: var(--color-secondary-dark); } /* cream on the dark photo (was gold) */
.ho-lower .image-band .btn:hover, .ho-lower .image-band .btn:focus-visible { background: var(--color-white); border-color: var(--color-white); }
.ho-lower .image-band .btn--outline { background: transparent; border-color: color-mix(in srgb, var(--color-white) 80%, transparent); color: var(--color-white); }
.ho-lower .image-band .btn--outline:hover, .ho-lower .image-band .btn--outline:focus-visible { background: var(--color-white); color: var(--color-secondary-dark); }
.ho-lower .image-band a:focus-visible { outline-color: var(--color-white); }

/* ---------- Integration in care: arched photo + cards ---------- */
/* Integration in care v2 (Dec 4 2026, Diane t49u "make it flow better"): one balanced unit.
   Equal 2-column grid; the photo frame stretches to the card stack's height so both share top and bottom edges.
   Arch is concentric like the slider cards: frame top radius = column width / 2, photo top radius = that − frame padding.
   The column width comes from the grid's container width (cqw), so the arch stays a true half circle at every size. */
.ho-lower .media-cards { --mc-gap: 28px; --mc-pad: 14px; --mc-col: calc((100cqw - var(--mc-gap)) / 2); container-type: inline-size; grid-template-columns: 1fr 1fr; gap: var(--mc-gap); align-items: stretch; max-width: 1180px; margin: 0 auto; }
.ho-lower .media-cards__media { position: relative; min-height: 0; margin: 0; padding: var(--mc-pad); background: var(--color-white); border-radius: calc(var(--mc-col) / 2) calc(var(--mc-col) / 2) var(--hl-r-md) var(--hl-r-md); }
.ho-lower .media-cards__media img { position: absolute; inset: var(--mc-pad); width: calc(100% - 2 * var(--mc-pad)); height: calc(100% - 2 * var(--mc-pad)); object-fit: cover; object-position: center 60%; border-radius: calc(var(--mc-col) / 2 - var(--mc-pad)) calc(var(--mc-col) / 2 - var(--mc-pad)) calc(var(--hl-r-md) - var(--mc-pad)) calc(var(--hl-r-md) - var(--mc-pad)); outline: 0; }
/* two cards share the stack height evenly */
.ho-lower .media-cards__cards { counter-reset: mc; display: grid; grid-template-rows: 1fr 1fr; gap: var(--mc-gap); }
.ho-lower .info-card { counter-increment: mc; position: relative; justify-content: flex-start; padding: 44px 48px; border-radius: var(--hl-r-md); background: var(--color-white); }
/* number sits level with the title (no icon tiles since Dec 4 2026) */
.ho-lower .info-card::before { content: "0" counter(mc); position: absolute; top: 44px; right: 48px; font: 300 italic 30px/1.15 "Noto Serif", serif; color: var(--color-eyebrow); }
.ho-lower .info-card__icon { display: none; }
.ho-lower .info-card .card-title { font: var(--font-h5); font-weight: 400; font-size: 26px; line-height: 1.3; color: var(--color-secondary-dark); margin: 0 0 16px; padding: 0 64px 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-secondary-dark) 10%, transparent); }
.ho-lower .info-card p { color: var(--color-text); }

/* ---------- Split cards (Call today / Reserve): cream card, concentric media ---------- */
.ho-lower .split-card { --sc-r: var(--hl-r-lg); --sc-pad: 20px; gap: 40px; padding: var(--sc-pad); border-radius: var(--sc-r); background: var(--color-white); }
.ho-lower .split-card::before { opacity: .05; }
.ho-lower .split-card__content { padding: 40px 8px 40px 44px; }
.ho-lower .split-card--media-left .split-card__content { padding: 40px 44px 40px 8px; }
/* media corners = card radius − card padding (concentric) */
.ho-lower .split-card__media img { border-radius: calc(var(--sc-r) - var(--sc-pad)); min-height: 460px; }
/* Reserve: soft arch over the office photo */
.ho-lower .reserve .split-card__media img { border-radius: 50% 50% calc(var(--sc-r) - var(--sc-pad)) calc(var(--sc-r) - var(--sc-pad)) / 34% 34% calc(var(--sc-r) - var(--sc-pad)) calc(var(--sc-r) - var(--sc-pad)); }
.ho-lower .reserve__social { left: 14px; right: 14px; bottom: 14px; padding: 12px 14px 12px 22px; border-radius: var(--radius-pill); box-shadow: var(--hl-shadow); }
.ho-lower .reserve__social .card-title { font-family: "Noto Serif", serif; font-style: italic; color: var(--color-secondary-dark); }
.ho-lower .reserve__social .social-links a { width: 38px; height: 38px; background: var(--hl-sage); color: var(--color-secondary-dark); transition: background-color .2s ease, transform .2s ease; }
.ho-lower .reserve__social .social-links a:hover, .ho-lower .reserve__social .social-links a:focus-visible { background: var(--color-secondary-dark); color: var(--color-background); transform: translateY(-2px); }

/* ---------- Testimonial: rounded photo band with a gold quote mark ---------- */
.ho-lower .quote-band { max-width: 1280px; margin: 0 auto 128px; width: calc(100% - 40px); border-radius: var(--hl-r-lg); overflow: hidden; padding: 130px 0 120px; outline: 1px solid var(--hl-ring); outline-offset: 10px; }
.ho-lower .quote-band::before { background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary-dark) 55%, transparent), color-mix(in srgb, var(--color-secondary-dark) 72%, transparent)); }
.ho-lower .quote-band__inner { max-width: 860px; padding: 0 24px; }
.ho-lower .quote-band__inner::before { content: "“"; display: block; height: 64px; margin-bottom: 8px; font: 300 120px/1 "Noto Serif", serif; color: var(--color-secondary); }
.ho-lower .quote-band__quote p { font-weight: 300; line-height: 1.3; text-wrap: balance; }
.ho-lower .quote-band__cite { display: inline-block; padding: 10px 18px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-white) 14%, transparent); backdrop-filter: blur(6px); font-size: 12px; }
.ho-lower .quote-band__cite a { text-decoration: underline; text-underline-offset: 3px; }
.ho-lower .quote-band a:focus-visible { outline-color: var(--color-white); }

/* ---------- Making care accessible: centered on a sage panel ---------- */
.ho-lower main > .section:has(> .container > .section-intro > .display-title) > .container { max-width: 1040px; }
.ho-lower main > .section .section-intro:has(> .display-title) { max-width: none; margin: 0; padding: 72px 64px; border-radius: var(--hl-r-lg); background: var(--hl-sage); }
.ho-lower .section-intro > .display-title { font-size: clamp(40px, 4.4vw, 57px); }

/* ---------- Blog v2: featured + two row cards ---------- */
.ho-lower .hl-blog__head { margin-bottom: 48px; align-items: flex-end; }
.ho-lower .hl-blog__head h2 { max-width: 760px; text-wrap: balance; }
.ho-lower .hl-blog__all { flex: none; }
.hl-blog__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 28px; align-items: stretch; }
.hl-blog__side { display: grid; gap: 28px; grid-auto-rows: 1fr; }
.hl-post { --p-r: var(--hl-r-md); --p-pad: var(--hl-pad); position: relative; display: flex; background: var(--color-white); transition: transform .3s ease, box-shadow .3s ease; }
.hl-post:hover, .hl-post:focus-within { transform: translateY(-4px); box-shadow: var(--hl-shadow); }
.hl-post__media { display: block; overflow: hidden; flex: none; }
.hl-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hl-post:hover .hl-post__media img { transform: scale(1.04); }
.hl-post__body { display: flex; flex-direction: column; min-width: 0; }
.hl-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; font: var(--font-body-small); font-size: 13px; color: var(--color-text); }
.hl-post__cat { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--hl-sage); color: var(--color-accent-deep); font: var(--font-accent); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; }
.hl-post__dot { color: var(--color-primary); }
.hl-post__title { margin: 0 0 12px; font: var(--font-h5); font-weight: 400; font-size: 24px; line-height: 1.25; letter-spacing: -0.3px; }
.hl-post__title a { color: var(--color-secondary-dark); text-decoration: none; }
.hl-post__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.hl-post__title a:focus-visible { outline: none; }
.hl-post:has(.hl-post__title a:focus-visible) { outline: 2px solid var(--color-secondary-dark); outline-offset: 3px; }
.hl-post__excerpt { margin: 0 0 20px; color: var(--color-text); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hl-post__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--color-secondary-dark) 10%, transparent); }
.hl-post__author { font-size: 13px; color: var(--color-text); }
.hl-post__more { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font: var(--font-body-small); font-weight: 600; color: var(--color-secondary-dark); text-decoration: none; border-bottom: 1px solid var(--color-secondary); padding-bottom: 2px; }
.hl-post__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.hl-post:hover .hl-post__more svg { transform: translateX(3px); }
.hl-post__more:hover { border-bottom-color: var(--color-secondary-dark); }

/* Featured: arch-topped card; card top radius = photo arch radius + padding (concentric) */
.hl-post--featured { --arch: 220px; flex-direction: column; padding: var(--p-pad); border-radius: calc(var(--arch) + var(--p-pad)) calc(var(--arch) + var(--p-pad)) var(--p-r) var(--p-r); }
.hl-post--featured .hl-post__media { aspect-ratio: 16 / 11; border-radius: var(--arch) var(--arch) calc(var(--p-r) - var(--p-pad)) calc(var(--p-r) - var(--p-pad)); }
.hl-post--featured .hl-post__body { padding: 28px 20px 12px; flex: 1; }
.hl-post--featured .hl-post__title { font: var(--font-h4); font-size: clamp(28px, 2.5vw, 34px); line-height: 1.15; }
.hl-post--featured .hl-post__excerpt { -webkit-line-clamp: 3; font-size: 16px; }
/* Row cards: arched thumbnail on the left; card top-left radius = thumb arch radius + padding */
.hl-post--row { --thumb: 200px; flex-direction: row; gap: 26px; padding: var(--p-pad); border-radius: calc(var(--thumb) / 2 + var(--p-pad)) var(--p-r) var(--p-r) var(--p-r); }
.hl-post--row .hl-post__media { width: var(--thumb); border-radius: calc(var(--thumb) / 2) calc(var(--thumb) / 2) calc(var(--p-r) - var(--p-pad)) calc(var(--p-r) - var(--p-pad)); }
.hl-post--row .hl-post__body { padding: 14px 12px 6px 0; flex: 1; }

@media (max-width: 1100px) {
  .hl-post--row { --thumb: 160px; }
  .hl-post--featured { --arch: 180px; }
}
@media (max-width: 1024px) {
  .ho-lower .media-cards { --mc-gap: 24px; }
  .ho-lower .info-card { padding: 36px; }
  .ho-lower .info-card::before { top: 36px; right: 36px; }
  .ho-lower main > .section { padding-bottom: 104px; }
  .ho-lower .image-band { padding: 120px 48px 64px; }
  .ho-lower .split-card { gap: 24px; }
  .ho-lower .split-card__content, .ho-lower .split-card--media-left .split-card__content { padding: 28px 12px 28px 20px; }
  .ho-lower .split-card--media-left .split-card__content { padding: 28px 20px 28px 12px; }
  .hl-blog__grid { grid-template-columns: 1fr; }
  .hl-blog__side { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .hl-post--row { --thumb: 100%; flex-direction: column; gap: 0; border-radius: var(--p-r); }
  .hl-post--row { border-radius: 999px 999px var(--p-r) var(--p-r) / 220px 220px var(--p-r) var(--p-r); }
  .hl-post--row .hl-post__media { width: 100%; aspect-ratio: 16 / 11; border-radius: 999px 999px calc(var(--p-r) - var(--p-pad)) calc(var(--p-r) - var(--p-pad)) / calc(220px - var(--p-pad)) calc(220px - var(--p-pad)) calc(var(--p-r) - var(--p-pad)) calc(var(--p-r) - var(--p-pad)); }
  .hl-post--row .hl-post__body { padding: 24px 12px 8px; }
  .hl-post--featured .hl-post__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .ho-lower .media-cards { --mc-gap: 20px; --mc-pad: 12px; --mc-col: 100cqw; grid-template-columns: 1fr; }
  .ho-lower .media-cards__media { aspect-ratio: 4 / 5; }
  .ho-lower .media-cards__cards { grid-template-rows: none; }
  .ho-lower .info-card { padding: 28px 24px; }
  .ho-lower .info-card::before { top: 28px; right: 24px; font-size: 26px; }
  .ho-lower .info-card .card-title { font-size: 24px; padding-right: 52px; }
  .ho-lower main > .section { padding-bottom: 88px; }
  .ho-lower main .section-intro { margin-bottom: 44px; }
  .ho-lower .insurance-strip { padding: 52px 16px; }
  .ho-lower .insurance-strip__viewport { padding: 16px 0; }
  .ho-lower .insurance-strip__viewport::before, .ho-lower .insurance-strip__viewport::after { width: 48px; }
  .ho-lower .insurance-strip__list { gap: 36px; }
  .ho-lower .insurance-strip__list img { width: 104px; height: 48px; }
  .ho-lower .service-card { padding: 28px 24px 24px; }
  .ho-lower .image-band { --hl-r-lg: 32px; padding: 96px 24px 40px; margin: 10px 0; min-height: 0; }
  .ho-lower .split-card { --sc-r: 32px; --sc-pad: 12px; }
  .ho-lower .split-card__content, .ho-lower .split-card--media-left .split-card__content { padding: 20px 12px 24px; }
  .ho-lower .split-card__media img { min-height: 300px; }
  .ho-lower .quote-band { width: calc(100% - 32px); --hl-r-lg: 32px; padding: 88px 0 80px; margin-bottom: 88px; }
  .ho-lower .quote-band__inner::before { font-size: 96px; height: 52px; }
  .ho-lower main > .section .section-intro:has(> .display-title) { padding: 48px 22px; --hl-r-lg: 32px; }
  .ho-lower .hl-blog__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .hl-blog__grid, .hl-blog__side { gap: 20px; }
  .hl-blog__side { grid-template-columns: 1fr; }
  .hl-post--featured { --arch: 150px; --p-pad: 12px; }
  .hl-post--row { --p-pad: 12px; }
  .hl-post--featured .hl-post__body, .hl-post--row .hl-post__body { padding: 22px 10px 8px; }
  .hl-post--featured .hl-post__media { aspect-ratio: 4 / 3; }
}

/* ---------- Gentle reveal on scroll (js/home-lower.js adds .hl-js; nothing hides without JS) ---------- */
.hl-js .hl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--hl-delay, 0s); }
.hl-js .hl-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hl-js .hl-reveal { opacity: 1; transform: none; transition: none; }
  .ho-lower .service-card, .hl-post, .hl-post__media img, .hl-post__more svg, .ho-lower main .btn, .ho-lower .reserve__social .social-links a { transition: none; }
  .ho-lower .service-card:hover, .hl-post:hover, .ho-lower main .btn:hover, .hl-post:hover .hl-post__media img { transform: none; }
}

/* AA contrast in the lower sections: eyebrow text and body copy a step darker than the site defaults
   (#9AB395 on the pale pill = 2.1:1, #757575 on cream = 4.2:1). The hero eyebrow is left as is. */
/* eyebrow + body colors now come from the site tokens (--color-eyebrow, --color-text) */

.ho-lower .hl-post__dot { color: var(--color-text); }
.ho-lower .hl-post__title a:focus-visible { outline: none; } /* the whole card gets the ring instead */
