/* United Health Professionals. Brand system v2 (19 Oct 2026), built by Whilst.
   Own look, deliberately NOT the Whilst/Nexus template: no serif, no mono labels, no hairline rows, no navy.
   Colours come from the logo: forest green (deepened from the lime figure) leads, logo orange is the
   one action colour (always with dark text), logo lime is a highlighter and shape colour only.
   Type: Outfit (headings, rounded like the logo figures) + Figtree (body, very legible).
   Shape rule: buttons and choice chips are full pills; cards 24px; photos 28px; inputs 12px. */

@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  /* PALETTE (contrast on --bg in brackets) */
  --forest: #1e4d2b;       /* headings, dark panels, focus ring (9.6:1) */
  --forest-deep: #163b20;
  --text: #17241a;         /* body strong (15.8:1) */
  --body: #4a564c;         /* paragraphs (7.5:1) */
  --muted: #5c675e;        /* small print (5.8:1) */
  --label: #3f7a16;        /* small labels (5.1:1) */
  --lime: #98c850;         /* logo lime: shapes, number circles, accents on forest (5.0:1 on forest) */
  --lime-soft: #d6ecb4;    /* highlighter stroke behind key words */
  --orange: #f09810;       /* logo orange: every button, with --text on top (7.1:1) */
  --orange-deep: #dd8a08;
  --bg: #fcfdfa;
  --white: #ffffff;
  --wash: #f2f7ea;         /* pale lime section/card wash */
  --warm: #fff4e2;         /* pale orange card wash */
  --line: rgba(30, 77, 43, 0.12);
  --line-strong: rgba(30, 77, 43, 0.3);
  --display: "Outfit", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 28px);
  color-scheme: light;     /* light only: the logo file has navy text that disappears on a dark background */
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
h1, h2, h3 { color: var(--forest); font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 56px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--label); letter-spacing: 0; }
/* key words get a lime highlighter stroke instead of the old italic serif */
.it { font-style: normal; }
.g { background: linear-gradient(180deg, transparent 60%, var(--lime-soft) 60%, var(--lime-soft) 94%, transparent 94%); padding: 0 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: clamp(18px, 1.9vw, 20px); color: var(--body); max-width: 620px; }
.lede strong { color: var(--text); font-weight: 600; }
.small { font-size: 14.5px; color: var(--muted); }
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 10px; }
.section-head .lede { margin-top: 16px; }
section { padding: 88px 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--forest); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) { .hide-phone { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--orange); color: var(--text); text-decoration: none; cursor: pointer;
  font: 700 16.5px/1 var(--sans); padding: 17px 28px; min-height: 54px; border-radius: 999px; border: 0;
  box-shadow: 0 1px 0 rgba(23, 36, 26, 0.12), 0 8px 20px -10px rgba(221, 138, 8, 0.6);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { background: var(--orange-deep); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn svg { width: 17px; height: 17px; }
.text-link { font-weight: 700; color: var(--forest); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 0.28em; }
.text-link:hover { text-decoration-color: var(--orange); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }

/* ---------- header ---------- */
.site-head { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
.site-head::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--lime) 0 50%, var(--orange) 50% 100%); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 64px; padding-top: 4px; padding-bottom: 4px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 158px; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 16px; font-weight: 600; }
.links a { text-decoration: none; color: var(--body); }
.links a:hover, .links a[aria-current="page"] { color: var(--forest); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.nav .btn { padding: 13px 22px; min-height: 48px; font-size: 15.5px; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .links { display: none; }
  .nav { gap: 12px; min-height: 68px; }
  .nav .btn { margin-left: auto; padding: 12px 18px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--forest); cursor: pointer;
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 6px var(--gutter) 14px; box-shadow: 0 16px 28px -12px rgba(30, 77, 43, 0.18);
  }
  .links.open a { padding: 14px 0; font-size: 18px; color: var(--forest); }
  .brand img { width: 136px; }
}
@media (max-width: 400px) { .nav .btn .long { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.hero h1 { margin: 14px 0 22px; }
.hero-art { position: relative; isolation: isolate; }
/* logo motifs: the orange swoosh under the photo, the lime head above it */
.hero-art::before { content: ""; position: absolute; z-index: -1; left: -9%; right: -9%; bottom: -8%; height: 34%; border-radius: 50%; border-bottom: 10px solid var(--orange); transform: rotate(-7deg); }
.hero-art::after { content: ""; position: absolute; z-index: 1; top: -14px; right: -10px; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px var(--bg); }
.hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wash); }
.hero-img img, .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .rise-2 { animation-delay: 0.08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------- fact panel ---------- */
.verify { padding: 0 0 8px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: var(--wash); border-radius: 24px; padding: 28px 32px; }
.facts .eyebrow { font-size: 14px; }
.facts p:not(.eyebrow) { color: var(--forest); font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; margin-top: 6px; letter-spacing: -0.01em; }
.facts a { font-size: 14.5px; display: inline-block; margin-top: 8px; color: var(--forest); font-weight: 600; }
.facts .small { display: block; margin-top: 4px; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.svc .item { background: var(--wash); border-radius: 24px; padding: 30px 32px; }
.svc .item:nth-child(2), .svc .item:nth-child(4), .svc .item:nth-child(7) { background: var(--warm); }
.svc .item h3 { margin-top: 8px; font-size: 23px; }
.svc .item p:not(.eyebrow) { color: var(--body); margin-top: 10px; font-size: 16.5px; }
.svc .item .eyebrow { font-size: 14px; }
.svc .item.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; background: var(--forest); color: var(--white); }
.svc .item.wide .copy { padding: 36px; align-self: center; }
.svc .item.wide .eyebrow { color: var(--lime); }
.svc .item.wide h3 { color: var(--white); font-size: 26px; }
.svc .item.wide p:not(.eyebrow) { color: rgba(255, 255, 255, 0.86); }
.svc .item.wide .photo { position: relative; min-height: 300px; }
.svc .item.wide .photo picture, .svc .item.wide .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reg-note { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------- supported living (dark panel) ---------- */
.living { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--forest); color: var(--white); border-radius: 28px; overflow: hidden; }
.living .copy { padding: clamp(32px, 5.5vw, 60px); }
.living .eyebrow { color: var(--lime); }
.living h2 { color: var(--white); margin: 0 0 16px; }
.living .g { background: none; color: var(--lime); }
.living .copy > p { color: rgba(255, 255, 255, 0.86); max-width: 540px; }
.living a { color: var(--white); text-decoration-color: var(--lime); }
.living-list { margin-top: 28px; display: grid; gap: 18px; }
.living-list li { padding-left: 18px; border-left: 3px solid var(--lime); }
.living-list li:nth-child(2) { border-left-color: var(--orange); }
.living-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.living-list span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; }
.living .photo { position: relative; min-height: 380px; }
.living .photo picture, .living .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- how it works (numbered tiles) ---------- */
#how { background: var(--wash); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.step { background: var(--white); border-radius: 24px; padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 var(--line); }
.step .n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--forest); font: 700 15px/1 var(--display); letter-spacing: 0.02em; }
.step:nth-child(even) .n { background: var(--orange); color: var(--text); }
.step h3 { font-size: 19px; }
.step p { color: var(--body); margin-top: 6px; font-size: 15.5px; }

