/* Westside Regional Center: sun over the Westside water.
 *
 * WRC's 2025 mark is a sun rising over three ocean waves; the site is built from it. White
 * ground, royal for the bars and the Listen, Inform, Support room, logo blue for links, sky for
 * wave lines and fills (never small text), sun for the signature accent (never text on white).
 * Urbanist for display, Lexend for reading. The sunwave motif (three wave lines, a sun disc,
 * sun rings) is drawn with CSS gradients only.
 */

:root {
  --white: #ffffff;
  --ink: #16213f;
  --ink-soft: #3d4869;
  --royal: #283c90;
  --royal-deep: #1d2d70;
  --blue: #0b71b9;
  --blue-deep: #085a94;
  --sky: #34ace8;
  --sky-line: #9fd5f3;
  --mist: #eef7fd;
  --line: #d4e4f1;
  --sun: #f8a800;
  --sun-light: #ffd45e;
  --accent-50: #fff8e7;
  --accent-100: #ffefc4;
  --accent-200: #ffe08c;
  --accent-300: #ffcf55;
  --accent-400: #ffbc26;
  --accent-500: #f8a800;
  --accent-600: #d98d00;
  --accent-700: #b06b00;
  --accent-800: #8a4d00;
  --accent-900: #5c3200;
  --ok: #1d6b3f;
  --alert: #a3261a;
  --font-display: "Urbanist", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Lexend", "Segoe UI", Arial, sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 44rem;
  --shadow: 0 1px 2px rgb(22 33 63 / 0.06), 0 8px 24px rgb(22 33 63 / 0.08);
}

/* ---- Base ------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-weight: 350;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--royal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: -0.01em;
}
/* Interior titles hold WRC's long names (Developmental Disabilities, Self-Determination) to two lines on a wide screen. */
h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 2.9rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.45rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2.5px; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--royal); color: var(--white); padding: 0.75rem 1.25rem; border-radius: 0 0 12px 12px;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---- Buttons ----------------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border-radius: 999px; border: 2px solid var(--royal);
  background: var(--royal); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: 0.01em;
  text-decoration: none; line-height: 1.2; cursor: pointer;
}
.button:hover { background: var(--royal-deep); border-color: var(--royal-deep); color: var(--white); }
.button--sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.button--sun:hover { background: var(--accent-400); border-color: var(--accent-400); color: var(--ink); }
.button--line { background: transparent; color: var(--royal); }
.button--line:hover { background: var(--mist); color: var(--royal-deep); }
.tel { white-space: nowrap; font-weight: 500; }

/* ---- The sunwave: three wave lines from WRC's mark -------------------------------------------
 * Each line is two rows of shallow circular arcs (crests, then troughs half a wave along), so
 * the waves read long and calm like the logo's. --R is the arc radius, --h its rise, --L half a
 * wavelength (2 * sqrt(2Rh - h^2), so the arcs meet tangent), --w the stroke, --gap the spacing.
 */
