/* Root to Bloom Counseling. Organic design-system components with the
   Earth & Growth palette from the design handoff. Values match the handoff
   README; don't add colors or sizes outside these tokens. */

/* Caprasimo and Figtree (SIL Open Font License), latin subsets self-hosted
   from Google Fonts so visitors' browsers don't contact a third party. */
@font-face {
  font-family: "Caprasimo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/caprasimo-latin.woff2") format("woff2");
}
/* Optional post fonts, chosen per post in /admin. Only downloaded on posts that use them. */
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/lora-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("/fonts/lora-latin-wght-italic.woff2") format("woff2");
}
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-italic.woff2") format("woff2"); }
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --color-bg: #F7F0DF;
  --color-surface: #EFE6D0;
  --color-text: #45301F;
  --color-logo-bg: #F5F1E0;

  --color-accent: #3B5B3A;
  --color-accent-100: #EAF2E8; --color-accent-200: #D4E4D1; --color-accent-300: #B3CDAE;
  --color-accent-400: #86AD80; --color-accent-500: #5E8A59; --color-accent-600: #2F4A2E;
  --color-accent-700: #2C462B; --color-accent-800: #213620; --color-accent-900: #162415;

  --color-accent-2: #6A9563;
  --color-accent-2-100: #EDF4EA; --color-accent-2-200: #DAE9D5; --color-accent-2-300: #BCD6B4;
  --color-accent-2-400: #93BA89; --color-accent-2-500: #6A9563; --color-accent-2-600: #557A4F;
  --color-accent-2-700: #43603E; --color-accent-2-800: #33492F; --color-accent-2-900: #223220;

  --color-coral: #F09E6D; --color-coral-100: #FDF0E7; --color-coral-200: #FADCC8; --color-coral-900: #6B3515;

  --color-neutral-700: #645c50;
  --color-divider: color-mix(in srgb, var(--color-text) 16%, transparent);

  --font-heading: "Caprasimo", Georgia, serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --space-1: 4.4px; --space-2: 8.8px; --space-3: 13.2px; --space-4: 17.6px;

  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(46, 43, 37, .14);
  --shadow-md: 0 3px 10px rgba(46, 43, 37, .16);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, .22);

  --gutter: clamp(20px, 5vw, 72px);
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty; overflow-x: clip;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
h1, h2, h3, h4 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0;
}
p { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 20;
  background: var(--color-accent); color: var(--color-bg); padding: 8px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--color-bg); }

/* — buttons (pill) — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 999px;
}
.btn-primary, .btn-primary:hover { color: var(--color-bg); }
.btn-primary { background: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { color: var(--color-text); background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* — cards and tags — */
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: var(--space-3); border-radius: calc(var(--radius-lg) * 1.15);
  background: var(--color-surface);
}
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2; letter-spacing: -0.015em; margin: 0;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px;
}
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — header / nav — */
.utility {
  background: var(--color-accent); text-align: center; padding: 8px var(--gutter);
  font-size: 14px; line-height: 1.4;
}
.utility a { color: var(--color-bg); font-weight: 600; text-underline-offset: 3px; }
.utility a:hover { color: var(--color-accent-100); }
@media (max-width: 600px) { .utility-more { display: none; } }
.clients { padding-block: 96px; gap: 40px; }
.clients .head { max-width: 680px; }
.clients .panel { background: var(--color-surface); align-items: flex-start; }
.clients .panel h2 { font-size: 26px; }
.clients .panel .btn { margin-top: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 10; background: var(--color-bg);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  padding: var(--space-3) max(var(--gutter), calc((100% - 1160px) / 2));
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text);
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 18px;
}
.brand:hover { color: var(--color-text); }
.brand-mark { flex: none; display: block; width: 40px; height: 56px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-toggle { display: none; }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  margin-left: auto; font-size: 16px;
}
.nav-links a:not(.btn) {
  color: var(--color-text); text-decoration: none; padding: 6px 14px;
  border-radius: 999px; white-space: nowrap; font-weight: 500;
}
.nav-links a[aria-current] { font-weight: 700; background: var(--color-accent-100); }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--color-text);
    background: var(--color-accent-100); border: 0; border-radius: 999px;
    padding: 8px 16px; cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .js .nav-links { display: none; }
  .js .nav-links.is-open { display: flex; }
  .nav-links {
    width: 100%; flex-direction: column; align-items: flex-start; gap: 4px;
    margin-left: 0; padding: 8px 0 12px;
  }
  .nav-links .btn { margin-top: 8px; }
}
@media (max-width: 960px) { html:not(.js) .nav-toggle { display: none; } }
@media (max-width: 440px) {
  .site-header { column-gap: 12px; }
  .brand { flex: 1 1 0; min-width: 0; }
  .nav-toggle { padding: 10px; }
  .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* — layout — */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 96px 112px; }