/* ---------- commitments ---------- */
.promise h2 { margin-bottom: 8px; }
.promise ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.promise li { background: var(--wash); border-radius: 24px; padding: 26px 26px 28px; }
.promise li:nth-child(even) { background: var(--warm); }
.promise li::before {
  content: ""; display: block; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 16px;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2398c850' d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.promise li strong { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--forest); }
.promise li span { display: block; margin-top: 8px; color: var(--body); font-size: 16px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.about .photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.about .photo picture, .about .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about > div > p { color: var(--body); margin-top: 16px; max-width: 600px; }
.creds-title { font-size: 21px; margin-top: 34px; }
.vals { display: grid; gap: 10px; margin-top: 14px; }
.vals li { background: var(--wash); border-radius: 16px; padding: 14px 18px; }
.vals strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--forest); }
.vals span { display: block; margin-top: 2px; font-size: 15.5px; color: var(--body); }
.record { display: grid; gap: 12px; margin-top: 14px; background: var(--warm); border-radius: 16px; padding: 18px 20px; }
.record li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; font-size: 16px; color: var(--text); }
.record .eyebrow { font-size: 14px; padding-top: 1px; }
.about .small { margin-top: 14px; }

/* ---------- team (4 slots, filled from STAFF in build.py) ---------- */
#team { background: var(--wash); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.member { display: flex; flex-direction: column; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.member .pic { position: relative; aspect-ratio: 4 / 5; background: var(--lime-soft); display: grid; place-items: center; }
.member:nth-child(even) .pic { background: #ffe2b3; }
.member .pic picture, .member .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member .pic svg { width: 36%; height: 36%; color: var(--forest); opacity: 0.35; }
.member .who { padding: 20px 22px 24px; }
.member h3 { font-size: 21px; }
.member .eyebrow { margin-top: 4px; font-size: 14.5px; }
.member .who p:not(.eyebrow) { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.member.is-empty h3, .member.is-empty .who p:not(.eyebrow) { color: var(--muted); }

/* ---------- support coordinator card ---------- */
.sc-card { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 32px; align-items: center; background: var(--warm); border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.sc-card h2 { margin-top: 8px; }
.sc-card p:not(.eyebrow) { color: var(--body); margin-top: 14px; max-width: 560px; }
.sc-card .cta-row { margin-top: 0; justify-content: flex-end; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; margin-top: 32px; }
details { background: var(--wash); border-radius: 18px; padding: 18px 22px; }
details[open] { background: var(--white); box-shadow: inset 0 0 0 2px var(--lime-soft); }
summary { color: var(--forest); cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.3; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: var(--text); font: 600 20px/1 var(--sans); }
details[open] summary::after { content: "\2212"; background: var(--lime); color: var(--forest); }
details p { margin-top: 12px; color: var(--body); max-width: 680px; }

/* ---------- forms ---------- */
.apply { background: var(--wash); }
.form-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; }
.contact-lines { display: grid; gap: 4px; font-size: 16.5px; }
.contact-lines a { color: var(--forest); font-weight: 600; }
.contact-lines .eyebrow { font-size: 14px; margin-top: 10px; }
.form-card { background: var(--white); border-radius: 28px; padding: clamp(24px, 5vw, 44px); margin-top: 32px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(30, 77, 43, 0.35); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; align-content: start; }
.field > label, .legend { font-weight: 700; font-size: 16px; color: var(--text); }
fieldset.field { border: 0; min-width: 0; }
.hint { font-weight: 400; color: var(--muted); font-size: 14.5px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  font: inherit; font-size: 16.5px; padding: 14px 16px; min-height: 54px; width: 100%;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white); color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--forest); }
[aria-invalid="true"] { border-color: #a1271b !important; box-shadow: inset 4px 0 0 #a1271b; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span { display: inline-block; padding: 12px 18px; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 15.5px; font-weight: 600; cursor: pointer; user-select: none; line-height: 1.4; background: var(--white); }
.choice input:checked + span { background: var(--forest); color: var(--white); border-color: var(--forest); }
.choice input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 3px; }
.choice span:hover { border-color: var(--forest); }
.choice input[aria-invalid="true"] + span { border-color: #a1271b; border-style: dashed; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--body); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--forest); cursor: pointer; }
.notice { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.notice a { color: inherit; }
.err { font-size: 14.5px; font-weight: 700; color: #a1271b; padding-left: 12px; border-left: 3px solid #a1271b; }
.err:empty { display: none; }
.note { padding: 14px 18px; border-left: 4px solid var(--lime); background: var(--wash); border-radius: 0 12px 12px 0; font-size: 15.5px; color: var(--body); margin-bottom: 22px; }
.form-alert { background: var(--warm); border-left: 4px solid var(--orange); padding: 12px 16px; border-radius: 0 12px 12px 0; font-weight: 700; margin-bottom: 18px; }
.form-alert:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent h3 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 8px; }
.sent p:not(.eyebrow) { margin-top: 12px; color: var(--body); }
.sent:focus { outline: none; }
::placeholder { color: var(--muted); opacity: 1; }

/* ---------- registration groups (referrals) ---------- */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; margin-top: 24px; }
.groups li { background: var(--wash); border-radius: 12px; padding: 12px 16px; font-size: 16px; }

/* ---------- footer ---------- */
footer { background: var(--wash); padding: 0 0 56px; font-size: 15px; color: var(--muted); }
footer::before { content: ""; display: block; height: 5px; margin-bottom: 52px; background: linear-gradient(90deg, var(--lime) 0 50%, var(--orange) 50% 100%); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
footer .brand { display: inline-block; margin-bottom: 14px; }
footer .brand img { width: 156px; mix-blend-mode: multiply; } /* the logo PNG has a white background */
footer .eyebrow { font-size: 14px; margin-bottom: 10px; }
footer ul { display: grid; gap: 8px; }
footer a { color: var(--forest); }
.legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }

/* ---------- simple pages ---------- */
.page { padding: 56px 0 96px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin: 10px 0 20px; }
.page h2 { font-size: 28px; margin: 40px 0 10px; }
.page p:not(.eyebrow), .page li { color: var(--body); max-width: 700px; }
.page p + p { margin-top: 12px; }
.page ul.dash li { position: relative; padding-left: 24px; margin-top: 8px; }
.page ul.dash li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }

/* ---------- preview mode only ---------- */
.preview-strip { background: var(--text); color: #f4f1ea; text-align: center; padding: 9px 16px; font-size: 13px; }
.preview-note, .draft-note { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--orange); background: var(--warm); border-radius: 0 12px 12px 0; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { flex-direction: row; align-items: flex-start; gap: 18px; padding: 20px; }
  .step .n { flex: none; }
  .promise ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 28px 0 56px; }
  .hero-grid, .about, .form-intro, .sc-card { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { aspect-ratio: 4 / 3; }
  .hero-art::after { width: 40px; height: 40px; top: -12px; right: -6px; box-shadow: 0 0 0 5px var(--bg); }
  .facts { grid-template-columns: 1fr 1fr; padding: 24px; }
  .svc, .row, .groups { grid-template-columns: 1fr; }
  .svc .item.wide, .living { grid-template-columns: 1fr; }
  .svc .item.wide .photo { min-height: 220px; order: -1; }
  .living .photo { min-height: 240px; order: -1; }
  .sc-card .cta-row { justify-content: flex-start; }
  .foot { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .record li { grid-template-columns: 1fr; gap: 2px; }
  .about .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .promise ul { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .team { grid-template-columns: 1fr; }
  .member { flex-direction: row; }
  .member .pic { flex: 0 0 38%; aspect-ratio: auto; min-height: 168px; }
}

/* ---------- stock photo headers on service cards ---------- */
.svc .item .card-img { margin: -30px -32px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--white); }
.svc .item .card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-note { margin-top: 8px; }

/* =================== ad landing page (/care) =================== */
.lp-head .nav .btn { margin-left: auto; }
.lp-hero { padding: 40px 0 64px; background: linear-gradient(180deg, var(--wash) 0%, var(--bg) 100%); }
.lp-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.lp-copy h1 { margin: 12px 0 18px; font-size: clamp(36px, 4.1vw, 50px); }
.lp-photo { margin-top: 28px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; }
.lp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lp-form { margin-top: 0; }
.lp-call { margin-top: 18px; }
.lp-call a { color: var(--forest); font-weight: 700; }

/* step-by-step form */
.qcount, .qprog { display: none; }
.is-steps .qcount { display: block; font-size: 14px; font-weight: 700; color: var(--label); margin-bottom: 10px; }
.is-steps .qprog { display: block; height: 8px; background: var(--wash); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.qbar { display: block; height: 100%; width: 20%; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--orange)); transition: width 0.25s ease; }
form:not(.is-steps) [data-next], form:not(.is-steps) [data-back] { display: none; }
.is-steps [data-step][hidden] { display: none !important; }
.qq { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.2; letter-spacing: -0.015em; color: var(--forest); display: block; margin-bottom: 14px; }
.qq .hint { display: block; font-family: var(--sans); font-weight: 400; font-size: 14.5px; letter-spacing: 0; margin-top: 4px; }
.qnav { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.qback { background: none; border: 0; padding: 8px 4px; font: 700 15.5px var(--sans); color: var(--body); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.qback:hover { color: var(--forest); }
.lp-form .field .hint { margin-top: -2px; }

/* bento of three services: the complex-care tile leads */
.lp-bento { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 36px; }
.lp-tile { background: var(--wash); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.lp-tile-warm { background: var(--warm); }
.lp-tile-big { grid-row: span 2; background: var(--forest); color: var(--white); }
.lp-tile-img { aspect-ratio: 16 / 8; overflow: hidden; }
.lp-tile-big .lp-tile-img { flex: 1; aspect-ratio: auto; min-height: 280px; }   /* photo fills the tall tile */
.lp-tile-img picture, .lp-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-tile-copy { padding: 22px 26px 26px; }
.lp-tile-copy h3 { font-size: 22px; }
.lp-tile-copy p { margin-top: 8px; color: var(--body); font-size: 16px; }
.lp-tile-big h3 { color: var(--white); font-size: 26px; }
.lp-tile-big p { color: rgba(255, 255, 255, 0.86); }

/* three steps */
.lp-how { background: var(--wash); }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.lp-steps li { background: var(--white); border-radius: 24px; padding: 26px; box-shadow: 0 1px 0 var(--line); }
.lp-steps .n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--forest); font: 700 18px/1 var(--display); margin-bottom: 16px; }
.lp-steps li:nth-child(2) .n { background: var(--orange); color: var(--text); }
.lp-steps h3 { font-size: 20px; }
.lp-steps p { margin-top: 6px; color: var(--body); font-size: 16px; }

/* team row */
.lp-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.lp-team li { text-align: center; display: grid; justify-items: center; gap: 2px; }
.lp-face { position: relative; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; background: var(--lime-soft); box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--lime-soft); }
.lp-team li:nth-child(even) .lp-face { box-shadow: 0 0 0 5px var(--white), 0 0 0 7px #ffe2b3; }
.lp-face picture, .lp-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.lp-team strong { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--forest); }
.lp-team span { font-size: 14.5px; font-weight: 600; color: var(--label); }

