:root {
  --ink: #173b3a;
  --ink-soft: #506967;
  --forest: #194e49;
  --forest-dark: #103c38;
  --mint: #dcece7;
  --mint-light: #f1f7f4;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --coral: #d86f59;
  --coral-light: #f8e6df;
  --line: #d7e1dc;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(23, 59, 58, 0.09);
}

@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

::view-transition {
  pointer-events: none;
}

::view-transition-group(root),
::view-transition-group(site-header) {
  animation: none;
}

::view-transition-old(root) {
  animation: page-fade-out 200ms ease-in-out both;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: page-fade-in 200ms ease-in-out both;
  mix-blend-mode: normal;
}

::view-transition-old(site-header) {
  display: none;
}

::view-transition-new(site-header) {
  animation: none;
}

@keyframes page-fade-out {
  to { opacity: 0; }
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes page-arrive {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-fade-fallback main {
    animation: page-arrive 200ms ease-out both;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 1rem 5vw;
  border-bottom: 1px solid rgba(215, 225, 220, 0.8);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img {
  display: block;
  width: min(130px, 38vw);
  height: auto;
}

.footer-brand img {
  width: min(210px, 60vw);
}

.primary-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a.active {
  color: var(--forest);
}

.primary-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -27px;
  left: 0;
  height: 3px;
  content: "";
  border-radius: 2px 2px 0 0;
  background: var(--coral);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.mobile-menu-toggle {
  display: none;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 6vw;
  align-items: start;
  background: var(--white);
}

.contact-form-intro h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: -0.035em;
}

.contact-form-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.contact-direct-details {
  display: grid;
  gap: 22px;
  margin: 32px 0;
}

.contact-direct-details dt {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-direct-details dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-booking-note {
  padding: 24px;
  border-radius: 18px;
  background: var(--mint-light);
}

.contact-booking-note h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.contact-booking-note p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(23, 59, 58, 0.04);
}

.contact-form .form-field > span {
  font-size: 13px;
}

.contact-form textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
}

.contact-form textarea:focus {
  outline: 0;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(25, 78, 73, 0.1);
}

.contact-field-note {
  margin: -12px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.contact-form-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.contact-submit {
  gap: 18px;
  border: 0;
  cursor: pointer;
}

.contact-submit:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.contact-form-bottom p {
  flex: 1 1 180px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.contact-form-status {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: var(--mint);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.contact-form-status a {
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .contact-form-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }
}

.language-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-button {
  padding: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.crisis-button {
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: 6vw;
  align-items: end;
  padding: 86px 5vw 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(220, 236, 231, 0.8), transparent 28%),
    linear-gradient(135deg, var(--cream), var(--paper));
}

.hero > *,
.directory > * {
  min-width: 0;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.8vw, 76px);
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 630px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.support-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid #efcfc4;
  border-radius: 18px;
  background: var(--coral-light);
}

.support-note strong {
  font-size: 14px;
}

.support-note p {
  margin: 3px 0 0;
  color: #6d514a;
  font-size: 12px;
  line-height: 1.45;
}

.support-note > a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-counselors {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: end;
  min-width: 0;
}

.hero-counselor-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px 28px 28px 6px;
  background: var(--mint);
  box-shadow: 0 22px 48px rgba(23, 59, 58, 0.14);
}

.hero-counselor-card img,
.hero-counselor-label {
  transition: opacity 420ms ease;
}

.hero-counselor-card.is-fading img,
.hero-counselor-card.is-fading .hero-counselor-label {
  opacity: 0;
}





.hero-counselor-card:nth-child(2) {
  border-radius: 90px 28px 6px 28px;
}

.hero-counselor-card:nth-child(3) {
  border-radius: 6px 90px 6px 28px;
}

.hero-counselor-card:nth-child(4) {
  border-radius: 28px 6px 28px 28px;
}

.warm-card {
  background: linear-gradient(145deg, #f6be53, #f4d58b);
}

.green-card {
  background: linear-gradient(145deg, #0d875f, #57b58d);
}

.teal-card {
  background: linear-gradient(145deg, #9be6ff, #abd8ff);
}

.orange-card {
  background: linear-gradient(145deg, #f48b4c, #f4b06f);
}

.hero-counselor-card img {
  width:100%;
}

.hero-counselor-label {
  padding: 0.5rem 1rem 1rem 1rem;
}

.hero-counselor-label strong,
.hero-counselor-label span {
  display: block;
}

.hero-counselor-label strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.hero-counselor-label span {
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.9;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.primary-action {
  color: var(--white);
  background: var(--forest);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--forest);
  background: var(--white);
}

.content-section {
  padding: 76px 5vw;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 6vw;
  background: var(--white);
}

.split-section h2,
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.035em;
}

.section-copy p,
.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.section-copy {
  display: grid;
  gap: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 13px;
}

.pillars-section {
  background: var(--mint-light);
}

.pillars-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 7px 24px rgba(23, 59, 58, 0.04);
}

.info-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--forest);
  background: var(--mint);
  font-weight: 700;
}

.info-card h3,
.service-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.info-card p,
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.services-section {
  background: var(--paper);
}

.service-card {
  min-height: 190px;
}

.quote-section {
  text-align: center;
  background: var(--cream);
}

.quote-section blockquote {
  max-width: 850px;
  margin: 0 auto 18px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.quote-section p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-weight: 700;
}

.directory {
  padding: 76px 5vw 96px;
  background: var(--white);
}

.directory-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.directory-heading h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.03em;
}