.sunwave, .lifespan__waves {
  --R: 30px; --h: 6px; --L: 36px; --w: 3px; --gap: 10px;
  position: relative;
  height: calc(var(--gap) * 2 + var(--h) * 2 + var(--w) * 2);
  pointer-events: none;
}
.sunwave::before, .sunwave::after, .sunwave > span,
.lifespan__waves::before, .lifespan__waves::after, .lifespan__waves > span {
  --c: var(--sky);
  content: "";
  position: absolute; left: 0; right: 0;
  height: calc(var(--h) * 2 + var(--w) * 2);
  background:
    radial-gradient(circle at calc(var(--L) / 2) calc(var(--R) + var(--w) / 2), #0000 calc(var(--R) - var(--w) / 2 - 0.6px), var(--c) calc(var(--R) - var(--w) / 2) calc(var(--R) + var(--w) / 2), #0000 calc(var(--R) + var(--w) / 2 + 0.6px)) 0 0 / calc(var(--L) * 2) calc(var(--h) + var(--w)) repeat-x,
    radial-gradient(circle at calc(var(--L) * 1.5) calc(var(--h) + var(--w) / 2 - var(--R)), #0000 calc(var(--R) - var(--w) / 2 - 0.6px), var(--c) calc(var(--R) - var(--w) / 2) calc(var(--R) + var(--w) / 2), #0000 calc(var(--R) + var(--w) / 2 + 0.6px)) 0 var(--h) / calc(var(--L) * 2) calc(var(--h) + var(--w)) repeat-x;
}
.sunwave::before, .lifespan__waves::before { top: 0; --c: var(--sky); }
.sunwave > span, .lifespan__waves > span { top: var(--gap); --c: var(--blue); }
.sunwave::after, .lifespan__waves::after { top: calc(var(--gap) * 2); --c: var(--royal); }
.sunwave--head { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.sunwave--footer, .sunwave--room { --R: 52px; --h: 8px; --L: 55.4px; --w: 3.5px; --gap: 13px; }
.sunwave--footer::before, .sunwave--room::before { --c: var(--sky); }
.sunwave--footer > span, .sunwave--room > span { --c: var(--sky-line); }
.sunwave--footer::after, .sunwave--room::after { --c: var(--white); }
/* With forced colors the gradients drop away, so a divider keeps a plain rule in the system ink. */
@media (forced-colors: active) {
  .sunwave--divider { border-bottom: 2px solid CanvasText; }
}
/* The sun from the mark as a list marker: a sun disc in a pale ring. */
.sunwave-list { margin: 0; padding: 0; list-style: none; }
.sunwave-list > li { position: relative; padding-left: 1.6rem; }
.sunwave-list > li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 11px; height: 11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--accent-100); }

/* ---- Masthead ------------------------------------------------------------------------------ */
.concept-note {
  margin: 0; padding: 0.35rem var(--gutter);
  background: var(--mist); color: var(--ink);
  font-size: 0.95rem; line-height: 1.4; text-align: center;
}
.topbar { background: var(--royal); color: var(--white); font-size: 0.98rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.45rem; }
.topbar a { color: var(--white); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.45); }
.topbar a:hover { text-decoration-color: var(--sun); color: var(--white); }
.topbar :focus-visible { outline-color: var(--sun); }
.topbar__call { margin: 0; }
.topbar__call .tel { font-weight: 600; }
.topbar__hours { opacity: 0.88; margin-left: 0.5rem; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.topbar__links a { display: inline-block; padding-block: 0.15rem; }
.topbar__links a[aria-current="page"] { text-decoration-color: var(--sun); text-decoration-thickness: 3px; }

.masthead { background: var(--white); }
.masthead__inner { display: flex; align-items: center; gap: 1.25rem 2rem; padding-block: 1rem; }
.brand { flex: none; display: block; border-radius: 6px; }
.brand__logo { width: 232px; height: auto; }

.omnibox { position: relative; flex: 1; min-width: 0; max-width: 34rem; margin-left: auto; display: flex; }
.omnibox input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0.6rem 1.1rem;
  border: 2px solid var(--royal); border-right: 0; border-radius: 999px 0 0 999px;
  font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--white);
}
.omnibox input::placeholder { color: #5b6585; }
.omnibox input:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 999px 0 0 999px; }
.omnibox button {
  min-height: 50px; padding: 0 1.3rem; border: 2px solid var(--royal); border-radius: 0 999px 999px 0;
  background: var(--royal); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; cursor: pointer;
}
.omnibox button:hover { background: var(--royal-deep); }
.omnibox button:focus-visible { outline: 3px solid var(--sun); outline-offset: -6px; border-radius: 0 999px 999px 0; }
.omnibox__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0;
  margin: 0; padding: 0.4rem; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  max-height: min(70vh, 32rem); overflow-y: auto;
}
.omnibox__group { padding: 0.55rem 0.75rem 0.2rem; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.omnibox__option { display: flex; flex-direction: column; padding: 0.5rem 0.75rem; border-radius: 10px; cursor: pointer; }
.omnibox__option[aria-selected="true"], .omnibox__option:hover { background: var(--mist); }
.omnibox__option-title { color: var(--ink); font-weight: 500; line-height: 1.35; }
.omnibox__option-meta { color: var(--ink-soft); font-size: 0.9rem; }
.omnibox__option--ask .omnibox__option-title::before { content: "Ask WRC: "; color: var(--royal); font-weight: 700; }
.omnibox__option--all .omnibox__option-title { color: var(--blue); }
.omnibox__empty { padding: 0.6rem 0.75rem; color: var(--ink-soft); }

.menu { display: none; position: relative; }
.menu summary {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 48px; padding: 0.4rem 1rem;
  border: 2px solid var(--royal); border-radius: 999px; color: var(--royal);
  font-family: var(--font-display); font-weight: 800; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 18px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -6px; }
.menu__bars::after { top: 6px; }
.menu[open] summary { background: var(--royal); color: var(--white); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(22rem, calc(100vw - 2 * var(--gutter)));
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 1rem;
}
.menu__heading { margin: 0 0 0.4rem; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.menu__panel ul { list-style: none; margin: 0; padding: 0; }
.menu__stages { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; margin-bottom: 0.9rem !important; }
.menu__stages a { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.35rem 0.6rem; border-radius: 12px; background: var(--mist); color: var(--royal); font-weight: 600; text-decoration: none; }
.menu__sun { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--accent-100); flex: none; }
.menu__doors a { display: block; padding: 0.55rem 0.35rem; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu__panel a[aria-current="page"] { color: var(--royal); font-weight: 700; }

.primary-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 0 0.25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  position: relative; display: block; padding: 0.95rem 0.95rem;
  color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
}
.primary-nav li:first-child a { padding-left: 0; }
.primary-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0.38rem; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: var(--sun); transform: scale(0); transition: transform 0.2s ease;
}
.primary-nav li:first-child a::after { left: calc(50% - 0.475rem); }
.primary-nav a:hover { color: var(--royal); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after, .primary-nav a[data-current-section]::after { transform: scale(1); }
.primary-nav a[aria-current="page"], .primary-nav a[data-current-section] { color: var(--royal); }

/* ---- Photographs: sun windows -------------------------------------------------------------- */
.photo { margin: 0; max-width: var(--cap, 100%); }
.photo__frame { display: block; overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); }
.photo figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }
.photo--disc { position: relative; aspect-ratio: 1; padding: 22px; }
.photo--disc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 calc(50% - 22px), var(--sun) calc(50% - 21px) calc(50% - 17px), transparent calc(50% - 16px) calc(50% - 9px), var(--accent-300) calc(50% - 8px) calc(50% - 5px), transparent calc(50% - 4px));
  mask: linear-gradient(200deg, #000 30%, #0008 62%, #0000 92%);
}
.photo--disc .photo__frame { border-radius: 50%; aspect-ratio: 1; }
.photo--wave .photo__frame { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: var(--ratio, 1.5); }
.photo--wave .photo__frame { --R: 90px; --h: 8px; --L: 74.2px; --w: 3.5px; --base: 10px; --c: var(--white); --line: var(--sky); }
.photo--wave .photo__frame::after, .photo--wave .photo__frame::before { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.photo--wave .photo__frame::after {
  bottom: -1px; height: calc(var(--h) * 2 + var(--base) + 1px);
  background:
    radial-gradient(circle at calc(var(--L) / 2) var(--R), var(--c) var(--R), #0000 calc(var(--R) + 0.6px)) 0 0 / calc(var(--L) * 2) var(--h) repeat-x,
    radial-gradient(circle at calc(var(--L) * 1.5) calc(var(--h) - var(--R)), #0000 var(--R), var(--c) calc(var(--R) + 0.6px)) 0 var(--h) / calc(var(--L) * 2) var(--h) repeat-x,
    linear-gradient(var(--c), var(--c)) 0 calc(var(--h) * 2) / 100% calc(var(--base) + 1px) no-repeat;
}
.photo--wave .photo__frame::before {
  bottom: calc(var(--base) - var(--w) / 2); height: calc(var(--h) * 2 + var(--w) * 2);
  background:
    radial-gradient(circle at calc(var(--L) / 2) calc(var(--R) + var(--w) / 2), #0000 calc(var(--R) - var(--w) / 2 - 0.6px), var(--line) calc(var(--R) - var(--w) / 2) calc(var(--R) + var(--w) / 2), #0000 calc(var(--R) + var(--w) / 2 + 0.6px)) 0 0 / calc(var(--L) * 2) calc(var(--h) + var(--w)) repeat-x,
    radial-gradient(circle at calc(var(--L) * 1.5) calc(var(--h) + var(--w) / 2 - var(--R)), #0000 calc(var(--R) - var(--w) / 2 - 0.6px), var(--line) calc(var(--R) - var(--w) / 2) calc(var(--R) + var(--w) / 2), #0000 calc(var(--R) + var(--w) / 2 + 0.6px)) 0 var(--h) / calc(var(--L) * 2) calc(var(--h) + var(--w)) repeat-x;
}
.photo--window { position: relative; }
.photo--window .photo__frame { aspect-ratio: 6 / 5; border-radius: 999px 999px 28px 28px; }
.photo--window::before {
  content: ""; position: absolute; z-index: 1; left: -38px; bottom: -34px; width: 124px; height: 124px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--sun-light) 0 26%, var(--sun) 27% 33%, transparent 34% 44%, var(--sun) 45% 52%, transparent 53% 63%, var(--accent-300) 64% 70%, transparent 71%);
}

/* ---- Page openings ------------------------------------------------------------------------- */
.page-head { padding-top: clamp(1.25rem, 3vw, 2.25rem); }
.page-head__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.page-head--photo .page-head__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); }
/* The title starts at the same place on every page, however tall the photograph beside it. */
.page-head__text { max-width: var(--measure); align-self: start; }
.page-head h1 { margin-bottom: 0.35em; }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.38rem); line-height: 1.55; color: var(--ink); font-weight: 350; }
.page-head__photo { justify-self: end; width: min(100%, 22rem); }
.page-head--photo.page-head--short .page-head__inner { grid-template-areas: "text photo" "short photo"; }
.page-head--photo.page-head--short .page-head__text { grid-area: text; }
.page-head--photo.page-head--short .page-head__photo { grid-area: photo; align-self: center; }
.page-head--photo.page-head--short .in-short { grid-area: short; margin-top: 0; }
.page-head__photo.photo--wave { width: min(100%, 30rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: 0.98rem; }
.crumbs li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.5rem; border-radius: 50%; background: var(--sky); vertical-align: 0.12em; }
.in-short {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem 1.25rem; max-width: 52rem;
  border-radius: var(--radius); background: var(--mist); border-left: 6px solid var(--sky);
}
.in-short__title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--royal); margin-bottom: 0.5rem; }
.in-short__list { display: grid; gap: 0.45rem; }

