/* =========================================================================
   Arkansas Counseling & Wellness Services
   Editorial Healthcare System by ThatDeveloperGuy.com
   ========================================================================= */

:root {
  /* Palette - 2026-04-27 rebrand to client's actual brand colors */
  /* Source: live theme dynamic CSS at /wp-content/themes/bridge/css/style_dynamic.css */
  --brand-teal: #1d5d78;          /* primary structural color, replaces --forest */
  --brand-teal-deep: #154457;     /* darker depth, replaces --forest-deep */
  --brand-teal-mid: #266f8a;      /* between teal and teal-deep */
  --brand-gold: #c08f30;          /* primary accent, replaces --terracotta */
  --brand-gold-soft: #d4a955;     /* lighter accent for hover, replaces --terracotta-soft */
  --brand-champagne: #bfae93;     /* warm tertiary */
  --brand-cool-grey: #879097;     /* neutral grey */
  --brand-deeper-grey: #6a7677;   /* deeper neutral, replaces --stone */
  --brand-bg: #ffffff;            /* page background, replaces --cream */
  --brand-panel: #f7f7f7;         /* card panels, replaces --cream-deep */
  --ink: #1f2933;                 /* primary text */
  --ink-soft: #6a7677;            /* secondary text, replaces --stone */
  --rule: rgba(29, 93, 120, 0.14);          /* derived from teal */
  --rule-strong: rgba(29, 93, 120, 0.32);

  /* Backwards-compat aliases (keeps existing component code working during migration) */
  --cream: var(--brand-bg);
  --cream-deep: var(--brand-panel);
  --parchment: var(--brand-bg);
  --forest: var(--brand-teal);
  --forest-deep: var(--brand-teal-deep);
  --forest-mid: var(--brand-teal-mid);
  --terracotta: var(--brand-gold);
  --terracotta-soft: var(--brand-gold-soft);
  --stone: var(--ink-soft);
  --stone-light: var(--brand-cool-grey);

  /* Typography */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Instrument Sans", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;

  /* Type scale - fluid */
  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-md: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --fs-lg: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --fs-xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  --fs-2xl: clamp(2.25rem, 1.8rem + 2.2vw, 3.25rem);
  --fs-3xl: clamp(3rem, 2.2rem + 3.8vw, 5rem);
  --fs-4xl: clamp(4rem, 3rem + 5vw, 7rem);
  --fs-display: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);

  /* Layout */
  --container: 1360px;
  --container-narrow: 960px;
  --container-reading: 680px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "ss02", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

/* Selection */
::selection { background: var(--forest); color: var(--cream); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  color: var(--forest-deep);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; font-size: var(--fs-xs); }
p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow.muted { color: var(--stone); }

.lead {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 300;
  font-style: italic;
  color: var(--forest-deep);
}

/* Italic Fraunces variations */
em, i { font-variation-settings: "SOFT" 100, "WONK" 1; }

/* Container */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-reading { max-width: var(--container-reading); margin: 0 auto; padding: 0 var(--gutter); }

/* =========================================================================
   ANNOUNCEMENT BAR
   ========================================================================= */
.annc {
  background: var(--forest-deep);
  color: var(--cream);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.65rem var(--gutter);
  text-align: center;
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
}
.annc a { color: var(--cream); border-bottom: 1px solid rgba(245, 241, 234, 0.4); padding-bottom: 1px; transition: border-color 0.3s; }
.annc a:hover { border-color: var(--cream); }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 8px 28px -18px rgba(31, 58, 53, 0.2); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: 1.1rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav__brand-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--forest-deep);
  font-weight: 400;
}
.nav__brand-mark em { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.nav__brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 4px;
  font-weight: 500;
}

.nav__list { display: flex; gap: var(--s-6); align-items: center; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
  padding: 0.4rem 0;
}
.nav__link:hover { color: var(--terracotta); }
.nav__link.has-sub { padding-right: 1rem; }
.nav__link.has-sub::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}

/* Dropdown */
.nav__item { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1rem;
  min-width: 260px;
  background: var(--parchment);
  border: 1px solid var(--rule);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  box-shadow: 0 20px 50px -22px rgba(31, 58, 53, 0.22);
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__item:hover .has-sub::after,
.nav__item:focus-within .has-sub::after { transform: translateY(-30%) rotate(225deg); }
.nav__sub a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  color: var(--forest-deep);
  border-radius: 2px;
  transition: background 0.15s;
}
.nav__sub a:hover { background: var(--cream-deep); color: var(--terracotta); }
.nav__sub-group-title {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.55rem 0.75rem 0.3rem;
  font-weight: 500;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--forest);
  transition: all 0.25s var(--ease);
}
.nav__cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

