/* Northline Physio — concept site by SiteSync Solutions
   Every text/background pair below is checked for WCAG 2.2 AA (see README). */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #eef6f4;          /* page background */
  --surface: #ffffff;     /* cards */
  --surface-2: #e3f3ef;   /* tinted panels */
  --text: #0d2a28;        /* 13.87:1 on bg, 15.23:1 on white */
  --muted: #3d5c59;       /* 6.66:1 on bg, 7.31:1 on white */
  --link: #0f6b5d;        /* 5.83:1 on bg, 6.40:1 on white */
  --accent: #1f9e8a;      /* large elements, icons, button fill with dark text (4.58:1) */
  --mint: #9fd8cc;        /* decorative; dark text on mint 9.55:1 */
  --border: #5a7a76;      /* form borders, 4.69:1 on white */
  --border-soft: #c7e0da; /* decorative dividers only */
  --danger: #b3261e;      /* 6.54:1 on white */
  --danger-bg: #fdecea;
  --danger-text: #8c1d18; /* 7.97:1 on danger-bg */
  --warn-bg: #fff4dc;
  --warn-text: #7a4b00;   /* 6.78:1 on warn-bg */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(13 42 40 / 6%), 0 6px 24px rgb(13 42 40 / 7%);
  --maxw: 72rem;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --scale: 1;
  --motion: 1;
}

