/* ==========================================================================
   Our Special Village — design system
   Palette from the logo: cream field, deep navy, warm gold (infinity).
   Type: Outfit (geometric display) + Mulish (humanist body), both variable
   and self-hosted. No framework, no build step.
   ========================================================================== */

/* ---- Fonts ---- */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish";
  src: url("/fonts/mulish-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish";
  src: url("/fonts/mulish-italic-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Tokens ---- */
:root {
  --cream: #f7f1e2;
  --sand: #eee6d0;
  --white: #ffffff;
  --navy: #1d2c4c;
  --navy-deep: #14203a;
  --ink: #1f2a40;
  --muted: #56637a;
  --gold: #d7a43e;
  --gold-deep: #b4861f;
  --gold-dark: #7a5b13; /* 5.6:1 on cream, 5.1:1 on sand */
  --focus: #9c711a; /* ≥3:1 against white, cream and navy */
  --gold-soft: #f3e5c0;
  --mist: #8fa5c6;
  --mist-soft: #e4e9f2;
  --line: rgba(29, 44, 76, 0.16);
  --on-dark: #efe9da;
  --on-dark-muted: #b9c4d8;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --radius-card: 20px;
  --radius-band: 28px;
  --shadow-card: 0 1px 2px rgba(20, 32, 58, 0.05), 0 10px 28px -14px rgba(20, 32, 58, 0.18);
  --shadow-lift: 0 2px 4px rgba(20, 32, 58, 0.06), 0 18px 38px -16px rgba(20, 32, 58, 0.26);
  --container: 1160px;
  /* Sticky measurements (Aug 24): one source of truth for header/toolbar offsets.
     --osv-dir-tools-h is measured live by directory.js because the toolbar wraps. */
  --osv-donate-bar-h: 2.625rem;
  --osv-header-h: calc(4.5rem + var(--osv-donate-bar-h));
  --osv-dir-tools-h: 0px;
  --osv-sticky-gap: 0.75rem;
}

/* ---- Reset / base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  font-optical-sizing: auto;
}
img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
}
h3 {
  font-size: 1.22rem;
  line-height: 1.3;
}
p {
  margin: 0 0 1.1em;
}
a {
  color: var(--gold-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--navy);
}
ul,
ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}
li {
  margin-bottom: 0.45em;
}
strong {
  font-weight: 800;
}
hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection {
  background: var(--gold);
  color: var(--navy-deep);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  /* Fixed, not absolute: absolute pinned it to the top of the DOCUMENT, so a
     keyboard user who had scrolled got focus on an offscreen control. */
  position: fixed;
  top: 1rem;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* "About this guide" evidence footer on medical / legal / funding guides */
.evidence-footer {
  margin-top: 2.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--mist-soft, rgba(29, 44, 76, 0.05));
  border: 1px solid var(--line);
  border-radius: 14px;
}
.evidence-footer h2 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}
.evidence-footer h3 {
  font-size: 0.98rem;
  margin: 1rem 0 0.4rem;
}
.evidence-footer dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.9rem;
  font-size: 0.95rem;
}
.evidence-footer dt {
  font-weight: 700;
  color: var(--navy);
}
.evidence-footer dd {
  margin: 0;
}
.evidence-footer ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}
.evidence-footer li {
  margin-bottom: 0.35rem;
}
.evidence-footer .note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

