/* Long-form care pages share the public clinic identity and existing homepage. */
.service-public { background: var(--brand-cream); font-family: var(--font-body); }
.service-public *, .service-public *::before, .service-public *::after { box-sizing: border-box; }
.service-public a:focus-visible, .service-public button:focus-visible { outline: 3px solid var(--brand-pink); outline-offset: 5px; }
.service-skip { position: fixed; top: -6rem; left: 1rem; z-index: 100; padding: 1rem; background: white; }
.service-skip:focus { top: 1rem; }
.service-header { background: rgb(253 249 250 / 97%); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.service-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.service-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); flex-shrink: 0; }
.service-brand img { border-radius: 12px; }
.service-brand strong { display: block; font-size: 1.25rem; letter-spacing: -.04em; }
.service-brand small { display: block; font-size: .68rem; margin-top: .1rem; letter-spacing: .03em; }
.service-nav { display: flex; align-items: center; gap: 1.15rem; font-size: .8rem; }
.service-nav a { text-decoration: none; color: var(--text); }
.service-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.service-menu { display: none; background: none; border: 1px solid var(--border); border-radius: 20px; padding: .7rem 1rem; color: var(--text); font: inherit; }
.service-hero { padding: 2rem 0 4.5rem; background: radial-gradient(ellipse at 85% 50%, var(--teal-light), transparent 55%); }
.service-breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; font-size: .78rem; margin-bottom: 3.5rem; color: var(--text-muted); }
.service-breadcrumb a { color: inherit; }
.service-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.service-eyebrow { color: var(--brand-primary); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.service-hero h1, .profile-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(2.5rem, 4.7vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; color: var(--text); margin: 0 0 1.5rem; }
.service-lead { color: var(--text-mid); font-size: 1.08rem; line-height: 1.85; max-width: 40rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: 1.8rem; }
.service-text-link { color: var(--text); font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; }
.service-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 2rem; font-size: .74rem; color: var(--text-muted); }
.service-meta span + span::before { content: '·'; margin-right: 1rem; }
.service-hero__art { margin: 0; padding: .75rem; border-radius: 42% 42% 22px 22px; background: var(--brand-paper); border: 1px solid var(--border); overflow: hidden; box-shadow: 0 25px 60px rgb(20 87 111 / 7%); }
.service-hero__art img { width: 100%; height: auto; display: block; padding: 1.8rem .4rem; }
.service-hero__art figcaption { font-size: .73rem; text-align: center; padding: 1rem; color: var(--text-muted); }
.service-layout { display: grid; grid-template-columns: 16rem minmax(0, 48rem); justify-content: space-between; gap: 3.5rem; padding-top: 3rem; padding-bottom: 4rem; align-items: start; }
.service-aside { position: sticky; top: 116px; max-height: calc(100vh - 145px); overflow-y: auto; padding-right: .75rem; }
.service-aside ol { padding-left: 1.15rem; font-size: .82rem; line-height: 1.5; }
.service-toc summary { cursor: pointer; padding-block: .4rem; }
.service-aside li { padding: .35rem 0 .35rem .25rem; }
.service-aside a { color: var(--text-mid); text-decoration: none; }
.service-aside a:hover { color: var(--brand-primary); text-decoration: underline; }
.service-aside .btn { color: var(--action-text); margin-top: 1rem; }
.service-copy { min-width: 0; color: var(--text-mid); font-size: 1rem; line-height: 1.95; }
.service-copy p { margin: 0 0 1.2rem; }
.service-copy h2, .profile-body h2, .service-related h2, .service-next h2 { color: var(--text); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.25; letter-spacing: -.025em; font-size: clamp(1.65rem, 2.5vw, 2.3rem); margin: 0 0 1.2rem; }
.service-notice { padding: 1.3rem 1.5rem; background: var(--violet-light); border-radius: 18px; margin-bottom: 2.5rem; font-size: .88rem; line-height: 1.75; }
.service-notice strong { color: var(--text); }
.service-notice p { margin: .3rem 0 0; }
.service-section { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--border-soft); scroll-margin-top: 115px; }
.service-section__number { display: block; font-size: .75rem; font-weight: 700; color: var(--brand-primary); letter-spacing: .16em; margin-bottom: .6rem; }
.service-reference { display: inline; color: var(--brand-primary); text-decoration: underline; font-size: .8em; vertical-align: super; }
.service-pathway { background: var(--accent); border-radius: 26px; padding: 1.8rem; margin: 2.5rem 0; }
.service-pathway h2 { font-size: 1.6rem; }
.service-pathway ol { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 1.5rem 0; padding: 0; }
.service-pathway li { position: relative; display: grid; align-content: start; padding: 1rem; border-radius: 16px; background: rgb(255 255 255 / 75%); }
.service-pathway__dot { width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand-deep); color: white; display: grid; place-items: center; font-size: .8rem; margin-bottom: .7rem; }
.service-pathway strong { color: var(--text); font-size: .9rem; }
.service-pathway small { font-size: .8rem; line-height: 1.6; }
.service-pathway figcaption, .service-inline-art figcaption { font-size: .8rem; line-height: 1.65; color: var(--text-muted); }
.service-inline-art { margin: 2.5rem 0; border: 1px solid var(--border); border-radius: 24px; padding: .8rem; background: white; }
.service-inline-art img { display: block; width: 100%; height: auto; border-radius: 16px; }
.service-inline-art figcaption { padding: .9rem .5rem .25rem; }
.service-urgent { border-left: 4px solid var(--brand-primary); background: var(--violet-light); padding: 1.7rem; margin: 3rem 0; border-radius: 0 22px 22px 0; }
.service-urgent h2 { font-family: inherit; font-weight: 700; font-size: 1.2rem; }
.service-urgent a { color: var(--text); font-weight: 600; }
.service-urgent p:last-child { font-size: .85rem; margin: .7rem 0 0; }
.service-sources { padding: 1rem 0 2rem; font-size: .85rem; scroll-margin-top: 115px; }
.service-sources ol { padding-left: 1.3rem; }
.service-sources li { padding: .4rem 0; scroll-margin-top: 115px; }
.service-sources a { color: var(--brand-primary); overflow-wrap: anywhere; }
.service-next { background: var(--brand-deep); color: var(--brand-cream); padding: clamp(1.7rem, 4vw, 3rem); border-radius: 28px; margin: 1rem 0 3rem; }
.service-next h2, .service-next .service-eyebrow, .service-next .service-text-link { color: var(--brand-cream); }
.service-next .btn { background: var(--brand-blush); color: var(--brand-deep); }
.service-next .service-text-link { display: inline-block; margin: 1rem; }
.service-related { padding-top: 2rem; padding-bottom: 4rem; }
.service-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.service-link-grid a { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 1rem; color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: 20px; background: var(--brand-paper); transition: background 180ms; }
.service-link-grid a:hover { background: var(--violet-light); }
.service-link-grid img { width: 5rem; height: 3.7rem; object-fit: contain; border-radius: 12px; }
.service-link-grid span { font-weight: 600; }
.service-link-grid b { margin-left: auto; font-size: 1.4rem; }
.service-footer { background: var(--brand-deep); color: var(--brand-cream); padding: 2.5rem 0; }
.service-footer__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 3rem; }
.service-footer .service-brand, .service-footer a { color: var(--brand-cream); }
.service-footer p { font-size: .85rem; }
.service-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .8rem; margin-left: auto; }
.profile-hero { padding: 2rem 0 3.5rem; background: linear-gradient(115deg, var(--brand-cream) 25%, var(--teal-light) 100%); }
.profile-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.profile-hero h1 { font-size: clamp(3.3rem, 6vw, 6rem); }
.profile-hero h1 span { display: block; font-size: .52em; line-height: 1.28; margin-top: 1.2rem; }
.profile-signature { font-family: Georgia, serif; font-style: italic; font-size: 1.2rem; margin-top: 2rem; color: var(--brand-primary); }
.profile-portrait { margin: 0; background: var(--brand-paper); padding: .8rem; border: 1px solid var(--border); border-radius: 45% 45% 26px 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.profile-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 54% 50%; display: block; border-radius: 45% 45% 18px 18px; }
.profile-portrait figcaption { display: flex; justify-content: space-between; gap: .7rem; font-size: .8rem; padding: 1.1rem .7rem .4rem; color: var(--text); }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }
.profile-facts div { border-left: 2px solid var(--brand-blush); padding: .6rem 1rem; }
.profile-facts small, .profile-facts strong { display: block; }
.profile-facts small { color: var(--text-muted); margin-bottom: .5rem; }
.profile-facts strong { color: var(--text); font-size: 1.1rem; }
.profile-body { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; padding-top: 4rem; padding-bottom: 3rem; }
.profile-bio > p:first-child { font-size: 1.2rem; color: var(--text); }
.profile-bio section { margin-top: 3rem; }
.profile-records article { display: flex; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.profile-records article > span { color: var(--brand-primary); font-size: 1.5rem; }
.profile-records h3 { color: var(--text); font-size: 1rem; margin: 0; }
.profile-records p { font-size: .9rem; margin: .3rem 0 0; }
@media (max-width: 1100px) {
  .service-menu { display: block; }
  .service-header__inner { position: relative; min-height: 78px; }
  .service-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 1.5rem; background: var(--brand-paper); border: 1px solid var(--border); border-radius: 0 0 20px 20px; box-shadow: var(--shadow-md); }
  .service-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .service-nav a { padding: .5rem; }
  .service-layout { grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 740px) {
  .service-hero__grid, .profile-hero__grid, .service-layout, .profile-body { grid-template-columns: 1fr; gap: 2rem; }
  .service-hero { padding-bottom: 2rem; }
  .service-breadcrumb { margin-bottom: 2rem; }
  .service-hero__art { max-width: 30rem; }
  .service-hero__art img { padding: .5rem; }
  .service-aside { position: static; max-height: none; border: 1px solid var(--border); border-radius: 20px; padding: 1.2rem; }
  .service-aside ol { columns: 2; column-gap: 1.5rem; font-size: .76rem; }
  .service-aside li { break-inside: avoid; }
  .service-aside .btn { display: none; }
  .service-layout { padding-top: 1.5rem; }
  .service-copy { line-height: 1.85; }
  .service-pathway { padding: 1.2rem; }
  .service-pathway ol { gap: .7rem; }
  .service-link-grid { grid-template-columns: 1fr; }
  .profile-portrait { max-width: 29rem; }
  .profile-body { padding-top: 2rem; }
  .service-footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .service-public * { scroll-behavior: auto !important; transition: none !important; } }
/* Allow long care labels to wrap beside the artwork at enlarged text sizes. */
.service-link-grid span { min-width:0; overflow-wrap:anywhere; }
@media(max-width:740px) {
  .service-link-grid a { display:grid; grid-template-columns:2.5rem minmax(0,1fr) auto; gap:.5rem; }
  .service-link-grid img { width:100%; height:auto; }
}
