/* Belle Vie Medical Spa — Hamburg, Lexington KY
   Palette sampled from the practice's own reception millwork, oak floor and brass lanterns.
   */

:root {
  --ink: #14201f;
  --ink-soft: #45524f;
  --ink-faint: #5f6c6a;
  --paper: #f6f2ec;
  --paper-2: #efe9e0;
  --white: #fffdfa;
  --aqua: #6bb2b8;
  --aqua-deep: #2f7075;
  --aqua-wash: #dceceb;
  --brass: #a8823f;
  --brass-rule: #b9954f;
  --line: #ddd5c9;
  --line-strong: #c6bcac;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.5vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 4.4rem);
  --step-5: clamp(2.8rem, 1.8rem + 5vw, 6.2rem);

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.75rem;
  --s4: 3rem;
  --s5: 5rem;
  --s6: clamp(4.5rem, 9vw, 9rem);

  --measure: 60ch;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 1400px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

/* overflow-x must be `clip`, not `hidden`: `hidden` makes this a scroll
   container, which silently kills `position: sticky` on the header. `clip`
   blocks sideways scrolling without creating one. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.nav-open, html.nav-open body { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* height:auto is load-bearing — the width/height attributes on every <img>
   otherwise win as presentational hints and the per-component aspect-ratio
   never applies, which renders every photo at its raw pixel height. */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.018em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s2);
}
.skip:focus { left: 0; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin: 0;
}

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-brass { border: 0; border-top: 1px solid var(--brass); opacity: 0.5; margin: 0; }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: 500 var(--step--1)/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms cubic-bezier(0.22,1,0.36,1), color 180ms cubic-bezier(0.22,1,0.36,1),
    border-color 180ms cubic-bezier(0.22,1,0.36,1), box-shadow 180ms cubic-bezier(0.22,1,0.36,1),
    transform 120ms cubic-bezier(0.22,1,0.36,1);
}
.btn:hover { background: var(--aqua-deep); border-color: var(--aqua-deep); }
.btn:active { transform: scale(0.98); box-shadow: inset 0 0 0 1px var(--paper); }

/* Gauge — hairline frame, accent rules draw in from top-left / bottom-right on hover.
   Flat by design: no fill swap, no glow — press cuts an inset accent ring. */
.btn-quiet {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-quiet::before, .btn-quiet::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--aqua-deep);
  transform: scaleX(0);
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1);
}
.btn-quiet::before { top: 0; transform-origin: left center; }
.btn-quiet::after { bottom: 0; transform-origin: right center; }
.btn-quiet:hover { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover::before, .btn-quiet:hover::after { transform: scaleX(1); }
.btn-quiet:active { transform: scale(0.98); box-shadow: inset 0 0 0 1px var(--aqua-deep); }

.link-plain {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color 200ms cubic-bezier(0.22,1,0.36,1), color 200ms cubic-bezier(0.22,1,0.36,1);
}
.link-plain:hover { border-color: var(--aqua-deep); color: var(--aqua-deep); }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 76px;
  padding-block: 0.75rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex: none; }
.brand img { width: 104px; height: auto; }
.brand span {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint); border-left: 1px solid var(--line-strong); padding-left: 0.75rem;
  line-height: 1.3; max-width: 8ch;
}

.nav { display: flex; gap: var(--s3); margin-left: auto; }
.nav a {
  position: relative;
  text-decoration: none; font-size: var(--step--1); letter-spacing: 0.06em;
  color: var(--ink-soft); padding-block: 0.4rem;
  transition: color 200ms cubic-bezier(0.22,1,0.36,1);
}
/* Centre draw — rule opens from the middle outward on hover, closes back to it on leave. */
.nav a::after {
  content: "";
  position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px;
  background: var(--aqua-deep);
  transition: left 260ms cubic-bezier(0.22,1,0.36,1), right 260ms cubic-bezier(0.22,1,0.36,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { left: 0; right: 0; }

.head-tel {
  font-size: var(--step--1); letter-spacing: 0.06em; text-decoration: none;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}

@media (max-width: 940px) {
  .nav { display: none; }
  .head-in { gap: var(--s2); }
}
@media (max-width: 560px) {
  .head-tel { display: none; }
  .brand span { display: none; }
  .head-in { min-height: 64px; }
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(3rem, 7vw, 6.5rem) 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--step-5);
  margin-block: 1.4rem 0;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 8, "WONK" 1, "opsz" 144;
  color: var(--aqua-deep);
}

.hero-sub {
  max-width: 46ch;
  margin-top: var(--s3);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s2) var(--s3);
  margin-top: var(--s4);
}
.hero-cta .tel {
  font-size: var(--step--1); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}
