/* 21 Appointment Card: Larkspur Spine & Motion (sample)
   Re-skin: change the shared token layer below. Theme names map onto it. */
:root {
  /* Shared token layer (library-wide names) */
  --c-bg: #F3F6FA;          /* page */
  --c-surface: #FFFFFF;     /* cards, header, appointment card */
  --c-ink: #16294A;         /* text, outlines of the body chart */
  --c-muted: #4A5A75;       /* secondary text */
  --c-line: #BFD3EA;        /* ruled blue: decorative lines only */
  --c-line-strong: #62748F; /* form borders, chip borders (3:1+) */
  --c-accent: #1B3A6B;      /* buttons, links */
  --c-on-accent: #FFFFFF;
  --c-accent-2: #C8372D;    /* margin red: the card's red rule and the active zone only */
  --f-display: "Red Hat Display", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 6px;
  --r-lg: 10px;
  --r-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 40px; --s-6: 72px;

  /* Theme names mapped to the shared layer */
  --paper: var(--c-surface);
  --rule: var(--c-line);
  --margin-red: var(--c-accent-2);
  --row: 44px;              /* ruled-line spacing = tap-target height */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s-3); scroll-padding-bottom: 88px; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 18px/1.55 var(--f-body); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.sample { font-size: 13px; font-weight: 400; color: var(--c-muted); }

/* Touch polish (L7) */
a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

.skip { position: absolute; left: var(--s-3); top: -100px; z-index: 50; background: var(--c-surface); color: var(--c-ink); padding: 12px 16px; border-radius: var(--r-sm); }
.skip:focus { top: var(--s-2); }

.demo { background: var(--c-ink); color: #FFFFFF; font-size: 13px; line-height: 1.3; text-align: center; padding: 6px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-sm); border: 2px solid transparent; font: 700 17px/1.1 var(--f-display); text-decoration: none;
  transition: transform 120ms var(--ease-out), background-color 160ms ease, color 160ms ease; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--c-accent); color: var(--c-on-accent); }
