/* AKH Chiropractic & Wellness · shared styles for every page (moved from index.html 2026-10-12) */
:root {
  --surface: #FCFAF7; --raised: #EFEAE2; --ink: #16202B;
  --muted: #5E6977; --accent: #8A6A2F; --on-accent: #FFFFFF; --live: #B4412E;
  --font-display: 'Newsreader', Georgia, serif; --font-body: 'Figtree', system-ui, sans-serif;
  --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6.5rem;
  --radius: 8px; --radius-lg: 16px; --pill: 999px;
  --line: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  --line-dark: 1px solid color-mix(in srgb, var(--surface) 18%, transparent);
  --soft: color-mix(in srgb, var(--surface) 74%, transparent);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header: 72px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header); scrollbar-color: color-mix(in srgb, var(--ink) 28%, var(--surface)) var(--surface); -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink);
  background: var(--surface); -webkit-font-smoothing: antialiased; padding-bottom: 5.25rem; accent-color: var(--accent); }
::selection { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); color: var(--ink); }
.book ::selection, .chat-head ::selection { background: color-mix(in srgb, var(--accent) 60%, var(--ink)); color: var(--surface); }
img { display: block; width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.14; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; line-height: 1.3; }
em { font-style: italic; }
p { margin: 0; max-width: 64ch; text-wrap: pretty; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-color .2s var(--ease-out); }
a:hover { text-decoration-color: var(--accent); }
input { caret-color: var(--accent); }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 var(--s4); }
section { padding: var(--s8) 0; }
section.flush { padding-top: 0; }
.muted { color: var(--muted); }
.price { font-variant-numeric: tabular-nums; }
.phone { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.book :focus-visible, .chat-head :focus-visible { outline-color: var(--raised); }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 50; padding: var(--s2) var(--s4); background: var(--ink); color: var(--surface); border-radius: var(--radius); }
.skip:focus { top: var(--s2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6rem;
  border: 0; border-radius: var(--pill); background: var(--accent); color: var(--on-accent);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.btn:hover { background: var(--ink); color: var(--surface); }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--surface); }
.btn[disabled] { background: var(--raised); color: var(--muted); border: var(--line); cursor: not-allowed; transform: none; }
.btn-row { display: none; flex-wrap: wrap; gap: var(--s3); }

/* Placeholders: visibly unfinished on purpose */
.ph { display: inline-block; padding: .1rem .55rem; border: 1px dashed var(--muted); border-radius: 6px;
  color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* Wordmark */
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.brand b { font: 600 1.7rem/1 var(--font-display); letter-spacing: .18em; }
.brand span { margin-top: .4rem; padding-top: .35rem; border-top: 1px solid var(--accent);
  font: 500 .62rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--header); }
.nav, .top-actions { display: none; }
.menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--ink); border-radius: var(--pill);
  background: transparent; color: var(--ink); font: 600 .9375rem/1 var(--font-body); cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--surface); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--header)); overflow-y: auto; scrollbar-width: thin;
  padding: var(--s2) var(--s4) var(--s5); background: var(--surface); border-bottom: var(--line); box-shadow: 0 12px 24px color-mix(in srgb, var(--ink) 12%, transparent); }
.menu-panel[hidden] { display: none; }
.menu-panel nav a { display: flex; align-items: center; min-height: 48px; border-bottom: var(--line); color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.menu-actions { display: grid; gap: var(--s3); margin-top: var(--s4); }
.menu-actions .btn { width: 100%; }

/* Phone booking bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--s2); padding: var(--s3) var(--s4); background: var(--surface); border-top: var(--line); }
.bar .btn { width: 100%; padding: 0 1rem; }

/* Disclosure rows (FAQs, areas on phones, See all treatments): a drawn plus that folds into a minus */
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.disclose > summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 44px; padding-right: 2rem; transition: color .2s var(--ease-out); }
.disclose > summary::before, .disclose > summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 14px; height: 1.5px;
  margin-top: -.75px; border-radius: 1px; background: var(--accent); transition: transform .35s var(--ease-out); }
