/* ---- Self-hosted fonts (variable, latin) ---- */
@font-face { font-family: Newsreader; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/newsreader-normal.woff2") format("woff2"); }
@font-face { font-family: Newsreader; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); }
@font-face { font-family: Karla; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/karla-normal.woff2") format("woff2"); }

:root {
  --bg: #F7F2EA;
  --bg-alt: #EFE7DA;
  --bg-card: #FFFDF9;
  --ink: #23231F;
  --ink-soft: #4A463E;
  --muted: #7C7367;
  --muted2: #6B6559;
  --accent: #8C4A32;
  --accent-dark: #6E3823;
  --accent-light: #E7B79A;
  --border: #E2D9CB;
  --border-soft: #EDE5D8;
  --dark-bg: #23231F;
  --dark-border: #38362F;
  --dark-text: #F2EBE0;
  --dark-text-soft: #CFC6B8;
  --dark-muted: #9E958A;
  --dark-chip: #2C2A24;
  --tan: #C9BCA8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Karla, system-ui, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { display: block; max-width: 100%; }
picture { display: contents; }
h1, h2, h3 { font-family: Newsreader, Georgia, serif; font-weight: 400; margin: 0; }
.serif { font-family: Newsreader, Georgia, serif; }
.kicker {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.wrap { padding-left: clamp(20px, 5vw, 56px); padding-right: clamp(20px, 5vw, 56px); }

/* Header / nav */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); min-width: 0; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; background: #1A1A17; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
.brand-name { font-family: Newsreader, Georgia, serif; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.012em; }
.brand-sub { font-family: ui-monospace, Menlo, monospace; font-size: 0.5938rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav-desktop { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); flex-wrap: nowrap; white-space: nowrap; font-size: 0.9375rem; color: #3C382F; }
.nav-desktop a.active { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.btn-call {
  display: inline-flex; align-items: center; padding: 12px 20px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 0.9062rem;
}

.nav-mobile-bar { display: none; align-items: center; gap: 10px; flex: 0 0 auto; }
.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--tan); color: var(--ink);
  font-size: 1.1875rem; line-height: 1; cursor: pointer; user-select: none;
}
.call-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 46px; padding: 0 15px;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: 0.9062rem;
}

.mobile-panel {
  display: none; flex-direction: column;
  padding: 14px clamp(20px, 5vw, 56px) 26px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.mobile-panel a {
  display: flex; align-items: center; min-height: 52px; padding: 6px 0;
  border-bottom: 1px solid var(--border-soft);
  font-family: Newsreader, Georgia, serif; font-size: 1.3125rem; color: var(--ink);
}
.mobile-panel .btn-call-block {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; margin-top: 20px; background: var(--accent); color: #FFF8F1;
  font-weight: 700; font-size: 1rem; border-bottom: none;
}
.mobile-note { padding-top: 12px; font-size: 0.875rem; color: var(--muted); }

.mobile-panel.open { display: flex; }
.hamburger { background: none; font-family: inherit; padding: 0; }
.hamburger[aria-expanded="true"] .icon-open { display: none; }
.hamburger[aria-expanded="true"] .icon-close { display: inline; }
.hamburger .icon-close { display: none; }
.mobile-panel a[aria-current="page"] { color: var(--accent); font-weight: 500; }
.mobile-panel .btn-wa-block {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; margin-top: 10px; background: #1F6B3A; color: #FFFFFF;
  font-family: Karla, system-ui, sans-serif; font-weight: 700; font-size: 1rem; border-bottom: none;
}

@media (max-width: 1120px) {
  .nav-desktop { display: none; }
  .nav-mobile-bar { display: flex; }
}

/* Generic section layout helpers */
.section { padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 56px); }
.section-tight { padding: clamp(52px, 7vw, 84px) clamp(20px, 5vw, 56px); }
.bg-alt { background: var(--bg-alt); }
.bg-card { background: var(--bg-card); }
.bg-dark { background: var(--dark-bg); color: var(--dark-text); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-2-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 36px); }
.grid-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: stretch; }
.grid-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-card); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, 46%)), 1fr)); gap: 20px; }

