/* Barasi Care — design system
   Tokens first, then base, layout, components, sections, utilities. */

:root {
  /* Color */
  --navy-900: #132438;
  --navy: #1f3a5f;
  --navy-600: #2c4f7c;
  --ink: #142235;
  --text: #263241;     /* ~12:1 on cream */
  --muted: #46505e;    /* ~8:1 on cream: no faint grey text */
  --cream: #fbf8f3;
  --sand: #f3ece1;
  --sand-300: #e6dccd;
  --sage: #4e6b57;
  --sage-200: #d5e2d6;
  --sage-100: #e9f0e8;
  --clay: #a8573a;
  --white: #fff;
  --line: #e4ddd2;
  --focus: #b8560f;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  /* Atkinson Hyperlegible was designed for low-vision readers: distinct letterforms (Il1, 0O) */
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-body: 1.1875rem;     /* 19px base; viewers can raise it with the text-size control */
  --fs-small: 1.0625rem;    /* smallest running text is 17px */
  --fs-h1: clamp(2.25rem, 1.6rem + 2.8vw, 3.6rem);
  --fs-h2: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);

  /* Space, shape, depth */
  --container: 1180px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section: clamp(4rem, 3rem + 4vw, 7rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(19, 36, 56, .06), 0 2px 8px rgba(19, 36, 56, .05);
  --shadow: 0 2px 4px rgba(19, 36, 56, .05), 0 12px 32px rgba(19, 36, 56, .09);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.7;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy-600); }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .6em; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--sage { background: var(--sage-100); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 700; letter-spacing: .02em; color: var(--clay); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(31, 58, 95, .22); }