.disclose > summary::after { transform: rotate(90deg); }
.disclose[open] > summary::after { transform: rotate(0); }

/* The home-visit journey: the picture is pinned while the steps scroll past */
.journey { padding: 0 0 var(--s7); }
.journey-media { position: sticky; top: var(--header); z-index: 5; height: 38vh; margin: 0 calc(var(--s4) * -1);
  background: var(--surface); overflow: hidden; }
.shot { position: absolute; inset: 0; height: 100%; border-radius: 0; opacity: 0; transform: scale(1.07);
  transition: opacity .9s var(--ease-out), transform 7s var(--ease-out); }
.shot.is-on { opacity: 1; transform: scale(1); }
.shot-1 { object-position: 50% 45%; } .shot-2 { object-position: 50% 40%; } .shot-3 { object-position: 50% 60%; }
.shot-4 { object-position: 50% 55%; } .shot-5 { object-position: 40% 45%; } .shot-6 { object-position: 50% 55%; }
.rail { position: absolute; left: var(--s4); bottom: var(--s4); z-index: 1; display: flex; gap: 5px; padding: 9px 11px;
  background: var(--surface); border-radius: var(--pill); }
.rail i { width: 18px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 16%, transparent); transition: background-color .6s var(--ease-out); }
.rail i.is-on { background: var(--accent); }
.journey-text { position: relative; }
.step { min-height: 62vh; padding: var(--s7) 0; display: flex; flex-direction: column; justify-content: center; gap: var(--s3);
  opacity: .35; transition: opacity .6s var(--ease-out); }
.step.is-on, .no-js .step { opacity: 1; }
.step-hero { min-height: auto; padding-top: var(--s6); opacity: 1; gap: var(--s4); }
.step-hero h1 em { color: var(--accent); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em; }
.step .num { font: 400 1.4rem/1 var(--font-display); color: var(--accent); font-variant-numeric: lining-nums; }
.step p { color: var(--muted); }
.step .lede { font-size: 1.1875rem; line-height: 1.5; color: var(--ink); }
.proof { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: var(--s2) 0 0; padding: var(--s4) 0 0;
  border-top: var(--line); list-style: none; font-size: .9375rem; color: var(--muted); }
.proof li b { color: var(--ink); font-weight: 600; }
.how-title { margin-top: var(--s7); scroll-margin-top: calc(38vh + var(--s4)); }   /* phones: land below the pinned picture */
.how-title + .step { justify-content: flex-start; padding-top: var(--s5); }
@media (prefers-reduced-motion: reduce) {
  .shot { transform: none; transition: opacity .2s linear; }
  .shot.is-on { transform: none; }
  .step, .rail i, .btn, .disclose > summary::before, .disclose > summary::after { transition: none; }
}