/* "On this page" TOC + back-to-top on long guides (js/guide-toc.js) */
.page-toc {
  margin: 0 0 1.75rem;
  padding: 0.8rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.page-toc summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.page-toc ol {
  margin: 0.6rem 0 0.2rem;
  padding-left: 1.4rem;
}
.page-toc li {
  margin-bottom: 0.3rem;
}
.backtop {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}
.backtop a {
  text-decoration: none;
  font-weight: 700;
}
.backtop a:hover {
  text-decoration: underline;
}

/* Print: letters and focused sections. html.print-focus prints only the
   .print-target element (js/copy-tools.js); every print hides the chrome. */
@media print {
  .site-header, .site-footer, .community-links, .value-bar, .skip-link, .nav-toggle, .search-toggle, .mobile-start-here,
  .btn, .btn-row, .backtop, .page-toc, .campaign-banner, .task-shortcuts {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    word-break: break-all;
  }
  html.print-focus body > *:not(.print-sheet) {
    display: none !important;
  }
  html.print-focus .print-sheet {
    display: block !important;
  }
}
/* The focused-print clone lives at the end of <body>; invisible on screen. */
.print-sheet {
  display: none;
}

/* Events: "Next five events" leads on phones; the month grid folds away.
   On wide screens the calendar is always open and the fold chrome hides. */
.next-five {
  display: none;
}
.month-fold summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  padding: 0.5rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (min-width: 700px) {
  .month-fold summary {
    display: none;
  }
  .month-fold:not([open]) .month-fold-body {
    display: block;
  }
}
@media (max-width: 699px) {
  .next-five {
    display: block;
    margin-bottom: 1rem;
  }
}
time.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Every in-page anchor lands below the 4.5rem sticky header. */
:where(h1, h2, h3, h4, [id]) {
  scroll-margin-top: 5.5rem;
}

/* Task shortcuts: eight plain-language doors on the homepage and Resource Library */
.task-shortcuts {
  margin: 0 0 2rem;
}
.task-shortcuts-q {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
.task-shortcuts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.task-shortcuts li {
  margin: 0;
}
.task-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.task-shortcuts a:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

/* Sitewide search page */
.search-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.search-form input[type="search"] {
  flex: 1 1 240px;
  font: inherit;
  padding: 0.75rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  min-height: 48px;
}
.search-results {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.search-results li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(29, 44, 76, 0.1);
}
.search-results li a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  color: var(--navy);
}
.search-results li a:hover {
  text-decoration: underline;
}
.search-results .search-type {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-results li p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---- Layout primitives ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow {
  max-width: 800px;
}
.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.section--tight {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.theme-cream {
  background: var(--cream);
}
.theme-white {
  background: var(--white);
}
.theme-sand {
  background: var(--sand);
}
.theme-navy {
  background: var(--navy-deep);
  color: var(--on-dark);
}
.theme-navy h1,
.theme-navy h2,
.theme-navy h3 {
  color: var(--cream);
}
.theme-navy a:not(.btn) {
  color: var(--gold);
}
.theme-navy .eyebrow {
  color: var(--gold);
}

/* Big rounded feature band (sits inside a section) */
.band {
  border-radius: var(--radius-band);
  padding: clamp(2.25rem, 5vw, 3.75rem);
}
.band--navy {
  background: var(--navy-deep);
  color: var(--on-dark);
}
.band--navy h2,
.band--navy h3 {
  color: var(--cream);
}
.band--navy a:not(.btn) {
  color: var(--gold);
}
.band--navy .eyebrow {
  color: var(--gold);
}
.band--gold {
  background: var(--gold-soft);
}
.band--mist {
  background: var(--mist-soft);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* A grid child's min-content can exceed its track and push the page wider
   than the viewport at 320px — never let the columns blow out. */
.split > * {
  min-width: 0;
}
.split--top {
  align-items: start;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}
.theme-navy .lede,
.band--navy .lede {
  color: var(--on-dark-muted);
}
.center {
  text-align: center;
}
.center .lede {
  margin-inline: auto;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
  flex-wrap: wrap;
}
/* Long email addresses (mailto links) must wrap rather than widen the page
   at 320px. */
main a[href^="mailto:"] {
  overflow-wrap: anywhere;
}
.section-head--row .more-link {
  white-space: nowrap;
  margin-bottom: 0.4rem;
}
.more-link {
  font-weight: 800;
  text-decoration: none;
}
.more-link::after {
  content: " →";
}
.more-link:hover {
  text-decoration: underline;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 226, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 44, 76, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px -12px rgba(20, 32, 58, 0.25);
}
.site-donate-bar {
  min-height: var(--osv-donate-bar-h);
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--on-dark);
  font-size: 0.9375rem;
  line-height: 1.2;
}
.site-donate-inner {
  min-height: var(--osv-donate-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.25rem;
}
.site-donate-message,
.site-donate-cta {
  white-space: nowrap;
}
.site-donate-message {
  min-width: 0;
  overflow: hidden;
  color: var(--on-dark);
  font-weight: 700;
  text-overflow: ellipsis;
}
.site-donate-cta {
  /* Ticket 42: drawn a step smaller than the bar (1.75rem tall, 0.875rem
     text) so the pill sits inside the strip instead of filling it. The
     ::after below keeps the click/tap target at the full bar height. */
  position: relative;
  min-height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}
.site-donate-cta::after {
  content: "";
  position: absolute;
  inset: -0.4375rem -0.25rem;
}
.site-donate-cta:hover {
  background: var(--gold-soft);
  color: var(--navy);
}
.site-donate-mobile {
  display: none;
}
@media (max-width: 600px) {
  .site-donate-inner {
    gap: 0.5rem;
    padding-inline: 1rem;
  }
  .site-donate-desktop { display: none; }
  .site-donate-mobile { display: inline; }
  .site-donate-cta { padding-inline: 0.65rem; }
}
.header-inner {
  display: flex;
  align-items: center;
  /* Logo mark, then the grouped menu; the search field, the newsletter
     button and (on small screens) the two icon buttons sit at the right. */
  justify-content: flex-start;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  min-height: 4.5rem;
}
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  flex: 0 0 auto;
}
.brand:hover {
  color: var(--navy);
}
.brand-mark {
  flex: 0 0 auto;
  display: block;
}
.header-inner .mobile-start-here {
  display: none;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
/* One shared class for every top-level item — direct links AND dropdown
   triggers — so both element types share display behavior, vertical
   alignment, minimum height, padding, line-height, font, borders, background,
   and focus treatment. Buttons no longer sit 2–3px above the links: both are
   inline-flex boxes with identical metrics, centered by the flex container. */
.site-nav .nav-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 44px;
  margin: 0;
  padding: 0 0.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav-chevron {
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}
.nav-group.open > .nav-group-btn .nav-chevron {
  transform: rotate(180deg);
}
.site-nav .btn {
  white-space: nowrap;
}
.site-nav .nav-top:hover {
  color: var(--gold-dark);
}
.site-nav .nav-top[aria-current="page"],
.nav-group.is-current > .nav-group-btn {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
/* Dropdown groups (Find Help, Community). Selectors carry .site-nav so they
   outrank the generic .site-nav ul rules above. */
.site-nav .nav-group {
  position: relative;
}
.site-nav .nav-sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -0.85rem;
  min-width: 15rem;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 44px -22px rgba(20, 32, 58, 0.35);
  z-index: 60;
  flex-direction: column;
  gap: 0.1rem;
}
.site-nav .nav-group.open > .nav-sub,
html:not(.js) .site-nav .nav-group:hover > .nav-sub,
html:not(.js) .site-nav .nav-group:focus-within > .nav-sub {
  display: flex;
}
.site-nav .nav-sub a:not(.btn) {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border-bottom: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav .nav-sub a:not(.btn):hover,
.site-nav .nav-sub a:not(.btn):focus-visible {
  background: rgba(29, 44, 76, 0.06);
  color: var(--navy);
}
.site-nav .nav-sub a[aria-current="page"]:not(.btn) {
  background: rgba(215, 164, 62, 0.16);
  color: var(--gold-dark);
}
/* The newsletter button inside the menu is for the small-screen drawer;
   the one beside the search field is for wide screens. Only one is ever
   displayed, so assistive tech never meets both. */
.site-nav .nav-cta {
  display: none;
}
.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}
/* Header search field → /search?q=… (the results page stays linkable) */
.header-search {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.header-search input[type="search"] {
  width: clamp(9.5rem, 15vw, 14rem);
  min-height: 44px;
  margin: 0;
  padding: 0.45rem 2.4rem 0.45rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.header-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
.header-search input[type="search"]:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--gold);
}
@media (min-width: 1081px) {
  .header-search input[type="search"]:focus {
    width: clamp(12rem, 20vw, 17rem);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .header-search input[type="search"] {
    transition: width 0.18s ease;
  }
}
.header-search-btn,
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
}
.header-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}
.header-search-btn:hover,
.search-toggle:hover {
  color: var(--gold-dark);
}
.search-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}
@media (max-width: 1220px) {
  .site-nav .nav-top {
    font-size: 0.9rem;
  }
  .site-nav ul {
    gap: 0.8rem;
  }
  .header-search input[type="search"] {
    width: clamp(8.5rem, 13vw, 11rem);
  }
}
@media (max-width: 1080px) {
  .header-inner .mobile-start-here:not([hidden]) {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
  }
  .nav-toggle,
  .search-toggle {
    display: inline-flex;
    align-items: center;
  }
  .search-toggle {
    margin-left: auto;
  }
  .header-inner .btn.header-cta {
    display: none;
  }
  .site-nav .nav-cta {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(20, 32, 58, 0.3);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  }
  .site-nav.open,
  html:not(.js) .site-nav {
    display: block;
    max-height: calc(100vh - 4.5rem);
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* Without JavaScript the drawer cannot open, so the menu simply flows
     under the bar as an ordinary list. */
  html:not(.js) .site-nav {
    position: static;
    box-shadow: none;
    max-height: none;
    padding-inline: 0;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .site-nav .nav-top {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0.25rem;
    font-size: 1.1rem;
    line-height: 1.35;
    border-bottom: 1px solid rgba(29, 44, 76, 0.08);
    white-space: normal;
    min-height: 44px;
  }
  .site-nav .nav-group-btn {
    justify-content: space-between;
    text-align: left;
  }
  .nav-chevron {
    width: 16px;
    height: 16px;
  }
  .site-nav .nav-sub {
    position: static;
    min-width: 0;
    padding: 0.15rem 0 0.35rem 0.9rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    gap: 0;
  }
  html:not(.js) .site-nav .nav-sub {
    display: flex;
  }
  .site-nav .nav-sub a:not(.btn) {
    padding: 0.65rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(29, 44, 76, 0.06);
    font-size: 1.02rem;
  }
  .site-nav .nav-sub li:last-child a:not(.btn) {
    border-bottom: 0;
  }
  .site-nav .nav-cta {
    margin-top: 0.9rem;
  }
  /* In the mobile menu the newsletter button is the gold full-width CTA. */
  .site-nav .nav-cta a.btn {
    display: flex;
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  /* The search field hides behind its icon and drops down as a full-width
     row when opened (or always, without JavaScript). */
  .header-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 0.9rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(20, 32, 58, 0.3);
  }
  .header-search.open,
  html:not(.js) .header-search {
    display: flex;
  }
  html:not(.js) .header-search {
    position: static;
    box-shadow: none;
    padding-inline: 0;
    flex: 1 1 100%;
  }
  html:not(.js) .header-inner {
    flex-wrap: wrap;
  }
  .header-search input[type="search"] {
    width: 100%;
    min-height: 44px;
    font-size: 1rem;
  }
  .header-search-btn {
    right: calc(clamp(1.25rem, 4vw, 2.5rem) + 4px);
    width: 44px;
    height: 44px;
  }
  html:not(.js) .header-search-btn {
    right: 4px;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 2px 6px rgba(140, 106, 23, 0.22), 0 10px 22px -10px rgba(140, 106, 23, 0.4);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.btn:hover {
  background: var(--gold-deep);
  color: var(--navy-deep);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(29, 44, 76, 0.3);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--light {
  background: var(--cream);
  color: var(--navy-deep);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 10px 22px -10px rgba(0, 0, 0, 0.35);
}
.btn--light:hover {
  background: var(--white);
  color: var(--navy-deep);
}
.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  min-height: 44px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.card.card--urgent {
  background: var(--gold-soft);
  border: 2px solid var(--gold-deep);
}
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--mist);
  color: inherit;
}
a.card.card--urgent:hover {
  border-color: var(--navy);
}
.card h3 {
  margin-bottom: 0.4em;
}
.card p:last-child {
  margin-bottom: 0;
}
.card .more-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.card--dashed {
  border-style: dashed;
  border-width: 2px;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- Pills / badges ---- */
.pill {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--mist-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pill--gold {
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.pill--navy {
  background: var(--navy);
  color: var(--cream);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  /* Tight on top: the site name should sit just under the header bar so the
     region line and welcome line are visible without scrolling, on phones too. */
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.hero-copy {
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
/* Reading order by weight: the site's name first (this is the page's h1),
   then the gold region line, then the welcome line supporting both. */
.hero-site-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.hero-site-title + .eyebrow {
  margin-bottom: 0.9rem;
}
.hero-tagline {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--navy);
}
.hero-copy h1 {
  margin-bottom: 0.5em;
}
.hero-copy .lede {
  margin-bottom: 1.8rem;
}
.hero-art {
  align-self: end;
  line-height: 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-meta svg {
  color: var(--gold-deep);
  flex: 0 0 auto;
}
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-bottom: 0.5rem;
  }
  .hero-art {
    max-width: 480px;
  }
}

/* ---- Steps (numbered guide) ---- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}
.steps > li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.75rem 1.6rem 5.25rem;
  margin: 0;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}
.steps h3 {
  margin-bottom: 0.35em;
}
.steps p:last-child {
  margin-bottom: 0;
}
@media (max-width: 560px) {
  /* Reclaim the left indent: the step number sits above the heading. */
  .steps > li {
    padding: 1.15rem 1.2rem 1.25rem;
  }
  .steps > li::before {
    position: static;
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
}

/* ---- Callouts ---- */
.callout {
  border: 1.5px solid var(--gold);
  background: rgba(243, 229, 192, 0.45);
  border-radius: var(--radius-card);
  padding: 1.3rem 1.5rem;
  margin: 1.6rem 0;
}
.callout--mist {
  border-color: var(--mist);
  background: rgba(228, 233, 242, 0.6);
}
.callout--navy {
  border-color: var(--navy);
  background: rgba(228, 233, 242, 0.55);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}
/* Intro callouts ("Read this first") are asides, not document sections —
   their lead line is a styled paragraph so the heading outline never jumps
   h1 → h3 (Aug 2026 accessibility pass). Looks identical to the old h3. */
/* An h2 inside a callout keeps the compact callout-heading size. */
.callout h2.callout-h {
  font-size: 1.1rem;
  margin: 0 0 0.4em;
}
.callout-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.4em;
  line-height: 1.3;
}

/* ---- Accordion ---- */
.accordion {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-card);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  min-height: 52px;
  border-radius: 16px;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "\2304";
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-deep);
  line-height: 1;
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.accordion[open] summary::after {
  transform: rotate(180deg);
}
.accordion-body {
  padding: 0 1.4rem 1.3rem;
}
.accordion-body p:last-child {
  margin-bottom: 0;
}
/* Homepage: compact guide links inside the Explore card */
.compact-links {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.2rem;
}
.compact-links li {
  margin-bottom: 0.35rem;
}

/* Start Here: only the chosen path's "first step" shows (both show without JS) */
.js body.path-suspect .first-step[data-first-step="diagnosed"],
.js body.path-diagnosed .first-step[data-first-step="suspect"] {
  display: none !important;
}
.path-progress {
  margin: 0.5rem 0 0;
  font-weight: 700;
  color: var(--navy);
}

/* Expand/Collapse-all toolbar (js/disclosure.js, on pages with 4+ accordions) */
.disclosure-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.disclosure-btn {
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  min-height: 44px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.disclosure-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
/* Small-business cards: long descriptions clamp to three lines with an
   accessible per-business Read more control (js/small-biz.js). No JS → the
   full text simply shows. */
.biz-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-more {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-dark);
  cursor: pointer;
}
.biz-more:hover {
  text-decoration: underline;
}
/* The glossary's term filter + category accordions */
.glossary-group summary h2 {
  font-size: 1.15rem;
  margin: 0;
  display: inline;
}
.glossary-term {
  margin-bottom: 0.35rem;
}
.glossary-filter {
  margin: 0 0 1.5rem;
}
.glossary-filter label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.glossary-filter input[type="search"] {
  width: 100%;
  max-width: 24rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}

/* ---- Resource cards ---- */
.res-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2.25rem;
}
@media (max-width: 760px) {
  .res-list {
    grid-template-columns: 1fr;
  }
}
.res-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.res-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}
.res-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.res-card h3 a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.res-card h3 svg {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--gold-deep);
  vertical-align: -0.1em;
}
.res-card p {
  font-size: 0.98rem;
  margin-bottom: 0.6em;
}
.res-card .res-meta {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

/* ---- Events ---- */
.month-heading {
  font-size: 1.35rem;
  margin: 2.4rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.event-list {
  display: grid;
  gap: 1.1rem;
}
.event-row {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.event-date {
  flex: 0 0 auto;
  width: 68px;
  text-align: center;
  align-self: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem 0.25rem 0.6rem;
}
.event-date .dow {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.event-date .mon {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.event-body h3 {
  margin-bottom: 0.25em;
  font-size: 1.15rem;
}
.event-body {
  min-width: 0;
  overflow-wrap: anywhere;
}
.event-meta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.5em;
}
.event-meta span + span::before {
  content: "·";
  margin: 0 0.5em;
  color: var(--mist);
}
.event-body p {
  font-size: 0.98rem;
  margin-bottom: 0.5em;
}
.event-body p:last-child,
.event-body .event-meta:last-child {
  margin-bottom: 0;
}
.event-tags {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
@media (max-width: 560px) {
  .event-row {
    flex-direction: column;
    gap: 0.9rem;
  }
  .event-date {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    width: auto;
    padding: 0.35rem 0.8rem;
  }
}
.events-empty {
  border: 2px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* Month-view calendar */
.month-cal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.mc-head h2 {
  font-size: 1.25rem;
  margin: 0;
}
.mc-nav {
  display: flex;
  gap: 0.5rem;
}
.mc-nav button {
  font: inherit;
  font-weight: 800;
  color: var(--navy);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.3rem 0.85rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
/* Calendar days with events are buttons (same look as the other cells). */
button.mc-day {
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
button.mc-day:hover {
  background: var(--gold-soft);
}
.event-row.is-highlight {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 12px;
}
.mc-nav button:hover {
  background: var(--gold-soft);
}
.mc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mc-dow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0.25rem 0;
}
.mc-day {
  min-height: 74px;
  border: 1px solid rgba(29, 44, 76, 0.1);
  border-radius: 10px;
  padding: 0.3rem 0.35rem;
  font-size: 0.78rem;
  overflow: hidden;
}
.mc-day .mc-num {
  font-weight: 800;
  color: var(--muted);
  font-size: 0.75rem;
}
.mc-day.mc-other {
  opacity: 0.35;
}
.mc-day.mc-today {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft) inset;
}
.mc-day.mc-has {
  background: var(--mist-soft);
}
.mc-evt {
  display: block;
  margin-top: 2px;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.68rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .mc-grid {
    gap: 0;
  }
  .mc-day {
    min-height: 48px;
  }
  .mc-evt {
    display: none;
  }
  .mc-day.mc-has::after {
    content: "●";
    display: block;
    color: var(--gold-deep);
    font-size: 0.6rem;
    line-height: 1;
    margin-top: 3px;
  }
}
@media (max-width: 360px) {
  .month-cal {
    width: calc(100% + 2.5rem);
    margin-inline: -1.25rem;
    padding: 4px;
    border-radius: 0;
  }
  .next-five {
    padding: 0.75rem;
  }
  .month-fold > summary,
  .mc-head {
    margin-inline: 0.65rem;
  }
}

/* ---- Forms ---- */
.form {
  display: grid;
  gap: 1.1rem;
}
.form label {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form .optional {
  font-weight: 600;
  color: var(--muted);
}
.form input,
.form textarea,
.form select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(143, 165, 198, 0.35);
}
.form textarea {
  min-height: 9rem;
  resize: vertical;
}
.form .check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.form .check input {
  width: auto;
  margin-top: 0.3rem;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.4em;
  font-weight: 700;
  margin: 0;
}
.form-status.ok {
  color: #2f6b4f;
}
.form-status.err {
  color: #a4442a;
}
.form-status.warn {
  color: #6f4e08;
}

/* Inline signup row (newsletter) */
.signup-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.signup-row input {
  flex: 1;
}
@media (max-width: 560px) {
  .signup-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Breadcrumb + page head ---- */
.crumbs {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}
.crumbs .sep {
  margin: 0 0.5em;
  color: var(--mist);
}
.page-head {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2rem);
}
/* The seam between a page header and the first content section stacked three
   spacing layers (head bottom padding + section top padding + the first
   element's own margin) into ~110px of dead air on every guide. Collapse two
   of the three so real content starts inside the first screen. */
.page-head + .section {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
}
.prose > :first-child {
  margin-top: 0;
}
.page-head .lede {
  margin-top: 0.4rem;
}
.reviewed {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 1.1rem;
}
.reviewed .dot {
  color: var(--gold-deep);
  margin-right: 0.4em;
}

/* ---- Prose (guide pages) ---- */
.prose {
  max-width: 760px;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.8em;
}
.prose .res-list {
  grid-template-columns: 1fr;
}

/* ---- Provider directory ---- */
.dir-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.dir-toc {
  position: sticky;
  top: calc(var(--osv-header-h) + var(--osv-dir-tools-h) + var(--osv-sticky-gap));
  max-height: calc(100vh - var(--osv-header-h) - var(--osv-dir-tools-h) - 2 * var(--osv-sticky-gap));
  overflow-y: auto;
  padding-right: 0.5rem;
}
.dir-toc h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.dir-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dir-toc li {
  margin: 0;
}
.dir-toc a {
  display: block;
  padding: 0.32rem 0.6rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.dir-toc a:hover {
  background: var(--mist-soft);
  color: var(--navy);
}
.dir-jump {
  display: none;
  margin-bottom: 1.25rem;
}
@media (max-width: 900px) {
  .dir-layout {
    grid-template-columns: 1fr;
  }
  .dir-toc {
    display: none;
  }
  .dir-jump {
    display: block;
  }
}
.dir-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end; /* Aug 24: the labelled age field must not stretch its siblings */
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.dir-tools input[type="search"],
.dir-tools select,
.dir-age-field input[type="number"] {
  box-sizing: border-box;
  height: 52px;
  min-height: 52px;
}
.dir-tools input[type="search"] {
  flex: 1;
  min-width: 220px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
}
.dir-tools input[type="search"]:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(143, 165, 198, 0.35);
}
.dir-cat {
  margin-bottom: 0.6rem; /* Aug 24: compact closed rows — the fold provides its own rhythm */
}
.dir-cat--building {
  margin-top: 2rem;
}
.dir-cat > h2 {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
}
.dir-cat .cat-intro {
  color: var(--muted);
  max-width: 70ch;
}
.dir-cat .cat-note {
  font-size: 0.92rem;
}
.dir-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}
.dir-sort select {
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  min-height: 44px;
  max-width: 100%;
}
#dir-jump-select {
  min-height: 44px;
}
@media (max-width: 560px) {
  .dir-sort {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .dir-sort select {
    width: 100%;
    min-width: 0;
  }
}
.dir-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start; /* Aug 24: a short card never stretches to match a tall neighbour */
}
@media (max-width: 1100px) {
  .dir-entries {
    grid-template-columns: 1fr;
  }
}
.dir-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.05rem 1.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.dir-card h3 {
  font-size: 1.12rem;
  margin: 0;
}
.dir-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.dir-card h3 a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dir-card .dir-loc {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.dir-card .dir-blurb {
  font-size: 0.98rem;
  margin: 0;
}
.dir-card .dir-sentiment {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
  margin: 0;
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}
.dir-card .dir-links {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 800;
}
.dir-card .dir-links a {
  text-decoration: none;
}
.dir-card .dir-links a:hover {
  text-decoration: underline;
}
.dir-card .dir-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.dir-empty {
  color: var(--muted);
  font-style: italic;
}
.pill--aff {
  background: var(--mist-soft);
  color: var(--navy);
  border: 1.5px solid var(--mist);
}
/* "Village family business" — a linked badge on the businesses the Small
   Business page features (Round 17 §2.4). */
a.pill--vb {
  background: var(--cream);
  color: var(--navy);
  border: 1.5px solid var(--gold);
  text-decoration: none;
}
a.pill--vb:hover,
a.pill--vb:focus-visible {
  background: var(--gold-soft);
  color: var(--navy-deep);
}
/* Merged categories keep their old ids as empty anchors (#haircuts,
   #adaptive-sports, #coaching, #sensory-services). */
.dir-alias {
  display: block;
  height: 0;
  scroll-margin-top: 5.5rem;
}

/* Category folds: the directory opens as a table of contents — each category
   is a <details> with its name and count; cards render only when opened,
   deep-linked, or matched by a filter. */
.dir-catfold > .dir-catsum {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.25rem;
  min-height: 44px;
  list-style: none;
}
.dir-catfold > .dir-catsum::-webkit-details-marker { display: none; }
/* the whole row is the target; a consistent chevron shows open/closed state */
.dir-catfold > .dir-catsum::after {
  content: "\25BE";
  margin-left: auto;
  color: var(--navy);
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}
.dir-catfold[open] > .dir-catsum::after { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .dir-catfold > .dir-catsum::after { transition: none; }
}
.dir-catsum h2 {
  display: inline;
  margin: 0;
  font-size: 1.18rem; /* Aug 24: category rows are rows, not banners */
  line-height: 1.35;
}
.dir-catcount {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.dir-catfold:not([open]) .dir-catcount {
  display: none;
}
.dir-catfold[open] > .dir-catsum {
  margin-bottom: 0.35rem;
}
.dir-catbody {
  padding-top: 0.25rem;
}

/* Search results: one row per canonical provider */
.dir-results {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.dir-results-head {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--navy);
}
.dir-results-list {
  margin: 0;
  padding-left: 1.2rem;
}
.dir-results-list li {
  margin-bottom: 0.4rem;
}
.dir-results-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.dir-card.is-highlight {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.dir-share {
  margin-left: 0.5rem;
}
/* Village Businesses filter bar */
.biz-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: end;
  margin: 0 0 1.5rem;
}
.biz-filter label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.biz-filter select {
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
}
.biz-count {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Non-local listings say so at a glance */
.pill--kind {
  background: var(--mist-soft);
  color: var(--navy);
  border: 1px dashed var(--mist, rgba(29, 44, 76, 0.3));
}
.dir-offline-note {
  margin: 0 0 1rem;
}
.pill--pick {
  background: var(--gold);
  color: var(--navy-deep);
}
/* Google rating: "★ 4.4 (28) as of Aug 2026" — the score is the link. */
.dir-card .dir-rating {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-dark);
}
.dir-card .dir-rating a,
.dir-card .dir-rating-score {
  color: var(--gold-dark);
  text-decoration: none;
}
.dir-card .dir-rating a:hover,
.dir-card .dir-rating-score:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dir-card .dir-rating-date {
  font-weight: 600;
  color: var(--muted);
}
.dir-card .dir-rating-empty {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}
.dir-card a.dir-rating-empty:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dir-card .dir-tags .pill {
  font-size: 0.78rem;
}
.dir-card .pill--setting {
  background: var(--mist-soft);
  color: var(--navy);
}
.dir-card .pill abbr {
  text-decoration: none;
  cursor: help;
}
.dir-card .dir-stamp {
  margin-left: auto;
  align-self: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}
/* Healthcare cards (Round 12): a collapsed card that answers five questions
   in a glance, then a "View details" panel with everything else. Groups are
   separated by whitespace, not boxes; plain text with dot separators; the
   only pill is the Village Pick badge. Type sizes are not shrunk. */
.dir-card--hc {
  gap: 0.7rem;
  padding: 1.4rem 1.5rem 1.3rem;
}
.dir-card--hc .hc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.4rem 0.5rem;
}
/* The provider name owns a full-width first row at its normal size; badges
   (Affiliated practice, Village family business, Village Pick) wrap beneath
   it and may wrap internally. Two non-shrinking badges used to squeeze long
   names like "Little Luminaries Therapy Services" into a letters-tall column
   on phones. */
.dir-card--hc .hc-head h3 {
  flex: 1 0 100%;
  width: 100%;
  min-width: 0;
  font-size: 1.18rem;
  overflow-wrap: anywhere;
}
.dir-card--hc .hc-pick {
  flex: 0 1 auto;
  white-space: normal;
  text-align: left;
}
.dir-card--hc .hc-id {
  margin: -0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}
.dir-card--hc .hc-id .dir-rating-score {
  color: var(--gold-dark);
  text-decoration: none;
  white-space: nowrap;
}
.dir-card--hc .hc-id .dir-rating-score:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dir-card--hc .hc-disc {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.005em;
}
/* Facts: label column + value column on wide screens; label runs into the
   value as plain wrapping text on narrow ones (no horizontal scroll). */
.dir-card--hc .hc-facts,
.dir-card--hc .hc-detail {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.4rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.dir-card--hc .hc-facts {
  margin-top: 0.15rem;
}
.dir-card--hc .hc-facts dt,
.dir-card--hc .hc-detail dt {
  font-weight: 800;
  color: var(--muted);
  margin: 0;
}
.dir-card--hc .hc-facts dd,
.dir-card--hc .hc-detail dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.dir-card--hc .hc-facts dd {
  font-weight: 600;
}
.dir-card--hc .hc-more {
  font: inherit;
  font-weight: 800;
  color: var(--gold-dark);
  background: none;
  border: 0;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem 0;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  min-height: 2.75rem;
  min-width: 2.75rem;
}
.dir-card--hc .hc-more:hover {
  color: var(--gold-deep);
  background: var(--gold-soft);
}
.dir-card--hc .hc-summary {
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  color: var(--ink);
}
.dir-card--hc .hc-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.dir-card--hc .hc-actions {
  margin-top: auto;
  padding-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 800;
}
.dir-card--hc .hc-actions a {
  text-decoration: none;
  padding: 0.35rem 0;
}
.dir-card--hc .hc-actions a:hover {
  text-decoration: underline;
}
.dir-card--hc .hc-toggle {
  font: inherit;
  font-weight: 800;
  color: var(--navy);
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  min-height: 2.5rem;
  cursor: pointer;
}
.dir-card--hc .hc-toggle:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.dir-card--hc .hc-toggle[aria-expanded="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
/* The phone number rides along with "Call" only where cards are wide enough
   (single-column layouts); the details panel always has it in full. */
@media (max-width: 700px), (min-width: 1101px) {
  .dir-card--hc .hc-call-num {
    display: none;
  }
}
/* Details panel */
.dir-card--hc .hc-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.dir-card--hc .hc-details[hidden] {
  display: none;
}
.dir-card--hc .hc-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.dir-card--hc .hc-detail {
  font-size: 0.92rem;
}
.dir-card--hc .hc-detail a {
  font-weight: 700;
}
.dir-card--hc .hc-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
@media (max-width: 600px) {
  .dir-card--hc {
    padding: 1.2rem 1.15rem 1.1rem;
  }
  .dir-card--hc .hc-facts,
  .dir-card--hc .hc-detail {
    display: block;
  }
  .dir-card--hc .hc-facts dt,
  .dir-card--hc .hc-detail dt {
    display: inline;
    margin-right: 0.35em;
  }
  .dir-card--hc .hc-facts dd,
  .dir-card--hc .hc-detail dd {
    display: inline;
  }
  .dir-card--hc .hc-facts dd::after,
  .dir-card--hc .hc-detail dd::after {
    content: "";
    display: block;
    height: 0.4rem;
  }
}

/* ---- Village Directory: controls, navigation, card variants (Round 12/13) ---- */
/* Sticky search + filters: compact on desktop under the header; on phones a
   sticky "Search / Filters" bar that opens the panel. */
.dir-tools-wrap {
  position: sticky;
  top: calc(var(--osv-header-h) + 1px);
  z-index: 20;
  background: var(--cream);
  padding: 0.5rem 0 0.35rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid transparent;
}
.dir-filter-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 1rem 0 0.5rem;
}
.dir-filter-intro p {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}
.dir-tools-toggle {
  display: none;
}
.dir-tools {
  margin-bottom: 0;
}
.dir-tools select {
  flex: 1 1 9rem;
  min-width: 0;
  max-width: 100%;
}
.dir-tools input[type="search"] {
  flex: 2 1 240px;
}
.dir-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}
.dir-status[hidden] {
  display: none;
}
.dir-status-count {
  font-weight: 800;
  color: var(--navy);
  margin-right: 0.25rem;
}
.dir-chip,
.dir-clear {
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
}
.dir-chip {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}
.dir-chip:hover {
  background: var(--navy-deep);
}
.dir-clear {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--line);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dir-clear:hover {
  background: var(--gold-soft);
}
@media (max-width: 900px) {
  .dir-tools-wrap {
    top: calc(var(--osv-header-h) + 1px);
    padding: 0.4rem 0;
  }
  .dir-tools-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font: inherit;
    font-weight: 800;
    color: var(--white);
    background: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    min-height: 2.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-card);
  }
  .dir-tools-toggle::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 auto;
    border: solid var(--gold);
    border-width: 0 2px 2px 0;
    box-sizing: border-box;
    transform: rotate(45deg);
    margin-top: -0.25rem;
  }
  .dir-tools-toggle[data-count]:not([data-count="0"])::after {
    content: attr(data-count);
    background: var(--gold);
    color: var(--navy-deep);
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0 0.45rem;
    line-height: 1.4;
  }
  .dir-tools-toggle[aria-expanded="true"] {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
  }
  .dir-tools-toggle[aria-expanded="true"]::before {
    border-color: var(--gold);
    transform: rotate(225deg);
    margin-top: 0.25rem;
  }
  .dir-tools-wrap[data-open="0"] .dir-tools {
    display: none;
  }
  .dir-tools-wrap[data-open="1"] {
    box-shadow: 0 12px 24px -12px rgba(20, 32, 58, 0.25);
    padding-bottom: 0.6rem;
  }
  .dir-tools-wrap[data-open="1"] .dir-tools {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.6rem;
  }
  .dir-tools-wrap[data-open="1"] .dir-tools select,
  .dir-tools-wrap[data-open="1"] .dir-tools input[type="search"] {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
  }
  .dir-tools-wrap[data-open="0"] .dir-status {
    margin-top: 0.4rem;
  }
}
@media (max-width: 600px) {
  .dir-filter-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Floating "Back to search" after a long scroll */
.dir-back {
  position: fixed;
  right: 1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  min-height: 2.6rem;
  box-shadow: var(--shadow-lift);
  cursor: pointer;
}
.dir-back:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.dir-back[hidden] {
  display: none;
}
/* Sidebar: five quick links, then a grouped "Browse all categories" */
.dir-toc .dir-toc-quick a {
  color: var(--navy);
}
.dir-toc .dir-toc-browse {
  margin-top: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
.dir-toc-all summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-dark);
  padding: 0.32rem 0.6rem;
  border-radius: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.dir-toc-all summary::-webkit-details-marker {
  display: none;
}
.dir-toc-all summary::after {
  content: " ›";
}
.dir-toc-all[open] summary::after {
  content: " ˅";
}
.dir-toc-all summary:hover {
  background: var(--mist-soft);
}
.dir-toc-group {
  margin: 0.7rem 0 0.2rem;
  padding: 0 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.dir-toc-all ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Group wayfinding labels on the page (navigation grouping only) */
.dir-group-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 1.4rem 0 0.45rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--line);
}
.dir-cat + .dir-group-label {
  margin-top: 0.5rem;
}
/* Subgroups inside a category (AAC, Medication) */
.dir-subhead {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 1.35rem 0 0.7rem;
}
.dir-entries-wrap > .dir-subhead:first-child {
  margin-top: 0.25rem;
}
.dir-see-also {
  margin: -0.25rem 0 1rem;
  font-weight: 800;
}
.dir-see-also a {
  text-decoration: none;
}
.dir-see-also a:hover {
  text-decoration: underline;
}
/* One card anatomy for every variant */
.dir-card {
  padding: 1.4rem 1.5rem 1.3rem;
  gap: 0.6rem;
}
.dir-card h3,
.dir-card h4 {
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.25;
}
.dir-card h4 a {
  color: var(--navy);
  text-decoration: none;
}
.dir-card h4 a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dir-card abbr {
  text-decoration: none;
  cursor: help;
}
.dir-card .hc-head h3,
.dir-card .hc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.4rem 0.5rem;
}
.dir-card .hc-head h3,
.dir-card .hc-head h4 {
  flex: 1 0 100%;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.dir-card .hc-pick {
  flex: 0 1 auto;
  white-space: normal;
  text-align: left;
}
.dir-card .hc-id {
  margin: -0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}
.dir-card .hc-id .dir-rating-score {
  color: var(--gold-dark);
  text-decoration: none;
  white-space: nowrap;
}
.dir-card .hc-id .dir-rating-score:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Community / program cards: plain metadata line instead of a pill row */
.dir-card--gen .gc-meta,
.dir-card--res .gc-meta {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.dir-card--gen .gc-extra {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.pill--free {
  background: var(--gold-soft);
  color: var(--navy-deep);
  font-size: 0.74rem;
  vertical-align: middle;
}
/* Resource link cards: compact */
.dir-card--res {
  padding: 1rem 1.2rem 0.95rem;
  gap: 0.35rem;
  box-shadow: none;
}
.dir-card--res h3,
.dir-card--res h4 {
  font-size: 1.02rem;
}
.dir-card--res .dir-blurb {
  font-size: 0.92rem;
}
/* Empty categories, kept out of the main flow */
.dir-cat--building {
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--sand);
  border-radius: var(--radius-card);
}
.dir-cat--building h2 {
  font-size: 1.25rem;
  border: 0;
  padding: 0;
  margin-bottom: 0.25rem;
}
.dir-building-item {
  padding: 0.85rem 0 0.25rem;
  border-top: 1px dashed var(--line);
}
.dir-building-item h3 {
  font-size: 1.02rem;
  margin: 0 0 0.3rem;
}
.dir-building-item p {
  font-size: 0.92rem;
  margin: 0 0 0.4rem;
}
.dir-building-cta {
  font-weight: 800;
  text-decoration: none;
}
.dir-building-cta:hover {
  text-decoration: underline;
}

/* "How this directory works" — one collapsible block above the listings */
.dir-how {
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.dir-how summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dir-how summary::-webkit-details-marker {
  display: none;
}
.dir-how summary::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}
.dir-how[open] summary::before {
  transform: rotate(45deg);
}
.dir-how summary:hover {
  color: var(--gold-dark);
}
.dir-how .dir-how-body {
  padding: 0 1.1rem 1rem;
  font-size: 0.95rem;
}
.dir-how .dir-how-body p {
  margin: 0 0 0.75rem;
}
.dir-how .dir-how-body p:last-child {
  margin-bottom: 0;
}
.dir-coverage {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--mist-soft);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  line-height: 1.55;
}
.dir-coverage strong {
  color: var(--navy);
}
.dir-coverage .cov-note {
  display: block;
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.3rem;
}
.dir-rest {
  grid-column: 1 / -1;
}
.dir-rest > summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.dir-rest > summary::-webkit-details-marker {
  display: none;
}
.dir-rest > summary::after {
  content: " ›";
  margin-left: 0.35rem;
}
.dir-rest[open] > summary::after {
  content: " ˅";
}
.dir-entries--rest {
  margin-top: 1rem;
}
.dir-divider {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.9rem;
  margin-top: 0.4rem;
}
.dir-tools select {
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  max-width: 100%;
}
.dir-tools select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(143, 165, 198, 0.35);
}

/* ---- Value bar (above the header, sitewide except crisis-adjacent guides) ---- */
.value-bar {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  padding: 0.45rem 1rem;
}
.value-bar a {
  color: var(--gold);
  text-decoration: none;
}
.value-bar a:hover {
  text-decoration: underline;
}

/* ---- Homepage guide-categories block ---- */
.guide-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.guide-cats h3 {
  font-size: 1.02rem;
  margin-bottom: 0.8rem;
}
.guide-cats h3 a {
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.guide-cats h3 a:hover {
  color: var(--gold-deep);
}
.guide-cats h3 svg {
  color: var(--gold-deep);
  flex: none;
}
.guide-cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-cats li {
  margin-bottom: 0.5em;
  font-size: 0.95rem;
}
.guide-cats li a {
  color: var(--muted);
  text-decoration: none;
}
.guide-cats li a:hover {
  color: var(--navy);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .guide-cats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .guide-cats {
    grid-template-columns: 1fr;
  }
}

/* ---- Sponsor block (injected above the footer by sponsors.js) ---- */
.sponsor-block {
  background: var(--sand, #efe9da);
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
  text-align: center;
}
.sponsor-block h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.sponsor-block p {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 1.1rem;
}
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.25rem;
}
.sponsor-logos img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.sponsor-logos a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

/* Village Hall: a concrete example format, not a published session time. */
.vh-format-card h2 {
  margin-bottom: 1rem;
}
.vh-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vh-timeline li {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: var(--mist-soft);
  color: var(--navy);
  font-weight: 800;
}
.vh-time {
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.vh-privacy {
  margin: 1rem 0 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 800;
}
.vh-comparison {
  margin-bottom: 1.25rem;
}
.vh-pricing {
  margin-top: 0;
}
#vh-updates {
  margin-top: 1.25rem;
}
@media (max-width: 680px) {
  .vh-timeline {
    grid-template-columns: 1fr;
  }
  .vh-timeline li {
    grid-template-columns: 4rem minmax(0, 1fr);
    align-items: baseline;
  }
}

/* ---- Shared illustrated community links ---- */
.community-links {
  border-top: 1px solid var(--line);
}
.community-links-head {
  margin-bottom: 1.25rem;
}
.community-links-head .eyebrow,
.community-links-head h2 {
  margin-bottom: 0.3rem;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1rem;
}
.community-card {
  min-width: 0;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
}
a.community-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.community-card:hover {
  color: var(--ink);
  border-color: var(--mist);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.community-card.is-current {
  background: var(--gold-soft);
  border-color: rgba(180, 134, 31, 0.45);
  box-shadow: none;
}
.community-card.is-current::after {
  content: "You are here";
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.community-card-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  align-self: flex-start;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--mist-soft);
  color: var(--navy);
}
.community-card:nth-child(2n) .community-card-icon {
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.community-card-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.community-card-copy {
  display: grid;
  gap: 0.15rem;
}
.community-card-copy strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
}
.community-card-copy > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .community-grid { grid-template-columns: 1fr; }
  .community-card {
    min-height: 108px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .community-card-copy {
    min-width: 0;
    flex: 1 1 auto;
  }
  .community-card.is-current::after { margin-left: auto; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  padding: clamp(2.25rem, 4vw, 3.25rem) 0 1.5rem;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 1.75rem;
}
@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-intro {
    grid-column: 1 / -1;
    max-width: 46rem;
  }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .footer-intro { grid-column: auto; margin-bottom: 0.4rem; }
  /* With JavaScript available, the four groups become accessible accordions:
     a real <button> injected inside each heading (never role="button" on the
     heading element itself). */
  .js .footer-grid .foot-group h2 {
    margin: 0;
  }
  .js .footer-grid .foot-group .foot-group-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    padding: 0.15rem 0;
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: left;
    cursor: pointer;
  }
  .js .footer-grid .foot-group .foot-group-btn::after {
    content: "+";
    font-size: 1rem;
    color: var(--on-dark-muted);
  }
  .js .footer-grid .foot-group.open .foot-group-btn::after {
    content: "–";
  }
  .js .footer-grid .foot-group ul {
    display: none;
    margin: 0 0 0.65rem;
  }
  .js .footer-grid .foot-group.open ul {
    display: block;
  }
  .js .footer-grid .foot-group .foot-group-btn:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }
}
.site-footer .foot-group h2 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.38em;
}
.site-footer a:not(.btn) {
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
/* The mark is a navy pin on transparency (T223). On the navy footer it gets
   the header's cream ground back so it reads as the same logo. */
.footer-brand .brand-mark {
  box-sizing: border-box;
  padding: 5px;
  background: var(--cream);
  border-radius: 50%;
}
.footer-intro p {
  max-width: 34ch;
  margin: 0;
}
.footer-legal {
  border-top: 1px solid rgba(239, 233, 218, 0.15);
  padding-top: 1.15rem;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 0.45rem 1.5rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.5;
}
.footer-legal p {
  margin: 0;
}
.footer-legal p:first-child,
.footer-legal p:last-child {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .footer-legal { grid-template-columns: 1fr; }
  .footer-legal p { grid-column: auto !important; }
}

/* ---- Figures & image slots ---- */
.figure {
  margin: 1.75rem 0;
}
.figure img,
.figure svg {
  width: 100%;
  border-radius: 16px;
  display: block;
}
.figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
/* One media slot per business card, whichever asset exists: a photo, a logo,
   or (until the family says yes to a photo in writing) a monogram tile that
   reads as a design choice rather than a missing image. Same shape for all
   three so the grid never looks tiered by what happened to arrive. */
.biz-media {
  aspect-ratio: 5 / 3;
  height: auto;
  border-radius: 14px;
  margin-bottom: 1rem;
  background-color: var(--mist-soft);
  background-image: url("/assets/osv-mark-v3.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72px;
  overflow: hidden;
}
.biz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  background: var(--cream);
  border-radius: 14px;
  display: block;
}
.business-list .biz-media {
  aspect-ratio: 1;
}
.business-list .biz-media img {
  object-position: var(--biz-object-position, 50% 50%);
}
.biz-media--logo img {
  object-fit: contain;
  object-position: center;
  padding: 1.1rem;
  background: var(--white);
}
.biz-media--wordmark {
  background: var(--cream);
}
.biz-media--wordmark img {
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
}
.biz-media--focus-upper {
  --biz-object-position: 50% 38%;
}
.biz-media--focus-high {
  --biz-object-position: 50% 8%;
}
.biz-media--focus-sensory {
  --biz-object-position: 50% 55%;
}
.biz-media--focus-lower {
  --biz-object-position: 50% 62%;
}
.biz-media--focus-low {
  --biz-object-position: 50% 72%;
}
.biz-media--mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  background-image: none;
}
.biz-media--mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.biz-media--mark small {
  position: absolute;
  inset: auto 0.9rem 0.7rem auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.biz-media--mark {
  position: relative;
}
.biz-siblings {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

/* ---- Misc ---- */
.note {
  font-size: 0.9rem;
  color: var(--muted);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

/* ---- Start Here: thirty days ---- */
.prose .days {
  list-style: none;
  padding-left: 0;
  margin: 0.25rem 0 1.75rem;
}
.prose .days li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(29, 44, 76, 0.08);
}
.prose .days li:last-child {
  border-bottom: 0;
}
.prose .days label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  line-height: 1.55;
}
.prose .days input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.3rem 0 0;
  accent-color: var(--gold-dark);
}
/* Exactly two flex items per row — the checkbox and one text span — so links,
   commas and full stops flow as normal inline text inside the span. */
.prose .days .day-text {
  flex: 1 1 auto;
  min-width: 0;
  display: inline;
}
.prose .days .day-text a {
  display: inline;
  padding: 0;
  margin: 0;
}
.prose .days strong {
  color: var(--navy);
  margin-right: 0.15rem;
}
.prose .days input:checked + .day-text {
  color: var(--muted);
}
.prose .week-line {
  color: var(--muted);
  margin: -0.35rem 0 0.9rem;
}
/* Card grids whose last row runs short: center the orphans instead of leaving
   empty cells (Resources: Funding, Activities). Same card widths as .grid-3. */
.grid-3--center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.grid-3--center > .card {
  flex: 0 1 calc((100% - 3rem) / 3);
}
@media (max-width: 900px) {
  .grid-3--center > .card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}
@media (max-width: 680px) {
  .grid-3--center > .card {
    flex-basis: 100%;
  }
}
.start-here-band .btn {
  white-space: nowrap;
}

/* ---- Start Here: weekly focus + checklists (Round 14) ---- */
.prose .week {
  margin-top: 2.4rem;
}
.prose .week h2 {
  margin-top: 0;
}
.prose .week-goal {
  color: var(--muted);
  margin: -0.35rem 0 0.9rem;
}
.prose .week-goal strong {
  color: var(--navy);
}
.prose .days li {
  padding: 0.7rem 0;
}
.prose .days .branch-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border-radius: 6px;
  padding: 0.05rem 0.45rem;
  margin-right: 0.35rem;
  vertical-align: 0.08em;
}
.prose .days .branches {
  list-style: none;
  margin: 0.45rem 0 0.15rem 1.85rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
}
.prose .days .branches li {
  padding: 0.3rem 0;
  border-bottom: 0;
  font-size: 0.97rem;
}
.prose .days .branches li strong {
  color: var(--navy);
}
/* Orientation prompt */
.path-prompt {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.path-prompt .path-q {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.7rem;
}
.path-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.path-btn {
  font: inherit;
  font-size: 0.97rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy);
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.path-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.path-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.path-guidance {
  margin-top: 0.9rem;
}
.path-guidance-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist-soft);
}
.path-guidance-card[hidden] {
  display: none;
}
.path-guidance-card p {
  margin: 0;
}
.path-guidance-card .card-actions {
  padding-top: 0.75rem;
}
@media (max-width: 520px) {
  .path-guidance-card .btn {
    flex: 1 1 100%;
  }
}
.path-note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.path-note[hidden] {
  display: none;
}
.path-reset {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: none;
  border: 0;
  padding: 0.2rem 0.1rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Two pathways: the chosen one shows, the other is hidden (JS); without JS
   both read in order under their own titles. */
.pathway,
.needs-path {
  display: none;
}
.pathway.is-shown,
.needs-path.is-shown {
  display: block;
}
.pathway[hidden] {
  display: none;
}
/* Task rows: the checkbox label holds only the bold task; supporting text and
   links sit beneath it, outside the label, so tapping a link never toggles. */
.prose .days .day-more {
  display: block;
  margin: 0.15rem 0 0 1.85rem;
  font-size: 0.97rem;
  color: var(--ink);
}
.prose .pathway-title:focus {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}
.path-note {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.prose .pathway-title {
  margin: 2.6rem 0 0.4rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--gold-soft);
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
}
.prose .pathway-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}
body.path-chosen .prose .pathway-title {
  border-top: 0;
  padding-top: 0.6rem;
  margin-top: 1.4rem;
}
.prose .week-title {
  font-size: 1.28rem;
  margin: 0 0 0.35rem;
}
.prose .focus-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1rem 0 0.15rem;
}
.prose .days .day-text strong {
  color: var(--navy);
  font-weight: 800;
}
/* Supporting help sits visibly below the tasks: smaller, indented, quiet. */
.prose .support {
  margin: 0.9rem 0 0.4rem 1.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--mist);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.prose .support h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.prose .support p,