.band { background: var(--color-accent-2-100); }
.band > .container { padding-block: 104px; }
.stack { display: flex; flex-direction: column; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--color-accent-700);
}
.band .eyebrow, .eyebrow-leaf { color: var(--color-accent-2-800); }
.hero-title { font-size: clamp(44px, 6vw, 80px); line-height: 1.06; margin-left: -0.028em; }
.page-title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; }
.section-title { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.intro { font-size: 18px; line-height: 1.6; }
.head { gap: 18px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 280px)), 1fr)); }
.panel { background: var(--color-bg); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.panel p { font-size: 16px; line-height: 1.65; }
.text-link { font-size: 15px; font-weight: 700; align-self: flex-start; }
.muted { color: var(--color-neutral-700); }

/* — home — */
.hero {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}
.hero-copy { gap: 28px; align-items: flex-start; }
.hero-copy > p { font-size: 19px; line-height: 1.6; max-width: 46ch; }
.hero-art { position: relative; justify-self: center; width: min(460px, 100%); aspect-ratio: 1; }
.hero-art .dot { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.hero-art .dot-sage { right: -8%; top: -10%; width: 62%; background: var(--color-accent-2-200); }
.hero-art .dot-coral { left: -6%; bottom: -4%; width: 30%; background: var(--color-coral-200); }
.hero-art .disc {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: var(--color-logo-bg); display: grid; place-items: center;
}
.hero-art .disc img { width: auto; height: 80%; }
.trust { border-block: 1px solid var(--color-divider); }
.trust-list {
  list-style: none; margin-block: 0; padding-block: 22px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  font-size: 15px; color: var(--color-neutral-700);
}
.trust-list li { display: inline-flex; align-items: center; gap: 10px; }
.trust-list svg { width: 20px; height: 20px; flex: none; color: var(--color-accent-2-600); }
.trust-list a { color: inherit; text-underline-offset: 3px; }
.trust-list a:hover { color: var(--color-accent); }
@media (max-width: 600px) {
  .trust-list { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 18px; }
  .trust-list li { min-height: 36px; }
  .trust-list a { display: inline-flex; align-items: center; min-height: 44px; }
}
.affirming {
  background: var(--color-accent-2-100); border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; flex-direction: column; gap: 10px; max-width: 820px;
}
.affirming .eyebrow { color: var(--color-accent-2-800); }
.affirming .h3-like { font-size: 26px; letter-spacing: normal; line-height: normal; color: var(--color-accent-2-900); }
.affirming > p { font-size: 17px; line-height: 1.65; max-width: 64ch; color: var(--color-accent-2-900); }
.reviews {
  padding-block: 104px; display: grid; gap: 32px 64px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.reviews-copy { gap: 28px; align-items: flex-start; }
.reviews-copy > p { font-size: 19px; line-height: 1.65; max-width: 54ch; }
.reviews-copy .btn svg { width: 14px; height: 14px; }

/* — about — */
.about {
  display: grid; gap: 64px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.headshot {
  width: min(420px, 100%); aspect-ratio: 4 / 5; border-radius: 200px 200px 32px 32px;
  overflow: hidden; margin: 0;
}
.headshot img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { gap: 22px; }
.about-copy > p { font-size: 17px; line-height: 1.7; max-width: 58ch; }
.credentials {
  background: var(--color-accent-2-100); border-radius: var(--radius-lg); padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0;
}
.credentials .name { font-weight: 700; font-size: 16px; }
.credentials .pronouns { font-weight: 400; color: var(--color-accent-2-800); }
.credentials li { font-size: 15px; line-height: 1.5; color: var(--color-accent-2-900); }
.credentials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.approach .head { max-width: 700px; }
.approach .section-title { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.12; }
.approach h3 { font-size: 30px; color: var(--color-accent-2-800); letter-spacing: normal; line-height: normal; }
.approach .closing { font-size: 16px; line-height: 1.6; color: var(--color-accent-2-900); }

/* — services — */
.services { gap: 40px; }
.services .head { max-width: 640px; }
.service-dot { width: 48px; height: 48px; border-radius: 50%; }
.concerns { display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; list-style: none; margin: 0; padding: 0; }
.concerns li { font-size: 15px; padding: 8px 16px; }

/* — fees — */
.fees .h3-like { font-size: 26px; letter-spacing: normal; line-height: normal; }
.price-list { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-row dt { font-size: 16px; }
.price-row dd { margin: 0; font-family: var(--font-heading); font-size: 28px; color: var(--color-accent-700); }
.fees .note { font-size: 15px; line-height: 1.6; color: var(--color-neutral-700); }

/* — faq: what to expect — */
.expect { padding-block: 96px 72px; gap: 48px; }
.expect + .faq { padding-top: 32px; }
.expect .section-title { color: var(--color-accent-2-900); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 760px; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 32px; }
.step-rail { display: flex; flex-direction: column; align-items: center; }
.step-icon { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.step-icon svg { width: 30px; height: 30px; }
.step-line { flex: 1; width: 4px; min-height: 40px; margin: 12px 0; border-radius: 999px; background: var(--color-accent-2-200); }
.step-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 0 56px; }
.step:last-child .step-body { padding-bottom: 0; }
.step-body .eyebrow { color: var(--color-accent-2-800); }
.step-body h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: normal; color: var(--color-accent-2-900); }
.step-body p { font-size: 17px; line-height: 1.7; max-width: 52ch; color: var(--color-accent-2-900); }
.expect > .btn { align-self: flex-start; }

/* — faq: accordion — */
.faq {
  padding-block: 112px; display: grid; gap: 40px 64px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.faq-list { display: flex; flex-direction: column; gap: 12px; grid-column: span 2; min-width: 0; }
@media (max-width: 737px) { .faq-list { grid-column: auto; } }
.faq-item { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -2px; border-radius: var(--radius-lg); }
.faq-sign {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-accent-100); color: var(--color-accent-700);
  display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.faq-sign::before { content: "+"; }
.faq-item[open] .faq-sign::before { content: "\2013"; }
.faq-item p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; max-width: 64ch; }

/* — contact — */
.contact {
  padding-block: 96px 48px; display: grid; gap: 32px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.contact-panel {
  position: relative; overflow: hidden; background: var(--color-accent-2-800); color: var(--color-bg);
  border-radius: 48px; padding: clamp(40px, 6vw, 80px) clamp(28px, 6vw, 80px);
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
}
.contact-panel > * { position: relative; }
.contact-panel .circle {
  position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px;
  border-radius: 50%; background: var(--color-accent-2-700);
}
.contact-panel h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: normal; color: var(--color-bg); }
.contact-panel .lede { font-size: 18px; line-height: 1.6; max-width: 50ch; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 18px; font-weight: 600; }
.contact-panel a:not(.btn), .contact-panel a:not(.btn):hover { color: var(--color-bg); }
.btn-light, .btn-light:hover { background: var(--color-bg); color: var(--color-accent-2-900); }
.btn-outline-light, .btn-outline-light:hover { background: transparent; color: var(--color-bg); border: 2px solid var(--color-accent-2-300); }
.contact-panel .fine { font-size: 14px; line-height: 1.55; max-width: 56ch; color: var(--color-accent-2-100); }
.contact-panel :focus-visible { outline-color: var(--color-bg); }
.contact-form {
  background: var(--color-surface); border-radius: 48px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.contact-form .h3-like { font-size: 26px; letter-spacing: normal; line-height: normal; }
.field-row { display: grid; gap: 20px; width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field .req { font-weight: 400; color: var(--color-neutral-700); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  font: inherit; font-size: 16px; color: var(--color-text); background: var(--color-bg);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--color-accent); }
.field .hint { font-size: 14px; line-height: 1.5; color: var(--color-neutral-700); margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; }
.choices input { accent-color: var(--color-accent); width: 18px; height: 18px; margin: 0; }
.contact-form .note { font-size: 14px; line-height: 1.5; color: var(--color-neutral-700); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* — blog — */
.blog { padding-block: 96px; gap: 48px; }
.blog .head { max-width: 640px; }
.post-card { text-decoration: none; color: var(--color-text); }
.post-card:hover { color: var(--color-text); }
.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.topics-label { font-size: 14px; font-weight: 600; margin-right: 4px; }
.topic {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px;
  font-size: 14px; text-decoration: none; color: var(--color-accent-2-800); background: var(--color-accent-2-100);
}
.topic:hover { color: var(--color-accent-2-900); background: var(--color-accent-2-200); }
.tag-link { text-decoration: none; }
.tag-link:hover { background: var(--color-accent-2-200); color: var(--color-accent-2-900); }
.more-posts { max-width: 1040px; padding-block: 0 96px; gap: 24px; margin-inline: auto; }
.more-posts h2 { font-size: clamp(26px, 3vw, 32px); }
.post-card .more { font-weight: 600; font-size: 15px; color: var(--color-accent-700); margin-top: auto; }
.post { max-width: 760px; padding-block: 72px 96px; gap: 28px; }
.post .back { font-size: 15px; font-weight: 600; text-decoration: none; }
.post .byline { font-size: 14px; color: var(--color-neutral-700); }
.post h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; }
.post-body { display: flex; flex-direction: column; gap: 28px; }
.post-body p { font-size: 18px; line-height: 1.75; }
.post-body.font-lora :is(p, li, blockquote) { font-family: "Lora", Georgia, serif; }
.post-body.font-atkinson :is(p, li, blockquote) { font-family: "Atkinson Hyperlegible", var(--font-body); }
.tag-pinned { gap: 4px; background: var(--color-coral-100); color: var(--color-coral-900); }
.tag-pinned svg { width: 12px; height: 12px; }
.post-cta {
  background: var(--color-accent-2-100); border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 16px;
}
.post-cta p { font-size: 16px; line-height: 1.6; }
.disclaimer { font-size: 13px; line-height: 1.55; color: var(--color-neutral-700); }

/* — resources — */
.resources { padding-block: 96px; gap: 40px; }
.resources .head { max-width: 680px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.6;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 2px solid var(--color-accent-2-300); background: transparent; color: var(--color-text);
}
.filter:hover { border-color: var(--color-accent-2-600); }
.filter[aria-selected="true"] { background: var(--color-accent-2-800); color: var(--color-bg); }
.breathe {
  display: grid; gap: 40px; align-items: center; scroll-margin-top: 96px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  background: var(--color-accent-2-100); border-radius: var(--radius-lg); padding: 40px;
}
.breathe-guide { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.breathe-stage { position: relative; width: min(260px, 70vw); aspect-ratio: 1; display: grid; place-items: center; }
.breathe-stage::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed var(--color-accent-2-300);
}
.breathe-circle {
  position: absolute; inset: 0; border-radius: 50%; background: var(--color-accent-2-300);
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--color-accent-2-300) 35%, transparent);
  transform: scale(0.55); animation: breathe 14s infinite;
}
.breathe-label { position: relative; font-family: var(--font-heading); font-size: 22px; color: var(--color-accent-2-900); }
@keyframes breathe {
  0% { transform: scale(0.55); animation-timing-function: ease-in-out; }
  28.571% { transform: scale(0.92); animation-timing-function: linear; }
  57.143% { transform: scale(0.92); animation-timing-function: ease-in-out; }
  100% { transform: scale(0.55); }
}
.breathe-toggle { display: none; }
html.js .breathe-toggle { display: inline-flex; }
.breathe-copy { gap: 14px; }
.breathe-copy h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.breathe-copy h3 { font-size: 20px; margin-top: 8px; }
.grounding { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.grounding strong { display: inline-block; min-width: 1.4em; color: var(--color-accent-2-700); }
.breathe-note { font-size: 15px; color: var(--color-neutral-700); }
.breathe-link { margin-top: -8px; }
@media (prefers-reduced-motion: reduce) {
  .breathe-circle { animation: none; transform: scale(0.8); }
  html.js .breathe-toggle { display: none; }
}
@media (max-width: 600px) { .breathe { padding: 28px 20px; gap: 28px; } }
.res-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.res-card {
  background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px; transition: box-shadow 160ms ease;
}
.res-card:hover { box-shadow: var(--shadow-md); }
.res-card[hidden], .faq-group[hidden] { display: none; }
.faq .filters { margin-bottom: 28px; }
.faq-group + .faq-group { margin-top: 32px; }
.faq-group-title { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; color: var(--color-accent-2-700); margin-bottom: 8px; }
.res-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.res-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.res-icon svg { width: 22px; height: 22px; }
.res-cat { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-neutral-700); text-align: right; }
.res-card h2 { font-size: 24px; line-height: 1.2; }
.res-card p { font-size: 16px; line-height: 1.6; }
.res-card a { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; align-self: flex-start; }
.cat-worksheets { background: var(--color-accent-100); color: var(--color-accent-700); }
.cat-perinatal { background: var(--color-accent-200); color: var(--color-accent-800); }
.cat-deescalation { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.cat-crisis { background: var(--color-accent-2-200); color: var(--color-accent-2-900); }

/* — 404 — */

/* — footer + crisis notice (full-width strip at the very bottom) — */
.crisis {
  background: var(--color-coral-100); color: var(--color-coral-900);
  font-size: 15px; line-height: 1.55;
}
.crisis p { padding-block: 20px; }
.site-footer {
  padding-block: 56px 64px; display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; grid-column: span 2; }
@media (max-width: 479px) { .footer-brand { grid-column: auto; } }
.footer-brand .name { font-family: var(--font-heading); font-size: 24px; }
.footer-brand .copy { font-size: 14px; color: var(--color-neutral-700); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-col .label { font-weight: 700; }
.footer-col a { color: var(--color-accent-700); align-self: flex-start; }
.footer-col a:hover { color: var(--color-accent-800); }
.footer-col .note { font-size: 13px; line-height: 1.5; color: var(--color-neutral-700); max-width: 30ch; }

/* — phones and touch screens — */
/* The home page's decorative circles poke past the screen edge on phones. */
.hero { overflow-x: clip; padding-bottom: 72px; }
/* Buttons and stand-alone links get a 44px tap area, the size Apple and
   Google recommend for fingers. */
.btn { min-height: 44px; }
@media (pointer: coarse), (max-width: 960px) {
  .nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col { gap: 0; }
  .footer-col .label { margin-bottom: 4px; }
  .footer-col a, .text-link, .res-card a, .contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col .note { margin-block: 4px; }
  .res-card a { padding-top: 0; }
  .choices label { min-height: 44px; }
}
@media (max-width: 600px) {
  /* Keep the home page circles inside the screen instead of cut off. */
  .hero-art { width: 84%; }
  /* Service descriptions read at a comfortable size on a phone. */
  .services .card-body { font-size: 15px; line-height: 1.55; opacity: 0.85; }
  /* Footer page links in two columns so the footer isn't a long list. */
  nav.footer-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  nav.footer-col .label { grid-column: 1 / -1; }
}

/* — 404 — */
.notfound { align-items: flex-start; gap: 20px; }
.notfound > p { font-size: 19px; line-height: 1.6; max-width: 46ch; }
.nf-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent-2-100); color: var(--color-accent-2-700); }
.nf-icon svg { width: 30px; height: 30px; }
.notfound .nf-more { font-size: 16px; color: var(--color-neutral-700); }

/* — Good Faith Estimate notice — */
.gfe { padding-block: 72px 96px; scroll-margin-top: 96px; }
.gfe-box {
  max-width: 820px; background: var(--color-surface); border-radius: var(--radius-lg);
  border-left: 6px solid var(--color-accent-2-500); padding: 36px 40px;
  display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.65;
}
.gfe-box ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
@media (max-width: 600px) { .gfe-box { padding: 26px 22px; font-size: 16px; } }

/* — footer license note and legal pages — */
.footer-brand .license-note { font-size: 13px; line-height: 1.55; color: var(--color-neutral-700); max-width: 48ch; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.legal-links a { color: var(--color-accent-700); }
@media (pointer: coarse), (max-width: 960px) { .legal-links a { display: inline-flex; align-items: center; min-height: 44px; } }
.legal { padding-block: 96px; gap: 36px; }
.legal > * { max-width: 760px; }
.legal .head { gap: 14px; }
.legal .updated { font-size: 14px; color: var(--color-neutral-700); }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-size: 24px; line-height: 1.25; }
.legal p { font-size: 17px; line-height: 1.7; }

/* — Markdown content in posts and guides — */
.post-body h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin-top: 8px; }
.post-body h3 { font-size: 22px; line-height: 1.25; }
.post-body ul, .post-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; font-size: 18px; line-height: 1.7; }
.post-body blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--color-accent-2-400); }
.post-body blockquote p { font-style: italic; }
.post-body figure { margin: 0; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-lg); }

/* Contact card at the bottom of Resources */
.res-contact { padding-block: 24px 96px; }
.res-contact .contact-panel h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; color: var(--color-bg); }
.res-contact .contact-panel .lede a { text-decoration: underline; }
.plans { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.pt-seal { margin-top: 4px; }
.pt-seal a { display: inline-block; text-decoration: none; }
.pt-seal img { display: block; max-width: 160px; height: auto; }
