/* ==========================================================================
   Horizon Care – main stylesheet
   Colours and type follow the Horizon Care logo guide.
   All sizes use rem so the accessibility text-size control scales everything.
   ========================================================================== */

:root {
  --plum: #4B2E83;
  --plum-deep: #2E1A52;
  --plum-mid: #5B3E95;
  --coral: #F07167;
  --coral-soft: #F9B4AE;
  --lilac: #EDE7F6;
  --lilac-line: #E6E0EE;
  --lilac-border: #CFC6DE;
  --cream: #FBF8F3;
  --white: #FFFFFF;
  --ink: #2B2533;
  --radius-lg: 2rem;
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --shadow: 0 10px 30px rgba(46, 26, 82, .08);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: .18em; }
a:hover { color: var(--plum-deep); }
h1, h2, h3, h4 { color: var(--plum-deep); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.25rem); letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 3vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--plum); color: #fff; padding: .75rem 1.25rem; border-radius: .5rem; font-weight: 800; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.5rem; padding: .75rem 1.9rem; border-radius: 999px;
  font: inherit; font-size: 1.125rem; font-weight: 800; text-decoration: none; cursor: pointer;
  border: 2px solid var(--plum); transition: background .2s, color .2s, transform .2s;
  text-align: center; max-width: 100%;
}
.site-header .btn { white-space: nowrap; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--plum); }
.btn-light:hover { background: var(--lilac); color: var(--plum-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--plum-deep); color: #fff; font-size: .95rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; }
.topbar a { color: #fff; font-weight: 700; }
.topbar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; }
.topbar-phone svg { width: 1.1rem; height: 1.1rem; }
.a11y-quick { display: inline-flex; align-items: center; gap: .4rem; }
.a11y-quick button {
  min-width: 2.4rem; height: 2rem; padding: 0 .6rem; border-radius: .5rem;
  border: 1px solid #8E72C4; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.a11y-quick button[aria-pressed="true"] { background: #fff; color: var(--plum-deep); border-color: #fff; }

/* ---------- Header / nav ---------- */
.show-sm { display: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--lilac-line); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 6.5rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand svg { width: 3.5rem; height: 3.5rem; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: .25rem; }
.brand-name { font-size: 1.85rem; line-height: 1; color: var(--plum); white-space: nowrap; }
.brand-name b { font-weight: 800; }
.brand-name span { font-weight: 400; letter-spacing: .04em; }
.brand-line { height: 3px; border-radius: 2px; background: var(--coral); }

.main-nav { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list .nav-toggle {
  white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem;
  padding: .5rem 0; border-bottom: 3px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0;
  font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem;
}
.nav-list a:hover, .nav-list .nav-toggle:hover { color: var(--plum); }
.nav-list a[aria-current="page"], .nav-list .nav-toggle.is-current { color: var(--plum); border-bottom-color: var(--coral); }
.nav-toggle svg { width: .9rem; height: .9rem; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + .75rem); left: -1.25rem; min-width: 19rem;
  background: #fff; border-radius: var(--radius-sm); box-shadow: 0 16px 40px rgba(46,26,82,.18);
  list-style: none; margin: 0; padding: .75rem; display: none;
}
.dropdown.is-open { display: block; }
.dropdown a { display: block; padding: .6rem .85rem; border-radius: .6rem; border: 0; font-size: 1.05rem; }
.dropdown a:hover { background: var(--lilac); }
.menu-btn {
  display: none; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--plum); color: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn svg { width: 1.4rem; height: 1.4rem; }
.call-btn-mobile { display: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--lilac); align-items: center; justify-content: center; }
.call-btn-mobile svg { width: 1.35rem; height: 1.35rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; }

/* ---------- Generic sections ---------- */
.section { padding: 6rem 0; }
.section-sm { padding: 4.5rem 0; }
.bg-white { background: #fff; }
.bg-plum { background: var(--plum); color: #fff; }
.bg-plum h2, .bg-plum h3 { color: #fff; }
.bg-lilac { background: var(--lilac); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin-bottom: .9rem;
  font-size: .95rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--plum);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 4px; border-radius: 2px; background: var(--coral); }
.bg-plum .eyebrow { color: var(--coral-soft); }
.lead { font-size: 1.35rem; line-height: 1.55; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-intro { max-width: 52rem; margin-bottom: 2.5rem; }
.coral-rule { width: 7.5rem; height: 5px; border-radius: 3px; background: var(--coral); margin: 0 0 1.5rem; }
.more-link { font-weight: 800; font-size: 1.1rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 5rem; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.hero p.lead { margin-bottom: 1.75rem; }
.hero-note { font-size: 1rem; margin-top: 1.5rem; }
.arch { position: relative; }
.arch img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 46% 46% var(--radius-lg) var(--radius-lg); }
.arch .sun { position: absolute; left: -1.5rem; bottom: 1.5rem; width: 6.5rem; height: 6.5rem; border-radius: 50%; background: var(--coral); }
.page-hero { padding: 4rem 0; }
.page-hero .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4.5rem; align-items: center; }
.page-hero.plain { background: #fff; padding: 4.5rem 0 4rem; }
.page-hero.plain .container { display: block; }
.page-hero.plain .lead { max-width: 56rem; }
.breadcrumb { font-size: 1rem; margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #6b6474; }

/* ---------- Cards ---------- */
.path-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 11.5rem;
  padding: 2rem; border-radius: var(--radius); background: var(--cream); border: 2px solid var(--lilac-line);
  color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s;
}
.path-card:hover { border-color: var(--plum); transform: translateY(-3px); color: var(--ink); }
.path-card strong { font-size: 1.6rem; color: var(--plum); line-height: 1.2; }
.photo-card {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; overflow: hidden;
  color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.photo-card img { width: 100%; height: 13.75rem; object-fit: cover; }
.photo-card-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; gap: .6rem; }
.photo-card h3 { margin: 0; font-size: 1.5rem; }
.photo-card p { margin: 0; font-size: 1.05rem; }
.photo-card .more { font-weight: 800; color: var(--plum); }
.card { padding: 2rem; border-radius: var(--radius); background: #fff; }
.card.cream { background: var(--cream); }
.card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.icon-circle { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--lilac); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon-circle svg { width: 1.75rem; height: 1.75rem; }
.outline-card { padding: 1.75rem 2rem; border-radius: 1.25rem; border: 2px solid var(--lilac-line); }
.outline-card h3 { font-size: 1.25rem; color: var(--plum); margin-bottom: .4rem; }

/* ---------- Steps ---------- */
.step-num {
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--plum); color: #fff;
  font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-num.coral { background: var(--coral); color: var(--plum-deep); }
.step { display: flex; flex-direction: column; gap: .9rem; }
.step .rule { height: 4px; border-radius: 2px; background: var(--coral); }
.step h3 { margin: 0; font-size: 1.45rem; }
.step p { margin: 0; font-size: 1.05rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 2rem; padding-bottom: 2.25rem; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(2rem - 2px); top: 4.5rem; bottom: .5rem; width: 4px; background: var(--coral); border-radius: 2px; }
.timeline h3 { margin: .75rem 0 .4rem; font-size: 1.6rem; }
.timeline p { margin: 0; max-width: 52rem; }

/* ---------- Why / feature list ---------- */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; align-items: center; }
.why img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; border-radius: var(--radius); }
.why-list { display: flex; flex-direction: column; gap: 2rem; }
.why-item { display: flex; gap: 1.25rem; }
.why-item svg { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.why-item h3 { margin: 0 0 .35rem; font-size: 1.6rem; }
.why-item p { margin: 0; }
.bg-plum .why-item p { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { padding: 3rem 0 6rem; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 3.5rem 4rem; border-radius: var(--radius-lg); background: var(--lilac);
}
.cta-box h2 { margin: 0 0 .5rem; }
.cta-box p { margin: 0 0 1rem; font-size: 1.25rem; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-size: 1.25rem; font-weight: 800; }
.cta-contacts a { text-decoration: none; overflow-wrap: anywhere; }
.cta-box > div { min-width: 0; }
.cta-actions { display: flex; flex-direction: column; gap: .9rem; min-width: 16rem; }

/* ---------- Service rows ---------- */
.service-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: center; scroll-margin-top: 8rem; }
.service-row + .service-row { margin-top: 4rem; }
.service-row.flip .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 1.27 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.funding-tag { font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); margin-bottom: .5rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
.tick-list li { display: flex; gap: .6rem; align-items: flex-start; }
.tick-list li::before { content: ""; flex-shrink: 0; width: .75rem; height: .75rem; margin-top: .5rem; border-radius: 50%; background: var(--coral); }
.tick-list.one-col { grid-template-columns: minmax(0, 1fr); }
.chip-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--lilac); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.chip:hover { background: var(--plum); color: #fff; }
.tag { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--lilac); color: var(--plum); font-weight: 700; font-size: .95rem; }

/* ---------- Day example ---------- */
.day-box { padding: 2.5rem; border-radius: var(--radius-lg); background: var(--plum); color: #fff; }
.day-box .eyebrow { color: var(--coral-soft); }
.day-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.day-row b { width: 6rem; flex-shrink: 0; }
.day-note { font-size: .95rem; color: #E6DDF5; margin: 1.25rem 0 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: .9rem; }
.faq details { background: var(--cream); border-radius: 1.25rem; padding: 1.4rem 1.75rem; }
.bg-white .faq details { background: var(--cream); }
.section:not(.bg-white) .faq details { background: #fff; }
.faq summary { cursor: pointer; font-size: 1.3rem; font-weight: 800; color: var(--plum-deep); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.75rem; line-height: 1; color: var(--plum); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .9rem 0 0; }

/* ---------- Team ---------- */
.pro-tile { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.75rem 2rem; border-radius: 1.4rem; background: var(--cream); }
.pro-tile svg { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.pro-tile h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.pro-tile p { margin: 0; font-size: 1.05rem; }
.pro-tile > div { min-width: 0; }
.pro-tile h3 { hyphens: auto; overflow-wrap: anywhere; }

/* ---------- Roles ---------- */
.role { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.25rem; border-radius: var(--radius); background: #fff; }
.role h3 { margin: 0 0 .6rem; font-size: 1.5rem; }
.role .tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.need-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.need-grid div { padding: 1.25rem 1.5rem; border-radius: 1.1rem; background: var(--plum-mid); }

/* ---------- Notices ---------- */
.notice { padding: 1.5rem 1.75rem; border-radius: 1.25rem; border: 2px solid var(--coral); }
.info-box { display: flex; gap: 1.5rem; align-items: center; padding: 2rem 2.5rem; border-radius: var(--radius); background: var(--lilac); }
.info-box svg { width: 3rem; height: 3rem; flex-shrink: 0; }
.info-box h3 { margin: 0 0 .25rem; font-size: 1.4rem; }
.info-box p { margin: 0; }
.check-item { display: flex; gap: .9rem; align-items: center; padding: 1.35rem 1.6rem; border-radius: 1.1rem; background: var(--cream); }
.check-item svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.form-stack { display: flex; flex-direction: column; gap: 2.5rem; }
.form-card { margin: 0; padding: 2.25rem; border: 0; border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.form-card legend { float: left; width: 100%; padding: 0; margin-bottom: .25rem; font-size: 1.65rem; font-weight: 800; color: var(--plum-deep); }
.form-card legend + * { clear: both; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; font-weight: 700; }
.field .hint { display: block; font-weight: 400; font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border-radius: .75rem; border: 2px solid var(--lilac-border);
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); outline: 3px solid rgba(75,46,131,.2); outline-offset: 0; }
.field input[type="file"] { border-style: dashed; background: var(--cream); padding: .9rem 1rem; }
.req { color: #9B2C24; }
.choice-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.choice-group legend { float: none; font-size: 1.125rem; font-weight: 700; color: var(--ink); margin: 0 0 .25rem; }
.pills { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.2rem; border-radius: 999px; border: 2px solid var(--lilac-border); font-weight: 600; }
.pill input:checked + span { border-color: var(--plum); background: var(--lilac); color: var(--plum-deep); font-weight: 800; }
.pill input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.check-box { display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .5rem 1rem; border-radius: .75rem; border: 2px solid var(--lilac-border); font-weight: 600; cursor: pointer; }
.check-box input, .consent input { width: 1.35rem; height: 1.35rem; accent-color: var(--plum); flex-shrink: 0; }
.consent { display: flex; gap: .9rem; align-items: flex-start; }
.consent input { margin-top: .25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; }
.side-stack { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 8rem; }
.side-stack .arch img { aspect-ratio: .85 / 1; object-position: center 30%; }
.side-card { padding: 2rem; border-radius: var(--radius); background: #fff; }
.side-card.plum { background: var(--plum); color: #fff; }
.side-card.plum h2, .side-card.plum h3 { color: #fff; }
.side-card h2, .side-card h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.side-card ol { padding-left: 1.25rem; margin: 0; }
.side-card li { margin-bottom: .6rem; }

/* ---------- Contact ---------- */
.contact-card { padding: 2.25rem; border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: .5rem; }
.contact-card h2 { font-size: 1.4rem; margin: 0; }
.contact-card .big { font-size: 1.4rem; font-weight: 800; color: var(--plum); text-decoration: none; overflow-wrap: anywhere; }
.map-frame { width: 100%; height: 20rem; border: 0; border-radius: var(--radius); }
.emergency { padding: 1.4rem 1.6rem; border-radius: 1.25rem; border: 2px solid var(--coral); }

/* ---------- Commission box ---------- */
.split-boxes { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; }
.commission { padding: 2.5rem; border-radius: var(--radius-lg); background: var(--plum); color: #fff; }
.commission h2, .commission h3 { color: #fff; font-size: 1.65rem; }
.commission a { color: #fff; }
.advocate { padding: 2.5rem; border-radius: var(--radius-lg); background: var(--lilac); }
.advocate h2 { font-size: 1.65rem; }

/* ---------- Easy Read ---------- */
.easy { max-width: 60rem; margin: 0 auto; }
.easy h2 { color: var(--plum); font-size: 2.6rem; margin: 3rem 0 2rem; }
.easy-row { display: flex; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.easy-row .pic { width: 13.75rem; height: 13.75rem; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--lilac); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.easy-row .pic.plum { background: var(--plum); }
.easy-row .pic svg { width: 55%; height: 55%; }
.easy-row .pic.mark svg { width: 70%; height: 70%; }
.easy-row p { font-size: 1.75rem; line-height: 1.5; margin: 0 0 .6rem; }

/* ---------- Policy ---------- */
.policy-layout { display: grid; grid-template-columns: 18.75rem minmax(0, 1fr); gap: 4.5rem; align-items: start; }
.toc { position: sticky; top: 8rem; padding: 1.75rem; border-radius: 1.25rem; background: #fff; display: flex; flex-direction: column; gap: .75rem; font-weight: 700; font-size: 1rem; }
.toc .eyebrow { margin: 0; font-size: .85rem; }
.toc .eyebrow::before { display: none; }
.policy section { scroll-margin-top: 8rem; margin-bottom: 2.5rem; }
.policy h2 { font-size: 1.75rem; margin-bottom: .6rem; }
.policy ul { padding-left: 1.5rem; }
.policy li { margin-bottom: .4rem; }
.summary-box { padding: 1.75rem 2rem; border-radius: 1.25rem; background: var(--lilac); margin-bottom: 2.5rem; }
.contact-block { padding: 1.5rem 1.75rem; border-radius: 1.1rem; background: #fff; line-height: 1.8; margin-bottom: 1rem; }

/* ---------- Blog ---------- */
.post-date { font-size: .95rem; font-weight: 700; color: var(--plum); }
.post-meta { font-size: 1.05rem; margin: 0; }
.article-head { max-width: 60rem; }
.article-wrap { max-width: 60rem; }
.article-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 3rem; }
.article { max-width: 46rem; font-size: 1.2rem; line-height: 1.75; }
.article h2 { font-size: 1.75rem; margin: 2.25rem 0 .75rem; }
.article ul, .article ol { padding-left: 1.5rem; }
.article li { margin-bottom: .5rem; }
.article-cta { margin-top: 3rem; padding: 2rem 2.25rem; border-radius: var(--radius); background: var(--lilac); }
.article-cta h2 { margin-top: 0; }
.article-cta p { margin: 0; }
.article-note { margin-top: 1.5rem; font-size: 1rem; color: #5a5363; }
[data-publish][hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: #fff; padding: 4.5rem 0 3rem; font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--coral-soft); }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer-brand { max-width: 20rem; display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand .brand svg { width: 3.75rem; height: 3.75rem; }
.footer-stack { display: flex; flex-direction: column; gap: .25rem; color: #fff; }
.footer-stack .top { font-size: 1.85rem; line-height: .9; font-weight: 800; }
.footer-stack .line { height: 3px; background: var(--coral); }
.footer-stack .bottom { font-size: 1.25rem; line-height: 1; letter-spacing: .1em; }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-cols h2 { color: #fff; font-size: 1.1rem; margin: 0 0 .9rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--plum-mid); display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; font-size: .95rem; }
.footer-bottom p { margin: 0; max-width: 51rem; }

/* ---------- Simple pages (404 / thank you) ---------- */
.message-page { min-height: 60vh; display: flex; align-items: center; padding: 5rem 0; }
.message-box { max-width: 40rem; margin: 0 auto; text-align: center; padding: 3.5rem 2.5rem; background: #fff; border-radius: var(--radius-lg); }
.message-box svg { width: 6rem; height: 6rem; margin: 0 auto 1rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-list { gap: 1.25rem; }
  .main-nav { gap: 1.25rem; }
  .brand-name { font-size: 1.6rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .container, .page-hero .container, .why, .service-row, .form-layout { gap: 2.5rem; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .toc { position: static; }
}

@media (max-width: 1080px) {
  .menu-btn, .call-btn-mobile { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(24rem, 100vw); background: #fff; z-index: 200;
    flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-close { position: absolute; top: 1.25rem; right: 1.25rem; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--lilac-line); }
  .nav-list a, .nav-list .nav-toggle { width: 100%; padding: 1rem 0; font-size: 1.2rem; justify-content: space-between; border-bottom: 0; }
  .nav-list a[aria-current="page"] { border-bottom: 0; color: var(--plum); }
  .dropdown { position: static; box-shadow: none; padding: 0 0 1rem 1rem; min-width: 0; }
  .dropdown a { white-space: normal; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(46,26,82,.45); z-index: 150; }
  .nav-open .site-header { z-index: 300; }
  .nav-open { overflow: hidden; }
  .main-nav .btn { width: 100%; white-space: normal; }
}

/* Same compact menu when the full menu does not fit (large text sizes) – set by main.js */
html.nav-collapsed .menu-btn, html.nav-collapsed .call-btn-mobile { display: inline-flex; }
html.nav-collapsed .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(24rem, 100vw); background: #fff; z-index: 200;
    flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    visibility: hidden;
  }
html.nav-collapsed .nav-open .main-nav { transform: none; visibility: visible; }
html.nav-collapsed .nav-close { position: absolute; top: 1.25rem; right: 1.25rem; }
html.nav-collapsed .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
html.nav-collapsed .nav-list > li { border-bottom: 1px solid var(--lilac-line); }
html.nav-collapsed .nav-list a, html.nav-collapsed .nav-list .nav-toggle { width: 100%; padding: 1rem 0; font-size: 1.2rem; justify-content: space-between; border-bottom: 0; }
html.nav-collapsed .nav-list a[aria-current="page"] { border-bottom: 0; color: var(--plum); }
html.nav-collapsed .dropdown { position: static; box-shadow: none; padding: 0 0 1rem 1rem; min-width: 0; }
html.nav-collapsed .dropdown a { white-space: normal; }
html.nav-collapsed .nav-backdrop { position: fixed; inset: 0; background: rgba(46,26,82,.45); z-index: 150; }
html.nav-collapsed .nav-open .site-header { z-index: 300; }
html.nav-collapsed .nav-open { overflow: hidden; }
html.nav-collapsed .main-nav .btn { width: 100%; white-space: normal; }

@media (max-width: 960px) {
  .topbar .container { justify-content: center; }
  .topbar-phone { display: none; }

  .hero .container, .page-hero .container, .why, .service-row, .form-layout, .split-boxes { grid-template-columns: minmax(0, 1fr); }
  .service-row.flip .service-media { order: 0; }
  .hero { padding-top: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-stack { position: static; }
}
@media (min-width: 1081px) { html:not(.nav-collapsed) .nav-close, html:not(.nav-collapsed) .nav-backdrop { display: none !important; } }

@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .section-sm { padding: 3rem 0; }
  .site-header .container { min-height: 4.75rem; }
  .brand svg { width: 2.6rem; height: 2.6rem; }
  .brand-name { font-size: 1.35rem; }
  .lead { font-size: 1.175rem; }
  .grid-2, .grid-3, .grid-4, .field-grid, .check-grid, .tick-list, .need-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .cta-box { padding: 2rem 1.5rem; }
  .cta-actions { width: 100%; min-width: 0; }
  .form-card { padding: 1.5rem; }
  .easy-row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .easy-row .pic { width: 9rem; height: 9rem; }
  .easy-row p { font-size: 1.4rem; }
  .info-box { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
  .arch .sun { width: 4rem; height: 4rem; left: -.5rem; }
  .timeline li { gap: 1.25rem; }
  .timeline li:not(:last-child)::after { left: calc(2rem - 2px); }
  .a11y-quick .label { display: none; }
  .topbar .container { flex-wrap: wrap; padding-top: .4rem; padding-bottom: .4rem; gap: .5rem; }
  .topbar-left { gap: .75rem; justify-content: center; }
  .a11y-quick { flex-wrap: wrap; justify-content: center; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .brand { gap: .5rem; min-width: 0; }
  .brand svg { width: min(2.6rem, 11vw); height: min(2.6rem, 11vw); }
  .brand-name { font-size: min(1.35rem, 6.2vw); }
  .menu-btn, .call-btn-mobile { width: min(3rem, 12vw); height: min(3rem, 12vw); }
  .site-header .container { gap: .75rem; }
}

/* ==========================================================================
   Accessibility modes (set by accessibility.js on <html>)
   ========================================================================== */
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .bg-white, html.a11y-contrast .card, html.a11y-contrast .photo-card,
html.a11y-contrast .path-card, html.a11y-contrast .form-card, html.a11y-contrast .faq details,
html.a11y-contrast .bg-lilac, html.a11y-contrast .cta-box, html.a11y-contrast .side-card:not(.plum),
html.a11y-contrast .check-item, html.a11y-contrast .pro-tile, html.a11y-contrast .info-box, html.a11y-contrast .summary-box,
html.a11y-contrast .contact-card, html.a11y-contrast .advocate, html.a11y-contrast .toc { background: #fff !important; border: 2px solid #000 !important; color: #000 !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3 { color: #000; }
html.a11y-contrast a:not(.btn) { color: #00238C; text-decoration: underline; }
html.a11y-contrast .bg-plum, html.a11y-contrast .commission, html.a11y-contrast .day-box, html.a11y-contrast .side-card.plum { background: #000 !important; }
html.a11y-contrast .bg-plum *, html.a11y-contrast .commission *, html.a11y-contrast .day-box *, html.a11y-contrast .side-card.plum * { color: #fff !important; }
html.a11y-contrast .btn-primary { background: #000; border-color: #000; }
html.a11y-contrast .btn-outline { color: #000; border-color: #000; }
html.a11y-contrast .site-footer { background: #000; }
html.a11y-contrast .site-footer a { color: #fff; }
html.a11y-contrast .eyebrow { color: #000; }
html.a11y-contrast .bg-plum .eyebrow { color: #fff; }

@media print {
  .topbar, .site-header, .site-footer, .cta-band, .menu-btn { display: none !important; }
  body { background: #fff; }
}