/* Areas we help with: a ruled index of body areas, tap to open on phones */
.sec-head { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.areas { display: grid; border-top: var(--line); }
.body-area { border-bottom: var(--line); }
.body-area > summary { padding-top: var(--s3); padding-bottom: var(--s3); min-height: 56px; }
.body-area h3 { font-size: 1.25rem; }
.body-area ul { display: grid; gap: var(--s2); margin: 0; padding: 0 0 var(--s5); list-style: none; }
.body-area li { position: relative; padding-left: 1.1rem; font-size: .9875rem; line-height: 1.5; }
.body-area li::before { content: ""; position: absolute; left: 0; top: .6em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--accent); }
.help-more { display: grid; gap: var(--s5); margin-top: var(--s7); padding: var(--s5); background: var(--raised); border-radius: var(--radius-lg); }
.help-more h3 { margin-bottom: var(--s2); }
.help-more p { color: var(--muted); }
@media (min-width: 640px) {
  .areas { grid-template-columns: 1fr 1fr; column-gap: var(--s6); border-top: 0; }
  .body-area { border-bottom: 0; border-top: var(--line); padding: var(--s4) 0 var(--s5); }
  .body-area > summary { min-height: 0; padding: 0 0 var(--s3); cursor: default; pointer-events: none; }
  .body-area > summary::before, .body-area > summary::after { display: none; }
  .body-area ul { padding-bottom: 0; }
  .body-area:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Treatments */
.groups { display: grid; gap: var(--s5); }
.group h3 { padding-bottom: var(--s2); border-bottom: 1px solid var(--accent); margin-bottom: var(--s3); }
.group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s2); }
.group .more { margin-top: var(--s3); }
.group .more > summary { display: inline-flex; justify-content: flex-start; padding-right: 1.75rem; font: 600 .9375rem/1.3 var(--font-body); color: var(--accent); }
.group .more > summary:hover { color: var(--ink); }
.group .more[open] > summary { margin-bottom: var(--s2); }
.group .more ul { padding-left: var(--s3); border-left: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--muted); }
.bench-note { margin-top: var(--s6); padding: var(--s4) var(--s5); background: var(--raised); border-radius: var(--radius-lg); }

/* Prices */
.prices-band { background: var(--raised); }
.prices { display: grid; gap: var(--s6); }
.prices-intro { margin-top: var(--s4); }
.price-card { padding: var(--s5); background: var(--surface); border: var(--line); border-radius: var(--radius-lg); }
.price-card dl { margin: 0 0 var(--s5); }
.price-card dl > div { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); padding: var(--s4) 0; border-top: var(--line); }
.price-card dl > div:first-child { border-top: 0; padding-top: 0; }
.price-card dt { font: 400 1.3rem/1.3 var(--font-display); }
.price-card dt small { display: block; margin-top: .25rem; font: 400 .9375rem/1.5 var(--font-body); color: var(--muted); }
.price-card dd { margin: 0; font: 400 1.6rem/1.2 var(--font-display); }
.price-foot { font-size: .9375rem; color: var(--muted); margin-bottom: var(--s5); }

/* About */
.about { display: grid; gap: var(--s6); }
.portrait { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.about-role { margin-top: var(--s2); color: var(--muted); }
.creds { margin: var(--s5) 0 0; padding: 0; list-style: none; }
.creds li { padding: var(--s3) 0; border-top: var(--line); }
.creds li:last-child { border-bottom: var(--line); }
.about-bio { margin-top: var(--s5); }

/* Professional memberships */
.memberships { text-align: center; }
.memberships-intro { margin: var(--s4) auto 0; max-width: 62ch; }
.badges { display: grid; gap: var(--s4); max-width: 52rem; margin: var(--s6) auto 0; text-align: left; }
.badge { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); min-height: 8rem; padding: var(--s5); background: var(--surface); border: var(--line);
  border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease-out); }
a.badge:hover { border-color: var(--accent); }
a.badge:hover .badge-link { text-decoration-color: var(--accent); }
.badge-logo { display: block; width: auto; height: 4.5rem; max-width: 100%; object-fit: contain; border-radius: 0; }
.badge-text { display: grid; gap: .2rem; }
.badge-text b { font: 400 1.25rem/1.25 var(--font-display); }
.badge-text span { color: var(--muted); font-size: .9375rem; }
.badge-text .badge-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (min-width: 720px) { .badges { grid-template-columns: 1fr 1fr; } }

/* Why */
.why h2 { margin-bottom: var(--s6); }
.why-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s5); }
.why-list li { padding: var(--s3) 0; border-top: var(--line); font: 400 1.12rem/1.35 var(--font-display); }
.why-list li.lead { grid-column: 1 / -1; font-size: 1.45rem; border-top: 1px solid var(--accent); }