/* Mobile nav */
.nav__toggle { display: none; }

@media (max-width: 1024px) {
  .nav__list { display: none; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
  }
  .nav__toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--forest-deep);
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav.open .nav__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    inset: 0;
    top: 70px;
    padding: 2rem var(--gutter);
    background: var(--cream);
    overflow-y: auto;
    z-index: 80;
  }
  .nav.open .nav__list .nav__item {
    width: 100%;
    border-bottom: 1px solid var(--rule);
  }
  .nav.open .nav__list .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-family: var(--font-display);
    color: var(--forest-deep);
  }
  .nav.open .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 1rem 1rem;
  }
  .nav.open .nav__cta { display: none; }
}

/* =========================================================================
   HERO - HOMEPAGE
   ========================================================================= */
.hero {
  position: relative;
  padding: var(--s-9) var(--gutter) var(--s-10);
  overflow: hidden;
  background: var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(194, 87, 59, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(31, 58, 53, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: var(--s-8);
  align-items: end;
  min-height: 70vh;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--s-5);
}
.hero__eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--terracotta);
}
.hero__title {
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--forest-deep);
  margin-bottom: var(--s-6);
}
.hero__title em {
  font-style: italic;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero__sub {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
  font-weight: 300;
  font-style: italic;
  color: var(--forest-mid);
  max-width: 44ch;
  margin-bottom: var(--s-7);
}
.hero__ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding-left: var(--s-5);
  border-left: 1px solid var(--rule);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.hero__stat:last-child { border-bottom: none; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--forest-deep);
  letter-spacing: -0.03em;
}
.hero__stat-num em { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero__stat-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__aside { padding-left: 0; border-left: none; border-top: 1px solid var(--rule); padding-top: var(--s-5); }
}

/* Button system */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 1.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
}
.btn--primary:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--forest-deep);
  border: 1px solid var(--forest);
}
.btn--secondary:hover {
  background: var(--forest);
  color: var(--cream);
}
.btn--ghost {
  background: transparent;
  color: var(--terracotta);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--terracotta);
  border-radius: 0;
}
.btn--ghost:hover { color: var(--forest); border-color: var(--forest); }
.btn__arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================================
   SECTION FRAMES
   ========================================================================= */