/* final call to action */
.lp-final { padding-top: 0; }
.lp-final-card { background: var(--forest); color: var(--white); border-radius: 28px; padding: clamp(32px, 6vw, 60px); text-align: center; display: grid; justify-items: center; }
.lp-final-card h2 { color: var(--white); }
.lp-final-card .g { background: none; color: var(--lime); }
.lp-final-card p { margin-top: 12px; color: rgba(255, 255, 255, 0.86); }
.lp-final-card .cta-row { justify-content: center; }
.lp-final-card .text-link { color: var(--white); text-decoration-color: var(--lime); }

/* slim footer */
.lp-foot { padding-bottom: 40px; }
.lp-foot::before { margin-bottom: 32px; }
.lp-foot .legal { margin-top: 0; padding-top: 0; border-top: 0; }
.lp-foot .legal a { color: var(--forest); }
.lp-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* sticky call-to-action on phones */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 10px; transition: transform 0.25s ease, opacity 0.25s ease; }
.sticky-cta .btn { flex: 1; justify-content: center; box-shadow: 0 12px 28px -8px rgba(23, 36, 26, 0.35); }
.sticky-cta .btn-call { flex: 0 0 54px; padding: 0; background: var(--forest); color: var(--white); }
.sticky-cta .btn-call svg { width: 20px; height: 20px; }
.sticky-cta.away { transform: translateY(140%); opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .lp-grid { grid-template-columns: 1fr; gap: 24px; }
  .lp-hero { padding: 20px 0 48px; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-tile-big { grid-row: auto; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-team { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}
@media (max-width: 760px) {
  .sticky-cta:not([hidden]) { display: flex; }
  body.has-sticky .lp-foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .qbar, .sticky-cta { transition: none; } }

/* ---------- sample reviews (home + landing) ---------- */
.reviews { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 32px; align-items: stretch; }
.review { background: var(--wash); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.review:nth-child(2) { background: var(--warm); }
.review:first-child { background: var(--forest); color: var(--white); }
.review blockquote p { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: var(--forest); }
.review:first-child blockquote p { color: var(--white); font-size: 22px; }
.review figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 15px; }
.review figcaption strong { color: var(--text); font-weight: 700; }
.review figcaption span { color: var(--body); }
.review figcaption .sample { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.review:first-child figcaption strong, .review:first-child figcaption span { color: rgba(255, 255, 255, 0.9); }
.review:first-child figcaption .sample { color: var(--lime); }
.reviews-sec { padding-top: 72px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* =================== conversion rebrand (19 Oct 2026), shared with the ERC build =================== */
/* named brand promise: dark panel, three numbered commitments */
.brand-promise { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; background: var(--forest); color: var(--white); border-radius: 28px; padding: clamp(32px, 5.5vw, 64px); }
.brand-promise h2 { color: var(--white); }
.bp-head p { margin-top: 14px; color: rgba(255, 255, 255, 0.86); font-size: 18px; max-width: 420px; }
.bp-head .btn { margin-top: 28px; }
.bp-list { display: grid; gap: 26px; }
.bp-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.bp-list .n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest); font: 700 20px/1 var(--display); }
.bp-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; padding-top: 4px; }
.bp-list p { margin-top: 6px; color: rgba(255, 255, 255, 0.84); font-size: 16.5px; }
.lp-promise { padding-top: 64px; padding-bottom: 0; }

/* switching / how it works: a dotted timeline, not three cards */
#how.switch { background: var(--warm); }
.switch-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; }
/* dashed connector from each step to the next */
.switch-steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 66px; right: -26px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
.switch-steps li { position: relative; }
.switch-steps .n { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--white); font: 700 20px/1 var(--display); box-shadow: 0 0 0 7px var(--warm); }
.switch-steps h3 { margin-top: 20px; font-size: 21px; }
.switch-steps p { margin-top: 6px; color: var(--body); font-size: 16px; max-width: 330px; }
.switch .cta-row { margin-top: 40px; }