.prose .support ul {
  margin: 0 0 0.5rem;
}
.prose .support ul {
  padding-left: 1.1rem;
}
.prose .support li {
  margin-bottom: 0.3rem;
}
.prose details.support-more {
  margin: 0.8rem 0 0.4rem 1.85rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 0.95rem;
}
.prose details.support-more summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  list-style: none;
  padding: 0.15rem 0;
}
.prose details.support-more summary::-webkit-details-marker {
  display: none;
}
.prose details.support-more summary::after {
  content: " ›";
  color: var(--gold-deep);
}
.prose details.support-more[open] summary::after {
  content: " ˅";
}
.prose details.support-more > :not(summary) {
  margin-top: 0.5rem;
}
.prose details.support-more ul {
  padding-left: 1.1rem;
  margin: 0.3rem 0 0.4rem;
}
.path-viewing {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}
.path-viewing[hidden] {
  display: none;
}
.path-switch {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: none;
  border: 0;
  padding: 0.2rem 0.1rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.path-btn[aria-pressed="true"]::before {
  content: "✓ ";
}
.prose .closing {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--gold-soft);
}
.prose .closing h2 {
  margin-top: 0;
}
.prose .keep-going {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}
.prose .keep-going li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(29, 44, 76, 0.08);
}
.prose .keep-going li:last-child {
  border-bottom: 0;
}
.prose .keep-going a {
  font-weight: 800;
  text-decoration: none;
}
.prose .keep-going a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .path-btn {
    width: 100%;
    text-align: left;
  }
  .prose .days .branches {
    margin-left: 1.5rem;
  }
  .prose .support,
  .prose details.support-more {
    margin-left: 0;
  }
}