/* Text size control: base is 18px. A+ = 20.7px, A++ = 23.4px */
html { font-size: calc(112.5% * var(--scale)); -webkit-text-size-adjust: 100%; }
html[data-text="large"] { --scale: 1.15; }
html[data-text="larger"] { --scale: 1.3; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-motion="reduce"] { scroll-behavior: auto; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after {
  animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p, ul, ol, dl { margin: 0 0 1em; }
li + li { margin-top: 0.3em; }
a { color: var(--link); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.15em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 2px solid var(--border-soft); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px #fff; }

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--text); color: #fff;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }

/* Concept banner */
.concept-banner {
  background: var(--text); color: #fff; font-size: 0.8rem; line-height: 1.5; padding: 0.5rem 0;
}
.concept-banner p { margin: 0; }
.concept-banner a { color: #fff; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border-soft); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; padding: 0.5rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.2rem; min-height: 44px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand span small { display: block; font-size: 0.7rem; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; align-items: center; }
.main-nav li + li { margin: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 700; }
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--surface-2); box-shadow: inset 0 -3px 0 var(--link); }
.main-nav .nav-book { background: var(--accent); color: var(--text); }
.main-nav .nav-book:hover { background: #2bb39e; }
.menu-toggle { display: none; }

.a11y-tools { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; font-size: 0.85rem; padding: 0.4rem 0; }
.a11y-bar { background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.a11y-bar .wrap { display: flex; justify-content: flex-end; }
.tool-group { display: inline-flex; align-items: center; gap: 0.35rem; }
.tool-group > span { color: var(--muted); font-weight: 700; }
.tool-btn {
  font: inherit; font-weight: 700; min-height: 44px; min-width: 44px; padding: 0 0.7rem; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.tool-btn[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.tool-btn:hover { border-color: var(--text); }

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; font: inherit; font-weight: 700;
    min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--text); background: var(--surface); color: var(--text); cursor: pointer;
  }
  .main-nav { width: 100%; display: none; margin: 0; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 0 1rem; }
  .main-nav a { width: 100%; border-radius: var(--radius-sm); }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: block; }
  .no-js .main-nav { display: block; }
  .a11y-bar .wrap { justify-content: flex-start; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 700;
  min-height: 48px; padding: 0.6rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--accent); color: var(--text); border-color: var(--accent); }
.btn-primary:hover { background: #2bb39e; border-color: #2bb39e; color: var(--text); }
.btn-dark { background: var(--text); color: #fff; border-color: var(--text); }
.btn-dark:hover { background: #1c4642; color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); }
.btn-lg { min-height: 56px; font-size: 1.1rem; padding: 0.8rem 1.8rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Layout pieces */
main { display: block; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-tight { padding: 2rem 0; }
.section-white { background: var(--surface); }
.section-tint { background: var(--surface-2); }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--link); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border-soft); }
.card h3 { margin-bottom: 0.4rem; }
.card > :last-child { margin-bottom: 0; }
.card-link { position: relative; display: flex; flex-direction: column; }
.card-link a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link a.stretched { color: var(--text); text-decoration: none; }
.card-link:hover { border-color: var(--accent); }
.card-link:focus-within { outline: 3px solid var(--text); outline-offset: 3px; }
.card-link a.stretched:focus-visible { outline: none; box-shadow: none; }
.card .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.card .more { margin-top: auto; padding-top: 0.75rem; font-weight: 700; color: var(--link); }
.icon-blob { width: 56px; height: 56px; border-radius: 18px; background: var(--mint); display: grid; place-items: center; margin-bottom: 0.9rem; }
.icon-blob svg { width: 30px; height: 30px; }
.pill { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 0.82rem; font-weight: 700; border: 1px solid var(--border-soft); }
.pill-dark { background: var(--text); color: #fff; border-color: var(--text); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.tag-list li + li { margin: 0; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 2rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230d2a28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/0.8rem no-repeat; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.9rem; padding: 1rem 0 0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumbs li + li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--muted); }
.breadcrumbs a { display: inline-block; padding: 0.6rem 0; }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0; }
.hero-inner { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.6vw, 3.8rem); }
.hero-art { border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: 0.95rem; margin-top: 1.25rem; }
.hero-points li + li { margin: 0; }
.hero-points li::before { content: "● "; color: var(--accent); }

.page-head { padding: 1.5rem 0 2rem; }
.page-head .lead { margin-bottom: 0; }

/* Paths */
.path-card { border-top: 6px solid var(--accent); }

/* Steps (how it works) */
.steps-list { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps-list li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4.25rem; position: relative; border: 1px solid var(--border-soft); margin: 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps-list h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.steps-list p { margin: 0; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
caption { text-align: left; font-weight: 700; padding: 1rem 1.25rem 0.25rem; font-size: 1.1rem; }
th, td { text-align: left; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
thead th { background: var(--surface-2); font-size: 0.9rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Hours */
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--border-soft); margin: 0; }
.hours li:last-child { border-bottom: 0; }

/* CTA band */
.cta-band { background: var(--text); color: #fff; border-radius: 28px; padding: clamp(1.75rem, 5vw, 3rem); display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band h2 { margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: #d6ebe6; }
.cta-band a:not(.btn) { color: #fff; }

/* Notices */
.notice { border-radius: var(--radius); padding: 1.1rem 1.25rem; border: 2px solid; display: flex; gap: 0.9rem; align-items: flex-start; }
.notice > svg { flex: none; width: 28px; height: 28px; margin-top: 0.1rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-info { background: var(--surface-2); border-color: var(--link); }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-text); color: var(--text); }
.notice-warn strong { color: var(--warn-text); }
.notice-demo { background: var(--warn-bg); border-color: var(--warn-text); }

/* Red flags box */
.redflags { border: 3px solid var(--danger); border-radius: var(--radius); background: var(--surface); overflow: hidden; margin: 2rem 0; }
.redflags > h2 { background: var(--danger); color: #fff; margin: 0; padding: 0.9rem 1.25rem; font-size: 1.3rem; display: flex; gap: 0.6rem; align-items: center; }
.redflags > h2 svg { width: 28px; height: 28px; flex: none; }
.redflags .rf-group { padding: 1.1rem 1.25rem; }
.redflags .rf-group + .rf-group { border-top: 2px solid var(--danger-bg); }
.redflags h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.redflags .rf-999 { background: var(--danger-bg); }
.redflags .rf-999 h3 { color: var(--danger-text); }
.redflags ul { margin-bottom: 0.5rem; }
.redflags .rf-note { font-size: 0.92rem; color: var(--muted); margin: 0; }
.redflags .rf-999 .rf-note { color: var(--danger-text); }

.disclaimer-line { border-left: 6px solid var(--accent); background: var(--surface); padding: 0.9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 700; }
.reviewed { font-size: 0.92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; }

/* Body map */
.bodymap { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .bodymap { grid-template-columns: minmax(14rem, 18rem) 1fr; } }
.bodymap-figure { background: var(--surface); border-radius: var(--radius); padding: 1rem; border: 1px solid var(--border-soft); text-align: center; }
.bodymap-figure svg { width: 100%; max-width: 15rem; height: auto; touch-action: manipulation; }
.bm-zone { fill: var(--mint); fill-opacity: 0.35; stroke: var(--link); stroke-width: 2; stroke-dasharray: 4 3; cursor: pointer; transition: fill-opacity 0.15s; }
.bm-zone:hover { fill-opacity: 0.7; }
.bm-zone.is-active { fill: var(--accent); fill-opacity: 0.95; stroke: var(--text); stroke-dasharray: none; stroke-width: 3; }
.bm-dot { fill: var(--text); pointer-events: none; }
.bm-zone.is-active + .bm-dot { fill: #fff; }
.bodymap-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.bodymap-buttons li + li { margin: 0; }
.chip {
  font: inherit; font-weight: 700; min-height: 44px; padding: 0.35rem 1rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--border); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; gap: 0.4rem;
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.chip[aria-pressed="true"]::before { content: "✓"; }
.filter-status { font-weight: 700; margin: 0 0 1rem; }

/* Forms */
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend { font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: 0.5rem; }
.field { margin-bottom: 1.25rem; }
.field > label, .label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.hint { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 0.4rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  font: inherit; color: var(--text); background: var(--surface); width: 100%; max-width: 32rem;
  min-height: 48px; padding: 0.55rem 0.8rem; border: 2px solid var(--border); border-radius: var(--radius-sm);
}
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--text); }
.input-short { max-width: 12rem; }
[aria-invalid="true"] { border-color: var(--danger) !important; border-width: 3px !important; }
.field-error { display: flex; gap: 0.4rem; color: var(--danger); font-weight: 700; margin: 0.3rem 0 0.4rem; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--danger); color: #fff; font-size: 0.85rem; margin-top: 0.15rem; }
.error-summary { border: 3px solid var(--danger); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--surface); margin-bottom: 1.5rem; }
.error-summary h3 { color: var(--danger-text); margin-bottom: 0.4rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--danger-text); font-weight: 700; }

/* Choice tiles (radio/checkbox) */
.choices { display: grid; gap: 0.6rem; }
.choices-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.choices-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; gap: 0.75rem; align-items: flex-start; min-height: 48px; padding: 0.75rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; font-weight: 400; margin: 0; height: 100%;
}
.choice label::before {
  content: ""; flex: none; width: 1.35rem; height: 1.35rem; border: 2px solid var(--border); border-radius: 50%; margin-top: 0.15rem; background: #fff;
}
.choice input[type="checkbox"] + label::before { border-radius: 6px; }
.choice input:checked + label { border-color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--text); }
.choice input:checked + label::before { background: var(--text); border-color: var(--text); box-shadow: inset 0 0 0 3px #fff; }
.choice input[type="checkbox"]:checked + label::before { box-shadow: none; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat; }
.choice input:focus-visible + label { outline: 3px solid var(--text); outline-offset: 3px; }
.choice input:disabled + label { cursor: not-allowed; background: #f3f6f5; color: var(--muted); border-style: dashed; }
.choice input:disabled + label::before { background: #f3f6f5; }
.choice label strong { display: block; }
.choice label .sub { display: block; color: var(--muted); font-size: 0.9rem; }
.choice-body { flex: 1; min-width: 0; }
.choice-compact label { padding: 0.5rem 0.85rem; align-items: center; }
.choice-compact label::before { display: none; }
.choice-compact input:checked + label::after { content: "✓"; font-weight: 700; margin-left: auto; }

/* Booking */
.booking { background: var(--surface); border-radius: 24px; border: 1px solid var(--border-soft); box-shadow: var(--shadow); padding: clamp(1.25rem, 4vw, 2.25rem); }
.booking-progress { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: 0.35rem; flex-wrap: wrap; }
.booking-progress li { margin: 0; flex: 1 1 5rem; font-size: 0.8rem; color: var(--muted); padding-top: 0.6rem; border-top: 6px solid var(--border-soft); font-weight: 700; }
.booking-progress li.is-done { border-top-color: var(--accent); color: var(--text); }
.booking-progress li.is-current { border-top-color: var(--text); color: var(--text); }
.booking-progress .state { display: block; font-weight: 400; }
.step-heading { font-size: 1.4rem; }
.step-heading:focus { outline: none; }
.step-count { color: var(--muted); font-weight: 700; font-size: 0.9rem; margin: 0 0 0.25rem; }
.step-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 2px solid var(--border-soft); }
.summary-strip { background: var(--surface-2); border-radius: var(--radius-sm); padding: 0.75rem 1rem; margin-bottom: 1.25rem; font-size: 0.95rem; }
.summary-strip dl { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; margin: 0; }
.summary-strip dt { font-weight: 700; }
.summary-strip dd { margin: 0; }
.week-block + .week-block { margin-top: 1.25rem; }
.week-block h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--muted); }
.day-grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); }
.day-grid .choice label { flex-direction: column; gap: 0; align-items: flex-start; padding: 0.55rem 0.75rem; }
.day-grid .choice label::before { display: none; }
.day-grid .choice label .d-name { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.day-grid .choice label .d-date { font-weight: 700; font-size: 1.05rem; }
.day-grid .choice label .d-avail { font-size: 0.82rem; }
.day-grid .choice input:checked + label .d-name { color: var(--text); }
.slot-group + .slot-group { margin-top: 1.25rem; }
.slot-grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr)); }
.slot-grid .choice label { justify-content: center; align-items: center; flex-direction: column; gap: 0; padding: 0.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.slot-grid .choice label::before { display: none; }
.slot-grid .choice label .sub { font-weight: 400; font-size: 0.78rem; }
.legend-row { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 1rem; }
.confirm-box { border: 3px solid var(--accent); border-radius: 20px; padding: 1.5rem; background: var(--surface-2); }
.ref { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }

/* Appointments list */
.appt { display: grid; gap: 0.5rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .appt { grid-template-columns: 1fr auto; align-items: center; } }
.appt .status { font-weight: 700; }
.appt.is-cancelled { opacity: 0.85; }
.appt.is-cancelled .status { color: var(--danger); }

/* Intake */
.intake-progress { margin-bottom: 1.25rem; }
.progress-bar { height: 14px; border-radius: 999px; background: var(--border-soft); overflow: hidden; border: 1px solid var(--border); }
.progress-bar > span { display: block; height: 100%; background: var(--text); width: 0; transition: width 0.3s; }
.pain-scale { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.2rem, 1fr)); gap: 0.4rem; }
.pain-scale .choice label { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0.45rem 0.25rem; gap: 0; }
.pain-scale .choice label::before { display: none; }
.pain-scale .n { font-size: 1.25rem; font-weight: 700; }
.pain-scale .w { font-size: 0.72rem; color: var(--muted); line-height: 1.25; }
.summary-doc { background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius); padding: 1.5rem; }
.summary-doc dl { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: 0.4rem 1rem; }
.summary-doc dt { font-weight: 700; }
.summary-doc dd { margin: 0; white-space: pre-wrap; }
.summary-doc h3 { margin-top: 1.25rem; border-bottom: 2px solid var(--border-soft); padding-bottom: 0.3rem; }