section { padding: var(--s-10) 0; position: relative; }
section.tight { padding: var(--s-8) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
  align-items: end;
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.section-head__left .eyebrow { margin-bottom: var(--s-3); display: block; }
.section-head h2 { max-width: 14ch; }
.section-head__right p {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.4;
  font-weight: 300;
  color: var(--forest-mid);
  max-width: 48ch;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* Feature-dark sections */
.dark {
  background: var(--forest-deep);
  color: var(--cream);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.dark .eyebrow { color: var(--terracotta-soft); }
.dark .section-head { border-color: rgba(245, 241, 234, 0.15); }
.dark .section-head__right p { color: rgba(245, 241, 234, 0.8); }
.dark .lead { color: rgba(245, 241, 234, 0.9); }

/* Soft / parchment sections */
.parchment { background: var(--parchment); }

/* =========================================================================
   FOUNDER STORY
   ========================================================================= */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-9);
  align-items: start;
  padding-top: var(--s-7);
}
.founder__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  overflow: hidden;
}
.founder__visual::before {
  content: "KB";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  color: var(--cream);
  opacity: 0.12;
  letter-spacing: -0.06em;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.founder__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
  display: block;
}
.founder__visual:has(.founder__photo)::before { content: "" !important; display: none !important; }
.founder__visual:has(.founder__photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 68, 87, 0.15) 0%, rgba(21, 68, 87, 0.55) 60%, rgba(21, 68, 87, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.founder__visual-inner { z-index: 2; }
.founder__visual:has(.founder__photo) .founder__visual-inner {
  border-color: rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.founder__visual-inner {
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(245, 241, 234, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  color: var(--cream);
}
.founder__visual-top {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}
.founder__visual-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.founder__visual-name em { font-style: italic; color: var(--terracotta-soft); }
.founder__visual-creds {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-top: 0.5rem;
  line-height: 1.6;
}
.founder__text .eyebrow { margin-bottom: var(--s-4); display: block; }
.founder__text h2 { margin-bottom: var(--s-5); }
.founder__text p { margin-bottom: var(--s-4); font-size: var(--fs-md); line-height: 1.6; color: var(--ink-soft); }
.founder__pullquote {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
  font-style: italic;
  color: var(--forest-deep);
  padding: var(--s-5) 0;
  margin: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; gap: var(--s-6); }
  .founder__visual { max-width: 420px; }
}

/* =========================================================================
   AUDIENCE SELECTOR
   ========================================================================= */
.audiences { padding: var(--s-10) 0; }
.audiences__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
}
.audience {
  background: var(--cream);
  padding: var(--s-7) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--forest-deep);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.audience > * { position: relative; z-index: 1; transition: color 0.4s var(--ease); }
.audience:hover::before { transform: translateY(0); }
.audience:hover, .audience:hover .audience__desc { color: var(--cream); }
.audience:hover .audience__num { color: var(--terracotta-soft); }
.audience:hover .audience__title { color: var(--cream); }
.audience:hover .audience__arrow { color: var(--terracotta-soft); transform: translateX(6px); }

.audience__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.audience__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin-bottom: var(--s-2);
}
.audience__desc {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: var(--s-4);
  flex: 1;
}
.audience__arrow {
  font-size: 1.8rem;
  color: var(--forest);
  transition: transform 0.3s var(--ease), color 0.4s var(--ease);
  line-height: 1;
}
@media (max-width: 820px) {
  .audiences__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   SERVICES GRID
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.svc {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: background 0.3s var(--ease);
  position: relative;
}
.svc:nth-child(3n) { border-right: none; }
.svc:hover { background: var(--parchment); }
.svc__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  color: var(--forest);
  margin-bottom: var(--s-2);
  transition: all 0.3s;
}
.svc:hover .svc__icon { background: var(--forest); color: var(--cream); }
.svc__icon svg { width: 20px; height: 20px; }
.svc__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.15;
  color: var(--forest-deep);
  letter-spacing: -0.015em;
}
.svc__desc { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.svc__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s;
  align-self: flex-start;
}
.svc:hover .svc__link { border-color: var(--terracotta); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(3n) { border-right: 1px solid var(--rule); }
  .svc:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc { border-right: none !important; }
}

/* =========================================================================
   TEAM SHOWCASE
   ========================================================================= */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.team__member {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.team__portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--forest-mid) 0%, var(--forest-deep) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}
.team__portrait::before {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--cream);
  opacity: 0.4;
  letter-spacing: -0.04em;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.team__member:hover .team__portrait { transform: translateY(-4px); }
.team__portrait--alt { background: linear-gradient(160deg, var(--brand-gold) 0%, #8e6720 100%); }
.team__portrait--cream { background: linear-gradient(160deg, var(--brand-champagne) 0%, var(--brand-deeper-grey) 100%); }
.team__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.2;
  color: var(--forest-deep);
  letter-spacing: -0.015em;
}
.team__creds {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  font-weight: 500;
}
.team__role {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-display);
}

@media (max-width: 1024px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   LOCATIONS BAND
   ========================================================================= */
.locations {
  padding: var(--s-10) 0;
  background: var(--forest-deep);
  color: var(--cream);
}
.locations h2, .locations .section-head__right p { color: var(--cream); }
.locations .eyebrow { color: var(--terracotta-soft); }
.locations .section-head { border-color: rgba(245, 241, 234, 0.15); }
.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.loc {
  padding: var(--s-5);
  border: 1px solid rgba(245, 241, 234, 0.15);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: all 0.3s var(--ease);
  position: relative;
}
.loc:hover { background: rgba(245, 241, 234, 0.04); transform: translateY(-3px); }
.loc__city {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
}
.loc__city em { font-style: italic; color: var(--terracotta-soft); font-variation-settings: "SOFT" 100, "WONK" 1; }
.loc__addr {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.82);
}
.loc__tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  font-weight: 500;
}
.loc__cta {
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: 0.85rem;
  color: var(--cream);
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.04em;
}
.loc__cta:hover { color: var(--terracotta-soft); }

@media (max-width: 820px) {
  .locations__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CREDENTIALS / TRUST STRIP
   ========================================================================= */
.trust {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--parchment);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  align-items: center;
}
.trust__item {
  text-align: center;
  padding: var(--s-3);
  border-right: 1px solid var(--rule);
}
.trust__item:last-child { border-right: none; }
.trust__item-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--forest-deep);
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.trust__item-num em { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.trust__item-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 820px) {
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: var(--s-4); }
}

