/* Freedom Senior Services | Prototype stylesheet (Stage A)
   Mobile-first. Semantic landmarks and predictable class names (fss-*) to ease WordPress conversion. */

/* ---------- Fonts ---------- */

/* ---------- 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; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); line-height: var(--lh-heading); margin: 0 0 var(--s-4); font-weight: 700; letter-spacing: -0.005em; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p, ul, ol { margin: 0 0 var(--s-4); }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
.measure { max-width: var(--measure); }
.lead { font-size: var(--fs-lead); }
.small { font-size: var(--fs-sm); }
.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; }

/* Focus: visible everywhere, keyboard and mouse alike (older-adult readability). */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .fss-footer :focus-visible { outline-color: var(--focus-on-dark); }

/* Skip link */
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 1000; background: var(--navy); color: var(--white); padding: var(--s-3) var(--s-5); border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: var(--s-4); }

/* Eyebrow: Carlito Bold caps, teal on light, mint on navy */
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 var(--s-3); }
.on-dark .eyebrow { color: var(--mint); }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.bg-white { background: var(--white); }
.bg-soft { background: var(--bg-soft); }
/* v1.5.0: sand is no longer a section/hero background. Heroes are white; short bands take a pale teal tint. Sand lives in cards (.panel, .aside-card). */
.bg-sand { background: var(--white); }
.section.bg-sand { background: var(--tint-teal); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy a { color: var(--white); }
.bg-teal { background: var(--teal); color: var(--white); }
.bg-teal h2, .bg-teal h3 { color: var(--white); }
.bg-teal a { color: var(--white); }

.grid { display: grid; gap: var(--s-6); }
@media (min-width: 48em) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: var(--s-8); }
  .grid--split.grid--split-rev > :first-child { order: 2; }
  .grid--aside { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-8); align-items: start; }
}
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0.7rem 1.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1875rem; line-height: 1.2;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
/* Primary: orange door with navy text (4.2:1; white on orange fails contrast, see design log) */
.btn--primary { background: var(--orange); color: var(--navy); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
/* Secondary: navy outline on light; white outline on dark */
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }
.on-dark .btn--secondary { color: var(--white); border-color: var(--white); }
.on-dark .btn--secondary:hover { background: var(--white); color: var(--navy); }
/* Solid navy */
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--sm { font-size: 1.0625rem; padding: 0.5rem 1.1rem; min-height: var(--tap); white-space: nowrap; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .ico { width: 1.1em; height: 1.1em; flex: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; margin-top: var(--s-5); }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 30em) { .cta-row .btn { flex: 0 0 auto; } }

/* Text link with arrow: "Explore Home Care" etc. */
.textlink { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: var(--tap); color: var(--navy); }
.textlink::after { content: ""; width: .55em; height: .55em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.textlink:hover { text-decoration: underline; text-underline-offset: .2em; }
.textlink:hover::after { transform: translateX(3px) rotate(45deg); }
.on-dark .textlink { color: var(--white); }

/* Pending-destination marker (prototype only; see _prototype/pending-destination.html) */
.is-pending { position: relative; }
.is-pending::before { content: ""; position: absolute; inset: auto auto -6px 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--blue-gray); opacity: 0; }
body.show-pending .is-pending::before { opacity: 1; }

/* ---------- Header ---------- */
.fss-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--navy-tint); }
.fss-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4.5rem; }
.fss-logo { display: inline-flex; align-items: center; text-decoration: none; padding-block: var(--s-2); }
.fss-logo img { width: clamp(150px, 20vw, 206px); height: auto; }
.fss-nav { display: none; }
.fss-header__actions { display: flex; align-items: center; gap: var(--s-3); }
.fss-phone { display: none; font-weight: 700; text-decoration: none; color: var(--white); align-items: center; gap: .45em; min-height: var(--tap); white-space: nowrap; }
.fss-phone .ico { width: 1.15em; height: 1.15em; }
.fss-phone:hover { text-decoration: underline; }
.nav-toggle { display: inline-flex; align-items: center; gap: .5em; min-height: var(--tap); min-width: var(--tap); padding: .4rem .8rem; border: 2px solid var(--white); background: transparent; color: var(--white); border-radius: var(--radius-pill); font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer; }
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle .burger { width: 1.1em; height: .8em; position: relative; display: inline-block; }
.nav-toggle .burger::before, .nav-toggle .burger::after, .nav-toggle .burger span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle .burger::before { top: 0; } .nav-toggle .burger span { top: calc(50% - 1px); } .nav-toggle .burger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(.38em) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-.38em) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .burger span { opacity: 0; }