/* Team */
.team-card { display: flex; flex-direction: column; }
.team-card .portrait { border-radius: 20px; background: var(--surface-2); margin-bottom: 1rem; overflow: hidden; aspect-ratio: 1 / 1; }
.team-card .portrait svg { width: 100%; height: 100%; display: block; }
.team-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.75rem; font-size: 0.95rem; }
.team-card dt { font-weight: 700; }
.team-card dd { margin: 0; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; min-height: 48px; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--link); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.1rem 1rem; }
.faq details > div > :last-child { margin-bottom: 0; }

/* Treatment layout */
.two-col { display: grid; gap: 2rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } .two-col aside { position: sticky; top: 1rem; } }
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border-soft); margin: 0; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list span:first-child { color: var(--muted); }
.fact-list span:last-child { font-weight: 700; text-align: right; }

/* Map */
.map-figure { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); }
.map-figure svg { display: block; width: 100%; height: auto; }
.map-figure figcaption { padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--text); color: #e4f1ee; margin-top: 3rem; padding: 3rem 0 1.5rem; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 0.6rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0; }
.footer-grid li a { display: inline-block; padding: 0.35rem 0; min-height: 44px; line-height: 2; }
.footer-bottom { border-top: 1px solid #2f5551; margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; color: #c9e1dc; }
.footer-bottom p { margin: 0; }
.site-footer .hours li { border-bottom-color: #2f5551; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.stack > * + * { margin-top: 1.25rem; }
[hidden] { display: none !important; }

/* Print: intake summary and confirmations print cleanly */
@media print {
  .concept-banner, .site-header, .a11y-bar, .site-footer, .no-print, .breadcrumbs { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .print-area { display: block !important; }
  .summary-doc { border: 1px solid #000; }
  a { color: #000; }
}
.tool-btn[data-size="lg"] { font-size: 1.1em; }
.tool-btn[data-size="xl"] { font-size: 1.2em; }
@media print { .step-actions, .intake-progress, .notice-demo { display: none !important; } .booking { box-shadow: none; border: 0; padding: 0; } }
@media (max-width: 760px) {
  .concept-banner { font-size: 0.74rem; padding: 0.4rem 0; line-height: 1.4; }
  .a11y-tools { gap: 0.4rem; padding: 0.3rem 0; flex-wrap: wrap; }
  .tool-group { gap: 0.3rem; }
  .tool-btn { padding: 0 0.5rem; font-size: 0.85rem; }
  .header-inner { min-height: 4rem; flex-wrap: wrap; gap: 0.5rem; }
  .brand { font-size: 1.05rem; }
  .brand small { display: none !important; }
  .brand svg { width: 36px; height: 36px; }
  .menu-toggle { padding: 0 0.8rem; }
}
@media (max-width: 400px) {
  .tool-group > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.fact-list span { overflow-wrap: anywhere; min-width: 0; }
