/* OC Hospice Care
   Layout concept: an editorial, unhurried page. Full-bleed Santa Monica Mountains photography,
   large quiet serif headlines, hairline rules instead of boxes. Colours come from the logo: evergreen for the
   brand, with the heart red kept for the actions that matter (calling, requesting a visit). */
/* Fonts: self-hosted variable fonts (no request to Google, so visitors' details never leave the site),
   plus fallbacks resized to the same metrics so text doesn't shift while the real fonts load. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/InstrumentSans-italic-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: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/InstrumentSans-italic-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/InstrumentSans-normal-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/InstrumentSans-normal-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: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/Newsreader-italic-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: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/Newsreader-italic-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: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/Newsreader-normal-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: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/Newsreader-normal-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: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 91.9%; ascent-override: 80%; descent-override: 28.8%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102.6%; ascent-override: 94.5%; descent-override: 24.4%; line-gap-override: 0%; }

:root {
  /* Colours follow the logo: its evergreen (hands and roof) and heart red, softened by a California
     golden-hour wash. Green carries the brand; red is kept for the actions that matter (calling, requesting
     a visit), so the pair reads as warm and clinical, never as a holiday card. Three palettes are defined;
     _build.py picks one with PALETTE. Every text colour is WCAG AA (most AAA) on its background. */
  --paper: #f8f1e6;
  --surface: rgba(255, 252, 246, .74);
  --surface-strong: rgba(255, 253, 249, .9);
  --band: rgba(255, 249, 238, .45);
  --ink: #17201b;
  --ink-soft: #3d4a42;
  --line: rgba(32, 58, 42, .18);
  --brand: #b1262c;                         /* logo heart red: actions only */
  --brand-deep: #8c1b21;
  --brand-tint: rgba(177, 38, 44, .09);
  --accent: #1d6a3e;                        /* logo evergreen: icons, links, labels */
  --accent-deep: #14502e;
  --accent-tint: rgba(29, 106, 62, .10);
  --evergreen: #12291e;                     /* footer */
  --dusk-1: #143223; --dusk-2: #1d3f2c; --dusk-3: #3b4a2b;   /* dark bands: call-to-action, phone menu */
  --shade: 14, 30, 22;                      /* photo overlays (r, g, b) */
  --on-dark: #fbf6ec;
  --on-dark-soft: #dfe3d6;
  --gold: #e3a04f; --map-core: #1d6a3e; --map-ext: #b87414;
  --ok: #1d6a3e;
  --sky-1: #fbe8d2; --sky-2: #f7e6d3; --sky-3: #f1e9d9; --sky-4: #e7ebdd; --sky-5: #e1e9df;
  --glow: rgba(255, 186, 112, .45);
  --hero-em: #ffd9a0;
  --font-display: "Newsreader", "Newsreader Fallback", "Iowan Old Style", Georgia, serif;
  --font-body: "Instrument Sans", "Instrument Sans Fallback", "Segoe UI", system-ui, sans-serif;
  --focus: #8c1b21;                         /* focus ring: 7:1+ on every light background */
  --radius: 10px;
  --max: 1200px;
  --header-h: 74px;
  --util-h: 0px;                            /* the small line of links above the desktop header */
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glass: blur(16px) saturate(1.2);
  --on-brand: #ffffff;
}
/* Palette B, "Linen & pine": quieter, almost neutral; green leads, the sunset is only a hint */
:root[data-palette="linen"] {
  --paper: #f7f5f0; --surface: rgba(255, 255, 252, .78); --surface-strong: rgba(255, 255, 253, .92); --band: rgba(240, 242, 235, .55);
  --ink: #1a1f1c; --ink-soft: #424b45; --line: rgba(30, 50, 40, .16);
  --brand: #a82a2a; --brand-deep: #861f20; --accent: #2b6a47; --accent-deep: #1d4f33;
  --evergreen: #1d2723; --dusk-1: #1f2a25; --dusk-2: #26352d; --dusk-3: #2f4034; --shade: 22, 30, 26;
  --sky-1: #f6f1e8; --sky-2: #f5f3ee; --sky-3: #f2f3ee; --sky-4: #eef1ec; --sky-5: #ebefea; --glow: rgba(255, 205, 150, .22);
}
/* Palette C, "Desert dusk": warmest; terracotta instead of pure red, olive-sage instead of pure green */
:root[data-palette="dusk"] {
  --paper: #f8ece0; --surface: rgba(255, 249, 241, .72); --surface-strong: rgba(255, 251, 245, .88); --band: rgba(255, 240, 226, .42);
  --ink: #221a15; --ink-soft: #4b3e35; --line: rgba(80, 50, 30, .18);
  --brand: #a8402c; --brand-deep: #873221; --brand-tint: rgba(168, 64, 44, .10); --accent: #4d6a33; --accent-deep: #3a5126; --accent-tint: rgba(77, 106, 51, .12);
  --evergreen: #24291d; --dusk-1: #2a2f22; --dusk-2: #3e3a26; --dusk-3: #6a3f2a; --shade: 36, 26, 18;
  --sky-1: #fbe1c8; --sky-2: #f8d9c4; --sky-3: #f2dccb; --sky-4: #ebe0cf; --sky-5: #e5e2d2; --glow: rgba(255, 160, 90, .5); --focus: #873221;
}
/* Dark mode (all palettes): deep forest night, the same two logo colours lifted for contrast */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1a14; --surface: rgba(24, 38, 30, .7); --surface-strong: rgba(24, 38, 30, .9); --band: rgba(220, 240, 220, .04);
    --ink: #f3f1e8; --ink-soft: #cfd6cb; --line: rgba(220, 235, 220, .16);
    --brand: #ff7b72; --brand-deep: #ffa69f; --brand-tint: rgba(255, 123, 114, .14);
    --accent: #8fd3a6; --accent-deep: #b4e6c4; --accent-tint: rgba(143, 211, 166, .12); --map-core: #31a160; --map-ext: #c07d20;
    --evergreen: #0a120d; --dusk-1: #0d1a12; --dusk-2: #13261a; --dusk-3: #22301c; --shade: 6, 14, 10;
    --on-dark: #fbf6ec; --on-dark-soft: #d5dccf; --gold: #f2bd74; --ok: #8fd3a6; --on-brand: #2a0a0c; --focus: #ffd39b;
    --sky-1: #17241b; --sky-2: #142119; --sky-3: #121e17; --sky-4: #101b15; --sky-5: #0e1812; --glow: rgba(255, 150, 80, .14);
    color-scheme: dark;
  }
}
@media (min-width: 1080px) { :root { --util-h: 34px; } }
:root[data-theme="dark"] {
  --paper: #0f1a14; --surface: rgba(24, 38, 30, .7); --surface-strong: rgba(24, 38, 30, .9); --band: rgba(220, 240, 220, .04);
  --ink: #f3f1e8; --ink-soft: #cfd6cb; --line: rgba(220, 235, 220, .16);
  --brand: #ff7b72; --brand-deep: #ffa69f; --brand-tint: rgba(255, 123, 114, .14);
  --accent: #8fd3a6; --accent-deep: #b4e6c4; --accent-tint: rgba(143, 211, 166, .12); --map-core: #31a160; --map-ext: #c07d20;
  --evergreen: #0a120d; --dusk-1: #0d1a12; --dusk-2: #13261a; --dusk-3: #22301c; --shade: 6, 14, 10;
  --on-dark: #fbf6ec; --on-dark-soft: #d5dccf; --gold: #f2bd74; --ok: #8fd3a6; --on-brand: #2a0a0c; --focus: #ffd39b;
  --sky-1: #17241b; --sky-2: #142119; --sky-3: #121e17; --sky-4: #101b15; --sky-5: #0e1812; --glow: rgba(255, 150, 80, .14);
  color-scheme: dark;
}

