/* ==========================================================================
   Belgrave Care – main stylesheet (2027 redesign)
   Brand colours from the original site: navy #1a2e4d, deep blue #102a62,
   gold #e3bf46. Headings: Lora (serif, echoes the logo). Body: Open Sans.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/lora-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --navy: #1a2e4d;
  --navy-900: #12223a;
  --blue: #102a62;
  --gold: #e3bf46;
  --gold-600: #8a6a00;     /* darker gold for text on white (passes contrast) */
  --gold-50: #fbf6e6;
  --ink: #1d2733;
  --muted: #4f5a68;
  --line: #e3e6eb;
  --bg-soft: #f5f6f8;
  --white: #fff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(18,34,58,.06), 0 8px 24px rgba(18,34,58,.08);
  --shadow-lg: 0 2px 4px rgba(18,34,58,.06), 0 18px 40px rgba(18,34,58,.14);
  --max: 1180px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--gold); color: var(--navy); padding: .7rem 1.1rem; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.m-0 { margin: 0; } .mt-0 { margin-top: 0 !important; }
.center { text-align: center; }

/* Eyebrow label above headings */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .hero .eyebrow, .section-navy .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-navy .section-head p { color: #d7dde6; }
.section-foot { margin-top: 2.5rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1.2 var(--sans); text-decoration: none; padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover, .btn-gold:focus-visible { background: #edcd62; color: var(--navy-900); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--blue); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--gold); color: var(--gold); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--blue); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.topbar { background: var(--navy-900); color: #cfd6e0; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 20px rgba(0,0,0,.12); }
.site-header .container { display: flex; align-items: center; gap: 2rem; min-height: 84px; position: relative; }
.brand { flex: none; display: block; width: 150px; }
.brand img { width: 100%; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a { display: block; position: relative; color: #e9edf3; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .6rem .8rem; }
.main-nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold); }
.header-cta { flex: none; padding: .7rem 1.15rem; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: .6rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 540px; }
.hero-copy { padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem) max(1.25rem, calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--gold); font-weight: inherit; }
.hero .lead { font-size: 1.15rem; color: #d7dde6; max-width: 34rem; margin-bottom: 2rem; }
.hero-media { position: relative; min-height: 340px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, rgba(26,46,77,.35) 22%, rgba(26,46,77,0) 45%); }
.trust-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 2.25rem 0 0; font-size: .92rem; color: #d7dde6; }
.trust-chips li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.trust-chips svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ---------- Accreditation strip ---------- */
.accred { border-bottom: 1px solid var(--line); background: var(--white); }
.accred .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.75rem; }
.accred p { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 12rem; line-height: 1.4; }
.accred ul { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.accred li { margin: 0; }
.accred img { height: 64px; width: auto; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #d7dde6; }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* Split image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-media.crop img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% center; }
.split-media.frame::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 45%; height: 55%; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--navy); line-height: 1.35; border-left: 3px solid var(--gold); padding-left: 1.1rem; margin: 0 0 1.25rem; }

/* Service cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); list-style: none; padding: 0; margin: 0; }
.cards > li { margin: 0; }
.card { position: relative; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card p + p { margin-top: .7em; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-50); color: var(--navy); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 26px; height: 26px; }
.card a.stretched { color: inherit; text-decoration: none; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* Why us – features on navy */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; padding: 0; margin: 0; }
.features li { margin: 0; border-top: 2px solid var(--gold); padding-top: 1.4rem; }
.features h3 { font-size: 1.2rem; }
.features p { font-size: .98rem; margin: 0; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.facts li { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.4rem; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold); line-height: 1.1; margin-bottom: .35rem; font-weight: 600; }
.facts span { font-size: .92rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote-card { margin: 0; background: var(--white); border-radius: var(--radius); padding: 2.1rem 1.75rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); }
.quote-card::before { content: "\201C"; font-family: var(--serif); font-size: 4.25rem; line-height: 1; color: var(--gold); position: absolute; top: .5rem; left: 1.4rem; }
.quote-card blockquote { margin: 1.5rem 0 1.25rem; font-size: 1rem; color: var(--ink); flex: 1; }
.quote-card blockquote p:last-child { margin-bottom: 0; }
.quote-card figcaption { border-top: 1px solid var(--line); padding-top: 1rem; margin: 0; }
.quote-card .who { display: block; font-weight: 700; color: var(--navy); font-size: .95rem; }
.quote-card .meta { display: block; color: var(--muted); font-size: .85rem; }
.quote-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; align-items: start; }
.quote-wall .quote-card { box-shadow: none; }
.quote-wall .quote-card[hidden] { display: none; }
.quote-card.clamped blockquote { max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.read-more { align-self: flex-start; background: none; border: 0; padding: 0; margin: -.5rem 0 1rem; font: 600 .92rem var(--sans); color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.read-more:hover { color: var(--navy); }
.show-more-wrap { text-align: center; margin-top: 2rem; }
.show-more-wrap[hidden] { display: none; }
.featured-quote { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.25rem); margin: 0 0 2.5rem; position: relative; overflow: hidden; }
.featured-quote::before { content: "\201C"; position: absolute; right: 2rem; top: -1rem; font-family: var(--serif); font-size: 12rem; line-height: 1; color: rgba(227,191,70,.18); }
.featured-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.55; position: relative; }
.featured-quote blockquote p:last-child { margin-bottom: 0; }
.featured-quote figcaption { margin-top: 1.25rem; color: var(--gold); font-weight: 700; }
.featured-quote figcaption span { display: block; color: #d7dde6; font-weight: 400; font-size: .92rem; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.filters li { margin: 0; }
.filter-btn { font: 600 .95rem var(--sans); padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-btn .count { opacity: .7; font-weight: 400; margin-left: .25rem; }
.results-note { color: var(--muted); font-size: .95rem; margin: -1rem 0 1.5rem; }

/* Team cards */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.team li { margin: 0; }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; position: relative; }
.person img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; }
.person div { padding: 1.25rem 1.4rem 1.4rem; }
.person h3 { margin-bottom: .15rem; font-size: 1.2rem; }
.person h3 a { color: inherit; text-decoration: none; }
.person h3 a::after { content: ""; position: absolute; inset: 0; }
.person p { margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--navy-900); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy-900); margin: 0 0 .25rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .phone-big { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; color: var(--navy-900); text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; }
.cta-band .phone-big svg { width: 30px; height: 30px; }
.cta-band .phone-big:hover { text-decoration: underline; }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--navy); color: #d7dde6; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(227,191,70,.08); }
.page-hero .container { padding-block: clamp(2.75rem, 5vw, 4.25rem); position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin: 0 0 .35em; }
.page-hero p { max-width: 640px; margin: 0; font-size: 1.1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .88rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(255,255,255,.4); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: #d7dde6; }

/* Two-column content + sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 1.25rem; }
.side-card { background: var(--bg-soft); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.side-card h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.side-card p { font-size: .97rem; color: var(--muted); }
.side-card.dark { background: var(--navy); border-color: var(--navy); color: #d7dde6; }
.side-card.dark h2 { color: var(--white); }
.side-card.dark p { color: #d7dde6; }
.side-card .phone-link { display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-size: 1.45rem; color: var(--gold); text-decoration: none; font-weight: 600; margin-bottom: 1rem; }
.side-card .phone-link svg { width: 22px; height: 22px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { border-top: 1px solid var(--line); margin: 0; }
.side-list a { display: block; padding: .6rem 0; text-decoration: none; font-weight: 600; }

.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose { overflow-wrap: anywhere; }
.lead-text { font-size: 1.2rem; color: var(--navy); font-family: var(--serif); line-height: 1.55; }

/* About – profiles */
.profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); padding-block: 3rem; border-bottom: 1px solid var(--line); align-items: start; }
.profile:first-of-type { padding-top: 0; }
.profile-photo { position: sticky; top: 110px; margin: 0; }
.profile-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; box-shadow: var(--shadow); }
.profile h2 { margin-bottom: .2rem; }
.profile .role { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 1.25rem; }
.inline-quote { margin: 1.75rem 0 0; background: var(--gold-50); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.25rem 1.4rem; }
.inline-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--navy); }
.inline-quote blockquote p { margin: 0; }
.inline-quote figcaption { margin-top: .6rem; font-weight: 700; font-size: .9rem; color: var(--muted); }
.news-card { margin-top: 3rem; background: var(--bg-soft); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.news-card h2 { margin-top: 0; }
.figure { margin: 2rem 0 0; }
.figure img { border-radius: var(--radius); width: 100%; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }

/* Services detail list */
.service-list { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 2.25rem 0 0; }
.service-list li { margin: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.service-list .icon { margin: 0; }
.service-list h2 { font-size: 1.25rem; margin: .2rem 0 .4rem; }
.service-list p { margin: 0; color: var(--muted); }
.service-list p + p { margin-top: .6em; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2e4d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details > div { padding: 0 0 1.25rem; }

/* Recruitment */
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.5rem; list-style: none; padding: 0; margin: 1.75rem 0; }
.perks li { margin: 0; display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--navy); }
.perks svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: .2rem; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.story { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; margin: 0; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.story div { padding: 1.4rem 1.5rem 1.5rem; }
.story h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.story p { margin: 0; color: var(--muted); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0 0 3rem; list-style: none; padding: 0; }
.contact-cards li { margin: 0; }
.contact-cards .card h2 { font-size: 1.15rem; margin-bottom: .35rem; }
.contact-cards .card p { color: var(--ink); }
.contact-cards address { font-style: normal; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-card h2 { margin-top: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--navy); font-size: .95rem; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid #8f98a5; border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,42,98,.18); }
.field [aria-invalid="true"] { border-color: #a40000; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: #a40000; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.ok { color: #1d6b38; }
.form-status.err { color: #a40000; }
.notice { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; font-weight: 600; }
.notice.ok { background: #e7f4ec; color: #1d5c33; border: 1px solid #b9dcc6; }
.notice.err { background: #fbeaea; color: #8a1010; border: 1px solid #efc2c2; }
.notice[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c3d0; font-size: .95rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; }
.site-footer a { color: #e9edf3; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer address { font-style: normal; }
.footer-brand > img { width: 170px; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 22rem; }
.social { display: flex; gap: .7rem; margin-top: 1.25rem !important; }
.social li { margin: 0; }
.social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); line-height: 0; transition: background .2s, color .2s; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { background: var(--gold); color: var(--navy); text-decoration: none; }
.social svg { display: block; width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); background: var(--navy-900); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.4rem; font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom li { margin: 0; }
.footer-bottom p { margin: 0; }

/* ---------- Content protection helpers ---------- */
.protected img { -webkit-user-drag: none; -webkit-touch-callout: none; }
body.no-select { -webkit-user-select: none; user-select: none; }
body.no-select input, body.no-select textarea { -webkit-user-select: text; user-select: text; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav a { padding: .6rem .55rem; font-size: .9rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; left: -1.25rem; right: -1.25rem; top: 100%; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 24px rgba(0,0,0,.2); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; gap: 0; }
  .main-nav a { padding: .95rem .25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav a::after { display: none; }
  .main-nav .mobile-call { margin-top: 1rem; }
  .main-nav .mobile-call a { border: 0; text-align: center; background: var(--gold); color: var(--navy-900); border-radius: 999px; }
  .no-js .main-nav { display: block; position: static; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .hero-media::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(26,46,77,0) 35%); }
  .hero-copy { padding: 1rem 1.25rem 3.25rem; }
  .split, .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .quotes { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .accred .container { flex-direction: column; text-align: center; }
  .accred p { max-width: none; }
  .accred ul { justify-content: center; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (min-width: 981px) { .main-nav .mobile-call { display: none; } }

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand { width: 120px; }
  .site-header .container { min-height: 72px; }
  .features, .facts { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 280px; }
  .form-row { grid-template-columns: 1fr; }
  .perks, .story-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .accred img { height: 52px; }
  .service-list li { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .main-nav, .nav-toggle, .header-cta, .skip-link, .sidebar, .cta-band, .accred, .filters { display: none !important; }
  .site-header { position: static; box-shadow: none; }
  .page-hero, .hero, .site-footer { background: none !important; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}

/* Story quote panel (home page) */
.story-panel { margin: 0; background: var(--navy); color: #d7dde6; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.25rem); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.story-panel::before { content: "\201C"; position: absolute; right: 1.5rem; top: -1.5rem; font-family: var(--serif); font-size: 11rem; line-height: 1; color: rgba(227,191,70,.18); }
.story-panel blockquote { margin: 0 0 1.25rem; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3; color: var(--white); position: relative; }
.story-panel blockquote p { margin: 0; }
.story-panel figcaption { color: var(--gold); font-weight: 600; margin: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }

/* CQC rating (home page) */
.cqc-band { background: var(--gold-50); border-bottom: 1px solid var(--line); }
.cqc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cqc-copy h2 { margin-top: .4rem; }
.cqc-copy p { max-width: 38rem; }
.cqc-widget { justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; min-width: min(100%, 260px); padding: 1.25rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.cqc-widget iframe, .cqc-widget img { max-width: 100%; }
@media (max-width: 820px) { .cqc-grid { grid-template-columns: 1fr; } .cqc-widget { justify-self: stretch; } }
.cqc-fallback { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; font-weight: 600; color: var(--navy); }
.cqc-fallback img { height: 64px; width: auto; }
.cqc-widget.has-widget .cqc-fallback { display: none; }

/* Mobile-friendly tap targets (at least 24px, larger on touch screens) */
.site-footer li { margin-bottom: .15rem; }
.site-footer li a { display: inline-block; padding: .35rem 0; }
.site-footer .social a { display: flex; padding: 0; }
.footer-bottom li a { padding: .3rem 0; }
.breadcrumb a { display: inline-block; padding: .25rem 0; }
.read-more { padding: .45rem 0; margin: -.75rem 0 .75rem; }
.check input { width: 24px; height: 24px; margin-top: 0; }
@media (pointer: coarse) {
  .site-footer li a { padding: .6rem 0; }
  .site-footer li { margin-bottom: 0; }
  .breadcrumb a { padding: .5rem 0; }
}
.topbar .container { padding-block: .2rem; }
.topbar a { display: inline-block; padding: .4rem 0; }
.check a { display: inline-block; padding: .2rem 0; }
.team-photo { max-width: 560px; margin: 0 auto 2.5rem; text-align: center; }
.team-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.team-photo figcaption { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
.team-photo figcaption strong { color: var(--navy); }
.story-portrait img { aspect-ratio: 4 / 5; object-position: center top; }