/* ---- Sections and prose -------------------------------------------------------------------- */
.page-body { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.prose { max-width: var(--measure); }
/* A web address written out as a link breaks where it must, so it never runs off a phone. */
.prose a { overflow-wrap: anywhere; }
/* A photograph between the parts of a long page: a place to rest, captioned. */
.doc-photo { width: min(100%, 36rem); margin: 2.25rem 0 0.75rem; }
.doc-photo .photo__frame { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.prose .doc-photo { margin-bottom: 1.75rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.prose h4, .prose h5 { margin-top: 1.2em; color: var(--ink); }
/* A heading moved up WRC's outline (wrc_heading_order) keeps the size WRC gave it. */
.prose .is-h3 { margin-top: 1.4em; font-size: clamp(1.25rem, 2.1vw, 1.45rem); }
.prose .is-h4, .prose .is-h5 { margin-top: 1.2em; color: var(--ink); }
.prose .is-h4 { font-size: 1.2rem; }
.prose .is-h5 { font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose ul > li::marker { color: var(--sky); font-size: 1.15em; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 1rem; display: block; overflow-x: auto;
  /* Scroll shadows: a soft edge shows only on a side that has more columns to scroll to. */
  background:
    linear-gradient(to right, var(--white) 40%, rgb(255 255 255 / 0)) left / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--white) 40%, rgb(255 255 255 / 0)) right / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(22 33 63 / 0.22), rgb(22 33 63 / 0)) left / 0.9rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(22 33 63 / 0.22), rgb(22 33 63 / 0)) right / 0.9rem 100% no-repeat scroll;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); color: var(--royal); font-weight: 600; }