/* enquiry: reassurance beside the step form */
.enquire-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.enquire-copy h2 { margin-bottom: 20px; }
.reassure { display: grid; gap: 12px; margin-bottom: 28px; }
.reassure li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--text); }
.reassure li::before {
  content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='white' d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.enquire-grid .form-card { margin-top: 0; }

/* sections ease in once as they reach the screen (js/site.js adds .in); off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .brand-promise, .enquire-grid { grid-template-columns: 1fr; gap: 28px; }
  .switch-steps { grid-template-columns: 1fr; gap: 26px; }
  .switch-steps li:not(:last-child)::after { top: 66px; bottom: -16px; left: 25px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 18px); }
  .switch-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .switch-steps .n { grid-row: span 2; }
  .switch-steps li > :not(.n) { grid-column: 2; }
  .switch-steps h3 { margin-top: 12px; }
  body.has-sticky footer { padding-bottom: 96px; }
}

/* =================== audit fixes (20 Oct 2026) =================== */
/* team as faces, not another row of cards; the About text is the lede, the public record sits underneath */
.member { background: none; box-shadow: none; border-radius: 0; overflow: visible; align-items: center; text-align: center; }
.member .pic { width: 168px; height: 168px; aspect-ratio: 1; flex: none; border-radius: 50%; overflow: hidden; background: var(--lime-soft);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 9px var(--lime-soft); }
.member:nth-child(even) .pic { box-shadow: 0 0 0 6px var(--white), 0 0 0 9px var(--lime); }
.member .pic img { object-position: 50% 22%; }
.member .who { padding: 22px 8px 0; }
.member .who p:not(.eyebrow) { max-width: 260px; margin-left: auto; margin-right: auto; }
.record-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); max-width: 760px; }
.record-line a { color: var(--forest); font-weight: 600; }
@media (max-width: 560px) {
  .team { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .member { flex-direction: column; }
  .member .pic { flex: none; width: 112px; height: 112px; min-height: 0; aspect-ratio: 1; }
  .member h3 { font-size: 18px; }
  .member .who { padding: 16px 0 0; }
  .member .who p:not(.eyebrow) { font-size: 14px; }
}

/* /care steps reuse the home timeline; rings match this section's wash */
.lp-how .switch-steps .n { box-shadow: 0 0 0 7px var(--wash); }

/* Easy Read: bigger text, one idea per line, an icon beside each */
.easy h1 { font-size: clamp(36px, 5vw, 52px); }
.easy-intro { font-size: 21px; color: var(--text) !important; margin-top: 8px; }
.easy h2 { font-size: 28px; margin: 44px 0 14px; }
.easy-list { display: grid; gap: 14px; }
.easy-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; font-size: 21px; line-height: 1.45; color: var(--text) !important; max-width: none !important; }
.easy-list svg { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--wash); color: var(--forest); }
.easy-list a { color: var(--forest); font-weight: 700; }

