/* =========================================================================
   Spearwood Chiropractic - mockup stylesheet
   Implements 03-design/design-system.md exactly (tokens, scale, components).
   Single warm-light theme. border-radius:0 everywhere. No glassmorphism.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Type families */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Type scale (fluid for top tiers) */
  --fs-display: clamp(2.5rem, 1.4rem + 4.9vw, 4.5rem);
  --fs-h1: clamp(2rem, 1.3rem + 3.1vw, 3.052rem);
  --fs-h2: clamp(1.625rem, 1.2rem + 1.9vw, 2.441rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 1vw, 1.953rem);
  --fs-h4: 1.563rem;
  --fs-h5: 1.25rem;
  --fs-h6: 1.125rem;
  --fs-lead: 1.375rem;
  --fs-body: 1.125rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-overline: 0.8125rem;

  /* Measure */
  --measure: 66ch;

  /* Colour: core */
  --bg: #F6F1E7;
  --surface: #FBF8F1;
  --surface-2: #EFE7D7;
  --ink: #15333A;
  --ink-2: #0E2429;
  --muted: #5C6B66;
  --line: #D9CFBC;
  --accent: #C8821E;
  --accent-ink: #9A6314;
  --accent-dark: #A66A14;
  --on-accent: #15333A;
  --on-ink: #F6F1E7;

  /* Colour: semantic */
  --ok: #2E6E4E;
  --warn: #B5611B;
  --focus: #1E6E8A;

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: 24px;
  --gutter-mobile: 16px;
  --section-y: 96px;
  --section-y-mobile: 48px;

  /* Surface treatment */
  --radius: 0;
  --shadow-1: 0 1px 0 var(--line);
  --shadow-2: 0 8px 24px rgba(21, 51, 58, 0.10);

  /* Motif */
  --motif-seg-h: 4px;
  --motif-gap: 3px;
  --motif-offset: 5px;

  /* Motion */
  --dur-fast: 120ms;
  --dur: 160ms;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* Hard rule: square corners everywhere */
*, *::before, *::after { box-sizing: border-box; }
* { border-radius: var(--radius); }

/* -------------------------------------------------------------------------
   2. Base / reset
   ------------------------------------------------------------------------- */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 90, "SOFT" 30, "WONK" 0;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.18; }
h4 { font-size: var(--fs-h4); line-height: 1.25; }
h5 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-h5); line-height: 1.3; margin: 0; color: var(--ink); }
h6 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-h6); line-height: 1.35; letter-spacing: 0.01em; margin: 0; color: var(--ink); }

p { max-width: var(--measure); margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}
a:hover { text-decoration-thickness: 0.12em; }

strong { font-weight: 700; }

/* -------------------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

section { padding-block: var(--section-y); }

.section--surface { background: var(--surface); }
.section--surface-2 { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

.overline {
  font: 700 var(--fs-overline)/1.4 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin: 0 0 var(--space-4);
  display: block;
}
.section--ink .overline { color: var(--accent); }

.measure { max-width: var(--measure); }

.stack-sm > * + * { margin-top: var(--space-3); }
.stack-md > * + * { margin-top: var(--space-5); }

@media (max-width: 768px) {
  section { padding-block: var(--section-y-mobile); }
  .container { padding-inline: var(--gutter-mobile); }
}

/* -------------------------------------------------------------------------
   4. Motif: the Vertebra Stack
   ------------------------------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-4);
  align-items: start;
  margin-bottom: var(--space-6);
}
.vertebra-mark {
  width: 18px;
  margin-top: 0.55em;
  display: grid;
  row-gap: var(--motif-gap);
}
.vertebra-mark i {
  display: block;
  height: var(--motif-seg-h);
  background: var(--line);
}
.vertebra-mark i:nth-child(1) { background: var(--accent); width: 100%; transform: translateX(var(--motif-offset)); }
.vertebra-mark i:nth-child(2) { width: 100%; transform: translateX(calc(var(--motif-offset) * -1)); }
.vertebra-mark i:nth-child(3) { width: 100%; transform: translateX(var(--motif-offset)); }

.divider-stack {
  display: flex;
  gap: var(--motif-gap);
  justify-content: center;
  align-items: center;
  margin: var(--space-9) 0;
}
.divider-stack span {
  width: 28px;
  height: var(--motif-seg-h);
  background: var(--line);
}
.divider-stack span:nth-child(3) { background: var(--accent); }

.feature-list { list-style: none; padding: 0; }
.feature-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.6em;
  max-width: var(--measure);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

/* -------------------------------------------------------------------------
   5. Skip link + focus
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   6. Header / navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-condensed { box-shadow: var(--shadow-2); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: 72px;
  transition: min-height var(--dur) var(--ease);
}
.site-header.is-condensed .nav { min-height: 60px; }

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: 44px;
}
.nav__logo:hover { color: var(--accent-ink); }
.nav__logo svg { width: 22px; height: 30px; flex: none; }
.nav__logo span { line-height: 1.05; }

.nav__links {
  display: flex;
  gap: var(--space-2);
  margin-left: auto;
  list-style: none;
  margin-block: 0;
  padding: 0;
  align-items: center;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  transition: color var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--accent-ink); }
.nav__link[aria-current="page"]::after,
.nav__link:hover::after {
  content: "";
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: 10px;
  height: 3px;
  background: var(--accent);
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-2);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.nav__phone:hover { color: var(--accent-ink); }

/* dropdown */
.nav__parent { display: inline-flex; align-items: center; gap: 6px; }
.nav__parent[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__caret {
  width: 10px; height: 10px;
  transition: transform var(--dur) var(--ease-out);
  flex: none;
}
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: var(--space-2);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 60;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub,
.nav__sub.is-open { display: block; }
.nav__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  color: var(--ink);
  text-decoration: none;
}
.nav__sub a:hover { background: var(--surface-2); color: var(--accent-ink); }