.btn-line { background: var(--c-surface); color: var(--c-accent); border-color: var(--c-accent); }
.btn-lg { min-height: 56px; font-size: 18px; padding: 0 26px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-head { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.head-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav"; align-items: center; column-gap: var(--s-3); padding-top: 10px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); min-height: 48px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.bm-card { fill: var(--c-accent); }
.bm-v { fill: #FFFFFF; }
.bm-red { fill: #F2B8B2; }
.brand-name { font: 700 21px/1 var(--f-display); letter-spacing: -0.01em; display: flex; flex-direction: column; gap: 3px; }
.brand-sub { font: 600 14px/1 var(--f-display); color: var(--c-muted); letter-spacing: 0; }
.head-actions { grid-area: actions; display: flex; align-items: center; gap: var(--s-3); }
.head-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 16px/1 var(--f-display); color: var(--c-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.head-phone .i { color: var(--c-accent); }
.head-book { display: none; }
.site-nav { grid-area: nav; margin-inline: -16px; }
.site-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-inline: 8px; scroll-padding-inline: 16px;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 10px; white-space: nowrap; font: 600 16px/1 var(--f-display); color: var(--c-ink); text-decoration: none; }
/* Phones: all four section links visible at 375px, spread edge to edge (Book lives in the action bar below) */
@media (max-width: 759.98px) {
  .site-nav li:has(> a[href="#book"]) { display: none; }
  .site-nav ul { justify-content: space-between; gap: 0; padding-inline: 10px; -webkit-mask-image: none; mask-image: none; }
  .site-nav a { padding: 0 6px; }
}

/* ---------- Hero: the appointment card ---------- */
.hero { padding: var(--s-5) 0 48px; }
.hero-grid { display: grid; gap: var(--s-5); }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.1rem); letter-spacing: -0.02em; max-width: 13ch; }
.lede { margin-top: var(--s-3); font-size: 19px; color: var(--c-muted); max-width: 36ch; }
.cta-row { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 100%; }

.appt { background: var(--paper); border-radius: var(--r-sm); padding: 18px 22px 16px; max-width: 480px; width: 100%;
  box-shadow: 0 1px 0 var(--rule), 0 22px 44px -26px rgba(22, 41, 74, .45); }
.appt-print { font: 700 15px/1.25 var(--f-display); display: flex; flex-direction: column; gap: 2px; }
.appt-print span { font: 400 14px/1.3 var(--f-body); color: var(--c-muted); }
.appt-title { margin-top: 14px; font-size: 1.6rem; padding-bottom: 8px; border-bottom: 2px solid var(--margin-red); }
.appt-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
.appt-fields div { display: flex; align-items: baseline; gap: 10px; min-height: var(--row); padding-top: 13px; border-bottom: 1px solid var(--rule); min-width: 0; }
.appt-fields .wide { grid-column: 1 / -1; }
.appt-fields dt { font-size: 14px; color: var(--c-muted); flex: none; }
.appt-fields dd { font-weight: 700; color: var(--c-accent); line-height: 1.3; }
.appt-more { margin-top: 20px; font: 700 15px/1.3 var(--f-display); }
.appt-slots a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: var(--row);
  border-bottom: 1px solid var(--rule); color: var(--c-ink); text-decoration: none; font-size: 16px; }
.appt-slots a span:first-child { font-weight: 700; color: var(--c-accent); }
.appt-slots a span:last-child { color: var(--c-muted); font-size: 15px; text-align: right; }
.appt-fine { margin-top: 12px; font-size: 14px; color: var(--c-muted); }

/* ---------- Trust band ---------- */
.trust { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-block: 22px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list .i { width: 26px; height: 26px; color: var(--c-accent); margin-top: 1px; }
.trust-list p { font-size: 15px; line-height: 1.35; color: var(--c-muted); }
.trust-list strong { display: block; font: 700 17px/1.2 var(--f-display); color: var(--c-ink); margin-bottom: 2px; }

/* ---------- Signature: Where does it hurt? ---------- */
.where { padding: 56px 0; }
.where-grid { display: grid; gap: var(--s-4); }
.where-intro { margin-top: 10px; color: var(--c-muted); max-width: 40ch; }
.zones { border: 0; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zr, .slots input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-pill);
  background: var(--c-surface); font: 600 16px/1 var(--f-display); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.zr:checked + .chip { background: var(--margin-red); border-color: var(--margin-red); color: #FFFFFF; }
.zr:focus-visible + .chip { outline: 3px solid var(--c-accent); outline-offset: 3px; }

.chart { position: relative; width: min(100%, 310px); aspect-ratio: 380 / 446; margin: 18px auto 0; }
.chart-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fig-detail { fill: none; stroke: #8195B2; stroke-width: 1.5; stroke-linecap: round; }
.spine { stroke-dasharray: 3 6; }
.fig-label { font: 600 14px var(--f-display); fill: var(--c-muted); }
.hl { fill: rgba(200, 55, 45, .16); stroke: var(--margin-red); stroke-width: 1.5; stroke-dasharray: 4 3; opacity: 0; transition: opacity 200ms ease-out; }
.spot { position: absolute; left: calc(var(--x) / 380 * 100%); top: calc(var(--y) / 446 * 100%); width: 44px; height: 44px; translate: -50% -50%;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.spot::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c-ink); background: var(--c-surface);
  transition: transform 220ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, box-shadow 220ms var(--ease-out); }

.where:has(#z-neck:checked) :is(.hl-neck),
.where:has(#z-shoulder:checked) :is(.hl-shoulder),
.where:has(#z-back:checked) :is(.hl-back),
.where:has(#z-hip:checked) :is(.hl-hip),
.where:has(#z-knee:checked) :is(.hl-knee),
.where:has(#z-wrist:checked) :is(.hl-wrist) { opacity: 1; }
.where:has(#z-neck:checked) .spot[for="z-neck"]::before,
.where:has(#z-shoulder:checked) .spot[for="z-shoulder"]::before,
.where:has(#z-back:checked) .spot[for="z-back"]::before,
.where:has(#z-hip:checked) .spot[for="z-hip"]::before,
.where:has(#z-knee:checked) .spot[for="z-knee"]::before,
.where:has(#z-wrist:checked) .spot[for="z-wrist"]::before { background: var(--margin-red); border-color: var(--margin-red); transform: scale(1.3); box-shadow: 0 0 0 5px rgba(200, 55, 45, .18); }

/* No layout shift: on phones the six plans share one grid cell (as tall as the longest plan) and the picked one shows;
   from 760px all six sit in a grid and the picked one is marked in place, so no card ever moves. */
.plans { display: grid; gap: 12px; margin-top: 24px; }
.plan { grid-area: 1 / 1; min-width: 0; visibility: hidden; background: var(--c-surface); border: 1px solid var(--c-line); border-top: 4px solid var(--c-line);
  border-radius: var(--r-sm); padding: 16px 18px 18px; transition: border-color 200ms ease, box-shadow 200ms ease; }
.plan h3 { font-size: 1.3rem; }
.plan > p { margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--c-muted); }
.plan dl { margin-top: 12px; }
.plan dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.plan dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.plan dt { font-size: 14px; color: var(--c-muted); }
.plan dd { font-size: 16px; font-weight: 700; line-height: 1.35; }
.where:has(#z-neck:checked) .p-neck,
.where:has(#z-shoulder:checked) .p-shoulder,
.where:has(#z-back:checked) .p-back,
.where:has(#z-hip:checked) .p-hip,
.where:has(#z-knee:checked) .p-knee,
.where:has(#z-wrist:checked) .p-wrist { visibility: visible; border-top-color: var(--margin-red); box-shadow: 0 16px 32px -20px rgba(22, 41, 74, .5); }
/* The radios sit mid-picker, so focusing one (a tap on a chip or on a spot of the body chart) never scrolls the page */
.where-left { position: relative; }
.where-left .zr { top: 60%; left: 50%; }

/* ---------- Services: fee schedule ---------- */
.fees { background: var(--c-surface); border-top: 1px solid var(--c-line); padding: 56px 0; }
.fees-grid { display: grid; gap: var(--s-4); }
.fees-head p { margin-top: 12px; color: var(--c-muted); max-width: 40ch; }
.fees-head .superbill { margin-top: 20px; padding: 14px 16px; background: var(--c-bg); border-left: 4px solid var(--rule); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 16px; color: var(--c-ink); }
.fee-table { width: 100%; }
.fee-table thead th { font: 600 14px/1.2 var(--f-display); color: var(--c-muted); text-align: left; padding: 0 0 10px; border-bottom: 2px solid var(--c-ink); }
.fee-table thead th:not(:first-child), .fee-table td { text-align: right; }
.fee-table tbody th { text-align: left; font-weight: 700; font-size: 17px; line-height: 1.3; padding: 14px 12px 14px 0; }
.fee-table tbody th span { display: block; font-weight: 400; font-size: 15px; color: var(--c-muted); margin-top: 2px; }
.fee-table td { padding: 14px 0 14px 12px; vertical-align: top; white-space: nowrap; font-size: 17px; }
.fee-table td:last-child { font-weight: 700; }
.fee-table tbody tr { border-bottom: 1px solid var(--c-line); }

/* ---------- Insurance + checklist ---------- */
.intake { padding: 56px 0; }
.intake-grid { display: grid; gap: 48px; }
.ins-list { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ins-list li { padding: 12px 14px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-sm); font-weight: 700; font-size: 16px; line-height: 1.3; }
.ins-note { margin-top: 14px; font-size: 16px; color: var(--c-muted); }
.clip { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 34px 22px 12px; }
.clip::before { content: ""; position: absolute; top: -9px; left: 50%; translate: -50% 0; width: 96px; height: 20px; border-radius: 5px; background: var(--c-ink); }
.clip h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.bring { margin-top: 12px; }
.bring li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--c-line); font-size: 17px; line-height: 1.4; }
.bring li:last-child { border-bottom: 0; }
.bring .i { width: 24px; height: 24px; padding: 3px; border: 1.5px solid var(--c-line-strong); border-radius: 4px; color: var(--c-accent); margin-top: 1px; }

/* ---------- Work: inside the clinic ---------- */
.clinic { background: var(--c-surface); border-top: 1px solid var(--c-line); padding: 56px 0 48px; }
.clinic-rail { margin: 22px -16px 0; padding: 0 16px 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; }
.clinic-rail figure { flex: 0 0 78%; scroll-snap-align: start; }
.clinic-rail img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--r-sm); }
.clinic-rail figcaption { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--c-muted); }

/* ---------- Reviews ---------- */
.reviews { padding: 56px 0; }
.rev-head { display: grid; gap: 8px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 16px; color: var(--c-muted); }
.rating .i { color: var(--c-accent); }
.rating strong { color: var(--c-ink); }
.rev-rail { margin: 22px -16px 0; padding: 0 16px 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; }
.rev { flex: 0 0 84%; scroll-snap-align: start; background: var(--c-surface); border-radius: var(--r-sm); border-top: 4px solid var(--c-line); padding: 20px 20px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.rev blockquote p { font-size: 18px; line-height: 1.5; }
.rev-lead blockquote p { font: 600 20px/1.4 var(--f-display); }
.rev figcaption { font-weight: 700; font-size: 16px; display: flex; flex-direction: column; gap: 2px; }

/* ---------- About: providers ---------- */
.team { background: var(--c-surface); border-top: 1px solid var(--c-line); padding: 56px 0; }
.team-grid { margin-top: 22px; display: grid; gap: 16px; }
.prov { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.prov img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); }
.prov h3 { font-size: 1.2rem; }
.prov-role { margin-top: 3px; font-size: 16px; color: var(--c-muted); }
.prov-note { margin-top: 10px; font-size: 17px; }
.prov-facts { margin-top: 10px; display: grid; gap: 4px; font-size: 15px; line-height: 1.4; }
.prov-facts li { display: flex; gap: 6px; align-items: center; }
.accepting { font-weight: 700; }
.accepting .i { color: var(--c-accent); }
.waitlist { color: var(--c-muted); }
.prov-lead { grid-template-columns: 104px 1fr; grid-template-rows: auto 1fr; }
.prov-lead .prov-role { align-self: start; }
.prov-lead .prov-body { display: contents; }
.prov-lead h3, .prov-lead .prov-role { grid-column: 2; }
.prov-lead img { grid-row: 1 / span 2; }
.prov-lead .prov-note, .prov-lead .prov-facts { grid-column: 1 / -1; }

/* ---------- Contact: book + visit ---------- */
.visit { padding: 56px 0 64px; }
.visit-grid { display: grid; gap: 48px; }
.book-form { background: var(--c-surface); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: 0 1px 0 var(--c-line), 0 22px 44px -30px rgba(22, 41, 74, .4); display: grid; gap: 18px; }
.form-intro { color: var(--c-muted); font-size: 17px; margin-top: -8px; }
.field label, .slots legend { display: block; font: 700 16px/1.3 var(--f-body); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--c-muted); }
.field input, .field select { width: 100%; height: 48px; font: 400 16px/1.2 var(--f-body); color: var(--c-ink); padding: 0 14px;
  background: var(--c-surface); border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm); }
.field input::placeholder { color: #66768F; }
.slots { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.slots legend { padding: 0; width: 100%; }
.slots label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-pill);
  font: 600 16px/1 var(--f-display); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.slots input:checked + label { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.slots input:focus-visible + label { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.sent { display: none; background: #E8EFF8; border-left: 4px solid var(--c-accent); padding: 12px 14px; font-size: 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.sent:target { display: block; }

.visit-info h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.visit-info address { margin-top: 16px; display: grid; gap: 4px; }
.addr { display: flex; align-items: center; gap: 14px; min-height: 60px; color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.3; }
.addr .i { width: 26px; height: 26px; color: var(--c-accent); }
.addr small { display: block; font-weight: 400; font-size: 15px; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.park { margin-top: 12px; font-size: 16px; color: var(--c-muted); }
.hours-h { margin-top: 28px; font-size: 1.3rem; }
.hours-sum { margin-top: 4px; font-size: 16px; color: var(--c-muted); }
.hours { width: 100%; margin-top: 10px; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--c-line); font-size: 17px; }
.hours th { text-align: left; font-weight: 700; }
.hours td { text-align: right; }
.hours-note { margin-top: 10px; font-size: 15px; color: var(--c-muted); }

/* ---------- Footer ---------- */
.site-foot { background: var(--c-ink); color: #DDE5F0; padding: 48px 0 calc(104px + env(safe-area-inset-bottom)); font-size: 16px; }
.site-foot :focus-visible { outline-color: #FFFFFF; }
.foot-grid { display: grid; gap: 28px; }
.foot-name { font: 700 22px/1.2 var(--f-display); color: #FFFFFF; margin-bottom: 8px; }
.foot-h { font: 700 15px/1.2 var(--f-display); color: #FFFFFF; margin-bottom: 6px; }
.site-foot address { display: grid; }
.site-foot address a { display: flex; align-items: center; min-height: 44px; color: #FFFFFF; text-underline-offset: 3px; overflow-wrap: anywhere; }
.site-foot p { line-height: 1.6; }
.foot-credit { font-size: 14px; color: #C9D4E5; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }

/* ---------- C1 Action Bar (phones) ---------- */
.actionbar { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--c-surface); border-top: 1px solid var(--c-line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 24px -18px rgba(22, 41, 74, .5); }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 700 16px/1 var(--f-display); color: var(--c-ink); text-decoration: none; }
.actionbar .i { color: var(--c-accent); }
.actionbar .ab-call { background: var(--c-accent); color: var(--c-on-accent); }
.actionbar .ab-call .i { color: var(--c-on-accent); }
.actionbar a:active { background: #E8EFF8; }
.actionbar .ab-call:active { background: #142C52; }

/* ---------- Tablet: 760px ---------- */
@media (min-width: 760px) {
  .actionbar { display: none; }
  .site-foot { padding-bottom: 48px; }
  html { scroll-padding-bottom: 0; }
  .head-book { display: inline-flex; }
  .cta-row .btn { flex: 0 0 auto; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; margin: 0; }
  .plan { grid-area: auto; visibility: visible; }
  .ins-list { grid-template-columns: repeat(3, 1fr); }
  .clinic-rail { margin-inline: 0; padding: 0; display: grid; grid-template-columns: 1.6fr 0.9fr 1.2fr; overflow: visible; }
  .clinic-rail figure { flex: none; }
  .clinic-rail img { height: 340px; }
  .rev-head { grid-template-columns: 1fr auto; align-items: end; }
  .rev-rail { margin-inline: 0; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; overflow: visible; }
  .rev { flex: none; }
  .team-grid { grid-template-columns: 1.35fr 1fr; gap: 20px 32px; }
  .prov-lead { grid-row: span 2; grid-template-columns: 200px 1fr; padding-bottom: 0; border-bottom: 0; }
  .prov-lead .prov-body { display: block; }
  .prov-lead img { grid-row: auto; }
  .prov { grid-template-columns: 120px 1fr; }
  .book-form { padding: 32px; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .book-form > :is(h2, .form-intro, .slots, .btn, .sent) { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-credit { grid-column: 1 / -1; }
}

/* ---------- Desktop: 1080px ---------- */
@media (min-width: 1080px) {
  .head-row { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav actions"; padding-block: 12px; column-gap: 32px; }
  .site-nav { margin: 0; justify-self: center; }
  .site-nav ul { overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; gap: 8px; }
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
  .appt { justify-self: end; rotate: -1.2deg; padding: 22px 28px 18px; }
  .where { padding: 88px 0; }
  .chart { width: min(100%, 380px); }
  .where-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
  .plans { align-content: start; }
  .fees, .intake, .clinic, .reviews, .team { padding: 88px 0; }
  .fees-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .intake-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
  .visit { padding: 88px 0 96px; }
  .visit-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
}

/* Hover only where a real pointer exists (L7) */
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: #142C52; }
  .btn-line:hover { background: #E8EFF8; }
  .site-nav a:hover, .head-phone:hover { color: var(--c-accent); text-decoration: underline; text-underline-offset: 6px; }
  .chip:hover { border-color: var(--c-ink); }
  .spot:hover::before { transform: scale(1.2); }
  .appt-slots a:hover { background: var(--c-bg); }
  .addr:hover small { text-decoration-thickness: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* One Call on the entry screen (Ethan, Oct 7 2026): on phones the action bar's Call is the one; the header number shows
   from 760px, where the bar is hidden. */
@media (max-width: 759.98px) { .head-phone { display: none; } }
