/* Palette sampled from the practice's Facebook graphics.
   Cream #F4EFE6, heading olive #343E2B, terracotta #835A32.
   Button sage is #5E6A50 (the graphic's button is closer to #717B64;
   this darker sage keeps the same hue and gives white text a 5.7:1 contrast). */

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-baskerville-400.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-baskerville-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/libre-baskerville-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --cream: #f4efe6;
  --cream-deep: #e9e4d8;
  --sage-wash: #e7efe4;
  --paper: #fffbf6;
  --ink: #243024;
  --ink-soft: #3e4a3c;
  --olive: #343e2b;
  --sage: #5e6a50;
  --sage-deep: #4e5a44;
  --link: #345032;
  --terracotta: #835a32;
  --line: #ddd0be;
  --danger: #8c2f2f;
  --danger-bg: #f8ebe6;
  --serif: "Libre Baskerville", Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(52, 62, 43, 0.08);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 420px at 8% -10%, #efe4d4 0%, transparent 55%),
    var(--cream);
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--olive);
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: var(--olive);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.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;
}

.wrap {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

main:focus {
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.96);
  border-bottom: 1px solid var(--line);
  border-top: 4px solid var(--olive);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  flex: none;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--olive);
}

.brand-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.nav-toggle {
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.75rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
  font-size: 1.05rem;
}

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

.site-nav a[aria-current="page"] {
  color: var(--olive);
  box-shadow: inset 0 -2px 0 var(--terracotta);
  font-weight: 600;
}

.site-nav.is-open {
  display: block;
  flex: 1 0 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.25rem 0.9rem 0.4rem;
  margin-bottom: 0.85rem;
}

.hero {
  padding: 2rem 0 2.4rem;
}

.hero-grid,
.consult-layout,
.split,
.about-grid,
.trio {
  display: grid;
  gap: 1.5rem;
}

.lede {
  margin: 0 0 0.85rem;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.3;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 16rem);
  margin: 0.8rem 0 0.95rem;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--terracotta);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  border: 2px solid var(--sage);
  background: var(--sage);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #fff;
}

.btn:disabled {
  cursor: wait;
}

.btn-secondary {
  background: transparent;
  color: var(--olive);
}

.btn-secondary:hover {
  background: #e4e6dc;
  border-color: var(--sage);
  color: var(--olive);
}

.practice-card,
.card,
.contact-card,
.consult-form,
.form-success {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.practice-card,
.contact-card {
  padding: 1.35rem 1.25rem 1.2rem;
}

.practice-card h2,
.contact-card h2 {
  font-size: 1.55rem;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.facts li {
  display: grid;
  gap: 0.1rem;
}

.fact-label {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-note {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.section {
  padding: 2.4rem 0;
}

.section-lead,
.dek,
.prose p,
.about-copy > p {
  max-width: 40rem;
}

.dek {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.band {
  background: var(--cream-deep);
}

.page-head {
  padding: 2.1rem 0 0.4rem;
}

.card-grid,
.jump,
.pills,
.site-footer ul,
.footer-grid address {
  list-style: none;
}

.card-grid {
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.1rem 1.15rem 1.2rem;
  border-top: 3px solid var(--terracotta);
  box-shadow: none;
}

.card p {
  margin: 0;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.1rem 0 0;
  padding: 0;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
}

.pills li {
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  color: var(--olive);
}

.consult-band {
  background: var(--sage-wash);
  padding: 2.4rem 0 2.8rem;
}

.consult-form,
.form-success {
  padding: 1.15rem 1.1rem 1.25rem;
}

.form-note,
.hint {
  color: var(--ink-soft);
  font-size: 1rem;
}

.form-note {
  margin-top: 0;
}

.crisis-inline {
  border-left: 3px solid var(--terracotta);
  padding-left: 0.8rem;
}

.field {
  margin: 0 0 1rem;
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

.field label,
.choices legend {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.req {
  color: var(--terracotta);
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid #7a6e60;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  min-height: 48px;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

fieldset[aria-invalid="true"] {
  outline: 2px solid var(--danger);
  outline-offset: 4px;
  border-radius: 10px;
}

.choices {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.choices legend {
  padding: 0;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 44px;
  font-weight: 400;
}

.choice input {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.15rem;
  border: 2px solid var(--sage-deep);
  background: #fff;
  flex: none;
}

.choice input[type="radio"] {
  border-radius: 50%;
}

.choice input[type="checkbox"] {
  border-radius: 4px;
}

.choice input[type="radio"]:checked {
  background: radial-gradient(circle at center, #fff 0 0.22rem, var(--sage-deep) 0.28rem);
}

.choice input[type="checkbox"]:checked {
  background: var(--sage-deep) url("/images/check.svg") center / 0.8rem no-repeat;
}

.hint {
  margin: 0.4rem 0 0;
}

.field-error {
  color: var(--danger);
  font-size: 1rem;
  margin: 0.35rem 0 0;
}

.error-summary {
  background: var(--danger-bg);
  border: 2px solid var(--danger);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}

.error-summary p {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--danger);
}

.error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.error-summary a {
  color: var(--danger);
}

.form-success h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fill-in {
  border: 2px dashed var(--terracotta);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 1.1rem 0;
}

.fill-in p {
  margin: 0;
}

.fill-in p + p {
  margin-top: 0.55rem;
}

.fill-in-label {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.portrait {
  margin: 0;
  max-width: 22rem;
}

.portrait img {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #e4e6dc;
}

.portrait figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.spec {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.spec div {
  display: grid;
  gap: 0.15rem;
}

.spec dt {
  font-weight: 700;
  color: var(--olive);
}

.spec dd {
  margin: 0;
}

.service + .service,
.approach-block + .approach-block {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.35rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--olive);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--terracotta);
  font-size: 1.5rem;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  max-width: 42rem;
  margin-top: 0;
}

.page-narrow {
  padding: 3rem 0 4rem;
  max-width: 40rem;
}

.site-footer {
  background: var(--olive);
  color: var(--cream);
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  padding: 2rem 0 1.6rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
}

.footer-license,
.site-footer p {
  margin: 0;
}

.site-footer address {
  font-style: normal;
  display: grid;
  gap: 0.2rem;
}

.site-footer a {
  color: var(--cream);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.crisis-bar {
  background: #2a3326;
  border-top: 3px solid var(--terracotta);
  padding: 0.85rem 0;
  text-align: center;
  font-weight: 600;
}

.crisis-bar p {
  margin: 0;
}

@media (min-width: 40rem) {
  .wrap {
    width: min(100% - 3rem, 70rem);
  }

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

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

  .spec div {
    grid-template-columns: 11rem 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
  }
}

@media (min-width: 60rem) {
  .hero {
    padding: 3.2rem 0 3.4rem;
  }

  .hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }

  .section {
    padding: 3.4rem 0;
  }

  .split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 16rem 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .about-grid .portrait {
    order: -1;
  }

  .trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .consult-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.4rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: start;
  }
}

@media (min-width: 68rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    flex: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .site-nav a {
    font-size: 0.98rem;
    padding: 0 0.4rem;
  }
}

@media (min-width: 64rem) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--cream);
    backdrop-filter: none;
  }
}

@media print {
  .skip-link,
  .nav-toggle {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    display: block !important;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
  }

  body {
    background: #fff;
  }
}