.nav__cta { margin-left: var(--space-2); }

.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-left: auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav--open .nav__toggle .icon-open { display: none; }
.nav--open .nav__toggle .icon-close { display: block; }

.nav__backdrop { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__phone--header { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav--open .nav__backdrop {
    display: block;
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(14, 36, 41, 0.4);
    z-index: 40;
  }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 72px 0 0 auto;
    width: min(86vw, 360px);
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: var(--space-5);
    gap: var(--space-1);
    overflow-y: auto;
    z-index: 45;
    transform: translateX(0);
    animation: drawer-in var(--dur) var(--ease-out);
  }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; padding: var(--space-2) 0; min-height: 48px; }
  .nav__link[aria-current="page"]::after,
  .nav__link:hover::after { left: 0; right: auto; width: 24px; bottom: 6px; }
  .nav__sub {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    padding: 0 0 0 var(--space-3);
    margin-bottom: var(--space-2);
  }
  .nav__sub.is-open { display: block; }
  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-4);
    width: 100%;
  }
  .nav__phone--drawer {
    display: inline-flex;
    margin-top: var(--space-3);
    width: 100%;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: var(--space-4);
  }
}

@media (min-width: 901px) {
  .nav__phone--drawer { display: none; }
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* -------------------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--on-ink); }

.btn--ghost {
  background: transparent; color: var(--accent-ink); border-color: transparent;
  padding-inline: 0; min-height: 44px; font-weight: 600;
}
.btn--ghost:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 0.18em; }
.btn--ghost .arrow { transition: transform var(--dur) var(--ease-out); }
.btn--ghost:hover .arrow { transform: translateX(4px); }

.btn--on-dark { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--on-dark:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--on-dark.btn--secondary { background: transparent; color: var(--on-ink); border-color: var(--on-ink); }
.btn--on-dark.btn--secondary:hover { background: var(--on-ink); color: var(--ink); }

.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* -------------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------------- */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-9);
}
.hero__title {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 120, "SOFT" 30, "WONK" 0;
  font-weight: 600;
}
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: var(--space-6);
}
.hero__cta { margin-bottom: var(--space-5); }
.hero__trust { font-size: var(--fs-xs); color: var(--muted); margin: 0; max-width: none; }
.hero__media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__media-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--on-ink);
  font: 700 var(--fs-overline)/1.4 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-2) var(--space-4);
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-7); }
  .hero__media { order: -1; }
}

/* compact page header (interior pages) */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-header .container { padding-block: var(--space-8); }
.page-header__title { margin: 0 0 var(--space-4); }
.page-header .lead { margin: 0; }

/* -------------------------------------------------------------------------
   9. Trust band
   ------------------------------------------------------------------------- */
.trust-band { background: var(--ink); color: var(--on-ink); }
.trust-band__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-band__item {
  padding: var(--space-6);
  text-align: center;
  border-left: 1px solid rgba(246, 241, 231, .16);
}
.trust-band__item:first-child { border-left: 0; }
.trust-band__num { font: 600 var(--fs-h2)/1 var(--font-display); color: var(--accent); font-variation-settings: "opsz" 90; }
.trust-band__label { font-size: var(--fs-small); color: var(--on-ink); margin-top: var(--space-2); }
@media (max-width: 768px) {
  .trust-band__row { grid-template-columns: repeat(2, 1fr); }
  .trust-band__item:nth-child(odd) { border-left: 0; }
  .trust-band__item:nth-child(n+3) { border-top: 1px solid rgba(246, 241, 231, .16); }
}
@media (max-width: 480px) {
  .trust-band__row { grid-template-columns: 1fr; }
  .trust-band__item { border-left: 0; border-top: 1px solid rgba(246, 241, 231, .16); }
  .trust-band__item:first-child { border-top: 0; }
}