.prose .held-link {
  color: var(--muted);
  font-size: 0.92em;
}

/* ====================================================================
   Aug 23, 2026 build — Resource Directory audiences & facts, hub pathway
   selectors, Start Here week cards, join-and-support section, footer CTAs,
   Little Luminaries card, comparison cards
   ==================================================================== */

/* ---- Directory: "Who are you looking for?" (always visible, above filters) ---- */
.dir-audience {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  min-width: 0;
}
.dir-audience legend {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.dir-audience-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dir-audience-opt {
  position: relative;
  display: inline-flex;
}
.dir-audience-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.dir-audience-opt span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dir-audience-opt input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
}
.dir-audience-opt input:checked + span::before {
  content: "\2713";
  margin-right: 0.4rem;
  font-weight: 800;
}
.dir-audience-opt input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.dir-audience-status {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.dir-audience-status:empty { display: none; }

/* ---- Directory: exact age + type filters ---- */
.dir-age-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 11rem;
  flex-wrap: wrap;
  min-width: 0;
}
.dir-age-field label {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.dir-age-field input[type="number"] {
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  width: 7.5rem;
  min-height: 44px;
}
.dir-age-field input[type="number"]:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(143, 165, 198, 0.35);
}
.dir-age-field input[aria-invalid="true"] {
  border-color: #a33;
}
.dir-age-error {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.9rem;
  color: #8a2a2a;
}
.dir-age-error[hidden] { display: none; }

