/* ==========================================================================
   Darwin Psychology Services
   Brand palette taken from the practice's existing site:
     #406F87  primary teal-blue      #578DA8  lighter blue
     #6D9D31  leaf green             #463939  warm charcoal text
   Type: Lato for headings, Montserrat for body — as per the current site.
   ========================================================================== */

:root {
  /* Brand */
  --teal:        #406F87;
  --teal-dark:   #2F5468;
  --teal-darker: #22404F;
  --teal-light:  #578DA8;
  --teal-pale:   #E7EFF4;
  --teal-wash:   #F4F8FA;

  --green:       #6D9D31;
  --green-dark:  #587F27;
  --green-pale:  #EEF5E4;

  /* Neutrals */
  --ink:         #3A3030;
  --ink-soft:    #463939;
  --muted:       #6E6363;
  --muted-light: #8C8383;
  --line:        #E2E8EC;
  --line-soft:   #EDF1F4;
  --bg:          #FFFFFF;
  --bg-alt:      #F7FAFB;
  --bg-sand:     #FAF8F5;

  /* Feedback */
  --warn-bg:     #FDF6E7;
  --warn-line:   #E8D3A0;
  --warn-ink:    #7A5B14;
  --error-bg:    #FCEDEC;
  --error-line:  #E9BFBB;
  --error-ink:   #97392F;

  /* Shape */
  --radius:      12px;
  --radius-lg:   18px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 2px rgba(34, 64, 79, .06), 0 2px 8px rgba(34, 64, 79, .05);
  --shadow:      0 2px 6px rgba(34, 64, 79, .07), 0 12px 28px rgba(34, 64, 79, .08);
  --shadow-lg:   0 8px 20px rgba(34, 64, 79, .10), 0 24px 56px rgba(34, 64, 79, .12);

  --wrap:        1180px;
  --wrap-narrow: 760px;

  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--teal-darker);
  line-height: 1.22;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration-color: rgba(64, 111, 135, .35); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); text-decoration-color: currentColor; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .42em; }
li:last-child { margin-bottom: 0; }

blockquote {
  margin: 1.6em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--green);
  background: var(--green-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.06em;
  color: var(--teal-darker);
}
blockquote p { margin: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

strong { color: var(--teal-darker); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal-darker); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 2rem); }
}