/* -------------------------------------------------------------------------
   10. Card grids + cards
   ------------------------------------------------------------------------- */
.card-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid--3, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; }
}

/* person cards */
.person-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease-out),
              border-top-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.person-card:hover { box-shadow: var(--shadow-2); border-top-color: var(--accent); transform: translateY(-2px); }
.person-card__photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: var(--surface-2);
  display: block;
}
.person-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.person-card__name { font: 600 var(--fs-h4)/1.2 var(--font-display); color: var(--ink); }
.person-card__role { font: 700 var(--fs-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-ink); }
.person-card__cred { font-size: var(--fs-small); color: var(--muted); }
.person-card__voice { font-size: var(--fs-body); color: var(--ink); margin: var(--space-2) 0 0; }
.person-card .btn { margin-top: auto; }

/* service / condition cards */
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-top-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.service-card:hover { border-top-color: var(--accent); box-shadow: var(--shadow-2); }
.service-card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__title { font: 600 var(--fs-h5)/1.25 var(--font-body); color: var(--ink); }
.service-card__text { font-size: var(--fs-small); color: var(--muted); margin: 0; }

/* category cards */
.category-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: var(--space-6);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-3);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.category-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.category-card__title { font: 600 var(--fs-h3)/1.15 var(--font-display); color: var(--ink); margin: 0; }
.category-card__title a { color: inherit; text-decoration: none; }
.category-card__title a::after { content: ""; position: absolute; inset: 0; }
.category-card__title a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.category-card__text { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.category-card__more { font: 600 1rem/1 var(--font-body); color: var(--accent-ink); display: inline-flex; gap: 6px; align-items: center; }

/* -------------------------------------------------------------------------
   11. Two-column split (text + media)
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--media-left .split__media { order: -1; }
.split__media {
  border: 1px solid var(--line);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--media-left .split__media { order: -1; }
}

/* -------------------------------------------------------------------------
   12. Sporting-clubs band
   ------------------------------------------------------------------------- */
.club-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-6);
}
.club-list li {
  position: relative;
  padding-left: 1.6em;
  font-size: var(--fs-body);
  color: var(--on-ink);
}
.club-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
@media (max-width: 600px) { .club-list { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   13. Fee table
   ------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.fee-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
}
.fee-table caption {
  text-align: left;
  font: 600 var(--fs-h4)/1.2 var(--font-display);
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.fee-table th {
  background: var(--surface-2);
  text-align: left;
  font: 700 var(--fs-small)/1.3 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.fee-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-body);
  color: var(--ink);
}
.fee-table td.price {
  font: 600 var(--fs-h5)/1 var(--font-body);
  color: var(--accent-ink);
  white-space: nowrap;
  text-align: right;
}
.fee-table tr:last-child td { border-bottom: 0; }
.fee-note { font-size: var(--fs-small); color: var(--muted); margin-top: var(--space-4); }

/* -------------------------------------------------------------------------
   14. Quote / testimonial
   ------------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: var(--space-6);
}
.quote-card__text { font: 400 var(--fs-lead)/1.5 var(--font-body); color: var(--ink); margin: 0; max-width: none; }
.quote-card__cite { display: block; margin-top: var(--space-4); font-size: var(--fs-small); color: var(--muted); font-style: normal; }
.quote-card__stars { color: var(--accent); letter-spacing: 0.1em; margin-bottom: var(--space-3); }

/* labelled placeholder note (honest to-confirm) */
.note-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
  padding: var(--space-5);
  font-size: var(--fs-small);
  color: var(--ink);
}
.note-card strong { display: block; margin-bottom: var(--space-1); }

/* -------------------------------------------------------------------------
   15. FAQ / accordion
   ------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: var(--container-narrow); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  font: 700 var(--fs-h5)/1.3 var(--font-body);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__icon {
  flex: none;
  width: 20px; height: 20px;
  position: relative;
  transition: transform var(--dur) var(--ease-out);
}
.faq summary .faq__icon::before,
.faq summary .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  left: 50%; top: 50%;
}
.faq summary .faq__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq summary .faq__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq details[open] summary .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details[open] summary { color: var(--accent-ink); }
.faq__body { padding: 0 0 var(--space-5); }
.faq__body p { margin: 0; }

/* -------------------------------------------------------------------------
   16. Forms
   ------------------------------------------------------------------------- */