/* ---- Directory: verified badges + fact rows on cards ---- */
.hc-badges {
  margin: 0.25rem 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.pill--age {
  background: var(--navy);
  color: var(--on-dark);
}
.pill--cap {
  background: var(--mist-soft);
  color: var(--navy);
}
.gc-facts {
  margin: 0.5rem 0 0.6rem;
}
.hc-verified {
  font-size: 0.85rem;
  color: var(--muted);
}
.hc-verified a {
  color: var(--navy);
  text-decoration: underline;
}
.dir-blurb--more {
  font-size: 0.95rem;
  color: var(--ink);
}
.dir-toc-alias {
  font-style: italic;
}
.dir-empty-state {
  margin: 0 0 1.25rem;
}
.dir-empty-state-lead {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.dir-empty-state .btn-row {
  margin-top: 0.75rem;
}

/* ---- Hub pathway selectors (Adults, Complex bodies, ADHD, Choosing therapy) ---- */
.hub-cards .card {
  position: relative;
}
.hub-cards .card.is-recommended {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.hub-rec {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin: 0 0 0.5rem;
}
.path-reset {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}
.path-reset[hidden] { display: none; }

/* ---- Stacked comparison cards (choosing-therapy) ---- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.compare-grid > * {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1rem 1.1rem;
}
.compare-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.compare-grid dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
}
.compare-grid dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
.compare-grid dd {
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

/* ---- Start Here: week cards ---- */
.week-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 0 0 1rem;
}
.week-card > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon title chev" "icon goal chev" "icon progress chev";
  column-gap: 0.9rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 1rem 1.1rem;
  min-height: 44px;
  border-radius: var(--radius-card);
}
.week-card > summary::-webkit-details-marker { display: none; }
.week-card > summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.week-card .week-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mist-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}
.week-card .week-icon svg { width: 24px; height: 24px; }
.week-card .week-sum-title {
  grid-area: title;
  margin: 0;
  font-size: 1.1rem;
}
.week-card .week-sum-title .week-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.week-card .week-sum-goal {
  grid-area: goal;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.week-card .week-sum-progress {
  grid-area: progress;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.week-card .week-chev {
  grid-area: chev;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: transform 0.2s ease;
}
.week-card[open] .week-chev { transform: rotate(180deg); }
.week-card .week-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.week-card .week-body > :first-child { margin-top: 1rem; }
.week-card .week-goal { margin: 1rem 0 0.75rem; }
.week-card .callout,
.week-card .callout--mist {
  margin: 0.9rem 0;
}
.week-card .callout h4 {
  margin-top: 0;
}
.week-card .week-mini {
  margin: 0.9rem 0 0;
  padding: 0.8rem 1rem;
  background: var(--cream);
  border-radius: 14px;
}
.week-card .week-mini h4 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.week-card .week-mini ul { margin: 0; padding-left: 1.1rem; }
.week-card .week-mini p:last-child { margin-bottom: 0; }
.urgent-line {
  margin: 0.5rem 0 1rem;
  padding: 0.65rem 0.9rem;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  font-weight: 700;
  color: var(--navy);
}
.urgent-line a { color: var(--navy); }
@media (max-width: 560px) {
  .week-card > summary {
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon title" "goal goal" "progress chev";
  }
  .week-card .week-chev { justify-self: end; }
}
@media print {
  .week-card > summary .week-chev { display: none; }
}

/* ======================================================================
   Aug 29 refinement — one content-card language across guides, listings,
   community pages, comparisons, forms, review metadata, and action rows.
   ====================================================================== */

/* Page-level illustrated heroes. Inline SVG scenes use the existing palette,
   remain crisp at every zoom level, and are decorative unless the surrounding
   content explicitly gives them meaning. */
.page-hero {
  padding-block: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 340px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.page-hero .lede {
  margin: 0;
}
.page-hero .btn-row {
  margin-top: 1.25rem;
}
.page-visual {
  width: min(100%, 320px);
  justify-self: end;
  color: var(--navy);
}
.page-visual svg {
  display: block;
  width: 100%;
}
@media (max-width: 720px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-visual {
    width: min(70vw, 260px);
    justify-self: center;
    order: -1;
  }
}

/* One rounded shell for visible information. The old .callout class remains
   supported, but now follows this balanced four-sided treatment. */
.content-card,
.info-card,
.status-card,
.form-card,
.guide-at-glance,
.trust-card,
.empty-state {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.15rem, 3vw, 1.65rem);
}
.content-card--gold,
.info-card--gold,
.feature-card {
  background: var(--gold-soft);
  border-color: rgba(180, 134, 31, 0.42);
}
.content-card--mist,
.info-card--mist {
  background: var(--mist-soft);
  border-color: rgba(29, 44, 76, 0.2);
}
.content-card > :last-child,
.info-card > :last-child,
.status-card > :last-child,
.form-card > :last-child,
.guide-at-glance > :last-child,
.trust-card > :last-child,
.empty-state > :last-child {
  margin-bottom: 0;
}
.content-card h2,
.content-card h3,
.info-card h2,
.info-card h3,
.status-card h2,
.status-card h3,
.form-card h2,
.form-card h3,
.guide-at-glance h2,
.trust-card h2,
.trust-card h3 {
  margin-top: 0;
}

.equal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 1rem;
  align-items: stretch;
}
.equal-grid > * {
  min-width: 0;
  height: 100%;
}
.equal-card {
  display: flex;
  flex-direction: column;
}
.equal-card .card-actions,
.equal-card > .btn-row:last-child,
.equal-card > .btn:last-child {
  margin-top: auto;
}

.icon-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.icon-tile h2,
.icon-tile h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
}
.icon-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Shared review/check component. */
.review-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}
.review-status svg,
.review-status .review-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
  flex: 0 0 auto;
}
.review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-top: 0.75rem;
}