/* Mobile panel */
.fss-mobile { display: none; background: var(--navy); border-top: 1px solid var(--navy-line); max-height: calc(100vh - 4.5rem); overflow: auto; }
.fss-mobile[data-open="true"] { display: block; }
.fss-mobile ul { list-style: none; margin: 0; padding: var(--s-3) 0; }
.fss-mobile li { border-bottom: 1px solid var(--navy-line); }
.fss-mobile a, .fss-mobile button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 3.25rem; padding: .6rem var(--gutter); font: inherit; font-weight: 700; font-size: 1.125rem; color: var(--white); background: none; border: 0; text-align: left; text-decoration: none; cursor: pointer; }
.fss-mobile .sub { background: var(--navy-deep); display: none; }
.fss-mobile .sub[data-open="true"] { display: block; }
.fss-mobile .sub a { font-weight: 400; padding-left: calc(var(--gutter) + 1rem); min-height: 3rem; }
.fss-mobile .sub li:last-child { border-bottom: 0; }
.fss-mobile .chev { width: .7em; height: .7em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--dur) var(--ease); margin-right: .2em; }
.fss-mobile button[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.fss-mobile__cta { padding: var(--s-4) var(--gutter) var(--s-6); display: grid; gap: var(--s-3); }

/* v1.6.9: mobile tap-to-call icon. 44px target, white on navy, ringed focus; hidden once the full number shows (64em). */
body .fss-header .fss-phone-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--tap); height: var(--tap); min-width: 44px; min-height: 44px; border-radius: 50%; color: var(--white); background: transparent; border: 2px solid var(--white); text-decoration: none; }
body .fss-header .fss-phone-icon .ico { width: 1.25rem; height: 1.25rem; }
body .fss-header .fss-phone-icon:hover, body .fss-header .fss-phone-icon:focus { background: rgba(255,255,255,.14); color: var(--white); }
body .fss-header .fss-phone-icon:focus-visible { outline: 3px solid var(--focus-on-dark); outline-offset: 2px; }
/* Phones (under 480px): the logo used to be squeezed to a sliver (43px wide at 320px), so the bar is rebalanced:
   logo keeps a readable minimum width, "Menu" becomes an icon-only button (its text stays as the accessible name), buttons tighten.
   Under 340px there is no room for a fourth control: the phone icon is hidden there and Call stays at the top of the open menu. */