/* Wide-gamut colour: the same hues, a little more vivid, on Display P3 screens. Lightness is unchanged,
   so contrast stays the same as the sRGB colours above. */
@media (color-gamut: p3) {
  :root:not([data-palette]) { --brand: oklch(49.6% 0.19 24); --accent: oklch(45.5% 0.105 152); --hero-em: oklch(89.2% 0.09 75); }
}

@view-transition { navigation: auto; }
* { box-sizing: border-box; }
[id] { scroll-margin-top: calc(var(--header-h) + var(--util-h) + 24px); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--util-h) + 20px); }
html { background: var(--paper); }
body { margin: 0; background: transparent; color: var(--ink); font: 450 1.125rem/1.75 var(--font-body); letter-spacing: .005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; font-synthesis: none;
  font-kerning: normal; font-variant-ligatures: common-ligatures contextual; font-optical-sizing: auto; text-rendering: optimizeLegibility; }
@media (min-width: 760px) { body { font-size: 1.1875rem; } }
/* The sky: a fixed, layered sunset wash that every glass panel lets through */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 85% -5%, var(--glow), transparent 70%),
    radial-gradient(50vmax 35vmax at 0% 45%, color-mix(in srgb, var(--sky-3) 80%, transparent), transparent 70%),
    linear-gradient(172deg, var(--sky-1) 0%, var(--sky-2) 28%, var(--sky-3) 55%, var(--sky-4) 80%, var(--sky-5) 100%); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; margin: 0 0 .45em; font-optical-sizing: auto; hanging-punctuation: first; }