/* Inside a table the table scrolls instead, so names keep their words whole and a column never shrinks to a few letters. */
.prose :is(td, th) { min-width: 6rem; }
.prose :is(td, th) a { overflow-wrap: break-word; }
.prose details { border: 1px solid var(--line); border-radius: 14px; padding: 0.75rem 1rem; margin-bottom: 0.75rem; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--royal); }
.plain-list { padding-left: 1.3rem; max-width: var(--measure); }
.prose .link-label { margin: 1.1em 0 0.35em; font-weight: 600; color: var(--ink); }
.prose .link-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.prose .link-list li { margin: 0; }
.prose .link-list a { display: inline-block; padding-block: 0.15rem; }
.link-cards { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0.85rem; }
.link-cards a {
  display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 1rem 1.15rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.link-cards a:hover { border-color: var(--sky); color: var(--ink); }
.link-cards__title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--royal); line-height: 1.25; }
.link-cards__note { font-size: 0.98rem; color: var(--ink-soft); }
.doc-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2.5rem; padding-top: 2rem; }
.section-nav { align-self: start; position: sticky; top: 1rem; }
.section-nav__title { margin: 0 0 0.5rem; font-family: var(--font-display); font-weight: 800; color: var(--royal); font-size: 1.1rem; }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav li a { display: block; padding: 0.4rem 0.75rem; border-left: 3px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.section-nav li a:hover { border-left-color: var(--sky); color: var(--royal); }
.section-nav li a[aria-current="page"] { border-left-color: var(--sun); color: var(--royal); font-weight: 600; background: var(--mist); }
/* Stacked links touch, so their focus ring sits inside the link rather than across its neighbour. */
.section-nav li a:focus-visible, .doc-nav__list a:focus-visible { outline-offset: -3px; }
.section-nav ul ul a { padding-left: 1.5rem; font-size: 0.95rem; }
.child-pages .link-cards { margin-bottom: 1.5rem; }

/* ---- Long pages: "On This Page" beside the reading, a strip of sections on a phone -------- */
.doc-layout--document { grid-template-areas: "secnav main" "docnav main"; grid-template-rows: auto 1fr; row-gap: 0; }
.doc-layout--document > .section-nav { grid-area: secnav; position: static; margin-bottom: 1.75rem; }
.doc-layout--document > .doc-nav { grid-area: docnav; }
.doc-layout--document > .doc-layout__main { grid-area: main; min-width: 0; }
.doc-layout--stage { grid-template-areas: "docnav main"; grid-template-rows: 1fr; grid-template-columns: 15rem minmax(0, 1fr); }
.doc-nav { align-self: start; position: sticky; top: 1rem; z-index: 5; max-height: calc(100vh - 2rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.doc-nav__title { margin: 0 0 0.6rem; font-family: var(--font-display); font-weight: 800; color: var(--royal); font-size: 1.1rem; }
.doc-nav__list { position: relative; list-style: none; margin: 0; padding: 0; }
.doc-nav__list::before { content: ""; position: absolute; left: 8px; top: 0.9rem; bottom: 0.9rem; width: 2px; border-radius: 2px; background: var(--sky-line); }
.doc-nav__list a { position: relative; display: block; padding: 0.4rem 0.6rem 0.4rem 1.75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 0.98rem; line-height: 1.35; }
.doc-nav__list a::before { content: ""; position: absolute; left: 3px; top: calc(0.4rem + 0.675em - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2.5px var(--sky); }
.doc-nav__list a:hover { background: var(--mist); color: var(--royal); }
.doc-nav__list a[aria-current] { color: var(--royal); font-weight: 600; }
.doc-nav__list a[aria-current]::before { background: var(--sun); box-shadow: 0 0 0 4px var(--accent-100); }
.doc-unit { scroll-margin-top: 1.25rem; }
.doc-unit + .doc-unit { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.doc-unit--prose .prose > h2:first-child { margin-top: 0; }

/* ---- Words in place ------------------------------------------------------------------------ */
.word {
  display: inline; margin: 0; padding: 0 0.1em; border: 0; border-radius: 4px;
  background: linear-gradient(transparent 62%, var(--accent-100) 62%);
  font: inherit; color: inherit; text-align: inherit; cursor: help;
  text-decoration: underline dotted var(--accent-700); text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.word:hover { background: linear-gradient(transparent 50%, var(--accent-200) 50%); }
.word-panel {
  width: min(24rem, calc(100vw - 2rem)); margin: auto; padding: 1.15rem 1.25rem 1rem;
  border: 0; border-radius: 18px; background: var(--white); color: var(--ink);
  box-shadow: 0 20px 60px rgb(22 33 63 / 0.28); border-top: 6px solid var(--sun);
  font-size: 1.02rem; line-height: 1.5;
}
.word-panel::backdrop { background: rgb(22 33 63 / 0.18); }
.word-panel__term { margin: 0 0 0.35rem; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--royal); }
.word-panel__plain { font-size: 1.08rem; }
.word-panel__wrc { color: var(--ink-soft); font-size: 0.98rem; margin-top: 0.15rem; }
.word-panel__from { margin: 0.9rem 0 0; font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.word-panel__more { margin: 0; }
.word-panel__close {
  position: absolute; top: 0.6rem; right: 0.6rem; min-height: 36px; padding: 0.2rem 0.8rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--royal); font: inherit; font-size: 0.92rem; cursor: pointer;
}
.word-line { white-space: nowrap; }

/* ---- Home: opening ------------------------------------------------------------------------- */
.opening { padding-block: clamp(1.75rem, 4vw, 3.25rem) 0; overflow: hidden; }
.opening__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: center; }
.opening__eyebrow { margin: 0 0 0.75rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.opening__title { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.06; margin-bottom: 0.4em; }
.opening__lede { font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; max-width: 34rem; }
.opening__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.opening__photo { justify-self: end; width: 100%; max-width: min(36rem, var(--cap)); }

/* ---- Home: the lifespan path --------------------------------------------------------------- */
.lifespan { padding-block: clamp(2rem, 5vw, 3.5rem); }
.lifespan__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.5rem; }
.lifespan__title { margin: 0; }
.lifespan__hint { margin: 0; color: var(--ink-soft); }
.lifespan__stops { border: 0; margin: 1.25rem 0 0; padding: 0; min-width: 0; }
.lifespan__track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 70px; }
.lifespan__waves { --R: 52px; --h: 8px; --L: 55.4px; --w: 3.5px; --gap: 12px; position: absolute; left: 0; right: 0; top: 42px; }
.lifespan__sun {
  --at: 0;
  position: absolute; z-index: 2; top: 0; left: calc((var(--at) + 0.5) * 20%); width: 64px; height: 64px; margin-left: -32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun-light) 0 30%, var(--sun) 31% 40%, transparent 41% 52%, var(--sun) 53% 61%, transparent 62% 74%, var(--accent-300) 75% 82%, transparent 83%);
}
.lifespan__track:has(#stop-3-to-10:checked) .lifespan__sun { --at: 1; }
.lifespan__track:has(#stop-11-to-17:checked) .lifespan__sun { --at: 2; }
.lifespan__track:has(#stop-18-to-22:checked) .lifespan__sun { --at: 3; }
.lifespan__track:has(#stop-23-and-older:checked) .lifespan__sun { --at: 4; }
.lifespan__radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lifespan__stop {
  position: relative; z-index: 3; grid-row: 1; grid-column: calc(var(--i) + 1);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem;
  padding: 0.25rem 0.25rem 0.5rem; cursor: pointer; border-radius: 14px;
}
.lifespan__dot {
  width: 24px; height: 24px; margin-top: -14px; margin-bottom: 0.45rem; border-radius: 50%;
  background: var(--white); border: 3px solid var(--royal); transition: background-color 0.2s ease, transform 0.2s ease;
}
.lifespan__label { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.1rem, 2.6vw, 1.7rem); line-height: 1.05; color: var(--royal); text-wrap: balance; }
.lifespan__unit { font-size: 0.92rem; color: var(--ink-soft); }
.lifespan__stop:hover .lifespan__dot { transform: scale(1.2); }
.lifespan__radio:checked + .lifespan__stop .lifespan__dot { background: var(--sun); border-color: var(--accent-700); transform: scale(1.25); }
.lifespan__radio:checked + .lifespan__stop .lifespan__label { color: var(--ink); }
.lifespan__radio:focus-visible + .lifespan__stop { outline: 3px solid var(--blue); outline-offset: 2px; }
.lifespan__panels { margin-top: 1.5rem; }
/* The same path as links (not-found page): no sun, since no age is chosen yet. */
.lifespan--links { padding-block: 0 clamp(2rem, 4vw, 3rem); }
.lifespan--links .lifespan__track { padding-top: 34px; }
.lifespan--links .lifespan__waves { top: 6px; }
.lifespan--links .lifespan__stop { text-decoration: none; }
.lifespan--links .lifespan__stop:hover .lifespan__dot, .lifespan--links .lifespan__stop:focus-visible .lifespan__dot { background: var(--sun); border-color: var(--accent-700); transform: scale(1.25); }
.lifespan--links .lifespan__stop:hover .lifespan__label { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.lost-doors h2 { margin-top: 0; }
/* Six doors: three across on a wide screen and two on a tablet, never four and two. */
.lost-doors .link-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.stage-panel {
  display: none;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "photo body side" "next body side"; gap: 1.25rem 2.5rem; align-items: start;
  padding: clamp(1.25rem, 3vw, 2rem); border-radius: 26px; background: var(--mist);
}
.lifespan:has(#stop-birth-to-3:checked) .stage-panel[data-stage="birth-to-3"],
.lifespan:has(#stop-3-to-10:checked) .stage-panel[data-stage="3-to-10"],
.lifespan:has(#stop-11-to-17:checked) .stage-panel[data-stage="11-to-17"],
.lifespan:has(#stop-18-to-22:checked) .stage-panel[data-stage="18-to-22"],
.lifespan:has(#stop-23-and-older:checked) .stage-panel[data-stage="23-and-older"] { display: grid; }
@supports not selector(:has(*)) {
  .stage-panel[data-stage="birth-to-3"] { display: grid; }
}
.stage-panel__photo { grid-area: photo; width: 100%; max-width: 15rem; }
.stage-panel__body { grid-area: body; }
.stage-panel__side { grid-area: side; }
.stage-panel__next { grid-area: next; }
.stage-panel__title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.stage-panel__services { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.75rem; }
.stage-panel__services li { position: relative; padding-left: 1.5rem; line-height: 1.5; }
.stage-panel__services li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; border-radius: 50%; background: var(--sky); }
.stage-panel__services a { font-weight: 600; display: block; }
.stage-panel__all { margin: 0; font-weight: 600; }
.stage-panel__side { display: grid; gap: 1.25rem; }
.stage-panel__label { margin: 0 0 0.35rem; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.stage-panel__note { margin: 0.6rem 0 0; font-size: 1rem; }
.doc-langs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.doc-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.45rem; font-weight: 600; }
.doc-link__en { font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
.doc-link__meta { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }

/* ---- Home: Quick Answers, words, coming up ------------------------------------------------- */
.quick { padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.quick__inner { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 1rem 3rem; }
.quick__title { margin-bottom: 0.2rem; }
.quick__lead { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--ink-soft); margin: 0; }
.quick__list { list-style: none; margin: 0; padding: 0; columns: 2 18rem; column-gap: 2.5rem; }
.quick__list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.quick__list a {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 0.2rem; min-height: 48px;
  font-size: 1.15rem; font-weight: 500; text-decoration: none; color: var(--ink);
}
.quick__list a::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--accent-100); }
.quick__list a:hover { color: var(--royal); text-decoration: underline; text-decoration-color: var(--sky); }

.words-intro { padding-block: clamp(2rem, 5vw, 3.25rem); background: var(--mist); }
.words-intro__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 1rem 3rem; }
.words-intro__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.85rem; }
.words-intro__list li { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.1rem; background: var(--white); border-radius: 16px; border: 1px solid var(--line); }
.words-intro__list .word { align-self: flex-start; font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--royal); background: none; text-decoration-color: var(--sun); }
.words-intro__plain { font-size: 1rem; color: var(--ink-soft); }
.words-intro__more { grid-column: 2; margin: 0; font-weight: 600; }

.soon { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.soon__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.soon__more { font-weight: 600; }
.event-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.event { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.event[hidden] { display: none; }
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.45rem 0.2rem;
  border-radius: 16px; background: var(--royal); color: var(--white); line-height: 1.1; height: fit-content;
}
.event__dow { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.92; }
.event__day { font-family: var(--font-display); font-weight: 900; font-size: 1.85rem; }
.event__month { font-size: 0.9rem; }
.event__kind { margin: 0 0 0.15rem; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-800); }
.event__title { margin: 0 0 0.2rem; font-size: 1.25rem; color: var(--ink); }
.event__meta { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.event__speakers { margin: 0.15rem 0 0; font-size: 0.98rem; color: var(--ink-soft); }
.event__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0.35rem 0 0; font-size: 1rem; font-weight: 600; }
.event-list__empty { padding: 1rem 1.25rem; border-radius: 14px; background: var(--mist); }
.office { position: relative; overflow: hidden; padding: 1.75rem 1.5rem 1.5rem; border-radius: 26px; border: 1.5px solid var(--line); }
.office__sun {
  position: absolute; right: -46px; top: -46px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 33%, var(--sun) 34% 40%, transparent 41% 52%, var(--sun) 53% 58%, transparent 59% 70%, var(--accent-300) 71% 75%, transparent 76%);
}
.office__title { position: relative; font-size: clamp(1.45rem, 2.4vw, 1.75rem); max-width: 15ch; }
.office__address { font-weight: 600; font-size: 1.12rem; }
.office__ways { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; font-size: 1rem; }
.office__ways li { position: relative; padding-left: 1.4rem; }
.office__ways li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); }
.office__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; font-weight: 600; }

/* ---- Home: the Listen, Inform, Support room ------------------------------------------------ */
.room { background: var(--royal); color: var(--white); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.room .sunwave { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.room a { color: var(--white); text-decoration-color: var(--sun); }
.room a:hover { color: var(--accent-100); }
.room :focus-visible { outline-color: var(--sun); }
.room__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: center; }
.room__eyebrow { font-size: 1.12rem; max-width: 34rem; color: #e4ebfb; }
.room__title { color: var(--white); font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.05; margin: 0.25em 0 0.5em; }
.room__title span { display: block; }
.room__title span:nth-child(2) { color: var(--sky-line); }
.room__title span:nth-child(3) { color: var(--sun); }
.room__mission { font-size: 1.15rem; max-width: 36rem; color: #e4ebfb; }
.room__photo figcaption { color: #d7e1f7; }
.room__photo .photo__frame { --c: var(--royal); --line: var(--sun); }
.room__voices-title { color: var(--white); margin-top: clamp(2rem, 5vw, 3rem); font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.voices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.voice { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: 22px; background: var(--royal-deep); }
.voice__quote { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.voice__quote::before { content: ""; display: block; width: 30px; height: 30px; margin-bottom: 0.75rem; border-radius: 50%; background: radial-gradient(circle, var(--sun-light) 0 35%, var(--sun) 36% 50%, transparent 51%); }
.voice__who { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.voice__who span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; color: #d7e1f7; }
.room__more { margin: 1.5rem 0 0; font-weight: 600; }

/* ---- Home: providers' door, news ----------------------------------------------------------- */
.door { padding-block: clamp(2.5rem, 6vw, 4rem); }
.door__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem 3.5rem; align-items: center; }
.door__photo { width: 100%; }
.door__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.5rem; }
.door__links a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.door__links a:hover { text-decoration: underline; }
.home-news { padding-block: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.news-item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--ink-soft); font-size: 1rem; }
.news-item a { font-weight: 600; }
.home-news__more { margin-top: 1rem; font-weight: 600; }

/* ---- Apply for Services ------------------------------------------------------------------- */
.apply-ages__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.age-door { display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.25rem; border-radius: 24px; border: 2px solid var(--line); position: relative; }
.age-door::before { content: ""; position: absolute; top: -2px; left: 1.5rem; width: 64px; height: 6px; border-radius: 0 0 6px 6px; background: var(--sun); }
.age-door__ages { margin: 0 0 0.25rem; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-800); }
.age-door__title { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.age-door__title a { text-decoration: none; color: var(--royal); }
.age-door__title a:hover { text-decoration: underline; text-decoration-color: var(--sky); }
.age-door__contact { list-style: none; margin: auto 0 0; padding: 0.85rem 0 0; font-size: 1rem; display: grid; gap: 0.2rem; }
.apply-online__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.apply-online__buttons { list-style: none; margin: 1.25rem 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.apply-online__note { font-size: 1rem; color: var(--ink-soft); }
.zip-check { padding: 1.4rem 1.4rem 1.2rem; border-radius: 24px; background: var(--mist); }
.zip-check__label { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--royal); margin-bottom: 0.6rem; line-height: 1.25; }
.zip-check__row { display: flex; gap: 0.6rem; }
.zip-check input { width: 8.5rem; min-height: 48px; padding: 0.5rem 0.9rem; border: 2px solid var(--royal); border-radius: 12px; font: inherit; font-size: 1.2rem; letter-spacing: 0.08em; }
.zip-check__result { margin: 0.75rem 0 0; min-height: 1.5em; font-size: 1.02rem; }
.zip-check__result[data-state="yes"] { color: var(--ok); font-weight: 600; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 52rem; }
.step { counter-increment: step; position: relative; padding-left: 4rem; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--sun); color: var(--ink); font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
}
.step__title { margin-bottom: 0.3rem; }

/* ---- Life-stage pages ---------------------------------------------------------------------- */
.page-head--stage .crumbs ol { margin-bottom: 0.6rem; }
.stage-track { position: relative; margin: 0 0 1rem; }
.stage-track ol { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.stage-track a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.3rem 0.85rem;
  border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--royal); font-weight: 600; text-decoration: none; font-size: 0.98rem;
}
.stage-track a:hover { border-color: var(--sky); }
.stage-track__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); }
.stage-track .is-current a { background: var(--royal); border-color: var(--royal); color: var(--white); }
.stage-track .is-current .stage-track__dot { background: var(--sun); box-shadow: 0 0 0 3px rgb(248 168 0 / 0.35); }
.stage-track .sunwave { --R: 20px; --h: 4px; --L: 24px; --w: 2.5px; --gap: 7px; position: absolute; left: 0; right: 0; top: 2px; opacity: 0.5; }
.services__inner { display: grid; gap: 1.5rem; }
.services__head { max-width: 52rem; }
.services__framing { color: var(--ink-soft); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.25rem; }
.service { padding: 1.1rem 0 0.4rem; border-top: 3px solid var(--sky-line); scroll-margin-top: 1.25rem; }
.service:target { border-top-color: var(--sun); }
.service__name { font-size: 1.3rem; margin-bottom: 0.4rem; }
.service__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; margin-bottom: 0.4rem; }
.service__head .service__name { margin-bottom: 0; }
.service__flag { display: inline-block; padding: 0.05rem 0.55rem; border-radius: 999px; background: var(--accent-50); border: 1px solid var(--accent-300); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--accent-800); text-decoration: none; vertical-align: 0.2em; }
.service__text { margin: 0; }
.services__note { max-width: 52rem; font-size: 1rem; color: var(--ink-soft); padding: 1rem 1.25rem; border-radius: 14px; background: var(--mist); }
.services { display: grid; gap: 1.5rem; }
.stage-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.25rem; }
.stage-more__events { grid-column: 1 / -1; }
.stage-more h2 { font-size: clamp(1.35rem, 2.3vw, 1.6rem); }
.stage-more__who { margin: 1rem 0 0.4rem; font-weight: 600; }
.stage-more__cover { float: right; width: 7rem; height: auto; margin: 0.25rem 0 1rem 1.25rem; border-radius: 6px; box-shadow: 0 6px 18px rgb(22 33 63 / 0.16); }
.print-copies { margin-top: 1rem; }
.print-copies summary { cursor: pointer; font-weight: 600; color: var(--blue); }
.print-copies .doc-langs { margin-top: 0.5rem; }