/* =========================================================================
   INTERIOR PAGE HERO
   ========================================================================= */
.page-hero {
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-7);
  align-items: end;
}
.page-hero__title {
  font-size: var(--fs-3xl);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--forest-deep);
  margin-bottom: var(--s-5);
}
.page-hero__title em { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.page-hero__sub {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  font-weight: 300;
  color: var(--forest-mid);
  line-height: 1.35;
}
.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-left: var(--s-5);
  border-left: 1px solid var(--rule);
}
.page-hero__meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--rule);
}
.page-hero__meta-row:last-child { border-bottom: none; }
.page-hero__meta-label { color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; font-weight: 500; }
.page-hero__meta-val { font-weight: 500; color: var(--forest-deep); }

@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .page-hero__meta { padding-left: 0; border-left: none; padding-top: var(--s-4); border-top: 1px solid var(--rule); }
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--stone);
  margin-bottom: var(--s-4);
  letter-spacing: 0.05em;
}
.crumbs a { color: var(--stone); transition: color 0.2s; }
.crumbs a:hover { color: var(--terracotta); }
.crumbs span[aria-hidden] { color: var(--stone-light); }

/* =========================================================================
   PROSE / ARTICLE CONTENT
   ========================================================================= */
.prose {
  max-width: 68ch;
  margin: 0 auto;
  padding: var(--s-8) var(--gutter);
}
.prose h2 { margin: var(--s-7) 0 var(--s-4); font-size: var(--fs-2xl); }
.prose h3 { margin: var(--s-6) 0 var(--s-3); font-size: var(--fs-xl); }
.prose h4 { margin: var(--s-5) 0 var(--s-3); font-size: var(--fs-lg); }
.prose p { margin-bottom: var(--s-4); font-size: var(--fs-md); line-height: 1.7; color: var(--ink-soft); }
.prose p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  float: left;
  line-height: 0.88;
  padding: 0.18em 0.12em 0 0;
  color: var(--terracotta);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.prose ul, .prose ol {
  margin: var(--s-4) 0 var(--s-5) var(--s-5);
  padding-left: var(--s-4);
}
.prose ul li, .prose ol li {
  margin-bottom: var(--s-3);
  line-height: 1.65;
  color: var(--ink-soft);
  font-size: var(--fs-md);
}
.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: "\00B7";
  position: absolute;
  left: -1.5em;
  color: var(--terracotta);
  font-weight: 400;
}
.prose ol { list-style: decimal; }
.prose blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  line-height: 1.4;
  color: var(--forest-deep);
  padding: var(--s-4) 0 var(--s-4) var(--s-5);
  border-left: 2px solid var(--terracotta);
  margin: var(--s-6) 0;
}
.prose strong { color: var(--forest-deep); font-weight: 600; }
.prose a { color: var(--terracotta); border-bottom: 1px solid rgba(194, 87, 59, 0.3); }
.prose a:hover { border-color: var(--terracotta); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--s-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--forest-deep);
  line-height: 1.3;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--terracotta); }