h1 { font-size: clamp(2.7rem, 7.6vw, 5.5rem); font-weight: 450; letter-spacing: -0.022em; }
h2 { font-size: clamp(2.05rem, 4.7vw, 3.5rem); font-weight: 450; letter-spacing: -0.018em; }
h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 550; }
h1 em, h2 em { font-style: italic; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.hero :focus-visible, .page-head :focus-visible, .cta :focus-visible, footer.site :focus-visible, .drawer :focus-visible,
.home header.site:not(.scrolled) :focus-visible { outline-color: #ffd39b; }
.nowrap { white-space: nowrap; }
a[href^="tel:"], .header-call strong { font-variant-numeric: lining-nums tabular-nums; }
picture { display: contents; }
[hidden] { display: none !important; }
::selection { background: var(--brand-tint); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 60; }
.label { display: flex; align-items: center; gap: 12px; font: 700 .86rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1.4em; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.lead { font-size: clamp(1.2rem, 2.3vw, 1.4rem); line-height: 1.6; color: var(--ink-soft); font-weight: 450; max-width: 38em; }
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-top: 1.6em; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 41; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s, color .35s; }
header.site .util { display: none; }
@media (min-width: 1080px) {
  header.site .util { display: block; font-size: .9rem; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
  header.site .util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: var(--util-h); }
  header.site .util span { opacity: .8; letter-spacing: .01em; }
  header.site .util ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
  header.site .util a { color: inherit; text-decoration: none; font-weight: 600; opacity: .88; }
  header.site .util a:hover { opacity: 1; text-decoration: underline; }
}
header.site > .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: inherit; text-decoration: none; }
/* The mark sits on a small frosted badge so it reads on photos, on the sunset and in dark mode alike */
.mark { position: relative; display: block; width: 48px; height: 52px; flex: none; border-radius: 14px; background: color-mix(in srgb, #fffdf8 92%, transparent);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px -10px rgba(var(--shade), .55); }
.mark img { position: absolute; left: 7px; top: 5px; width: 34px; height: 42px; }
.word { display: grid; line-height: 1.1; }
.word b { font: 560 1.3rem/1.05 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.word small { font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 4px; white-space: nowrap; }
/* Gentle draw-in on the home page: the hands rise, the roof settles, then the heart arrives */
@media (prefers-reduced-motion: no-preference) {
  .home header.site .mark .l-hands { animation: mark-rise .9s var(--ease) both; }
  .home header.site .mark .l-roof { animation: mark-roof .9s .25s var(--ease) both; }
  .home header.site .mark .l-heart { animation: mark-heart 1s .55s cubic-bezier(.3, 1.4, .5, 1) both; transform-origin: 50% 55%; }
  .logo:hover .l-heart { animation: mark-beat 1.2s ease-in-out; transform-origin: 50% 55%; }
}
@keyframes mark-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mark-roof { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes mark-heart { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes mark-beat { 0%, 100% { transform: none; } 30% { transform: scale(1.09); } 55% { transform: scale(.98); } }
.drawer .logo, footer.site .logo { color: var(--on-dark); }
nav.main { display: none; }
.header-call { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 4px; text-decoration: none; color: inherit; }
.header-call small { display: none; }
.header-call strong { font: 600 .98rem var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.inner .header-call strong, .home header.site.scrolled .header-call strong { color: var(--brand-deep); }
.header-call + .menu-btn { margin-left: 14px; }
@media (max-width: 599px) {
  header.site > .wrap { gap: 10px; }
  header.site .word small { display: none; } header.site .word b { font-size: 1.08rem; }
  .header-call { padding: 0; } .header-call strong { font-size: .88rem; }
  .header-call + .menu-btn { margin-left: 8px; font-size: 0; gap: 0; }
}
@media (max-width: 379px) { header.site .word b { font-size: 1rem; } .header-call strong { font-size: .8rem; } }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; font: 600 .95rem var(--font-body); letter-spacing: .04em; cursor: pointer; color: inherit; }
.menu-btn .bars { width: 22px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars span { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars span { top: 5px; } .menu-btn .bars::after { bottom: 0; }
@media (min-width: 1080px) {
  .mark { width: 54px; height: 58px; } .mark img { left: 8px; top: 6px; width: 38px; height: 46px; }
  .word b { font-size: 1.45rem; }
}
/* Desktop navigation bar (PR #22 item 9b). This block was accidentally nested in the 1080-1299px query, so wide
   screens showed only the Menu button and no phone number. */
@media (min-width: 1080px) and (max-width: 1299px) {
  .word small { display: none; } .word b { font-size: 1.25rem; } nav.main a { font-size: .95rem; }
  .header-call { padding-left: 16px; } .header-call small { font-size: .7rem; }
}
@media (min-width: 1080px) {
  nav.main { display: block; margin-left: auto; }
  nav.main ul { list-style: none; display: flex; gap: 4px clamp(14px, 1.6vw, 26px); margin: 0; padding: 0; }
  nav.main a { white-space: nowrap; color: inherit; text-decoration: none; font-size: 1rem; font-weight: 600; padding: 6px 0; position: relative; }
  nav.main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleX(1); }
  .header-call { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; text-decoration: none; color: inherit; padding-left: 24px; border-left: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
  .header-call { margin-left: 0; }
  .header-call small { display: block; white-space: nowrap; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  .header-call strong { font: 500 1.2rem var(--font-body); font-variant-numeric: tabular-nums; }
  .menu-btn { display: none; }
}
/* Home: header floats over the photo until you scroll */
.home header.site { position: fixed; left: 0; right: 0; color: #fff; background: linear-gradient(180deg, rgba(10,14,13,.45), rgba(10,14,13,0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home header.site.scrolled { color: var(--ink); background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.home header.site.scrolled .header-call strong { color: var(--brand-deep); }
.inner .header-call strong { color: var(--brand-deep); }
header.site.scrolled { box-shadow: 0 10px 30px -24px rgba(0,0,0,.45); }

/* ---------- drawer (phone menu) ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; background: linear-gradient(170deg, var(--dusk-1) 0%, var(--dusk-2) 55%, var(--dusk-3) 100%); color: var(--on-dark); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 28px) var(--gutter-l);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.drawer.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-close { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: var(--on-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.drawer nav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.drawer nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; color: var(--on-dark); font: 500 1.9rem/1.15 var(--font-display); }
.drawer-quick { display: grid; gap: 10px; margin-bottom: 28px; }
.drawer-quick a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; color: var(--on-dark); font-weight: 600; }
.drawer-quick a.primary { background: var(--brand); border: 0; border-radius: var(--radius); padding: 18px 20px; font-size: 1.15rem; color: var(--on-brand); }
.drawer-quick small { font-weight: 400; opacity: .8; font-size: .92rem; }
.drawer .social a { border-color: rgba(255,255,255,.3); color: var(--on-dark); background: none; }
body.menu-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border-radius: var(--radius); font: 600 1.02rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-deep); color: var(--on-brand); }
.btn-quiet { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: #16201d; }
.btn-light:hover { background: var(--gold); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: #16201d; }
.btn .icon { width: 19px; height: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .actions .btn { flex: 1 1 100%; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #1a1c18; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-media .scene { opacity: 0; transition: opacity 2s ease; }
.hero-media .scene.on { opacity: 1; animation: drift 10s ease-out forwards; }
.hero-media .scene.on.alt { animation-name: drift-alt; }
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.13) translate(-1.2%, .8%); } }
@keyframes drift-alt { from { transform: scale(1.13) translate(1.2%, -.8%); } to { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .hero-media .scene.on { animation: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 85% 10%, rgba(255, 170, 80, .22), transparent 70%),
              linear-gradient(180deg, rgba(var(--shade), .30) 0%, rgba(var(--shade), .10) 35%, rgba(var(--shade), .82) 100%),
              linear-gradient(90deg, rgba(var(--shade), .58) 0%, rgba(var(--shade), 0) 65%); }
/* Front-page logo presence (PR #22 item 7): the emblem as a soft, light watermark that slowly breathes. Desktop only,
   so it never sits behind the text on a phone. Still when the visitor prefers reduced motion. */
.hero-mark { display: none; }
@media (min-width: 1000px) {
  .hero-mark { display: block; position: absolute; z-index: 0; pointer-events: none; top: 52%; right: max(4vw, calc((100vw - 1240px) / 2));
    width: clamp(260px, 26vw, 400px); aspect-ratio: 1 / 1; transform: translateY(-50%);
    height: auto; opacity: .15; filter: brightness(0) invert(1); }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: mark-breathe 9s ease-in-out infinite alternate; }
}
@keyframes mark-breathe { from { opacity: .11; transform: translateY(-50%) scale(.985); } to { opacity: .19; transform: translateY(-50%) scale(1.015); } }

/* Mid-page animated emblem (home, empathy section). Inlined SVG; the entrance plays when
   the scroll-reveal observer adds .in, then the heart keeps a quiet double-thump forever.
   No JS, reduced motion, or already-on-screen: the finished emblem simply shows, still. */
.emblem-live { display: block; width: clamp(150px, 19vw, 215px); height: auto; margin: 0 auto 30px; overflow: visible; }
/* "armed" is added only by JS (and only outside reduced motion): until the entrance is
   triggered the emblem waits invisibly; without JS it simply shows, finished and still. */
.emblem-live.armed:not(.go) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .emblem-live.go .l-hands { animation: oc-hands 900ms cubic-bezier(.22,.61,.36,1) 100ms both; transform-origin: 500px 760px; }
  .emblem-live.go .l-roof  { animation: oc-roof 900ms cubic-bezier(.22,.61,.36,1) 300ms both; }
  .emblem-live.go .l-heart { animation: oc-heart 850ms cubic-bezier(.22,.61,.36,1) 650ms both,
                                        oc-beat 900ms ease-in-out 1750ms 1 both;
                             transform-origin: 500px 430px; transform-box: view-box; }
  .emblem-live.go .oc-wipe-arc { stroke-dashoffset: 2261.9; animation: oc-draw 1000ms cubic-bezier(.4,0,.2,1) 1000ms both; }
}
@keyframes oc-hands { from { opacity: 0; transform: translateY(110px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes oc-roof  { from { opacity: 0; transform: translateY(-150px); } to { opacity: 1; transform: none; } }
@keyframes oc-heart { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes oc-beat  { 0%, 100% { } 50% { transform: scale(1.04); } }
/* A living heartbeat with real cardiac timing: S1 (lub), softer S2 (dub) a third of a
   cycle later, then diastole. One cycle every 1.2s — a calm resting rhythm. */
@keyframes oc-beat-loop { 0%, 32%, 100% { transform: scale(1); } 8% { transform: scale(1.055); } 16% { transform: scale(1); } 24% { transform: scale(1.032); } }
@keyframes oc-draw  { to { stroke-dashoffset: 0; } }

/* Landing spot for the language chips (About #languages) until the per-language pages
   (issue #32) exist: clear the sticky header and flash so the visitor sees where they landed. */
#languages { scroll-margin-top: calc(var(--header-h, 72px) + 32px); border-radius: 8px; }
#languages:target { animation: target-flash 2.6s ease-out 1; }
@keyframes target-flash { 0% { background: rgba(23, 98, 55, .18); box-shadow: 0 0 0 8px rgba(23, 98, 55, .18); }
                          100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--header-h) + var(--util-h) + 64px) clamp(48px, 8vh, 96px); }
.hero h1 { color: #fff; max-width: 12em; margin-bottom: .35em; }
.hero h1 em { color: var(--hero-em, #ffd39b); font-weight: 450; }
.hero .label { color: rgba(255,255,255,.85); }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 34px; max-width: 34em; }
.reassure { margin: 18px 0 0; font-size: 1rem; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.75); }
.scene-ui { position: absolute; right: var(--gutter-r); bottom: clamp(48px, 8vh, 96px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 1; }
.scene-caption { margin: 0; max-width: 16em; font: italic 450 clamp(1.1rem, 1.8vw, 1.4rem)/1.35 var(--font-display); color: #fff; text-align: right; text-shadow: 0 1px 14px rgba(0,0,0,.45); transition: opacity .7s; }
.scene-caption.fade { opacity: 0; }
.scene-dots { display: flex; gap: 8px; align-items: center; }
.scene-dots span { width: 22px; height: 2px; background: rgba(255,255,255,.4); transition: background .4s, width .4s; }
.scene-dots span.on { background: #fff; width: 40px; }
.scene-toggle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.18); color: #fff; cursor: pointer; }
.scene-toggle .icon { width: 16px; height: 16px; }
@media (max-width: 1099px) { .scene-ui { display: none; } }

/* ---------- intro band under the hero ---------- */
.intro-band { background: var(--surface); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }
.intro-band .wrap { display: grid; gap: 28px; padding-block: 32px; align-items: center; }
@media (min-width: 1000px) { .intro-band .wrap { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); gap: 40px; } }
.credline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
@media (min-width: 760px) { .credline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.credline li { border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.35; }
.credline b { display: block; font: 550 1.25rem/1.25 var(--font-display); margin-bottom: 4px; }
.credline li > span { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 759px) { .credline b { font-size: 1.12rem; } }

.zip-check { color: var(--ink); }
.zip-check label { display: block; font-size: .84rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.zip-row { display: flex; border-bottom: 1px solid var(--ink); }
.zip-row input { flex: 1; min-width: 0; min-height: 52px; font: 450 1.55rem var(--font-display); padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); letter-spacing: .06em; box-shadow: none; }
.zip-row input:focus { outline: none; box-shadow: none; }
.zip-row:focus-within { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.zip-row button { min-height: 52px; padding: 0 4px 0 16px; border: 0; background: none; color: var(--accent-deep); font-weight: 600; cursor: pointer; }
.zip-result { margin: 12px 0 0; font-size: .95rem; min-height: 1.5em; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 144px); }
.section.band { background: var(--band); border-block: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.section-head { max-width: 46em; margin-bottom: clamp(36px, 5vw, 64px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); }
  .split.wide-left { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .split.center { align-items: center; }
}

/* Swipe rail on phones, grid on larger screens */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(80%, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 18px; margin: 0 -2px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 0 40px; } }
@media (min-width: 1000px) { .rail.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; } }
.rail-hint { font-size: .95rem; color: var(--ink-soft); margin: 0 0 10px; letter-spacing: .04em; }
@media (min-width: 700px) { .rail-hint { display: none; } }

/* Cards become editorial entries: a top rule, no box */
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px 0 30px; border-top: 1px solid var(--ink); min-width: 0; }
@media (max-width: 699px) { .rail .card { background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 24px 22px; border-radius: 0 0 var(--radius) var(--radius); } }
.card h3 { margin: 0; font-size: 1.6rem; font-weight: 550; }
.card p { margin: 0; color: var(--ink-soft); }
.card .ico { color: var(--accent); margin-bottom: 4px; }
.card .ico svg { width: 28px; height: 28px; stroke-width: 1.4; }
a.card { text-decoration: none; color: var(--ink); transition: border-color .3s; }
a.card:hover { border-top-color: var(--accent); }
a.card:hover h3 { color: var(--accent-deep); }
a.card .go { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }

.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--band); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(180deg, transparent, rgba(10,14,13,.75)); color: #fff; font: italic 300 1.15rem/1.4 var(--font-display); }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 450 2.1rem/1 var(--font-display); color: var(--accent); }
.steps h3 { margin-bottom: .25em; font-size: 1.35rem; }
.steps p { color: var(--ink-soft); margin: 0; }

.panel { background: var(--surface-strong); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(var(--shade), .45); padding: clamp(22px, 4vw, 34px); }
.panel h3 { margin-top: 0; font-size: 1.5rem; }
.cost-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cost-row:last-of-type { border-bottom: 0; }
.cost-row b { font: 400 1.4rem var(--font-display); white-space: nowrap; color: var(--ok); font-variant-numeric: tabular-nums; }

.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
.areas a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 58px; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 550 1.3rem/1.2 var(--font-display); }
.areas a span { color: var(--ink-soft); font: 500 .92rem var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.areas a:hover { color: var(--accent-deep); }

/* Video */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame img, .video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.45)); border: 0; cursor: pointer; color: #fff; }
.video-play span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(0,0,0,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }

.review { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px 0; border-top: 1px solid var(--ink); }
.review .stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { margin: 0; font: italic 450 1.45rem/1.45 var(--font-display); }
.review figcaption { color: var(--ink-soft); font-size: 1rem; }

/* ---------- inner page header ---------- */
.page-head { position: relative; isolation: isolate; color: #fff; background: #1a1c18; overflow: hidden; }
.page-head img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 45%; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 90% 0%, rgba(255, 150, 70, .25), transparent 70%), linear-gradient(90deg, rgba(var(--shade), .86) 0%, rgba(var(--shade), .52) 70%, rgba(var(--shade), .3) 100%); }
.page-head .wrap { padding-block: 28px clamp(56px, 9vw, 112px); }
.page-head h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); max-width: 14em; text-shadow: 0 2px 24px rgba(var(--shade), .35); }
.page-head .label { color: rgba(255,255,255,.8); }
.page-head .lead { color: rgba(255,255,255,.85); margin-bottom: 0; }
.crumbs { font-size: .95rem; letter-spacing: .02em; margin-bottom: clamp(36px, 6vw, 72px); color: rgba(255,255,255,.7); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.aside-stack { display: grid; gap: 20px; }
@media (min-width: 900px) { .aside-stack { position: sticky; top: calc(var(--header-h) + var(--util-h) + 28px); } }
.note { border-left: 2px solid var(--accent); padding: 6px 0 6px 22px; margin: 1.8em 0; font: italic 450 1.3rem/1.5 var(--font-display); color: var(--ink); }
.note p:last-child { margin: 0; }
.table-scroll { overflow-x: auto; margin: 1.2em 0 1.8em; border-top: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
th { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.toc { display: flex; gap: 6px 22px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.toc a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.toc a:hover { color: var(--accent-deep); }

details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-of-type { border-top: 1px solid var(--line); }
details.faq summary { cursor: pointer; font: 550 1.4rem/1.3 var(--font-display); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding-block: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); flex: none; margin-right: 6px; transition: transform .3s var(--ease); }
details.faq[open] summary::after { transform: rotate(225deg); }
details.faq p { margin: 0 0 22px; color: var(--ink-soft); max-width: 40em; }

form .field { display: grid; gap: 8px; margin-bottom: 20px; }
label { font-weight: 650; font-size: 1rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1.1rem; min-height: 54px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: var(--surface-strong); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.form-note { font-size: .98rem; color: var(--ink-soft); }
.reviewed { font-size: .92rem; color: var(--ink-soft); margin: 0 0 1.4em; letter-spacing: .01em; }
.reviewed a { color: inherit; }
.contact-options { display: grid; gap: 0 40px; }
@media (min-width: 380px) and (max-width: 639.9px) { .contact-options { grid-template-columns: 1fr 1fr; gap: 0 22px; } }
@media (min-width: 640px) { .contact-options { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-options { grid-template-columns: repeat(4, 1fr); } }

/* ---------- social ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }


/* ---------- CTA + footer ---------- */
.cta { background: linear-gradient(115deg, var(--dusk-1) 0%, var(--dusk-2) 55%, var(--dusk-3) 100%); color: var(--on-dark); padding-block: clamp(72px, 10vw, 128px); }
footer.site { background: var(--evergreen); color: var(--on-dark-soft); border-top: 1px solid rgba(255,255,255,.12); padding-block: 56px calc(120px + env(safe-area-inset-bottom, 0px)); font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; margin-bottom: 40px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-slogan { margin-top: 18px; font-family: var(--font-display, inherit); font-style: italic; font-size: 1.1rem; color: var(--on-dark); }
.foot-grid h3 { font: 700 .84rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.foot-grid p a, .foot-grid ul a { color: var(--on-dark-soft); text-decoration: none; }
.foot-grid a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot-grid ul a { display: inline-block; padding-block: 4px; }
.fine { border-top: 1px solid rgba(255,255,255,.16); padding-top: 22px; font-size: .95rem; line-height: 1.7; }
.fine a { color: var(--on-dark-soft); }
@media (min-width: 760px) { footer.site { padding-bottom: 40px; } }

/* Phone action bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
.callbar.hide { transform: translateY(110%); }
.callbar .btn { min-height: 50px; padding: 10px 12px; font-size: 1rem; }
@media (min-width: 760px) { .callbar { display: none; } }

/* ---------- trust sections ---------- */
.section.empathy { background: linear-gradient(180deg, rgba(255,255,255,0), var(--band) 50%, rgba(255,255,255,0)); padding-block: clamp(80px, 12vw, 160px); }
.empathy-text { font: 450 clamp(1.65rem, 3.6vw, 2.6rem)/1.38 var(--font-display); letter-spacing: -0.01em; hanging-punctuation: first; max-width: 28em; margin: 0; color: var(--ink); }
.empathy-text em { color: var(--accent-deep); font-style: italic; }
.promises { list-style: none; counter-reset: pr; padding: 0; margin: 0; display: grid; gap: 0 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.promises li { counter-increment: pr; padding: 26px 0 30px; border-top: 1px solid var(--ink); color: var(--ink-soft); display: grid; gap: 8px; align-content: start; }
.promises li::before { content: counter(pr, decimal-leading-zero); font: 600 1.15rem var(--font-display); color: var(--accent); }
.promises b { display: block; color: var(--ink); font: 550 1.6rem/1.2 var(--font-display); }
.verify { display: grid; }
.member { margin: 0; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.member figcaption { padding: 18px 0 0; display: grid; gap: 2px; }
.member b { font: 550 1.4rem var(--font-display); }
.member span { color: var(--ink-soft); font-size: 1rem; }
.member q { margin-top: 10px; color: var(--ink-soft); font: italic 450 1.15rem/1.45 var(--font-display); }

/* Medicare data */
.stats { display: grid; gap: 28px; margin: 28px 0 16px; }
.stat { padding-top: 20px; border-top: 1px solid var(--ink); }
.stat-label { font-weight: 700; margin: 0 0 14px; font-size: 1.05rem; }
.stat-label span { font-weight: 400; color: var(--ink-soft); }
.bar-row { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr) 3.4em; gap: 14px; align-items: center; margin-bottom: 10px; font-size: 1rem; }
.bar-label { color: var(--ink-soft); }
.bar-track { height: 10px; border-radius: 99px; overflow: hidden; position: relative;
  background: color-mix(in srgb, currentColor 7%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.bar-track::after { content: ""; position: absolute; right: 0; top: -3px; bottom: -3px; width: 2px;
  background: color-mix(in srgb, currentColor 35%, transparent); border-radius: 1px; }
.bar-track span { display: block; height: 100%; background: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.bar-row.ours .bar-label { color: var(--ink); font-weight: 600; }
.bar-row.ours .bar-track { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.bar-row.ours .bar-track span { background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 55%, transparent); }
.bar-row b { text-align: right; font: 600 1.2rem var(--font-display); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .bar-row { grid-template-columns: minmax(0, 1fr) 3.4em; } .bar-track { grid-column: 1 / -1; order: 3; } }
.facts { display: grid; gap: 0 32px; grid-template-columns: minmax(0, 1fr); margin: 20px 0 28px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { padding: 20px 0; border-top: 1px solid var(--ink); }
.fact b { display: block; font: 500 3.1rem/1 var(--font-display); color: var(--accent-deep); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.fact span { color: var(--ink-soft); font-size: 1rem; }

/* Credentials list (About) */
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: .98rem; }
.creds li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.creds .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.creds b { display: block; }
.creds span { color: var(--ink-soft); }

/* Glossary */
dl.glossary { margin: 0 0 8px; }
dl.glossary dt { font: 600 1.4rem/1.3 var(--font-display); margin-top: 22px; scroll-margin-top: calc(var(--header-h) + var(--util-h) + 20px); }
dl.glossary dd { margin: 6px 0 0; color: var(--ink-soft); }

/* Gentle entrance for sections (added by site.js; content is visible without it) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- issue #12 redesign blocks ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* "Larger text" toggle (util bar, every page). The whole site is rem-based, so bumping
   the root size scales text everywhere; the choice persists per device (localStorage). */
html.bigtext { font-size: 115%; }
.bigtext-btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; background: none;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; padding: 3px 12px;
  color: inherit; font: inherit; letter-spacing: 0; opacity: .85; }
.bigtext-btn:hover, .bigtext-btn:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.bigtext-btn .big-icon { font-weight: 700; font-size: 1em; line-height: 1; }
.bigtext-btn .big-label { font-weight: 600; font-size: .82em; }
.bigtext-btn[aria-pressed="true"] { border-color: currentColor; opacity: 1; }
.bigtext-btn[aria-pressed="true"] .big-label { text-decoration: underline; text-underline-offset: 3px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-accent, :root:not([data-theme="light"]) .btn-accent:hover { color: #0b1a10; } }
.zip-check label span { display: block; font-size: .95rem; font-weight: 500; letter-spacing: 0; text-transform: none; margin-top: 2px; }
.zip-note { margin: 6px 0 0; font-size: .85rem; color: var(--ink-soft); }
.zip-result b { color: var(--ink); }
.zip-result.t1 b, .zip-result.t2 b { color: var(--ok); }
.zip-call { font-weight: 700; color: var(--brand-deep); white-space: nowrap; }

/* Trust seals under the hero: official-looking, but warm */
.trust { background: var(--surface-strong); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }
.trust .wrap { display: grid; gap: 30px; padding-block: 36px; align-items: center; }
@media (min-width: 1080px) { .trust .wrap { grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr); gap: 44px; } }
.seals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
@media (min-width: 760px) { .seals { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.seal { display: grid; justify-items: center; text-align: center; gap: 4px; line-height: 1.3; }
.seal-ring { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: var(--accent); margin-bottom: 6px;
  background: radial-gradient(circle, var(--accent-tint) 0 58%, transparent 59%); border: 1.5px solid var(--accent); box-shadow: 0 0 0 4px var(--surface-strong), 0 0 0 5px color-mix(in srgb, var(--accent) 40%, transparent); }
.seal-ring .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.seal b { font: 600 1.08rem/1.25 var(--font-display); }
.seal > span:last-child { font-size: .86rem; color: var(--ink-soft); }
.seal:first-child .seal-ring { color: var(--brand); border-color: var(--brand); background: radial-gradient(circle, var(--brand-tint) 0 58%, transparent 59%); box-shadow: 0 0 0 4px var(--surface-strong), 0 0 0 5px color-mix(in srgb, var(--brand) 40%, transparent); }

/* Languages strip */
.langs { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.langs .wrap { padding-block: 44px; display: grid; gap: 24px 48px; align-items: center; }
@media (min-width: 900px) { .langs .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.langs .label { margin-bottom: 10px; }
.langs h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.lang-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.lang-list a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 16px; border-radius: 14px; background: var(--surface-strong); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lang-list a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 50, 35, .08); }
.lang-list b { font: 500 1.2rem/1.2 var(--font-display), system-ui; color: var(--accent-deep); }
.lang-list span { font-size: .85rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .lang-list a, .lang-list a:hover { transition: none; transform: none; } }
.lang-note { margin: 0; font-size: 1rem; color: var(--ink-soft); max-width: 40em; }

/* What makes us different: photo beside a two-by-two list */
.diff-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .diff-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 96px); } }
.diff-list { display: grid; gap: 4px 36px; margin-top: 28px; }
@media (min-width: 640px) { .diff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.diff-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.diff-list h3 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; margin-bottom: .35em; }
.diff-list h3 .icon { color: var(--accent); width: 24px; height: 24px; }
.diff-list p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

/* Promises: a dark evergreen band, big numerals */
.section.pledge { background: linear-gradient(160deg, var(--dusk-1), var(--dusk-2)); color: var(--on-dark); }
.pledge .label, .pledge h2 { color: var(--on-dark); }
.pledge .promises li { border-top-color: rgba(255,255,255,.22); color: var(--on-dark-soft); }
.pledge .promises li::before { font: 450 2.6rem/1 var(--font-display); color: var(--gold); }
.pledge .promises b { color: var(--on-dark); font-size: 1.45rem; }
.pledge :focus-visible { outline-color: #ffd39b; }

/* What hospice includes (PR #22 item 6): the full service list on the photo, over a dark overlay that keeps AA contrast */
.svc-panel { position: relative; isolation: isolate; border-radius: var(--radius); overflow: hidden; background: var(--evergreen); }
.svc-photo, .svc-photo picture { position: absolute; inset: 0; z-index: -2; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(var(--shade), .72), rgba(var(--shade), .86)); }
.svc-body { padding: clamp(24px, 4vw, 52px); color: var(--on-dark); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-list li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid rgba(251, 246, 236, .28); }
.svc-list .ico { color: var(--hero-em); } .svc-list .ico svg { width: 28px; height: 28px; stroke-width: 1.5; }
.svc-list h3 { margin: 0; color: var(--on-dark); font-size: 1.3rem; }
.svc-list p { margin: 0; color: var(--on-dark-soft); font-size: 1.05rem; line-height: 1.6; }
.svc-also { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(251, 246, 236, .28); color: var(--on-dark); font-size: 1.05rem; line-height: 1.6; max-width: 62em; }
/* Help before admission (PR #22 item 8) */
.prep-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
@media (min-width: 800px) { .prep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.tile .ico { color: var(--accent); } .tile .ico svg { width: 28px; height: 28px; stroke-width: 1.5; }
.tile h3 { margin: 0; font-size: 1.28rem; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

/* Signs: read-only list */
.signs { list-style: none; margin: 0; padding: 0; display: grid; }
.signs li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; line-height: 1.45; }
.signs li:first-child { border-top: 1px solid var(--line); }
.signs .icon { color: var(--accent); margin-top: 2px; }

/* Myth vs fact: a two-column ledger, no buttons */
.myths { display: grid; border-top: 1px solid var(--ink); }
.myths > div { display: grid; gap: 6px 48px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .myths > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: baseline; } }
.myths p { margin: 0; }
.myths .m { font: 500 1.4rem/1.3 var(--font-display); color: var(--ink-soft); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--brand) 60%, transparent); text-decoration-thickness: 1.5px; }
.myths .f { color: var(--ink); }
.myths .tag { display: block; text-decoration: none; font: 700 .76rem/1.6 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }
.myths .m .tag { color: var(--brand-deep); display: inline-block; margin-right: 12px; }
.myths .f .tag { color: var(--accent-deep); }

/* Guides: a numbered index */
.guide-index { list-style: none; counter-reset: g; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.guide-index li { counter-increment: g; border-bottom: 1px solid var(--line); }
.guide-index a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 18px; padding: 22px 0; color: var(--ink); text-decoration: none; }
.guide-index a::before { content: counter(g, decimal-leading-zero); grid-row: span 2; font: 450 1.9rem/1 var(--font-display); color: var(--accent); }
.guide-index b { font: 550 1.45rem/1.25 var(--font-display); }
.guide-index span { color: var(--ink-soft); }
.guide-index a:hover b { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 5px; }

/* Reach-out box (every page) */
.reach { position: relative; background: var(--surface-strong); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(var(--shade), .5); padding: clamp(22px, 4vw, 32px); }
.reach-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.reach-mark { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); }
.reach-mark img { width: 26px; height: auto; }
.reach-title { margin: 0; font-size: 1.45rem; line-height: 1.2; }
.reach-sub { color: var(--ink-soft); font-size: 1rem; margin-bottom: 16px; }
.reach-call { width: 100%; margin-bottom: 18px; }
.reach label { display: block; font-size: .98rem; margin-bottom: 8px; }
.reach-row { display: grid; gap: 10px; }
.reach-row .btn { min-height: 52px; }
.reach-note, .reach-error { font-size: .88rem; color: var(--ink-soft); margin: 8px 0 0; }
.reach-error { color: var(--brand-deep); font-weight: 600; }
.reach input[aria-invalid="true"] { border-color: var(--brand); }
.form-error { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
.contact-form [aria-invalid="true"] { border-color: var(--brand); }
.reach-thanks, .reach-done { font-size: 1.02rem; margin: 0 0 14px; }
.reach-thanks:focus, .reach-done:focus { outline: none; }
.reach .field { margin-bottom: 14px; }
.reach textarea { min-height: 90px; }
.cta .reach.wide { max-width: 980px; margin: 0 auto; color: var(--ink); }
@media (min-width: 900px) {
  .reach.wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 48px; align-items: start; }
  .reach.wide .reach-head, .reach.wide .reach-sub { grid-column: 1; }
  .reach.wide .reach-call { grid-column: 1; grid-row: 3; }
  .reach.wide .reach-form, .reach.wide .reach-more, .reach.wide .reach-done { grid-column: 2; grid-row: 1 / span 3; }
  .reach.wide .reach-title { font-size: 1.9rem; }
  .reach.wide .reach-row { grid-template-columns: minmax(0, 1fr) auto; }
}

/* About: two perspectives side by side */
.two-views { display: grid; gap: 8px 40px; margin: 28px 0 8px; }
@media (min-width: 760px) { .two-views { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.view { border-top: 2px solid var(--accent); padding-top: 18px; }
.view:last-child { border-top-color: var(--brand); }
.view .label { margin-bottom: .6em; } .view .label::before { display: none; } .view .label .icon { color: var(--accent); }
.view:last-child .label .icon { color: var(--brand); }
.view h2 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2rem); }

/* Careers: an invitation, then two paths */
.invite { max-width: 46em; margin-bottom: clamp(36px, 5vw, 64px); }
.invite-q { font: 450 clamp(1.4rem, 2.8vw, 2rem)/1.3 var(--font-display); margin: 0 0 .5em; }
.invite-q:nth-child(2) { color: var(--accent-deep); } .invite-q:nth-child(3) { color: var(--brand-deep); }
.paths { display: grid; gap: 28px; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.path-card { background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.path-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.path-card figure img { width: 100%; height: 100%; object-fit: cover; }
.path-body { padding: clamp(22px, 4vw, 34px); display: flex; flex-direction: column; gap: 4px; }
.path-body ul { padding-left: 1.1em; margin: 0 0 1em; } .path-body li { margin-bottom: .55em; } .path-body li::marker { color: var(--accent); }
.path-body .btn { align-self: flex-start; margin-top: auto; }

/* Areas: extended region list */
.ext { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0 32px; }
@media (min-width: 640px) { .ext { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ext li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; }
.ext b { font: 550 1.25rem/1.25 var(--font-display); } .ext span { color: var(--ink-soft); font-size: 1rem; }

/* Eligibility: official links and the warm hand-off */
.prose .ext-links { list-style: none; padding: 0; }
.ext-links li { display: grid; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ext-links a { font-weight: 650; } .ext-links li > span { color: var(--ink-soft); font-size: 1rem; }
.handoff { margin-top: 2.4em; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.handoff h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose .signs { padding: 0; } .prose .signs li { margin: 0; }

/* Conditions index: icon tiles, full width */
.cond-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.cond-grid a { height: 100%; display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--surface-strong); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.cond-grid a:hover { border-color: var(--accent); transform: translateY(-2px); }
.cond-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); }
.cond-ico svg { width: 28px; height: 28px; stroke-width: 1.5; }
.cond-grid b { font: 550 1.45rem/1.2 var(--font-display); }
.cond-grid span { color: var(--ink-soft); font-size: 1rem; }
.cond-grid .go { color: var(--accent-deep); font-weight: 650; margin-top: 6px; }

/* Condition pages: findings and sources */
.prose .evidence { list-style: none; padding: 0; }
.evidence li { padding: 14px 0 14px 18px; border-left: 2px solid var(--accent); margin-bottom: 12px; background: linear-gradient(90deg, var(--accent-tint), transparent 70%); }
.cite { font-size: .85em; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sources-title { font: 700 .86rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1.6em; }
.sources { font-size: .92rem; color: var(--ink-soft); padding-left: 1.4em; }
.sources li { margin-bottom: .6em; } .sources li:target { background: var(--accent-tint); }

/* News */
.news-meta { font-size: .95rem; color: var(--ink-soft); }
.news-list { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--ink); }
.news-list a { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.news-list time { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-deep); }
.news-list b { font: 550 1.45rem/1.25 var(--font-display); } .news-list span { color: var(--ink-soft); }
.news-list a:hover b { color: var(--accent-deep); text-decoration: underline; }

/* Listen to this page (issue #19) */
.listen { background: var(--surface-strong); border-bottom: 1px solid var(--line); }
.listen .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 14px; }
.listen-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.listen-label .icon { width: 16px; height: 16px; color: var(--accent); }
.listen-label small { font-weight: 500; color: var(--ink-soft); font-size: .9rem; }
.listen audio { flex: 1 1 280px; max-width: 520px; height: 44px; }

@media print { header.site, .callbar, .drawer, .cta, .scene-ui { display: none; } }


/* PM review fixes 2026-11-17 */
a[href^="tel:"] { white-space: nowrap; }                      /* phone numbers never break across lines */

.social a, .foot-grid ul.social a { display: inline-flex; align-items: center; width: auto; height: auto; padding: 10px 18px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; color: inherit;
  opacity: .85; text-decoration: none; line-height: 1; }
.social a:hover, .social a:focus-visible { opacity: 1; color: var(--gold); }
.social a svg { width: 17px; height: 17px; flex: none; display: block; }
.social a span { font-size: .88rem; letter-spacing: .03em; white-space: nowrap; margin-left: 10px; display: block; }
.fine-sub { opacity: .55; font-size: .8em; margin-top: 6px; }  /* credits line no longer blends with legal links */
/* Document-style legal pages: tighter type, two-column lists, less scrolling */
.legal-doc { font-size: .93rem; line-height: 1.5; }
.legal-doc h2 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-doc ul { margin: 8px 0; }
.legal-doc li { margin: 4px 0; }
@media (min-width: 900px) {
  .legal-doc .cols2 { columns: 2; column-gap: 44px; }
  .legal-doc .cols2 li { break-inside: avoid; }
}


/* Three-tier header (PM 2026-11-17): tagline+Menu+AA / language line / main nav.
   The language line shows on EVERY width — native names on desktop, abbreviations on phones. */
header.site .util { display: block; font-size: .9rem; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.util-top { display: none; }
.util-langs { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 13px;
  padding: 6px 0 7px; font-size: .82rem; letter-spacing: .05em; }
.util-langs svg { width: 15px; height: 15px; opacity: .75; margin-right: -4px; }
.util-langs a { font-weight: 600; opacity: .85; position: relative; }
.util-langs a:hover, .util-langs a:focus-visible { opacity: 1; }
.util-langs a + a::before { content: "\00b7"; position: absolute; left: -8px; opacity: .45; pointer-events: none; }
.util-langs .l-full { display: none; }
@media (min-width: 1080px) {
  :root { --util-h: 64px; }
  .util-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 33px; padding-top: 3px;
    border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
  .util-top span { max-width: 64ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .util-top > ul { align-items: center; }
  .util-langs { justify-content: flex-end; font-size: .9rem; letter-spacing: .03em; gap: 0 20px; padding: 2px 0 7px; }
  .util-langs a + a::before { left: -11px; }
  .util-langs .l-full { display: inline; }
  .util-langs .l-abbr { display: none; }
}
@media (max-width: 1079.9px) { :root { --util-h: 29px; } }
/* The "Menu" dropdown holding physicians/careers links */
.util-menu { position: relative; }
.util-menu summary { list-style: none; cursor: pointer; font-weight: 600; opacity: .88; }
.util-menu summary::-webkit-details-marker { display: none; }
.util-menu summary::after { content: " \25be"; font-size: .8em; opacity: .7; }
.util-menu summary:hover, .util-menu[open] summary { opacity: 1; }
.util-menu > ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; min-width: 240px;
  list-style: none; display: block; background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); z-index: 60; }
.util-menu > ul a { display: block; padding: 9px 12px; border-radius: 7px; font-weight: 600; color: inherit; text-decoration: none; }
.util-menu > ul a:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* Call-panel heading in the brand red, softened to sit on the dark panel (PM 2026-11-17). */
.panel .call-h { color: color-mix(in srgb, var(--brand) 62%, #f4b8a6); }

/* Footer language row: spaced links instead of a crammed dotted run-on (PM 2026-11-17). */
.lang-foot { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.lang-foot a { opacity: .8; }
.lang-foot a:hover { opacity: 1; }

/* T2: ghost + block button variants (About credentials panel etc.) */
.btn-ghost { background: transparent; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
.btn-block { display: block; width: 100%; text-align: center; }

/* T3: the About clinical/human views as equal-height cards, typeset justified */
.two-views { align-items: stretch; }
.two-views .view { background: color-mix(in srgb, currentColor 5%, transparent); border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  border-radius: 14px; padding: 24px 26px 18px; }
.two-views .view > h2 { margin-top: 2px; }
.two-views .view p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.two-views .view .label { border-top: 0; padding-top: 0; }

/* T4: first section after a page hero can sit closer (contact page) */
.section-tight { padding-block-start: clamp(34px, 5vw, 56px); }

/* T6: accuracy-promise page as three compact cards */
.promise-grid { display: grid; gap: 16px; margin: 26px 0 30px; }
@media (min-width: 920px) { .promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-card { background: color-mix(in srgb, currentColor 5%, transparent); border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  border-radius: 14px; padding: 20px 22px; }
.p-card h2 { margin-top: 0; }

/* T8: service-area map (palette validated light+dark via the dataviz checks) */
.map-fig { margin: 0 0 clamp(28px, 4vw, 48px); padding: clamp(10px, 2vw, 22px);
  background: color-mix(in srgb, currentColor 4%, transparent); border: 1px solid color-mix(in srgb, currentColor 10%, transparent); border-radius: 16px; }
.area-map { display: block; width: 100%; height: auto; }
.area-map .m-core { fill: var(--map-core); stroke: var(--paper); stroke-width: 2; }
.area-map .m-ext { fill: var(--map-ext); stroke: var(--paper); stroke-width: 2; }
.area-map .m-office { fill: var(--brand); stroke: var(--paper); stroke-width: 2; }
.area-map .m-lab { fill: currentColor; opacity: .82; font: 500 13px/1 var(--font-body, sans-serif); }
.area-map .m-lab-office { font-weight: 700; opacity: .95; }
.area-map .m-ring { fill: currentColor; opacity: .5; font: 500 11.5px/1 var(--font-body, sans-serif); }
.map-fig figcaption { margin-top: 10px; font-size: .82rem; opacity: .65; text-align: center; }

/* T1 (pass 3): conditions closing band, centered, with the nurse-review attribution */
.start-band { margin-top: 56px; padding: clamp(22px, 3.5vw, 36px); text-align: center;
  background: color-mix(in srgb, currentColor 4%, transparent); border: 1px solid color-mix(in srgb, currentColor 10%, transparent); border-radius: 16px; }
.start-band h2 { margin-top: 0; }
.start-band > p { max-width: 54em; margin-inline: auto; }
.reviewed-band { margin-top: 18px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  font-size: .88rem; opacity: .85; }
.reviewed-band .icon { color: var(--accent); vertical-align: -2px; }

/* T2 (pass 3): the ZIP answer is an unmissable result card */
.zip-result.zip-card { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid; }
.zip-result.zip-card.t1 { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.zip-result.zip-card.t2 { background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.zip-result.zip-card.t3 { background: color-mix(in srgb, currentColor 6%, transparent); border-color: color-mix(in srgb, currentColor 20%, transparent); }
.zip-ico { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.zip-card.t1 .zip-ico, .zip-card.t2 .zip-ico { color: var(--accent); }
.zip-big { display: block; font-weight: 700; font-size: 1.12em; line-height: 1.25; }
.zip-sub { display: block; margin-top: 4px; opacity: .92; }
@media (prefers-reduced-motion: no-preference) {
  .zip-card.pop { animation: zip-pop .38s cubic-bezier(.22,1.2,.36,1); }
}
@keyframes zip-pop { from { opacity: 0; transform: scale(.94) translateY(4px); } to { opacity: 1; transform: none; } }

/* T4 (pass 3): the reach box's mini emblem, alive with the same resting heartbeat */
.reach-mark .oc-mini { display: block; width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .oc-mini .l-heart { animation: oc-beat-loop 1.2s ease-in-out infinite; transform-origin: 500px 430px; transform-box: view-box; }
}

/* ============ T5v2: the home button — ORIGINAL colors (PM) ============ */
.logo { position: relative; border-radius: 16px; transition: transform .25s var(--ease, ease); }
.logo:hover, .logo:focus-visible { transform: translateY(-1px); }
.logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* the original warm-white tile, with only a whisper of an evergreen ring */
.mark { padding: 0; width: 50px; height: 54px; border-radius: 15px;
  background: color-mix(in srgb, #fffdf8 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .14); transition: box-shadow .3s, border-color .3s; }
.mark-tile { display: grid; place-items: center; width: 100%; height: 100%; }
.mark img.l-emblem { position: static; width: 36px; height: 36px; left: auto; top: auto; }
.logo:hover .mark, .logo:focus-visible .mark { border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent); }
/* the spoken affordance: subline crossfades to "Go to homepage" */
.word-sub { position: relative; display: block; }
.word-sub .sub-home { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; color: var(--accent); }
.word-sub .sub-brand { transition: opacity .25s; }
.logo:hover .sub-home, .logo:focus-visible .sub-home { opacity: 1; }
.logo:hover .sub-brand, .logo:focus-visible .sub-brand { opacity: 0; }
footer.site .sub-home, .drawer .sub-home { color: inherit; }
@media (min-width: 1080px) { .mark { width: 56px; height: 60px; } .mark img.l-emblem { width: 40px; height: 40px; } }

/* Review attribution as a quiet pre-footer strip: dim at rest, lights up on hover */
.review-foot { border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.review-foot a { display: block; padding: 13px 0; text-align: center; font-size: .78rem; letter-spacing: .03em;
  color: inherit; text-decoration: none; opacity: .45; transition: opacity .3s, color .3s; }
.review-foot a:hover, .review-foot a:focus-visible { opacity: 1; color: var(--accent); }

/* build signature */
.kq-vrd7x2-ochc { content-visibility: auto; }

.area-map-img { display: block; width: 100%; height: auto; border-radius: 10px; }
.map-attrib { display: block; margin-top: 4px; font-size: .72rem; opacity: .7; }

/* Map band: real map left, ZIP lookup right */
.map-band { display: grid; gap: 28px; align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .map-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }
.map-band .map-fig { margin: 0; }
.map-side h2 { margin-top: 0; }

/* Hero: third action reads as a quiet text link so the two buttons stay dominant */
.hero-link { align-self: center; color: rgba(255,255,255,.92); font-weight: 600; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hero-link:hover, .hero-link:focus-visible { color: #fff; }