/* ---------- service articles + free guides (27 Oct 2026) ---------- */
.page-hero { padding: 48px 0 40px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.page-hero h1 { margin: 12px 0 18px; font-size: clamp(34px, 4.4vw, 52px); }
.crumbs { font-size: 14.5px; color: var(--muted); }
.crumbs a { color: var(--label); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--wash); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-sec { padding: 24px 0 72px; }
.article { max-width: 740px; }
.article h2 { font-size: clamp(26px, 3vw, 34px); margin: 52px 0 6px; }
.article > h2:first-child { margin-top: 8px; }
.article p { color: var(--body); font-size: 18px; margin-top: 14px; }
.article p strong { color: var(--text); }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 12px; padding: 0; }
.ticks li { position: relative; padding-left: 36px; color: var(--body); font-size: 17.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime-soft); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 12px; border: solid var(--forest); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks li strong { color: var(--text); }
.num-steps { list-style: none; counter-reset: s; margin-top: 18px; display: grid; gap: 12px; padding: 0; }
.num-steps li { counter-increment: s; position: relative; padding: 18px 22px 18px 68px; background: var(--wash); border-radius: 20px; color: var(--body); font-size: 17px; }
.num-steps li:nth-child(even) { background: var(--warm); }
.num-steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--forest); font: 700 15px/32px var(--display); text-align: center; }
.num-steps li strong { display: block; color: var(--forest); font-family: var(--display); font-weight: 600; font-size: 18.5px; margin-bottom: 2px; }
.note { background: var(--warm); border-radius: 20px; padding: 18px 22px; margin-top: 24px; color: var(--body); font-size: 16.5px; }
.note strong { color: var(--text); }
.related { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { background: var(--wash); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--forest); text-decoration: none; font-size: 15.5px; }
.related a:hover { background: var(--lime-soft); }