.hero-cta .tel:hover { color: var(--ink); border-color: var(--ink); }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  max-height: 68vh;
  object-fit: cover;
  object-position: 42% 52%;
  border-radius: var(--radius);
}
.hero-figure figcaption {
  margin-top: 0.9rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--brass);
  font-size: var(--step--1);
  color: var(--ink-faint);
  max-width: 36ch;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 3 / 2; object-position: 60% 42%; }
  .hero-figure figcaption { position: static; padding: 0.75rem 0 0; max-width: none; }
}

/* ---------- credibility strip ---------- */

.creds {
  margin-top: var(--s6);
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.creds > div {
  padding: var(--s3) var(--s2) var(--s3) 0;
  border-left: 1px solid var(--line);
  padding-left: var(--s3);
}
.creds > div:first-child { border-left: 0; padding-left: 0; }
.creds dt {
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1;
  font-variation-settings: "opsz" 60;
  font-variant-numeric: tabular-nums;
}
.creds dd {
  margin: 0.6rem 0 0;
  font-size: var(--step--1);
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  line-height: 1.45;
  max-width: 24ch;
}
@media (max-width: 780px) {
  .creds { grid-template-columns: 1fr 1fr; }
  .creds > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .creds > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- hero support line ---------- */

.hero-tel { margin-top: var(--s3); font-size: var(--step--1); color: var(--ink-faint); letter-spacing: 0.02em; }
.hero-tel a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.hero-tel a:hover { border-color: var(--ink); }

/* ---------- concern router ---------- */

/* The hero, this and the price list were all sitting on paper or near-paper,
   so the top of the page read as one continuous field. Stepping this band
   half a tone deeper separates the three without introducing colour:
   paper -> paper-2 -> white. */
.concerns {
  padding-block: var(--s5);
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.brandlist {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  max-width: 44ch;
}
.brandlist li {
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-right: 0.9rem;
  margin-right: 0.9rem;
  border-right: 1px solid var(--line-strong);
  line-height: 1.3;
}
.brandlist li:last-child { border-right: 0; }
.concern-list {
  list-style: none;
  /* air between the heading and the list's top rule, which otherwise reads
     like a table divider directly under it */
  margin: var(--s4) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
}
.concern-list li { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.concern-list li:first-child { border-left: 0; }
.concern-list a {
  display: flex;
  align-items: flex-end;
  min-height: 7rem;
  padding: var(--s3) var(--s2) var(--s3) var(--s3);
  text-decoration: none;
  font-family: var(--display);
  font-size: var(--step-1);
  font-variation-settings: "opsz" 40;
  line-height: 1.15;
  letter-spacing: -0.01em;
  transition: background-color 150ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.concern-list li:first-child a { padding-left: 0; }
.concern-list a:hover, .concern-list a:focus-visible { background: var(--aqua-wash); color: var(--aqua-deep); }

@media (max-width: 1000px) {
  .concern-list { grid-template-columns: 1fr 1fr; }
  .concern-list li { border-left: 0; }
  .concern-list a, .concern-list li:first-child a { min-height: 5.5rem; padding: var(--s2); }
}
@media (max-width: 560px) { .concern-list { grid-template-columns: 1fr; } }

/* ---------- generic section ---------- */

.section { padding-block: var(--s6); }
.section-head { max-width: 52ch; }
.section-head h2 { font-size: var(--step-4); margin-top: 1rem; }
.section-head p { margin-top: var(--s3); color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- treatment index ---------- */

.tx { background: var(--white); border-block: 1px solid var(--line); }

.filters {
  display: flex; flex-wrap: wrap; gap: var(--s1);
  margin-top: var(--s4);
}
.filters button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font: 500 var(--step--1)/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.7rem 1.05rem;
  min-height: 44px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-checked="true"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

.tx-list { margin: var(--s4) 0 0; }

.tx-group { margin-top: var(--s4); }
.tx-group[hidden] { display: none; }
.tx-group > h3 {
  font-size: var(--step--1);
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  font-weight: 500;
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--line-strong);
}

.tx-row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  gap: var(--s2) var(--s3);
  align-items: baseline;
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
}
.tx-row h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-1);
  font-variation-settings: "opsz" 40;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.tx-row p { color: var(--ink-soft); font-size: var(--step-0); line-height: 1.5; }
.tx-row .price {
  font-variant-numeric: tabular-nums;
  font-size: var(--step-0);
  white-space: nowrap;
  text-align: right;
  color: var(--ink);
}
.tx-row .price small {
  display: block;
  font-size: var(--step--1);
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}
.tx-row .price.consult { color: var(--ink-faint); font-style: italic; }

@media (max-width: 720px) {
  .tx-row {
    grid-template-columns: 1fr auto;
    row-gap: 0.2rem;
    padding-block: var(--s2);
  }
  .tx-row h4 { grid-column: 1; grid-row: 1; }
  .tx-row .price { grid-column: 2; grid-row: 1; }
  .tx-row p { grid-column: 1 / -1; grid-row: 2; }
}

.tx-note {
  margin-top: var(--s4);
  font-size: var(--step--1);
  color: var(--ink-faint);
  max-width: 62ch;
  line-height: 1.6;
}

/* ---------- tabs ----------
   Progressive enhancement: without JS every panel is visible and the tablist
   is hidden, so the page still reads as one long price list. site.js reveals
   the tablist and takes over. */

.tablist-wrap { display: none; }
.tabs[data-enhanced] .tablist-wrap {
  display: block;
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--line-strong);
}

.tablist { display: flex; }

.tablist button {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink-faint);
  font: 500 var(--step--1)/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  min-height: 48px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tablist button:first-child { padding-left: 0; }

/* centre-draw rule, same gesture as the primary nav */
.tablist button::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: -1px;
  height: 2px;
  background: var(--aqua-deep);
  transition: left 280ms cubic-bezier(0.22, 1, 0.36, 1), right 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tablist button:hover { color: var(--ink); }
.tablist button:hover::after { left: 0.6rem; right: 0.6rem; }
.tablist button:first-child:hover::after { left: 0; }

.tablist button[aria-selected="true"] { color: var(--aqua-deep); }
.tablist button[aria-selected="true"]::after { left: 0; right: 0; }
.tablist button:focus-visible { outline-offset: -3px; }

/* The tab label names the category, so the panel heading is redundant while a
   single category is showing. It comes back for View all — and when JS is off,
   where the tablist is hidden and these are the only labels. */
.panel-heading {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin: 0 0 var(--s2);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--line-strong);
}
.tabs[data-enhanced]:not([data-all]) .panel-heading { display: none; }
.tabs[data-all] .tabpanel + .tabpanel { margin-top: var(--s5); }

.tabpanel:focus { outline: none; }
.tabs[data-enhanced] .tabpanel[hidden] { display: none; }
.tabs[data-enhanced] .tabpanel { animation: bv-panel 340ms cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes bv-panel {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* unenhanced: panels stack, so each needs its own heading spacing */
.tabs:not([data-enhanced]) .tabpanel + .tabpanel { margin-top: var(--s5); }

/* Narrow: the row becomes a grid of cells rather than a scroll strip — the
   whole set stays visible and nothing scrolls sideways. */
@media (max-width: 720px) {
  .tabs[data-enhanced] .tablist-wrap { border-bottom: 0; }

  .tablist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .tablist button {
    padding: 0.95rem 0.9rem;
    letter-spacing: 0.08em;
    text-align: left;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .tablist button:first-child { padding-left: 0.9rem; }

  /* the centre-draw rule doesn't read in a grid cell; use a filled state */
  .tablist button::after { content: none; }
  .tablist button[aria-selected="true"] {
    background: var(--aqua-wash);
    color: var(--aqua-deep);
    box-shadow: inset 2px 0 0 var(--aqua-deep);
  }
}

/* ---------- price tables ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s4);
  text-align: left;
}
.ptable thead th {
  font: 500 var(--step--1)/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--line-strong);
  vertical-align: bottom;
}
.ptable thead th:last-child { text-align: right; }
.ptable tbody th {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-1);
  font-variation-settings: "opsz" 40;
  letter-spacing: -0.01em;
  line-height: 1.15;
  width: 16rem;
  padding: var(--s3) var(--s3) var(--s3) 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.ptable tbody td {
  padding: var(--s3) var(--s3) var(--s3) 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}
.ptable tbody td:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  width: 11rem;
}
.ptable td small { display: block; color: var(--ink-faint); font-size: var(--step--1); margin-top: 0.25rem; letter-spacing: 0.03em; }
.ptable td.consult { color: var(--ink-faint); font-style: italic; }

.sub {
  margin-top: var(--s5);
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

@media (max-width: 720px) {
  .ptable, .ptable tbody, .ptable tr, .ptable tbody th, .ptable tbody td { display: block; width: auto; }
  .ptable thead { display: none; }
  .ptable tbody tr { padding-block: var(--s3); border-bottom: 1px solid var(--line); }
  .ptable tbody th { padding: 0; border: 0; }
  .ptable tbody td { padding: 0.5rem 0 0; border: 0; }
  .ptable tbody td:last-child { text-align: left; padding-top: 0.6rem; }
  .ptable td small { display: inline; margin-left: 0.5rem; }
}

.honesty {
  margin-top: var(--s4);
  padding: var(--s3) var(--s3) var(--s3) var(--s3);
  border-left: 2px solid var(--aqua);
  background: var(--aqua-wash);
  max-width: 70ch;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.honesty h3 {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--aqua-deep);
}
.honesty p { margin-top: var(--s2); color: var(--ink-soft); line-height: 1.6; }

/* ---------- feature spread ---------- */

.spread-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.spread-figure figcaption {
  margin-top: 0.8rem;
  font-size: var(--step--1);
  color: var(--ink-faint);
  max-width: 40ch;
}

.reasons { margin: var(--s4) 0 0; padding: 0; list-style: none; counter-reset: r; }
.reasons li {
  counter-increment: r;
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--s2);
}
.reasons li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--display);
  font-size: var(--step-0);
  color: var(--aqua-deep);
  font-variant-numeric: tabular-nums;
}
.reasons h3 { font-size: var(--step-1); font-variation-settings: "opsz" 40; }
.reasons p { margin-top: 0.6rem; color: var(--ink-soft); }

/* ---------- team ---------- */

.team-grid {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3) var(--s2);
}
.team-grid figure { margin: 0; }
.team-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.03);
  border-radius: var(--radius);
  transition: filter 350ms ease;
}
.team-grid figure:hover img { filter: grayscale(0); }
.team-grid figcaption {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reviews ---------- */

.reviews { background: var(--aqua-wash); }
.review-grid {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.review-grid blockquote {
  margin: 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--aqua);
}
.review-grid p {
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.35;
  font-variation-settings: "opsz" 40, "SOFT" 4;
}
.review-grid cite {
  display: block;
  margin-top: var(--s3);
  font-style: normal;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--aqua-deep);
}
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- memberships ---------- */

