/* Fonts (SIL Open Font License 1.1), served from this site instead of Google Fonts
   so visitors' IP addresses aren't sent to Google. Headings: Merriweather. Body:
   Plus Jakarta Sans. One variable file per character set; browsers only download
   the sets a page uses. Inter stays only for Russian and Ukrainian body text,
   which Plus Jakarta Sans doesn't cover. Licenses: fonts/OFL*.txt. */
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/merriweather-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/merriweather-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/merriweather-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/merriweather-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/merriweather-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* Traditional Home Health — site styles
   Base tokens and components first, then the "Hometown Clinic" layer
   (DESIGN.md, adopted 2026-11-01) at the end of the file, scoped to body.hc.
   The logo's red, orange and gold survive only as the three service colors
   (dots, rules, bars). */
:root {
  --red: #171717;        /* actions and links: ink (name kept for the components) */
  --red-dark: #2a2a2a;
  --ember: #ffb61b;      /* the one accent: header CTA, key conversion buttons, counts */
  --gold: #ffb61b;       /* accent on dark panels (same color) */
  --cta: var(--ember);   /* background of the accent buttons; always ink text */
  --cta-hover: #f2a500;
  --orange: #f78f20;
  --div-home: #89201a;   /* service colors from the logo */
  --div-hospice: #f78f20;
  --div-skilled: #fdba2f;
  --dark: #171717;       /* every dark background: footer, bands, dark buttons and pills */
  --dark-hover: #2a2a2a;
  --slate: var(--dark);  /* dark panels and bands */
  --slate-dark: var(--dark);
  --on-slate: #d4d4d4;
  --ink: #171717;
  --smoke: #262626;
  --muted: #525252;
  --line: #c4c4c4;
  --stone: #ededea;      /* ash: tinted sections and surfaces */
  --white: #fcfbf8;      /* bone canvas */
  --radius: 20px;
  --display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --body: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
/* Keep keyboard focus out from under the floating nav and the chat button (WCAG 2.4.11). */
html { scroll-padding-top: 96px; scroll-padding-bottom: 88px; }
/* Long single words ("Nondiscrimination") break instead of overflowing at 320px or with larger text (WCAG 1.4.10, 1.4.12). */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
p, li, dd { overflow-wrap: break-word; }
.bg-slate :focus-visible, .bg-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--ember); }

/* Plus Jakarta Sans and Merriweather are variable fonts; bold text is 600. */
b, strong, th { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.015em; line-height: 1.12; }
h3, .h3 { font-size: 24px; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 56px; padding-bottom: 56px; }
/* Pages are white; ".bg-white" sections carry the stone tint so sections alternate. */
.bg-white { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-slate { background: var(--slate); color: var(--white); }
.bg-slate a:not(.btn):not(.job) { color: var(--white); }
.bg-ink { background: var(--dark); color: #f5f5f5; }

.eyebrow { color: var(--red); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; margin: 0 0 12px; }
.bg-slate .eyebrow { color: var(--gold); }
.lead { font-size: 24px; color: var(--muted); max-width: 640px; }
.bg-slate .lead { color: var(--on-slate); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 500; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--body); font-size: 16px;
}
.btn-red { background: var(--dark); color: var(--white); }
.btn-red:hover { background: var(--dark-hover); color: var(--white); }
.btn-gold { background: var(--cta); color: var(--ink); }
.btn-gold:hover { background: var(--cta-hover); color: var(--ink); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }

/* Utility bar + header */
.utility { background: var(--slate); color: var(--on-slate); font-size: 14px; }
.utility .container { display: flex; flex-wrap: wrap; gap: 0 24px; justify-content: space-between; align-items: center; }
.utility a { color: var(--on-slate); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.utility .hiring { color: var(--gold); font-weight: 600; }
.utility .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* Tagline and links need ~860px side by side. Below that, drop the tagline so
   the bar stays one line and the hero/nav never cover the "Now hiring" link. */
@media (max-width: 880px) {
  .utility .tagline { display: none; }
  .utility .links { width: 100%; justify-content: space-between; }
}

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .container { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 36px; object-fit: contain; }
.brand span { font-family: var(--body); font-weight: 600; font-size: 18px; line-height: 1.1; letter-spacing: -0.01em; }
.brand em { font-style: normal; color: var(--red); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-weight: 600; font-size: 16px; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.main-nav .btn { color: var(--white); padding: 0 20px; min-height: 44px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 8px; min-height: 44px; padding: 0 18px; font: 600 15px/1 var(--body); color: var(--ink); cursor: pointer; }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--red); color: var(--red); }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .main-nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1.25 1 520px; min-width: 0; }
.hero-media { flex: 1 1 380px; min-width: 0; }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.paths { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.path { flex: 1 1 240px; border-radius: var(--radius); padding: 20px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.path .label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }
.path .title { font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.25; margin-top: auto; padding-top: 8px; }
.path.primary { background: var(--dark); border-color: var(--dark); color: var(--white); }
.path.primary .label { color: var(--gold); }
.path:hover { border-color: var(--red); color: inherit; }
.path.primary:hover { background: var(--dark-hover); color: var(--white); }
@media (max-width: 600px) {
  .hero { padding: 36px 0 48px; }
  .hero .eyebrow { font-size: 14px; letter-spacing: 0.06em; text-wrap: balance; }
  .hero .lead { font-size: 18px; }
  .paths { margin-top: 24px; gap: 12px; }
  .path { padding: 16px 20px; }
  .path .title { padding-top: 4px; }
}

/* Facts strip under the homepage hero */
.facts { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 40px; padding-top: 18px; padding-bottom: 18px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.facts li { display: flex; align-items: baseline; gap: 6px; }
.facts strong { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); }
.facts a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; }
.facts a strong { color: var(--red); }
.facts a:hover { color: var(--red); }
@media (max-width: 600px) { .facts ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 14px; } .facts strong { font-size: 18px; } }

.page-hero { padding: 64px 0 48px; }
.page-hero h1 { max-width: 900px; }
.page-hero.has-photo .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.page-hero-photo { margin: 0; }
.page-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) {
  .page-hero.has-photo .container { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .page-hero-photo.hide-sm { display: none; }
}
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }


/* Cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.lang-notices { margin-top: 24px; }
.eeo { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.eeo .h3, .hc .eeo h2.h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: 0; color: var(--ink); }
.eeo p { margin: 0 0 8px; }
.lang-notice p { margin: 0; font-size: 16px; }
.lang-notice .lang-name { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.lang-notice .lang-name span { font-weight: 400; color: var(--muted); font-size: 14px; }
.grid-sm { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; }
.card ul { margin: 0; padding-left: 20px; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card-photo { margin: -32px -32px 8px; }
.card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card-more { display: block; margin-top: 12px; font-weight: 600; font-size: 16px; color: var(--ink); }
/* Referrals: division phone and fax in one panel */
.div-contacts { margin: 0 0 16px; padding: 4px 28px; border-radius: 24px; background: var(--cn-surface, #f4f3f0); }
.div-contact { padding: 18px 0; }
.div-contact + .div-contact { border-top: 1px solid var(--cn-line, #e4e1db); }
.div-contact h3 { margin: 0 0 6px; font-size: 20px; }
.div-contact dl { display: grid; grid-template-columns: 56px 1fr; gap: 4px 0; margin: 0; font-size: 16px; }
.div-contact dt { color: var(--muted); }
.div-contact dd { margin: 0; font-weight: 600; white-space: nowrap; }
.bar { width: 48px; height: 6px; border-radius: 999px; background: var(--div-home); }
.bar.orange { background: var(--div-hospice); }
.bar.gold { background: var(--div-skilled); }

.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; background: var(--stone); }
.bg-white .office { background: var(--white); }
.office .div { font-size: 14px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.office .town { font-family: var(--display); font-size: 24px; font-weight: 600; }
.office a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; }

/* Split layouts */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split.center { align-items: center; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* Jobs */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: rgba(255,255,255,0.12); color: var(--white); text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.chip:hover { background: rgba(255,255,255,0.22); color: var(--white); }
.chips.light .chip { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.chips.light .chip[aria-current="page"], .chips.light .chip:hover { border-color: var(--red); color: var(--red); }
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; text-decoration: none;
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between;
}
.job:hover { border-color: var(--red); color: var(--ink); }
.job .t { font-family: var(--body); font-weight: 600; font-size: 18px; line-height: 1.25; display: block; }
.job .m { color: var(--muted); font-size: 16px; }
.job .division-dot, .job-tags .division-dot { display: inline-block; vertical-align: 0.05em; margin-right: 8px; }
/* Benefits stay in view while scanning a long job list */
@media (min-width: 900px) { .careers-aside { position: sticky; top: 96px; } }
.job .pay { color: var(--red); font-weight: 600; font-size: 16px; }
.job .go { color: var(--red); font-weight: 600; font-size: 16px; }
.job-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; align-items: flex-end; }
.job-filter label { flex: 1 1 160px; min-width: 0; }
.job-filter .btn { min-height: 44px; }
.job-filter label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.job-filter select, .job-filter input { max-width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: 16px var(--body); background: var(--white); color: var(--ink); }
.job-body { font-size: 18px; }
.job-body ul { padding-left: 22px; }
.job-place { display: block; color: var(--muted); }
.job-tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 16px; font-weight: 600; }
.job-tags li.pay { background: var(--dark); border-color: var(--dark); color: var(--white); }
.apply-note { margin: 12px 0 0; max-width: 560px; }
.guide h2 { margin-top: 48px; scroll-margin-top: 96px; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 2px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
/* Locations: county finder */
.county-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.county-list > li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 10px; }
.county-list h3 { font-size: 18px; margin: 0 0 4px; }
.county-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.county-list summary::-webkit-details-marker { display: none; }
.county-list summary h3 { margin: 0; }
.county-list details[open] summary { margin-bottom: 4px; }
/* Larger screens show every county open, as a grid of cards. */
@media (min-width: 601px) { .county-list summary { pointer-events: none; } }
.cl-meta { display: none; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.cl-meta i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-style: normal; color: var(--ink); }
.cl-meta i::before { content: '+'; }
details[open] > summary .cl-meta i::before { content: '\2212'; }
.county-list ul { list-style: none; margin: 0; padding: 0; }
.county-list ul li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.county-list ul li span { flex: 1; white-space: nowrap; }
.county-list ul a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
/* Town pages: one block per office */
.office-blocks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.office-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 190px; gap: 12px 32px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.ob-head h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.ob-head .division-dot { width: 12px; height: 12px; }
.ob-addr { display: grid; gap: 4px; }
.ob-phone { font-family: var(--body); font-weight: 600; font-size: 24px; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; justify-self: end; }
.ob-counties { grid-column: 1 / -1; display: grid; gap: 8px; }
.county-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.county-chips li { background: var(--stone); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
@media (max-width: 700px) {
  .office-block { grid-template-columns: 1fr; gap: 10px; }
  .ob-phone { justify-self: start; }
}
/* Care pages: services grouped by who provides them, in the division's color */
.care-team { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 28px; }
.care-team h3 { font-size: 24px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 3px solid var(--division, var(--div-home)); }
.care-team .check-list { grid-template-columns: 1fr; }
.division-hospice { --division: var(--div-hospice); }
.division-skilled { --division: var(--div-skilled); }
/* "How care starts": a real sequence, numbered on a shared line */
.start { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.start li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 0; display: grid; gap: 6px; align-content: start; }
.start li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin: -21px 0 10px; border-radius: 50%; background: var(--slate); color: #fff; font-family: var(--body); font-weight: 600; font-size: 18px; }
.start strong { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.25; }
.start span { color: var(--muted); }
.start-note { margin: 32px 0 0; }
/* Office list on care pages (matches the homepage map's list) */
.office-rows { list-style: none; max-width: 760px; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.office-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.visit-town { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; font-size: 24px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.visit-town:hover { text-decoration: underline; text-underline-offset: 4px; }
.office-rows .visit-town { justify-self: start; }
.office-rows .addr { grid-column: 1; color: var(--muted); font-size: 16px; }
.office-rows .phone { grid-column: 2; grid-row: 1 / span 2; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.office-rows .nowrap { white-space: nowrap; }
.values { margin: 0; padding: 0; list-style: none; display: grid; }
.values li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values li::before { content: ''; position: absolute; left: 2px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--cta, #ffb61b); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 24px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--red); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
@media (max-width: 600px) { .form { padding: 24px 20px; } }
.form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.form > *, .form .row > * { min-width: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.form input, .form select, .form textarea { min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 16px var(--body); color: var(--ink); background: var(--white); width: 100%; max-width: 100%; min-width: 0; }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form .field-hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; min-height: 44px; }
.form .check input { width: 24px; height: 24px; min-height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.form .check .field-hint { display: block; margin-top: 2px; }
.notice { background: #fff6e0; border: 1px solid #f3dca3; border-radius: 16px; padding: 14px 16px; font-size: 16px; }

/* Footer */
.site-footer { background: var(--slate-dark); color: var(--on-slate); font-size: 16px; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding: 56px 0 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 0; }
.site-footer .col a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; }
.site-footer .col strong { margin-bottom: 4px; }
.site-footer .col strong { color: var(--white); }
.site-footer .foot-logo { width: 190px; height: auto; margin-bottom: 16px; }
.site-footer a { color: var(--on-slate); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .phone { color: var(--gold); font-weight: 600; }
.site-footer .bottom { border-top: 1px solid #333333; padding: 20px 0 32px; font-size: 14px; }
.site-footer .lang-help { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 16px 0; border-top: 1px solid #333333; font-size: 14px; }
.site-footer .lang-help a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 40px; }

.division-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- Header, map and footer basics (refined by the .hc rules below) ---------- */
.utility { background: var(--white); color: var(--smoke); border-bottom: 1px solid var(--line); letter-spacing: 0; }
.utility a { color: var(--smoke); }
.utility .hiring { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-header { background: var(--white); border-bottom: 0; }
.brand span { font-weight: 500; letter-spacing: -0.01em; }
.brand em { color: var(--ink); }
.main-nav { font-weight: 400; }
.main-nav .btn { background: var(--cta); color: var(--ink); border-radius: 999px; font-weight: 500; }
.main-nav .btn:hover { background: var(--cta-hover); }
.nav-toggle { border-radius: 999px; border-color: var(--line); }


.job .t { font-weight: 600; }

.site-footer { background: var(--dark); }
.site-footer .phone { color: var(--ember); }
.site-footer .bottom { border-top-color: #333333; }

@media (max-width: 600px) {
  .utility { font-size: 13px; }  /* the one size off the scale: keeps the bar on one line on phones */
}

/* ---------- "Hometown Clinic" (DESIGN.md, adopted site-wide 2026-11-01) ----------
   Scoped to body.hc, which every page carries. Photography in rounded inset
   frames, a floating dark pill nav, warm-gray surfaces, pill buttons with a
   round arrow chip, one yellow accent. These rules come last and refine the
   base styles above. */
.hc {
  --cn-bg: #ffffff;
  --cn-surface: #f4f3f0;
  --cn-surface-2: #eae8e3;
  --cn-ink: #171717;
  --cn-muted: #55524d;
  --cn-line: #e4e1db;
  --ink: var(--cn-ink);
  --muted: var(--cn-muted);
  --line: var(--cn-line);
  --stone: var(--cn-surface);
  --white: var(--cn-bg);
  --radius: 24px;
  background: var(--cn-bg);
  letter-spacing: 0;
  line-height: 1.6;
}
.hc h1, .hc h2, .hc h3 { font-weight: 400; color: var(--cn-ink); }
/* Merriweather has tall letters and long tails: tighter than this and the tails
   of g, p and y touch the line below (headline review, 2026-11-12). */
.hc h1 { letter-spacing: -0.01em; line-height: 1.18; }
.hc h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.005em; line-height: 1.22; }
.hc h3, .hc h4 { letter-spacing: 0; line-height: 1.3; }
.hc p { text-wrap: pretty; }

/* ---------- Header: utility line, then a floating dark pill ---------- */
.hc .utility { background: var(--cn-bg); color: var(--cn-muted); border-bottom: 0; padding-bottom: 16px; }
.hc .utility a { color: var(--cn-muted); }
.hc .utility .hiring { color: var(--cn-ink); font-weight: 600; text-decoration: none; }
.hc .site-header { position: sticky; top: 12px; z-index: 20; background: transparent; border: 0; padding: 0 16px; pointer-events: none; }
.hc .site-header .container { pointer-events: auto; max-width: 1180px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(23, 23, 23, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); }
.hc .brand, .hc .brand em { color: #fff; }
.hc .brand img { width: auto; height: 50px; }
@media (max-width: 900px) { .hc .brand img { height: 42px; } }
/* Header shows the logo icon only, in white (the full logo stays in the footer). */
.brand-icon { display: block; width: 66px; height: 45px; background: #fff; -webkit-mask: url(/assets/logo-icon.png) center / contain no-repeat; mask: url(/assets/logo-icon.png) center / contain no-repeat; }
.hc .brand { min-height: 48px; padding: 0 4px; }
@media (max-width: 900px) { .brand-icon { width: 59px; height: 40px; } }
.hc .brand span { font-size: 16px; font-weight: 600; }
.hc .main-nav { gap: 4px; font-size: 15px; font-weight: 500; }
.hc .main-nav a { color: rgba(255, 255, 255, 0.82); padding: 10px 14px; border-radius: 999px; }
.hc .main-nav a:hover, .hc .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.hc .main-nav .btn { margin-left: 8px; padding: 0 22px; background: var(--cta); color: var(--cn-ink); border-radius: 999px; font-weight: 600; }
.hc .main-nav .btn:hover { background: var(--cta-hover); color: var(--cn-ink); }
.hc .site-header :focus-visible { outline-color: var(--cta); }
@media (max-width: 900px) {
  .hc .site-header .container { border-radius: 28px; padding: 8px 8px 8px 16px; }
  .hc .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.3); border-radius: 999px; }
  .hc .nav-toggle:hover, .hc .nav-toggle[aria-expanded="true"] { color: var(--cta); border-color: var(--cta); }
}

/* Desktop nav: the live job count beside Careers (quiet chip, not a third yellow). */
.nav-count { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.nav-count i { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); }

/* Phone menu (900px and below): a full-screen sheet inside the dark pill.
   Markup: nav-sheet in layout.mjs; the toggle script adds .open and html.menu-open. */
.nav-sheet { display: none; }
@media (min-width: 901px) { .nav-desk { display: contents; } }
@media (max-width: 900px) {
  .nav-desk { display: none; }
  .hc .main-nav { padding: 0; }
  html.menu-open { overflow: hidden; }
  html.menu-open .chat { display: none; }
  .hc .site-header .container:has(.main-nav.open) { position: fixed; inset: 8px; max-width: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; border-radius: 22px; padding: 8px 8px 8px 16px; overflow-y: auto; overscroll-behavior: contain; background-color: #171717; }
  .hc .site-header .container:has(.main-nav.open) .brand { align-self: flex-start; }
  .hc .site-header .container:has(.main-nav.open) .nav-toggle { position: absolute; top: 8px; right: 8px; }
  .hc .main-nav.open { display: flex; flex: 1 0 auto; flex-direction: column; }
  .nav-sheet { display: flex; flex: 1; flex-direction: column; gap: 20px; padding: 28px 8px 8px 0; }
  .nav-sheet ul { list-style: none; margin: 0; padding: 0; }
  .ns-label { margin: 0 0 -12px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #a8a49d; }
  .hc .main-nav .nav-sheet a { border: 0; border-radius: 0; background: none; }
  .hc .main-nav .nav-sheet .ns-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) 16px; align-items: center; column-gap: 14px; min-height: 64px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }
  .nav-sheet li:last-child .ns-row { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .ns-row i { width: 10px; height: 10px; border-radius: 50%; }
  .ns-row b { display: block; font-family: var(--display); font-size: 21px; font-weight: 400; line-height: 1.25; }
  .ns-row small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: #c4c1bb; }
  .ns-row svg { color: #8f8c86; }
  .ns-row[aria-current] b { color: var(--cta); }
  .ns-jobs { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--cta); color: var(--cn-ink); font-family: var(--body); font-size: 13px; font-weight: 600; vertical-align: 3px; }
  .ns-small { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .hc .main-nav .ns-small a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: #ebe9e4; font-size: 16px; }
  .hc .main-nav .ns-small a[aria-current] { color: var(--cta); }
  .ns-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
  .hc .main-nav .nav-sheet .ns-actions a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 20px; border-radius: 999px; font-size: 17px; font-weight: 600; }
  .hc .main-nav .nav-sheet .ns-call { background: #fff; color: var(--cn-ink); }
  .hc .main-nav .nav-sheet .ns-ref { background: var(--cta); color: var(--cn-ink); }
}

/* Short phones (iPhone SE): tighter rows so both buttons fit without scrolling. */
@media (max-width: 900px) and (max-height: 720px) {
  .nav-sheet { gap: 14px; padding-top: 18px; }
  .hc .main-nav .nav-sheet .ns-row { min-height: 52px; padding: 8px 0; }
  .ns-row b { font-size: 19px; }
  .ns-row small { margin-top: 1px; font-size: 13px; }
  .hc .main-nav .nav-sheet .ns-actions a { min-height: 50px; }
}

/* Footer: next-step buttons under the address; legal links on the bottom line. */
.foot-actions { display: grid; gap: 10px; width: min(100%, 320px); margin-top: 20px; }
.foot-actions .cn-pill { justify-content: space-between; }
.site-footer .foot-actions a.cn-pill-white { color: var(--cn-ink); }
.site-footer .foot-actions a.cn-pill-cta { color: var(--cn-ink); }
.site-footer .foot-actions a.cn-pill-glass { color: #fff; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 8px; }
.site-footer .legal a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pills: label plus a round arrow chip ---------- */
.cn-pill { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--cn-ink); color: #fff; font-weight: 500; font-size: 16px; text-decoration: none; transition: background-color .2s ease-out; }
.cn-chip { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--cn-ink); flex: none; transition: transform .2s ease-out; }
.cn-pill:hover .cn-chip, .cn-card:hover .cn-chip { transform: translateX(2px); }
.cn-pill:hover { color: #fff; background: #2a2a2a; }
.cn-pill-white { background: #fff; color: var(--cn-ink); }
.cn-pill-white .cn-chip { background: var(--cn-ink); color: #fff; }
.cn-pill-white:hover { background: #f1f0ec; color: var(--cn-ink); }
.cn-pill-cta { background: var(--cta); color: var(--cn-ink); }
.cn-pill-cta .cn-chip { background: var(--cn-ink); color: #fff; }
.cn-pill-cta:hover { background: var(--cta-hover); color: var(--cn-ink); }
.cn-pill-ghost { background: var(--cn-surface); color: var(--cn-ink); }
.cn-pill-ghost .cn-chip { background: var(--cn-ink); color: #fff; }
.cn-pill-ghost:hover { background: var(--cn-surface-2); color: var(--cn-ink); }
.cn-pill-glass { background: rgba(255, 255, 255, 0.16); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.cn-pill-glass:hover { background: rgba(255, 255, 255, 0.26); }
.cn-pill-dark .cn-chip { background: var(--cta); }
.cn-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cn-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--cn-muted); }
.cn-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); }

/* ---------- Photo frames ---------- */
.cn-frame { position: relative; margin: 0 16px; border-radius: 28px; overflow: hidden; background: #2a2a2a; color: #fff; isolation: isolate; }
.cn-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cn-frame::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.5) 45%, rgba(10, 10, 10, 0.08) 75%), linear-gradient(0deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 45%); }

/* Hero: the nav pill floats over the top of the photo. */
.cn-hero { margin-top: -80px; }
/* Fills the first screen: frame starts ~48px down and keeps a 16px margin below. */
.cn-hero .cn-frame { min-height: min(880px, calc(100svh - 64px)); display: flex; }
.cn-hero > .cn-frame > img { object-position: 62% 40%; }
.cn-hero-inner { width: 100%; max-width: 1248px; margin: 0 auto; padding: 160px 48px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.cn-hero-copy { max-width: 640px; }
.cn-hero h1 { margin: 0 0 24px; color: #fff; font-size: clamp(44px, 5vw, 70px); text-wrap: balance; }
.cn-hero-copy > p:not(.cn-glass-tag) { margin: 0 0 32px; max-width: 54ch; color: rgba(255, 255, 255, 0.88); font-size: 18px; }
.cn-glass-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); font-size: 14px; font-weight: 500; color: #fff; }
.cn-glass-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); flex: none; }
/* Homepage intro: copy left, facts panel right */
.cn-local { align-items: center; }
.cn-local-copy { display: grid; justify-items: start; }
.cn-local-copy h2 { margin: 0; }
.cn-local-copy > p:not(.cn-kicker) { margin: 24px 0 28px; max-width: 52ch; color: var(--cn-muted); }
.cn-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 8px; border-radius: 28px; background: var(--cn-surface); }
.cn-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 24px 28px; }
.cn-facts div:nth-child(even) { border-left: 1px solid var(--cn-line); }
.cn-facts div:nth-child(n+3) { border-top: 1px solid var(--cn-line); }
.cn-facts dt { font-size: 16px; color: var(--cn-muted); }
.cn-facts dt a { color: var(--cn-ink); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; margin: -10px 0; }
.cn-facts dd { margin: 0; font-family: var(--display); font-size: clamp(32px, 3.2vw, 44px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; color: var(--cn-ink); font-variant-numeric: tabular-nums; }

/* The one entrance moment, on every hero: the copy rises in once. */
@media (prefers-reduced-motion: no-preference) {
  .cn-hero-copy,
  .hc .page-hero.has-photo .page-hero-copy,
  .hc .page-hero:not(.has-photo) > .container { animation: cn-rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  /* The photo settles like a camera finding its subject. */
  .cn-hero > .cn-frame > img,
  .hc .page-hero.has-photo .page-hero-photo img { animation: cn-settle 1.4s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes cn-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes cn-settle { from { transform: scale(1.06); } }

/* ---------- Sections ---------- */
.cn-section { padding-top: 120px; }
.cn-tight { padding-top: 96px; }
.cn-last { padding-bottom: 16px; }
.cn-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; }
/* Intro split: label, headline and paragraph start on one line. */
.cn-split-top { align-items: start; }
.cn-split-top .cn-split-side { padding-top: 30px; }
@media (max-width: 1000px) { .cn-split-top .cn-split-side { padding-top: 0; } }
.cn-split h2 { margin: 0; max-width: 16ch; }
.cn-split-side { display: grid; justify-items: start; gap: 24px; color: var(--cn-muted); }
.cn-split-side p { margin: 0; }
p.cn-split-side { display: block; margin: 0; }
.cn-head { margin-bottom: 48px; }

.cn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cn-card { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 24px; border-radius: 24px; background: var(--cn-surface); color: var(--cn-muted); text-decoration: none; font-size: 16px; line-height: 1.55; transition: background-color .2s ease-out; }
.cn-card:hover { background: var(--cn-surface-2); color: var(--cn-muted); }
.cn-card-img { display: block; overflow: hidden; border-radius: 18px; margin-bottom: 8px; }
.cn-card-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.cn-card:hover .cn-card-img img { transform: scale(1.03); }
.cn-card-title { display: flex; align-items: center; gap: 10px; padding: 0 14px; font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: 0; line-height: 1.3; color: var(--cn-ink); }
.cn-card-text { padding: 0 14px; }
.cn-card-more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 12px 14px 0; font-weight: 500; color: var(--cn-ink); }
.cn-card-more .cn-chip { background: #fff; }

.cn-panel { padding: 32px; border-radius: 28px; background: var(--cn-surface); }

/* Careers: the one dark panel. */
.cn-dark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding: 56px; border-radius: 28px; background: var(--cn-ink); color: #d4d4d4; }
.cn-dark .cn-kicker { color: #d4d4d4; }
.cn-dark h2 { margin: 0 0 20px; color: #fff; }
.cn-dark-copy p { margin: 0 0 28px; }
.cn-tags { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cn-tags a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; font-size: 16px; }
.cn-tags a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cn-dark :focus-visible { outline-color: var(--cta); }
.hc .cn-dark .job { flex-direction: column; align-items: flex-start; gap: 8px; border: 0; border-radius: 18px; background: #262626; color: #fff; padding: 18px 22px; transition: background-color .2s ease-out; }
.hc .cn-dark .job:hover { background: #333; color: #fff; }
.hc .cn-dark .job .m { color: #b5b5b5; }
.hc .cn-dark .job .pay, .hc .cn-dark .job .go { color: var(--cta); }

/* Referrals */
.cn-ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px; border-radius: 28px; background: var(--cn-surface); }
.cn-ref h2 { margin: 0 0 16px; }
.cn-ref p { margin: 0 0 28px; color: var(--cn-muted); }
.cn-fax { margin: 0; display: grid; gap: 8px; }
.cn-fax div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: #fff; }
.cn-fax dt { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--cn-ink); }
.cn-fax dd { margin: 0; color: var(--cn-muted); white-space: nowrap; }

/* Closing call band */
.cn-frame-short { min-height: 440px; display: flex; align-items: center; }
.cn-frame-short > img { object-position: 50% 50%; }
.cn-close { width: 100%; max-width: 1248px; margin: 0 auto; padding: 64px 48px; }
.cn-close h2 { margin: 0 0 16px; color: #fff; max-width: 14ch; }
.cn-close p { margin: 0 0 28px; max-width: 46ch; color: rgba(255, 255, 255, 0.88); }

/* ---------- Inner pages: the same materials on the real page bodies ---------- */
.hc .page-hero { margin: 0 16px; padding: 112px 0 64px; border-radius: 28px; background: var(--cn-surface); }
/* Inside-page heroes start behind the floating nav pill, like the homepage
   hero (.cn-hero). Element + class so .bg-white/.bg-slate margins can't undo it. */
.hc section.page-hero { margin-top: -80px; }
.hc .page-hero h1 { font-size: clamp(36px, 4.6vw, 62px); }
.hc .page-hero .lead { color: var(--cn-muted); font-size: 20px; }
.hc .page-hero-photo img { border-radius: 20px; aspect-ratio: 5 / 4; }
.hc .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cn-muted); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hc .eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cta); }
.hc .breadcrumb a { text-decoration: none; }
/* Breadcrumbs sit near the top of the hero, well apart from the eyebrow. */
.hc .page-hero .breadcrumb { margin-bottom: 56px; }
.hc .section { padding-top: 96px; padding-bottom: 96px; }
.hc .bg-white { margin: 0 16px; border: 0; border-radius: 28px; background: var(--cn-surface); }
.hc .bg-white .card, .hc .bg-white .office { background: #fff; }
.hc .bg-slate { margin: 0 16px; border-radius: 28px; background: var(--cn-ink); }
.hc .card { border: 0; background: var(--cn-surface); border-radius: 24px; }
.hc .card .bar { display: none; }
.hc .btn { border-radius: 999px; min-height: 52px; padding: 0 26px; font-weight: 500; }
/* Long phone buttons ("Talk to us 24/7: 570-…") wrap on narrow screens instead of overflowing. */
.hc .btn[href^="tel:"] { white-space: normal; text-align: center; max-width: 100%; }
.hc .btn-red { background: var(--cn-ink); }
.hc .btn-outline { border: 0; background: var(--cn-surface); color: var(--cn-ink); }
.hc .bg-white .btn-outline, .hc .page-hero .btn-outline { background: #fff; }
.hc .bg-white .btn-outline:hover, .hc .page-hero .btn-outline:hover { background: var(--cn-surface-2); }
.hc .btn-outline:hover { background: var(--cn-surface-2); color: var(--cn-ink); }
.hc .check-list li { padding-left: 34px; }
.hc .check-list li::before { top: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%; transform: none; background: var(--cn-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hc .care-team h3 { border-bottom-width: 2px; }
.hc .faq details { margin-bottom: 8px; padding: 20px 24px; border: 0; border-radius: 18px; background: var(--cn-surface); }
.hc .faq summary { font-size: 20px; font-weight: 500; }
.hc .faq summary::after { color: var(--cn-ink); }
.hc .start li::before { background: var(--cn-ink); }
.hc .job-tags li { border: 0; background: #fff; }
.hc .job-tags li.pay { background: var(--cta); color: var(--cn-ink); }
.hc .job { border-radius: 18px; }
.hc .form { border: 0; background: var(--cn-surface); border-radius: 24px; }
.hc .form input, .hc .form select, .hc .form textarea { background: #fff; border-color: var(--cn-line); border-radius: 12px; }

/* Page headers with a photo: the photo fills the rounded frame, text sits
   over a dark gradient, like the homepage hero. */
.hc .page-hero.has-photo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: stretch; min-height: 680px; padding: 112px 0 56px; background: #2a2a2a; color: #fff; }
.hc .page-hero.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.1) 80%), linear-gradient(0deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 50%); }
.hc .page-hero.has-photo .container { display: flex; width: 100%; }
/* Breadcrumb pinned to the top of the photo, headline and copy to the bottom. */
.hc .page-hero.has-photo .page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hc .page-hero.has-photo .breadcrumb { margin-bottom: auto; padding-bottom: 56px; }
.hc .page-hero.has-photo .page-hero-copy { max-width: 680px; }
.hc .page-hero.has-photo .page-hero-photo { position: absolute; inset: 0; z-index: -2; display: block; }
.hc .page-hero.has-photo .page-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 65% 40%; border-radius: 0; }
.hc .page-hero.has-photo h1, .hc .page-hero.has-photo .breadcrumb, .hc .page-hero.has-photo .breadcrumb a, .hc .page-hero.has-photo .eyebrow { color: #fff; }
.hc .page-hero.has-photo .lead, .hc .page-hero.has-photo p { color: rgba(255, 255, 255, 0.88); }
.hc .page-hero.has-photo a:not(.btn) { color: #fff; }
.hc .page-hero.has-photo .btn-red { background: #fff; color: var(--cn-ink); }
.hc .page-hero.has-photo .btn-red:hover { background: #f1f0ec; color: var(--cn-ink); }
.hc .page-hero.has-photo .btn-outline { background: rgba(255, 255, 255, 0.16); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.hc .page-hero.has-photo .btn-outline:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }
.hc .page-hero.has-photo :focus-visible { outline-color: var(--cta); }
.hc .page-hero.has-photo .chip { background: rgba(255, 255, 255, 0.14); color: #fff; }
@media (max-width: 600px) {
  .hc .page-hero.has-photo { min-height: 0; padding: 96px 0 32px; }
  .hc .page-hero.has-photo .breadcrumb { padding-bottom: 40px; }
  .hc .page-hero.has-photo::after { background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.6) 60%, rgba(10, 10, 10, 0.35) 100%); }
  .hc .page-hero.has-photo .page-hero-photo.hide-sm { display: block; }
}

/* Office directory (homepage and Locations): one white card per town. */
/* Balanced columns, so the short towns stack beside Dunmore with no gaps. */
.office-list { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 12px; }
.office-list > li { break-inside: avoid; margin-bottom: 12px; padding: 8px 24px 12px; border-radius: 20px; background: #fff; }
.office-list > li:last-child { margin-bottom: 0; }
.ol-town { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--cn-line); color: var(--cn-ink); text-decoration: none; }
.ol-town > span { display: grid; gap: 2px; }
.ol-name { font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: -0.005em; line-height: 1.25; }
.ol-county { font-size: 15px; color: var(--cn-muted); }
.ol-town .cn-chip { width: 36px; height: 36px; background: var(--cn-surface); }
.ol-town:hover { color: var(--cn-ink); }
.ol-town:hover .cn-chip { transform: translateX(2px); background: var(--cn-surface-2); }
.ol-services { list-style: none; margin: 0; padding: 4px 0 0; display: grid; }
.ol-services li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.ol-services span { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--cn-ink); }
.ol-services a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--cn-ink); text-decoration: none; white-space: nowrap; }
.ol-services a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .office-list > li { padding: 4px 20px 8px; } }

/* ---------- Motion: each one explains a change of state ----------
   Everything here is off for visitors who ask for reduced motion, and none of
   it hides content if it never runs. */
@media (prefers-reduced-motion: no-preference) {
  /* 1. Page to page: the nav pill holds still while the page cross-fades. */
  @view-transition { navigation: auto; }
  .hc .site-header .container { view-transition-name: site-nav; }
  ::view-transition-old(root) { animation: 160ms ease-out both cn-fade-out; }
  ::view-transition-new(root) { animation: 260ms cubic-bezier(.16, 1, .3, 1) both cn-fade-in; }

  /* 2. Phone menu: the links slide down out of the pill. */
  @media (max-width: 900px) {
    .hc .main-nav.open { animation: cn-menu .26s cubic-bezier(.16, 1, .3, 1) both; }
  }

  /* 3. FAQ answers open smoothly (browsers without support open instantly). */
  :root { interpolate-size: allow-keywords; }
  .hc .faq details::details-content { height: 0; overflow: clip; transition: height .3s cubic-bezier(.16, 1, .3, 1), content-visibility .3s allow-discrete; }
  .hc .faq details[open]::details-content { height: auto; }
}
@keyframes cn-fade-out { to { opacity: 0; } }
@keyframes cn-fade-in { from { opacity: 0; } }
@keyframes cn-menu { from { opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.hc .faq details p { margin: 0; padding-top: 12px; }

/* 5. The nav pill is a touch see-through at the top of the page and firms up,
   with a shadow, once you scroll past the opening view. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hc .site-header .container { animation: cn-nav-firm linear both; animation-timeline: scroll(root); animation-range: 0 480px; }
  }
}
/* An open phone menu always sits on the solid pill, for legible links. */
.hc .site-header .container:has(.main-nav.open) { animation: none; background-color: rgba(23, 23, 23, 0.97); }
@keyframes cn-nav-firm {
  from { background-color: rgba(23, 23, 23, 0.72); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
  to { background-color: rgba(23, 23, 23, 0.96); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
}

/* Footer: an inset dark panel to close the page. */
.hc .site-footer { margin: 96px 16px 16px; border-radius: 28px; background: var(--cn-ink); }
/* Logo icon as a faint watermark, bleeding off the bottom-left corner */
.hc .site-footer { position: relative; overflow: hidden; isolation: isolate; }
.hc .site-footer::before { content: ''; position: absolute; z-index: -1; left: -1%; bottom: -14%; width: min(760px, 62%); aspect-ratio: 503 / 342; background: #fff; opacity: 0.06; -webkit-mask: url(/assets/logo-icon.png) center / contain no-repeat; mask: url(/assets/logo-icon.png) center / contain no-repeat; pointer-events: none; }

/* Finish-review fixes: dark band text, card titles, surfaces that touch. */
.hc .bg-slate h2, .hc .bg-slate h3 { color: #fff; }
.hc .bg-slate .btn-outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); color: #fff; }
.hc .bg-slate .btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hc .bg-slate .btn-red { background: var(--cta); color: var(--cn-ink); }
.hc .h3 { font-size: 24px; letter-spacing: 0; line-height: 1.3; }
.hc .card .btn-outline { background: #fff; }
.hc .card .btn-outline:hover { background: var(--cn-surface-2); }
.hc .page-hero + .bg-white, .hc .page-hero + .section-sm.bg-white { margin-top: 16px; }
.hc .site-footer { padding-bottom: 72px; }
.cn-refer { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: rgba(255, 255, 255, 0.9); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.cn-refer:hover { color: #fff; }
.cn-refer { text-wrap: balance; }
/* Desktop already shows "Make a Referral" in the nav pill. */
@media (min-width: 901px) { .cn-refer { display: none; } }


@media (max-width: 1000px) {
  .cn-hero-inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 140px 32px 32px; }
  .cn-cards { grid-template-columns: 1fr; }
  .cn-split, .cn-dark, .cn-ref { grid-template-columns: minmax(0, 1fr); }
  .cn-split { gap: 20px; align-items: start; }
}
/* The collapsed nav pill (900px and below) is 8px shorter, so heroes tuck up 8px less. */
@media (max-width: 900px) {
  .cn-hero, .hc section.page-hero { margin-top: -72px; }
}
@media (max-width: 600px) {
  .hc .site-header { top: 8px; padding: 0 8px; }
  .cn-hero { margin-top: -72px; }
  .cn-frame { margin: 0 8px; border-radius: 22px; }
  .cn-hero-inner { padding: 112px 20px 20px; gap: 24px; }
  .hc .utility { padding-bottom: 12px; }
  /* Dark only behind the copy at the bottom, so the photo shows above it. */
  .cn-frame::after { background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.72) 40%, rgba(10, 10, 10, 0.12) 72%, rgba(10, 10, 10, 0.28) 100%); }
  .cn-hero-copy > p:not(.cn-glass-tag), .cn-glass-tag { display: none; }
  .cn-hero h1 { margin-bottom: 28px; }
  .hc .page-hero.has-photo .lead { display: none; }
  .cn-actions { flex-direction: column; align-items: stretch; }
  .cn-actions .cn-pill { justify-content: space-between; }
  .cn-facts { border-radius: 22px; padding: 4px; }
  .cn-facts div { padding: 20px 16px; }
  .cn-section { padding-top: 64px; }
  /* Panels share the photo frames' 8px edge (container padding is 24px). */
  .cn-panel, .cn-dark, .cn-ref, .cn-facts { margin-left: -16px; margin-right: -16px; }
  .cn-local { gap: 32px; }
  .cn-last { padding-bottom: 0; }
  .cn-tight { padding-top: 64px; }
  .cn-head { margin-bottom: 32px; }
  .cn-panel { padding: 12px; border-radius: 22px; }
  .cn-dark, .cn-ref { padding: 32px 20px; border-radius: 22px; gap: 32px; }
  .cn-close { padding: 48px 20px; }
  .hc .page-hero { margin: 0 8px; padding: 96px 0 40px; border-radius: 22px; }
  .hc section.page-hero { margin-top: -72px; }
  .hc .page-hero .breadcrumb { margin-bottom: 40px; }
  .hc .bg-white, .hc .bg-slate { margin: 0 8px; border-radius: 22px; }
  .hc .site-footer { margin: 64px 8px 8px; border-radius: 22px; }
  .hc .site-footer::before { width: 110%; left: -12%; bottom: -4%; }
  /* Phone review, round 2 (approved 2026-11-12) */
  .hc .section { padding-top: 64px; padding-bottom: 64px; }
  .hc .page-hero .btn-row { flex-direction: column; align-items: stretch; }
  .hc .page-hero .btn-row .btn { width: 100%; }
  .hc .job-hero .bc-last { display: none; }
  .hc main .section .lead, .hc main .section-sm .lead { font-size: 19px; line-height: 1.55; }
  .hc .page-hero .page-hero-copy, .hc .page-hero.has-photo .container { min-width: 0; max-width: 100%; }
  .hc .page-hero .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .hc .page-hero .chips::-webkit-scrollbar { display: none; }
  .hc .page-hero .chip { flex: none; }
  .job .m-sep { display: none; }
  .job .m-place { display: block; padding-left: 16px; }
  .cn-card-img img { aspect-ratio: 16 / 9; }
  /* Phone review, round 3 (approved 2026-11-12) */
  .div-contacts { margin-left: -16px; margin-right: -16px; padding: 4px 24px; border-radius: 22px; }
  .hc main .form { margin-left: -16px; margin-right: -16px; border-radius: 22px; }
  .hc .page-hero:not(.has-photo) { padding-bottom: 32px; }
  .hc .page-hero:not(.has-photo) .breadcrumb { margin-bottom: 28px; }
  .hc .page-hero:not(.has-photo) .lead { font-size: 18px; line-height: 1.55; }
  .hc .split { gap: 20px; }
  .county-list { gap: 0; margin-left: -16px; margin-right: -16px; padding: 4px 24px; border-radius: 22px; background: var(--cn-surface); }
  .county-list > li { padding: 0; border: 0; border-radius: 0; background: transparent; }
  .county-list > li + li { border-top: 1px solid var(--cn-line); }
  .county-list summary { min-height: 56px; cursor: pointer; }
  .county-list details[open] summary { margin-bottom: 0; }
  .county-list details > ul { padding-bottom: 10px; }
  .cl-meta { display: inline-flex; }
  .card-photo img { aspect-ratio: 16 / 9; }
}

/* ---------- "Chat with us" helper (markup: chatWidget() in layout.mjs) ----------
   A floating dark pill opens a panel of scripted questions. Bot lines sit on
   the warm surface, the visitor's answers on ink; choices are pills. */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 30; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--body); }
/* The launcher is the hero's glass tag in dark: smoked glass, a hairline, the yellow dot. */
.chat-launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 16px; border: 0; border-radius: 999px; background: rgba(23, 23, 23, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.16); color: #fff; font: 500 14px/1 var(--body); cursor: pointer; view-transition-name: chat-launcher; }
.chat-launcher i { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); flex: none; }
.chat-icon { display: none; }
@media (max-width: 600px) { .chat-icon { display: block; } }
.chat-launcher:hover { background: rgba(23, 23, 23, 0.86); }
.chat-launcher:focus-visible, .chat :focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
/* The panel has its own close button, so the launcher steps aside while it's open. */
.chat.is-open .chat-launcher { display: none; }
.chat > * { pointer-events: auto; }
.chat-panel { width: 380px; max-width: calc(100vw - 32px); height: min(600px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--cn-bg); border-radius: 24px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--cn-line); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; background: var(--cn-ink); color: #fff; }
.chat-head p { margin: 0; flex: 1; display: grid; line-height: 1.3; }
.chat-head strong { font-size: 16px; font-weight: 600; }
.chat-head span { font-size: 14px; color: #d4d4d4; }
.chat-head span a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.chat-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; flex: none; }
.chat-close:hover { background: rgba(255, 255, 255, 0.2); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.chat-msg { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg.is-bot { align-self: flex-start; background: var(--cn-surface); color: var(--cn-ink); border-bottom-left-radius: 6px; }
.chat-msg.is-me { align-self: flex-end; background: var(--cn-ink); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg.is-note { background: transparent; padding: 0 4px; font-size: 14px; color: var(--cn-muted); }
.chat-msg a { color: var(--cn-ink); font-weight: 600; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 28px; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; }
.chat-choices:empty { display: none; }
.chat-choice { min-height: 44px; padding: 0 16px; border: 1px solid var(--cn-line); border-radius: 999px; background: #fff; color: var(--cn-ink); font: 500 15px/1.2 var(--body); cursor: pointer; text-align: left; }
.chat-choice:hover { background: var(--cn-surface); border-color: var(--cn-surface-2); }
.chat-composer { display: flex; gap: 8px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--cn-line); }
.chat-composer[hidden] { display: none; }
.chat-composer input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--cn-line); border-radius: 12px; font: 16px var(--body); color: var(--cn-ink); background: #fff; }
.chat-composer input[aria-invalid="true"] { border-color: var(--div-home); }
.chat-composer button { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--cn-ink); color: #fff; cursor: pointer; }
.chat-composer button:hover { background: #2a2a2a; }
@media (prefers-reduced-motion: no-preference) {
  .chat-panel:not([hidden]) { animation: cn-rise .26s cubic-bezier(.16, 1, .3, 1) both; transform-origin: bottom right; }
  .chat-msg { animation: cn-fade-in .2s ease-out both; }
}
@media (max-width: 600px) {
  .chat { right: 12px; bottom: 12px; left: 12px; }
  .chat-launcher { position: relative; width: 52px; height: 52px; padding: 0; justify-content: center; transition: opacity .2s, transform .2s, visibility .2s; }
  .chat-launcher .chat-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launcher i { position: absolute; top: 12px; right: 12px; box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.9); }
  .chat.is-tucked .chat-launcher { opacity: 0; visibility: hidden; transform: translateY(12px); }
  .chat-panel { width: 100%; max-width: none; height: calc(100dvh - 16px); border-radius: 22px; }
}

/* Staff social post request form (/social-request/, docs/social-requests.md). */
.social-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.social-form fieldset + fieldset { padding-top: 24px; border-top: 1px solid var(--cn-line); }
.social-form fieldset[hidden] { display: none; }
.social-form legend { float: left; width: 100%; padding: 0; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.social-form .row { align-items: end; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.social-form .choice { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--cn-line); border-radius: 16px; cursor: pointer; font-weight: 500; }
.social-form .choice:hover { border-color: var(--cn-muted); }
.social-form .choice:has(input:checked) { border-color: var(--cn-ink); box-shadow: inset 0 0 0 1px var(--cn-ink); }
.social-form .choice input { width: 20px; height: 20px; min-height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--cn-ink); }
.social-form .choice > span { display: flex; flex-direction: column; gap: 2px; }
.social-form .check-group { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 16px; }
.social-form .check-group .check { min-height: 40px; align-items: center; }
.social-form .check-group .check input { margin: 0; }
.social-form .file-drop { position: relative; flex-direction: row; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1.5px dashed var(--cn-line); border-radius: 16px; cursor: pointer; }
.social-form .file-drop:hover, .social-form .file-drop:focus-within { border-color: var(--cn-ink); }
.social-form .file-drop > span { display: flex; flex-direction: column; gap: 2px; }
.social-form .file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; height: 100%; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 14px; background: #fff; border-radius: 12px; font-size: 15px; overflow-wrap: anywhere; }
.file-remove { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--cn-surface); font: 500 14px var(--body); color: var(--cn-ink); cursor: pointer; }
.file-remove:hover { background: var(--cn-surface-2); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a1c13; font-weight: 500; }
.social-gate, .social-done { background: var(--cn-surface); border: 0; }
.social-gate h2, .social-done h2 { margin: 0; }
.social-done .btn { align-self: flex-start; }
.social-form .file-drop:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.social-form .step { display: grid; gap: 24px; }
.social-form .step[hidden] { display: none; }
.social-form .step-title { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.social-form .step-title:focus { outline: none; }
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.steps li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--cn-muted); }
.steps li::before { content: ''; display: block; height: 4px; border-radius: 999px; background: var(--cn-line); }
.steps li.done::before, .steps li[aria-current]::before { background: var(--cn-ink); }
.steps li[aria-current] { color: var(--cn-ink); font-weight: 600; }
.steps-n { display: none; }
@media (max-width: 600px) {
  .steps-label { display: none; }
  .steps li[aria-current] .steps-label { display: block; white-space: nowrap; }
}
.social-form .check-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.social-form .check-group > .field-hint { font-weight: 400; }
.job-picker { background: #fff; border-radius: 16px; padding: 0 16px; }
.job-picker summary { min-height: 52px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.job-picker[open] { padding-bottom: 12px; }
.job-picker-list { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); max-height: 360px; overflow-y: auto; margin-top: 8px; }
.job-picker-list .check { font-weight: 500; }
.job-picker-list .check .field-hint { display: block; }
.review { margin: 0; display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 10px 20px; background: #fff; border-radius: 16px; padding: 18px 20px; font-size: 16px; }
.review dt { color: var(--cn-muted); }
.review dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 600px) { .review { grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 10px; } }
.step-nav { display: flex; gap: 12px; justify-content: space-between; }
.step-nav .step-next, .step-nav .step-send { margin-left: auto; min-width: 180px; }
.step-nav [hidden] { display: none; }
.social-page { padding-top: 48px; }
.social-title { margin: 0 0 32px; font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -0.02em; }

/* Social post proof page (/proof/, docs/social-proofs.md). */
.proof-page .social-wrap { max-width: 1120px; }
.proof-head { display: grid; gap: 8px; margin-bottom: 28px; }
.proof-kicker { margin: 0; font-size: 14px; color: var(--cn-muted); }
.proof-title { margin: 0; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.015em; }
.proof-status { margin: 4px 0 0; justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--cn-surface); font-size: 15px; font-weight: 500; }
.proof-status[data-status="approved"] { background: var(--cta); color: var(--cn-ink); }
.proof-note { margin: 0; color: var(--cn-muted); }
.proof-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: start; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }
.proof-main { display: grid; gap: 24px; min-width: 0; }
.proof-post { background: #fff; border: 1px solid var(--cn-line); border-radius: 24px; overflow: hidden; max-width: 560px; }
.proof-post header { display: flex; align-items: center; gap: 10px; padding: 14px 16px 0; }
.proof-post header img { width: 40px; height: 28px; object-fit: contain; }
.proof-post header span { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; }
.proof-post header small { color: var(--cn-muted); font-size: 13px; }
.proof-caption { margin: 0; padding: 12px 16px 14px; white-space: pre-line; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.proof-post .proof-figure { border-radius: 0; background: none; padding: 0; }
.proof-post .proof-figure figcaption { padding: 10px 16px 14px; }
.proof-figure { margin: 0; background: var(--cn-surface); border-radius: 24px; padding: 16px; display: grid; gap: 10px; }
.proof-figure img { display: block; width: 100%; height: auto; border-radius: 0; }
.proof-figure > a:first-child { display: block; }
.proof-main > div > .proof-figure img { border-radius: 12px; }
.proof-figure figcaption { font-size: 14px; color: var(--cn-muted); }
.proof-figure figcaption a { color: var(--cn-ink); font-weight: 600; }
.proof-side { display: grid; gap: 20px; position: sticky; top: 112px; }
@media (max-width: 900px) { .proof-side { position: static; } }
.proof-box { background: var(--cn-surface); border-radius: 24px; padding: 20px 22px; }
.proof-box h2, .proof-form h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.015em; }
.proof-old h3 { font-size: 18px; }
.proof-approvers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.proof-approvers li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 16px; }
.proof-approvers .state { font-size: 14px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #fff; align-self: start; }
.proof-approvers li[data-state="approve"] .state { background: var(--cn-ink); color: #fff; }
.proof-approvers li[data-state="changes"] .state { background: #fdecea; color: #8a1c13; }
.proof-approvers q { grid-column: 1 / -1; color: var(--cn-muted); font-size: 15px; }
.proof-form { background: var(--cn-surface); border: 0; border-radius: 24px; padding: 22px; }
.proof-form .choice-grid.one { grid-template-columns: minmax(0, 1fr); }
.proof-form .choice small { font-weight: 400; }
.proof-form legend { font-size: 16px; margin-bottom: 8px; }
.proof-form fieldset + fieldset { padding-top: 16px; }
.proof-form .btn { width: 100%; justify-content: center; }
.proof-history { margin-top: 40px; border-top: 1px solid var(--cn-line); padding-top: 16px; }
.proof-history summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.proof-old { display: grid; gap: 8px; padding: 16px 0; }
.proof-old h3, .proof-old p { margin: 0; }
.proof-old p { color: var(--cn-muted); font-size: 15px; }
.proof-old-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

/* Job pages keep Apply in reach (review round 5, 2026-11-12).
   Desktop: a dark Apply card at the top of the sidebar that stays in view.
   Phones: a bar at the bottom once the hero's buttons scroll away. */
.apply-card { display: none; }
@media (min-width: 901px) {
  .job-aside { align-self: stretch; }
  .apply-card { position: sticky; top: 96px; z-index: 2; display: grid; gap: 10px; margin-bottom: 24px; padding: 24px; border-radius: 24px; background: var(--cn-ink); color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
  .apply-card-meta { margin: 0; font-size: 14px; color: #c4c1bb; }
  .apply-card .apply-card-title { margin: 0; color: #fff; font-size: 22px; line-height: 1.3; }
  .apply-card-pay { margin: 0 0 6px; font-weight: 600; font-size: 16px; }
  .apply-card .cn-pill { justify-content: space-between; }
  .apply-card-call { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; color: #fff; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
  .apply-card-call:hover { color: var(--cta); }
  .apply-card :focus-visible { outline-color: var(--cta); }
}
.apply-bar { display: none; }
@media (max-width: 900px) {
  .apply-bar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(23, 23, 23, 0.96); color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); transform: translateY(140%); visibility: hidden; transition: transform .25s cubic-bezier(.16, 1, .3, 1), visibility .25s; }
  .apply-bar.show { transform: none; visibility: visible; }
  .apply-bar-text { display: grid; min-width: 0; line-height: 1.3; }
  .apply-bar-text b { overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
  .apply-bar-text small { font-size: 13px; color: #c4c1bb; white-space: nowrap; }
  .apply-bar .cn-pill { flex: none; min-height: 48px; padding: 4px 4px 4px 18px; gap: 10px; }
  .apply-bar .cn-chip { width: 40px; height: 40px; }
  .apply-bar :focus-visible { outline-color: var(--cta); }
  html.apply-bar-on .chat { bottom: 84px; }
  html.apply-bar-on .site-footer { margin-bottom: 88px; }
  html.menu-open .apply-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .apply-bar { transition: none; } }

/* About: regular page width; the two intro paragraphs sit side by side. */
.about-intro { display: grid; gap: 16px 48px; }
.about-intro p { margin: 0; }
@media (min-width: 901px) { .about-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About: the three division cards in one row on desktop. */
@media (min-width: 901px) {
  .divisions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .divisions-grid .card { display: flex; flex-direction: column; padding: 24px; }
  .divisions-grid .card-photo { margin: -24px -24px 8px; }
  .divisions-grid .card p { margin-bottom: 12px !important; }
  .divisions-grid .card-more { margin-top: auto; }
}

/* ---------- UI motion (2026-11-12) ----------
   Principles: every motion answers an action or explains a change of state;
   things enter with ease-out and leave faster with ease-in; small UI moves in
   100-300ms; related items arrive in a short stagger; presses answer at once.
   No scroll-triggered reveals, count-ups or parallax (DESIGN.md). */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --t-press: 90ms;
  --t-fast: 160ms;
  --t-base: 240ms;
}
@media (prefers-reduced-motion: no-preference) {
  /* Feedback: buttons, pills and tappable rows give a little under a press.
     Uses the scale property, so it never fights an element's own transform. */
  .btn, .cn-pill { transition: background-color .2s ease-out, color .2s ease-out, scale var(--t-press) var(--ease-out); }
  .btn:active, .cn-pill:active, .chat-launcher:active { scale: .97; }
  .job, .cn-card, a.card, .ns-row { transition: border-color .2s ease-out, background-color .2s ease-out, scale var(--t-press) var(--ease-out); }
  .job:active, .cn-card:active, a.card:active, .ns-row:active { scale: .985; }

  /* Hover: linked cards answer like the homepage care cards (photo eases in),
     and menu rows nudge their arrow toward where they lead. */
  a.card .card-photo { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
  a.card .card-photo img { transition: scale .5s var(--ease-out); }
  a.card:hover .card-photo img { scale: 1.03; }
  .ns-row svg { transition: translate var(--t-fast) var(--ease-out), color var(--t-fast) ease-out; }
  .ns-row:hover svg { translate: 3px 0; color: #fff; }

  /* Phone menu: groups arrive in a short stagger after the sheet opens,
     and leave together, faster, before it folds back into the pill. */
  @media (max-width: 900px) {
    .hc .main-nav.open .nav-sheet > * { animation: cn-item var(--t-base) var(--ease-out) both; }
    .hc .main-nav.open .nav-sheet > :nth-child(1), .hc .main-nav.open .nav-sheet > :nth-child(2) { animation-delay: 40ms; }
    .hc .main-nav.open .nav-sheet > :nth-child(3), .hc .main-nav.open .nav-sheet > :nth-child(4) { animation-delay: 80ms; }
    .hc .main-nav.open .nav-sheet > :nth-child(5) { animation-delay: 120ms; }
    .hc .main-nav.open .nav-sheet > :nth-child(6) { animation-delay: 160ms; }
    .hc .main-nav.closing { animation: cn-menu-out var(--t-fast) var(--ease-in) both; }
    .hc .main-nav.closing .nav-sheet > * { animation: none; }
  }

  /* Locations: counties open the way FAQ answers do. */
  .county-list details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .county-list details[open]::details-content { height: auto; }
  .cl-meta i { transition: rotate var(--t-base) var(--ease-out); }
  details[open] > summary .cl-meta i { rotate: 180deg; }

  /* Chat button: show, hide and press on the shared curve (keeps the phone fade). */
  .chat-launcher { transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s, background-color .2s ease-out, scale var(--t-press) var(--ease-out); }
}
@keyframes cn-item { from { opacity: 0; transform: translateY(10px); } }
@keyframes cn-menu-out { to { opacity: 0; transform: translateY(-6px); } }

/* Section heading with its intro beside it, so text never stops short above
   full-width content (review round 6). Phones stack. */
.sec-head { display: grid; gap: 16px 64px; align-items: end; margin-bottom: 40px; }
.sec-head h2 { margin: 0; }
.sec-head .lead { max-width: none; margin: 0; font-size: 20px; }
@media (min-width: 901px) { .sec-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }

/* Care page office lists: a white card per office across the full width. */
.hc .office-rows { max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; border: 0; }
.hc .office-rows li { gap: 4px 16px; padding: 18px 22px; border: 0; border-radius: 20px; background: #fff; }
@media (max-width: 600px) {
  .hc .office-rows li { grid-template-columns: minmax(0, 1fr); }
  .hc .office-rows .phone { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* Homepage closing photo: a slow parallax. The photo drifts upward more
   slowly than the page as the section scrolls past, keeping both faces in view. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* The frame clips (overflow: hidden), so the photo follows the frame's own
       timeline against the page rather than view(), which would see the frame. */
    .cn-frame-short { view-timeline: --close-photo block; }
    .cn-frame-short > img { animation: cn-drift linear both; animation-timeline: --close-photo; animation-range: cover; }
  }
}
@keyframes cn-drift { from { object-position: 50% 58%; } to { object-position: 50% 38%; } }

/* Steps, checklists and the Hospice values arrive item by item the first time
   they come into view: each rises in a beat after the one before and its
   number or mark grows into place. html.arrive-ready is set only when the
   script can run and motion is allowed, so nothing stays hidden otherwise. */
@media (prefers-reduced-motion: no-preference) {
  html.arrive-ready :is(.start, .check-list, .values):not(.arrived) > li { opacity: 0; }
  :is(.start, .check-list, .values).arrived > li { animation: cn-arrive .5s var(--ease-out) var(--d, 0ms) both; }
  .start.arrived > li::before, .check-list.arrived > li::before, .values.arrived > li::before { animation: cn-pop .45s var(--ease-out) calc(var(--d, 0ms) + 80ms) both; }
  :is(.start, .check-list, .values) > li:nth-child(2) { --d: 70ms; }
  :is(.start, .check-list, .values) > li:nth-child(3) { --d: 140ms; }
  :is(.start, .check-list, .values) > li:nth-child(4) { --d: 210ms; }
  :is(.start, .check-list, .values) > li:nth-child(5) { --d: 280ms; }
  :is(.start, .check-list, .values) > li:nth-child(6) { --d: 350ms; }
  :is(.start, .check-list, .values) > li:nth-child(7) { --d: 420ms; }
  :is(.start, .check-list, .values) > li:nth-child(n+8) { --d: 490ms; }
}
@keyframes cn-arrive { from { opacity: 0; transform: translateY(14px); } }
@keyframes cn-pop { from { opacity: 0; scale: .4; } }

/* Quotes: staff on Careers, families on Hospice. Warm-gray cards, no border. */
.hc .quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.hc .quote { margin: 0; padding: 28px; background: var(--cn-surface); border-radius: 24px; display: flex; flex-direction: column; gap: 16px; }
.hc .quote blockquote { margin: 0; }
.hc .quote blockquote p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--cn-ink); }
.hc .quote figcaption { margin-top: auto; font-size: 16px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.hc .quote figcaption span { color: var(--cn-muted); }
@media (max-width: 700px) { .hc .quotes { grid-template-columns: 1fr; } .hc .quote { padding: 24px; } }

/* About: accreditation line and award badges. */
.hc .about-accred { margin: 24px 0 0; font-weight: 500; }
.hc .awards { list-style: none; margin: 24px 0 0; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; background: var(--cn-surface); border-radius: 28px; }
.hc .awards li { display: flex; align-items: center; justify-content: center; height: 136px; padding: 12px; background: #fff; border-radius: 18px; }
.hc .awards img { display: block; height: 112px; width: auto; max-width: 100%; }
@media (max-width: 700px) { .hc .awards { padding: 16px; gap: 10px; } .hc .awards li { height: 100px; padding: 8px; } .hc .awards img { height: 84px; } }

/* Footer: social icons. */
.site-footer .foot-social { display: flex; gap: 8px; margin-top: 20px; }
.site-footer .foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-slate); }
.site-footer .foot-social a:hover { background: rgba(255,255,255,.16); color: #fff; }

/* Locations: counties by service (the client's list, not split by office). */
.service-counties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.sc-card { background: var(--cn-surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.sc-card h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; }
.sc-count { margin: 0; font-size: 14px; color: var(--cn-muted); }
.sc-card ul { list-style: none; margin: 4px 0 8px; padding: 0; columns: 2; column-gap: 16px; }
.sc-card ul li { padding: 6px 0; border-bottom: 1px solid var(--cn-line); break-inside: avoid; font-size: 16px; }
.sc-phone { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--cn-ink); }
.sc-card .text-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) { .service-counties { grid-template-columns: 1fr; } }

/* Skilled Care eligibility: what skilled home care is. */
.skilled-def { max-width: 760px; }
.skilled-def h2 { margin-top: 0; }
.skilled-def p { margin: 0 0 16px; }

/* Homepage: "Our offices" / "Counties we cover" tabs. */
.loc-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 16px; background: var(--cn-surface); border-radius: 999px; }
.loc-tabs[hidden] { display: none; }
.loc-tabs [role=tab] { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--cn-ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.loc-tabs [role=tab]:hover { background: var(--cn-surface-2); }
.loc-tabs [role=tab][aria-selected="true"] { background: var(--cn-ink); color: #fff; }
.loc-panel + .loc-panel { margin-top: 16px; }
.loc-panel .loc-nojs { margin: 0 0 8px; }
.loc-panel .service-counties { margin-top: 0; }
.loc-panel .sc-card { background: #fff; }