@media (max-width: 30em) {
  .fss-header__bar { gap: var(--s-2); }
  .fss-header__actions { gap: var(--s-2); }
  .fss-logo { flex: 0 0 auto; }
  .fss-logo img { width: clamp(92px, 26vw, 118px); }
  body .fss-header .btn--sm { padding: .5rem .7rem; } /* font size untouched: 19px bold is "large text" for the navy-on-orange contrast ratio */
  body .fss-header .nav-toggle { padding: 0; width: var(--tap); justify-content: center; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 21.25em) { body .fss-header .fss-phone-icon { display: none; } }
@media (min-width: 74.0625em) { body .fss-header .fss-phone-icon { display: none; } } /* the full number shows from here up */
@media (min-width: 64em) {
  .nav-toggle, .fss-mobile { display: none !important; }
  .fss-phone { display: inline-flex; }
  .fss-nav { display: block; }
  .fss-nav > ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
  .fss-nav > ul > li { position: relative; }
  .fss-nav a, .fss-nav button { display: inline-flex; align-items: center; gap: .35em; min-height: var(--tap); padding: .5rem .8rem; font: inherit; font-weight: 700; font-size: 1.0625rem; color: var(--white); background: none; border: 0; border-radius: var(--radius-pill); text-decoration: none; cursor: pointer; white-space: nowrap; }
  .fss-nav a:hover, .fss-nav button:hover, .fss-nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
  .fss-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); }
  .fss-nav .chev { width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -.25em; }
  .fss-nav button[aria-expanded="true"] .chev { transform: rotate(-135deg); margin-top: .2em; }
  .fss-nav .menu { position: absolute; top: 100%; left: 0; min-width: 18rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-2); margin: .25rem 0 0; list-style: none; display: none; box-shadow: 0 10px 30px rgba(2,60,90,.10); }
  .fss-nav .menu[data-open="true"] { display: block; }
  .fss-nav .menu a { display: flex; width: 100%; border-radius: var(--radius-soft); font-weight: 400; white-space: normal; padding: .6rem .8rem; color: var(--navy); }
  .fss-nav .menu a:hover { background: var(--bg-soft); }
  .fss-nav .menu .menu__note { font-size: var(--fs-xs); color: var(--slate); padding: .4rem .8rem .2rem; border-top: 1px solid var(--line); margin-top: .25rem; }
}
@media (min-width: 64em) and (max-width: 74em) {
  .fss-logo { flex: 0 0 auto; }
  .fss-logo img { width: 150px; }
  .fss-nav a, .fss-nav button { padding-inline: .35rem; font-size: 1rem; }
  /* v1.6.10: with six top-level items the number no longer fits beside the logo here; the call icon (same tel: link, named with the number) stands in. */
  .fss-phone { display: none; }
  body .fss-header .fss-phone-icon { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero--home { background: var(--white); }
.hero__inner { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.hero__copy { max-width: 40rem; position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 36rem; }
.hero__note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--slate); display: flex; align-items: center; gap: .5em; }
.hero__note .ico { width: 1.2em; height: 1.2em; color: var(--teal-dark); }

/* The big, quiet house: one per page, tonal, never cropped at the door. Artwork from the approved PPT cover group. */
.house-art { position: absolute; right: 2%; bottom: 6%; width: min(36vw, 27rem); color: var(--sky); pointer-events: none; opacity: 1; }
.house-art svg { width: 100%; height: auto; }
.house-art .house-door { fill: var(--orange); }
.bg-navy .house-art { color: var(--navy-tint); }
@media (max-width: 47.9em) { .house-art { width: 10rem; right: 4%; bottom: 1%; } .hero__copy { padding-bottom: 6rem; } }

/* Hero with placeholder figure (interior pages) */
.hero--split .hero__inner { display: grid; gap: var(--s-6); }
@media (min-width: 48em) { .hero--split .hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }

/* ---------- Placeholder figure (prototype-only, non-photographic) ---------- */
.ph { position: relative; margin: 0; }
@media (max-width: 47.9em) { .ph { max-width: 20rem; margin-inline: auto; } }
.ph__shape { background: var(--sand); color: var(--teal); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; position: relative; }
.ph__shape--arch { border-radius: 999px 999px var(--radius-card) var(--radius-card); aspect-ratio: 4 / 5; }
.ph__shape--rounded { border-radius: var(--radius-card); aspect-ratio: 16 / 11; }
.ph__shape--circle { border-radius: 50%; aspect-ratio: 1; }
.ph__shape--house { aspect-ratio: 1; clip-path: polygon(50% 0, 100% 32%, 100% 100%, 0 100%, 0 32%); }
.ph__shape::before { content: ""; position: absolute; inset: 10%; border: 1px solid var(--line); border-radius: inherit; opacity: .9; }
.ph__shape--navy::before { border-color: rgba(255,255,255,.18); }
.ph__shape img { display: none; }
.ph__shape.ph__shape--navy { background: var(--navy-tint); color: var(--sand); border-color: transparent; }
.ph__shape .ph__door { position: absolute; left: 50%; bottom: 0; width: 18%; height: 46%; background: var(--orange); border-radius: 6px 6px 0 0; transform: translateX(-50%); opacity: .9; }
.ph__tag { position: absolute; left: var(--s-3); bottom: var(--s-3); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); background: rgba(255,255,255,.85); padding: .25rem .6rem; border-radius: var(--radius-pill); }
.ph--dot::after { content: ""; position: absolute; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--teal); right: -0.6rem; top: 8%; }
.ph--dot-orange::after { background: var(--orange); left: -0.6rem; right: auto; bottom: 12%; top: auto; }