.faq__q-plus {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq__q-plus::before,
.faq__q-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--forest-deep);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq__q-plus::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__q-plus::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__item.open .faq__q-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item.open .faq__q { color: var(--terracotta); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq__item.open .faq__a { max-height: 700px; padding-bottom: var(--s-5); }
.faq__a p { color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.65; max-width: 72ch; }
.faq__a p + p { margin-top: var(--s-3); }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final {
  padding: var(--s-10) 0;
  background: var(--forest-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 87, 59, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.final__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.final h2 {
  font-size: var(--fs-3xl);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.final h2 em { font-style: italic; color: var(--terracotta-soft); font-variation-settings: "SOFT" 100, "WONK" 1; }
.final p {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 241, 234, 0.85);
  margin-bottom: var(--s-5);
}
.final__ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.final__contact {
  border-left: 1px solid rgba(245, 241, 234, 0.15);
  padding-left: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.final__contact-row {
  padding-bottom: var(--s-3);
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
}
.final__contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.final__contact-val {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--cream);
  letter-spacing: -0.01em;
}
.final__contact-val a { color: var(--cream); }
.final__contact-val a:hover { color: var(--terracotta-soft); }
@media (max-width: 900px) {
  .final__inner { grid-template-columns: 1fr; }
  .final__contact { border-left: none; padding-left: 0; border-top: 1px solid rgba(245, 241, 234, 0.15); padding-top: var(--s-5); }
}

.btn--cream {
  background: var(--cream);
  color: var(--forest-deep);
  border: 1px solid var(--cream);
}
.btn--cream:hover { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.btn--cream-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}
.btn--cream-ghost:hover { background: var(--cream); color: var(--forest-deep); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot {
  background: var(--forest-deep);
  color: var(--cream);
  padding: var(--s-8) 0 var(--s-5);
  border-top: 1px solid rgba(245, 241, 234, 0.08);
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
}
.foot__brand-mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: var(--s-3);
  line-height: 1;
}
.foot__brand-mark em { font-style: italic; color: var(--terracotta-soft); font-variation-settings: "SOFT" 100, "WONK" 1; }
.foot__brand-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.7);
  max-width: 40ch;
  margin-bottom: var(--s-4);
}
.foot__col-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.foot__col ul li { margin-bottom: 0.65rem; }
.foot__col a {
  font-size: 0.92rem;
  color: rgba(245, 241, 234, 0.85);
  transition: color 0.2s;
}
.foot__col a:hover { color: var(--terracotta-soft); }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: 0.78rem;
  color: rgba(245, 241, 234, 0.55);
  letter-spacing: 0.05em;
}
.foot__bottom a {
  color: rgba(245, 241, 234, 0.7);
  border-bottom: 1px solid rgba(245, 241, 234, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.foot__bottom a:hover { color: var(--terracotta-soft); border-color: var(--terracotta-soft); }
.foot__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

@media (max-width: 820px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot__inner { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================================
   INDIVIDUAL PROVIDER PROFILE
   ========================================================================= */
.provider {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: var(--s-7);
  padding: var(--s-8) 0;
}
.provider__sidebar {
  position: sticky;
  top: calc(var(--s-7) + 70px);
  align-self: start;
}
.provider__portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--forest-mid), var(--forest-deep));
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.provider__portrait::before {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--cream);
  opacity: 0.5;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.provider__meta {
  padding: var(--s-4) 0;
  border-top: 1px solid var(--rule);
}
.provider__meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--rule);
}
.provider__meta-label { color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; font-weight: 500; }

@media (max-width: 900px) {
  .provider { grid-template-columns: 1fr; }
  .provider__sidebar { position: static; max-width: 480px; }
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }


/* ============================================================
   v2.3 hardening additions for Stage 2
   ============================================================ */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--forest-deep); color: var(--cream); padding: var(--s-3) var(--s-4);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

.answer-capsule {
  font-size: var(--fs-md); line-height: 1.65; max-width: 72ch;
  padding: var(--s-5) var(--s-6); margin: var(--s-5) 0;
  background: var(--cream-deep); border-left: 4px solid var(--forest);
  color: var(--forest-deep);
}
.answer-capsule strong { font-weight: 600; }

.cta-band {
  background: var(--forest-deep); color: var(--cream);
  padding: var(--s-8) 0; margin-top: var(--s-9);
}
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-6); }
.cta-band__h { font-family: var(--font-display); font-size: var(--fs-xl); margin: 0 0 var(--s-2); color: var(--cream); }
.cta-band__p { color: rgba(245, 241, 234, 0.78); margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

.btn { display: inline-flex; align-items: center; gap: var(--s-2);
       padding: var(--s-3) var(--s-5); font-size: var(--fs-sm); font-weight: 500;
       text-decoration: none; border: 1px solid transparent; cursor: pointer;
       transition: transform 0.18s var(--ease), background 0.18s var(--ease); }
.btn--primary { background: var(--terracotta); color: var(--cream); }
.btn--primary:hover { background: var(--terracotta-soft); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(245, 241, 234, 0.3); }
.btn--ghost:hover { background: rgba(245, 241, 234, 0.08); }
.btn--lg { padding: var(--s-4) var(--s-6); font-size: var(--fs-base); }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--ink); color: var(--cream); padding: var(--s-5) var(--s-4);
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: center; }
.cookie-banner__copy { margin: 0; font-size: var(--fs-sm); line-height: 1.55; max-width: 76ch; }
.cookie-banner__copy a { color: var(--terracotta-soft); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
@media (max-width: 800px) {
  .cookie-banner__inner { grid-template-columns: 1fr; }
}

/* Team profile page layout */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: var(--s-7); padding: var(--s-7) 0; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
.profile__sidebar { position: sticky; top: var(--s-7); align-self: start; }
.profile__portrait { width: 100%; aspect-ratio: 4 / 5; background: var(--cream-deep);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--forest); }
.profile__meta { margin-top: var(--s-5); }
.profile__meta-row { display: flex; justify-content: space-between; padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); }
.profile__meta-row:last-child { border-bottom: 0; }
.profile__meta-label { color: var(--stone); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }

/* Pricing card */
.price-card { display: grid; gap: var(--s-3); padding: var(--s-6); background: var(--parchment);
  border: 1px solid var(--rule); margin: var(--s-5) 0; }
.price-card__amount { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--forest-deep); }
.price-card__amount sup { font-size: 0.4em; vertical-align: super; }
.price-card__label { color: var(--stone); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; }
.price-card__note { color: var(--ink-soft); font-size: var(--fs-sm); }


/* ============================================================
   Augment pass: footer Connect socials + Recognition + Find-elsewhere
   ============================================================ */

.foot__col--connect ul.foot__socials { list-style: none; padding: 0; margin: 0; }
.foot__col--connect ul.foot__socials li { margin-bottom: var(--s-3); }
.foot__col--connect ul.foot__socials a {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: rgba(245, 241, 234, 0.85); text-decoration: none;
  transition: color 0.18s var(--ease);
}
.foot__col--connect ul.foot__socials a:hover { color: var(--terracotta-soft); }
.foot__col--connect ul.foot__socials svg { flex-shrink: 0; }

.recognition { margin: var(--s-7) 0; padding: var(--s-6) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.recognition__title { font-family: var(--font-display); font-size: var(--fs-xl);
  margin-bottom: var(--s-5); color: var(--forest-deep); }
.recognition__list { list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); }
.recognition__list li {
  padding: var(--s-4) var(--s-5); background: var(--cream-deep);
  border-left: 3px solid var(--terracotta);
  font-size: var(--fs-sm); line-height: 1.5;
}
.recognition__list li strong {
  display: block; font-size: var(--fs-base); margin-bottom: var(--s-1); color: var(--forest-deep);
}

.find-elsewhere { margin: var(--s-7) 0; }
.find-elsewhere h2 { font-family: var(--font-display); font-size: var(--fs-xl); margin-bottom: var(--s-5); color: var(--forest-deep); }
.find-elsewhere ul { list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--s-3); }
.find-elsewhere a {
  display: block; padding: var(--s-4) var(--s-5); border: 1px solid var(--rule);
  text-decoration: none; color: var(--forest-deep);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.find-elsewhere a:hover { border-color: var(--terracotta); background: var(--cream-deep); }
.find-elsewhere a strong { display: block; color: var(--terracotta); font-size: var(--fs-sm); margin-bottom: 0.25rem; }


/* Photo wiring: hide initials span when img is present and loaded */
.team__portrait { position: relative; overflow: hidden; }
.team__portrait .team__initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--forest);
  background: var(--cream-deep); z-index: 0; pointer-events: none;
}
.team__portrait .team__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; z-index: 2; }
.team__portrait:has(.team__photo) .team__initials { display: none; }
.team__portrait:has(.team__photo)::before { content: "" !important; display: none !important; }

.profile__portrait { position: relative; overflow: hidden; }
.profile__portrait .profile__initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--forest);
  background: var(--cream-deep); z-index: 0; pointer-events: none;
}
.profile__portrait .profile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; z-index: 2; }
.profile__portrait:has(.profile__photo) .profile__initials { display: none; }
.profile__portrait:has(.profile__photo)::before { content: "" !important; display: none !important; }


/* ============================================================
   Brand logo wiring (header img + footer img + NBCC cert)
   ============================================================ */
.nav__brand-img { height: 50px; width: auto; max-width: 100%; display: block; }
@media (max-width: 768px) { .nav__brand-img { height: 38px; } }