/* Where we visit */
.area { display: grid; gap: var(--s5); }
.area-intro { margin-top: var(--s4); }
.area-map { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--raised); z-index: 0; }
.area-map img, .area-map svg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.area-map .ring { fill: color-mix(in srgb, var(--accent) 13%, transparent); stroke: var(--accent); stroke-width: 3; }
.area-map .home { fill: var(--ink); stroke: var(--surface); stroke-width: 3; }
.area-map .home-label { font: 600 26px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 6px; }
.area-map .you { fill: var(--surface); stroke: var(--accent); stroke-width: 6; }
.area-map .map-credit { position: absolute; right: var(--s3); bottom: var(--s2); z-index: 1; font-size: .6875rem; color: var(--muted); }
.area-map .live-map { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity .4s var(--ease-out); }
.area-map.is-live .live-map { opacity: 1; }
.area-map.is-live > img, .area-map.is-live > svg, .area-map.is-live .map-credit { visibility: hidden; }
.area-map .maplibregl-ctrl-group { border-radius: 12px; box-shadow: none; border: var(--line); }
.area-map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.area-map .maplibregl-ctrl-attrib { font-size: .6875rem; }
.area-map .pin { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 5px solid var(--accent); box-sizing: border-box; }
.area-map .map-label { position: absolute; left: var(--s4); bottom: var(--s4); z-index: 500; padding: var(--s2) var(--s4);
  background: var(--surface); border-radius: var(--pill); font-size: .875rem; font-weight: 600; pointer-events: none; }
.check { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s6); padding: var(--s5); background: var(--raised); border-radius: var(--radius-lg); }
.check label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.check-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); }
.check-row .btn { padding: 0 1.25rem; }
.check input { height: 52px; padding: 0 var(--s4); width: 100%; min-width: 0; font: 400 1rem var(--font-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--muted); border-radius: var(--radius); transition: border-color .2s var(--ease-out); }
.check input:hover { border-color: var(--ink); }
.check-hint { font-size: .875rem; color: var(--muted); }
.check-result { min-height: 1.5rem; }
.check-result:empty { display: none; }
.check-result .yes, .check-result .no { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--radius-lg); background: var(--surface); }
.check-result .yes { border: 1px solid var(--accent); }
.check-result .no { border: var(--line); }
.check-result b { font: 400 1.3rem/1.3 var(--font-display); }
.check-result .btn { justify-self: start; }

/* FAQ */
.faq-grid { display: grid; gap: var(--s5); }
.faq details { border-top: var(--line); }
.faq details:last-child { border-bottom: var(--line); }
.faq summary { padding-top: var(--s4); padding-bottom: var(--s4); font: 400 1.2rem/1.35 var(--font-display); }
.faq summary:hover { color: var(--accent); }
.faq details > div { padding: 0 0 var(--s5); color: var(--muted); }

/* Booking band: 1 main way to book, then the other ways as quieter rows */
.book { background: var(--ink); color: var(--surface); }
.book h2, .book h3 { color: var(--surface); }
.book a:not(.btn) { color: var(--surface); }
.book .lede-dark { color: var(--soft); margin-top: var(--s3); font-size: 1.1875rem; line-height: 1.5; }
.book-grid { display: grid; gap: var(--s6); }
.ways { display: grid; gap: var(--s5); align-content: start; }
.way-main { display: grid; gap: var(--s3); padding: var(--s5); border: var(--line-dark); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 4%, transparent); }
.way-main p, .way-row p { color: var(--soft); font-size: .9375rem; }
.way-rows { display: grid; }
.way-row { display: grid; gap: var(--s3); padding: var(--s5) 0; border-top: var(--line-dark); }
.way-row:last-child { border-bottom: var(--line-dark); }
.way-row h3 { margin-bottom: var(--s2); }
.book .btn-line { color: var(--surface); border-color: var(--surface); }
.book .btn-line:hover { background: var(--surface); color: var(--ink); }
.book .btn-alt { background: var(--surface); color: var(--ink); }
.book .btn-alt:hover { background: var(--accent); color: var(--on-accent); }
.book .btn-alt.live { background: var(--live); color: var(--on-accent); }
.call-status { min-height: 1.5em; }
.call-status:empty { display: none; }