/* ---------- Router: "Who are you looking for care for?" ---------- */
.router { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.router li { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-3); }
@media (min-width: 48em) { .router li { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; align-items: center; gap: var(--s-6); } }
.router h3 { margin: 0; font-size: var(--fs-h3); }
.router p { margin: 0; }
.router .links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.router-aside { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.router-aside p { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; }

/* ---------- Path steps: the path links each step, from the first call to the open door ---------- */
.path { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--s-5); position: relative; }
.path li { position: relative; padding-left: 4rem; counter-increment: step; }
.path li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; }
.path li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.375rem - 1.5px); top: 2.75rem; bottom: calc(-1 * var(--s-5)); width: 3px; background: var(--line); border-radius: 3px; }
.path li:last-child::before { background: var(--orange); color: var(--navy); }
.path strong { color: var(--navy); }
.on-dark .path li::before { background: var(--sand-light); color: var(--navy); }
.on-dark .path li:not(:last-child)::after { background: rgba(255,255,255,.25); }
.on-dark .path strong { color: var(--white); }
.on-dark .path li:last-child::before { background: var(--orange); }

/* ---------- Services: editorial list rather than a wall of cards ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.services li { padding: var(--s-5) 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-3); grid-template-columns: 3.25rem minmax(0, 1fr); align-items: start; }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services .door { width: 2.25rem; height: 2.75rem; border-radius: 6px 6px 2px 2px; background: var(--orange); position: relative; margin-top: .3rem; }
.services .door::after { content: ""; position: absolute; right: .45rem; top: 50%; width: .25rem; height: .55rem; background: var(--navy); border-radius: 2px; transform: translateY(-50%); opacity: .55; }
.services h3 { margin-bottom: var(--s-2); }
.services p { margin-bottom: var(--s-2); }
@media (min-width: 64em) {
  .services { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); }
  .services li:nth-child(2) { border-top: 1px solid var(--line); }
  .services li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
.note-strip { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); background: var(--sand-light); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-soft) var(--radius-soft) 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; justify-content: space-between; }
.note-strip p { margin: 0; }

/* ---------- Reasons (why families choose Freedom) ---------- */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); }
@media (min-width: 48em) { .reasons { grid-template-columns: 1fr 1fr; gap: var(--s-7) var(--s-8); } }
.reasons li { padding-top: var(--s-4); border-top: 2px solid var(--mint); }
.reasons h3 { color: var(--white); margin-bottom: var(--s-2); }
.reasons p { margin: 0; color: var(--on-dark); }

/* Facts band */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 48em) { .facts { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
@media (min-width: 48em) { .facts.facts--duo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } } /* v1.6.12: two proof points, not three */
.facts li { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 700; color: var(--navy); font-size: var(--fs-lead); line-height: 1.35; }
.facts .ico { flex: none; width: 1.5rem; height: 1.5rem; color: var(--teal); margin-top: .15em; }

/* ---------- Feature blocks with a tonal panel ---------- */
.panel { background: var(--sand-light); border-radius: var(--radius-card); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.panel--sand { background: var(--sand); }
.bg-soft .panel:not(.panel--navy):not(.panel--teal):not(.panel--sand) { background: var(--white); box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line); }
.panel--navy { background: var(--navy); color: var(--on-dark); }
.panel--navy h2, .panel--navy h3 { color: var(--white); }
.panel--teal { background: var(--teal); color: var(--white); }
.panel--teal h2, .panel--teal h3 { color: var(--white); }
.panel--teal a { color: var(--white); }

/* Two-column prose list with rules (service items on Home Care) */
.helplist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .helplist { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-8); } }
.helplist li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s-3); }
.helplist .mark { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--mint); position: relative; margin-top: .25rem; }
.helplist .mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: .5rem; height: .9rem; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: translateY(-2px) rotate(45deg); }
.helplist h3 { font-size: var(--fs-lead); margin-bottom: var(--s-1); }
.helplist p { margin: 0; }

