/* =====================================================================
   Empowering Healthcare Services — brand stylesheet
   Matches the printed brochure: espresso / navy / gold on cream.
   Shared by every page. Page-specific blocks are labelled below.
   ===================================================================== */

:root {
  /* Brand palette (from the brochure) */
  --espresso:   #2B2019;   /* hero, footer, dark buttons */
  --espresso-1: #5A412F;   /* hero gradient — center */
  --espresso-2: #382A1F;   /* hero gradient — middle */
  --espresso-3: #271E17;   /* hero gradient — edge */
  --navy:       #2C3E5C;   /* primary accent: icons, checks, secondary buttons */
  --navy-dark:  #1F2D44;
  --gold:       #F2B544;   /* highlights, numbered steps, accent bars, CTA text on dark */
  --gold-soft:  #FDEBC8;   /* light highlight backgrounds */
  --gold-text:  #B5751A;   /* brochure #D68F1E darkened so it passes AA (large text) on cream */
  --champagne:  #C9B48A;   /* thin lines / rings on dark */
  --latte:      #F2E8DB;   /* cards, alternating sections */
  --cream:      #FFF9F0;   /* page background */
  --paper:      #FFFFFF;
  --label:      #8A5A3B;   /* small uppercase section labels */
  --border:     #B88A62;   /* card + icon borders */
  --field-border: #A9794F; /* form inputs: 3:1 against white and latte */
  --ink:        #1F2A2C;   /* body text */
  --ink-soft:   #4A6064;   /* secondary text */
  --muted-word: #8E8E8E;   /* tagline "Empowering" — large text only */
  --on-dark:      #FFF9F0;
  --on-dark-soft: #EADFD0;
  --hairline:   #E5D6C2;
  --teal-700:   #2C3E5C;   /* legacy name: the home form's success message (in its script) still uses it */

  /* logo.png has a thin white edge around its black disc (disc sits slightly off-center);
     this trims the edge on dark backgrounds without touching the logo itself */
  --logo-disc: circle(45.5% at 50.6% 48.6%);

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(43, 32, 25, .05), 0 8px 22px rgba(43, 32, 25, .08);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;          /* 18px minimum body size */
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--ink);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.375rem; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
strong, b { color: var(--ink); }
a  { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-dark); text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
section { padding: 5rem 0; }

.sr, .logo .sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; outline-color: var(--gold); }

/* Section bands (cream / latte alternate) */
.band-latte { background: var(--latte); }
.band-cream { background: var(--cream); }

/* Small uppercase label above headings */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: .75rem;
}
/* Short gold accent bar under main headings */
.bar::after, .rule {
  content: "";
  display: block;
  width: 56px; height: 5px;
  border-radius: 999px;
  background: var(--gold);
  margin-top: .85rem;
}
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head .bar::after { margin-inline: auto; }
.section-head p { font-size: 1.1875rem; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head.left .bar::after { margin-inline: 0; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--espresso); color: var(--on-dark-soft); font-size: 1rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: .25rem 1.5rem; flex-wrap: wrap; padding: .2rem 0; }
.topbar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--gold); }
.topbar .hours { display: inline-flex; align-items: center; gap: .5rem; }
.topbar .hours::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B544' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.topbar :focus-visible { outline-color: var(--gold); }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 240, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; }
.logo { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1; }
.logo .logo-chip {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--champagne);
}
.logo .logo-chip img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.logo .wordmark { display: flex; flex-direction: column; gap: .3rem; }
.logo .wordmark .name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--espresso); line-height: 1.05; }
.logo .wordmark .tag { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
nav ul { list-style: none; display: flex; gap: .25rem 1.4rem; padding: 0; margin: 0; }
nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); font-weight: 600; font-size: 1.0625rem;
  text-decoration: none; border-bottom: 3px solid transparent;
}
nav a:hover, nav a.current { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: var(--paper); border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 1.5rem; line-height: 1; color: var(--espresso); cursor: pointer;
}
@media (max-width: 1100px) {
  #nav nav ul { display: none; }
  #nav.open nav ul {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: .5rem 1.25rem 1.25rem;
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow);
  }
  #nav.open nav a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--hairline); }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .logo .wordmark .name { font-size: 1.05rem; }
  .logo .wordmark .tag { font-size: .6875rem; }
  .logo .logo-chip { width: 56px; height: 56px; }
  .nav-cta .btn-outline { display: none; }
}
@media (max-width: 420px) { .logo .wordmark { display: none; } }

