/* Root theme variables and colour palette */
:root {
  --bg: #f6f4ee;
  --bg-soft: #fbfaf7;
  --card: rgba(255, 255, 255, 0.86);
  --card-strong: #ffffff;
  --text: #24303a;
  --muted: #5c6972;
  --line: rgba(36, 48, 58, 0.12);
  --teal: #2e7a7b;
  --teal-dark: #1f5e60;
  --sage: #8ba792;
  --gold: #c5a35e;
  --shadow: 0 12px 30px rgba(36, 48, 58, 0.05);
  --shadow-soft: 0 4px 12px rgba(36, 48, 58, 0.04);
  --radius: 30px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Global reset and base typography */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 163, 94, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(46, 122, 123, 0.09), transparent 24%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Core page layout and container sizing */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

/* Header and navigation styling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(36, 48, 58, 0.08);
}

.nav-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0 0.82rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.2rem 0.75rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.42));
}

.site-logo {
  width: min(280px, 100%);
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(46, 122, 123, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 2px 0;
  background: var(--teal-dark);
  border-radius: 999px;
}

.site-nav {
  width: 100%;
  max-width: 1100px;
  padding: 0.3rem;
  border: 1px solid rgba(36, 48, 58, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav ul::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] {
  background: rgba(139, 167, 146, 0.18);
  border-color: rgba(139, 167, 146, 0.28);
  color: var(--teal-dark);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
}

main {
  flex: 1;
}

.page-section {
  padding: 4rem 0;
}

.page-section + .page-section {
  padding-top: 0;
}

.hero-section,
.inner-hero-section {
  padding-top: 4.6rem;
}

/* Primary layout grids for hero, columns, and page sections */
.hero-layout,
.feature-split,
.two-column,
.contact-layout,
.location-layout,
.profile-layout,
.therapy-layout,
.contact-hero-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

.profile-layout {
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(46, 122, 123, 0.1);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.intro {
  max-width: 860px;
}

/* Panel and card components */
.panel {
  background: var(--card);
  border: 1px solid rgba(36, 48, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  transition: box-shadow 0.3s ease;
}

.panel-rich {
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 249, 0.95));
  border: 1px solid rgba(46, 122, 123, 0.1);
}

.panel-rich-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(139, 167, 146, 0.05));
}

.hero-visual-stack,
.therapy-side-stack {
  display: grid;
  gap: 1.25rem;
}

.hero-visual-stack {
  max-width: 440px;
  justify-self: end;
}

.media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: var(--card-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-frame img,
.full-image img,
.resource-thumb img,
.feature-media img,
.profile-portrait img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.feature-illustration {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow-soft);
}

.feature-illustration img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.media-large img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.media-wide img,
.full-image img,
.profile-portrait img {
  border-radius: calc(var(--radius) + 4px);
}

.profile-portrait img {
  width: 100%;
  max-width: 240px;
  object-fit: cover;
  object-position: center 18%;
}

.full-image img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  object-position: center;
}

.resource-thumb {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.resource-thumb img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.quote-card {
  display: grid;
  gap: 0.85rem;
}

.quote-thumb {
  overflow: hidden;
  border-radius: 22px;
}

.quote-thumb img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-secondary-image img {
  aspect-ratio: 1 / 0.84;
  object-fit: cover;
  object-position: center;
}

.statement-shell-single {
  max-width: 760px;
}

.quote-card p,
.credential-line {
  margin: 0;
  font-size: 1.02rem;
}

.profile-copy,
.process-panel,
.contact-copy {
  align-self: stretch;
}

.location-card,
.contact-form-shell,
.fee-card,
.support-card {
  height: 100%;
}

.location-card,
.contact-form-shell,
.fee-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244, 249, 248, 0.95));
}

.location-map {
  grid-column: 1 / -1;
}

.map-shell {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-shell h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.map-frame {
  position: relative;
  width: 100%;
  padding-bottom: 55%;
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-note {
  margin-top: 1.5rem;
  box-shadow: none;
}

.section-soft {
  position: relative;
}

.section-soft::before {
  content: '';
  position: absolute;
  inset: 2rem 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
  pointer-events: none;
}

.feature-panel {
  height: auto;
}

.home-feature-stack {
  display: grid;
  gap: 5rem;
}

.difficulties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.difficulty-section {
  background: rgba(46, 122, 123, 0.03);
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 122, 123, 0.08);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.difficulty-section:hover {
  background: rgba(46, 122, 123, 0.05);
}

.difficulty-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sage);
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
}

.difficulty-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.difficulty-section li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid rgba(36, 48, 58, 0.05);
  font-size: 0.95rem;
  color: var(--text);
}

.difficulty-section li:last-child {
  border-bottom: none;
}