/* ---------- FAQ (native disclosure) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h3); color: var(--navy); min-height: var(--tap); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--navy); position: relative; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--navy); width: .9rem; height: 2px; transition: transform var(--dur) var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq details[open] summary .plus { background: var(--orange); border-color: var(--orange); }
.faq .answer { padding: 0 0 var(--s-5); max-width: var(--measure); }
.faq summary:hover { color: var(--teal-dark); }

/* ---------- Closing band: "Ready to talk about care?" ---------- */
.closer { position: relative; overflow: hidden; }
.closer .mosaic { position: absolute; left: 0; bottom: 0; width: min(60%, 44rem); opacity: .16; pointer-events: none; }
.closer .container { position: relative; }
.closer .meta { font-size: var(--fs-sm); opacity: .9; max-width: 36rem; }
.tagline { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h3); color: var(--navy); margin-top: var(--s-6); }
.tagline .about { color: var(--orange); }
.on-dark .tagline { color: var(--white); }

/* ---------- Footer ---------- */
.fss-footer { background: var(--navy-deep); color: var(--on-dark); padding-block: var(--s-8) var(--s-6); font-size: var(--fs-sm); }
.fss-footer a { color: var(--white); }
.fss-footer__top { display: grid; gap: var(--s-6); }
@media (min-width: 48em) { .fss-footer__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; } }
.fss-footer__brand img { width: 3.25rem; height: auto; margin-bottom: var(--s-4); }
.fss-footer__phone { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h3); text-decoration: none; display: inline-block; margin-bottom: var(--s-2); }
.fss-footer__phone:hover { text-decoration: underline; }
.fss-footer__concern { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-left: 3px solid var(--mint); }
.fss-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2) var(--s-4); }
@media (min-width: 30em) { .fss-footer nav ul { grid-template-columns: 1fr 1fr; } }
.fss-footer nav a { display: inline-block; min-height: var(--tap); line-height: var(--tap); }
.fss-footer__bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: var(--s-6); padding-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; align-items: center; }
.fss-footer__bottom p { margin: 0; }

/* ---------- Forms (prototype only; no submission) ---------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label, .fieldset legend { font-weight: 700; color: var(--navy); font-size: var(--fs-body); }
.field .hint { font-size: var(--fs-sm); color: var(--slate); margin: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .7rem 1rem; font: inherit; color: var(--navy); background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius-soft);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='10'><path d='M1 1l7 7 7-7' fill='none' stroke='%23023C5A' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.fieldset legend { padding: 0; margin-bottom: var(--s-2); }
.choices { display: grid; gap: var(--s-2); }
@media (min-width: 30em) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: var(--s-3); padding: .6rem .9rem; border: 2px solid var(--line); border-radius: var(--radius-soft); background: var(--white); min-height: var(--tap); cursor: pointer; font-weight: 400; color: var(--text); }
.choice:hover { border-color: var(--teal); }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--navy); margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--sand-light); }
.field.is-invalid input, .field.is-invalid select, .fieldset.is-invalid .choice { border-color: #B3261E; }
.error { color: #8E1D16; font-weight: 700; font-size: var(--fs-sm); margin: 0; display: none; }
.is-invalid .error { display: block; }
.form__privacy { padding: var(--s-4) var(--s-5); background: var(--sand-light); border-radius: var(--radius-soft); border-left: 4px solid var(--teal); }
.form__privacy p { margin: 0; }
.form__proto { font-size: var(--fs-xs); color: var(--slate); }
.form-success { display: none; padding: var(--s-6); background: var(--sand-light); border-radius: var(--radius-card); border-top: 6px solid var(--teal); }
.form-success[data-show="true"] { display: block; }
.form-success h3 { margin-bottom: var(--s-3); }
.form-success .ico { width: 2.5rem; height: 2.5rem; color: var(--teal); margin-bottom: var(--s-3); }

/* Sticky summary aside on form page */
.aside-card { background: var(--sand); border-radius: var(--radius-card); padding: var(--s-6); }
.aside-card h2 { font-size: var(--fs-h3); }
@media (min-width: 48em) { .aside-card { position: sticky; top: 6rem; } }