/* Shared expandable banner/card. The summary is the only disclosure control,
   so the entire row is a clean 44px+ target with no nested interactivity. */
.listing-card,
.shared-card {
  margin: 0 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: clip;
}
.listing-card > summary,
.shared-card > summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: center;
  min-height: 64px;
  padding: 1rem 3.2rem 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}
.listing-card > summary::-webkit-details-marker,
.shared-card > summary::-webkit-details-marker {
  display: none;
}
.listing-card > summary::after,
.shared-card > summary::after {
  content: "\2304";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 0.18s ease;
}
.listing-card[open] > summary::after,
.shared-card[open] > summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.listing-title,
.shared-card-title {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.3;
}
.listing-meta,
.shared-card-meta {
  display: block;
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
}
.listing-body,
.shared-card-body {
  padding: 1rem 1.15rem 1.2rem;
  border-top: 1px solid var(--line);
}
.listing-body > :last-child,
.shared-card-body > :last-child {
  margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .listing-card > summary::after,
  .shared-card > summary::after { transition: none; }
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.75rem;
}
.card-actions[hidden],
[data-stripe-link][hidden],
[data-give-pending][hidden],
[data-stripe-trust][hidden] {
  display: none;
}
.card-actions .btn {
  min-height: 44px;
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Long-guide structure. */
.guide-hero {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2rem);
}
.guide-hero .container {
  max-width: 900px;
}
.guide-hero h1 {
  max-width: 18ch;
  margin-bottom: 0.65rem;
}
.guide-hero .lede {
  max-width: 68ch;
  margin: 0;
}
.guide-main {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.guide-main > .container {
  max-width: 900px;
}
.guide-at-glance {
  /* Ticket 195: the decorative book icon column is gone, so the card is a
     plain block now. */
  margin-bottom: 1.5rem;
  background: var(--gold-soft);
  border-color: rgba(180, 134, 31, 0.35);
}
.guide-at-glance h2 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.guide-at-glance ul {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.guide-sections {
  margin-block: 1.5rem;
}
.guide-sections > :first-child {
  margin-top: 0;
}
.guide-sections > h2 {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.guide-section > summary {
  width: 100%;
}
.guide-sources {
  margin-top: 1.75rem;
  background: var(--cream);
  box-shadow: none;
}
.guide-sources .accordion-body {
  font-size: 0.95rem;
}
.guide-sources dl {
  margin-top: 0;
}
.guide-related {
  margin-top: clamp(2rem, 5vw, 3rem);
}
.guide-related > h2 {
  margin-bottom: 0.85rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 0.85rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.related-card:hover {
  border-color: var(--gold);
  color: inherit;
}
.related-card strong {
  font-family: var(--font-display);
  color: var(--navy);
}
.related-card span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 520px) {
  .related-card {
    min-height: 96px;
  }
}

/* Resource category hubs share one compact visual language. */
.hub-hero {
  padding-block: clamp(1.8rem, 4vw, 3rem);
}
.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 260px);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
.hub-hero .lede {
  max-width: 66ch;
  margin-bottom: 0;
}
.hub-hero-art {
  display: grid;
  place-items: center;
  width: min(100%, 240px);
  aspect-ratio: 6 / 5;
  justify-self: end;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(180, 134, 31, 0.35);
  border-radius: 36% 64% 54% 46% / 46% 38% 62% 54%;
}
.hub-hero-art svg {
  width: 78%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Ticket 195: .hub-principle and .funding-first-step lost their icon
   column, so they no longer need a two-column grid. */
.hub-principle h2,
.hub-approach h2,
.funding-first-step h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}
.hub-approach {
  margin-bottom: 1.25rem;
}
.hub-approach ul {
  margin-bottom: 0;
}
.hub-cards {
  max-width: 1180px;
  margin-inline: auto;
}
.hub-cards .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.hub-cards .card .more-link {
  margin-top: auto;
  padding-top: 0.8rem;
}
.hub-crisis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.hub-crisis h2 {
  margin-bottom: 0.3rem;
}
.hub-crisis p {
  margin: 0;
}
.funding-roadmap {
  margin-bottom: 1.25rem;
}
.funding-roadmap > h2 {
  margin-bottom: 0.85rem;
}
.funding-roadmap ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.funding-roadmap li {
  gap: 0.25rem;
}
.funding-roadmap .step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.5rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-weight: 800;
}
.funding-roadmap li strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.funding-roadmap li > span:last-child {
  color: var(--muted);
}
.funding-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.8rem;
}
.funding-paths .listing-card {
  margin: 0;
}
.funding-examples {
  margin-bottom: 1.25rem;
}
.funding-examples h3 {
  margin-top: 0;
  font-size: 1.05rem;
}
.funding-first-step {
  margin-top: 1.5rem;
}
.form-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.7rem 0 1rem;
  font-size: 1rem;
}
.hero-status,
.hero-facts {
  margin: 0.85rem 0 0;
}
.hero-facts {
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .hub-hero-grid,
  .hub-crisis,
  .funding-paths {
    grid-template-columns: 1fr;
  }
  .hub-hero-art {
    width: min(62vw, 210px);
    justify-self: center;
    order: -1;
  }
  .hub-crisis .card-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .hub-crisis .btn {
    flex: 1 1 100%;
  }
}

/* Action-first crisis and service choice cards. */
.action-list {
  display: grid;
  gap: 0.9rem;
}
.action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.action-card h2,
.action-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.action-card p { margin: 0; }
.action-card .card-actions {
  justify-content: flex-end;
  padding: 0;
}
@media (max-width: 680px) {
  .action-card { grid-template-columns: 1fr; }
  .action-card .card-actions { justify-content: flex-start; }
  .action-card .btn { flex: 1 1 auto; }
}

/* Forms are readable objects rather than loose fields and microcopy. */
.form-card {
  width: min(100%, 720px);
  margin-inline: auto;
}
.form-note,
.form-status {
  font-size: 0.95rem;
  color: var(--muted);
}
.form-note {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.form-status:not(:empty) {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--mist-soft);
  color: var(--navy);
  font-weight: 700;
}

/* The date badge is a stable vertical tile on all wide layouts. */
.event-date {
  width: 72px;
  min-height: 82px;
  aspect-ratio: 7 / 8;
  overflow: hidden;
}
.event-date .dow,
.event-date .day,
.event-date .mon {
  width: 100%;
  line-height: 1.05;
}
@media (max-width: 560px) {
  .event-date {
    width: fit-content;
    min-height: 44px;
    aspect-ratio: auto;
  }
  .event-date .dow,
  .event-date .day,
  .event-date .mon { width: auto; }
}

/* Directory filters stay compact and wrap without producing giant pills. */
.dir-tools {
  gap: 0.7rem;
  align-items: end;
}
.dir-tools input[type="search"] {
  flex: 1 1 260px;
  min-width: min(100%, 220px);
  max-width: 34rem;
}
.dir-tools select {
  flex: 0 1 13rem;
  min-width: min(100%, 10rem);
}
.dir-tools input,
.dir-tools select,
.dir-tools button {
  min-height: 44px;
}
@media (max-width: 520px) {
  .dir-tools input[type="search"],
  .dir-tools select,
  .dir-age-field {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
}

/* Shared optional official-logo area for Directory card headers. */
.provider-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
}
.provider-logo {
  width: 78px;
  height: 54px;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  object-fit: contain;
}
@media (max-width: 420px) {
  .provider-logo { width: 62px; height: 46px; }
}

/* The homepage hero is intentionally followed closely by quick paths on
   desktop while its phone composition remains unchanged. */
@media (min-width: 821px) {
  .hero + .quick-paths,
  .hero + .section {
    padding-top: clamp(1.5rem, 3vw, 2rem);
  }
}

/* ---- Homepage: Join and support the village ---- */
.join-support-groups {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .join-support-groups { grid-template-columns: 1fr 1fr; }
}
.join-support-group h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.join-support-group .card + .card { margin-top: 1rem; }
.join-support-group .card p { margin-bottom: 0.75rem; }
.join-support-group .card h4 { margin: 0 0 0.35rem; font-size: 1.1rem; }

/* ---- Footer: Support the Village / Sponsorship as clear buttons ---- */
.foot-group--support ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.foot-group--support li { margin: 0; }
.foot-group--support a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
}
.foot-group--support li:first-child a {
  background: var(--gold);
  color: var(--navy-deep);
}
.foot-group--support a:hover { filter: brightness(1.08); }

/* ---- Small businesses: contact lines never split a phone number ---- */
.biz-contact { overflow-wrap: anywhere; }
.biz-contact .biz-phone { white-space: nowrap; }
.biz-contact .biz-sep { margin: 0 0.35rem; }

/* ---- Support page paths ---- */
.support-path {
  margin: 1.75rem 0 0.5rem;
  padding-top: 0.25rem;
}
.support-trust {
  margin: 1rem 0;
}

/* ---- Support page: family story, giving, and gated volunteer UI ---- */
.support-give-banner {
  padding-block: clamp(1.2rem, 2.5vw, 1.8rem);
}
.support-give-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: center;
}
.support-give-banner-copy {
  min-width: 0;
}
.support-give-banner .eyebrow {
  margin-bottom: 0.3rem;
}
.support-give-banner h1 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}
.support-give-banner .lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.support-give-banner .btn-row {
  justify-content: flex-end;
}
.support-story-hero {
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}
.support-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.support-story-copy,
.support-story-grid > * {
  min-width: 0;
}
.support-story-copy h2 {
  max-width: 18ch;
}
.support-story-text {
  max-width: 68ch;
}
.support-story-text p:last-child {
  margin-bottom: 0;
}
.support-story-copy .btn-row {
  margin-top: 1.25rem;
}
.support-family-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream, #f7f1e2);
  box-shadow: 0 10px 28px rgba(29, 44, 76, 0.12);
}
/* T221: the family photo is now a tight 3:4 portrait (all three faces in the
   upper third), so the old pumpkin-patch zoom crop (scale 1.85 at 62% 72%) is
   gone and the whole picture shows. */