.results-count {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.section-intro {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mint-light);
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-strip span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-strip strong,
.contact-strip a {
  color: var(--forest);
  font-weight: 700;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.provider-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 7px 24px rgba(23, 59, 58, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.provider-card-top {
  display: flex;
  gap: 14px;
  padding: 21px 21px 16px;
}

.provider-avatar {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  color: var(--forest);
  background: linear-gradient(145deg, var(--mint), #bfd7ce);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.provider-photo {
  display: block;
  object-fit: cover;
  object-position: center;
}

.provider-card h3 {
  margin: 1px 0 4px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.provider-role {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.verified {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 7px;
  color: #2a7165;
  font-size: 10px;
  font-weight: 700;
}

.verified::before {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  content: "✓";
  border-radius: 50%;
  color: var(--white);
  background: #3e8f81;
  font-size: 9px;
}

.provider-details {
  padding: 0 21px 19px;
}

.provider-details h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 48px;
  margin-bottom: 17px;
}

.specialty {
  height: fit-content;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: var(--cream);
  font-size: 10px;
  font-weight: 600;
}

.provider-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid #edf1ee;
  border-bottom: 1px solid #edf1ee;
}

.provider-meta-single {
  grid-template-columns: 1fr;
}

.meta-item {
  display: flex;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 11px;
}

.meta-item span:first-child {
  color: var(--forest);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}

.fee {
  display: flex;
  flex-direction: column;
  color: var(--ink-soft);
  font-size: 9px;
  text-transform: uppercase;
}

.fee strong {
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
}

.fee strong {
  overflow-wrap: anywhere;
}

.view-profile {
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  color: var(--white);
  background: var(--forest);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.help-now {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 70px 8vw;
  color: var(--white);
  background: var(--forest-dark);
}

.help-now h2 {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
}

.help-now p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #c9dbd5;
}

.help-now button {
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #bfd0cb;
  background: rgba(255, 255, 255, 0.08);
}

.profile-dialog {
  width: min(570px, calc(100% - 30px));
  max-height: min(820px, calc(100vh - 30px));
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.profile-dialog::backdrop {
  background: rgba(8, 37, 35, 0.65);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(23, 59, 58, 0.12);
  cursor: pointer;
}

.profile-hero {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 34px 28px 25px;
  background: var(--mint);
}

.profile-hero .provider-avatar {
  width: 75px;
  height: 75px;
  border: 3px solid rgba(255, 255, 255, 0.75);
}

.profile-hero h2 {
  margin-bottom: 3px;
  font-size: 25px;
}

.profile-body {
  padding: 26px 28px 30px;
}

.profile-body h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.profile-body > p {
  margin: 0 0 23px;
  color: var(--ink-soft);
  font-size: 13px;
}

.profile-section {
  margin-bottom: 23px;
}

.profile-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.profile-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.compact-list {
  gap: 5px;
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.profile-actions button {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--forest);
  border-radius: 10px;
  color: var(--forest);
  background: transparent;
  font-weight: 700;
}

.profile-actions button:first-child {
  color: var(--white);
  background: var(--forest);
}

.form-heading {
  padding: 31px 28px 23px;
  background: var(--mint);
}

.form-heading .eyebrow {
  margin-top: 24px;
  margin-bottom: 7px;
}

.form-heading h2 {
  margin-bottom: 8px;
  padding-right: 22px;
  font-size: 25px;
}

.form-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.back-button {
  padding: 0;
  border: 0;
  color: var(--forest);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.consultation-form {
  display: grid;
  gap: 19px;
  padding: 25px 28px 30px;
}

.urgent-form-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 14px;
  border: 1px solid #efcfc4;
  border-radius: 10px;
  color: #6d514a;
  background: var(--coral-light);
  font-size: 11px;
}

.urgent-form-note strong {
  color: #7c3f34;
  font-size: 12px;
}

.urgent-form-note a {
  color: #7c3f34;
  font-weight: 700;
  text-decoration: underline;
}

.consultation-form fieldset {
  padding: 0;
  border: 0;
}

.consultation-form legend,
.form-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.form-field small {
  color: var(--ink-soft);
  font-weight: 500;
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.choice-card input:checked + span {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(216, 111, 89, 0.3);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(25, 78, 73, 0.1);
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 11px;
  cursor: pointer;
}

.consent-field input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.submit-request {
  width: 100%;
  min-height: 47px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--forest);
  font-weight: 700;
  cursor: pointer;
}

.form-privacy {
  margin: -8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
}

.request-confirmation {
  padding: 48px 32px 34px;
  text-align: center;
}

.confirmation-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--white);
  background: #3e8f81;
  font-size: 25px;
  font-weight: 700;
}

.request-confirmation h2 {
  margin-bottom: 11px;
  font-size: 28px;
}

.request-confirmation > p:not(.eyebrow) {
  margin: 0 auto 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

.request-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  text-align: left;
}

.request-summary div {
  padding: 12px;
  background: var(--white);
}

.request-summary dt {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.request-summary dd {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.prototype-notice {
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 8px;
  color: #6d514a;
  background: var(--coral-light);
  font-size: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 8vw;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

@media (max-width: 1060px) {
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 1rem;
  }

  .primary-nav,
  .language-button {
    display: none;
  }

  .brand img {
    width: min(178px, 48vw);
  }

  .crisis-button {
    padding: 10px 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 58px 20px 45px;
  }

  .hero-counselors {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-counselor-card,
  .hero-counselor-large,
  .hero-counselor-card:nth-child(4) {
    min-height: 260px;
    margin-top: 0;
  }

  .hero-counselor-card:nth-child(2),
  .hero-counselor-card:nth-child(3) {
    margin-top: 0;
  }



  .hero-counselor-label {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px;
  }

  .content-section {
    padding: 54px 20px;
  }

  .split-section,
  .pillars-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .service-card {
    min-height: auto;
  }

  .contact-actions {
    justify-content: flex-start;
    margin-top: 25px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .directory {
    padding: 54px 20px 70px;
  }

  .directory-heading {
    display: block;
  }


  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-count {
    margin-top: 10px;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .help-now {
    display: block;
    padding: 55px 20px;
  }

  .help-now button {
    margin-top: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-heading,
  .consultation-form {
    padding-right: 20px;
    padding-left: 20px;
  }

  footer {
    display: block;
    padding: 30px 20px;
  }

  footer p {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Client content pages share the existing warm, light visual language. */
.article-layout.standalone-article {
  display: block;
  max-width: 800px;
}

.standalone-article .reading-content {
  max-width: none;
}

.resource-back {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.resource-next {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero.resource-hub-hero {
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 6vw;
}

.resource-learning-note {
  margin: 20px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.resource-hero-note {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 72px 24px 24px 24px;
  background: var(--mint);
}

.resource-note-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--forest);
  background: var(--paper);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 34px;
}

.resource-hero-note h2 {
  font-size: 30px;
  line-height: 1.2;
}

.resource-hero-note p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.resource-hub-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.resource-hub-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.resource-hub-heading > p {
  color: var(--ink-soft);
  margin: 0;
}

.resource-topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.resource-topic {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.resource-topic:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.resource-topic-mint {
  background: var(--mint-light);
}

.resource-topic-cream {
  background: var(--cream);
}

.resource-topic-peach {
  background: #fcf0e9;
}

.resource-topic-blue {
  background: #eef5f8;
}

.resource-topic-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.resource-topic-top .eyebrow {
  margin: 0;
  color: var(--forest);
}

.resource-topic-number {
  color: var(--ink-soft);
  font-size: 14px;
}

.resource-topic h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.2;
}

.resource-topic p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.resource-topic p.resource-topic-meta {
  margin: 24px 0;
  font-size: 13px;
}

.resource-topic-link {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.resource-therapy-feature {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding: 36px;
  border-radius: 24px;
  background: var(--mint);
}

.resource-therapy-feature h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.resource-therapy-feature p:not(.eyebrow) {
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0;
}

.resource-therapy-feature .secondary-action {
  flex-shrink: 0;
}

.resource-support-section {
  background: var(--white);
}

.resource-support-section .crisis-panel {
  margin: 44px 0 0;
}

@media (max-width: 760px) {
  .hero.resource-hub-hero,
  .resource-topic-grid {
    grid-template-columns: 1fr;
  }

  .resource-hub-heading,
  .resource-therapy-feature {
    display: block;
  }

  .resource-hub-heading > p {
    margin-top: 16px;
  }

  .resource-topic,
  .resource-therapy-feature {
    padding: 26px;
  }

  .resource-therapy-feature .secondary-action {
    margin-top: 24px;
  }
}

.therapy-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 6vw;
  align-items: start;
  background: var(--white);
}

.therapy-overview-copy h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.035em;
}

.therapy-overview-copy p:not(.eyebrow),
.therapy-booking-card p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.therapy-booking-card {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mint-light);
}

.therapy-booking-card h2 {
  margin: 0;
  font-size: 30px;
}

.therapy-booking-card p {
  margin: 0;
}

.therapy-booking-card .text-link {
  font-size: 14px;
}

.therapy-content .reading-content > section {
  margin-bottom: 50px;
  scroll-margin-top: 160px;
}

.therapy-content .reading-content > section > h2:first-child {
  margin-top: 0;
}

.session-duration {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--mint);
  font-size: 14px;
}

.therapy-steps {
  list-style: none;
  padding: 0;
  counter-reset: session-step;
}

.therapy-steps li {
  position: relative;
  padding: 24px 24px 24px 80px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  counter-increment: session-step;
}

.therapy-steps li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  content: counter(session-step);
  color: var(--forest);
  background: var(--mint);
  font-weight: 700;
}

.therapy-steps h3 {
  margin: 0 0 10px;
}

.therapy-steps p {
  margin: 0;
}

.therapy-faq {
  display: grid;
  gap: 12px;
}

.therapy-question {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.therapy-question summary {
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.therapy-question p {
  margin-bottom: 0;
}

.therapy-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.therapy-fit-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mint-light);
  font-size: 15px;
}

.therapy-fit-card:last-child {
  background: var(--cream);
}

.therapy-fit-card h3 {
  margin-top: 0;
}

.therapy-ready {
  padding: 28px;
  border-radius: 18px;
  background: var(--mint-light);
}

@media (max-width: 760px) {
  .therapy-overview,
  .therapy-fit-grid {
    grid-template-columns: 1fr;
  }

  .therapy-steps li {
    padding: 22px 18px 22px 64px;
  }

  .therapy-steps li::before {
    left: 16px;
    width: 32px;
    height: 32px;
  }

  .therapy-question {
    padding: 18px;
  }
}

.site-header {
  grid-template-columns: auto 1fr auto;
  gap: 24px;
}

.primary-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.primary-nav a {
  white-space: nowrap;
}

.primary-nav a.active::after {
  bottom: -6px;
}

.page-hero {
  grid-template-columns: 1fr;
  padding-top: 66px;
  padding-bottom: 58px;
}

.page-hero .hero-copy {
  max-width: 1000px;
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(38px, 4.8vw, 66px);
}

.page-hero .hero-intro {
  max-width: 820px;
}






.service-card .text-link,
.service-card > .primary-action,
.service-card .hero-actions {
  margin-top: 22px;
}

.service-card .service-aim,
.service-aim {
  margin-top: 16px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
}

section[id] {
  scroll-margin-top: 120px;
}

.text-link {
  display: inline-block;
  color: var(--forest);
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-link:hover,
.reading-content a:hover {
  text-decoration: underline;
}

.team-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card,
.partner-name {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.team-card h3,
.partner-name h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.3;
}

.partner-name {
  display: flex;
  align-items: center;
  min-height: 150px;
  background: var(--mint-light);
}

.partner-name:nth-child(3n + 2) {
  background: var(--cream);
}

.team-subheading {
  margin-top: 48px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 6vw;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 140px;
}

.article-sidebar nav {
  display: grid;
  gap: 10px;
}

.article-sidebar a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.article-sidebar [aria-current="page"] {
  background: var(--mint);
  font-weight: 700;
}

.reading-content {
  min-width: 0;
  max-width: 780px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.reading-content h2 {
  margin: 38px 0 16px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.3;
}

.reading-content h3 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: 21px;
}

.reading-content li {
  margin: 9px 0;
}

.reading-content ul {
  padding-left: 24px;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.reading-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.reading-content th,
.reading-content td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.reading-content th {
  color: var(--ink);
  background: var(--mint);
}

.reading-content tr:nth-child(even) {
  background: var(--mint-light);
}

.crisis-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin: 0 0 48px;
  padding: 26px;
  border: 1px solid #efcfc4;
  border-radius: 20px;
  color: var(--ink);
  background: var(--coral-light);
}

.crisis-panel > div {
  flex: 1 1 300px;
}

.crisis-panel p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.crisis-panel p a {
  font-weight: 700;
  text-decoration: underline;
}

.crisis-source {
  flex-basis: 100%;
  font-size: 12px;
}

.reading-content .crisis-panel {
  margin-top: 40px;
  margin-bottom: 0;
}

.expanded-footer {
  align-items: start;
  gap: 36px;
}

.expanded-footer p {
  margin-top: 16px;
  font-size: 13px;
}

.expanded-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 16px 32px;
  font-size: 14px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  
  .article-sidebar {
    top: 180px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding: 46px 20px;
  }

  .header-actions .primary-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
  }

  .primary-nav {
    gap: 8px 16px;
  }

  .team-grid,
  .partner-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }

  .article-sidebar a {
    font-size: 12px;
  }

  .reading-content {
    font-size: 16px;
  }

  .expanded-footer nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .crisis-panel {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .site-header.has-mobile-menu {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .has-mobile-menu .brand img {
    width: min(130px, 29vw);
  }

  .has-mobile-menu .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .has-mobile-menu .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--forest);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header.has-mobile-menu .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: min(600px, calc(100dvh - 80px));
    overflow-y: auto;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(23, 59, 58, 0.1);
  }

  .site-header.is-menu-open .primary-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .has-mobile-menu .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .has-mobile-menu .primary-nav a:hover,
  .has-mobile-menu .primary-nav a.active {
    background: var(--mint-light);
  }

  .has-mobile-menu .primary-nav a.active::after {
    display: none;
  }

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
  }
}
