/* Unique Health and Wellness Clinic - public site.
   Built to the approved Claude Design compositions: home.html (desktop, 1440
   canvas on a 1160 content column) and home-mobile.html (a separate 390
   composition, not a squeezed desktop). Breakpoint 900px - documented in
   docs/DESIGN.md. Below it the mobile composition applies, including its own
   section order (prices move up beside treatments). */

/* ---------- self-hosted fonts. Never a font CDN. ---------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/montserrat-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; } /* class display rules must never beat the hidden attribute */
body { background: var(--paper); color: var(--body); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > footer { margin-top: auto; }
a { color: var(--ink-2); text-decoration-color: rgba(62,90,82,.4); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
h1,h2,h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
ul { padding: 0; }
:focus-visible { outline: 3px solid var(--ink-2); outline-offset: 2px; border-radius: 2px; }
.btn-accent:focus-visible, .btn-ink:focus-visible { outline-color: var(--accent); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.eyebrow { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.section { padding: var(--sp-7) 0; }
.sec-head { margin-bottom: var(--sp-5); display: grid; gap: var(--sp-2); }
.sec-head h2 { font-size: var(--step-4); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 6px; text-decoration: none; min-height: 48px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #96261F; color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { border: 1.5px solid var(--ink-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-clinical { background: #E4EAE7; color: var(--ink-2); }
.tag-comp { background: #F1E6E0; color: #8A5A3B; }
.note { display: inline-flex; align-items: center; gap: 8px; background: #E4EAE7; border-radius: 6px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; padding: 8px 12px; }
.note svg { flex: none; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 18px; }

/* Which composition renders. Desktop >=900px, mobile below. The hide is !important on both sides,
   so a component's own display (e.g. .details-card's grid) can never leak it into the other one. */
@media (min-width: 900px) { .only-m { display: none !important; } }
@media (max-width: 899.98px) {
  .only-m { display: block; }
  .btn.only-m { display: inline-flex; }
  .only-d { display: none !important; }
}

/* ---------- desktop header ---------- */
.util { background: var(--ink); color: #DDE5E1; font-size: 14px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: var(--sp-3); }
.util a { color: #fff; text-decoration: none; font-weight: 700; }
.util a:hover { color: #E8B4AE; }
header.main { background: #fff; border-bottom: 1px solid #E7E3DC; }
header.main .wrap { display: flex; align-items: center; gap: var(--sp-4); min-height: 92px; }
.wordmark { text-decoration: none; display: grid; gap: 2px; }
.wordmark .wm1 { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .32em; color: var(--ink); }
.wordmark .wm2 { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; color: var(--accent); }
nav.primary { display: flex; gap: var(--sp-4); margin-left: auto; align-items: center; }
nav.primary a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15.5px; padding: 6px 2px; white-space: nowrap; }
nav.primary a:hover { color: var(--accent); }
nav.primary a.emph { color: var(--accent); }
.head-actions { display: flex; gap: var(--sp-2); align-items: center; }
/* Seven links since "Contact" joined (2026-10-16): the gaps give way before the wordmark or the
   button ever wrap */
header.main .wordmark, .head-actions { flex: none; }
.head-actions .btn { white-space: nowrap; }
nav.primary { gap: clamp(14px, 1.7vw, 26px); }
@media (min-width: 900px) and (max-width: 1099.98px) {
  header.main .wrap { gap: 14px; } nav.primary { gap: 12px; } nav.primary a { font-size: 13.5px; }
  header.main .wordmark .wm1 { font-size: 21px; letter-spacing: .26em; } header.main .wordmark .wm2 { font-size: 8.5px; letter-spacing: .2em; }
  .head-actions .btn { padding: 12px 18px; font-size: 15px; }
}

/* ---------- mobile header + action bar ---------- */
.m-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #E7E3DC; display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 60px; }
.m-head .wordmark { margin-right: auto; gap: 1px; }
.m-head .wm1 { font-size: 19px; letter-spacing: .28em; }
.m-head .wm2 { font-size: 8px; letter-spacing: .22em; }
.icon-btn { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; border: 1.5px solid #E7E3DC; background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; font-family: var(--font-body); }
.icon-btn.call { background: var(--ink); border-color: var(--ink); color: #fff; }
.m-menu { position: fixed; inset: 60px 0 auto 0; z-index: 49; background: #fff; border-bottom: 1px solid #E7E3DC; box-shadow: 0 16px 32px rgba(34,51,46,.16); display: none; }
.m-menu.open { display: block; }
.m-menu a { display: flex; align-items: center; min-height: 56px; padding: 8px 20px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; border-bottom: 1px solid #EFEBE4; }
.m-menu a:last-child { border-bottom: 0; }
.m-menu a.emph { color: var(--accent); }
@media (max-width: 899.98px) {
  body { font-size: 16px; line-height: 1.55; }
}
@media print { .m-head, .m-menu { display: none !important; } }

/* ---------- hero (desktop) ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: var(--sp-6); align-items: center; padding-top: var(--sp-6); padding-bottom: var(--sp-7); }
.hero h1 { font-size: clamp(38px, 4vw, var(--step-5)); }
.hero .lede { font-size: var(--step-1); line-height: 1.55; color: var(--body); }
.hero-ctas { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: var(--sp-2); border-top: 1px solid #E2DED6; padding-top: var(--sp-3); }
.hero-proof strong { color: var(--ink); font-size: 18px; white-space: nowrap; }
.hero-proof span { color: var(--ink-3); font-size: 15px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 560px; object-fit: cover; border-radius: 10px; }
.hero-media .badge { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 8px; padding: 14px 18px; box-shadow: 0 8px 24px rgba(34,51,46,.18); display: grid; gap: 2px; }
.hero-media .badge b { color: var(--ink); font-size: 15px; }
.hero-media .badge span { font-size: 13px; color: var(--ink-3); }
.hero-left { display: grid; gap: var(--sp-3); }

/* hero (mobile composition) */
@media (max-width: 899.98px) {
  .hero { background: #fff; padding-bottom: 32px; }
  .hero .wrap { display: block; padding: 0; }
  .hero-media img { height: 300px; border-radius: 0; }
  /* The next available appointment on the phone too (operator, 2026-10-07), over the photo's foot */
  .hero-media .badge { left: 16px; right: 16px; bottom: 14px; padding: 10px 14px; border-radius: 10px; gap: 1px; }
  .hero-media .badge b { font-size: 14px; }
  .hero-media .badge span { font-size: 13px; }
  .hero-left { padding: 24px 20px 0; gap: 14px; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 16.5px; }
  .hero-ctas .btn-ghost { display: none; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { border-top-color: #E7E3DC; padding-top: 14px; font-size: 14.5px; color: var(--ink-3); }
  .hero-proof strong { font-size: inherit; }
}

/* ---------- trust bar ---------- */
.trust { background: var(--ink); color: var(--paper); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.trust .cell { display: grid; gap: 4px; padding-left: var(--sp-2); border-left: 2px solid var(--accent); }
.trust b { color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.trust .cell span { font-size: 14.5px; color: #C7D2CC; }
.trust .rail { display: none; }
@media (max-width: 899.98px) {
  .trust { padding: 16px 0; }
  .trust .wrap { display: none; }
  .trust .rail { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
  .trust .rail::-webkit-scrollbar { display: none; }
  .trust .chip { flex: 0 0 auto; color: #fff; font-size: 13.5px; font-weight: 700; border: 1px solid #4A5D54; border-radius: 999px; padding: 9px 14px; white-space: nowrap; }
  .trust .chip span { color: #C7D2CC; font-weight: 400; }
}

/* ---------- conditions / spine map ---------- */
.spine-stage { position: relative; background: #fff; border: 1px solid #E7E3DC; border-radius: 12px; aspect-ratio: 1160 / 780; }
.spine-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spine-label { position: absolute; left: 48.6%; width: 40%; background: var(--paper); border: 1px solid #E7E3DC; border-radius: 8px; padding: 14px 18px; display: grid; gap: 4px; justify-items: start; }
.spine-label .book { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.spine-label .book:hover { text-decoration: underline; }
.spine-label .book svg { flex: none; }
.spine-label b { font-family: var(--font-display); color: var(--ink); font-size: 18px; font-weight: 700; }
.spine-label span { font-size: 14px; color: var(--ink-3); }
.spine-m { display: block; margin: 0 auto; height: 430px; }
.cdot { cursor: pointer; }
#cond-panel { background: #fff; border: 1px solid #E7E3DC; border-radius: 12px; padding: 18px 20px; display: grid; gap: 6px; min-height: 118px; margin-top: 16px; }
#cond-panel .eyebrow { font-size: 11px; }
#cond-panel b { font-family: var(--font-display); color: var(--ink); font-size: 19px; }
#cond-panel span.copy { font-size: 14.5px; color: var(--ink-3); }
#cond-panel .book { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }

/* The 3D spine explorer (public/spine/, docs/SPINE-EXPLORER.md) takes the SVG map's place when it
   loads: a 60/40 split, the stage on the left and a panel on the right carrying the area buttons,
   the area's card and the book link. Its --sx-* tokens are mapped to the site's own so a token
   change carries through, and the stage carries the same radius and hairline as .spine-stage.
   spine.css is appended to <head> after this sheet and sets the same tokens and positions on the
   same classes, so every selector here carries the section id to outrank it. */
#conditions .spine-app {
  --sx-paper: #FCFBF9;            /* a shade whiter than the page's --paper so the stage stands out */
  --sx-paper-2: #fff;
  --sx-ink: var(--ink);
  --sx-ink-2: var(--ink-2);
  --sx-ink-3: var(--ink-3);
  --sx-line: #E7E3DC;
  --sx-accent: var(--accent);
  --sx-font-display: var(--font-display);
  --sx-font-body: var(--font-body);
  --sx-radius: 12px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: auto;
  min-height: 0;
  border: 1px solid #E7E3DC;
  border-radius: 12px;
  overflow: hidden;
}
/* the stage stretches to the grid row, so a panel taller than it never leaves a strip below */
#conditions .spine-app .sx-stage { height: auto; min-height: max(480px, min(68vh, 640px)); }
#conditions .spine-app .sx-panel {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 28px;
  padding: 32px 28px 28px 26px;
  background: #fff;
  border-left: 1px solid #E7E3DC;
  min-width: 0;
}
#conditions .spine-app .sx-top { position: static; padding: 0; pointer-events: auto; }
#conditions .spine-app .sx-title small { margin-top: 8px; line-height: 1.5; }
#conditions .spine-app .sx-areas {
  position: static; transform: none; width: auto;
  grid-template-columns: 1fr 1fr; gap: 10px;
}
#conditions .spine-app .sx-area:hover { transform: none; }
/* "Show the whole spine": the component's reset, kept in place under the area buttons and dimmed
   while the whole spine is already showing, so the panel never shifts (house 1.80.0) */
#conditions .spine-app .sx-reset {
  grid-row: 3; justify-self: stretch; margin: -16px 0 0; padding: 11px 14px;
  border: 1.5px solid var(--ink-2); border-radius: 999px; background: transparent;
  color: var(--ink); font: 600 14px/1.2 var(--font-display); text-decoration: none; text-align: center;
  transition: opacity .18s ease;
}
#conditions .spine-app .sx-reset:hover { border-color: var(--accent); color: var(--accent); }
#conditions .spine-app .sx-reset[hidden] { display: block !important; opacity: .4; pointer-events: none; }
/* The card and the intro share the panel's last row, so the row is always as tall as the taller
   of the two and the block never changes size when an area is chosen (house 1.80.0). The one not
   in use is laid out but invisible. */
#conditions .spine-app .sx-card,
#conditions .spine-app .sx-intro {
  grid-row: 4; grid-column: 1;
  position: relative; inset: auto; width: auto;
  padding: 24px 0 0;
  border-top: 1px solid #E7E3DC;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
#conditions .spine-app .sx-card h3, #conditions .spine-app .sx-intro h3 { margin: 0; font-size: 22px; line-height: 1.15; }
#conditions .spine-app .sx-card .sx-eyebrow, #conditions .spine-app .sx-card .sx-text { margin: 0; }
#conditions .spine-app .sx-intro p { color: var(--ink-3); font-size: 15px; }
/* the book link sits at the foot of the panel and spans it */
#conditions .spine-app .sx-card .sx-cta,
#conditions .spine-app .sx-intro .btn {
  display: flex; justify-content: center; align-self: stretch; margin: auto 0 0;
  padding: 15px 22px; border-radius: 6px; font: 700 16px/1 var(--font-body); min-height: 0; text-align: center;
}
#conditions .spine-app .sx-card .sx-text, #conditions .spine-app .sx-intro p { margin-bottom: 8px; min-height: 68px; }
#conditions .spine-app .sx-card .sx-cta:hover { background: #96261F; }
/* the intro shows while no area is chosen; the card takes its place when one is */
#conditions .spine-app .sx-card[hidden] { display: flex !important; visibility: hidden; opacity: 1; transform: none; }
#conditions .spine-app .sx-intro { visibility: hidden; }
#conditions .spine-app .sx-card[hidden] + .sx-intro { visibility: visible; }
/* Phones: the panel dissolves into the outer grid so its parts can be ordered around the stage -
   heading and area buttons above the spine, the card with its book button beneath. */
@media (max-width: 899.98px) {
  #conditions .spine-app { grid-template-columns: 1fr; row-gap: 22px; padding: 24px 20px 20px; }
  #conditions .spine-app .sx-panel { display: contents; }
  #conditions .spine-app .sx-top { grid-row: 1; }
  #conditions .spine-app .sx-areas { grid-row: 2; }
  #conditions .spine-app .sx-stage { grid-row: 3; height: 56vh; min-height: 400px; border: 1px solid #E7E3DC; border-radius: 10px; overflow: hidden; }
  #conditions .spine-app .sx-reset { grid-row: 4; margin-top: 0; }
  #conditions .spine-app .sx-card, #conditions .spine-app .sx-intro { grid-row: 5; }
}
/* the in-scene area labels stay on phones: the component hides them below 720px for its own
   overlaid layout, but here nothing else sits on the stage */
@media (max-width: 720px) {
  #conditions .spine-app .sx-dot span { display: block; }
}

/* ---------- what we treat: "Spine issues" / "Body pains" tabs (2026-09-24) ----------
   Two equal columns, so the control never changes size when the selection moves (house 1.80.0). */
.wt-tabs {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 22px;
  background: #fff; border: 1px solid #E7E3DC; border-radius: 999px;
}
.wt-tab {
  min-width: 164px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-2); font: 600 15px/1 var(--font-display); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.wt-tab:hover { color: var(--ink); }
.wt-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.wt-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Body pains without 3D: area buttons and a card, in the explorer's 60/40 proportions */
.body-fb {
  display: grid; grid-template-columns: 3fr 2fr; gap: 24px 28px;
  padding: 32px 28px; background: #fff; border: 1px solid #E7E3DC; border-radius: 12px;
}
.bfb-head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.bfb-head b { font: 600 22px/1.15 var(--font-display); color: var(--ink); }
.bfb-head span { color: var(--ink-3); font-size: 15px; }
.bfb-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.bfb-area {
  padding: 16px 14px; border: 1.5px solid #E7E3DC; border-radius: 10px; background: #FCFBF9;
  color: var(--ink); font: 600 15px/1.2 var(--font-display); text-align: left; cursor: pointer;
}
.bfb-area:hover { border-color: var(--ink-3); }
.bfb-area[aria-pressed="true"] { border-color: var(--accent); background: #fff; color: var(--accent); }
.bfb-area:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bfb-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding-left: 28px; border-left: 1px solid #E7E3DC;
}
.bfb-card b { font: 600 22px/1.15 var(--font-display); color: var(--ink); }
.bfb-card .copy { color: var(--ink-2); font-size: 15px; line-height: 1.55; min-height: 72px; }
.bfb-card .btn { align-self: stretch; justify-content: center; margin-top: auto; }
@media (max-width: 899.98px) {
  .wt-tabs { display: grid; width: 100%; }
  .wt-tab { min-width: 0; padding: 12px 10px; }
  .body-fb { grid-template-columns: 1fr; padding: 24px 20px 20px; }
  .bfb-areas { grid-template-columns: 1fr 1fr; }
  .bfb-card { padding: 20px 0 0; border-left: 0; border-top: 1px solid #E7E3DC; }
}

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.svc { background: #fff; border: 1px solid #E7E3DC; border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
.svc img { width: 100%; height: 190px; object-fit: cover; }
.svc .tagrow { padding: var(--sp-2) var(--sp-3) 0; }
.svc h3 { font-size: 22px; padding: 10px var(--sp-3) 0; }
.svc p { padding: 8px var(--sp-3) var(--sp-2); font-size: 15px; line-height: 1.55; }
.svc .price { border-top: 1px solid #EFEBE4; margin: 0 var(--sp-3); padding: var(--sp-2) 0 4px; display: grid; gap: 3px; align-self: start; }
.svc .price b { color: var(--ink); font-size: 17px; }
.svc .price span { font-size: 13.5px; color: var(--ink-3); }
.svc .go-row { display: flex; gap: 10px; padding: 10px var(--sp-3) var(--sp-3); }
.svc .go-row .btn { font-size: 14px; padding: 9px 18px; min-height: 40px; }
.svc .go-row .btn-accent { flex: 1 1 auto; } /* Book now beside Learn more, filling the rest of the row (operator, 2026-10-16) */
.svc .go-row .btn { white-space: nowrap; }
.svc-link { color: inherit; text-decoration: none; }
.svc-link:hover { color: var(--accent); }
/* services (mobile: stacked cards) */
.svc-m { background: #fff; border: 1px solid #E7E3DC; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.svc-m img { width: 100%; height: 150px; object-fit: cover; }
.svc-m .body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.svc-m h3 { font-size: 21px; }
.svc-m p { font-size: 14.5px; }
.svc-m .price { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #EFEBE4; padding-top: 12px; font-size: 14px; color: var(--ink-3); }
.svc-m .price b { color: var(--ink); font-size: 16px; white-space: nowrap; }

/* ---------- team ---------- */
.team { background: #fff; border-bottom: 1px solid #E7E3DC; } /* no line above: prices, also white, sits directly over it on desktop (operator, 2026-10-16) */
.team-feature { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: var(--sp-6); align-items: start; }
.team-feature .photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #E4EAE7; }
.team-detail { display: grid; gap: var(--sp-2); align-content: start; }
.team-detail h3 { font-size: var(--step-3); }
.team-detail .role { font-size: var(--step-0); color: var(--body); }
.team-tabs { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-3); flex-wrap: wrap; }
.team-tab { display: grid; gap: 6px; justify-items: center; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-body); }
.team-tab img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; border: 3px solid transparent; background: #E4EAE7; }
.team-tab span { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.team-tab[aria-selected="true"] img { border-color: var(--accent); }
.team-tab[aria-selected="true"] span { color: var(--ink); }
.team-tab:hover img { border-color: var(--ink-2); }
/* team (mobile: swipe rail) */
.team-rail { display: flex; gap: 14px; overflow-x: auto; padding: 0 20px 8px; scrollbar-width: none; }
.team-rail::-webkit-scrollbar { display: none; }
.person { flex: 0 0 240px; display: grid; gap: 6px; }
.person img { width: 240px; height: 240px; object-fit: cover; border-radius: 12px; background: #E4EAE7; }
.person h3 { font-size: 19px; padding-top: 6px; }
.person .role { font-size: 14px; }
.person .note { font-size: 12.5px; }

/* ---------- first visit ---------- */
.visit-cols { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: var(--sp-6); align-items: start; }
.steps { display: grid; gap: var(--sp-3); }
.step { display: grid; grid-template-columns: 52px 1fr; gap: var(--sp-3); background: #fff; border: 1px solid #E7E3DC; border-radius: 10px; padding: var(--sp-3); }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.step b { font-family: var(--font-display); color: var(--ink); font-size: 19px; display: block; margin-bottom: 4px; }
.step p { font-size: 15.5px; }
.visit-side { display: grid; gap: var(--sp-2); }
.visit-side img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; } /* visit-photo.jpg: a tight crop of the reception photo, the clinic sign and Gemma (operator, 2026-10-16) */
.kv { background: #fff; border: 1px solid #E7E3DC; border-radius: 10px; padding: var(--sp-3); display: grid; gap: var(--sp-2); }
.kv .row { display: grid; gap: 2px; }
.kv .row b { color: var(--ink); font-size: 15px; }
.kv .row span { font-size: 14.5px; color: var(--body); }
@media (max-width: 899.98px) {
  .visit-cols { grid-template-columns: 1fr; gap: 12px; }
  .visit-side img { display: none; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; border-radius: 12px; padding: 16px; }
  .step .num { width: 44px; height: 44px; font-size: 19px; }
  .step b { font-size: 17px; margin-bottom: 3px; }
  .step p { font-size: 14.5px; }
  .kv { border-radius: 12px; padding: 16px 18px; }
  .kv .row b { font-size: 14.5px; }
  .kv .row span { font-size: 14px; }
}

/* ---------- prices ---------- */
.prices { background: #fff; border-top: 1px solid #E7E3DC; }
.first-appt { background: var(--ink); color: var(--paper); border-radius: 12px; padding: var(--sp-4); display: grid; grid-template-columns: 1fr auto; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-4); }
.first-appt h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.first-appt p { color: #C7D2CC; font-size: 15.5px; }
.first-appt .figure { border: 1.5px solid #55685F; background: rgba(255,255,255,.06); color: #C7D2CC; text-align: center; padding: var(--sp-2) var(--sp-3); border-radius: 6px; font-size: 14px; }
.first-appt .figure b { display: block; font-family: var(--font-display); font-size: 30px; color: #fff; letter-spacing: .06em; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.pgroup { border: 1px solid #E7E3DC; border-radius: 10px; padding: var(--sp-3); background: var(--paper); display: grid; gap: 10px; align-content: start; }
.pgroup h4 { font-family: var(--font-display); color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.prow { display: flex; justify-content: space-between; gap: var(--sp-2); font-size: 15px; border-bottom: 1px dotted #D8D2C8; padding-bottom: 8px; }
.prow:last-child { border-bottom: 0; padding-bottom: 0; }
.prow b { color: var(--ink); white-space: nowrap; }
.prow .save { color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; }
.price-note { margin-top: var(--sp-4); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); font-size: 15px; color: var(--ink-3); }
/* prices (mobile: featured card + accordions) */
@media (max-width: 899.98px) {
  .prices { background: none; border-top: 0; }
  .first-appt { grid-template-columns: 1fr; padding: 20px; gap: 12px; margin-bottom: 16px; }
  .first-appt h3 { font-size: 21px; }
  .first-appt p { font-size: 14.5px; }
  .price-note { flex-direction: column; align-items: flex-start; }
}
details.acc { background: #fff; border: 1px solid #E7E3DC; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 8px 18px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 16px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; color: var(--accent); font-size: 22px; font-family: var(--font-body); }
details.acc[open] summary::after { content: "\2212"; }
details.acc .rows { padding: 0 18px 14px; display: grid; gap: 10px; }
details.acc .rows p { font-size: 14.5px; }
details.acc .prow { padding-bottom: 8px; }

/* ---------- reviews ---------- */
.reviews .wrap { display: grid; gap: var(--sp-5); }
/* straight after "Your first visit" on the same background: one section's spacing between them, not two (operator, 2026-10-15) */
#first-visit + #reviews { padding-top: 0; }
.rev-head { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: center; }
.rev-head .rev-go { margin-top: 16px; } /* under the copy (operator, 2026-10-15) */
.rev-score { font-family: var(--font-display); font-size: 84px; font-weight: 700; color: var(--ink); line-height: 1; }
/* The rating in a card of its own so it stands out: a glow in the section's own warm paper
   tone (operator: not the green), gold stars (operator, 2026-10-16) */
.rev-head { background: #fff radial-gradient(circle at 100% 0%, #EDE8DF 0, rgba(237, 232, 223, 0) 55%); border: 1px solid #E7E3DC; border-radius: 14px; padding: var(--sp-5) var(--sp-5); box-shadow: 0 10px 30px rgba(34, 51, 46, .08); }
.rev-head .stars { color: #E9A100; letter-spacing: 2px; }
.rev-head .rev-score.only-d { font-size: 112px; padding-right: var(--sp-4); border-right: 1px solid #E7E3DC; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.rev-card { background: #fff; border: 1px solid #E7E3DC; border-radius: 10px; padding: var(--sp-3); display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: var(--sp-2); }
.rev-card p { font-size: 15px; }
.rev-card .who { font-size: 13.5px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 899.98px) {
  .reviews { background: #fff; border-top: 1px solid #E7E3DC; border-bottom: 1px solid #E7E3DC; }
  .reviews .wrap { gap: var(--sp-3); }
  .rev-head { display: block; padding: var(--sp-4) var(--sp-3); }
  .rev-top { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
  .rev-score { font-size: 64px; }
  .rev-head h2 { font-size: 22px !important; }
  .rev-head .btn { width: 100%; margin-top: 16px; }
  .rev-grid { grid-template-columns: 1fr; }
  .rev-card { grid-template-rows: auto; grid-row: auto; }
}

/* ---------- gym ---------- */
.gym { background: var(--ink); color: var(--paper); }
.gym .wrap { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: var(--sp-6); align-items: center; padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
.gym .eyebrow { color: #E8B4AE; }
.gym h2 { color: #fff; font-size: var(--step-4); }
.gym p { color: #C7D2CC; font-size: var(--step-0); }
.gym img { width: 100%; height: 380px; object-fit: cover; border-radius: 10px; }
.gym .col { display: grid; gap: var(--sp-3); justify-items: start; }
.gym .gym-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.gym .btn-ghost { border-color: #55685F; color: #fff; }
.gym .btn-ghost:hover { border-color: #E8B4AE; color: #E8B4AE; }
@media (max-width: 899.98px) {
  .gym .wrap { display: block; padding: 0; max-width: none; }
  .gym img { height: 200px; border-radius: 0; }
  .gym .col { padding: 28px 20px 40px; gap: 14px; justify-items: stretch; }
  .gym .gym-ctas { flex-direction: column; gap: 10px; }
  .gym .gym-ctas .btn { width: 100%; }
  .gym h2 { font-size: 28px; }
  .gym p { font-size: 15px; }
}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.qa { background: #fff; border: 1px solid #E7E3DC; border-radius: 10px; padding: var(--sp-3); display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 8px; }
.qa b { font-family: var(--font-display); color: var(--ink); font-size: 18px; font-weight: 700; }
.qa p { font-size: 15px; }

/* ---------- find us ---------- */
.find { background: #fff; border-top: 1px solid #E7E3DC; }
.find .cols { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: var(--sp-5); align-items: start; }
.find .details { display: grid; gap: var(--sp-3); }
.find .details .row b, .details-card .row b { display: block; color: var(--ink); font-size: 15px; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.find .details .row span, .find .details .row a { font-size: 15.5px; }
.map-card { border: 1px solid #E7E3DC; border-radius: 10px; overflow: hidden; background: var(--paper); }
.map-card svg, .map-card .map-img { width: 100%; height: auto; display: block; }
.map-card { border-radius: 16px; box-shadow: 0 1px 2px rgba(34, 51, 46, .05), 0 16px 34px -22px rgba(34, 51, 46, .35); background: #F1EFE9; }
.map-card .cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-2); padding: 14px 16px 14px 20px; border-top: 1px solid #E7E3DC; background: #fff; }
.map-card .map-go { flex: none; min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
.details-card { background: #fff; border: 1px solid #E7E3DC; border-radius: 12px; padding: 18px; display: grid; gap: 14px; }
.details-card .row b { font-size: 12.5px; margin-bottom: 2px; }

/* enquiry form - every control themed, no browser defaults (v1.75.0) */
.enq { background: var(--paper); border: 1px solid #E7E3DC; border-radius: 10px; padding: var(--sp-3); display: grid; gap: var(--sp-2); }
.enq h3 { font-size: 21px; }
.enq label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: grid; gap: 5px; }
.enq input, .enq textarea { font-family: var(--font-body); font-size: 16px; padding: 12px; border: 1px solid #CFC9BF; border-radius: 6px; background: #fff; color: var(--body); width: 100%; -webkit-appearance: none; appearance: none; }
.enq input:hover, .enq textarea:hover { border-color: var(--ink-3); }
.enq input:focus-visible, .enq textarea:focus-visible { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(62,90,82,.18); }
.enq input.err, .enq textarea.err { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,51,44,.14); }
.enq input:disabled, .enq textarea:disabled, .enq .btn[aria-disabled="true"] { opacity: .55; }
.enq textarea { min-height: 88px; resize: vertical; }
.enq small { color: var(--ink-3); font-size: 13px; }
.enq ::placeholder { color: #9AA69F; opacity: 1; }
.enq .form-msg { font-size: 14.5px; font-weight: 700; border-radius: 6px; padding: 10px 12px; }
.enq .form-msg.ok { background: #E4EAE7; color: var(--ink-2); }
.enq .form-msg.fail { background: #F6E4E2; color: var(--accent); }
.enq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* /contact (2026-10-16): the topic select themed like the inputs, with its own chevron */
.enq select { font-family: var(--font-body); font-size: 16px; padding: 12px 40px 12px 12px; border: 1px solid #CFC9BF; border-radius: 6px; color: var(--body); width: 100%;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233E5A52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; }
.enq select:hover { border-color: var(--ink-3); }
.enq select:focus-visible { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(62,90,82,.18); }
.enq input[aria-invalid="true"], .enq textarea[aria-invalid="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,51,44,.14); }
.enq .form-msg:empty { display: none; }

/* ---------- the site's one dropdown (js/select.js, operator 2026-10-27: "no default dropdown ever").
   The <select> stays in the form, invisible under the button; the open list floats on the body in
   the site's palette, and below 600px it is a sheet from the bottom of the screen. ---------- */
.ux-select { position: relative; display: block; width: 100%; }
.ux-select > select.ux-select-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.ux-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; margin: 0;
  font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.35; color: var(--body); text-align: left;
  padding: 12px 14px 12px 12px; border: 1px solid #CFC9BF; border-radius: 6px; background: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, box-shadow .15s ease; }
.ux-select-trigger:hover { border-color: var(--ink-3); }
.ux-select-trigger:focus-visible, .ux-select.is-open .ux-select-trigger { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(62,90,82,.18); }
.ux-select-trigger.is-invalid { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,51,44,.14); }
.ux-select-trigger:disabled { opacity: .55; cursor: not-allowed; }
.ux-select-trigger.is-placeholder .ux-select-value { color: #7D8A84; }
.ux-select-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux-select-caret { flex: none; color: var(--ink-2); transition: transform .18s ease; }
.ux-select.is-open .ux-select-caret { transform: rotate(180deg); }
.ux-select-labeltext { display: block; }

.ux-select-list { position: fixed; z-index: 1000; box-sizing: border-box; background: #fff; border: 1px solid #DCD6CC; border-radius: 10px;
  box-shadow: 0 2px 4px rgba(34,51,46,.06), 0 18px 40px -12px rgba(34,51,46,.28); font-family: var(--font-body); overflow: hidden;
  animation: ux-select-in .14s ease-out; }
.ux-select-list.is-up { animation-name: ux-select-in-up; }
.ux-select-list[hidden], .ux-select-scrim[hidden], .ux-select-head[hidden] { display: none; }
.ux-select-list:focus { outline: none; }
.ux-select-options { overflow-y: auto; overscroll-behavior: contain; padding: 6px; max-height: 320px; }
.ux-select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 7px;
  font-size: 15.5px; line-height: 1.3; color: var(--body); cursor: pointer; user-select: none; -webkit-user-select: none; }
.ux-select-option + .ux-select-option { margin-top: 2px; }
.ux-select-option.is-placeholder { color: #7D8A84; }
.ux-select-option.is-active { background: var(--paper); color: var(--ink); }
.ux-select-option.is-selected { background: #EEF3F0; color: var(--ink); font-weight: 700; }
.ux-select-option.is-selected.is-active { background: #E2EBE6; }
.ux-select-option[aria-disabled="true"] { color: #A9B2AE; cursor: default; background: none; }
.ux-select-tick { flex: none; color: var(--ink-2); visibility: hidden; }
.ux-select-option.is-selected .ux-select-tick { visibility: visible; }
.ux-select-group { padding: 10px 12px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ux-select-head { padding: 18px 20px 6px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.ux-select-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(34,51,46,.38); animation: ux-select-fade .18s ease-out; }
@keyframes ux-select-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes ux-select-in-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes ux-select-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ux-select-sheet { from { transform: translateY(100%); } to { transform: none; } }
/* Phones: a sheet from the bottom, full width, every row 48px. */
.ux-select-list.is-sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 72vh; max-height: 72dvh; display: flex; flex-direction: column;
  border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(34,51,46,.24); animation: ux-select-sheet .22s cubic-bezier(.2,.8,.2,1);
  padding-bottom: env(safe-area-inset-bottom); }
.ux-select-list.is-sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: #D9D4CB; margin: 10px auto 0; flex: none; }
.ux-select-list.is-sheet .ux-select-options { flex: 1 1 auto; min-height: 0; max-height: none; padding: 6px 10px 14px; }
.ux-select-list.is-sheet .ux-select-option { min-height: 48px; font-size: 16px; padding: 12px 14px; }
@media (prefers-reduced-motion: reduce) {
  .ux-select-list, .ux-select-list.is-sheet, .ux-select-scrim { animation: none; }
  .ux-select-caret, .ux-select-trigger { transition: none; }
}
/* ---------- private blood tests (homepage, operator 2026-10-05) ---------- */
.blood { background: #fff; border-top: 1px solid #E7E3DC; }
.blood .wrap { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: var(--sp-6); align-items: center; }
.blood-media img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 893; object-fit: cover; border-radius: 16px; box-shadow: 0 1px 2px rgba(34, 51, 46, .05), 0 18px 40px -24px rgba(34, 51, 46, .4); }
.blood-copy { display: grid; gap: var(--sp-3); justify-items: start; }
.blood-copy h2 { font-size: var(--step-4); }
.blood-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.blood-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.blood-steps .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.blood-steps strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16px; margin-top: 5px; }
.blood-steps span { font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 899.98px) {
  .blood .wrap { grid-template-columns: 1fr; gap: 24px; }
  .blood-copy h2 { font-size: 28px; }
  .blood-steps { grid-template-columns: 1fr; gap: 12px; }
  .blood-copy .btn { width: 100%; }
  .map-card .cap { flex-direction: column; align-items: stretch; text-align: left; }
  .map-card .map-go { width: 100%; }
}
@media (max-width: 899.98px) {
  .find { border-top: 1px solid #E7E3DC; }
  .find .cols { grid-template-columns: 1fr; gap: 0; }
  .map-card { border-radius: 12px; margin-top: 14px; background: #EFEDE7; }
  .map-card .cap { font-size: 12.5px; padding: 9px 14px; }
  .enq { background: #fff; border-radius: 12px; padding: 18px; margin-top: 14px; }
  .enq h3 { font-size: 19px; }
  .enq input, .enq textarea { padding: 13px; border-radius: 8px; }
  .enq .ux-select-trigger { padding: 13px 14px 13px 13px; border-radius: 8px; }
  .enq textarea { min-height: 80px; }
}

/* ---------- footer ---------- */
footer { background: var(--ink); color: #C7D2CC; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--sp-5); padding-top: var(--sp-6); padding-bottom: var(--sp-4); }
footer h5 { font-family: var(--font-display); color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--sp-2); }
footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
footer a { color: #C7D2CC; text-decoration: none; font-size: 15px; }
footer a:hover { color: #fff; }
footer .wordmark .wm1 { color: #fff; }
footer .wordmark .wm2 { color: #E8B4AE; }
.foot-base { border-top: 1px solid #38493F; }
.foot-base .wrap { display: flex; justify-content: space-between; padding-top: var(--sp-3); padding-bottom: var(--sp-3); font-size: 13.5px; color: #8DA098; }
@media (max-width: 899.98px) {
  footer .wrap { grid-template-columns: 1fr; gap: 18px; padding: 36px 20px 24px; font-size: 14px; }
  .foot-base .wrap { flex-direction: column; gap: 4px; font-size: 12.5px; }
}

/* ---------- section order: the mobile composition reorders the page ----------
   Desktop: hero, trust, conditions, services, team, visit, prices, reviews,
   gym, faq, find, footer. Mobile: prices move up to sit directly after
   services (design.md section 8); team and visit follow, then reviews. */
main { display: flex; flex-direction: column; }
main > * { min-width: 0; }
@media (max-width: 899.98px) {
  #conditions { order: 1; }
  #treatments { order: 2; }
  #prices { order: 3; }
  #team { order: 4; }
  #first-visit { order: 5; }
  #reviews { order: 6; }
  #blood-tests { order: 7; }
  #gym { order: 7; }
  #faq { order: 8; }
  #contact { order: 9; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; gap: 10px; }
  .sec-head h2 { font-size: 28px; }
  .eyebrow { font-size: 11px; letter-spacing: .15em; }
  .btn { min-height: 52px; padding: 0 22px; border-radius: 8px; }
  .team { border-top: 1px solid #E7E3DC; border-bottom: 1px solid #E7E3DC; }
  .team .wrap.rail-wrap { padding: 0; max-width: none; }
}

/* ---------- motion: subtle rise on section entry, once, JS-gated ----------
   Without JS, or with reduced motion, everything is simply visible. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease var(--rd, 0ms), transform .55s cubic-bezier(.2, .7, .2, 1) var(--rd, 0ms); }
  html.js .reveal.in { opacity: 1; transform: none; }
  .svc, .svc-m, .qa, .step, .pgroup, .rev-card { transition: box-shadow .2s ease, transform .2s ease; }
  .svc:hover, .qa:hover, .pgroup:hover, .rev-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,51,46,.10); }
  .btn { transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}

/* No width jumps (house 1.80.0): a button's labels share one grid cell, so it
   is always as wide as its longest state; only the current one shows. */
.lbls { display: inline-grid; }
.lbls > span { grid-area: 1 / 1; text-align: center; }
.lbls > span:not(.on) { visibility: hidden; }

/* Homepage team (2026-10-15): small round portraits in a grid beside the heading, after Mobbin's
   team sections (Craft, Customer.io); each opens that person's tab on /team. Only people with a photo. */
.team-v2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--sp-6); align-items: center; }
.team-v2 .sec-head { margin: 0; }
.team-v2 .team-all { justify-self: start; margin-top: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; } /* rows of four: no orphan */
.tg-person { display: grid; justify-items: center; text-align: center; gap: 4px; text-decoration: none; color: inherit; padding: 6px; border-radius: 14px; }
.tg-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #E4EAE7;
  border: 3px solid #fff; box-shadow: 0 0 0 1px #E7E3DC, 0 10px 22px -14px rgba(34, 51, 46, .5); margin-bottom: 8px; transition: transform .18s ease; }
.tg-person b { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.tg-person .tg-role { font-size: 13.5px; color: var(--accent); font-weight: 700; }
.tg-person .tg-cred { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-person:hover img { transform: translateY(-2px); }
.tg-person:hover b { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .tg-person img { transition: none; } .tg-person:hover img { transform: none; } }
/* The team in a card of its own so it stands out, like the reviews card: warm paper tone on the
   white section, a soft glow and shadow; sized to the content column (operator, 2026-10-16) */
.team .team-v2 { box-sizing: border-box; width: calc(100% - 40px); max-width: 1120px; padding: var(--sp-5);
  background: var(--paper) radial-gradient(circle at 100% 0%, #EDE8DF 0, rgba(237, 232, 223, 0) 55%);
  border: 1px solid #E7E3DC; border-radius: 18px; box-shadow: 0 10px 30px rgba(34, 51, 46, .08); }
/* Prices sits straight over the team on desktop: no double section gap between them (operator, 2026-10-16) */
@media (min-width: 900px) { .prices { padding-bottom: var(--sp-5); } .team { padding-top: 0; } }
@media (max-width: 899.98px) {
  .team .team-v2 { padding: 24px 18px; border-radius: 14px; }
  .team-v2 { grid-template-columns: 1fr; gap: 22px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .tg-person img { width: 80px; height: 80px; }
  .tg-person b { font-size: 16px; }
  .team-v2 .team-all { width: 100%; }
}

/* ---------- the cookie choice (public/js/consent.js, 2026-10-21) ----------
   A white card in the clinic green: one wide, low card along the foot of a laptop screen (low enough
   to clear the hero's buttons), a card along the foot of a phone. Accept and Decline are the same
   button, side by side - neither is the "easy" one. --consent-h is how much of the screen the card
   covers: the footer gains that much room so nothing stays hidden under it, and /book's phone bar
   rides above it, so the booking buttons are never covered. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.consent { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(1120px, calc(100vw - 48px));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 4px; align-items: center;
  background: #fff; border: 1px solid #E7E3DC; border-top: 4px solid var(--ink-2); border-radius: 18px; padding: 16px 24px 18px;
  box-shadow: 0 18px 48px rgba(34, 51, 46, .22); }
.consent:focus { outline: none; }
.consent:focus-visible { outline: 3px solid var(--ink-2); outline-offset: 3px; }
.consent h2 { font-size: 18px; grid-column: 1; }
.consent p { font-size: 15px; line-height: 1.5; grid-column: 1; }
.consent-actions { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent-actions .btn { padding: 12px 18px; min-width: 132px; }
.consent button.btn, .cookie-choice button.btn { border: 0; cursor: pointer; font-family: var(--font-body); }
html.consent-open body > footer { padding-bottom: var(--consent-h, 0px); }
@media (max-width: 899.98px) {
  .consent { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none; width: auto;
    grid-template-columns: 1fr; row-gap: 8px; padding: 16px 18px; border-radius: 14px; }
  .consent h2 { font-size: 16px; }
  .consent p { font-size: 14px; line-height: 1.45; }
  .consent-actions { grid-column: 1; grid-row: auto; margin-top: 2px; }
  .consent-actions .btn { min-width: 0; }
}
@media print { .consent { display: none !important; } }
/* "Cookie settings" at the foot of every page: a button, styled as the footer's own small print */
.foot-base .cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; text-align: left; }
.foot-base .cookie-link:hover { color: #fff; }
/* the cookies page's "your choice" card */
.cookie-choice .cc-state { font-weight: 700; color: var(--ink); }
.cookie-choice .cc-actions .btn { min-width: 140px; }

/* ---------- the member's account in the header (operator, 2026-11-02: "we need a log in icon/button on the site
   header"; 2026-11-03: "remove bOOK NOw not sign in") - on a computer the header's one button, a person icon and
   "Sign in" where Book now was; on a phone an icon button beside Call (.icon-btn). Both open /account, which asks to
   sign in first when needed. */
.head-account { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid #E7E3DC;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.head-account:hover { border-color: var(--ink); background: #F7F5F1; }
.head-account svg { flex: none; }
@media (min-width: 900px) and (max-width: 1099.98px) { .head-account { height: 44px; padding: 0 14px 0 11px; font-size: 14px; } }

/* ---------- the app feel across the site (operator, 2026-11-03: "everything needs to have this app like feeling,
   confirmations, nice animations, success messages, transitions, fade ins and out. need to feel premium and fluid";
   "this fluid feel goes across the whole site"). Every page fades into the next with the header held still (the
   browser's own cross-page transitions; a browser without them changes page as before); every button and tile
   answers a press; cards rise into view (site.js). Nothing moves for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .util { view-transition-name: site-util; }
  header.main { view-transition-name: site-head; }
  .m-head { view-transition-name: site-mhead; }
  ::view-transition-old(root) { animation: ubx-page-out .22s ease both; }
  ::view-transition-new(root) { animation: ubx-page-in .42s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ubx-page-out { to { opacity: 0; transform: translateY(-6px); } }
  @keyframes ubx-page-in { from { opacity: 0; transform: translateY(12px); } }
  .btn, .icon-btn, .head-account, .bk-btn, .ua-btn, button { transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s cubic-bezier(.2, .7, .2, 1); }
  .btn:active, .icon-btn:active, .head-account:active, .bk-btn:active, .ua-btn:active, .ua-pagetabs button:active, .ua-method:active { transform: scale(.97); }
  a.svc:active, a.svc-m:active, .nf-card:active, .tile:active { transform: scale(.985); }
}

/* ---------- signed in: the profile icon and its menu (account-menu.js, operator 2026-11-03) ----------
   Signed out stays the outlined "Sign in"; signed in is a filled circle with the initials and a green dot, the
   first name beside it on a computer, and a menu under it. */
/* Signed in, before account-menu.js has run: the same button, drawn from the <head> line's --acct-ini and
   --acct-first (operator, 2026-11-06: no "Sign in" on a reload). The dot's green mark is painted in. */
.acct-in .head-account:not(.is-in), .acct-in .m-head a.icon-btn[href="/account"]:not(.is-in) { color: var(--ink); font-size: 0; }
.acct-in .head-account:not(.is-in) > svg, .acct-in .m-head a.icon-btn[href="/account"]:not(.is-in) > svg { display: none; }
.acct-in .head-account:not(.is-in) { gap: 0; padding: 0 35px 0 5px; border-color: #D9D4CB;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6B65' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px 14px; }
.acct-in .head-account:not(.is-in)::before, .acct-in .m-head a.icon-btn[href="/account"]:not(.is-in)::before { content: var(--acct-ini, ""); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font: 800 14px var(--font-display); letter-spacing: .02em;
  background: radial-gradient(circle at calc(100% - 5.5px) calc(100% - 5.5px), #3FA36B 0 3.5px, #fff 4px 5.5px, transparent 6px), var(--ink); }
.acct-in .m-head a.icon-btn[href="/account"]:not(.is-in)::before { width: 44px; height: 44px; }
.acct-in .head-account:not(.is-in)::after { content: var(--acct-first, ""); margin-left: 9px; font-weight: 800; font-size: 15px; }
.acct-in .m-head a.icon-btn[href="/account"]:not(.is-in) { padding: 0; border: 0; background: none; }
.head-account.is-in, .icon-btn.is-in { cursor: pointer; font: inherit; }
.head-account.is-in { gap: 9px; padding: 0 12px 0 5px; border-color: #D9D4CB; background: #fff; color: var(--ink); }
.head-account.is-in[aria-expanded="true"] { border-color: var(--ink); background: #F7F5F1; }
.acct-dot { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; font: 800 14px var(--font-display); letter-spacing: .02em; }
.acct-dot::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #3FA36B; border: 2px solid #fff; }
.acct-dot.is-big { width: 46px; height: 46px; font-size: 16px; }
.acct-dot.is-big::after { display: none; }
.acct-name { font-weight: 800; font-size: 15px; }
.acct-chev { display: inline-grid; color: var(--ink-3); transition: transform .2s ease; }
.head-account.is-in[aria-expanded="true"] .acct-chev { transform: rotate(180deg); }
.icon-btn.is-in { padding: 0; border: 0; background: none; }
.icon-btn.is-in .acct-dot { width: 44px; height: 44px; }
.acct-menu { position: fixed; z-index: 1200; box-sizing: border-box; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid #E7E3DC;
  box-shadow: 0 24px 60px -18px rgba(23, 36, 32, .4), 0 2px 6px rgba(23, 36, 32, .08); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .2, 1); }
.acct-menu.is-open { opacity: 1; transform: none; }
.acct-menu-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid #EEEAE3; }
.acct-who { display: grid; gap: 1px; min-width: 0; }
.acct-who b { color: var(--ink); font-size: 15.5px; }
.acct-who span { color: var(--ink-3); font-size: 13px; overflow-wrap: anywhere; }
.acct-item { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 0; border-radius: 11px; background: none;
  color: var(--ink); font: 700 15px var(--font-body); text-decoration: none; text-align: left; cursor: pointer; }
.acct-item svg { color: var(--ink-3); flex: none; }
.acct-item:hover, .acct-item:focus-visible { background: #F3F1EC; outline: none; }
.acct-item.is-out { color: #96261F; }
.acct-item.is-out svg { color: #96261F; }
.acct-sep { height: 1px; margin: 4px 8px; background: #EEEAE3; }
@media (prefers-reduced-motion: reduce) { .acct-menu, .acct-chev { transition: none; } }