/* ---------- Locations ---------- */
.zip-form { display: grid; gap: var(--s-3); max-width: 34rem; }
@media (min-width: 30em) { .zip-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.zip-form .field { margin: 0; }
.proto-state { margin-top: var(--s-5); padding: var(--s-5); border: 2px dashed var(--line); border-radius: var(--radius-card); background: var(--white); max-width: 46rem; }
.proto-state h3 { font-size: var(--fs-lead); margin-bottom: var(--s-2); }
.proto-state p { margin-bottom: var(--s-2); }
.proto-state .badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); background: var(--sand-light); padding: .2rem .6rem; border-radius: var(--radius-pill); margin-bottom: var(--s-2); }
.states { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .states { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.states li { padding: var(--s-5); border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--line); display: grid; gap: var(--s-3); align-content: start; }
.states h3 { margin: 0; }
.states p { margin: 0; }
.states .textlink { margin-top: auto; }
.directory { margin-top: var(--s-7); }
.directory__empty { padding: var(--s-6); background: var(--sand-light); border-radius: var(--radius-card); display: grid; gap: var(--s-3); max-width: 46rem; }
.directory__empty p { margin: 0; }

/* ---------- Prototype banner (removable; not for production) ---------- */
.proto-banner { background: var(--navy-deep); color: var(--sand-light); font-size: var(--fs-xs); padding: .4rem var(--gutter); display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; justify-content: center; text-align: center; }
.proto-banner a { color: var(--mint); }
.proto-banner strong { color: var(--white); }

/* ---------- Pending-destination page ---------- */
.pending { min-height: 60vh; }
.pending dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0; }
.pending dt { font-weight: 700; color: var(--navy); }
.pending dd { margin: 0; }
.status-pill { display: inline-block; padding: .2rem .7rem; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.status-pill--stageb { background: var(--sand); color: var(--navy); }
.status-pill--gate { background: #FBE3D1; color: #7A3A0C; }
.status-pill--conditional { background: #DDEBE6; color: var(--teal-dark); }

/* Print */
@media print { .fss-header, .proto-banner, .skip-link, .fss-mobile { display: none !important; } }

/* ======================= Stage B additions ======================= */
/* Footer: three columns */
@media (min-width: 48em) { .fss-footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.fss-footer__explore ul { grid-template-columns: 1fr 1fr; }
.fss-footer nav::before { content: attr(aria-label); display: block; font-weight: 700; color: var(--mint); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-3); }

/* Blocked state (legal pages, reporting channels): internal prototype state, never public copy */
.blocked { border: 2px dashed var(--line); border-radius: var(--radius-card); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--white); max-width: 48rem; }
.blocked .badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A3A0C; background: #FBE3D1; padding: .2rem .6rem; border-radius: var(--radius-pill); margin-bottom: var(--s-3); }
.blocked h2, .blocked h3 { font-size: var(--fs-h3); }
.blocked dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); margin: var(--s-4) 0 0; font-size: var(--fs-sm); }
.blocked dt { font-weight: 700; color: var(--navy); }
.blocked dd { margin: 0; }