/* Simple nav on the form pages (three links, no menu button) */
.nav-simple { flex-wrap: wrap; }
@media (max-width: 760px) {
  .nav-simple nav ul { gap: 0 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn svg { flex-shrink: 0; }
.btn-lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.125rem; }
.btn-primary { background: var(--espresso); color: #fff; }
.btn-primary:hover { background: #46352a; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-soft); color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--espresso); }
.btn-gold:hover { background: #F6C766; color: var(--espresso); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: var(--champagne); }
.btn-outline-light:hover { background: rgba(255, 249, 240, .08); color: var(--gold); border-color: var(--gold); }
/* Phone-number pill: Lora number, gold phone icon */
.btn-phone { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; min-height: 60px; padding: .8rem 2rem .8rem 1.6rem; }
.btn-phone svg { color: var(--gold); }
.btn-light.btn-phone svg { color: var(--navy); }

/* Inline text link with a tap-sized hit area */
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Hero (espresso, curved bottom edge) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background: radial-gradient(ellipse 90% 120% at 50% 35%, var(--espresso-1) 0%, var(--espresso-2) 48%, var(--espresso-3) 100%);
  padding: 4.5rem 0 7.5rem;
}
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero .eyebrow { color: var(--champagne); }
.hero p { color: var(--on-dark-soft); }
.hero .lede { font-size: 1.25rem; max-width: 600px; }
.hero :focus-visible { outline-color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 4rem; align-items: center; }
.hero-mark { text-align: center; }
/* Logo with a soft golden glow behind and a thin champagne ring */
.logo-ring { position: relative; display: inline-block; padding: 4px; border-radius: 50%; }
.logo-ring::before {
  content: ""; position: absolute; inset: -34%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 181, 68, .20) 0%, rgba(242, 181, 68, .07) 42%, transparent 68%);
}
.logo-ring::after { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--champagne); border-radius: 50%; }
.logo-ring img {
  position: relative; z-index: 1;
  width: clamp(180px, 18vw, 220px); aspect-ratio: 1 / 1;   /* logo.png is 200px; keep it near native size */
  border-radius: 50%; object-fit: cover;
  clip-path: var(--logo-disc);
}
.hero-kicker {
  margin: 1.75rem 0 0;
  font-size: .9375rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold) !important;
}
.hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(44px, 6vw, 92px); display: block; }
.hero-curve .fill { fill: var(--cream); }
.hero-curve .line { fill: none; stroke: var(--border); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero .crumbs { font-size: 1rem; color: var(--on-dark-soft); margin-bottom: 1rem; }
.hero .crumbs a { color: var(--gold); }
.hero-sub { padding: 3.75rem 0 7rem; }
.hero-sub h1 { max-width: 22ch; }
.hero-sub .lede { max-width: 700px; margin-top: 1rem; }
.hero-compact { padding: 2.25rem 0 5rem; }
.hero-compact .eyebrow { color: var(--gold); margin: 0; }
@media (max-width: 900px) {
  .hero { padding-top: 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* Shared action row */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 1.5rem; }

/* ---------- Generic cards ---------- */
.card, .hero-card {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.card-latte, .hero-card { background: var(--latte); }

/* Navy highlight box ("Ready to talk?" style CTA) */
.highlight {
  background: var(--navy);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #fff;
}
.highlight h2, .highlight h3 { color: var(--gold); }
.highlight p { color: #fff; }
.highlight .eyebrow { color: var(--champagne); }
.highlight a:not(.btn) { color: #fff; }
.highlight :focus-visible { outline-color: var(--gold); }

/* Round icon: latte fill, thin brown ring, navy line icon */
.icon-ring, .service-icon, .team-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--latte);
  border: 1.5px solid var(--border);
  color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.icon-ring svg, .service-icon svg, .team-icon svg { width: 28px; height: 28px; }
.card-latte .icon-ring, .hero-card .icon-ring { background: var(--paper); }

/* Checklists: navy filled circles with white checkmarks */
.checklist, .check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li, .check-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .45rem 0; color: var(--ink); font-weight: 600;
}
.checklist li::before, .check-list li::before {
  content: ""; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
/* Plain bullet lists inside cards: small navy dots */
.dot-list, .service-card ul, .service-block ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.dot-list li, .service-card ul li, .service-block ul li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; color: var(--ink); }
.dot-list li::before, .service-card ul li::before, .service-block ul li::before {
  content: ""; position: absolute; left: .2rem; top: .6em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--navy);
}

/* ---------- HOME: welcome / tagline band ---------- */
.welcome { padding: 3rem 0 4.5rem; }
.welcome-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
.tagline {
  display: grid; grid-template-columns: auto auto; justify-content: start;
  column-gap: .32em; row-gap: .05em;
  font-family: var(--serif); font-size: clamp(1.5rem, 6.9vw, 2.75rem); line-height: 1.2;
  margin: 0;
}
/* very narrow phones: one word per line so nothing runs off-screen (text stays ≥24px for contrast) */
@media (max-width: 359px) { .tagline { grid-template-columns: 1fr; } }
.tagline .t-lead { font-weight: 400; color: var(--muted-word); }
.tagline .t-word { font-weight: 700; }
.t-navy { color: var(--navy); }
.t-gold { color: var(--gold-text); }
.t-ink  { color: var(--ink); }
.welcome .rule { margin: 1.4rem 0 1.75rem; }
.cta-label { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 0; }
.welcome .hero-actions { margin-top: .9rem; }
.welcome .text-link { margin-top: .5rem; }
.hero-card h3 { font-size: 1.75rem; }
.hero-card p { color: var(--ink-soft); }
.hero-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1.5px solid var(--hairline);
  color: var(--ink-soft);
}
.hero-trust b { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-trust { grid-template-columns: 1fr; }
}

/* ---------- HOME: about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.about-grid p { color: var(--ink); }
.quote-card {
  background: var(--espresso);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.quote-card .quote { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.4; color: #fff; margin: 0 0 1rem; }
.quote-card .quote::before { content: "\201C"; color: var(--gold); font-size: 3rem; line-height: 0; vertical-align: -.42em; margin-right: .12em; }
.quote-card cite { font-style: normal; color: var(--on-dark-soft); }
.quote-card cite em { color: var(--gold); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- HOME: services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.service-card h3 { margin-bottom: .4rem; }
.center-actions { text-align: center; margin-top: 2.5rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- HOME: how it works (gold numbered steps, dotted line) ---------- */
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  grid-row: 1 / span 2;
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  display: grid; place-items: center;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 26.5px; top: 60px; bottom: 4px;
  border-left: 3px dotted var(--gold);
}
.step h3 { margin: .75rem 0 .3rem; }
.step p { margin: 0; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- HOME: stats ---------- */
.stats .container { text-align: center; }
.stats .section-head { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.stat-row > div { background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; }
.stat-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--navy); margin-bottom: .75rem; }
.stat-row p { margin: 0; color: var(--ink); }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- HOME: forms ---------- */
.form-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.form-feature {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: inherit; text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.form-feature:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.form-feature .feat-num {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--serif); font-weight: 700; font-size: 1.125rem;
  display: grid; place-items: center;
}
.form-feature .feat-icon { width: 72px; height: 72px; }
.form-feature .feat-icon svg { width: 32px; height: 32px; }
.form-feature .feat-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--label); margin-bottom: .5rem;
}
.form-feature .feat-pill::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--gold); }
.form-feature h3 { font-size: 1.5rem; margin: 0 0 .5rem; }
.form-feature p { margin: 0; flex: 1; }
.form-feature .feat-go { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: 1.25rem; font-weight: 700; color: var(--navy); }
.form-feature .feat-go svg { transition: transform .2s ease; }
.form-feature:hover .feat-go svg { transform: translateX(3px); }
@media (max-width: 760px) { .form-features { grid-template-columns: 1fr; } }