.support-family-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 35%;
  aspect-ratio: 3 / 4;
}
.support-family-placeholder {
  min-height: clamp(250px, 32vw, 350px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px dashed rgba(29, 44, 76, 0.28);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  text-align: center;
}
.support-family-placeholder img {
  width: min(100%, 230px);
  max-height: 190px;
  object-fit: contain;
}
.support-family-placeholder strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.support-giving-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.support-giving-disclosure {
  width: 100%;
  max-width: none;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}
.support-impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
[data-volunteer-recruitment][hidden],
[data-volunteer-hours][hidden],
.support-hours-fields[hidden] {
  display: none !important;
}
.support-role-panels {
  max-width: 900px;
}
.support-role-list {
  margin-bottom: 0;
}
.support-role-list li + li {
  margin-top: 0.7rem;
}
.support-volunteer-card {
  margin-top: 1.25rem;
}
.support-volunteer-fields,
.support-interest-fieldset {
  min-width: 0;
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.support-interest-fieldset legend {
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.support-interest-fieldset .form-note {
  margin: -0.65rem 0 0;
}
.support-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.form .support-interest-grid .check {
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.form .support-interest-grid .check input {
  flex: 0 0 auto;
}
.support-volunteer-form textarea {
  min-height: 6rem;
}
.support-hours-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
@media (max-width: 900px) {
  .support-give-banner-inner {
    grid-template-columns: 1fr;
  }
  .support-give-banner .btn-row {
    justify-content: flex-start;
  }
  .support-story-grid {
    grid-template-columns: 1fr;
  }
  .support-family-placeholder {
    min-height: 220px;
  }
  .support-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .support-giving-disclosure {
    padding-inline: 0.5rem;
    font-size: clamp(0.875rem, 1.32vw, 0.99rem);
    white-space: nowrap;
  }
}
@media (max-width: 620px) {
  .support-giving-grid,
  .support-impact-grid,
  .support-interest-grid,
  .support-hours-fields {
    grid-template-columns: 1fr;
  }
  .support-story-hero {
    padding-top: 1.75rem;
  }
  .support-family-placeholder {
    min-height: 180px;
  }
  .support-family-placeholder img {
    width: min(70vw, 200px);
  }
}

/* ====================================================================
   Aug 24 build — compact cards, filter field structure, external-link
   cue, Learn dropdown width, directory readiness gate
   ==================================================================== */
.dir-age-field {
  flex: 0 1 10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.dir-age-field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.dir-age-field input[type="number"] { width: 100%; }
.dir-age-error { flex-basis: auto; margin: 0.35rem 0 0; }
@media (max-width: 1240px) and (min-width: 881px) {
  /* intermediate widths: search gets its own row, selects form clean rows */
  .dir-tools input[type="search"] { flex: 1 1 100%; }
  .dir-tools select { flex: 1 1 30%; }
  .dir-age-field { flex: 1 1 30%; }
}
/* summaries stay to two lines on collapsed cards; details hold the rest */
.dir-card--hc .hc-summary,
.dir-card--gen > .dir-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* anchors land below the sticky header + measured toolbar */
.dir-cat, .dir-alias, #directory [id], .dir-card[id] {
  scroll-margin-top: calc(var(--osv-header-h) + var(--osv-dir-tools-h) + var(--osv-sticky-gap));
}
/* Learn (and every) dropdown: one consistent width, one shared left edge —
   wide enough that "Complex Bodies & Equipment" stays on one line. */
.site-nav .nav-sub { min-width: 17.5rem; }
.site-nav .nav-sub a:not(.btn) { width: 100%; text-align: left; }
/* Visible external-link cue: every new-tab link gets one arrow. Links that
   already carry their own visible arrow (directory Website actions, resource
   titles) opt out via .has-ext-cue. Empty alt text keeps it decorative. */
main a[target="_blank"]:not(.has-ext-cue)::after {
  content: " \2197" / "";
  font-size: 0.8em;
  opacity: 0.75;
}
/* Audience readiness gate: the pre-rendered all-audience snapshot stays in the
   layout (no jump) but is not shown until the engine applies the requested
   audience — so ?audience=adult never flashes the child view. */
html[data-dir-pending] #directory,
html[data-dir-pending] #dir-building,
html[data-dir-pending] .dir-toc,
html[data-dir-pending] .dir-jump,
html[data-dir-pending] .dir-audience,
html[data-dir-pending] .dir-tools-wrap {
  opacity: 0;
}
html:not([data-dir-pending]) #directory { transition: opacity 0.15s ease; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-dir-pending]) #directory { transition: none; }
}
/* gen-card actions reuse the hc pattern; the +N badge is informational */
.pill--more { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.dir-card--gen .hc-actions { margin-top: 0.2rem; }

/* August 29: one Directory card shell. Provider, adult-program, government,
   funding and information records now use the same anatomy; data-card-kind is
   filtering semantics, not a separate visual implementation. */
.dir-entries {
  align-items: stretch;
}
.dir-entries:has(.dir-card.is-open) {
  align-items: start;
}
.dir-card {
  gap: 0.7rem;
  padding: 1.4rem 1.5rem 1.3rem;
  min-width: 0;
}
.dir-card .hc-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}
.dir-card .hc-head-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.4rem 0.5rem;
}
.dir-card .hc-head-copy h3,
.dir-card .hc-head-copy h4 {
  flex: 1 0 100%;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.provider-logo {
  flex: 0 0 5.5rem;
  width: 5.5rem;
  height: 4rem;
  padding: 0.3rem;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.dir-card .hc-id {
  margin: -0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}
.dir-card .hc-disc {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
}
.dir-card .gc-meta,
.dir-card .gc-extra {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.dir-card .gc-meta {
  font-weight: 700;
}
.dir-card .hc-facts,
.dir-card .hc-detail {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.4rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.dir-card .hc-facts dt,
.dir-card .hc-detail dt {
  margin: 0;
  font-weight: 800;
  color: var(--muted);
}
.dir-card .hc-facts dd,
.dir-card .hc-detail dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.dir-card .hc-facts dd {
  font-weight: 600;
}
.dir-card .hc-summary,
.dir-card > .dir-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.dir-card.is-open > .dir-blurb {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.dir-card .hc-note,
.dir-card .hc-desc {
  margin: 0;
}
.dir-card .hc-actions {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.dir-card .hc-toggle,
.dir-card .hc-actions > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.dir-card .hc-toggle {
  color: var(--navy);
  background: var(--sand);
  cursor: pointer;
}
.dir-card .hc-actions > a {
  color: var(--navy);
  background: var(--white);
}
.dir-card .hc-toggle:hover,
.dir-card .hc-actions > a:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  text-decoration: none;
}
.dir-card .hc-toggle[aria-expanded="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
.dir-card .hc-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.dir-card .hc-details[hidden] {
  display: none;
}
.dir-card .hc-more {
  min-width: 44px;
  min-height: 44px;
  margin: -0.25rem 0;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.review-block {
  margin-top: 0.1rem;
}
.review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}
.review-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}
.review-actions .btn {
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
}
.review-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 600px) {
  .dir-card {
    padding: 1.2rem 1.15rem 1.1rem;
  }
  .provider-logo {
    flex-basis: 4.5rem;
    width: 4.5rem;
    height: 3.5rem;
  }
  .dir-card .hc-facts,
  .dir-card .hc-detail {
    display: block;
  }
  .dir-card .hc-facts dt,
  .dir-card .hc-detail dt,
  .dir-card .hc-facts dd,
  .dir-card .hc-detail dd {
    display: inline;
  }
  .dir-card .hc-facts dt,
  .dir-card .hc-detail dt {
    margin-right: 0.35em;
  }
  .dir-card .hc-facts dd::after,
  .dir-card .hc-detail dd::after {
    content: "";
    display: block;
    height: 0.4rem;
  }
}

/* ====================================================================
   Aug 24 build — Start Here redesign: calm hierarchy, compact week rows,
   Do-this-today card, crisis strip, tip rows, chips, contact rows
   ==================================================================== */
.reviewed--quiet { opacity: 0.75; font-size: 0.85rem; }
.today-card {
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 0 0 1rem;
}
.today-kicker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.today-icon { width: 16px; height: 16px; }
.today-title { margin: 0 0 0.25rem; font-size: 1.2rem; }
.today-text { margin: 0 0 0.6rem; }
.today-done { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--muted); cursor: pointer; min-height: 44px; }
.today-done input { width: 1.15rem; height: 1.15rem; accent-color: var(--navy); }
.crisis-strip {
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid #a33;
  border-radius: 10px;
  background: var(--white);
  font-size: 0.95rem;
}
.crisis-strip a { font-weight: 800; color: var(--navy); }
/* week rows: one calm line each */
.week-card { border-radius: 14px; box-shadow: none; margin: 0 0 0.6rem; }
.week-card > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  grid-template-columns: none;
  grid-template-areas: none;
  padding: 0.8rem 1rem;
  min-height: 44px;
}
.week-card .week-icon { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; }
.week-card .week-icon svg { width: 17px; height: 17px; }
.week-card .week-num {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.week-card .week-sum-title { flex: 1 1 auto; margin: 0; font-size: 1.02rem; line-height: 1.3; }
.week-card .week-sum-progress { flex: 0 0 auto; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.week-card .week-chev { width: 24px; height: 24px; border: 0; flex: 0 0 auto; }
.week-card .week-body { padding: 0.25rem 1rem 1rem; border-top: 1px solid var(--line); }
.week-card .week-body > :first-child { margin-top: 0.85rem; }
@media (max-width: 560px) {
  .week-card > summary { flex-wrap: wrap; row-gap: 0.15rem; }
  .week-card .week-sum-title { flex-basis: calc(100% - 110px); }
  .week-card .week-sum-progress { margin-left: 44px; }
}
/* steps: thin dividers instead of nested cards */
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list > .step-row { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.steps-list > .step-row:last-child { border-bottom: 0; }
.step-row label { display: flex; align-items: flex-start; gap: 0.55rem; cursor: pointer; }
.step-row input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; flex: 0 0 auto; accent-color: var(--navy); }
.step-row .day-text { font-size: 1rem; }
.step-note { margin: 0.25rem 0 0 1.75rem; font-size: 0.93rem; color: var(--ink); }
.step-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.65rem 0 0 1.75rem;
}
.step-guide-actions .btn {
  min-height: 44px;
}
@media (max-width: 520px) {
  .step-guide-actions .btn {
    flex: 1 1 100%;
  }
}
.age-options { margin: 0.35rem 0 0 1.75rem; padding: 0; list-style: none; font-size: 0.93rem; }
.age-options li { margin: 0.2rem 0; }
.step-more { margin: 0.4rem 0 0 1.75rem; }
.step-more > summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.step-more > summary::after { content: "\25BE"; font-size: 0.75rem; transition: transform 0.15s ease; }
.step-more[open] > summary::after { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .step-more > summary::after { transition: none; } }
.step-more-body { margin: 0.35rem 0 0.25rem; font-size: 0.92rem; }
.step-more-body p, .step-more-body ul { margin: 0 0 0.5rem; }
.steps-list--secondary { margin-left: 0; }
.tip-row {
  margin: 0.9rem 0 0;
  padding: 0.55rem 0.8rem;
  background: var(--mist-soft);
  border-radius: 8px;
  font-size: 0.9rem;
}
.chip-block { margin: 0.9rem 0 0; }
.chip-label { margin: 0 0 0.3rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.chip-row { margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.contact-actions { margin: 0.9rem 0 0; }
.contact-actions-note { margin: 0 0 0.4rem; font-size: 0.9rem; color: var(--muted); }
.contacts-fold { margin-top: 1.25rem; }
.contact-rows { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.contact-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-rows li:last-child { border-bottom: 0; }
.contact-rows .contact-name { font-size: 0.95rem; }
.contact-rows .contact-action { font-weight: 700; white-space: nowrap; }
.contact-blank { color: var(--muted); }
@media print {
  .contact-blank::after { content: "____________________"; }
  .crisis-strip { border-color: #000; }
}

/* ---- Resource Library topic nav (Aug 24) ---- */

/* Compact Resource Library search and topic controls. */
.lib-tools {
  margin: 0 0 1.75rem;
}
.lib-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
}
.lib-field {
  flex: 1 1 260px;
  min-width: 0;
}
.lib-field label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.lib-search-row {
  display: flex;
  gap: 0.5rem;
}
.lib-search-row input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.lib-search-clear {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.lib-search-clear:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.lib-search-clear[hidden] {
  display: none;
}
.lib-field--jump select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.lib-search-status {
  margin: 0.6rem 0 0;
  min-height: 1.3em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}
@media (max-width: 819px) {
  .lib-tools-row {
    flex-direction: column;
    align-items: stretch;
  }
  .lib-field {
    flex-basis: auto;
  }
}

/* Topic accordions: each of the seven guide sections is a <details>, kept
   flat (no card box/shadow) so the page does not become a stack of heavy
   panels on top of the 71 guide cards. The static markup ships every topic
   open (no-JS and SEO safe); js/library-nav.js closes all but one on
   phones and enforces a single-open accordion there only — desktop leaves
   every summary independently toggleable. */
.lib-topic {
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.lib-topic:last-of-type {
  border-bottom: 0;
}
.lib-topic > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  padding: 0.8rem 0.1rem;
  min-height: 56px;
  cursor: pointer;
  list-style: none;
}
.lib-topic > summary::-webkit-details-marker {
  display: none;
}
.lib-topic > summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.lib-topic > summary h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}
.lib-topic-count {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.lib-topic-chev {
  flex: 0 0 auto;
  width: 1.1em;
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
  color: var(--gold-deep);
  transition: transform 0.2s ease;
}
.lib-topic[open] > summary .lib-topic-chev {
  transform: rotate(180deg);
}
.lib-topic-desc {
  flex: 1 1 100%;
  order: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 0.92rem;
}
.lib-topic > .grid-3 {
  margin-top: 0.5rem;
}
@media print {
  /* On-page-only chrome, same treatment as .task-shortcuts (existing print rule). */
  .lib-tools {
    display: none;
  }
  .lib-topic > summary .lib-topic-chev {
    display: none;
  }
}

/* ====================================================================
   Aug. 31, 2026 post-build follow-up
   ==================================================================== */

/* Decorative village scenes share one safe canvas and never crop. */
.page-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 210;
  object-fit: contain;
}

/* Start Here: one chosen path, one action, and simple visible next steps. */
.start-choice {
  margin-bottom: 1.5rem;
}
.start-choice > p {
  max-width: 62ch;
}
.start-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.start-choice-button {
  min-height: 96px;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--navy);
  font: 700 1.05rem/1.35 var(--font-display);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.start-choice-button:hover {
  background: var(--gold-soft);
}
.start-choice-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.start-path-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}
.start-path-bar[hidden] { display: none; }
.start-path-bar p { margin: 0; }
.start-path-kicker {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.start-today {
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 2px solid var(--gold);
  border-radius: var(--radius-card);
  background: var(--gold-soft);
}
.start-today h2 {
  margin-bottom: 0.5rem;
}
.start-today p {
  margin: 0;
}
.start-map > h2 {
  margin-bottom: 1rem;
}
.start-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: start-stage;
}
.start-stage {
  position: relative;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.start-stage-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-dark);
  font-weight: 800;
}
.start-stage h3 {
  margin-bottom: 0.45rem;
}
.start-stage p {
  margin-bottom: 0;
}
.start-stage-actions,
.start-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.start-stage-actions .btn,
.start-contact-actions .btn {
  white-space: normal;
}
.start-contacts {
  margin-top: 1.5rem;
}
.start-contacts h2 {
  margin-bottom: 0.5rem;
}
.start-closing {
  margin: 1.25rem 0 0;
  color: var(--navy);
  font-weight: 700;
}
.start-local h2 {
  margin-bottom: 1rem;
}
.start-local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.start-local-card {
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: var(--navy);
  text-decoration: none;
}
a.start-local-card:hover {
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-lift);
}
.start-local-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}
/* T224: supportive tagline under each local-help card title, styled like the
   start-stage body copy so the three paths read at the same density. */
.start-local-blurb {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.start-local-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  margin-top: 0.35rem;
}
.start-local-actions a {
  font-weight: 800;
}
.start-local-directory {
  margin-top: 1rem;
}
@media (max-width: 680px) {
  .start-choice-grid,
  .start-stage-grid,
  .start-local-grid {
    grid-template-columns: 1fr;
  }
  .start-path-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 720px) {
  .page-hero--start-here {
    padding-block: 1.25rem 1rem;
  }
  .page-hero--start-here .page-hero-grid {
    gap: 1rem;
  }
  .page-hero--start-here .page-visual {
    width: min(48vw, 180px);
  }
}

/* Shared need choices: true, equal 3-by-3 / 2-column / 1-column grids. */
.task-shortcuts ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.task-shortcuts li {
  display: flex;
  min-width: 0;
}
.task-shortcuts a {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
}
@media (max-width: 900px) {
  .task-shortcuts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .task-shortcuts ul { grid-template-columns: 1fr; }
}

/* Resource Library: explicit submit/reset controls and isolated results. */
.lib-tools-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  align-items: end;
}
.lib-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 0.5rem;
}
.lib-search-row .btn,
.lib-search-clear {
  min-height: 48px;
  white-space: nowrap;
}
.lib-search-row input[type="search"],
.lib-field--jump select {
  min-height: 48px;
}
.lib-search-results {
  margin: 0 0 2rem;
}
.lib-search-results[hidden],
#library-default-view[hidden] {
  display: none;
}
.lib-search-results h2 {
  margin-bottom: 0.35rem;
}
.guide-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.guide-search-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.guide-search-category {
  width: fit-content;
  margin-bottom: 0.65rem;
}
.guide-search-card h3 {
  margin-bottom: 0.45rem;
}
.guide-search-card p {
  margin-bottom: 1rem;
}
.guide-search-card .btn {
  margin-top: auto;
}
@media (max-width: 980px) {
  .guide-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .lib-tools-row,
  .guide-search-grid {
    grid-template-columns: 1fr;
  }
  .lib-search-row {
    grid-template-columns: 1fr auto;
  }

  .lib-search-row .btn {
    justify-content: center;
  }
}

/* Directory: equal audience segments and deliberate responsive filter rows. */
.dir-audience-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 48rem;
}
.dir-audience-opt {
  display: flex;
  min-width: 0;
}
.dir-audience-opt span {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-height: 48px;
  justify-content: center;
  border-radius: 0;
  text-align: center;
}
.dir-audience-opt + .dir-audience-opt span {
  margin-inline-start: -1.5px;
}
.dir-audience-opt:first-child span {
  border-radius: 12px 0 0 12px;
}
.dir-audience-opt:last-child span {
  border-radius: 0 12px 12px 0;
}
.dir-tools,
.dir-tools-wrap[data-open="1"] .dir-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
}
.dir-filter-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
}
.dir-filter-field--search {
  grid-column: 1 / -1;
}
.dir-filter-field label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: normal;
}
.dir-tools .dir-filter-field input[type="search"],
.dir-tools .dir-filter-field input[type="number"],
.dir-tools .dir-filter-field select,
.dir-tools-wrap[data-open="1"] .dir-tools .dir-filter-field input,
.dir-tools-wrap[data-open="1"] .dir-tools .dir-filter-field select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: 0 0 52px;
  height: 52px;
  min-height: 52px;
  margin: 0;
}
.dir-tools .dir-filter-field input[type="search"] {
  border-radius: 12px;
}
.dir-age-field {
  width: auto;
}
@media (max-width: 1100px) {
  .dir-tools,
  .dir-tools-wrap[data-open="1"] .dir-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .dir-audience-opt span {
    padding-inline: 0.45rem;
    font-size: 0.88rem;
  }
  .dir-tools,
  .dir-tools-wrap[data-open="1"] .dir-tools {
    grid-template-columns: 1fr;
  }
}