.foot__brand-img { height: 76px; width: auto; max-width: 280px; display: block; margin-bottom: var(--s-4); filter: brightness(1) saturate(0.9); }
.foot__trust { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.foot__cert { width: 64px; height: 64px; flex-shrink: 0; opacity: 0.95; }
.foot__trust-text { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.04em; margin: 0; line-height: 1.55; }

/* =========================================================================
   2026-04-28 LAUNCH HARDENING — Crisis bar, language switcher,
   expanded footer (legal/crisis/Section 1557/GFE), accessibility widget
   ========================================================================= */

/* ----- Crisis bar ----- */
.crisis-bar {
  background: var(--brand-teal-deep);
  color: #fff;
  padding: 0.55rem 0;
  font-size: 0.86rem;
  border-bottom: 2px solid var(--brand-gold);
  position: relative;
  z-index: 200;
}
.crisis-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.crisis-bar__icon {
  background: var(--brand-gold);
  color: var(--brand-teal-deep);
  font-weight: 800;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.crisis-bar__text { line-height: 1.4; }
.crisis-bar__text strong { color: var(--brand-gold); font-weight: 700; }
.crisis-bar__link {
  margin-left: auto;
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}
.crisis-bar__link:hover { color: var(--brand-gold); }
@media (max-width: 700px) {
  .crisis-bar { font-size: 0.78rem; }
  .crisis-bar__link { margin-left: 0; }
}

/* ----- Language switcher in header nav ----- */
.nav__item--lang { position: relative; margin-right: var(--s-3); }
.nav__lang-toggle {
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-family: var(--font-body);
  min-height: 38px;
}
.nav__lang-toggle:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.nav__lang-toggle:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 2px; }
.nav__lang-flag { font-size: 1.05em; line-height: 1; }
.nav__lang-caret { font-size: 0.7em; }
.nav__lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(21,68,87,0.12);
  padding: 0.35rem 0;
  z-index: 100;
  display: none;
}
.nav__item--lang.is-open .nav__lang-menu { display: block; }
.nav__lang-option {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.nav__lang-option:hover { background: var(--brand-panel); color: var(--brand-teal); }
.nav__lang-option.is-active { font-weight: 600; color: var(--brand-teal); }

/* ----- Expanded footer legal block ----- */
.foot__legal-block {
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.18);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
.foot__legal-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-gold);
  margin-bottom: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.foot__legal-block p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.65rem;
}
.foot__legal-block p strong { color: rgba(255,255,255,0.95); }
.foot__legal-block a {
  color: var(--brand-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.foot__legal-block a:hover { color: #fff; }
.foot__crisis-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot__crisis-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  padding: 0.4rem 0;
  border-bottom: 1px dotted rgba(255,255,255,0.12);
}
.foot__crisis-list li:last-child { border-bottom: 0; }
.foot__crisis-list strong { color: var(--brand-gold); font-weight: 600; }
.foot__legal-emerg {
  background: rgba(192,143,48,0.12);
  border-left: 3px solid var(--brand-gold);
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.8rem !important;
}
.foot__lang-list { font-size: 0.78rem !important; opacity: 0.85; }
.foot__hhs { margin-top: 0.6rem; }

/* ----- HIPAA "do not include PHI" warning panel ----- */
.phi-warn {
  background: #fff8ec;
  border: 2px solid var(--brand-gold);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin: var(--s-5) 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.phi-warn__icon {
  flex-shrink: 0;
  background: var(--brand-gold);
  color: #fff;
  font-weight: 800;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}
.phi-warn__body strong { display: block; color: var(--brand-teal-deep); font-size: 1rem; margin-bottom: 0.25rem; }
.phi-warn__body p { font-size: 0.88rem; color: var(--ink); line-height: 1.5; margin: 0; }

/* ----- Last reviewed date (pages) ----- */
.last-reviewed {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.last-reviewed time { color: var(--brand-teal-deep); font-weight: 600; }

/* ----- GFE notice block (insurance and contact pages) ----- */
.gfe-notice {
  background: var(--brand-panel);
  border-left: 4px solid var(--brand-teal);
  padding: 1.2rem 1.4rem;
  margin: var(--s-5) 0;
  border-radius: 0 4px 4px 0;
}
.gfe-notice h3 { font-family: var(--font-display); color: var(--brand-teal-deep); font-size: 1.1rem; margin-bottom: 0.5rem; }
.gfe-notice p { font-size: 0.92rem; line-height: 1.55; color: var(--ink); margin-bottom: 0.55rem; }
.gfe-notice p:last-child { margin-bottom: 0; }

/* ----- Recognition list spacing fix (more visible) ----- */
.recognition__list li strong {
  margin-bottom: 0.45rem !important;
  display: block;
}

/* ----- Visible breadcrumb spacing on interior pages ----- */
.crumbs {
  padding-top: var(--s-3);
  margin-bottom: var(--s-3);
}
.crumbs a:hover { color: var(--brand-gold); }

/* =========================================================================
   ACCESSIBILITY TOOLS WIDGET
   ========================================================================= */

.a11y-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  color: #fff;
  border: 2px solid var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(21,68,87,0.32);
  z-index: 9000;
  transition: transform 0.2s, background 0.2s;
}
.a11y-toggle:hover { background: var(--brand-teal); transform: scale(1.05); }
.a11y-toggle:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }

.a11y-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: 320px;
  max-height: 80vh;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(21,68,87,0.22);
  z-index: 9001;
  overflow-y: auto;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem 0.8rem;
  border-bottom: 1px solid var(--rule);
}
.a11y-panel__header h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-teal-deep);
  margin: 0;
}
.a11y-panel__close {
  background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink-soft);
  width: 36px; height: 36px; line-height: 1;
}
.a11y-panel__close:hover { color: var(--brand-teal); }
.a11y-panel__body { padding: 0.5rem 1.1rem 1rem; }
.a11y-panel__note {
  font-size: 0.74rem;
  color: var(--ink-soft);
  padding: 0.6rem 1.1rem 1rem;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.a11y-row {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}
.a11y-row:last-child { border-bottom: 0; }
.a11y-row__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}
.a11y-row__controls {
  display: flex;
  gap: 0.4rem;
}
.a11y-row__controls button {
  flex: 1;
  padding: 0.5rem;
  background: var(--brand-panel);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink);
  min-height: 40px;
}
.a11y-row__controls button:hover { background: var(--brand-teal); color: #fff; border-color: var(--brand-teal); }
.a11y-toggle-row {
  display: flex; align-items: center; gap: 0.55rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ink);
  min-height: 40px;
}
.a11y-toggle-row input { width: 18px; height: 18px; cursor: pointer; }
.a11y-row--reset button {
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 40px;
}
.a11y-row--reset button:hover { background: var(--brand-panel); color: var(--ink); }