.section { padding: clamp(3rem, 6vw, 5.25rem) 0; }
.section-sm { padding: clamp(2.25rem, 4vw, 3.25rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-teal { background: var(--teal-darker); color: #DCE7ED; }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-pale { background: var(--teal-pale); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 .7rem;
  display: block;
}
.section-teal .eyebrow { color: #9FCB6A; }

.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.stack > * + * { margin-top: 1.15rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .82em 1.55em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
  line-height: 1.25;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: var(--shadow); }

.btn-green { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-green:hover { background: var(--green-dark); color: #fff; box-shadow: var(--shadow); }

.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--teal-darker); border-color: #fff; }

.btn-white { background: #fff; color: var(--teal-darker); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--teal-pale); color: var(--teal-darker); }

.btn-sm { padding: .6em 1.15em; font-size: .85rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--head); font-weight: 700; font-size: .93rem;
  text-decoration: none; color: var(--teal);
}
.link-arrow svg { transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--teal-darker);
  color: #C9DBE4;
  font-size: .83rem;
  padding: .5rem 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { text-decoration: underline; }
.topbar-group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar svg { opacity: .8; }
@media (max-width: 780px) {
  .topbar { font-size: .78rem; }
  .topbar-hide-sm { display: none; }
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.brand img, .brand .brand-mark { height: 54px; width: auto; }
.brand-text {
  font-family: var(--head); font-weight: 700; color: var(--teal-darker);
  text-transform: uppercase; letter-spacing: .06em; line-height: 1.12; font-size: .95rem;
}
.brand-text span { display: block; }
@media (max-width: 420px) {
  .brand img, .brand .brand-mark { height: 44px; }
  .brand-text { font-size: .8rem; }
}

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .55rem .8rem; cursor: pointer;
  color: var(--teal-darker); font-family: var(--head); font-weight: 700; font-size: .85rem;
  align-items: center; gap: .5rem;
}
.nav-toggle-bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block; padding: .7rem .75rem; text-decoration: none;
  font-family: var(--head); font-weight: 700; font-size: .89rem;
  color: var(--ink-soft); border-radius: var(--radius-sm); white-space: nowrap;
}
.main-nav a:hover { color: var(--teal); background: var(--teal-wash); }
.main-nav a.is-current { color: var(--teal); }
.main-nav a.is-current::after {
  content: ""; display: block; height: 2.5px; background: var(--green);
  border-radius: 2px; margin-top: 4px;
}

.has-sub > a::after { content: " ▾"; font-size: .7em; opacity: .6; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; display: none; flex-direction: column; gap: 0;
  z-index: 120;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: flex; }
.submenu a { font-weight: 600; font-size: .86rem; padding: .6rem .8rem; }
.submenu a small { display: block; font-weight: 400; font-family: var(--sans); color: var(--muted); font-size: .78rem; margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem 0 1.5rem; max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .main-nav a { padding: .85rem .4rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: .98rem; }
  .main-nav a.is-current::after { display: none; }
  .main-nav a.is-current { color: var(--teal); background: var(--teal-wash); padding-left: .8rem; }
  .submenu {
    position: static; display: flex; box-shadow: none; border: 0;
    border-radius: 0; padding: 0 0 .5rem 1rem; background: var(--bg-alt);
  }
  .has-sub > a::after { content: ""; }
  .nav-cta .btn-nav-hide { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--teal-darker); color: #E3EDF2; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(34,64,79,.94) 0%, rgba(34,64,79,.86) 45%, rgba(47,84,104,.62) 100%);
}
.hero-inner { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero-lede { font-size: clamp(1.06rem, 1.7vw, 1.25rem); color: #CFDEE6; margin-bottom: 1.9rem; }
.hero .btn-row { margin-bottom: 1.9rem; }

.hero-assurances { display: flex; flex-wrap: wrap; gap: 1.1rem 1.9rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero-assurance { display: flex; align-items: center; gap: .55rem; font-size: .89rem; color: #C4D6DF; }
.hero-assurance svg { color: #9FCB6A; }

/* Page banner (inner pages) */
.page-banner { position: relative; background: var(--teal-darker); color: #DCE7ED; overflow: hidden; }
.page-banner-media { position: absolute; inset: 0; }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(34,64,79,.93), rgba(47,84,104,.78));
}
.page-banner-inner { position: relative; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-banner h1 { color: #fff; margin-bottom: .35em; max-width: 20ch; }
.page-banner p { color: #C4D6DF; max-width: 62ch; font-size: 1.06rem; margin: 0; }

.breadcrumbs { font-size: .82rem; margin-bottom: 1rem; color: rgba(255,255,255,.62); }
.breadcrumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span { margin: 0 .45em; opacity: .5; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-light); }
.card h3 { margin-bottom: .5rem; }
.card h3 a { text-decoration: none; color: inherit; }
.card p { color: var(--muted); font-size: .95rem; }
.card-body { flex: 1; }
.card-foot { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-pale); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 1.15rem;
}
.card-icon.green { background: var(--green-pale); color: var(--green-dark); }

.card-media { margin: -1.7rem -1.7rem 1.4rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/9; background: var(--teal-pale); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.tag {
  display: inline-block; font-family: var(--head); font-weight: 700;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  padding: .35em .75em; border-radius: 999px;
  background: var(--teal-pale); color: var(--teal-dark);
}
.tag-green { background: var(--green-pale); color: var(--green-dark); }
.tag-warn { background: var(--warn-bg); color: var(--warn-ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }

/* --------------------------------------------------------------------------
   Staff
   -------------------------------------------------------------------------- */
.staff-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

.staff-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.staff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-light); }

.staff-photo { aspect-ratio: 4/5; background: var(--teal-pale); position: relative; overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.staff-photo-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--teal-light), var(--teal-dark));
  color: #fff; font-family: var(--head); font-weight: 700; font-size: 2.5rem; letter-spacing: .04em;
}
.staff-badge {
  position: absolute; left: .8rem; bottom: .8rem;
  background: rgba(255,255,255,.95); color: var(--teal-darker);
  font-family: var(--head); font-weight: 700; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .35em .7em; border-radius: 999px; backdrop-filter: blur(4px);
}
.staff-badge.is-full { background: rgba(122,91,20,.92); color: #fff; }

.staff-body { padding: 1.25rem 1.35rem 1.45rem; flex: 1; display: flex; flex-direction: column; }
.staff-body h3 { font-size: 1.14rem; margin-bottom: .15rem; }
.staff-body h3 a { text-decoration: none; color: inherit; }
.staff-role { font-family: var(--head); font-weight: 700; font-size: .84rem; color: var(--green-dark); margin-bottom: .7rem; }
.staff-headline { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.staff-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .8rem; color: var(--muted-light); padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.staff-meta span { display: inline-flex; align-items: center; gap: .35em; }

/* Staff profile page */
.profile-head { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 780px) { .profile-head { grid-template-columns: 1fr; gap: 1.75rem; } }
.profile-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--teal-pale); position: relative; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-credentials { font-family: var(--head); font-weight: 700; color: var(--green-dark); font-size: 1rem; margin-bottom: 1rem; }
.profile-facts { display: grid; gap: .85rem; margin: 1.5rem 0; }
.profile-fact { display: flex; gap: .8rem; align-items: flex-start; font-size: .93rem; }
.profile-fact svg { color: var(--teal); margin-top: 2px; }
.profile-fact strong { display: block; font-family: var(--head); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-light); font-weight: 700; }

/* --------------------------------------------------------------------------
   Prose (long-form editable content)
   -------------------------------------------------------------------------- */
.prose { font-size: 1.03rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; font-size: 1.15rem; color: var(--teal-dark); }
.prose ul { padding-left: 1.15em; }
.prose ul li::marker { color: var(--green); }
.prose ol li::marker { color: var(--teal); font-family: var(--head); font-weight: 700; }
.prose > ul > li, .prose > ol > li { margin-bottom: .6em; }
.prose a { font-weight: 600; }

.tick-list { list-style: none; padding-left: 0; }
.tick-list li { position: relative; padding-left: 1.75em; margin-bottom: .55em; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li {
  margin: 0; font-size: .84rem; padding: .4em .85em;
  background: var(--teal-wash); border: 1px solid var(--line);
  border-radius: 999px; color: var(--teal-dark);
}

/* --------------------------------------------------------------------------
   Panels, callouts, notices
   -------------------------------------------------------------------------- */
.panel {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem;
}
.panel-teal { background: var(--teal-darker); color: #D6E3EA; border-color: transparent; }
.panel-teal h2, .panel-teal h3 { color: #fff; }
.panel-green { background: var(--green-pale); border-color: #D3E4B8; }
.panel-outline { background: #fff; }

.notice {
  border-radius: var(--radius); padding: 1.15rem 1.4rem;
  border: 1px solid var(--line); background: var(--bg-alt);
  font-size: .95rem; display: flex; gap: .9rem; align-items: flex-start;
}
.notice svg { flex-shrink: 0; margin-top: 3px; }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.notice-warn strong { color: var(--warn-ink); }
.notice-error { background: var(--error-bg); border-color: var(--error-line); color: var(--error-ink); }
.notice-error strong { color: var(--error-ink); }
.notice-success { background: var(--green-pale); border-color: #D3E4B8; color: var(--green-dark); }
.notice-success strong { color: var(--green-dark); }
.notice-info { background: var(--teal-pale); border-color: #CBDDE7; color: var(--teal-dark); }
.notice-info strong { color: var(--teal-darker); }

/* Crisis strip — deliberately prominent, on every page */
.crisis-strip {
  background: var(--warn-bg); border-bottom: 1px solid var(--warn-line);
  color: var(--warn-ink); font-size: .87rem; padding: .7rem 0;
}
.crisis-strip .wrap { display: flex; gap: .75rem; align-items: flex-start; }
.crisis-strip svg { flex-shrink: 0; margin-top: 2px; }
.crisis-strip p { margin: 0; }
.crisis-strip strong { color: var(--warn-ink); }

/* --------------------------------------------------------------------------
   Timeline (Our Story)
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 3rem; }
.timeline::before {
  content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--teal-light), var(--green)); opacity: .35;
}
.tl-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 2.5rem; padding-bottom: 2.75rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-family: var(--head); font-weight: 700; font-size: 1.15rem;
  color: var(--teal); text-align: right; padding-top: .1rem;
}
.tl-body { position: relative; }
.tl-body::before {
  content: ""; position: absolute; left: -2.5rem; top: .55rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); transform: translateX(-50%); z-index: 1;
}
.tl-body h3 { margin-bottom: .45rem; }
.tl-body p { color: var(--muted); margin-bottom: 0; }
.tl-image { margin-top: 1.1rem; border-radius: var(--radius); overflow: hidden; max-width: 460px; }

@media (max-width: 660px) {
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: .5rem; padding-left: 2.1rem; }
  .tl-year { text-align: left; }
  .tl-body::before { left: -2.1rem; top: -1.6rem; transform: none; }
}

/* --------------------------------------------------------------------------
   Videos
   -------------------------------------------------------------------------- */
.video-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--teal-darker); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-fallback { position: absolute; inset: 0; background: linear-gradient(140deg, var(--teal-dark), var(--teal-darker)); }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(34,64,79,.28); color: #fff; transition: background .18s ease;
  border: 0; width: 100%; cursor: pointer;
}
.video-card:hover .video-play { background: rgba(34,64,79,.45); }
.video-play-icon {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.94);
  color: var(--teal-darker); display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.video-card:hover .video-play-icon { transform: scale(1.06); }
.video-duration {
  position: absolute; right: .6rem; bottom: .6rem; background: rgba(0,0,0,.75);
  color: #fff; font-size: .74rem; padding: .2em .5em; border-radius: 4px; font-variant-numeric: tabular-nums;
}
.video-body { padding: 1.2rem 1.35rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.video-body h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.video-body p { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 0; }

.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.15rem; }
.form-row { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.field label, .field > .field-label {
  display: block; font-family: var(--head); font-weight: 700;
  font-size: .87rem; color: var(--teal-darker); margin-bottom: .4rem;
}
.field-hint { font-size: .81rem; color: var(--muted-light); margin-top: .35rem; font-weight: 400; font-family: var(--sans); }
.req { color: #B4473A; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], input[type="date"], input[type="time"],
input[type="search"], select, textarea {
  width: 100%; font-family: var(--sans); font-size: .97rem;
  padding: .72rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink-soft);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6363' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.4rem; }

input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(87, 141, 168, .18);
}
input::placeholder, textarea::placeholder { color: #A9A2A2; }

.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.check-row input[type="checkbox"], .check-row input[type="radio"] {
  width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--teal); flex-shrink: 0;
}
.check-row label { font-family: var(--sans); font-weight: 400; font-size: .93rem; color: var(--ink-soft); margin: 0; }

.radio-cards { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.radio-card {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1rem; cursor: pointer; display: flex; gap: .7rem; align-items: flex-start;
  transition: border-color .15s ease, background .15s ease;
}
.radio-card:hover { border-color: var(--teal-light); background: var(--teal-wash); }
.radio-card input { margin-top: 3px; accent-color: var(--teal); }
.radio-card strong { display: block; font-family: var(--head); font-size: .92rem; }
.radio-card small { color: var(--muted); font-size: .81rem; }
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--teal-wash); }

/* Honeypot — hidden from people, visible to bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-chip {
  font-family: var(--head); font-weight: 700; font-size: .84rem;
  padding: .5em 1.05em; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--line); color: var(--muted); background: #fff;
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--teal-light); color: var(--teal); }
.filter-chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* --------------------------------------------------------------------------
   Contact / locations
   -------------------------------------------------------------------------- */
.clinic-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.85rem; display: flex; flex-direction: column;
}
.clinic-card h3 { margin-bottom: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; font-size: .95rem; }
.contact-list svg { color: var(--teal); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--teal-pale); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stat-row { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { text-align: center; }
.stat-num { font-family: var(--head); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--green); line-height: 1; margin-bottom: .35rem; }
.section-teal .stat-num { color: #9FCB6A; }
.stat-label { font-size: .88rem; color: var(--muted); }
.section-teal .stat-label { color: #B7CBD6; }

/* --------------------------------------------------------------------------
   Jobs
   -------------------------------------------------------------------------- */
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-light); }
.job-card h3 { margin-bottom: .5rem; }
.job-card h3 a { text-decoration: none; color: inherit; }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem .95rem; font-size: .84rem; color: var(--muted); margin-bottom: .9rem; }
.job-meta span { display: inline-flex; align-items: center; gap: .35em; }
.job-closing { font-size: .84rem; color: var(--muted-light); }
.job-closing.is-soon { color: var(--error-ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.page-link {
  min-width: 40px; text-align: center; padding: .5rem .8rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; font-family: var(--head); font-weight: 700; font-size: .88rem;
  color: var(--teal); background: #fff;
}
.page-link:hover { background: var(--teal-wash); border-color: var(--teal-light); }
.page-link.is-current { background: var(--teal); border-color: var(--teal); color: #fff; }
.page-gap { padding: .5rem .3rem; color: var(--muted-light); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--teal-darker); color: #B7CBD6; padding: 3.5rem 0 0; font-size: .92rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding-bottom: 2.75rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .13em; margin-bottom: 1.1rem;
}
.site-footer a { color: #CFDEE6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.footer-brand img, .footer-brand .brand-mark { height: 58px; margin-bottom: 1.1rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { color: #9FCB6A; margin-top: 3px; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: #fff; transition: background .15s ease;
}
.footer-social a:hover { background: var(--green); }

.acknowledgement {
  border-top: 1px solid rgba(255,255,255,.13);
  padding: 1.9rem 0; font-size: .87rem; color: #A9C0CC; line-height: 1.7;
}
.acknowledgement p { margin: 0 0 .8rem; }
.acknowledgement p:last-child { margin-bottom: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding: 1.35rem 0;
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem;
  justify-content: space-between; align-items: center; font-size: .83rem; color: #90A9B6;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: .6rem; } .mb-2 { margin-bottom: 1.2rem; } .mb-3 { margin-bottom: 2rem; }
.lede { font-size: 1.12rem; color: var(--muted); }
.small { font-size: .87rem; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; }

.empty-state {
  text-align: center; padding: 3.5rem 1.5rem; border: 2px dashed var(--line);
  border-radius: var(--radius); color: var(--muted); background: var(--bg-alt);
}
.empty-state h3 { color: var(--muted); }

@media print {
  .topbar, .site-header, .site-footer, .crisis-strip, .btn-row, .nav-toggle { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { text-decoration: underline; }
}
