/* Tea with a Trauma Therapist: landing page */
:root {
  --bg: #2B2E33;
  --bg-band: #3A3D43;
  --surface: #E9E6E1;
  --ink: #2A2C30;
  --ink-soft: #4A4D52;
  --text: #E9E6E1;
  --text-soft: #C9CBD0;
  --text-muted: #B5B8BD;
  --brass: #B8995A;
  --pewter: #8D9096;
  --line: #4A4E55;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.card :focus-visible { outline-color: var(--ink); }
h2[tabindex="-1"]:focus { outline: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--surface); color: var(--ink); padding: 10px 16px;
}
.skip-link:focus { top: 16px; }

/* Type */
h1, h2, .brand, .card-title, .numeral { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; }
.label { color: var(--brass); font-size: 0.9rem; margin-bottom: 14px; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--text-soft); max-width: 30rem; }

/* Buttons */
.btn {
  display: inline-block; min-height: 44px; padding: 10px 24px;
  border: 1px solid var(--brass); color: var(--brass);
  text-decoration: none; font-size: 0.95rem; line-height: 1.4;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--brass); color: var(--ink); }
.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--surface); }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; min-height: 80px; gap: 8px 24px;
}
.brand { color: var(--brass); font-size: 1.5rem; text-decoration: none; }
.site-nav { display: flex; gap: 28px; font-size: 0.95rem; color: var(--text-muted); }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--text); text-decoration: underline; }
.nav-toggle {
  display: none; min-height: 44px; padding: 0 16px; background: none;
  color: var(--text-muted); border: 1px solid var(--line); font: inherit; cursor: pointer;
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: center; padding-top: 56px; padding-bottom: 88px;
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 36px; }
.portrait img, .portrait .placeholder {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 200px 200px 8px 8px;
}

.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px; text-align: center; font-size: 0.9rem;
  background: #4A4E55; border: 1px dashed var(--pewter); color: #D4D6DA;
}

/* Intro */
.intro {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 96px;
  border-top: 1px solid var(--line);
}
.intro-body { font-size: 1.05rem; line-height: 1.7; color: var(--text-soft); max-width: 36rem; }
.intro-body p + p { margin-top: 16px; }
.credentials { font-size: 0.95rem; color: var(--text-muted); }

/* Clinician cards */
.clinicians { padding-bottom: 96px; }
.clinicians h2 { margin-bottom: 40px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.cards > li { min-width: 0; }
.cards + .cards { margin-top: 32px; }

.card {
  height: 100%; min-height: 440px; aspect-ratio: 2 / 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 28px 30px; text-align: center;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--pewter);
  box-shadow: inset 0 0 0 8px var(--surface), inset 0 0 0 9px var(--pewter);
}
.numeral { font-size: 1.4rem; letter-spacing: .2em; }
.emblem {
  width: 72px; height: 96px; flex: none; fill: none;
  stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.card-text { flex: 1; font-size: 0.9rem; line-height: 1.55; color: var(--ink-soft); }
.card-title { font-size: 1.5rem; font-weight: 600; font-variant: small-caps; letter-spacing: .08em; }

/* Cards built from the PortalCard model */
.card--bg { background-size: cover; background-position: center; }
.card--portal .card-title { flex: 1; display: flex; align-items: center; justify-content: center; }

/* Trust strip */
.trust {
  display: grid; gap: 24px; padding-bottom: 96px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.trust .placeholder { min-height: 120px; }

/* Seeking healing band */
.seeking { background: var(--bg-band); padding: 80px 0; }
.seeking-grid {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.seeking h2 { margin-bottom: 16px; }
.card-single { max-width: 300px; width: 100%; justify-self: center; }

/* Footer */
.site-footer { padding-top: 64px; padding-bottom: 48px; font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }
.site-footer .brand { margin-bottom: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.footer-nav a { padding: 10px 0; }
.site-footer p + p { margin-top: 8px; }

/* One gentle reveal per card; skipped for reduced motion and without JS */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* Small screens */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .portrait { max-width: 360px; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; flex-direction: column; gap: 0; width: 100%; padding-bottom: 12px; }
  .site-nav.is-open { display: flex; }
  .card { aspect-ratio: auto; min-height: 0; }
}

/* Cards: 4 → 2 → 1 columns */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}