/* Bulleted facts with door marks (Careers "what you can expect", Partners) */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .points { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-8); } }
.points li { padding-top: var(--s-4); border-top: 2px solid var(--mint); }
.points h3 { font-size: var(--fs-lead); margin-bottom: var(--s-2); }
.points p { margin: 0; }
.on-dark .points h3 { color: var(--white); }

/* Simple bullet list (roles) */
.plainlist { padding-left: 1.2rem; display: grid; gap: var(--s-3); max-width: var(--measure); }
.plainlist li::marker { color: var(--orange); }

/* Resource tiles: four doors (editorial, ruled) */
.doors { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 48em) { .doors { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.doors li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.doors h3 { margin: 0; }
.doors p { margin: 0; }
.doors .textlink { margin-top: var(--s-2); }

/* FAQ page: groups */
.faq-group { margin-bottom: var(--s-7); }
.faq-group h2 { font-size: var(--fs-h3); color: var(--teal-dark); font-family: var(--font-body); letter-spacing: .12em; text-transform: uppercase; font-size: var(--fs-eyebrow); margin-bottom: var(--s-3); }
.faq .answer .textlink { margin-top: var(--s-2); }
.qa h3 { margin-top: var(--s-5); font-size: var(--fs-lead); }

/* Listings UI (Open Roles): filter controls + empty state; no fabricated jobs */
.filters { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
@media (min-width: 48em) { .filters { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.listing-empty { padding: var(--s-6); background: var(--sand-light); border-radius: var(--radius-card); display: grid; gap: var(--s-3); max-width: 48rem; }
.listing-empty p { margin: 0; }
.listing-skel { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); max-width: 48rem; }
.listing-skel li { border: 1px dashed var(--line); border-radius: var(--radius-soft); padding: var(--s-4); display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); align-items: center; color: var(--slate); font-size: var(--fs-sm); }
.listing-skel li span:first-child { display: grid; gap: .25rem; }
.listing-skel b { color: var(--navy); font-size: var(--fs-body); }

/* Locations directory demonstration UI */
.dir-tools { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
@media (min-width: 48em) { .dir-tools { grid-template-columns: 1fr 1fr 1fr; align-items: end; } }
.dir-layout { display: grid; gap: var(--s-5); }
@media (min-width: 64em) { .dir-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.dir-map { min-height: 22rem; background: var(--sand); border-radius: var(--radius-card); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: var(--s-5); color: var(--slate); font-size: var(--fs-sm); position: relative; overflow: hidden; }
.dir-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 3rem 3rem; opacity: .5; }
.dir-map > * { position: relative; }
.dir-list { display: grid; gap: var(--s-3); }
.dir-card { border: 1px dashed var(--line); border-radius: var(--radius-soft); padding: var(--s-4); font-size: var(--fs-sm); color: var(--slate); display: grid; gap: .3rem; }
.dir-card b { color: var(--navy); font-size: var(--fs-body); }
.dir-card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sand-light); color: var(--teal-dark); padding: .1rem .5rem; border-radius: var(--radius-pill); }

/* Numbered prose steps in a sand panel (Veteran, Paying, Careers) */
.panel .path { margin-top: var(--s-5); }

/* Referral "from your side" 2x2 */
.grid-rules { display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .grid-rules { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-8); } }
.grid-rules > div { padding-top: var(--s-4); border-top: 2px solid var(--line); }
.grid-rules h3 { font-size: var(--fs-lead); margin-bottom: var(--s-2); }
.grid-rules p { margin: 0; }

/* Preview banner (conditional pages) */
.proto-banner--cond { background: #7A3A0C; }

/* Page directory table */
.dirtable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--white); }
.dirtable th, .dirtable td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dirtable th { background: var(--sand); color: var(--navy); }

.fss-footer nav:not(.fss-footer__explore) ul { grid-template-columns: 1fr; }

/* ---------- v1.5.0 colour system ---------- */
/* White interior heroes close with a neutral hairline so the page keeps a clear first stop under the navy header. */
.hero.bg-sand, .hero--home { box-shadow: inset 0 -1px 0 var(--line); }