/* ---- Events, holidays, news, words ---------------------------------------------------------- */
.chip-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.chip-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--royal); font-weight: 600; text-decoration: none;
}
.chip-nav a:hover { border-color: var(--sky); color: var(--royal); }
.chip-nav a[aria-current="page"] { background: var(--royal); border-color: var(--royal); color: var(--white); }
.events-page, .news-page, .words-page { padding-top: 2rem; }
.events-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem 3.5rem; align-items: start; }
.events-page__list > h2 { margin-bottom: 0.35rem; }
.events-page__note { color: var(--ink-soft); margin-bottom: 0.5rem; }
.events-page__download { margin-top: 1.25rem; }
.events-page__side { padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius); background: var(--mist); }
.events-page__side-title { font-size: 1.3rem; }
.events-page__side-title:not(:first-child) { margin-top: 1.75rem; }
.holiday-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.7rem; }
.holiday { position: relative; display: grid; padding-left: 1.5rem; }
.holiday[hidden] { display: none; }
.holiday::before { content: ""; position: absolute; left: 0.15rem; top: 0.5em; width: 11px; height: 11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--accent-100); }
.holiday--opens::before { background: var(--white); box-shadow: inset 0 0 0 2.5px var(--sky); }
.holiday__name { font-weight: 600; color: var(--ink); }
.holiday__date { color: var(--ink-soft); font-size: 0.98rem; }
.events-page__list .holiday-list { gap: 0; }
.events-page__list .holiday { padding: 0.85rem 0 0.85rem 1.75rem; border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; }
.events-page__list .holiday::before { top: 1.2rem; left: 0.2rem; }
.events-page__list .holiday__name { font-size: 1.15rem; }
.holiday-list__empty { padding: 1rem 1.25rem; border-radius: 14px; background: var(--white); }
.news-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.25rem; }
.news-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem 1.35rem 1.35rem; border-radius: var(--radius); border: 1.5px solid var(--line); border-top: 5px solid var(--sky); }
.news-card__date { font-size: 0.95rem; color: var(--ink-soft); }
.news-card__title { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.news-card__title a { color: var(--royal); text-decoration: none; }
.news-card__title a:hover { text-decoration: underline; text-decoration-color: var(--sky); }
.news-card__summary { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2.25rem; }
.pager__pages { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0.3rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; text-decoration: none; color: var(--royal); }
.pager a:hover { border-color: var(--sky); }
.pager a[aria-current="page"] { background: var(--royal); border-color: var(--royal); color: var(--white); }

/* ---- Service Provider Directory ------------------------------------------------------------
 * One search row that stays at the top of the screen while the list scrolls (the shared index
 * bones cap its height), cards two or three across, the types of service as sky tags.
 */
.directory { --stoa-index-sticky-top: 0px; }
.dir-controls {
  margin: 0 calc(-1 * var(--gutter)) 1.5rem; padding: 0.85rem var(--gutter) 0.55rem;
  background: var(--white); border-bottom: 1.5px solid var(--line);
}
.dir-controls__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 0.65rem; align-items: end; }
.dir-field { display: grid; gap: 0.2rem; min-width: 0; }
.dir-field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.dir-field input, .dir-field select {
  width: 100%; min-height: 44px; padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--sky-line); border-radius: 12px; background: var(--white);
  font: inherit; font-size: 0.98rem; color: var(--ink);
}
.dir-field input::placeholder { color: #5b6585; }
.dir-field input:focus-visible, .dir-field select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.dir-controls button[type="submit"] {
  min-height: 44px; padding: 0.4rem 1.2rem; border: 0; border-radius: 999px;
  background: var(--royal); color: var(--white); font: 800 1rem/1.2 var(--font-display); cursor: pointer;
}
.dir-controls button[type="submit"]:hover { background: var(--royal-deep); }
.dir-controls button[type="submit"]:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.dir-filters { grid-column: 1 / -1; grid-row: 2; }
.dir-filters > summary {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; color: var(--royal); list-style: none;
}
.dir-filters > summary::-webkit-details-marker { display: none; }
.dir-filters > summary::before {
  content: ""; inline-size: 0.6rem; block-size: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.15s ease;
}
.dir-filters[open] > summary::before { transform: rotate(45deg); }
.dir-filters__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 0.65rem; padding-bottom: 0.2rem; }
.dir-summary { margin: 0.45rem 0 0; font-size: 0.88rem; color: var(--ink-soft); }
.dir-noscript { max-width: var(--measure); margin: 0 0 1.25rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--mist); }
.dir-results {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 0.9rem;
  margin: 0; padding: 0; list-style: none;
}
.dir-results:focus { outline: none; }
.dir-results:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 6px; }
.provider {
  display: grid; align-content: start; gap: 0.45rem; padding: 1rem 1.1rem 1.05rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.provider__name { margin: 0; font: 800 1.12rem/1.25 var(--font-display); color: var(--ink); text-wrap: balance; }
.provider__services { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.provider__services li { padding: 0.12rem 0.6rem; border-radius: 999px; background: var(--mist); color: var(--royal); font-size: 0.8rem; font-weight: 600; line-height: 1.45; }
.provider__where { margin: 0; font-size: 0.94rem; color: var(--ink); }
.provider__contact { display: grid; justify-items: start; margin: 0; font-size: 0.92rem; }
.provider__contact a { display: inline-flex; align-items: center; min-height: 28px; overflow-wrap: anywhere; }
.dir-empty { max-width: var(--measure); padding: 1.25rem 1.35rem; border-radius: var(--radius); background: var(--accent-50); }
.dir-empty__title { margin: 0 0 0.35rem; font: 800 1.15rem/1.3 var(--font-display); }
.dir-empty p:last-child { margin-bottom: 0; }
.dir-pager [data-stoa-index-pagination] { margin-top: 2rem; }
.dir-pager [data-stoa-index-pagination] ul { gap: 0.4rem; margin: 0; }
.dir-pager [data-stoa-index-pagination] a, .dir-pager [data-stoa-index-pagination] [aria-current="page"] {
  padding: 0.3rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; text-decoration: none; color: var(--royal);
}
.dir-pager [data-stoa-index-pagination] a:hover { border-color: var(--sky); }
.dir-pager [data-stoa-index-pagination] [aria-current="page"] { background: var(--royal); border-color: var(--royal); color: var(--white); }
.dir-note {
  display: grid; gap: 0.5rem; max-width: var(--measure); margin-top: 2.5rem; padding: 1.3rem 1.4rem;
  border-radius: var(--radius); background: var(--mist);
}
.dir-note__title { margin: 0; font: 800 1.2rem/1.3 var(--font-display); }
.dir-note p { margin: 0; }
.dir-note__links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; }
.dir-note__links a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }

/* ---- Forms, Documents and Policies -----------------------------------------------------------
 * The directory's search row, kept to the reading column beside the section menu: the search
 * box and its button on one line, the section filter under them on a phone and beside them on
 * a wider screen. Each section keeps WRC's heading and note above its entries.
 */
.library { --stoa-index-sticky-top: 0px; min-width: 0; }
.library .dir-controls { margin-inline: 0 calc(-1 * var(--gutter)); padding-inline: 0 var(--gutter); }
.dir-controls__row.lib-controls__row .dir-field:not(.dir-field--q) { grid-column: 1 / -1; grid-row: 2; }
.lib-results:focus { outline: none; }
.lib-results:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 6px; }
.lib-section:first-child > h2 { margin-top: 0; }
@media (min-width: 40em) {
  .dir-controls__row.lib-controls__row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; }
  .dir-controls__row.lib-controls__row .dir-field:not(.dir-field--q) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 900px) {
  .library .dir-controls { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
}

/* ---- For Service Providers: five doors, the directory band, provider meetings -------------- */
.pdoors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.pdoor {
  position: relative; display: grid; align-content: start; gap: 0.55rem; padding: 1.25rem 1.3rem 1.2rem;
  border: 1.5px solid var(--line); border-top: 5px solid var(--sky); border-radius: var(--radius); background: var(--white);
}
.pdoor:nth-child(4) { border-top-color: var(--sun); }
.pdoor__title { margin: 0; font: 800 1.3rem/1.2 var(--font-display); }
.pdoor__title a { color: var(--royal); text-decoration: none; }
.pdoor__title a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
/* Card titles take the mark's wave as their hover underline. */
.link-cards a:hover .link-cards__title, .age-door__title a:hover, .news-card__title a:hover, .pdoor__title a:hover {
  text-decoration: underline wavy var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-skip-ink: none;
}
.pdoor__text { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.pdoor__links { margin: 0.2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pdoor__links a { display: flex; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.pdoor__links a::after { content: "→"; margin-left: auto; padding-left: 0.75rem; color: var(--sky); }
.pdoor__links a:hover { color: var(--royal-deep); text-decoration: underline; text-underline-offset: 0.18em; }
.pdoor--directory { border: 0; background: var(--royal); color: var(--white); }
.pdoor--directory .pdoor__title a { color: var(--white); }
.pdoor--directory .pdoor__text { color: #e3ebff; }
.pdoor__label { margin: 0.35rem 0 0; font-weight: 600; font-size: 0.88rem; color: var(--sun-light); }
.pdoor__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.pdoor__chips a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0.2rem 0.8rem; border-radius: 999px;
  background: rgb(255 255 255 / 0.12); border: 1.5px solid rgb(255 255 255 / 0.35); color: var(--white); font-weight: 600; font-size: 0.86rem; text-decoration: none;
}
.pdoor__chips a:hover { background: var(--white); color: var(--royal); }
.pdoor--directory a:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.provider-events { margin-bottom: 1rem; }
.provider-events h2 { font: 800 1.5rem/1.2 var(--font-display); color: var(--royal); margin: 0 0 1rem; }
.provider-events__more { margin-top: 1rem; }
.provider-events__more a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }

/* A long list of forms or enclosures reads two across where the column is wide enough. */
@media (min-width: 72em) {
  .prose ul.doc-list { columns: 2; column-gap: 2.5rem; }
  .prose ul.doc-list > li { break-inside: avoid; margin-bottom: 0.25em; }
}
@media (min-width: 60em) {
  .dir-controls__row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) auto; }
  .dir-filters { grid-column: auto; grid-row: auto; }
  .dir-filters[open] > summary { display: none; }
  .dir-filters__fields { padding-bottom: 0; }
}
.post-date { margin: 0; color: var(--ink-soft); font-weight: 600; }
/* News posts keep WRC's own headlines, many of them long, so they set smaller than a page title:
 * three lines on a wide screen, and the longest (over ninety characters) as plain bold titles. */
.page-head--post h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.page-head--post-long h1 { font-size: clamp(1.5rem, 1.15rem + 0.7vw, 1.72rem); line-height: 1.25; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.5rem 4rem; align-items: start; padding-top: 2rem; }
.post-more { padding: 1.5rem; border-radius: var(--radius); background: var(--mist); }
.post-more h2 { font-size: 1.3rem; }
.post-more .news-item { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
.link-cards--doors { margin-top: 2rem; }
.letter-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.letter-nav a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--royal); text-decoration: none; }
.letter-nav a:hover { border-color: var(--sun); background: var(--accent-50); }
.letter-group { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.letter-group__letter { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0; border-radius: 50%; background: var(--accent-100); box-shadow: 0 0 0 5px var(--accent-50); font-size: 1.9rem; line-height: 1; color: var(--accent-900); }
.word-list { margin: 0; display: grid; gap: 1.5rem; max-width: 48rem; }
.word-entry { scroll-margin-top: 1.5rem; }
.word-entry:target { outline: 3px solid var(--sun-light); outline-offset: 8px; border-radius: 6px; }
.word-entry__term { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--royal); }
.word-entry dd { margin: 0.25rem 0 0; }
.word-entry__plain { font-size: 1.12rem; }
.word-entry__wrc { color: var(--ink-soft); font-size: 1rem; }
.word-entry__from { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-800); }