/* ----- A11y: Live state styles applied via <html data-a11y-*> ----- */
html[data-a11y-text="lg"] { font-size: 112.5%; }
html[data-a11y-text="xl"] { font-size: 125%; }
html[data-a11y-text="sm"] { font-size: 92%; }

html[data-a11y-contrast="high"] body { background: #000 !important; color: #fff !important; }
html[data-a11y-contrast="high"] a, html[data-a11y-contrast="high"] a:visited { color: #ffd84d !important; }
html[data-a11y-contrast="high"] .nav, html[data-a11y-contrast="high"] .foot { background: #000 !important; }
html[data-a11y-contrast="high"] * { background-color: transparent !important; }
html[data-a11y-contrast="high"] .crisis-bar { background: #000 !important; border-bottom-color: #ffd84d !important; }
html[data-a11y-contrast="high"] .a11y-panel { background: #000 !important; border-color: #ffd84d !important; }

html[data-a11y-mode="dark"] body { background: #0e1a22 !important; color: #e6ecef !important; }
html[data-a11y-mode="dark"] section, html[data-a11y-mode="dark"] article { background: #0e1a22 !important; }
html[data-a11y-mode="dark"] .nav { background: #0e1a22 !important; border-bottom-color: rgba(255,255,255,0.1) !important; }
html[data-a11y-mode="dark"] .foot { background: #050d12 !important; }
html[data-a11y-mode="dark"] .nav__link, html[data-a11y-mode="dark"] .prose { color: #e6ecef !important; }
html[data-a11y-mode="dark"] .a11y-panel { background: #1a2730 !important; color: #e6ecef !important; }
html[data-a11y-mode="dark"] .gfe-notice { background: #1a2730 !important; }

html[data-a11y-motion="reduce"] *, html[data-a11y-motion="reduce"] *::before, html[data-a11y-motion="reduce"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

html[data-a11y-font="dyslexia"] body, html[data-a11y-font="dyslexia"] body * {
  font-family: "OpenDyslexic", "Comic Sans MS", "Lexend", system-ui, sans-serif !important;
  letter-spacing: 0.02em !important;
}

html[data-a11y-spacing="loose"] p, html[data-a11y-spacing="loose"] li {
  line-height: 1.9 !important;
  letter-spacing: 0.02em !important;
}

html[data-a11y-links="highlight"] a:not(.btn):not(.nav__cta):not(.crisis-bar__link):not(.foot__socials a):not(.team__member) {
  text-decoration: underline !important;
  background: rgba(255, 235, 100, 0.35) !important;
  color: var(--brand-teal-deep) !important;
  font-weight: 600 !important;
}

html[data-a11y-guide="on"] body::after {
  content: "";
  position: fixed;
  left: 0; right: 0;
  top: var(--a11y-guide-y, 50%);
  height: 2px;
  background: var(--brand-gold);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 0 100vh rgba(0,0,0,0.06);
}