.guide-card { display: grid; grid-template-columns: 150px 1fr; gap: 28px; background: var(--wash); border-radius: 28px; padding: 28px; margin: 40px 0; align-items: start; }
.guide-card + .guide-card { margin-top: -16px; }
.g-cover img { width: 150px; height: auto; border-radius: 10px; box-shadow: 0 14px 30px -16px rgba(23, 36, 26, 0.45); display: block; }
.g-body h3 { font-size: 24px; margin-top: 6px; }
.g-body .eyebrow { font-size: 14px; }
.g-desc { margin-top: 8px !important; color: var(--body); font-size: 16.5px !important; }
.g-form { margin-top: 18px; }
.g-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.g-form .field { margin-bottom: 12px; }
.g-form .consent { font-size: 14.5px; }
.g-form .consent a { color: var(--forest); font-weight: 600; }
.g-form .btn { margin-top: 14px; }
.g-sent { margin-top: 18px; }
.g-sent p { margin-top: 8px; color: var(--body); }
.g-sent .btn { margin-top: 12px; }
.g-sent:focus { outline: none; }
.btn-soft { background: var(--white); color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.btn-soft:hover { background: var(--lime-soft); }
details.g-open, details.g-open[open] { margin-top: 16px; background: none; padding: 0; border-radius: 0; box-shadow: none; }
details.g-open > summary { list-style: none; cursor: pointer; width: fit-content; display: inline-flex; font: 700 16.5px/1 var(--sans); color: var(--forest); }
details.g-open > summary::after { content: none; }
details.g-open > summary::-webkit-details-marker { display: none; }
details.g-open[open] > summary { display: none; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.guide-grid .guide-card { grid-template-columns: 1fr; margin: 0; padding: 24px; gap: 18px; }
.guide-grid .guide-card:nth-child(even) { background: var(--warm); }
.guide-grid .g-cover img { width: 132px; }
.guide-grid .g-fields { grid-template-columns: 1fr; }
.svc .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.svc .more svg { width: 16px; height: 16px; }
.svc .item.wide .text-link { color: var(--white); }

@media (max-width: 1024px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-photo { aspect-ratio: 16 / 10; }
  .guide-card { grid-template-columns: 96px 1fr; gap: 18px; padding: 22px; }
  .g-cover img { width: 96px; }
  .g-fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 1fr; }
  .article p { font-size: 17px; }
}