.difficulty-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  top: 0.6rem;
}

.therapy-types-panel {
  align-items: center;
}

.feature-panel-accent {
  background: linear-gradient(180deg, rgba(46, 122, 123, 0.1), rgba(255,255,255,0.92));
}

.statement-shell {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

/* Button groups and primary actions */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button-row.contact-actions {
  margin-top: 1rem;
}

.hero-copy p,
.statement-copy p,
.contact-copy p {
  max-width: 70ch;
}

.media-frame img {
  filter: saturate(0.98) contrast(1.02);
}

.expect-panel {
  padding: 2rem;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.expect-card {
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(36, 48, 58, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.expect-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-soft);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border-color: rgba(46, 122, 123, 0.28);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #fff;
}

.list-columns {
  columns: 2;
  column-gap: 2rem;
}

.difficulties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.difficulty-section {
  background: rgba(46, 122, 123, 0.03);
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 122, 123, 0.08);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.difficulty-section:hover {
  background: rgba(46, 122, 123, 0.05);
}

.difficulty-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sage);
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
}

.difficulty-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  top: 0.6rem;
}

.difficulty-section {
  background: rgba(46, 122, 123, 0.03);
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 122, 123, 0.08);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.difficulty-section:hover {
  background: rgba(46, 122, 123, 0.05);
}

.difficulty-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sage);
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
}

.difficulty-section ul {
  list-style: none;
  padding: 0;
}

.difficulty-section li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid rgba(36, 48, 58, 0.05);
  font-size: 0.95rem;
}

.difficulty-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  top: 0.6rem;
}

.simple-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  align-items: stretch;
}

.resource-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.3rem;
  min-width: 0;
  height: 100%;
}

.resource-card p,
.resource-card li,
.resource-card h2,
.resource-card .lead {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(243, 248, 247, 0.94));
}

.centered-cta {
  text-align: center;
}

.fee-heading {
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(36, 48, 58, 0.12);
}

.fee-list li:last-child {
  border-bottom: 1px solid rgba(36, 48, 58, 0.12);
}

.fees-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248, 247, 242, 0.96));
}

.fees-copy {
  max-width: 640px;
}

.fees-copy h2 {
  margin-bottom: 1.4rem;
}

.fees-copy p {
  margin-bottom: 1.2rem;
}

.fees-subheading {
  margin: 1.8rem 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.fees-bullet-list {
  margin: 0 0 1.5rem;
  padding-left: 1.35rem;
}

.fees-bullet-list li {
  margin-bottom: 0.85rem;
}

.fees-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fees-visual img {
  width: 100%;
  max-width: 580px;
  height: auto;
}

.crisis-intro {
  max-width: 920px;
}

.crisis-alert {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid #cb5d5d;
  border-radius: 18px;
  background: rgba(203, 93, 93, 0.08);
}

.crisis-alert p {
  margin: 0;
}

.crisis-page-section {
  padding-top: 1rem;
}

.crisis-support-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.crisis-panel,
.crisis-detail,
.crisis-note-strip {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247, 249, 247, 0.94));
}

.crisis-panel {
  padding: 2rem;
}