/* Ticket 8: the desktop search/filter block minimizes too — even before any
   search — so the sticky tools are never stuck in the way. The control sits
   in the filter grid's spare last cell (zero extra height while open); when
   minimized, the fields hide but the button and any active-filter chips
   (.dir-status) stay visible. Phones keep the Ticket 7 toggle (≤900px).
   State mirrors the phone toggle: expanded = navy pill with a gold up-arrow,
   minimized = white pill with a down-arrow and the active-filter count. */
.dir-tools-min {
  display: none;
}
@media (min-width: 901px) {
  .dir-tools-min:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
    align-self: end;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    background: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    min-height: 44px;
    cursor: pointer;
    box-shadow: var(--shadow-card);
  }
  .dir-tools-min::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 auto;
    border: solid var(--gold);
    border-width: 0 2px 2px 0;
    box-sizing: border-box;
    transform: rotate(225deg);
    margin-top: 0.25rem;
  }
  .dir-tools-min[aria-expanded="false"] {
    color: var(--navy);
    background: var(--white);
    border-color: var(--line);
    justify-self: start;
  }
  .dir-tools-min[aria-expanded="false"]::before {
    border-color: var(--gold-deep);
    transform: rotate(45deg);
    margin-top: -0.25rem;
  }
  .dir-tools-min[aria-expanded="false"][data-count]:not([data-count="0"])::after {
    content: attr(data-count);
    background: var(--gold);
    color: var(--navy-deep);
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0 0.45rem;
    line-height: 1.4;
  }
  .dir-tools-wrap[data-min="1"] .dir-tools .dir-filter-field,
  .dir-tools-wrap[data-min="1"] .dir-age-error {
    display: none;
  }
  .dir-tools-wrap[data-min="1"] .dir-status {
    margin-top: 0.4rem;
  }
}

/* Ticket 194: the About page opens with one navy story-and-portrait panel
   (about 58 / 42 on desktop; story first, then portrait, on phones) instead
   of a floating headline, portrait, card, and illustration. */
.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.about-feature h1 {
  margin: 0 0 1rem;
  color: var(--cream);
}
.about-feature p {
  max-width: 58ch;
}
.about-feature-founder {
  margin-top: 1.25rem;
  color: var(--gold);
  font-weight: 700;
}
.about-feature-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: calc(var(--radius-band) - 0.5rem);
  background: var(--navy);
}
.about-feature-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
/* Even section rhythm on the About page: roughly 56–64px between blocks on
   desktop and 36–40px on phones, with no stacked margins. */
.section--about {
  padding-block: clamp(1.125rem, 2.75vw, 2rem);
}
.section--about .container > :first-child {
  margin-top: 0;
}
.listing-facts {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
}
.listing-facts div {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
  gap: 0.75rem;
}
.listing-facts dt {
  color: var(--navy);
  font-weight: 800;
}
.listing-facts dd {
  margin: 0;
}
@media (max-width: 720px) {
  .about-feature {
    grid-template-columns: 1fr;
    padding: clamp(1.25rem, 5vw, 2.25rem);
  }
}

/* ---- Ticket 198: Therapy styles guide (/resources/therapy-styles) ----
   Composed from the existing cards, callouts, grids, and the navy band.
   These rules only space the stacked blocks and draw the large numbered
   observation list on navy. */
.therapy-guide .guide-sections > .grid-2,
.therapy-guide .guide-sections > .grid-3,
.therapy-guide .guide-sections > .both-strip,
.therapy-guide .guide-sections > .observe-panel,
.therapy-guide .guide-sections > .accordion {
  margin-bottom: 1.5rem;
}
.therapy-guide .case-grid h2,
.therapy-guide .flags-grid h2 {
  font-size: 1.25rem;
}
.therapy-guide .goals-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.observe-panel h2 {
  margin-top: 0;
}
.observe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: observe;
  display: grid;
  gap: 1rem;
}
.observe-list > li {
  counter-increment: observe;
  position: relative;
  padding-left: 3.4rem;
  font-size: 1.05rem;
  line-height: 1.55;
}
.observe-list > li::before {
  content: counter(observe);
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.observe-list strong {
  color: var(--cream);
}
.source-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}
.therapy-guide .fit-grid {
  /* Three long profile cards read better stacked than as narrow columns inside the 900px guide column. */
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Ticket 197: approved Choosing Care series. */
.choosing-care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem; margin: 1.5rem 0 3rem; }
.choosing-care-grid .card { display: flex; flex-direction: column; height: auto; text-decoration: none; }
.choosing-care-grid .card .btn { margin-top: auto; align-self: flex-start; }
.choosing-care-grid .card p { font-size: 1.125rem; }
.choosing-care-guide .guide-content { max-width: 960px; font-size: 1.125rem; line-height: 1.7; }
.choosing-care-guide .care-section { margin: 2rem 0; }
.choosing-care-guide .care-short { padding: 1.5rem; border-radius: 1.25rem; background: var(--mist, #e8f0f4); margin: 1.5rem 0; }
.choosing-care-guide .care-questions { padding: 1.5rem; border-radius: 1.25rem; background: var(--navy); color: white; }
.choosing-care-guide .care-questions h2 { color: white; }
.choosing-care-guide .care-questions ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style-position: inside; padding: 0; }
.choosing-care-guide .care-questions li { padding: 1rem; border-radius: .75rem; background: rgba(255,255,255,.09); margin: 0; }
.care-accordion { border: 1px solid var(--navy); border-radius: 1rem; margin: 1.25rem 0; overflow: hidden; }
.care-accordion > h2 { margin: 0; font-size: 1.25rem; }
.care-accordion > h2 > button { display: flex; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1.25rem; background: transparent; color: var(--navy); border: 0; font: inherit; cursor: pointer; }
.care-accordion > h2 > button::after { content: '+'; }
.care-accordion > h2 > button[aria-expanded="true"]::after { content: '−'; }
.care-accordion > div { padding: 0 1.25rem 1.25rem; }
.care-accordion a { overflow-wrap: anywhere; }
.care-answer-grid, .care-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.care-answer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .choosing-care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .choosing-care-grid, .care-answer-grid, .care-link-grid, .choosing-care-guide .care-questions ol { grid-template-columns: minmax(0, 1fr); }
  .choosing-care-guide .guide-content, .choosing-care-grid .card p { font-size: 1.0625rem; }
}

#missing-child { scroll-margin-top: 13rem; }

/* T210: keep search attached to its action at every width. */
.lib-tools { padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.lib-field--jump select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.lib-search-row input[type="search"] { min-width: 0; height: 48px; }
.lib-search-submit { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--navy); color: white; cursor: pointer; }
.lib-search-submit:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lib-search-results > .lib-search-clear { margin-bottom: 1rem; }
.lib-topic > summary h2:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 820px) { .lib-tools-row { grid-template-columns: minmax(0, 1fr); } }

#library-default-view > .band { padding: 1.5rem; margin-bottom: 1.5rem; gap: 1.5rem; }
#library-default-view > .task-shortcuts { margin-bottom: 1.5rem; }
#library-default-view .task-shortcuts a { min-height: 44px; padding-block: 0.5rem; }