/* ---------- HOME: contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; }
.contact-block { padding: 1.1rem 0; border-top: 1px solid rgba(201, 180, 138, .45); }
.contact-block .label { font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.contact-block .value { font-size: 1.125rem; color: #fff; font-weight: 600; }
.contact-block .value a:not(.btn) { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Forms (all pages) ---------- */
form.referral {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
form.referral h2 { font-size: 2rem; }
.field { margin-bottom: 1.15rem; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: .4rem; }
.req { color: var(--label); margin-left: 2px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  font: inherit; font-size: 1.125rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  transition: border-color .15s ease;
}
.field textarea { min-height: 0; }
.field input::placeholder, .field textarea::placeholder { color: #5F6F72; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.75rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E5C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 20px no-repeat;
}
.field input[type=file] { padding: .55rem; }
.field input[type=file]::file-selector-button {
  font: inherit; font-weight: 700; font-size: 1rem;
  margin-right: .85rem; padding: .55rem 1.1rem;
  color: var(--navy); background: var(--paper);
  border: 2px solid var(--navy); border-radius: 999px; cursor: pointer;
}
.field .hint { font-size: 1rem; color: var(--ink-soft); margin: .4rem 0 0; }
.field .signature { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1rem; margin-bottom: 1.15rem; }
.field-row > .field { margin-bottom: 0; }
fieldset > :last-child, form.referral > .field-row:last-child { margin-bottom: 0; }
.field-row.thirds { grid-template-columns: 2fr 2fr 1fr; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.check-row { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.0625rem; color: var(--ink); margin: .85rem 0; cursor: pointer; }
.check-row input { width: 24px; height: 24px; margin: .1rem 0 0; flex-shrink: 0; accent-color: var(--navy); }
.check-row.required-ack { font-weight: 600; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.form-foot small { color: var(--ink-soft); font-size: 1rem; max-width: 46ch; }
@media (max-width: 560px) {
  .field-row, .field-row.thirds, .field-row.three { grid-template-columns: 1fr !important; }
  form.referral { padding: 1.5rem 1.25rem; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Crisis notice bar ---------- */
.crisis-bar { background: var(--espresso); text-align: center; padding: 1rem 0; }
.crisis-bar p { margin: 0; color: #fff; font-size: 1.125rem; }
.crisis-bar .gold { color: var(--gold); font-weight: 700; }
.crisis-bar a { color: #fff; font-weight: 700; }
.crisis-bar a:hover { color: var(--gold); }
.crisis-bar :focus-visible { outline-color: var(--gold); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--espresso);
  color: var(--on-dark-soft);
  padding: 3.5rem 0 1.75rem;
  border-top: 1px solid rgba(201, 180, 138, .4);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
footer.site h4 { font-family: var(--sans); font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { display: flex; align-items: center; min-height: 44px; }
footer.site a { color: var(--on-dark); text-decoration: none; }
footer.site li a, .legal a { display: inline-flex; align-items: center; min-height: 44px; }
footer.site a:hover { color: var(--gold); text-decoration: underline; }
footer.site :focus-visible { outline-color: var(--gold); }
.foot-brand .logo img, footer.site .logo .logo-chip { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
footer.site .logo .logo-chip { box-shadow: none; }
.foot-brand .logo img { clip-path: var(--logo-disc); }
.foot-brand p { color: var(--on-dark-soft); max-width: 300px; margin-top: 1rem; }
.facility-notice { border-top: 1px solid rgba(201, 180, 138, .4); padding-top: 1.5rem; margin-bottom: 1.5rem; }
.site-simple .facility-notice { border-top: 0; padding-top: 0; }
.facility-notice h4 { margin-bottom: .6rem; }
.facility-notice p { color: var(--on-dark-soft); margin: 0 0 .85rem; max-width: 80ch; }
.facility-notice p:last-child { margin-bottom: 0; }
.facility-notice .emergency { color: #fff; font-weight: 700; }
.legal {
  border-top: 1px solid rgba(201, 180, 138, .4);
  padding-top: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
  font-size: 1rem;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky "Call Now" button (mobile only) ---------- */
.call-now { display: none; }
@media (max-width: 760px) {
  .call-now {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60; min-height: 58px;
    background: var(--espresso); color: #fff;
    border: 1.5px solid var(--champagne); border-radius: 999px;
    font-weight: 700; font-size: 1.125rem; text-decoration: none;
    box-shadow: 0 10px 26px rgba(43, 32, 25, .35);
  }
  .call-now:hover { color: #fff; }
  .call-now svg { color: var(--gold); }
  .call-now .num { font-family: var(--serif); }
  .call-now:focus-visible { outline-color: var(--gold); }
  body { padding-bottom: 92px; }
  html { scroll-padding-bottom: 100px; }
}

/* ---------- PDF preview modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(39, 30, 23, .75); display: none; align-items: center; justify-content: center; padding: 2vh 2vw; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--paper); border-radius: var(--radius-lg); width: min(960px, 100%); height: min(92vh, 1000px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--latte); border-bottom: 2px solid var(--border); }
.modal-head > div { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.modal-head h3 { margin: 0; font-size: 1.2rem; }
.modal-head .pdf-tag { background: var(--gold-soft); color: var(--label); border: 1px solid var(--border); font-size: .8125rem; font-weight: 700; padding: .2rem .6rem; border-radius: 6px; }
.modal-close { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--border); color: var(--ink); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { background: var(--espresso); color: #fff; }
.modal-body { flex: 1; min-height: 0; background: #3a2f27; }
.modal-body iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.25rem; border-top: 1px solid var(--hairline); }
.modal-foot small { color: var(--ink-soft); font-size: 1rem; }
.modal-foot > div { display: flex; gap: .6rem; }

/* =====================================================================
   OUR MODEL page (empowering-services.html)
   ===================================================================== */
.cocm-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.cocm-grid p { color: var(--ink); }
.cocm-aside h3 { margin-bottom: .75rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card { background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.team-card h3 { margin-bottom: .3rem; }
.team-card .role { font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: .9rem; }

/* Patient-at-the-center diagram */
.diagram-wrap { background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 3rem 2rem; margin-top: 2.5rem; }
.diagram { position: relative; max-width: 680px; margin: 0 auto; aspect-ratio: 1 / 1; }
.diagram .node {
  position: absolute; width: 36%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem;
  font-size: 1rem; font-weight: 700; line-height: 1.25;
}
.diagram .node small { display: block; font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }
.diagram .node.pcp     { top: 0; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; }
.diagram .node.bhcm    { bottom: 4%; left: 0; background: var(--espresso); color: #fff; }
.diagram .node.psy     { bottom: 4%; right: 0; background: var(--gold); color: var(--espresso); }
.diagram .node.patient { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30%; background: var(--cream); border: 3px solid var(--navy); color: var(--ink); }
.diagram .node.patient strong { font-family: var(--serif); font-size: 1.125rem; display: block; margin-bottom: .15rem; }
.diagram svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.diagram-caption { text-align: center; margin: 1.75rem auto 0; max-width: 60ch; color: var(--ink-soft); }
@media (max-width: 640px) {
  .diagram-wrap { padding: 1.5rem 1rem; }
  .diagram .node { font-size: .75rem; padding: .5rem; }
  .diagram .node small { font-size: .625rem; }
  .diagram .node.patient strong { font-size: .875rem; }
}

/* Outcomes */
.benefits-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.benefits-grid > div > p { color: var(--ink); }
.benefits-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.benefits-list li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1.5px solid var(--hairline); }
.benefits-list li:first-child { border-top: 0; }
.benefits-list .ico { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.benefits-list b { display: block; color: var(--ink); font-weight: 700; }
.benefits-list .txt > span { color: var(--ink-soft); }
.stat-card { background: var(--latte); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; text-align: center; }
.stat-card .big { display: block; font-family: var(--serif); font-weight: 700; font-size: 4.5rem; line-height: 1; color: var(--navy); }
.stat-card .big em { color: var(--gold-text); font-style: italic; }
.stat-card p { margin: 1rem 0 0; color: var(--ink); font-weight: 600; }
.stat-card p.note { font-weight: 400; color: var(--ink-soft); }

/* Programs */
.program-list { display: grid; gap: 1.25rem; }
.service-block {
  display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start;
  background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
}
.service-block .meta { display: flex; align-items: center; gap: .9rem; }
.service-block .meta .num {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center;
}
.service-block .meta .eyebrow { margin: 0; }
.block-title { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.block-title .icon-ring { margin: 0; }
.block-title h2 { margin: 0; font-size: 1.75rem; }
.service-block p { color: var(--ink); }

/* Long-term care facilities */
.ltc-intro { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.ltc-intro .bar::after { margin-inline: auto; }
.ltc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.ltc-card { background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; }
.ltc-card h3 { font-size: 1.75rem; margin-bottom: .35rem; }
.ltc-card .sub { color: var(--navy); font-weight: 700; margin-bottom: .85rem; }
.ltc-card p { color: var(--ink); }
.ltc-treatment { background: var(--latte); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 2.25rem; text-align: center; margin-bottom: 1.5rem; }
.ltc-treatment p { color: var(--ink); max-width: 75ch; margin-inline: auto; }
.ltc-priority { background: var(--gold-soft); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; text-align: center; }
.ltc-priority h3 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.ltc-priority h3 em { display: block; color: var(--gold-text); font-style: italic; }
.ltc-priority p { max-width: 70ch; margin-inline: auto; color: var(--ink); }
.ltc-contact { display: flex; gap: .5rem 2rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1.5px solid rgba(138, 90, 59, .3); }
.ltc-contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--navy); font-weight: 700; }
@media (max-width: 760px) { .ltc-pair { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ltc-priority { padding: 1.75rem 1.25rem; }
  .ltc-contact a { overflow-wrap: anywhere; text-align: left; }   /* long email address wraps instead of running off-screen */
}

/* Flier callout + closing CTA (navy highlight boxes) */
.flier-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.flier-box h2 { margin-bottom: .5rem; }
.flier-box p { margin: 0; }
.flier-box .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.closing { text-align: center; }
.closing .highlight { max-width: 920px; margin-inline: auto; padding: 3rem 2rem; }
.closing h2 { max-width: 24ch; margin-inline: auto; }
.closing .actions { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 1.5rem; }

/* Combating a crisis */
.crisis-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.crisis-grid p { color: var(--ink); }
.crisis-stats { display: grid; gap: 1rem; }
.stat-tile { display: flex; gap: 1.25rem; align-items: center; background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.stat-tile .num { font-family: var(--serif); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--navy); min-width: 100px; flex-shrink: 0; }
.stat-tile p { margin: 0; color: var(--ink); }

@media (max-width: 900px) {
  .cocm-grid, .benefits-grid, .crisis-grid, .flier-box { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem 1.5rem; }
  .flier-box .actions { justify-content: flex-start; }
}

/* =====================================================================
   FORM pages (referral-intake.html, consent-care-treatment.html)
   ===================================================================== */
.consent-wrap { padding: .5rem 0 5rem; }
.consent-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 880px; margin: 0 auto; }
.doc { background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; min-width: 0; }
.doc-head { background: var(--latte); padding: 2rem 2.25rem 1.75rem; border-bottom: 2px solid var(--border); }
.doc-head h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.6rem); }
.doc-head h1::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 999px; background: var(--gold); margin-top: .85rem; }
.doc-head .sub { margin: .9rem 0 0; color: var(--label); font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; }
.doc-body { padding: 2.25rem; }
.doc-body p { color: var(--ink); }
.doc-body h2 { margin-top: 1.75rem; font-size: 1.625rem; }
.doc-body h3 { margin: 1.75rem 0 .4rem; font-size: 1.25rem; color: var(--navy); }
.doc-body ul { margin: .5rem 0 1rem; padding-left: 1.4rem; color: var(--ink); }
.doc-body ul li { margin-bottom: .45rem; }
.doc-body .term { margin: 1rem 0; padding: .9rem 1.1rem; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--ink); }
.doc-body .term b { color: var(--ink); }
.doc-divider { margin: 2.75rem 0 1.25rem; padding-top: 2rem; border-top: 2px solid var(--border); }
.doc-divider h2 { margin: 0; }
.doc-divider .sub { margin: .4rem 0 0; color: var(--label); font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; }
.doc-note { font-size: 1.0625rem; color: var(--ink-soft) !important; margin: 1.25rem 0 0; }

fieldset { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 1.75rem 0 0; background: var(--latte); min-width: 0; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 1.1rem; font-family: var(--serif); font-weight: 700; font-size: 1.3125rem; color: var(--navy); }
legend + * { clear: both; }
legend .legend-note { font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--ink-soft); }

/* Choice pills (radio options from the paper form) */
.choice-group { margin-bottom: 1.1rem; }
.choice-group > .grp-label { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: .55rem; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem .7rem; }
.choice {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .55rem 1.15rem;
  background: var(--paper); border: 1.5px solid var(--field-border); border-radius: 999px;
  font-size: 1.0625rem; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: var(--navy); }
.choice:has(input:checked) { border-color: var(--navy); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.choice:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.choice input:focus-visible { outline: none; }
.choice input:checked + span { color: var(--navy); font-weight: 700; }

.notice { background: var(--gold-soft); border: 1.5px solid var(--border); color: #5A3F15; border-radius: 12px; padding: 1rem 1.2rem; font-size: 1.0625rem; margin: 1.25rem 0; }
.notice b { color: #4A3410; }
.success { background: var(--paper); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2.75rem 2rem; text-align: center; }
.success h2 { color: var(--navy); font-size: 1.75rem; }
.success p { color: var(--ink); }
.success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.9rem; }

@media (max-width: 560px) {
  .doc-head, .doc-body { padding: 1.5rem 1.25rem; }
  fieldset { padding: 1.25rem 1.1rem; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .form-feature { transition: none; }
  .btn:hover, .form-feature:hover { transform: none; }
}

/* ---------- Print (form pages print as a clean document) ---------- */
@media print {
  .topbar, header.site, footer.site, .crisis-bar, .call-now, .skip-link, .hero, .notice, .form-foot { display: none !important; }
  body { background: #fff; padding: 0; }
  .doc { border: 0; }
}