.form { max-width: var(--container-narrow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label { font: 600 var(--fs-small)/1.3 var(--font-body); color: var(--ink); }
.field .req { color: var(--accent-ink); }
.input, .textarea, .select {
  font: 400 1.0625rem/1.4 var(--font-body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--dur) var(--ease-out);
}
.textarea { min-height: 132px; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--muted); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus);
}
.field--error .input, .field--error .textarea { border-color: var(--warn); }
.field__error { font-size: var(--fs-xs); color: var(--warn); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.form__note { font-size: var(--fs-small); color: var(--muted); }
.form__success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--ok);
  border-left: 4px solid var(--ok);
  padding: var(--space-6);
}
.form__success.is-visible { display: block; }
.form__success h3 { color: var(--ok); margin-bottom: var(--space-2); }

/* -------------------------------------------------------------------------
   17. Contact / info blocks
   ------------------------------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.info-list li { display: grid; gap: 2px; }
.info-list .info-label { font: 700 var(--fs-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-ink); }
.info-list .info-value { font-size: var(--fs-body); color: var(--ink); }
.info-list a { color: var(--accent-ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.map-frame {
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* embed placeholder (Cliniko) */
.embed-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-7);
  text-align: center;
  display: grid;
  gap: var(--space-4);
  place-items: center;
}
.embed-card h3 { margin: 0; }
.embed-card p { margin: 0; color: var(--muted); }

/* -------------------------------------------------------------------------
   18. Article / blog index
   ------------------------------------------------------------------------- */
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease-out), border-top-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.article-card:hover { box-shadow: var(--shadow-2); border-top-color: var(--accent); transform: translateY(-2px); }
.article-card__media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.article-card__date { font: 700 var(--fs-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-ink); }
.article-card__title { font: 600 var(--fs-h4)/1.2 var(--font-display); color: var(--ink); margin: 0; }
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a:hover { color: var(--accent-ink); }
.article-card__excerpt { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.article-card__byline { font-size: var(--fs-xs); color: var(--muted); margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 var(--fs-small)/1 var(--font-body);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* -------------------------------------------------------------------------
   19. Prose
   ------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; margin-bottom: 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.4em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--accent-ink); text-decoration: underline; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6em; margin-bottom: 0.6em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--accent); }

/* -------------------------------------------------------------------------
   20. Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--ink-2); color: var(--on-ink); padding-block: var(--space-9) var(--space-6); }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: var(--space-7); }
.footer__brand { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--on-ink); margin-bottom: var(--space-4); }
.footer__brand svg { width: 22px; height: 30px; flex: none; }
.footer__h { font: 700 var(--fs-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: var(--space-4); }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.footer__list a, .footer__contact a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer__contact li { font-size: var(--fs-small); }
.footer__areas { font-size: var(--fs-small); color: var(--on-ink); margin: 0; }
.footer__socials { display: flex; gap: var(--space-3); margin-bottom: var(--space-4); }
.footer__socials a { width: 44px; height: 44px; border: 1px solid rgba(246, 241, 231, .24); display: inline-flex; align-items: center; justify-content: center; }
.footer__socials a:hover { border-color: var(--accent); }
.footer__socials svg { width: 20px; height: 20px; }
.footer__meta { font-size: var(--fs-xs); color: var(--on-ink); margin: 0; }
.footer__legal {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(246, 241, 231, .16);
  font-size: var(--fs-xs);
  color: var(--on-ink);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer__legal a { text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   21. Sticky mobile action bar
   ------------------------------------------------------------------------- */
.action-bar { display: none; }
@media (max-width: 768px) {
  .action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: var(--space-2); font: 600 1rem/1 var(--font-body); text-decoration: none; }
  .action-bar .call { background: var(--ink); color: var(--on-ink); }
  .action-bar .book { background: var(--accent); color: var(--on-accent); }
  .action-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

/* -------------------------------------------------------------------------
   22. Scroll reveal (single, reduced-motion safe)
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   23. Misc utilities
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.cta-block { text-align: center; }
.cta-block .lead { margin-inline: auto; margin-bottom: var(--space-6); }
.cta-block .btn-row { justify-content: center; }

.pillar { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--line); padding: var(--space-6); }
.pillar h3 { margin-bottom: var(--space-3); }
.pillar p { margin: 0; }

/* -------------------------------------------------------------------------
   24. Reduced motion + print
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .action-bar, .nav__toggle, .footer__socials, .footer__list { display: none; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .hero, .page-header, .trust-band, section { padding-block: 16px; }
}