/* Receptionist on/off: <html data-receptionist="on|off">. "rx" shows only when on, "rx-off" only when off. */
[data-receptionist="off"] .rx, [data-receptionist="on"] .rx-off { display: none !important; }

/* Receptionist chat */
.chat-fab { position: fixed; right: var(--s4); bottom: calc(5.25rem + var(--s3)); z-index: 30; display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 48px; padding: 0 1.25rem 0 1rem; border: 1px solid color-mix(in srgb, var(--surface) 24%, var(--ink)); border-radius: var(--pill);
  background: var(--ink); color: var(--surface); font: 600 .9375rem/1 var(--font-body);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 22%, transparent); cursor: pointer; transition: background-color .2s var(--ease-out); }
.chat-fab[hidden] { display: none; }
.chat-fab svg { width: 18px; height: 18px; flex: 0 0 auto; }
.chat-fab:hover { background: var(--accent); }
.chat { position: fixed; right: var(--s4); bottom: calc(5.25rem + var(--s3)); z-index: 40; display: none; flex-direction: column;
  width: min(380px, calc(100vw - 2 * var(--s4))); height: min(560px, calc(100dvh - 7.5rem)); overflow: hidden;
  background: var(--surface); border: var(--line); border-radius: var(--radius-lg); box-shadow: 0 16px 48px color-mix(in srgb, var(--ink) 25%, transparent); }
.chat.open { display: flex; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) var(--s4); background: var(--ink); color: var(--surface); }
.chat-head a { color: inherit; }
.chat-head b { display: block; font: 600 1rem/1.2 var(--font-body); }
.chat-head small { display: block; color: var(--soft); font-size: .78rem; }
.chat-x { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; border-radius: var(--pill); background: none; color: var(--surface); cursor: pointer;
  transition: background-color .2s var(--ease-out); }
.chat-x:hover { background: color-mix(in srgb, var(--surface) 12%, transparent); }
.chat-x svg { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink) 25%, transparent) transparent;
  display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); }