.btn--primary:hover { background: var(--navy-900); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sand); color: var(--navy-900); }
.btn--sm { min-height: 48px; padding: .6rem 1.2rem; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 52px; height: 50px; flex: none; }
.brand-name { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; line-height: 1; color: #0b4282; white-space: nowrap; }
.brand-name span { color: #168a7a; }  /* logo teal, darkened slightly for text contrast */
.nav-toggle { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: .25rem; }
.primary-nav a, .dropdown-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: 999px; color: var(--ink); font: 700 1.05rem/1.2 var(--font-body); text-decoration: none; background: none; border: 0; cursor: pointer; }
.primary-nav a:hover, .dropdown-toggle:hover, .primary-nav a[aria-current="page"] { background: var(--sand); color: var(--navy-900); }
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: -1rem; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown a { display: block; border-radius: var(--radius-sm); padding: .7rem .85rem; }
.dropdown a small { display: block; font-weight: 400; color: var(--muted); font-size: .98rem; margin-top: .15rem; }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: .35rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { font-weight: 700; text-decoration: none; color: var(--navy); white-space: nowrap; }

@media (max-width: 999px) {
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { backdrop-filter: none; background: var(--cream); }
  .header-inner { min-height: 66px; gap: .6rem; }
  .brand svg { width: 44px; height: 42px; }
  .brand-name { font-size: 1.3rem; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; order: 3; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .primary-nav { position: fixed; inset: 66px 0 0 0; background: var(--cream); padding: 1rem var(--gutter) 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s var(--ease), visibility .25s; }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav a, .dropdown-toggle { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.15rem; border-radius: 0; }
  .primary-nav a:hover, .dropdown-toggle:hover, .primary-nav a[aria-current="page"] { background: none; color: var(--navy); }
  .dropdown { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .75rem .5rem; background: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { padding: .65rem .5rem; font-size: 1.05rem; }
  .header-cta .btn { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
}
@media (max-width: 420px) { .brand svg { width: 38px; height: 36px; } .brand-name { font-size: 1.15rem; } .header-cta .btn { padding: .45rem .8rem; font-size: .9rem; } .nav-toggle { width: 44px; height: 44px; } }
@media (max-width: 330px) { .header-cta .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12vw; top: -10%; width: 62vw; height: 120%; background: var(--sand); border-radius: 0 0 0 48% / 0 0 0 40%; z-index: -1; }
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--sage); }
.hero-lede { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); color: var(--text); max-width: 34em; margin-bottom: 1.8rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.hero-services li { font-size: 1rem; font-weight: 600; color: var(--sage); background: var(--sage-100); border: 1px solid var(--sage-200); border-radius: 999px; padding: .35rem .85rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 35% center; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-note { position: absolute; left: clamp(-1.5rem, -2vw, -.5rem); bottom: -1.5rem; display: flex; align-items: center; gap: .85rem; max-width: 300px; background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); font-size: .98rem; line-height: 1.4; color: var(--ink); }
.hero-note .icon-badge { flex: none; }
@media (max-width: 899px) { .hero::before { width: 100%; right: 0; top: auto; bottom: 0; height: 55%; border-radius: 48% 48% 0 0 / 18% 18% 0 0; } .hero-note { left: 1rem; right: 1rem; max-width: none; } }

/* ---------- Icon badge ---------- */
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sage-100); color: var(--sage); }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--navy { background: var(--navy); color: #fff; }

/* ---------- Trust strip ---------- */
.trust { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); background: var(--white); border-block: 1px solid var(--line); }
.trust-grid { display: grid; gap: 1.75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-item h2, .trust-item h3 { font-size: 1.12rem; margin: .1rem 0 .25rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.trust-item p { margin: 0; font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; position: relative; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .45rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--muted); font-size: var(--fs-small); flex: 1; }
.service-card .text-link { margin-top: .25rem; }
.service-card--feature { background: var(--navy); border-color: var(--navy); color: #d9e2ee; justify-content: center; padding: 2rem 1.75rem; }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: #c9d4e2; flex: 0 0 auto; margin-bottom: 1.4rem; }

/* ---------- Media frame ---------- */
.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.media-frame::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%; border-radius: var(--radius-lg); background: var(--sage-200); z-index: -1; }
.media-frame--left::after { inset: auto auto -14px -14px; background: var(--sand-300); }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234e6b57' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ---------- Why / feature list ---------- */
.feature-list { display: grid; gap: 1.6rem; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.feature h3 { margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 1.15rem/1 var(--font-head); margin-bottom: 1.1rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 1000px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 2.95rem; left: calc(1.5rem + 52px); right: -1.25rem; height: 2px; background: repeating-linear-gradient(90deg, var(--sand-300) 0 6px, transparent 6px 12px); } }

/* ---------- Questions checklist (trust) ---------- */
.ask-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ask-card { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; border-left: 4px solid var(--sage); box-shadow: var(--shadow-sm); }
.ask-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; margin-bottom: .35rem; }
.ask-card p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--sage-200); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; font-weight: 700; color: var(--ink); font-size: 1.15rem; min-height: 64px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f3a5f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--text); }
.faq-answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy) ; color: #dbe4ef; isolation: isolate; }
.cta-band picture, .cta-band > img { position: absolute; inset: 0; z-index: -2; }
.cta-band picture img, .cta-band > img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 45%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19, 36, 56, .96) 0%, rgba(19, 36, 56, .9) 42%, rgba(19, 36, 56, .35) 75%, rgba(19, 36, 56, .1) 100%); }
.cta-band-inner { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem); max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; }
.cta-contact { margin-top: 1.25rem; font-size: 1rem; }
.cta-contact a { color: #fff; font-weight: 700; }
@media (max-width: 700px) { .cta-band::before { background: linear-gradient(180deg, rgba(19, 36, 56, .82) 0%, rgba(19, 36, 56, .95) 55%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--sand); }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid--media { grid-template-columns: 1.1fr .9fr; } }
.page-hero p.lede { font-size: 1.2rem; max-width: 38em; }
.page-hero img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: 1rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--sand-300); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Prose & sidebars ---------- */
.content-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.prose h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { margin: 0 0 1.4rem; }
.prose li { margin-bottom: .45rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
@media (min-width: 960px) { .content-grid > aside { position: sticky; top: 100px; } }
.aside-card h2 { font-size: 1.35rem; }
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.aside-links li:last-child a { border: 0; }
.note { background: var(--sage-100); border-radius: var(--radius); padding: 1.2rem 1.4rem; font-size: var(--fs-small); }
.note p:last-child { margin: 0; }

/* ---------- Values grid (about) ---------- */
.values-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.value-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.value-card h3 { margin-top: 1rem; font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); margin-bottom: .45rem; font-size: 1.1rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 1rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.15rem; color: var(--ink); background: #fff; border: 2px solid #b9ad9b; border-radius: 12px; padding: .85rem 1rem; min-height: 58px; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(31, 58, 95, .15); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chip-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-options label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; background: var(--cream); border: 1.5px solid var(--sand-300); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; margin: 0; min-height: 44px; }
.chip-options input { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status[data-state="error"] { color: #9b2c1f; }
.form-status[data-state="ok"] { color: var(--sage); }
.form-privacy { font-size: 1rem; color: var(--muted); margin: .75rem 0 0; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #d3dce7; padding-top: clamp(3.5rem, 3rem + 2vw, 5rem); font-size: 1rem; }
.site-footer a { color: #e4ebf3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 3rem; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: #7fd3c4; }
.footer-brand .brand svg { background: #fff; border-radius: 12px; padding: 4px; box-sizing: content-box; }
.footer-brand p { max-width: 30em; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: 1rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.social-links { display: flex; gap: .6rem; margin-top: 1rem; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social-links svg { width: 18px; height: 18px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.stack-lg > * + * { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }


/* ---------- Elder-first helpers ---------- */
/* Text-size control: everything is rem-based, so scaling the root scales the whole page */
html.ts-1 { font-size: 112.5%; }
html.ts-2 { font-size: 125%; }

.utility-bar { background: var(--navy-900); color: #e4ebf3; font-size: 1rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; }
.utility-bar p { margin: 0; }
.utility-bar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar svg { width: 18px; height: 18px; }
.utility-right { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.text-size { display: flex; align-items: center; gap: .4rem; }
.text-size-label { margin-right: .2rem; }
.text-size button { min-width: 44px; min-height: 40px; padding: 0 .6rem; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font: 700 1rem/1 var(--font-body); cursor: pointer; }
.text-size button:nth-of-type(2) { font-size: 1.15rem; }
.text-size button:nth-of-type(3) { font-size: 1.3rem; }
.text-size button[aria-pressed="true"] { background: #fff; color: var(--navy-900); border-color: #fff; }
@media (max-width: 760px) { .utility-bar .utility-tagline, .utility-bar .utility-phone { display: none; } .utility-right { margin-inline: auto; } }
/* On phones the fixed bottom bar carries Call/Message, so the header keeps just logo and menu */
@media (max-width: 767px) { .header-cta { display: none; } .brand-name { white-space: nowrap; } }

.hero-call { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 1.5rem 0 0; font-size: 1.15rem; }
.hero-call a { font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.hero-call a:hover { text-decoration: underline; }

/* Underline links inside running text so they are recognisable without relying on colour */
.prose a, .faq-answer a, .lead a, .lede a, .check-list a, .note a, .form-privacy a, .aside-card p a { text-decoration: underline; }

/* Fixed call/message bar on phones: the two things visitors most want, one thumb away */
.mobile-actions { display: none; }
@media (max-width: 767px) {
  .mobile-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(19, 36, 56, .1); }
  .mobile-actions .btn { min-height: 56px; width: 100%; font-size: 1.1rem; padding-inline: .75rem; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .nav-open .mobile-actions { display: none; }
}

.field .req { font-weight: 400; color: var(--muted); font-size: 1rem; }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: #9b2c1f; background: #fff7f5; }
.form-status { font-size: 1.1rem; }
