/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ── */
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #0f0f42;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* Inline text links (inside paragraphs) */
p a { font-weight: 700; color: #c65105; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* hover-pop: children of the container lift and get a gold outline on hover */
.hover-pop > * {
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.hover-pop > .about-card { border-color: #e8e8e8; }
.hover-pop > *:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 15, 66, 0.10);
  border-color: #e69b26;
  background-color: #ffffff;
}
/* while still fading in, keep the slower reveal timing (cards with their own hover transitions would otherwise override it) */
.reveal-group > .reveal, .hover-pop > .reveal { transition: opacity 0.65s ease, transform 0.65s ease; }

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e5e5;
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); border-bottom-color: transparent; }
.nav-logo { display: block; line-height: 0; }
.nav-logo img { display: block; height: 48px; width: auto; }

.nav-links { display: flex; gap: 6px; align-items: center; }

.nav-item { position: relative; }
.nav-item > a {
  font-size: 14px;
  font-weight: 500;
  color: #0f0f42;
  opacity: 0.65;
  transition: opacity 0.2s;
  cursor: pointer;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
}
.nav-item:hover > a { opacity: 1; background: #f5f5f3; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  min-width: 210px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
  z-index: 200;
  padding: 6px;
  margin-top: 12px;
}
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  white-space: nowrap;
  padding: 9px 14px;
  font-size: 14px;
  color: #0f0f42;
  opacity: 0.75;
  border-radius: 5px;
  transition: background 0.15s, opacity 0.15s;
}
.dropdown a:hover { background: #f5f5f3; opacity: 1; }

.nav-cta {
  background: #0f0f42;
  color: #ffffff;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
  margin-left: 12px;
}
.nav-cta:hover { background: #0f0f42; box-shadow: 0 4px 14px rgba(15, 15, 66, 0.25); transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  filter: saturate(0.7) brightness(0.8);   /* same muted filter as .page-header-bg */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(              /* same navy fade as .page-header-overlay */
    to right,
    rgba(15, 15, 66, 0.82) 0%,
    rgba(15, 15, 66, 0.68) 45%,
    rgba(15, 15, 66, 0.40) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 56px;
  max-width: 600px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #29694d;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title span { color: #e69b26; }

/* hero carousel: photos crossfade behind the fixed text (driven by script.js) */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-dots {
  position: absolute;
  left: 56px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-dot:hover { transform: scale(1.2); }
.hero-dot.is-active { background: #e69b26; border-color: #e69b26; }
.hero-dot:focus-visible { outline: 2px solid #e69b26; outline-offset: 3px; }
.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* hero text and page-header text slide in from the left on page load, one line after another */
@keyframes hero-slide-in {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-content > *, .page-header-inner > * { animation: hero-slide-in 0.8s ease-out both; }
.hero-content > :nth-child(2), .page-header-inner > :nth-child(2) { animation-delay: 0.15s; }
.hero-content > :nth-child(3), .page-header-inner > :nth-child(3) { animation-delay: 0.3s; }
.hero-content > :nth-child(4), .page-header-inner > :nth-child(4) { animation-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .page-header-inner > * { animation: none; }
}


/* ── Stats Bar ── */
.stats-bar {
  background: #0f0f42;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 52px;
  gap: 4px;
}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #e69b26;
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-weight: 400;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ── Clinics ── */
.clinics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e5e5e5;
}
.clinic { padding: 48px 56px; }
.clinic-right { border-left: 1px solid #e5e5e5; }
.clinic-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c65105;
  margin-bottom: 12px;
}
.clinic-name { font-size: 24px; font-weight: 700; color: #0f0f42; margin-bottom: 10px; }
.clinic-addr { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 14px; }
.clinic-hours { font-size: 13px; color: #444; line-height: 1.9; margin-bottom: 20px; }
.clinic-hours strong { color: #0f0f42; font-weight: 600; }
.clinic-link {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f42;
  opacity: 0.6;
  transition: opacity 0.2s;
  display: inline-block;
}
.clinic-link:hover { opacity: 1; }
.clinics-head { grid-column: 1 / -1; padding: 40px 56px 0; }
.clinic-name a:hover { color: #e69b26; }

/* smaller navy button (home page clinic call buttons) */
.btn-navy.btn-sm { padding: 10px 20px; font-size: 14px; gap: 8px; }
.btn-navy.btn-sm svg { width: 16px; height: 16px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #29694d;
  margin-bottom: 12px;
}
.section-title { font-size: 32px; font-weight: 800; color: #0f0f42; margin-bottom: 10px; letter-spacing: -0.5px; }

.service-card-link { font-size: 13px; font-weight: 700; color: #0f0f42; margin-top: 4px; text-decoration: underline; text-decoration-color: #e69b26; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.service-card-link:hover { color: #c65105; }

/* ── Quote ── */
.quote-section {
  background: #0f0f42;
  padding: 80px 56px;
  text-align: center;
}
.quote-inner { max-width: 680px; margin: 0 auto; }
.quote-mark {
  font-size: 80px;
  line-height: 0.6;
  color: #e69b26;
  font-family: Georgia, serif;
  margin-bottom: 24px;
  display: block;
}
.quote-text {
  font-size: 22px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
}
.quote-attr { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

/* ── Steps ── */
.steps-section { padding: 80px 56px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step { position: relative; }
.step-number {
  font-size: 48px;
  font-weight: 800;
  color: #e69b26;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step-title { font-size: 17px; font-weight: 700; color: #0f0f42; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: #666; line-height: 1.7; }

/* ── Accreditations ── */
.accreditations {
  background: #f8f8f6;
  padding: 36px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.accred-list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.accred-item { font-size: 13px; font-weight: 600; color: #0f0f42; opacity: 0.6; }
.accred-dot { width: 4px; height: 4px; border-radius: 50%; background: #e69b26; }

/* ── CTA Bar ── */
.cta-bar {
  background: #0f0f42;
  padding: 64px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-title { font-size: 28px; font-weight: 800; color: #ffffff; margin-bottom: 8px; letter-spacing: -0.5px; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.55); }

.cta-locations { display: flex; gap: 56px; margin-top: 20px; }
.cta-location p { font-size: 14px; color: #ffffff; line-height: 1.6; margin-top: 6px; }
.cta-location p a { color: inherit; text-decoration: none; }
.cta-location p a:hover { color: #e69b26; }
.cta-location-name { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #e69b26; text-decoration: none; }
.cta-location-name:hover { color: #ffffff; }
.cta-email { font-size: 14px; color: #ffffff; margin-top: 20px; }

/* quick links column and stacked buttons on the right of the CTA bar */
.cta-quick { display: flex; flex-direction: column; gap: 10px; }
.cta-quick-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #e69b26; margin-bottom: 2px; }
.cta-quick-links { display: grid; grid-template-rows: repeat(6, auto); grid-auto-flow: column; gap: 10px 36px; }
.cta-quick-links a { font-size: 14px; color: #ffffff; transition: color 0.2s; }
.cta-quick-links a:hover { color: #e69b26; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn-gold, .cta-actions .btn-outline-light { text-align: center; }
.cta-email a { color: inherit; text-decoration: none; }
.cta-email a:hover { color: #e69b26; }

/* email/text link inside body copy */
.inline-link { color: #0f0f42; font-weight: 600; text-decoration: underline; }
.inline-link:hover { color: #e69b26; }

.btn-gold {
  background: #e69b26;
  color: #0f0f42;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-gold:hover { background: #e69b26; box-shadow: 0 4px 14px rgba(230, 155, 38, 0.35); transform: translateY(-1px); }

/* secondary button for dark backgrounds: same size as .btn-gold, outlined instead of filled */
.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-outline-light:hover { background: #ffffff; color: #0f0f42; border-color: #ffffff; transform: translateY(-1px); }

/* ── Footer ── */
.footer { background: #0f0f42; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 56px; display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 14px; display: block; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.75); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.75); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-links a:hover { color: #ffffff; }

/* ── Subpage Header ── */
.page-header {
  background: #f8f8f6;
  border-bottom: 1px solid #e5e5e5;
  padding: 64px 56px 56px;
}

.page-header-inner {
  max-width: 680px;
}

.page-title {
  font-size: 42px;
  font-weight: 800;
  color: #0f0f42;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
}

.page-sub {
  font-size: 17px;
  color: #555;
  line-height: 1.65;
  max-width: 560px;
}

.placeholder-block {
  font-size: 15px;
  color: #666;
  font-style: italic;
  border: 2px dashed #e0e0e0;
  padding: 32px;
  border-radius: 6px;
  line-height: 1.6;
}

/* ── Staff Grid ── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.staff-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f0f0ed;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  margin-bottom: 12px;
}

.staff-placeholder-text {
  font-size: 12px;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* ── Requirement List ── */
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
  max-width: 640px;
}

.req-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.req-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #e69b26;
  font-weight: 700;
}

/* ── Notice Block ── */
.notice-block {
  background: #f8f8f6;
  border-left: 3px solid #c65105;
  border-radius: 4px;
  padding: 20px 24px;
  max-width: 700px;
  margin-top: 8px;
}

.notice-block p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
}
/* ── About Page ── */
.about-section { padding: 72px 56px; }
.about-section-alt { background: #f8f8f6; }
.about-inner { max-width: 1080px; margin: 0 auto; }

.about-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.about-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* card that should stand out in a grid (e.g. free naloxone on resources.html) */
.about-card-highlight { border-color: #e69b26; border-top: 4px solid #e69b26; }

/* transit directions on resources.html#get-a-ride */
.transit-stops { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.transit-stop { background: #f8f8f6; border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.transit-stop-name { font-size: 14px; font-weight: 700; color: #0f0f42; }
.transit-stop-name:hover { color: #e69b26; }
.transit-stop-addr { font-size: 12px; color: #666; margin-bottom: 4px; }
.transit-stop p { font-size: 13px; color: #555; line-height: 1.5; }
.transit-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: #29694d;
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 4px;
  white-space: nowrap;
}
.transit-badge-bart { background: #0f0f42; }

.about-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-card-sm { padding: 24px; }
.about-card-title { font-size: 20px; font-weight: 700; color: #0f0f42; }
.about-card-sm .about-card-title { font-size: 15px; }
.about-card-text { font-size: 15px; color: #555; line-height: 1.7; }
.about-card-sm .about-card-text { font-size: 13px; color: #666; line-height: 1.65; }

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(230, 155, 38, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #0f0f42;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text { font-size: 15px; color: #555; line-height: 1.75; margin-top: 16px; max-width: 520px; }
.about-subhead { font-size: 22px; font-weight: 700; color: #0f0f42; margin-bottom: 24px; }

.about-stats { display: flex; gap: 40px; margin-top: 32px; }
.about-stat { display: flex; flex-direction: column; }
.about-stat-num { font-size: 32px; font-weight: 800; color: #0f0f42; letter-spacing: -0.5px; }
.about-stat-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #e69b26; margin-top: 2px; }

.about-image img { width: 100%; height: 340px; object-fit: cover; border-radius: 8px; display: block; }

/* history timeline: connecting line runs behind the dots, centered columns */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 2px;
  background: #e5e5e5;
}
.timeline-step { position: relative; text-align: center; }
.timeline-dot {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #29694d;
  border: 4px solid #f8f8f6;
  box-shadow: 0 2px 8px rgba(15, 15, 66, 0.15);
  position: relative;
}
.timeline-step-current .timeline-dot { background: #e69b26; }
.timeline-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0f0f42;
  margin-bottom: 8px;
}
.timeline-text { font-size: 14px; color: #555; line-height: 1.6; }
.timeline-closing {
  margin: 48px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #0f0f42;
  line-height: 1.5;
}

/* three-step variant of the timeline (referrals.html) */
.timeline-3 { grid-template-columns: repeat(3, 1fr); }
.timeline-3::before { left: 16.7%; right: 16.7%; }

/* ── Refer a Client page ── */
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f0f42;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f0f42;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-navy:hover { background: #0f0f42; box-shadow: 0 4px 14px rgba(15, 15, 66, 0.25); transform: translateY(-1px); }
.btn-navy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* bracketed copy still to be supplied by HAART */
.inline-placeholder {
  font-size: 13px;
  font-style: italic;
  color: #666;
  background: rgba(230, 155, 38, 0.08);
  border: 1px dashed rgba(230, 155, 38, 0.5);
  border-radius: 4px;
  padding: 1px 6px;
}
p.inline-placeholder { padding: 8px 10px; }

.refer-contact {
  border: 1px solid #e8e8e8;
  border-left: 4px solid #e69b26;
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.refer-contact-name { font-size: 18px; font-weight: 700; color: #0f0f42; margin-bottom: 4px; }
.refer-contact-name:hover { color: #e69b26; }
.refer-contact-line { font-size: 16px; font-weight: 600; color: #0f0f42; }
.refer-contact-line span {
  display: inline-block;
  width: 56px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #29694d;
}
a.refer-contact-line:hover { color: #e69b26; }

/* ── Donations page ── */
.donate-address {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: #0f0f42;
  line-height: 1.7;
  background: #f8f8f6;
  border-left: 3px solid #e69b26;
  border-radius: 4px;
  padding: 14px 18px;
}
.donate-thanks { text-align: center; }

/* ── Long-form policy text (website-privacy-policy.html, other policy pages) ── */
.policy { max-width: 780px; }
.policy h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f0f42;
  margin: 44px 0 12px;
  letter-spacing: -0.2px;
}
.policy p, .policy li { font-size: 15px; color: #444; line-height: 1.75; }
.policy p + p { margin-top: 12px; }
.policy ul { margin: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.policy li::marker { color: #e69b26; }
.policy li strong { color: #0f0f42; }
.policy p.inline-placeholder { margin-top: 12px; font-size: 13px; }
.policy-alert { max-width: none; margin-top: 0; }
.policy-alert p { font-size: 15px; }
.policy-dates { font-size: 14px; margin-top: 10px; }
.policy-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.policy-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #29694d;
  padding: 10px 14px;
  border-bottom: 2px solid #e5e5e5;
}
.policy-table td { padding: 12px 14px; color: #444; line-height: 1.5; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.policy-table td:first-child { font-weight: 600; color: #0f0f42; }

/* embedded Google Form (contact-us.html) */
.contact-form-frame {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  max-width: 760px;
}
.contact-form-frame iframe { display: block; width: 100%; height: 1200px; border: 0; }

/* stacked, equal-width giving buttons in the "Give Online" card */
.donate-buttons { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.donate-buttons .btn-gold { min-width: 220px; text-align: center; }
.donate-note { font-size: 13px; font-style: italic; color: #666; line-height: 1.6; margin-top: 4px; }

/* ── FAQ accordion (treatment.html) — native <details>, no JS needed ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; max-width: 860px; }
.faq-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #e69b26; }
.faq-item[open] { border-color: #e69b26; box-shadow: 0 6px 20px rgba(15, 15, 66, 0.07); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f0f42;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(230, 155, 38, 0.14);
  color: #0f0f42;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 2px solid #e69b26; outline-offset: 2px; border-radius: 8px; }
.faq-answer { padding: 0 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.faq-answer p { font-size: 15px; color: #555; line-height: 1.75; }
.faq-answer p.inline-placeholder { font-size: 13px; color: #666; }

/* grey highlight box (admissions.html "Have Questions Before You Arrive?") */
/* grey highlight box (admissions.html "Have Questions Before You Arrive?") */
.questions-box { background: #f8f8f6; border-radius: 8px; padding: 32px; }

/* ── Careers page: benefits checklist ── */
.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  margin-top: 28px;
  max-width: 900px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  padding: 14px 18px;
  background: #f8f8f6;
  border-radius: 6px;
}
.benefit-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: #29694d;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* section whose photo fills the full right half, edge to edge (moud.html "Which medication");
   the empty second grid cell keeps the text in the left column */
.section-media-right { position: relative; overflow: hidden; }
.section-media-right .about-inner { position: relative; z-index: 1; }
.section-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.section-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .section-media-right { padding-bottom: 0; }
  .section-media { position: static; width: auto; height: 280px; margin: 40px -24px 0; }
}

/* one-column checklist, for use beside a photo (counseling.html) */
.benefit-list-single { grid-template-columns: 1fr; max-width: none; }

/* careers "Stay in Touch": icon, text, and button in one row */
.stay-card { flex-direction: row; align-items: center; gap: 24px; margin-top: 36px; }
.stay-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.stay-card .btn-navy { flex-shrink: 0; }

@media (max-width: 860px) {
  .benefit-list { grid-template-columns: 1fr; }
  .stay-card { flex-direction: column; align-items: flex-start; }
}

/* page header with a full-bleed background photo (treatment.html):
   the photo is muted and darkened with a navy overlay, and the text turns light */
.page-header-photo { position: relative; overflow: hidden; padding-top: 96px; padding-bottom: 96px; border-bottom: none; }
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.7) brightness(0.8);
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 15, 66, 0.82) 0%,
    rgba(15, 15, 66, 0.68) 45%,
    rgba(15, 15, 66, 0.40) 100%
  );
}
.page-header-photo .page-header-inner { position: relative; z-index: 1; }

.page-header-photo .section-label, .page-header-dark .section-label { color: #e69b26; }
.page-header-photo .page-title, .page-header-dark .page-title { color: #ffffff; }
.page-header-photo .page-sub, .page-header-dark .page-sub { color: rgba(255, 255, 255, 0.88); }
.page-header-photo .inline-link, .page-header-dark .inline-link { color: #e69b26; }
.page-header-photo .inline-link:hover, .page-header-dark .inline-link:hover { color: #ffffff; }

/* solid navy page header with an icon on the right (about-us.html) */
.page-header-dark {
  background: #0f0f42;
  border-bottom: none;
  padding-top: 80px;
  padding-bottom: 80px;
}
.page-header-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.page-header-icon {
  width: 200px;
  height: auto;
  flex-shrink: 0;
  margin-right: 6%;
  animation: hero-slide-in 0.8s ease-out 0.3s both;
}
@media (max-width: 860px) {
  .page-header-row { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .page-header-icon { width: 96px; margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-header-icon { animation: none; }
}

@media (max-width: 860px) {
  .about-section { padding: 56px 24px; }
  .about-grid-2, .about-split { grid-template-columns: 1fr; }
  .about-grid-4, .about-grid-3 { grid-template-columns: 1fr 1fr; }
  .transit-stops { grid-template-columns: 1fr; }
  .about-split-reverse .about-image { order: 2; }

  /* timeline turns vertical: line down the left, text beside each dot */
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 20px; bottom: 20px; left: 18px; right: auto; width: 4px; height: auto; }
  .timeline-step { text-align: left; padding-left: 60px; min-height: 40px; }
  .timeline-dot { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ══ Accessibility ══ */

/* "Skip to main content": hidden until a keyboard user tabs to it */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: #0f0f42;
  color: #ffffff;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* text read by screen readers only, e.g. "(opens in a new tab)" */
.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;
}

/* visible keyboard focus everywhere (orange passes 3:1 on white and on navy) */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #c65105;
  outline-offset: 2px;
}

/* dropdowns also open when a keyboard user tabs into them */
.nav-item:focus-within > a { opacity: 1; background: #f5f5f3; }
.nav-item:focus-within .dropdown { display: block; }

/* phone menu button (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #0f0f42; border-radius: 1px; transition: transform 0.2s, opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* carousel pause/play button, beside the dots */
.hero-pause {
  width: 30px;
  height: 30px;
  margin-left: 6px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.hero-pause:hover { background: rgba(255, 255, 255, 0.15); }
.hero-dots { align-items: center; }

/* ══ Responsive: tablets and phones ══ */

/* collapse the nav into a menu before its links run out of room (raise this if nav tabs are added) */
@media (max-width: 1200px) {
  .nav { flex-wrap: wrap; padding: 12px 20px; }
  .nav-toggle { display: flex; order: 2; }
  .nav-cta { order: 1; margin-left: auto; }
  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 10px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .nav-open .nav-links { display: flex; }
  .nav-item::after { display: none; }
  .nav-item > a { opacity: 1; padding: 14px 8px; border-radius: 0; border-top: 1px solid #eeeeee; font-size: 16px; }
  .nav-item > a span[aria-hidden] { display: none; }
  .dropdown, .nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    margin: 0;
    padding: 0 0 8px 16px;
  }
  .dropdown a { padding: 10px 8px; font-size: 15px; white-space: normal; }
}

@media (max-width: 860px) {
  /* home hero */
  .hero { height: auto; min-height: 460px; }
  .hero-content { padding: 56px 20px 80px; }
  .hero-title { font-size: 38px; }
  .hero-dots { left: 20px; bottom: 24px; }

  /* text spans the full width on phones, so the navy overlay must be dark edge to edge (white text stays above 4.5:1) */
  .hero-overlay, .page-header-overlay { background: rgba(15, 15, 66, 0.75); }

  /* home clinic hours */
  .clinics { grid-template-columns: 1fr; }
  .clinics-head { padding: 32px 20px 0; }
  .clinic { padding: 28px 20px 32px; }
  .clinic-right { border-left: none; border-top: 1px solid #e5e5e5; }

  /* page headers */
  .page-header { padding: 44px 20px 40px; }
  .page-header-photo { padding-top: 56px; padding-bottom: 56px; }
  .page-header-dark { padding-top: 48px; padding-bottom: 48px; }
  .page-title { font-size: 32px; }
  .section-title { font-size: 26px; }

  /* CTA bar and footer stack */
  .cta-bar { flex-direction: column; align-items: stretch; padding: 48px 20px; gap: 36px; }
  .cta-locations { flex-direction: column; gap: 20px; }
  .cta-actions .btn-gold, .cta-actions .btn-outline-light { width: 100%; }
  .footer { padding: 20px; }
  .footer-links { flex-wrap: wrap; gap: 10px 20px; }
}

@media (max-width: 560px) {
  .nav-logo img { height: 38px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .hero-title { font-size: 32px; }
  .page-title { font-size: 28px; }
  .about-grid-2, .about-grid-3, .about-grid-4 { grid-template-columns: 1fr; }
  .cta-quick-links { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .donate-buttons .btn-gold { min-width: 0; width: 100%; }
}

/* first, headline sentence of a multi-paragraph card (about-us.html Our Vision) */
.about-card-lead { font-size: 17px; font-weight: 600; color: #555; line-height: 1.6; }

/* Our Values (about-us.html): one value per row - icon, name, sentence - with divider lines */
.values-list { display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid #e5e5e5; }
.values-list > .about-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  padding: 22px 4px;
  background: transparent;
}
.values-list > .about-card .about-card-title { font-size: 17px; min-width: 200px; }
.values-list > .about-card .about-card-text { margin-top: 0; }
@media (max-width: 560px) {
  .values-list > .about-card { flex-wrap: wrap; gap: 4px 16px; }
  .values-list > .about-card .about-card-title { min-width: 0; }
  .values-list > .about-card .about-card-text { flex-basis: 100%; margin-top: 4px; }
}

/* Donate tab: same look as the other nav tabs, with a small brand-orange heart as the only accent */
.nav-donate { display: flex !important; align-items: center; gap: 6px; }
.nav-donate svg { width: 13px; height: 13px; fill: #c65105; flex-shrink: 0; }

/* fax numbers nested under a checklist step (guest-dosing.html) */
.fax-list { margin: 10px 0 2px; border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; max-width: 380px; }
.fax-list div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; background: #f8f8f6; }
.fax-list div + div { border-top: 1px solid #e5e5e5; }
.fax-list dt { font-size: 14px; font-weight: 600; color: #0f0f42; }
.fax-list dd { font-size: 14px; color: #444; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Joint Commission accreditation card (about-us.html): seal beside the text.
   The seal is shown as provided - no filter, recolor, crop, or hover effect - at a fixed 1:1 ratio. */
.accreditation-card { gap: 0; }
.accreditation-row { display: flex; align-items: center; gap: 24px; }
/* other credentials sit apart from the seal, below a divider, so no extra words appear beside it */
.accreditation-other { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e5e5e5; }
.seal-link { flex-shrink: 0; line-height: 0; }
.seal-link img { width: 140px; height: 140px; display: block; }
@media (max-width: 560px) {
  .accreditation-row { flex-direction: column; align-items: flex-start; }
  .seal-link img { width: 120px; height: 120px; }
}

/* Joint Commission seal under the CTA buttons (every page). Shown as provided: no filter or hover effect, fixed 1:1 size. */
.cta-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.cta-seal a { line-height: 0; flex-shrink: 0; }
.cta-seal img { width: 64px; height: 64px; display: block; }

/* a white section that follows another white section: drop the top padding so they read as one */
.about-section-continue { padding-top: 0; }

/* small label above each set of hours on the home page clinic cards */
.hours-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #29694d; margin-bottom: 4px; }
.clinic-hours + .hours-label { margin-top: 4px; }

/* walk-in note (home page clinic hours) */
.walkin-note { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: #0f0f42; margin-top: 10px; }

/* self-referral band at the top of "Who Can Refer" (referrals.html): gold accent so it leads the section */
.self-referral { border-left: 4px solid #e69b26; }

/* long-form policy text: breathing room between lists and paragraphs */
.policy p + ul { margin-top: 10px; }
.policy ul + p { margin-top: 14px; }
.policy-alert + p { margin-top: 18px; }
.policy-alert p + p { margin-top: 10px; }

/* WCAG 1.4.10 reflow: at 320px wide (400% zoom) nothing may force sideways scrolling */
.about-grid-2 > *, .about-grid-3 > *, .about-grid-4 > *, .about-split > *, .staff-grid > * { min-width: 0; }
@media (max-width: 860px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .staff-grid { grid-template-columns: 1fr; }
  .fax-list div { flex-wrap: wrap; gap: 2px 16px; }
}

/* Escape closes an open nav dropdown (script.js), WCAG 1.4.13 */
@media (min-width: 1201px) { .nav-item.dropdown-dismissed .dropdown { display: none !important; } }