.crisis-panel-header {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.crisis-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.crisis-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  width: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(36, 48, 58, 0.1);
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.crisis-option:hover,
.crisis-option:focus-visible,
.crisis-option.is-active {
  border-color: rgba(46, 122, 123, 0.34);
  background: rgba(239, 247, 245, 0.98);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.crisis-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(46, 122, 123, 0.1);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.crisis-option-copy {
  display: grid;
  gap: 0.3rem;
}

.crisis-option-copy strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.crisis-option-copy span:last-child {
  color: var(--muted);
}

.crisis-detail {
  position: sticky;
  top: 8.5rem;
  padding: 2rem;
}

.crisis-detail-label {
  margin-bottom: 0.75rem;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crisis-detail h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.crisis-detail-callout {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.crisis-note-strip {
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.94rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(36, 48, 58, 0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
  font: inherit;
  color: inherit;
}

.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(46, 122, 123, 0.1);
  border-radius: 50%;
  border-top-color: currentColor; /* Matches button text color automatically */
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

/* Hide the honeypot field from real users */
.hp-field {
  display: none !important;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
}



.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1rem 0 1.4rem;
  background: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(36, 48, 58, 0.08);
}

/* Footer layout and branding */
.footer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  align-items: center;
}

.footer-copy {
  max-width: 640px;
  width: 100%;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.footer-logos img {
  height: 52px;
  width: auto;
}

@media (max-width: 720px) {
  .footer-layout {
    padding: 0 0.85rem;
  }

  .footer-logos {
    justify-content: center;
  }
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(92, 105, 114, 0.3);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-copy a:hover {
  color: var(--teal-dark);
  text-decoration-color: var(--teal-dark);
}

/* Responsive breakpoints for smaller screen sizes */
@media (max-width: 980px) {
  .profile-portrait {
    max-width: 180px;
    margin: 0 auto;
  }
  
  .profile-portrait img {
    max-width: 100%;
  }

  .hero-layout,
  .feature-split,
  .two-column,
  .contact-layout,
  .location-layout,
  .profile-layout,
  .therapy-layout,
  .contact-hero-layout,
  .simple-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .list-columns {
    columns: 1;
  }

  .fees-showcase {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .fees-copy {
    max-width: none;
  }

  .fees-visual {
    order: -1;
  }

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

  .difficulties-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

  .nav-wrapper {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
  }

  .brand {
    justify-self: start;
    padding-inline: 0;
    background: transparent;
  }

  .site-logo {
    width: min(290px, 100%);
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 0.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    justify-content: center;
    width: 100%;
    min-height: 2.8rem;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(36, 48, 58, 0.08);
  }

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

  .crisis-support-shell {
    grid-template-columns: 1fr;
  }

  .crisis-option-grid {
    grid-template-columns: 1fr;
  }

  .crisis-option {
    grid-template-columns: 1fr;
  }

  .crisis-option-copy {
    min-width: 0;
  }

  .crisis-panel,
  .crisis-detail,
  .crisis-note-strip {
    padding: 1.4rem;
  }
}

@media (max-width: 720px) {
  .profile-portrait img,
  .media-large img,
  .full-image img,
  .resource-thumb img {
    aspect-ratio: auto;
  }

  .crisis-option {
    padding: 1rem;
  }

  .crisis-option-icon {
    justify-self: start;
  }
}

.crisis-detail-close {
  display: none;
  margin: 0 0 1.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.crisis-detail-open {
  overflow: hidden;
}

body.crisis-detail-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(18, 22, 25, 0.48);
  z-index: 40;
}

@media (max-width: 900px) {
  .crisis-detail {
    display: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .crisis-detail.is-open {
    display: block;
    position: fixed;
    inset: 4rem 1rem 1rem;
    z-index: 51;
    max-width: 720px;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
  }

  .crisis-detail-close {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .page-section,
  .hero-section,
  .inner-hero-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .panel,
  .panel-rich,
  .resource-card {
    padding: 1.1rem;
  }

  .hero-layout {
    gap: 1.2rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .site-header {
    padding: 0.55rem 0 0.7rem;
  }

  .nav-wrapper {
    gap: 0.5rem;
    padding: 0.65rem 0 0.75rem;
  }

  .site-nav a {
    min-height: 2.3rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.88rem;
  }

  .footer-layout {
    gap: 0.65rem;
  }

  .footer-title {
    font-size: 0.95rem;
  }

  .meta {
    font-size: 0.88rem;
  }

  .footer-logos img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .site-logo {
    width: min(240px, 100%);
  }

  .site-nav a {
    min-height: 2.2rem;
    padding: 0.3rem 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}




















.resource-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.resource-card-link:hover,
.resource-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}


.resource-actions {
  margin-top: 0.75rem;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card-strong);
  color: var(--teal-dark);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* Active FAQ accordion item styling */
.faq-item[open] {
  border-left: 3px solid var(--teal);
  padding-left: 1.2rem;
  background: rgba(46, 122, 123, 0.03);
  border-radius: 8px;
}

.faq-item[open] summary {
  color: var(--teal-dark);
  font-weight: 600;
}

/* Enhanced JSON-LD structured data — see HTML files */


/* ===== Print stylesheet ===== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .site-header,
  .site-footer,
  .nav-toggle,
  .skip-link,
  .back-to-top,
  .btn,
  .button-row,
  .crisis-detail-close {
    display: none !important;
  }

  .page-section {
    padding: 0.5rem 0;
    break-inside: avoid;
  }

  .panel,
  .panel-rich,
  .panel-rich-light {
    border: 1px solid #ccc;
    padding: 1rem;
  }

  .hero-layout,
  .feature-split,
  .profile-layout,
  .contact-layout,
  .location-layout,
  .therapy-layout,
  .contact-hero-layout {
    grid-template-columns: 1fr;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555 !important;
  }

  a[href^="tel:"]::after,
  a[href^="mailto:"]::after,
  a[href^="#"]::after,
  .brand a::after,
  .footer-copy a::after {
    content: "";
  }

  img {
    max-width: 100%;
    break-inside: avoid;
  }

  .map-frame,
  .map-shell {
    display: none;
  }

  h1, h2, h3 {
    break-after: avoid;
  }
}