/* ---- Contact, brochures, service area, search ---------------------------------------------- */
.contact-page, .brochures-page, .area-page, .search-page { padding-top: 2rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; }
.contact-card { padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius); border: 1.5px solid var(--line); }
.contact-card h2 { font-size: 1.35rem; line-height: 1.2; }
.contact-card p { font-size: 1rem; }
.contact-card--main { grid-row: span 2; background: var(--royal); border-color: var(--royal); color: var(--white); }
.contact-card--main h2 { color: var(--sun-light); }
.contact-card--main a { color: var(--white); text-decoration-color: rgb(255 255 255 / 0.5); }
.contact-card--main a:hover { color: var(--white); text-decoration-color: var(--sun); }
.contact-card--main :focus-visible { outline-color: var(--sun); }
.contact-card__big { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.1; margin-bottom: 0.75rem; }
.contact-list { margin: 0 0 0.75rem; display: grid; gap: 0.75rem; }
.contact-list dt { font-weight: 600; color: var(--ink); }
.contact-list dd { margin: 0.1rem 0 0; }
.contact-card a[href^="mailto"] { overflow-wrap: anywhere; }
.visit { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 3rem; margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 28px; background: var(--mist); }
.visit__sun { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--sun-light) 0 22%, transparent 23% 34%, var(--sun) 35% 41%, transparent 42% 55%, var(--accent-300) 56% 61%, transparent 62%); opacity: 0.9; pointer-events: none; }
.visit__text, .visit__how { position: relative; }
.visit__address { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--royal); line-height: 1.3; }
.visit__note { font-weight: 600; }
.visit__how ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.visit__how li::marker { color: var(--sky); }
.brochure-group + .brochure-group { margin-top: 2.5rem; }
.brochure-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.brochure { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--line); scroll-margin-top: 1rem; }
.brochure:target { border-color: var(--sun); }
.brochure__cover { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: var(--mist); border-radius: 6px; box-shadow: var(--shadow); }
.brochure__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.area-page__check { max-width: 34rem; }
.area-page__lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 3rem; margin-top: 2.5rem; }
.area-cities { columns: 2; column-gap: 2rem; padding-left: 1.2rem; }
.area-cities li { margin-bottom: 0.3rem; }
.area-zips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.4rem; }
.area-zips li { padding: 0.35rem 0.5rem; border-radius: 10px; background: var(--mist); text-align: center; font-variant-numeric: tabular-nums; }
.area-page__other { margin-top: 2.5rem; max-width: var(--measure); }
.search-page__status { font-weight: 600; color: var(--ink-soft); }
.search-page__status:empty { display: none; }
.search-page__answer:empty, .search-page__results:empty { display: none; }
.search-page__answer { margin: 1rem 0 2rem; }
.ask-answer { padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--mist); border-left: 6px solid var(--sun); max-width: 52rem; }
.ask-answer .eyebrow { margin: 0 0 0.35rem; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-800); }
.ask-answer h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.ask-hedge { margin: 0 0 0.25rem; font-weight: 600; color: var(--ink-soft); }
.ask-a-text { font-size: 1.12rem; }
.ask-sources h3, .ask-suggest h3 { font-size: 1.05rem; margin-top: 1rem; }
.ask-source-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.source-card { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; color: var(--royal); font-weight: 600; }
.source-card:hover { border-color: var(--sky); }
.source-card .sc-ico { display: none; }
.source-card .sc-t span { display: none; }
.ask-suggest ul, .search-empty__tries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ask-suggest button, .search-empty__tries button { min-height: 44px; padding: 0.35rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--royal); font: inherit; font-weight: 600; cursor: pointer; }
.ask-suggest button:hover, .search-empty__tries button:hover { border-color: var(--sun); }
.result-group + .result-group { margin-top: 2rem; }
.result-group__title { font-size: 1.3rem; }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; max-width: 52rem; }
.result { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.result__title { font-weight: 600; font-size: 1.12rem; }
.result__meta { margin: 0.1rem 0 0; font-size: 0.9rem; color: var(--accent-800); font-weight: 600; }
.result__body { margin: 0.2rem 0 0; font-size: 1rem; color: var(--ink-soft); }
.search-empty { padding: 1.5rem; border-radius: var(--radius); background: var(--mist); max-width: 52rem; }
/* A search with no results: the sun from the mark rising at the corner of the message. */
.sunwave-empty { position: relative; overflow: hidden; padding-right: 6.75rem; }
.sunwave-empty::after {
  content: ""; position: absolute; right: -1.6rem; bottom: -2.6rem; width: 7rem; height: 7rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--sun-light) 0 26%, var(--sun) 27% 33%, transparent 34% 44%, var(--sun) 45% 52%, transparent 53% 63%, var(--accent-300) 64% 70%, transparent 71%);
}
@media (max-width: 680px) {
  .sunwave-empty { padding-right: 4.75rem; }
  .sunwave-empty::after { right: -1.1rem; bottom: -1.9rem; width: 5rem; height: 5rem; }
}
.asks { margin-top: 3rem; }
.asks__list { display: grid; gap: 0.6rem; max-width: 52rem; }
.ask { border: 1.5px solid var(--line); border-radius: 14px; padding: 0.2rem 1.1rem; }
.ask[open] { border-color: var(--sky); }
.ask summary { cursor: pointer; padding: 0.7rem 0; font-weight: 600; color: var(--royal); min-height: 44px; }
.ask__body p { margin-top: 0.25rem; }
.ask__sources { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.accessibility-page { padding-top: 2rem; }

/* ---- Footer -------------------------------------------------------------------------------- */
.site-footer { background: var(--royal); color: var(--white); padding-bottom: 2rem; }
.site-footer .sunwave { background: var(--white); margin-bottom: 2.5rem; }
.site-footer a { color: var(--white); text-decoration-color: rgb(255 255 255 / 0.5); }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--sun); }
.site-footer :focus-visible { outline-color: var(--sun); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem 3rem; }
.site-footer__plate { display: inline-block; padding: 0.9rem 1.1rem; border-radius: 16px; background: var(--white); }
.site-footer__logo { width: 200px; height: auto; }
.site-footer__words { margin: 1rem 0 0.75rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--sun-light); }
.site-footer__about p { font-size: 1.02rem; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; align-content: start; }
.site-footer__nav a { font-size: 1.02rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.22); font-size: 0.98rem; color: #dfe6f8; }
.site-footer__legal p { margin: 0; }