.plans {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.plans > article {
  padding: var(--s4) var(--s3) var(--s4) 0;
  border-left: 1px solid var(--line);
  padding-left: var(--s3);
}
.plans > article:first-child { border-left: 0; padding-left: 0; }
.plans h3 { font-size: var(--step-2); font-variation-settings: "opsz" 60; }
.plans .plan-price {
  margin-top: var(--s2);
  font-size: var(--step-1);
  font-variant-numeric: tabular-nums;
  color: var(--aqua-deep);
}
.plans ul { margin: var(--s3) 0 0; padding: 0; list-style: none; }
.plans li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plans > article { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
}

.terms {
  margin-top: var(--s4);
  font-size: var(--step--1);
  color: var(--ink-faint);
  max-width: 70ch;
  line-height: 1.6;
}

/* ---------- faq ---------- */

.faq { margin-top: var(--s4); }
.faq details {
  border-top: 1px solid var(--line);
  padding-block: var(--s3);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: var(--step-1);
  font-variation-settings: "opsz" 40;
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua-deep); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: var(--s2); color: var(--ink-soft); max-width: var(--measure); }

/* ---------- visit ---------- */

.visit { background: var(--ink); color: var(--paper); }
.visit h2 { color: var(--white); }
.visit .eyebrow { color: var(--aqua); }
.visit a { color: var(--white); }
.visit .btn { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.visit .btn:hover { background: var(--white); border-color: var(--white); }
.visit .btn:active { box-shadow: inset 0 0 0 1px var(--ink); }
.visit .btn-quiet { color: var(--paper); border-color: rgba(255,255,255,0.32); background: transparent; }
.visit .btn-quiet::before, .visit .btn-quiet::after { background: var(--aqua); }
.visit .btn-quiet:hover { color: var(--white); border-color: rgba(255,255,255,0.32); }
.visit .link-plain:hover { color: var(--aqua); border-color: var(--aqua); }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}
.visit-grid h3 {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
  font-weight: 500;
}
.visit-grid p, .visit-grid td { color: #ddd9d1; }
.visit .section-head p { color: #ddd9d1; }
.why-more { margin-top: var(--s3); }

.close-cta-row {
  margin-top: var(--s4);
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  align-items: center;
}
.visit-grid > div > *:not(h3) { margin-top: var(--s2); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.hours th {
  text-align: left; font-weight: 400; padding: 0.45rem 0;
  color: #ddd9d1;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.hours td {
  text-align: right; padding: 0.45rem 0; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-foot { background: var(--ink); color: var(--paper); padding-block: var(--s4); border-top: 1px solid rgba(255,255,255,0.12); }
.foot-in { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; }
.foot-in p, .foot-in a { font-size: var(--step--1); color: #cfcbc3; }
.foot-in nav { display: flex; gap: var(--s2) var(--s3); flex-wrap: wrap; }
.foot-in a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot-in a:hover { color: var(--white); }

/* ---------- sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 45;
  display: none;
  gap: 1px;
  background: var(--line-strong);
  transform: translateY(110%);
  transition: transform 260ms ease;
}
.sticky-cta.on { transform: translateY(0); }
.sticky-cta a {
  position: relative;
  flex: 1;
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  text-decoration: none;
  overflow: hidden;
  font-size: var(--step--1); letter-spacing: 0.09em; text-transform: uppercase;
}
/* Gauge rule — accent hairline draws across the top edge on hover and press. */
.sticky-cta a::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 340ms cubic-bezier(0.22,1,0.36,1);
}
.sticky-cta a:hover::before,
.sticky-cta a:focus-visible::before,
.sticky-cta a:active::before { transform: scaleX(1); }

/* The rule is the whole interaction — no fill swap, no colour change. */
/* one rule colour across both buttons — the aqua from `.sticky-cta a::before`
   carries over, no override */
.sticky-cta a.primary { background: var(--aqua-deep); color: var(--white); }
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 56px; } }

/* ---------- photo treatment ----------
   Every photo sits on an offset aqua panel with a brass hairline behind it,
   the way a print would sit on a mount board. Hover pulls the mount in and
   eases the image up a hair. */

.ph {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow:
    0.85rem 0.85rem 0 -1px var(--aqua-wash),
    0.9rem 0.9rem 0 0 rgba(168, 130, 63, 0.34);
  transition: box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ph img {
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}
figure:hover > .ph {
  box-shadow:
    0.4rem 0.4rem 0 -1px var(--aqua-wash),
    0.45rem 0.45rem 0 0 rgba(168, 130, 63, 0.55);
}
figure:hover > .ph img { transform: scale(1.032); }

/* the headshot grid keeps the clip and the zoom but not the mount — eight
   offset panels in a four-up grid is noise, not a treatment */
.team-grid .ph { box-shadow: none; }

/* aqua wash that grazes across the image on hover */
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  /* neutral shine — an aqua tint here read as a blue wash over the photo */
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-60%);
  opacity: 0;
  pointer-events: none;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}
figure:hover > .ph::after { transform: translateX(60%); opacity: 1; }

/* ---------- hero portrait ----------
   The one signature moment: the photo is cut to a circle and mounted on a
   brass ring, with the caption riding a smaller disc that breaks the edge. */

.hero-figure {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}

.hero-figure .ph {
  border-radius: 50%;
  /* concentric mount rather than the offset panel the square photos use */
  box-shadow:
    0 0 0 clamp(8px, 1.1vw, 14px) var(--paper),
    0 0 0 calc(clamp(8px, 1.1vw, 14px) + 1px) var(--brass-rule);
}
.hero-figure img {
  aspect-ratio: 1;
  max-height: none;
  border-radius: 50%;
  object-position: 46% 46%;
}

/* No caption on the hero: the line beneath the CTAs already says
   consultations are free, and the credentials strip below carries the proof.
   The circle earns its place by being the only shape here. */

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ph::after { display: none; }
}