.msg { max-width: 85%; padding: .55rem .85rem; border-radius: 16px; font-size: .9375rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: var(--raised); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.msg.note { align-self: center; max-width: 100%; padding: 0; color: var(--muted); font-size: .8125rem; text-align: center; }
.chat form { display: flex; gap: var(--s2); padding: var(--s3); border-top: var(--line); }
.chat input { flex: 1; min-width: 0; height: 44px; padding: 0 .9rem; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: var(--pill);
  background: var(--surface); font: 400 1rem var(--font-body); color: var(--ink); }
.chat input::placeholder { color: var(--muted); }
.chat form .btn { min-height: 44px; padding: 0 1.1rem; }

/* Footer */
footer { padding: var(--s7) 0 var(--s8); }
footer .wrap { display: grid; gap: var(--s5); }
footer p { font-size: .9375rem; }
.foot-tag { margin-top: var(--s4); }
.ai-note { padding-top: var(--s4); border-top: var(--line); font-size: .8125rem; color: var(--muted); max-width: none; }
.legal { display: grid; gap: var(--s4); padding-top: var(--s5); border-top: var(--line); font-size: .875rem; color: var(--muted); }
.legal p { max-width: 78ch; font-size: .875rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.legal-links a { display: inline-block; padding: .35rem 0; color: var(--ink); }

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .chat-fab, .chat { bottom: var(--s5); right: var(--s5); }
  section { padding: var(--s9) 0; }
  .wrap { padding: 0 var(--s6); }
  .top-actions { display: flex; align-items: center; gap: var(--s5); }
  .top-actions .call { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
  .top-actions .call:hover { text-decoration: underline; text-decoration-color: var(--accent); }
  .btn-row { display: flex; }
  .journey { padding-bottom: var(--s8); }
  .journey-grid { display: grid; grid-template-columns: 1fr 1.05fr; column-gap: var(--s8); align-items: start; }
  .journey-media { grid-column: 2; grid-row: 1; top: calc(var(--header) + var(--s5)); height: calc(100vh - var(--header) - var(--s7));
    margin: var(--s5) 0 0; border-radius: var(--radius-lg); }
  .rail { left: var(--s5); bottom: var(--s5); }
  .journey-text { grid-column: 1; grid-row: 1; }
  .step { min-height: 78vh; padding: var(--s8) 0; }
  .step-hero { min-height: calc(100vh - var(--header) - var(--s5)); padding: var(--s6) 0 var(--s7); justify-content: center; }
  .how-title { margin-top: var(--s8); scroll-margin-top: 0; }
  .how-title + .step { min-height: 60vh; justify-content: flex-start; padding-top: var(--s7); }
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: var(--s8); }
  .areas { grid-template-columns: repeat(3, 1fr); column-gap: var(--s7); }
  .body-area:last-child:nth-child(odd) { grid-column: auto; }
  .help-more { grid-template-columns: 1fr 1fr; column-gap: var(--s8); padding: var(--s6) var(--s7); }
  .groups { grid-template-columns: repeat(3, 1fr); column-gap: var(--s7); }
  .prices { grid-template-columns: 1fr 1.2fr; column-gap: var(--s8); align-items: start; }
  .price-card { padding: var(--s6); }
  .about { grid-template-columns: .85fr 1.15fr; column-gap: var(--s8); align-items: center; }
  .why-list { grid-template-columns: repeat(3, 1fr); }
  .area { grid-template-columns: 1fr 1fr; column-gap: var(--s8); align-items: center; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; column-gap: var(--s8); }
  .book-grid { grid-template-columns: .9fr 1.1fr; column-gap: var(--s8); }
  .way-main { padding: var(--s6); }
  .way-row { grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s6); }
  .way-row .btn { min-width: 12rem; }
  footer .wrap { grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
  .legal { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s8); align-items: start; }
  .legal-links { flex-direction: column; gap: 0; }
  .ai-note { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  footer .wrap { grid-template-columns: 1.2fr repeat(3, auto); }
}
/* Full menu only where it fits on one line; narrower screens use the Menu button. */
@media (min-width: 1240px) {
  .menu-btn, .menu-panel { display: none !important; }
  .nav { display: flex; gap: var(--s5); }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; white-space: nowrap; text-decoration: none; }
  .nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
}