/* ---- Responsive ---------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .primary-nav a { padding-inline: 0.65rem; font-size: 1.04rem; }
  .stage-panel { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); grid-template-areas: "photo body" "next body" "side side"; }
}
@media (max-width: 900px) {
  .masthead__inner { flex-wrap: wrap; }
  .omnibox { order: 3; flex-basis: 100%; max-width: none; }
  .menu { display: block; margin-left: auto; }
  .primary-nav { display: none; }
  .opening__inner, .room__inner, .door__inner, .soon__inner, .apply-online__inner { grid-template-columns: minmax(0, 1fr); }
  .opening__photo { justify-self: start; }
  .quick__inner, .words-intro__inner { grid-template-columns: minmax(0, 1fr); }
  .words-intro__more { grid-column: 1; }
  .voices { grid-template-columns: minmax(0, 1fr); }
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .section-nav { position: static; order: 2; }
  .doc-layout--document { display: flex; flex-direction: column; gap: 0; }
  .doc-layout--document > .section-nav { margin: 2.5rem 0 0; }
  .doc-layout--document > .doc-nav {
    order: -1; align-self: stretch; min-width: 0; position: sticky; top: 0; margin: 0 calc(-1 * var(--gutter)) 1.5rem; padding: 0.55rem var(--gutter);
    background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px -12px rgb(22 33 63 / 0.4);
  }
  .doc-nav__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .doc-nav__list { display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .doc-nav__list::-webkit-scrollbar { display: none; }
  .doc-nav__list::before, .doc-nav__list a::before { display: none; }
  .doc-nav__list a { white-space: nowrap; min-height: 40px; display: flex; align-items: center; padding: 0.35rem 0.9rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: 0.95rem; }
  .doc-nav__list a[aria-current] { background: var(--royal); border-color: var(--royal); color: var(--white); }
  .doc-unit, .service { scroll-margin-top: 4.5rem; }
  .stage-more { grid-template-columns: minmax(0, 1fr); }
  .events-page__grid, .post-layout, .visit, .area-page__lists { grid-template-columns: minmax(0, 1fr); }
  .contact-card--main { grid-row: auto; }
  .letter-group { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .page-head--photo .page-head__inner { grid-template-columns: minmax(0, 1fr); }
  .page-head--photo.page-head--short .page-head__inner { grid-template-areas: "text" "photo" "short"; }
  .page-head__photo { justify-self: start; width: min(60%, 16rem); }
  .page-head__photo.photo--wave { width: min(100%, 26rem); }
}
@media (max-width: 680px) {
  body { font-size: 1.125rem; }
  /* One long word in a title (Immunocompromised) is hyphenated on a phone rather than run off it. */
  h1 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
  .brand__logo { width: 180px; }
  .topbar__hours { display: none; }
  .stage-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "body" "next" "side"; }
  .stage-panel__photo { max-width: 11rem; }
  .lifespan__track { padding-top: 46px; }
  .lifespan__sun { top: -6px; width: 44px; height: 44px; margin-left: -22px; }
  .lifespan__waves { --R: 30px; --h: 5px; --L: 32px; --w: 3px; --gap: 8px; top: 30px; }
  .lifespan__label { font-size: 0.98rem; line-height: 1.1; }
  .lifespan__unit { font-size: 0.82rem; }
  .topbar__links li:last-child { display: none; }
  .stage-track .sunwave { display: none; }
  .page-head__photo { justify-self: center; width: min(62%, 14rem); }
  /* The home photograph comes first on a phone, as a band, so the first screen has the families
   * and the title, the promise and the Apply button together. The logo already names WRC. */
  .opening__inner { row-gap: 1.25rem; }
  .opening__photo { order: -1; max-width: none; }
  .opening__photo .photo__frame { aspect-ratio: 5 / 2; border-radius: 26px; }
  .opening__photo img { object-position: 30% 55%; }
  .opening__photo.photo--window::before { left: -10px; bottom: -14px; width: 76px; height: 76px; }
  .opening__eyebrow { display: none; }
  .opening__lede { font-size: 1.125rem; }
  .apply-ages__grid, .service-list, .door__links { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.85rem; }
}

/* ---- Motion (only when welcome) ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html:has([data-stoa-document]) { scroll-behavior: smooth; }
  .lifespan__sun { transition: left 0.7s cubic-bezier(0.34, 1.3, 0.5, 1); }
  .stage-panel { animation: panel-rise 0.45s ease-out; }
  @keyframes panel-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .link-cards a:hover { transform: translateY(-2px); }
  /* The waves stay still: endless drift beside the reading would need a pause control (WCAG 2.2.2). */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: masthead; }
}

/* ---- Print --------------------------------------------------------------------------------- */
@media print {
  .concept-note, .topbar, .omnibox, .menu, .primary-nav, .site-footer__nav, .sunwave, .word-panels { display: none !important; }
  .word { background: none; text-decoration: none; }
  body { font-size: 12pt; }
  .room, .site-footer { background: none; color: var(--ink); }
}