.hero-copy { padding: clamp(48px, 6vw, 78px) clamp(20px, 5vw, 56px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.hero-media { position: relative; min-height: clamp(300px, 55vw, 540px); background: #2A2723; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px;
  background: linear-gradient(to top, rgba(19,19,17,0.9), rgba(19,19,17,0));
  color: #F7EFE2; font-family: Newsreader, Georgia, serif; font-style: italic; font-size: 1.25rem; line-height: 1.4; max-width: 26ch;
}

.h1 { font-size: clamp(2.125rem, 5.2vw, 3.75rem); line-height: 1.06; letter-spacing: -0.022em; text-wrap: pretty; }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.375rem); line-height: 1.14; letter-spacing: -0.018em; text-wrap: pretty; }
.h3 { font-size: 1.4375rem; line-height: 1.2; font-weight: 500; }
.p-lead { font-size: 1.125rem; line-height: 1.62; color: var(--ink-soft); max-width: 52ch; text-wrap: pretty; }
.p-body { font-size: 1.0625rem; line-height: 1.68; color: var(--ink-soft); text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 15px 24px; font-weight: 700; font-size: 0.9688rem;
}
.btn-primary { background: var(--accent); color: #FFF8F1; }
.btn-outline { border: 1px solid var(--tan); color: #3C382F; padding: 14px 23px; }
.btn-outline-dark { border: 1px solid #575146; color: var(--dark-text-soft); padding: 14px 23px; }

.trust-item { padding: 26px 28px; border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 6px; }
.trust-item .title { font-family: Newsreader, Georgia, serif; font-size: 1.1875rem; color: var(--ink); }
.trust-item .body { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

.value-chip { padding: 9px 15px; background: var(--bg-alt); font-size: 0.9062rem; font-weight: 600; color: #3C382F; }
.stat-block { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid #C9A08C; }
.stat-label { font-family: ui-monospace, Menlo, monospace; font-size: 0.6562rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-size: 1.0938rem; color: var(--ink); line-height: 1.5; }

.service-card { background: var(--bg-card); padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--accent); }
.num { font-family: ui-monospace, Menlo, monospace; font-size: 0.7188rem; color: #A89880; }

.programme-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1.375rem 0.25rem; border-bottom: 1px solid var(--border); }
.programme-row > div { flex: 1 1 12rem; min-width: 0; }
.programme-length { font-family: ui-monospace, Menlo, monospace; font-size: 0.9375rem; color: var(--accent); white-space: nowrap; }

.mark-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--dark-border); }
.mark-row .n { font-family: ui-monospace, Menlo, monospace; font-size: 0.7188rem; color: var(--accent-light); padding-top: 5px; flex: 0 0 auto; }

.signs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.sign-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px; cursor: pointer; user-select: none; background: var(--bg-card); color: var(--ink); border: 1px solid var(--border); }
.sign-box.checked { background: var(--ink); color: var(--bg-card); border-color: var(--ink); }
.sign-tick { flex: 0 0 auto; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1; margin-top: 2px; background: var(--bg-alt); color: var(--bg-alt); border: 1px solid #DFD4C2; }
.sign-box.checked .sign-tick { background: var(--accent); color: #FFF8F1; border-color: var(--accent); }
.sign-label { font-size: 0.9688rem; font-weight: 600; line-height: 1.3; }
.sign-hint { font-size: 0.8438rem; line-height: 1.45; color: var(--muted); }
.sign-box.checked .sign-hint { color: #D8CFC0; }

.check-result { margin-top: 26px; padding: 28px 32px; background: var(--bg-card); border-left: 3px solid var(--accent); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.check-result .headline { font-family: Newsreader, Georgia, serif; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.check-result .body { font-size: 0.9688rem; line-height: 1.6; color: var(--ink-soft); }

.quote-band { position: relative; min-height: clamp(300px, 32vw, 400px); display: flex; align-items: center; background: #2A2723; }
.quote-band .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.quote-band .content { position: relative; padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; max-width: 60ch; }
.quote-band p { font-family: Newsreader, Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.125rem); line-height: 1.32; color: #FFFDF9; text-wrap: pretty; }
.quote-band .attribution { font-family: ui-monospace, Menlo, monospace; font-size: 0.7188rem; letter-spacing: 0.14em; text-transform: uppercase; color: #D7C9B4; }

.testimonial-card { margin: 0; background: var(--bg-card); border: 1px solid var(--border); padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 20px; }
.testimonial-card .icon-tile { width: 48px; height: 48px; background: var(--bg-alt); color: var(--accent); }
.testimonial-card blockquote { margin: 0; flex: 1 1 auto; }
.testimonial-card p { font-family: Newsreader, Georgia, serif; font-style: italic; font-size: 1.375rem; line-height: 1.45; color: var(--ink); text-wrap: pretty; margin: 0; }
.testimonial-card .who { padding-top: 18px; border-top: 1px solid var(--border); font-family: ui-monospace, Menlo, monospace; font-size: 0.7188rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; cursor: pointer; font-family: Newsreader, Georgia, serif; font-size: 1.3125rem; line-height: 1.3; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--accent); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0; padding: 0 40px 22px 2px; font-size: 1rem; line-height: 1.68; color: var(--ink-soft); text-wrap: pretty; }

.jump-chip { padding: 10px 16px; border: 1px solid var(--tan); font-size: 0.9062rem; font-weight: 600; color: #3C382F; }
.jump-row { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.jump-row .n { font-family: ui-monospace, Menlo, monospace; font-size: 0.6875rem; color: #A89880; flex: 0 0 auto; }
.jump-row .label { font-family: Newsreader, Georgia, serif; font-size: 1.25rem; }

.callout-dark { margin-top: 20px; padding: 28px 32px; background: var(--dark-bg); color: var(--dark-text); display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; align-items: start; }
.callout-dark .tag { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); padding-top: 6px; white-space: nowrap; }
.callout-dark p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: #E4DBCD; text-wrap: pretty; }
@media (max-width: 700px) { .callout-dark { grid-template-columns: 1fr; padding: 24px 22px; } .callout-dark .tag { padding-top: 0; } }

.timeline-col { display: flex; flex-direction: column; gap: 0; padding-right: clamp(0px, 2vw, 26px); }
.timeline-dot-row { position: relative; height: 26px; display: flex; align-items: center; }
.timeline-dot-row .line { position: absolute; left: 0; right: 0; height: 1px; background: #D6C9B6; }
.timeline-dot-row .dot { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.timeline-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 0 30px; }
.timeline-range { font-family: ui-monospace, Menlo, monospace; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.timeline-title { font-family: Newsreader, Georgia, serif; font-size: 1.375rem; line-height: 1.22; color: var(--ink); }
.timeline-step { display: flex; gap: 10px; font-size: 0.9688rem; line-height: 1.55; color: var(--ink-soft); }
.timeline-step .mark { color: #B09A80; flex: 0 0 auto; }

.dep-symptom { padding: 8px 14px; background: var(--dark-chip); font-size: 0.9062rem; color: #E4DBCD; }
.who-sign { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--dark-border); font-size: 1rem; line-height: 1.55; color: #E4DBCD; }
.who-sign .mark { color: var(--accent-light); flex: 0 0 auto; }

.footer { padding: clamp(52px, 6vw, 70px) clamp(20px, 5vw, 56px) 40px; background: var(--dark-bg); color: var(--dark-text-soft); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(32px, 4vw, 48px); padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand-mark { width: 52px; height: 52px; flex: 0 0 auto; background: #131311; overflow: hidden; }
.footer-brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; }
.footer-col-label { font-family: ui-monospace, Menlo, monospace; font-size: 0.6562rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8A8074; padding-bottom: 4px; }
.footer-col a { color: var(--dark-text-soft); }
.footer-bottom { border-top: 1px solid var(--dark-border); padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.8438rem; color: #8A8074; }
.footer-back-top { padding-top: 6px; font-size: 0.8438rem; }

.map-wrap { display: flex; flex-direction: column; gap: 12px; }
.map-frame { width: 100%; height: clamp(320px, 40vw, 420px); border: 1px solid var(--border); background: var(--bg-alt); }
.map-link { font-weight: 600; font-size: 0.9375rem; align-self: flex-start; border-bottom: 1px solid #C9A08C; padding-bottom: 2px; }

.contact-row { display: flex; gap: 12px; }
.contact-row .k { width: 28px; flex: 0 0 auto; color: var(--accent); font-size: 1.125rem; padding-top: 1px; }

.breadcrumb { display: flex; gap: 10px; align-items: center; font-family: ui-monospace, Menlo, monospace; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; }
.breadcrumb .sep { color: #C0B4A2; }

/* Icons */
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; background: var(--bg-alt); color: var(--accent); }
.icon-tile .icon { width: 22px; height: 22px; vertical-align: middle; }
.icon-tile-light { background: var(--bg-card); }
.icon-tile-dark { background: var(--dark-chip); color: var(--accent-light); }
.btn, .btn-call, .btn-call-block, .call-pill { gap: 8px; }
.footer-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-line .icon { margin-top: 3px; color: var(--accent-light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.title-row { display: flex; align-items: center; gap: 14px; }
.bullet-check { color: var(--accent); margin-top: 3px; }

/* ==========================================================================
   Accessibility
   - Skip link, keyboard focus, footer trigger and the settings panel.
   - User settings are classes on <html> (a11y-*) plus data-text for text size.
   - Text size scales the root font-size, so sizes must stay in rem.
   ========================================================================== */
.skip-link { position: absolute; left: 0.75rem; top: -4rem; z-index: 1100; padding: 0.75rem 1.1rem; background: var(--ink); color: var(--bg); font-weight: 700; }
.skip-link:focus { top: 0.75rem; color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.footer :focus-visible, .bg-dark :focus-visible { outline-color: var(--accent-light); }
main:focus { outline: none; }

/* Text size */
html[data-text="1"] { font-size: 112.5%; }
html[data-text="2"] { font-size: 125%; }
html[data-text="3"] { font-size: 150%; }
html[data-text="3"] .brand-sub { display: none; }

/* Footer trigger: sits at the far right of a full-width footer row */
.footer-utility { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.25rem 0; border-top: 1px solid var(--dark-border); }
.footer-utility + .footer-bottom { border-top: 0; padding-top: 0.5rem; }
.footer-utility .footer-back-top { padding: 0; font-size: 0.875rem; color: var(--dark-text-soft); }
.a11y-trigger { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; margin-left: auto; padding: 0 0.25rem; background: none; border: 0; color: var(--dark-text-soft); font: inherit; font-size: 0.9375rem; cursor: pointer; }
.a11y-trigger:hover { color: #FFFDF9; }

/* Settings panel: non-modal dialog, bottom right (bottom sheet on phones) */
.a11y-panel { position: fixed; inset: auto 1.5rem 1.5rem auto; margin: 0; z-index: 1000; box-sizing: border-box; width: min(24rem, calc(100vw - 3rem)); max-height: calc(100dvh - 3rem); overflow-y: auto; padding: 1.5rem; background: var(--bg-card); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 8px 24px -8px rgba(20, 16, 10, 0.5); }
.a11y-panel button { font-family: inherit; }
.a11y-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.a11y-title { margin: 0.4rem 0 0; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.012em; }
.a11y-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; background: transparent; color: var(--ink); border: 1px solid var(--tan); cursor: pointer; }
.a11y-close:hover { border-color: var(--ink); }
.a11y-close .icon { width: 1.25rem; height: 1.25rem; vertical-align: middle; }
.a11y-intro { margin: 0.9rem 0 1.25rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }
.a11y-group { margin: 0 0 1.25rem; }
.a11y-group-label { display: block; margin-bottom: 0.6rem; }
.a11y-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.a11y-toggles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.5rem; }
.a11y-opt { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; padding: 0.5rem 1rem; background: transparent; color: #3C382F; border: 1px solid var(--tan); font-size: 0.9062rem; font-weight: 600; text-align: left; cursor: pointer; }
.a11y-opt:hover:not(:disabled) { border-color: var(--ink); }
.a11y-opt:disabled { opacity: 0.4; cursor: not-allowed; }
.a11y-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg-card); }
.a11y-opt[aria-pressed="true"]::before { content: "\2713"; font-size: 0.8rem; }
.a11y-status { font-size: 0.9062rem; color: var(--ink-soft); }
.a11y-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.a11y-actions .btn { cursor: pointer; font-family: inherit; }

@media (max-width: 600px) {
  .a11y-panel { inset: auto 16px 16px 16px; width: auto; max-height: 70dvh; padding: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .a11y-panel[open] { animation: a11y-in 0.18s ease-out; }
}
@keyframes a11y-in { from { opacity: 0; transform: translateY(0.5rem); } }

/* ---- Reduce motion: the user setting and the OS setting behave the same ---- */
html.a11y-still, html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Underline links (not logo or button-styled links) ---- */
html.a11y-underline a:not(.brand):not(.btn):not(.btn-call):not(.btn-call-block):not(.call-pill):not(.jump-chip):not(.skip-link) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---- Increase spacing (WCAG 1.4.12), body text only, not headings ---- */
html.a11y-spacing :is(p, li, summary, dd, label, span, div, a):not(h1 *, h2 *, h3 *) { line-height: 1.8 !important; letter-spacing: 0.04em !important; word-spacing: 0.12em !important; }
html.a11y-spacing p { margin-block: 1em !important; }

/* ---- Bold text: every element, including headings and the panel ---- */
html.a11y-bold *, html.a11y-bold *::before, html.a11y-bold *::after { font-weight: 700 !important; }

/* ---- Plain font: system sans-serif everywhere ---- */
html.a11y-font, html.a11y-font *, html.a11y-font *::before, html.a11y-font *::after { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important; }

/* ---- High contrast ---- */
html.a11y-contrast {
  --bg: #FFFFFF; --bg-alt: #FFFFFF; --bg-card: #FFFFFF;
  --ink: #000000; --ink-soft: #000000; --muted: #1A1A1A; --muted2: #1A1A1A;
  --border: #000000; --border-soft: #000000; --tan: #000000;
  --accent: #7A2E12; --accent-dark: #4F1C0A; --accent-light: #FFD9C2;
  --dark-bg: #000000; --dark-border: #FFFFFF; --dark-text: #FFFFFF; --dark-text-soft: #FFFFFF; --dark-muted: #FFFFFF; --dark-chip: #1A1A1A;
}
html.a11y-contrast :focus-visible { outline: 3px solid #000000; outline-offset: 3px; }
html.a11y-contrast .footer :focus-visible, html.a11y-contrast .bg-dark :focus-visible { outline-color: #FFFFFF; }
html.a11y-contrast [style*="#7C7367"], html.a11y-contrast [style*="#6B6559"], html.a11y-contrast [style*="#5A554B"], html.a11y-contrast [style*="#4A463E"], html.a11y-contrast [style*="#3C382F"], html.a11y-contrast [style*="#8A8074"] { color: #000000 !important; }
html.a11y-contrast :is(.num, .jump-row .n, .timeline-step .mark, .testimonial-card .who, .brand-sub, .a11y-opt, .a11y-status) { color: #000000; }
html.a11y-contrast .bg-dark *, html.a11y-contrast .footer *, html.a11y-contrast .quote-band *, html.a11y-contrast .hero-caption { color: #FFFFFF !important; }
html.a11y-contrast .bg-dark, html.a11y-contrast .footer { background: #000000; }
html.a11y-contrast [style*="#DFD4C2"], html.a11y-contrast [style*="#E2D9CB"] { border-color: #000000 !important; }
html.a11y-contrast [style*="background:#DFD4C2"] { background: #000000 !important; }
html.a11y-contrast :is(.service-card, .sign-box, .testimonial-card, .check-result, .value-chip, .btn-outline, .jump-chip, .a11y-opt) { border: 2px solid #000000; }
html.a11y-contrast .btn-outline-dark { border-color: #FFFFFF; }
html.a11y-contrast .sign-box.checked .sign-hint { color: #FFFFFF; }
html.a11y-contrast .a11y-panel { border: 2px solid #000000; box-shadow: none; }
html.a11y-contrast .a11y-opt[aria-pressed="true"] { background: #000000; color: #FFFFFF; }
html.a11y-contrast .a11y-trigger, html.a11y-contrast .footer-utility .footer-back-top { color: #FFFFFF !important; }

/* ---- Slideshow (Who we are) ---- */
.slideshow { position: relative; flex: 1 1 auto; min-height: clamp(240px, 45vw, 300px); overflow: hidden; background: #E4DACB; }
.slideshow .slides, .slideshow .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.slideshow .slide { object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.slideshow .slide.active { opacity: 1; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(35,35,31,0.6); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.slide-btn:hover, .slide-btn:focus-visible { background: rgba(35,35,31,0.85); }
.slide-prev { left: 10px; } .slide-next { right: 10px; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.slide-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slide-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255,255,255,0.6); box-shadow: 0 0 0 1px rgba(35,35,31,0.5); }
.slide-dot.active::after { background: #fff; transform: scale(1.3); }

/* ---- Slideshow controls: pause + swipe ---- */
.slideshow { touch-action: pan-y; }
.slide-pause { position: absolute; top: 10px; right: 10px; min-width: 44px; height: 44px; padding: 0 14px; border: 0; border-radius: 22px; background: rgba(35,35,31,0.6); color: #fff; font: 600 0.8125rem/1 Karla, system-ui, sans-serif; cursor: pointer; }
.slide-pause:hover, .slide-pause:focus-visible { background: rgba(35,35,31,0.85); }


/* ---- WhatsApp button ---- */
.btn-wa { background: #1F6B3A; color: #FFFFFF; }
.btn-wa:hover { background: #17552E; color: #FFFFFF; }


/* ---- Call-back form ---- */
.callback { display: grid; gap: 16px; max-width: 520px; }
.callback label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.callback input, .callback select, .callback textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 13px 14px; background: #fff; border: 1px solid var(--tan); border-radius: 0; width: 100%; min-height: 48px; }
.callback input:focus-visible, .callback select:focus-visible, .callback textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.callback .hint { font-size: 0.875rem; color: var(--muted2); line-height: 1.5; margin: 0; }
.callback button { cursor: pointer; font-family: inherit; border: 0; }
.form-hp { position: absolute; left: -9999px; }

/* ---- Self-check actions ---- */
.check-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.check-actions .btn { cursor: pointer; font-family: inherit; }
.check-actions .btn-outline { background: none; }
.check-result.urgent { border-left-width: 6px; background: #FFF4EA; }

/* ---- Utility pages (404, thanks) ---- */
.utility-page { max-width: 62ch; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ---- Small icon before section captions ---- */
.kicker { display: flex; align-items: center; gap: 8px; }
.kicker .icon { width: 15px; height: 15px; vertical-align: 0; }

/* ---- Who we are: vision / mission / belief rows ---- */
.stat-row { display: flex; gap: 16px; align-items: flex-start; }
.stat-row .stat-block { padding-left: 0; border-left: 0; min-width: 0; }

/* ---- Tabs (contact, find us, questions) ---- */
.contact-tabs { background: var(--bg); padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 56px); }
.tabs-frame { max-width: 1180px; margin: 0 auto; }
.tabs-list { display: none; }
.tabs-js .tabs-list { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-bottom: -2px; position: relative; z-index: 1; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 1 280px; min-height: 64px; padding: 14px 22px; background: var(--bg-alt); border: 2px solid var(--tan); border-top: 5px solid var(--tan); font: inherit; font-family: Newsreader, Georgia, serif; font-size: 1.375rem; color: var(--ink-soft); cursor: pointer; transition: background .15s, color .15s; }
.tab .icon { width: 1.15em; height: 1.15em; vertical-align: 0; color: var(--accent); }
.tab:hover { color: var(--ink); background: #F5EEE2; }
.tab[aria-selected="true"] { min-height: 72px; background: var(--bg-card); border-top-color: var(--accent); border-bottom-color: var(--bg-card); color: var(--ink); font-weight: 500; }
.tab:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.tab-panel { background: var(--bg-card); border: 2px solid var(--tan); padding: clamp(28px, 5vw, 64px); }
.tab-panel + .tab-panel { margin-top: 32px; }
.tabs-js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel:focus { outline: none; }
.tabs-js .tab-panel { scroll-margin-top: 100px; }
@media (max-width: 600px) {
  .tabs-js .tabs-list { gap: 4px; }
  .tab { flex: 1 1 0; flex-direction: column; gap: 6px; min-height: 80px; padding: 10px 4px; font-size: 1.0625rem; text-align: center; line-height: 1.15; min-width: 0; }
  .tab[aria-selected="true"] { min-height: 88px; }
}

/* ---- Photo under the text in a tab panel ----
   Side by side: photo height = height of the right column minus the text above
   the photo, so the left column is never taller than the right one. */
.tab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.tab-photo { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; background: #E4DACB; }
.tab-photo picture { display: contents; }
.tab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* One column (nothing beside it): a fixed height */
@media (max-width: 860px) {
  .tab-grid { grid-template-columns: minmax(0, 1fr); }
  .tab-photo { flex: none; height: 240px; margin-top: 4px; }
}

/* ---- Treatment: stage two features, exactly 3 columns on desktop ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.feature-cell { background: var(--bg-card); padding: 26px; display: flex; flex-direction: column; gap: 9px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Section with a faint photo behind the content ---- */
.photo-bg { position: relative; isolation: isolate; overflow: hidden; }
.photo-bg > .bg-img, .photo-bg > picture > .bg-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.12; }

.callback ::placeholder { color: var(--muted2); opacity: 1; }

/* ---- Self-check buttons: same width, always legible on hover ---- */
.check-buttons { display: flex; flex-direction: column; gap: 12px; width: 280px; max-width: 100%; }
.check-buttons .btn, .check-buttons .check-actions { width: 100%; }
.check-buttons .btn { justify-content: center; }

.btn-primary:hover, .btn-call-block:hover, .mobile-panel .btn-call-block:hover { color: #FFF8F1; background: var(--accent-dark); }
.btn-call:hover, .call-pill:hover { color: var(--bg); background: var(--accent-dark); }
.btn-wa:hover, .btn-wa-block:hover, .mobile-panel .btn-wa-block:hover { color: #FFFFFF; background: #17552E; }
.btn-outline:hover { color: var(--ink); background: var(--bg-alt); border-color: var(--accent); }

/* ==== Gentle motion: calm, slow, never in the way ==== */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes veil-out { 0% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes veil-in { from { opacity: 0; visibility: visible; } to { opacity: 1; visibility: visible; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Page load / exit: a soft veil with the dove */
.page-veil { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); opacity: 0; visibility: hidden; pointer-events: none; animation: veil-out 0.5s ease 0.18s both; }
.veil-spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
.leaving .page-veil { animation: veil-in 0.26s ease forwards; pointer-events: auto; }

/* Hero fades in after the veil lifts */
.grid-hero .hero-copy > * { animation: fade-up 0.8s ease both; }
.grid-hero .hero-copy > :nth-child(1) { animation-delay: 0.3s; }
.grid-hero .hero-copy > :nth-child(2) { animation-delay: 0.4s; }
.grid-hero .hero-copy > :nth-child(3) { animation-delay: 0.5s; }
.grid-hero .hero-copy > :nth-child(4) { animation-delay: 0.6s; }
.grid-hero .hero-copy > :nth-child(5) { animation-delay: 0.7s; }
.grid-hero .hero-media { animation: fade-in 1s ease 0.25s both; }

/* Scroll reveal (only when the script is running) */
.js-motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--i, 0) * 80ms); }
.js-motion .reveal.in { opacity: 1; transform: none; }

/* Buttons */
.btn, .btn-call, .call-pill, .btn-call-block, .btn-wa-block { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, translate 0.2s ease, box-shadow 0.2s ease; }
.btn:hover, .btn-call:hover, .call-pill:hover { translate: 0 -2px; box-shadow: 0 8px 18px rgba(35, 35, 31, 0.14); }
.btn:active, .btn-call:active, .call-pill:active { translate: 0 0; box-shadow: none; scale: 0.98; }

/* Cards and tiles */
.service-card, .testimonial-card { transition: translate 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover, .testimonial-card:hover { translate: 0 -4px; box-shadow: 0 12px 26px rgba(35, 35, 31, 0.09); }
.feature-cell, .trust-item, .programme-row { transition: background-color 0.25s ease; }
.feature-cell:hover, .trust-item:hover { background-color: #FBF7F0; }
.icon-tile { transition: transform 0.3s ease; }
.service-card:hover .icon-tile, .feature-cell:hover .icon-tile, .trust-item:hover .icon-tile, .testimonial-card:hover .icon-tile, .stat-row:hover .icon-tile { transform: scale(1.08) rotate(-4deg); }

/* Navigation and links */
.nav-desktop a:not(.btn-call) { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat; transition: background-size 0.3s ease, color 0.2s ease; padding-bottom: 2px; }
.nav-desktop a:not(.btn-call):hover { background-size: 100% 2px; }
.brand-mark { transition: transform 0.4s ease; }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.map-link, .footer-col a { transition: color 0.2s ease, border-color 0.2s ease; }
.map-link:hover { border-bottom-color: var(--accent); }
.footer-col a:hover { color: #FFFDF9; }
.mobile-panel.open { animation: fade-up 0.25s ease; }

/* Tabs, questions, self-check */
.tabs-js .tab-panel:not([hidden]) { animation: fade-up 0.4s ease; }
.faq-item[open] p { animation: fade-up 0.3s ease; }
.faq-item summary::after { transition: transform 0.25s ease; }
.faq-item summary:hover::after { transform: scale(1.25); }
.sign-box { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, translate 0.2s ease; }
.sign-box:hover { translate: 0 -2px; border-color: var(--accent); }
.sign-box.checked .sign-tick { animation: pop 0.3s ease; }
.fade-swap { animation: fade-in 0.45s ease; }
.slide-btn, .slide-pause, .slide-dot::after { transition: background-color 0.2s ease, transform 0.2s ease; }
.slide-btn:hover { transform: translateY(-50%) scale(1.08); }

@media print { .page-veil { display: none; } .js-motion .reveal { opacity: 1; transform: none; } }

/* ---- Desktop: navbar pinned to the top of the screen ---- */
@media (min-width: 1121px) {
  html { scroll-padding-top: 96px; }
  .site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow 0.25s ease; }
  .site-header.scrolled { box-shadow: 0 6px 20px rgba(35, 35, 31, 0.09); }
}