/* ===== Inner pages (services, areas, prices, about, FAQs) ===== */
.crumbs { padding-top: var(--s5); font-size: .875rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: color-mix(in srgb, var(--ink) 30%, transparent); }
.crumbs a { color: var(--muted); }
.page-hero { padding: var(--s5) 0 var(--s7); border-bottom: var(--line); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; }
.page-hero h1 em { color: var(--accent); }
.page-hero .lede { max-width: 58ch; margin-top: var(--s4); font-size: 1.1875rem; line-height: 1.5; }
.page-hero .btn-row { margin-top: var(--s5); }
.page-body { padding: var(--s7) 0 var(--s8); }
.page-grid { display: grid; gap: var(--s7); }
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: var(--s7) 0 var(--s3); font-size: clamp(1.55rem, 2.4vw, 2rem); }
.prose h3 { margin: var(--s5) 0 var(--s2); font-size: 1.25rem; }
.prose p + p { margin-top: var(--s3); }
.prose ul, .prose ol { display: grid; gap: var(--s2); margin: var(--s3) 0 0; padding-left: 1.2rem; }
.prose li::marker { color: var(--accent); }
.prose .steps { padding: 0; list-style: none; counter-reset: step; gap: var(--s4); }
.prose .steps li { counter-increment: step; position: relative; padding-left: 2.6rem; }
.prose .steps li::before { content: counter(step); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; background: var(--raised); color: var(--accent); font: 400 1.05rem/1 var(--font-display); }
.prose .steps b { display: block; font-weight: 600; }
.prose .callout { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--raised); border-radius: var(--radius-lg); }
.prose .callout > :first-child { margin-top: 0; }
.prose .checked { margin-top: var(--s5); font-size: .875rem; }
.prose .research-list { padding: 0; list-style: none; gap: 0; border-top: var(--line); }
.prose .research-list li { padding: var(--s4) 0; border-bottom: var(--line); }
.prose .research-list .cite { margin-top: var(--s2); font-size: .875rem; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.prose .research-list .cite a { color: inherit; }
.prose .fees { margin: var(--s4) 0 0; border-top: var(--line); }
.prose .fees > div { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); padding: var(--s4) 0; border-bottom: var(--line); }
.prose .fees dt { font: 400 1.2rem/1.3 var(--font-display); }
.prose .fees dt small { display: block; margin-top: .2rem; font: 400 .9375rem/1.5 var(--font-body); color: var(--muted); }
.prose .fees dd { margin: 0; font: 400 1.45rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.prose .creds-list { padding: 0; list-style: none; gap: 0; border-top: var(--line); }
.prose .creds-list li { padding: var(--s3) 0; border-bottom: var(--line); }
.prose .place-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
.prose ul + p, .prose ol + p { margin-top: var(--s4); }
.prose .portrait-inline { max-width: 22rem; height: auto; margin-top: var(--s5); aspect-ratio: 4 / 5; object-position: 50% 30%; }
.side-card { display: grid; gap: var(--s3); align-content: start; padding: var(--s5); background: var(--raised); border-radius: var(--radius-lg); }
.side-card h2 { font-size: 1.35rem; }
.side-card p { font-size: .9375rem; color: var(--muted); }
.side-card .price-line { font: 400 1.6rem/1.2 var(--font-display); color: var(--ink); }
.side-card .btn { width: 100%; }
.side-card .small { font-size: .875rem; }
.faq-list details { border-top: var(--line); }
.faq-list details:last-child { border-bottom: var(--line); }
.faq-list summary { padding-top: var(--s4); padding-bottom: var(--s4); font: 400 1.15rem/1.35 var(--font-display); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details > div { padding: 0 0 var(--s5); color: var(--muted); }
.related { padding: var(--s7) 0; border-top: var(--line); }
.related h2 { margin-bottom: var(--s5); font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.related ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.related li { border-bottom: var(--line); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; padding: var(--s3) 0;
  color: var(--ink); text-decoration: none; font: 400 1.15rem/1.3 var(--font-display); }
.related a::after { content: ""; flex: 0 0 auto; width: .55rem; height: .55rem; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
.related a:hover { color: var(--accent); }
.cta-band { padding: var(--s8) 0; background: var(--ink); color: var(--surface); }
.cta-band h2 { max-width: 22ch; color: var(--surface); }
.cta-band p { margin-top: var(--s3); color: var(--soft); }
.cta-band .btn-row { display: flex; margin-top: var(--s5); }
.cta-band .btn-line { color: var(--surface); border-color: var(--surface); }
.cta-band .btn-line:hover { background: var(--surface); color: var(--ink); }
.cta-band :focus-visible { outline-color: var(--raised); }
.foot-pages { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s5); border-top: var(--line); font-size: .9375rem; }
.foot-pages a { display: inline-block; padding: .3rem 0; }
.inline-more { display: inline-block; margin-top: var(--s3); font-weight: 600; color: var(--accent); }
@media (min-width: 720px) {
  .page-hero { padding: var(--s6) 0 var(--s8); }
  .page-body { padding: var(--s8) 0 var(--s9); }
  .page-grid { grid-template-columns: minmax(0, 1fr) 20rem; column-gap: var(--s8); align-items: start; }
  .side-card { position: sticky; top: calc(var(--header) + var(--s5)); }
  .related ul { grid-template-columns: 1fr 1fr; column-gap: var(--s7); }
}