/* needs to outrank `.spread-figure img`, which would otherwise crop this
   portrait shot to 3/2 */
.spread-figure img.materials-img {
  aspect-ratio: 5 / 6;
  max-height: 560px;
  object-position: 50% 72%;
}

/* ---------- mobile menu ---------- */

.menu-toggle {
  display: none;
  flex: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.22,1,0.36,1), border-color 220ms cubic-bezier(0.22,1,0.36,1);
}
.menu-toggle-icon {
  display: block;
  position: relative;
  width: 18px;
  height: 12px;
  margin: 0 auto;
}
.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 260ms cubic-bezier(0.22,1,0.36,1), opacity 180ms ease, top 260ms cubic-bezier(0.22,1,0.36,1), background 220ms ease;
}
.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 5.25px; }
.menu-toggle-icon span:nth-child(3) { top: 10.5px; }
.menu-toggle.is-open { background: var(--ink); border-color: var(--ink); }
.menu-toggle.is-open .menu-toggle-icon span { background: var(--paper); }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -24px rgba(20, 32, 31, 0.45);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 240ms cubic-bezier(0.22,1,0.36,1), transform 240ms cubic-bezier(0.22,1,0.36,1), visibility 0ms linear 240ms;
}
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms cubic-bezier(0.22,1,0.36,1), transform 240ms cubic-bezier(0.22,1,0.36,1);
}
.mobile-nav a {
  padding: 1rem var(--gutter);
  text-decoration: none;
  font-size: var(--step-0);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

@media (max-width: 940px) {
  /* hamburger sits last in the bar; the phone number takes the free space
     so the tel + book + menu group is flush right */
  .menu-toggle { display: block; margin-left: var(--s1); }
  .head-in > .head-tel { margin-left: auto; }
  .site-head .head-in { position: relative; }
}

@media (max-width: 620px) {
  .site-head > .wrap > .btn { padding-inline: 1.1rem; }
}

@media (max-width: 560px) {
  .head-in > .btn { margin-left: auto; }
}

.sm-hide { margin-left: 0.4em; }
@media (max-width: 620px) { .sm-hide { display: none; } }

/* ---------- review fixes ---------- */

/* This sat at step-2 in ink-soft directly above step-1 links in full ink —
   24% apart, same face, same weight, and lighter than the list it introduces,
   so it read as the first row rather than the heading. */
.concern-lead {
  font-size: var(--step-3);
  font-variation-settings: "opsz" 72;
  max-width: 20ch;
  color: var(--ink);
}

.creds-lead dt { font-size: var(--step-3); }
.creds-lead dd { color: var(--ink-soft); }

.h-sm, .section-head h2.h-sm { font-size: var(--step-3); margin-top: 0.75rem; }

.terms {
  margin-top: var(--s4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: none;
}
.terms > div {
  padding: var(--s3) var(--s3) var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.terms dt {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  font-weight: 500;
}
.terms dd {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.55;
  max-width: 30ch;
}
.terms-tight { margin-top: var(--s3); border-top-color: var(--aqua); }
.terms-tight > div { border-bottom-color: color-mix(in srgb, var(--aqua) 55%, transparent); }

/* #memberships used to hold the terms list; both the extra bottom padding and
   the .terms rule were left behind when it moved to its own section, and the
   padding was stacking on .section's own var(--s6). */
