/* =====================================================================
   Saltbush Family Doctors · clinic pieces for Pebble
   Only what the medical template adds to pebble.css: a multi-page nav,
   page heroes with a smaller dish, people, services, the booking flow,
   fees, telehealth, contact and the footer. Everything raised is clay;
   pressed things sink in. Requires tokens.css and pebble.css; the dials (token overrides) sit in each page's <head>.
   ===================================================================== */

/* ---------------------------------------------------------------- page-to-page */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--spring) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px) scale(0.99); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
html.calm::view-transition-old(root), html.calm::view-transition-new(root) { animation: none; }

/* ---------------------------------------------------------------- small parts */
.ic { width: 22px; height: 22px; flex: none; }
a.inline { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 4px; }
a.inline:hover { text-decoration-color: var(--ink); }
.brand-mark i:first-child { background: var(--mint); }
.brand-mark i:last-child { background: var(--butter); }
.pebble-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--c, var(--mint)); color: var(--on-pastel);
  background-image: radial-gradient(60% 50% at 32% 24%, rgba(255, 255, 255, 0.7), transparent 70%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -6px 9px rgba(18, 34, 74, 0.16), 0 10px 18px -8px var(--glow); }
.sample-note { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-clay); }
.card-link { align-self: flex-start; margin-top: 18px; }
.btn .ic { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- nav: pages and a menu */
.nav-links a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-press); }
.nav-book .wide { display: inline; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-clay); transition: transform var(--d-release) var(--spring), box-shadow 0.3s var(--ease); }
.menu-btn:active { transform: scale(0.94, 0.9); box-shadow: var(--shadow-press); }
.menu-btn i, .menu-btn i::before { position: absolute; left: 15px; right: 15px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform 0.45s var(--spring), top 0.3s var(--ease); }
.menu-btn i { top: 19px; }
.menu-btn i::before { content: ""; left: 0; right: 0; top: 8px; }
.menu-btn[aria-expanded="true"] { box-shadow: var(--shadow-press); }
.menu-btn[aria-expanded="true"] i { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::before { top: 0; transform: rotate(-90deg); }
@media (max-width: 1080px) {
  .nav-in { gap: 12px; }
  .nav-book { margin-left: auto; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); z-index: 50; flex-direction: column; gap: 6px; margin: 0; padding: 14px; border-radius: 34px; background: var(--surface); box-shadow: var(--shadow-lift); }
  .nav.menu-open .nav-links { display: flex; }
  .nav.menu-open { background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .nav-links a { padding: 15px 20px; font: 600 19px/1.2 var(--display); font-stretch: 108%; border-radius: 22px; }
  .js:not(.calm) .nav.menu-open .nav-links { animation: pop 0.5s var(--spring); }
}
@media (max-width: 640px) { .nav.menu-open .nav-links { display: flex; } }
@media (max-width: 460px) {
  .nav-book .wide { display: none; }
  .brand-word { font-size: 24px; }
  .nav-in { gap: 10px; }
}

/* ---------------------------------------------------------------- page hero: a smaller dish */
.hero-page { padding-bottom: 8px; }
@media (min-width: 1081px) { .hero-page .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.hero-page .pit { height: clamp(300px, 30vw, 420px); }
.hero-page .h1 { font-size: clamp(44px, 5.6vw, 84px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--ink-2); border-radius: 6px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); box-shadow: var(--shadow-sunk); }
@media (max-width: 640px) { .hero-page .pit { height: 300px; } }

/* ---------------------------------------------------------------- quick paths */
.quick { padding: 64px 0 0; }
.quick-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qk { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px 22px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-clay);
  transition: transform var(--d-lift) var(--spring), box-shadow 0.4s var(--ease); }
.qk:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.qk:active { transform: translateY(1px) scale(0.985); box-shadow: var(--shadow-press); transition-duration: var(--d-press); }
.qk-ic { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c); color: var(--on-pastel);
  background-image: radial-gradient(60% 50% at 32% 24%, rgba(255, 255, 255, 0.65), transparent 70%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -6px 9px rgba(18, 34, 74, 0.16), 0 10px 18px -8px var(--glow); transition: transform 0.6s var(--spring); }
.qk:hover .qk-ic { transform: rotate(-8deg) scale(1.06); }
.qk b { font: 600 19px/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.01em; align-self: end; }
.qk span:not(.qk-ic) { font-size: 14px; color: var(--muted); line-height: 1.35; align-self: start; }
html.calm .qk:hover, html.calm .qk:hover .qk-ic { transform: none; }
@media (max-width: 1080px) { .quick-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .quick { padding-top: 44px; } .quick-in { grid-template-columns: minmax(0, 1fr); gap: 12px; } .qk { padding: 16px 18px; } }

/* ---------------------------------------------------------------- home bento: clinic vignettes */
.ps-appt b { font-size: 40px; }
.ps-lab { font-size: 13px; font-weight: 700; color: var(--muted); padding: 2px 4px 0; }
.ps-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-slot { display: grid; gap: 2px; padding: 11px 14px; border-radius: 20px; background: var(--bg); font-size: 12.5px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-clay); }
.ps-slot b { font: 600 18px/1 var(--display); font-stretch: 108%; color: var(--ink); }
.ps-slot.on { background: var(--c); color: var(--on-pastel); box-shadow: var(--shadow-press); }
.ps-slot.on b { color: var(--on-pastel); }
.js:not(.calm) .ps-slot.on { animation: slotPick 6s var(--spring) infinite 1.5s; }
@keyframes slotPick { 0%, 30% { background: var(--bg); box-shadow: var(--shadow-clay); transform: none; } 36% { transform: scale(0.94, 0.9); } 44%, 92% { background: var(--c); box-shadow: var(--shadow-press); transform: none; } 100% { background: var(--bg); box-shadow: var(--shadow-clay); } }
.mini-pill { position: relative; width: 30px; height: 16px; border-radius: 99px; flex: none; background: linear-gradient(90deg, var(--blush) 50%, var(--surface) 50%); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(18, 34, 74, 0.16), 0 2px 4px -1px var(--glow); transform: rotate(-24deg); }
/* reminders: switches and the texts they would send */
.sms-stack { display: grid; gap: 8px; min-height: 108px; align-content: end; }
.sms { position: relative; justify-self: start; max-width: 100%; padding: 12px 16px; border-radius: 22px 22px 22px 8px; background: var(--surface); font-size: 14.5px; line-height: 1.4; color: var(--ink-2); box-shadow: var(--shadow-clay); }
.sms-none { background: var(--sunk); box-shadow: var(--shadow-sunk); color: var(--muted); }
.js:not(.calm) .sms.in { animation: pop 0.55s var(--spring); }
.c-bills .bills li { padding-right: 10px; }

/* step three: a clay script with a plus on it */
.obj-script i { position: relative; width: 120px; height: 150px; border-radius: 26px; background: var(--surface); transform: rotate(6deg);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.8), inset 0 -10px 16px rgba(18, 34, 74, 0.1), 0 22px 30px -16px var(--glow); }
.obj-script i::before { content: ""; position: absolute; left: 22px; right: 22px; top: 76px; height: 9px; border-radius: 9px; background: var(--sunk); box-shadow: 0 20px 0 var(--sunk), -0px 40px 0 color-mix(in srgb, var(--sunk) 100%, transparent); }
.obj-script i::after { content: ""; position: absolute; left: -26px; top: 18px; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(60% 50% at 32% 24%, rgba(255, 255, 255, 0.7), transparent 70%), linear-gradient(var(--on-pastel), var(--on-pastel)) center / 28px 8px no-repeat, linear-gradient(var(--on-pastel), var(--on-pastel)) center / 8px 28px no-repeat, var(--blush);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -6px 9px rgba(18, 34, 74, 0.18), 0 14px 20px -10px var(--glow); transform: rotate(-6deg); }

/* ---------------------------------------------------------------- section head with an action */
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; max-width: none; }
.row-head > div { display: grid; gap: 18px; justify-items: start; }

/* ---------------------------------------------------------------- people */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.people-teaser { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-clay);
  transition: transform var(--d-lift) var(--spring), box-shadow 0.5s var(--ease), opacity 0.35s var(--ease); }
.person::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(90% 55% at 12% 0%, var(--hi), transparent 62%); pointer-events: none; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.person.t-mint { background-color: var(--tint-mint); } .person.t-lilac { background-color: var(--tint-lilac); }
.person.t-butter { background-color: var(--tint-butter); } .person.t-blush { background-color: var(--tint-blush); }
.av-pebble { display: grid; place-items: center; width: 84px; height: 76px; border-radius: 50%; flex: none; background: var(--c, var(--mint)); color: var(--on-pastel); font: 600 30px/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em;
  background-image: radial-gradient(34% 26% at 32% 26%, rgba(255, 255, 255, 0.9), transparent 100%), radial-gradient(130% 130% at 30% 22%, rgba(255, 255, 255, 0.25), transparent 60%);
  box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.6), inset 0 -10px 16px rgba(18, 34, 74, 0.16), 0 16px 24px -12px var(--glow); transition: transform 0.7s var(--spring); }
.person:hover .av-pebble { transform: rotate(-6deg) scale(1.05, 0.96); }
.person-top { display: flex; align-items: center; gap: 18px; }
.person h3 { font: 600 var(--fs-h3)/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.01em; }
.person .role { font-weight: 700; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.person .quals { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.person .about { color: var(--ink-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-clay); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--mint)); }
.lab { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.week { display: flex; gap: 6px; }
.week span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 600 13px/1 var(--display); color: var(--muted); background: var(--sunk); box-shadow: var(--shadow-sunk); }
.week span.on { background: var(--c, var(--mint)); color: var(--on-pastel); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.65), inset 0 -4px 6px rgba(18, 34, 74, 0.16), 0 6px 10px -5px var(--glow); }
.person .btn { align-self: flex-start; margin-top: auto; }
.person-mini { gap: 12px; padding: 24px; }
.person-mini .av-pebble { width: 68px; height: 62px; font-size: 25px; }
.person-mini .week span { width: 28px; height: 28px; font-size: 12px; }
.person.is-off { display: none; }
html.calm .person:hover, html.calm .person:hover .av-pebble { transform: none; }
@media (max-width: 1080px) { .people, .people-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people, .people-teaser { grid-template-columns: minmax(0, 1fr); } .person { padding: 24px 22px; border-radius: 34px; } }

/* filters on the team page */
.filters { display: grid; gap: 16px; margin-bottom: 40px; padding: 22px 24px; border-radius: 36px; background: var(--surface); box-shadow: var(--shadow-clay); }
.filters-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.filters .lab { margin: 0; font-size: 14px; color: var(--ink-2); }
.daypills { display: flex; flex-wrap: wrap; gap: 8px; }
.pillbtn { min-width: 52px; padding: 11px 16px; border: 0; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); font: 600 15px/1 var(--display); font-stretch: 106%; box-shadow: var(--shadow-clay);
  transition: transform var(--d-release) var(--spring), box-shadow 0.3s var(--ease), background-color 0.25s; }
.pillbtn:hover { transform: translateY(-2px); }
.pillbtn:active { transform: translateY(1px) scale(0.96, 0.92); transition-duration: var(--d-press); }
.pillbtn[aria-pressed="true"] { background: var(--butter); color: var(--on-pastel); box-shadow: var(--shadow-press); transform: none; }
.select { position: relative; display: inline-flex; }
.select select { appearance: none; -webkit-appearance: none; padding: 12px 44px 12px 18px; border: 0; border-radius: var(--r-pill); background: var(--bg); color: var(--ink); font: 600 15px/1.2 var(--body); box-shadow: var(--shadow-sunk); cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--ink-2); border-width: 0 2.4px 2.4px 0; border-radius: 1px; transform: rotate(45deg); pointer-events: none; }
.filters .toggle-txt { font-size: 15px; }
.result-line { font-weight: 700; color: var(--ink-2); }
.empty { display: none; padding: 34px; border-radius: var(--r-xl); background: var(--sunk); box-shadow: var(--shadow-sunk); text-align: center; color: var(--ink-2); }
.empty.show { display: block; }

/* ---------------------------------------------------------------- promises */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.promise { display: grid; gap: 12px; align-content: start; padding: 28px 26px; border-radius: 40px 40px 40px 14px; background: var(--surface); box-shadow: var(--shadow-clay); transition: transform var(--d-lift) var(--spring), box-shadow 0.5s var(--ease); }
.promise:nth-child(even) { margin-top: 28px; }
.promise:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-lift); }
.promise h3 { font: 600 21px/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.01em; }
.promise p { color: var(--ink-2); font-size: 15.5px; }
.pr-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c); color: var(--on-pastel);
  background-image: radial-gradient(60% 50% at 32% 24%, rgba(255, 255, 255, 0.65), transparent 70%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -6px 9px rgba(18, 34, 74, 0.16), 0 10px 18px -8px var(--glow); }
html.calm .promise:hover { transform: none; }
@media (max-width: 1080px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } .promise:nth-child(even) { margin-top: 0; } }
@media (max-width: 560px) { .promises { grid-template-columns: minmax(0, 1fr); } }
.sec-promise { padding-top: 40px; }

/* ---------------------------------------------------------------- services page */
.svc-nav { position: sticky; top: 84px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 12px var(--gutter) 18px;
  background: linear-gradient(var(--bg) 72%, color-mix(in srgb, var(--bg) 0%, transparent)); }
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px 10px 10px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-clay);
  transition: transform var(--d-release) var(--spring), box-shadow 0.3s var(--ease); }
.svc-nav a:hover { transform: translateY(-2px); }
.svc-nav a.on { background: var(--bold); color: var(--on-bold); box-shadow: var(--shadow-btn); }
.svc-nav a i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -2px 3px rgba(18, 34, 74, 0.18); }
.svc-group { padding: 40px 0 24px; scroll-margin-top: 150px; }
.svc-group-h { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.svc-group-h h2 { font: 600 clamp(28px, 3.4vw, 44px)/1.05 var(--display); font-stretch: 112%; letter-spacing: -0.025em; }
.svc-group-h .pebble-ic { width: 46px; height: 42px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-xl); box-shadow: var(--shadow-clay); transition: transform var(--d-lift) var(--spring), box-shadow 0.5s var(--ease); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(90% 55% at 12% 0%, var(--hi), transparent 62%); pointer-events: none; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.svc-card h3 { font: 600 24px/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.012em; }
.svc-card > p { color: var(--ink-2); max-width: 54ch; }
.svc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-facts div { display: grid; gap: 2px; padding: 12px 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-clay); min-width: 0; }
.svc-facts span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.svc-facts b { font: 600 17px/1.2 var(--display); font-stretch: 106%; }
.svc-facts small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.svc-bring { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 55%, transparent); box-shadow: var(--shadow-sunk); font-size: 14.5px; color: var(--ink-2); }
.svc-bring b { color: var(--ink); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 6px; }
.avs-row { display: flex; align-items: center; }
.avs-row i { display: grid; place-items: center; width: 38px; height: 38px; margin-right: -5px; border-radius: 50%; font: 600 13px/1 var(--display); letter-spacing: -0.02em; font-style: normal; color: var(--on-pastel); background: var(--c); box-shadow: 0 0 0 3px var(--surface), inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(18, 34, 74, 0.15); }
.avs-row span { margin-left: 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
html.calm .svc-card:hover { transform: none; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .svc-nav { top: 72px; } .svc-card { padding: 26px 22px; border-radius: 34px; } .svc-facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- notes and slabs */
.note { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-clay); color: var(--ink-2); }
.note b { color: var(--ink); }
.note-demo { background: var(--tint-butter); }
.note-sos { background: var(--tint-blush); }
.note p + p { margin-top: 6px; }
.note .pebble-ic { width: 46px; height: 46px; }

/* ---------------------------------------------------------------- booking flow */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.bk-main { display: grid; gap: 22px; min-width: 0; }
.bk-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0; counter-reset: s; }
.bk-steps::before { content: ""; position: absolute; top: 19px; left: 10%; right: 10%; height: 12px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: var(--shadow-sunk); }
.bk-steps::after { content: ""; position: absolute; top: 22px; left: 10%; width: calc(80% * var(--p, 0)); height: 6px; border-radius: var(--r-pill); background: var(--mint); transition: width 0.7s var(--spring); }
.bk-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.bk-steps li span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); color: var(--muted); font: 700 19px/1 var(--display); box-shadow: var(--shadow-clay); transition: background-color 0.3s, transform 0.6s var(--spring), color 0.3s; }
.bk-steps li.is-done span { background: var(--mint); color: var(--on-pastel); }
.bk-steps li.is-now { color: var(--ink); }
.bk-steps li.is-now span { background: var(--butter); color: var(--on-pastel); transform: scale(1.12); }
.bk-panel { padding: 34px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-clay); min-width: 0; }
.bk-panel:focus { outline: none; }
.bk-panel fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.bk-panel legend, .bk-h { padding: 0; font: 600 clamp(26px, 2.8vw, 34px)/1.1 var(--display); font-stretch: 110%; letter-spacing: -0.02em; margin-bottom: 8px; }
.bk-sub { color: var(--muted); margin-bottom: 24px; }
.js:not(.calm) .bk-panel.in { animation: pop 0.6s var(--spring); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 26px; background: var(--bg); box-shadow: var(--shadow-clay);
  transition: transform var(--d-release) var(--spring), box-shadow 0.3s var(--ease), background-color 0.3s; }
.opt:hover .opt-in { transform: translateY(-2px); }
.opt input:active + .opt-in { transform: scale(0.98, 0.95); transition-duration: var(--d-press); }
.opt input:checked + .opt-in { background: var(--tint-mint); box-shadow: var(--shadow-press); transform: none; }
.opt input:focus-visible + .opt-in { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt-dot { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--sunk); box-shadow: var(--shadow-sunk); }
.opt input:checked + .opt-in .opt-dot { background: var(--mint); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(18, 34, 74, 0.18); }
.opt input:checked + .opt-in .opt-dot::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid var(--on-pastel); border-width: 0 2.5px 2.5px 0; transform: rotate(42deg); }
.opt-t { font: 600 18px/1.2 var(--display); font-stretch: 106%; }
.opt-t small { display: block; margin-top: 3px; font: 500 13.5px/1.35 var(--body); color: var(--muted); }
.opt-m { font: 600 13px/1 var(--body); color: var(--ink-2); padding: 7px 11px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); white-space: nowrap; }
.opt-av { width: 50px; height: 46px; font-size: 18px; }
.opt-wide { grid-column: 1 / -1; }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 6px 4px 14px; margin: 0 -4px 10px; scrollbar-width: thin; }
.day { flex: none; display: grid; justify-items: center; gap: 3px; min-width: 70px; padding: 12px 10px; border: 0; border-radius: 26px; background: var(--bg); color: var(--ink-2); box-shadow: var(--shadow-clay); transition: transform var(--d-release) var(--spring), box-shadow 0.3s var(--ease), background-color 0.3s; }
.day small { font-size: 12px; font-weight: 700; color: var(--muted); }
.day b { font: 600 24px/1 var(--display); font-stretch: 108%; color: var(--ink); }
.day em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ok); }
.day:hover { transform: translateY(-2px); }
.day[aria-pressed="true"] { background: var(--butter); box-shadow: var(--shadow-press); transform: none; }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] em, .day[aria-pressed="true"] b { color: var(--on-pastel); }
.day:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: var(--shadow-sunk); }
.day:disabled em { color: var(--muted); }
.slot-groups { display: grid; gap: 18px; }
.slot-groups h3 { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot { min-width: 92px; padding: 13px 14px; border: 0; border-radius: var(--r-pill); background: var(--bg); color: var(--ink); font: 600 16px/1 var(--display); font-stretch: 106%; box-shadow: var(--shadow-clay); font-variant-numeric: tabular-nums;
  transition: transform var(--d-release) var(--spring), box-shadow 0.3s var(--ease), background-color 0.3s; }
.slot:hover { transform: translateY(-2px); }
.slot:active { transform: scale(0.95, 0.9); transition-duration: var(--d-press); }
.slot[aria-pressed="true"] { background: var(--mint); color: var(--on-pastel); box-shadow: var(--shadow-press); transform: none; }
.slot-none { color: var(--muted); padding: 18px; border-radius: 26px; background: var(--sunk); box-shadow: var(--shadow-sunk); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field .lab2 { font-weight: 700; font-size: 15px; color: var(--ink); }
.field small { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 14px 18px; border: 0; border-radius: 22px; background: var(--bg); color: var(--ink); font: 500 16px/1.3 var(--body); box-shadow: var(--shadow-sunk); transition: box-shadow 0.25s var(--ease); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { box-shadow: var(--shadow-sunk), 0 0 0 2px var(--blush); }
.err { font-size: 13.5px; font-weight: 700; color: color-mix(in srgb, var(--blush) 30%, var(--ink)); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row .opt-in { grid-template-columns: auto auto; padding: 12px 18px 12px 14px; }
.bk-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.bk-nav .btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink-2); padding-inline: 12px; }
.btn-ghost:hover { color: var(--ink); }
/* the summary ticket */
.ticket { position: sticky; top: 104px; display: grid; gap: 16px; padding: 28px; border-radius: var(--r-xl); background: var(--tint-lilac); box-shadow: var(--shadow-clay); }
.ticket h2 { font: 600 22px/1.15 var(--display); font-stretch: 108%; }
.ticket dl { display: grid; gap: 10px; margin: 0; }
.ticket dl div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-clay); }
.ticket dt { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c, var(--sunk)); color: var(--on-pastel); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 5px rgba(18, 34, 74, 0.14); }
.ticket dt .ic { width: 18px; height: 18px; }
.ticket dd { margin: 0; font-weight: 700; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.ticket dd small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.ticket dd.empty-v { color: var(--muted); font-weight: 600; }
.ticket .fine-print { font-size: 13px; color: var(--muted); line-height: 1.45; }
/* done */
.done { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 18px 0 6px; }
.done-pebble { position: relative; width: 120px; height: 108px; border-radius: 50%; background: var(--mint); background-image: radial-gradient(34% 26% at 32% 26%, rgba(255, 255, 255, 0.9), transparent 100%);
  box-shadow: inset 0 4px 3px rgba(255, 255, 255, 0.6), inset 0 -14px 20px rgba(18, 34, 74, 0.16), 0 26px 36px -16px var(--glow); }
.done-pebble::after { content: ""; position: absolute; left: 46px; top: 24px; width: 20px; height: 40px; border: solid var(--on-pastel); border-width: 0 7px 7px 0; border-radius: 3px; transform: rotate(42deg); }
.js:not(.calm) .done-pebble { animation: drop 1.1s var(--spring) backwards; }
.done .ref { font: 600 15px/1 var(--display); letter-spacing: 0.04em; padding: 9px 16px; border-radius: var(--r-pill); background: var(--sunk); box-shadow: var(--shadow-sunk); }
.done .hero-cta { justify-content: center; }
.next-list { display: grid; gap: 10px; text-align: left; width: 100%; max-width: 520px; }
.next-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 16px; border-radius: 22px; background: var(--bg); box-shadow: var(--shadow-clay); font-size: 15px; color: var(--ink-2); }
.next-list li .tick { margin-top: 1px; }
@media (max-width: 1080px) { .bk { grid-template-columns: minmax(0, 1fr); } .ticket { position: static; } }
@media (max-width: 700px) {
  .opts, .fields { grid-template-columns: minmax(0, 1fr); }
  .bk-panel { padding: 26px 20px; border-radius: 34px; }
  .bk-steps li { font-size: 0; gap: 0; }
  .bk-steps li span { width: 42px; height: 42px; font-size: 17px; }
  .bk-steps::before { top: 15px; } .bk-steps::after { top: 18px; }
  .opt-in { padding: 14px; gap: 12px; }
  .slot { min-width: 84px; }
}

/* ---------------------------------------------------------------- new patients and fees */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pack { display: grid; gap: 18px; padding: 32px; border-radius: var(--r-xl); background: var(--tint-butter); box-shadow: var(--shadow-clay); }
.pack .toggles .toggle[aria-checked="true"] .toggle-track { background: var(--mint); }
.pack-count { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink-2); }
.pack-meter { flex: 1; height: 22px; padding: 4px; border-radius: var(--r-pill); background: var(--sunk); box-shadow: var(--shadow-sunk); }
.pack-meter i { display: block; height: 100%; width: var(--v, 0%); min-width: 14px; border-radius: inherit; background: var(--mint); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(18, 34, 74, 0.15); transition: width 0.7s var(--spring); }
.card-plain { padding: 32px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-clay); display: grid; gap: 14px; align-content: start; }
.card-plain h3, .pack h3 { font: 600 var(--fs-h3)/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.01em; }
.card-plain p { color: var(--ink-2); }
.numbered { display: grid; gap: 12px; counter-reset: n; }
.numbered li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--ink-2); }
.numbered li::before { counter-increment: n; content: counter(n); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--lilac)); color: var(--on-pastel); font: 700 17px/1 var(--display); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -4px 6px rgba(18, 34, 74, 0.16), 0 8px 14px -8px var(--glow); }
.numbered li b { color: var(--ink); display: block; }
.bill-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bill-card { display: grid; gap: 12px; align-content: start; padding: 30px; border-radius: var(--r-xl); box-shadow: var(--shadow-clay); }
.bill-card h3 { font: 600 var(--fs-h3)/1.15 var(--display); font-stretch: 108%; }
.bill-card p, .bill-card li { color: var(--ink-2); font-size: 15.5px; }
.bill-card ul { display: grid; gap: 8px; }
.bill-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.bill-card li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(18, 34, 74, 0.16); }
.fee-table { display: grid; gap: 10px; }
.fee-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 16px; padding: 16px 22px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-clay); }
.fee-row.head { background: transparent; box-shadow: none; padding-block: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.fee-row b { font: 600 18px/1.2 var(--display); font-stretch: 106%; }
.fee-row small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.fee-row .num { font: 600 19px/1 var(--display); font-stretch: 108%; font-variant-numeric: tabular-nums; }
.fee-row .num.gap { color: var(--ink); }
.fee-row .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.estimator { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px; border-radius: 56px; background: var(--tint-mint); box-shadow: var(--shadow-clay); }
.estimator .toggles { gap: 10px; }
.est-out { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 30px 22px; border-radius: 44px; background: var(--surface); box-shadow: var(--shadow-clay); }
.est-out span { font-size: 14px; font-weight: 700; color: var(--muted); }
.est-out .big { display: inline-block; font: 600 64px/1 var(--display); font-stretch: 110%; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.est-out .big.bump { animation: bump 0.55s var(--spring); }
.est-out p { font-size: 14.5px; color: var(--ink-2); max-width: 30ch; }
.est-break { display: grid; gap: 6px; width: 100%; font-size: 14.5px; }
.est-break div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 18px; background: var(--bg); box-shadow: var(--shadow-sunk); }
.est-break b { font-variant-numeric: tabular-nums; }
html.calm .est-out .big.bump { animation: none; }
@media (max-width: 1000px) { .split2, .estimator, .bill-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .fee-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; padding: 16px 18px; }
  .fee-row > :first-child { grid-column: 1 / -1; }
  .fee-row.head { display: none; }
  .fee-row .lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; font-family: var(--body); }
  .estimator { padding: 24px 18px; border-radius: 40px; }
  .pack, .card-plain, .bill-card { padding: 26px 22px; border-radius: 34px; }
  .est-out .big { font-size: 54px; }
}

/* ---------------------------------------------------------------- telehealth */
.tele-call { position: relative; display: grid; gap: 14px; padding: 18px; border-radius: 44px; background: var(--bold); box-shadow: var(--shadow-btn); color: var(--on-bold); }
.tele-screen { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 30px; background: radial-gradient(70% 70% at 30% 20%, color-mix(in srgb, var(--lilac) 70%, var(--surface)), var(--tint-lilac)); }
.tele-doc { display: grid; justify-items: center; gap: 10px; color: var(--ink); text-align: center; }
.tele-doc .av-pebble { width: 108px; height: 98px; font-size: 38px; }
.tele-doc b { font: 600 20px/1.1 var(--display); font-stretch: 108%; }
.tele-doc span { font-size: 14px; font-weight: 600; color: var(--muted); }
.tele-me { position: absolute; right: 14px; bottom: 14px; width: 26%; aspect-ratio: 4 / 3; border-radius: 18px; background: var(--tint-butter); box-shadow: var(--shadow-clay); display: grid; place-items: center; }
.tele-me i { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--butter); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -4px 6px rgba(18, 34, 74, 0.16); }
.tele-live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-clay); }
.tele-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.js:not(.calm) .tele-live i { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.tele-bar { display: flex; justify-content: center; gap: 12px; }
.tele-bar i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: color-mix(in srgb, var(--on-bold) 16%, transparent); color: var(--on-bold); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.18), inset 0 -4px 8px rgba(0, 0, 0, 0.2); }
.tele-bar i.end { background: var(--blush); color: var(--on-pastel); }
.tele-bar .ic { width: 22px; height: 22px; }
.tele-call.is-phone .tele-screen { background: radial-gradient(70% 70% at 30% 20%, color-mix(in srgb, var(--mint) 70%, var(--surface)), var(--tint-mint)); }
.tele-call.is-phone .tele-me { display: none; }
.good-bad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gb { display: grid; gap: 14px; align-content: start; padding: 32px; border-radius: var(--r-xl); box-shadow: var(--shadow-clay); }
.gb h3 { font: 600 var(--fs-h3)/1.15 var(--display); font-stretch: 108%; }
.gb ul { display: grid; gap: 10px; }
.gb li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-clay); font-weight: 600; color: var(--ink-2); }
.gb li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--c, var(--mint)); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(18, 34, 74, 0.16); }
.mode-steps { display: grid; gap: 12px; }
.mode-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-clay); }
.mode-steps li b { display: block; font: 600 18px/1.2 var(--display); font-stretch: 106%; }
.mode-steps li span:not(.pebble-ic) { color: var(--ink-2); font-size: 15px; }
.mode-steps .pebble-ic { width: 48px; height: 48px; font: 700 18px/1 var(--display); }
.js:not(.calm) .mode-steps.swap li { animation: pop 0.55s var(--spring) backwards; }
.js:not(.calm) .mode-steps.swap li:nth-child(2) { animation-delay: 60ms; } .js:not(.calm) .mode-steps.swap li:nth-child(3) { animation-delay: 120ms; } .js:not(.calm) .mode-steps.swap li:nth-child(4) { animation-delay: 180ms; }
.mode-switch { justify-self: start; padding: 8px 18px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); gap: 14px; }
.mode-switch .toggle-side { font-weight: 700; color: var(--muted); transition: color 0.3s; }
.mode-switch[aria-checked="false"] .toggle-side:first-child, .mode-switch[aria-checked="true"] .toggle-side:last-child { color: var(--ink); }
.mode-switch[aria-checked="true"] .toggle-track { background: var(--lilac); }
.mode-switch[aria-checked="false"] .toggle-track { background: var(--mint); }
@media (max-width: 900px) { .good-bad { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .gb { padding: 26px 22px; border-radius: 34px; } .tele-call { border-radius: 36px; padding: 12px; } .tele-screen { border-radius: 26px; } .tele-doc .av-pebble { width: 80px; height: 72px; font-size: 28px; } .mode-switch { padding: 8px 12px; gap: 10px; flex-wrap: wrap; } }

/* ---------------------------------------------------------------- contact */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; align-items: stretch; }
.map { position: relative; overflow: hidden; isolation: isolate; min-height: 420px; border-radius: 44px; background: var(--tray); box-shadow: var(--shadow-sunk); }
.map::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 10px 22px -8px rgba(18, 34, 74, 0.16), inset 0 -2px 1px var(--hi); z-index: 4; }
.map .road { position: absolute; background: color-mix(in srgb, var(--surface) 82%, transparent); border-radius: 40px; box-shadow: inset 0 2px 3px rgba(18, 34, 74, 0.08); }
.map .r1 { left: -10%; right: -10%; top: 54%; height: 34px; transform: rotate(-8deg); }
.map .r2 { top: -10%; bottom: -10%; left: 38%; width: 28px; transform: rotate(12deg); }
.map .r3 { left: 52%; right: -10%; top: 22%; height: 20px; transform: rotate(18deg); }
.map .r4 { top: 60%; bottom: -10%; left: 76%; width: 18px; transform: rotate(-6deg); }
.map .park { position: absolute; left: 8%; top: 10%; width: 32%; height: 34%; border-radius: 48% 52% 44% 56%; background: var(--tint-mint); box-shadow: inset 0 -6px 12px rgba(18, 34, 74, 0.06); }
.map .park::after { content: "Larkvale Park"; position: absolute; left: 18%; top: 40%; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.map .water { position: absolute; right: -6%; bottom: -12%; width: 46%; height: 40%; border-radius: 50% 40% 0 0; background: var(--tint-lilac); }
.map .station { position: absolute; left: 14%; bottom: 14%; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); font-size: 12.5px; font-weight: 700; color: var(--ink-2); z-index: 2; }
.map .station i { width: 18px; height: 18px; border-radius: 6px; background: var(--lilac); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -2px 3px rgba(18, 34, 74, 0.2); }
.map .pin { position: absolute; left: 44%; top: 34%; z-index: 3; display: grid; justify-items: center; gap: 6px; }
.map .pin-pebble { width: 58px; height: 52px; border-radius: 50%; background: var(--butter); background-image: radial-gradient(34% 26% at 32% 26%, rgba(255, 255, 255, 0.9), transparent 100%); box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.6), inset 0 -8px 12px rgba(120, 70, 0, 0.18), 0 18px 20px -10px rgba(18, 34, 74, 0.45); }
.js:not(.calm) .map .pin-pebble { animation: hop 3.6s var(--spring) infinite; transform-origin: 50% 100%; }
@keyframes hop { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.14, 0.84); } 86% { transform: translateY(-14px) scale(0.94, 1.06); } 93% { transform: scale(1.06, 0.94); } }
.map .pin-shadow { width: 40px; height: 10px; border-radius: 50%; background: rgba(18, 34, 74, 0.18); filter: blur(2px); }
.map .pin-tag { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 9px 14px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lift); font: 600 15px/1.1 var(--display); font-stretch: 106%; }
.map .map-note { position: absolute; right: 16px; top: 16px; z-index: 5; padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.visit-info { display: grid; gap: 14px; align-content: start; }
.info-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px 18px 16px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-clay); }
.info-row .pebble-ic { width: 48px; height: 48px; }
.info-row b { display: block; font: 600 18px/1.2 var(--display); font-stretch: 106%; margin-bottom: 2px; }
.info-row p, .info-row a { color: var(--ink-2); font-size: 15.5px; }
.info-row a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 4px; }
.hours { display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-clay); font-weight: 700; }
.hours li span { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours li.today { background: var(--bold); color: var(--on-bold); box-shadow: var(--shadow-btn); }
.hours li.today span { color: color-mix(in srgb, var(--on-bold) 82%, var(--bold)); }
.hours li em { font-style: normal; font-size: 12px; margin-left: 8px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--butter); color: var(--on-pastel); vertical-align: 2px; }
.open-now { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); font-weight: 700; color: var(--ink-2); }
.open-now i { width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--mint)); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(18, 34, 74, 0.18); }
.ah { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ah-card { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-clay); }
.ah-card h3 { font: 600 21px/1.15 var(--display); font-stretch: 108%; }
.ah-card p { color: var(--ink-2); font-size: 15.5px; }
.ah-card .num { font: 600 34px/1 var(--display); font-stretch: 110%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); border-radius: 10px; justify-self: start; }
.ah-card .num:hover { text-decoration: underline; text-underline-offset: 5px; }
.ah-sos { background: var(--bold); color: var(--on-bold); box-shadow: var(--shadow-btn); }
.ah-sos p { color: color-mix(in srgb, var(--on-bold) 84%, var(--bold)); }
.ah-sos .num { color: var(--on-bold); font-size: 64px; }
.form-card { display: grid; gap: 20px; padding: 34px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-clay); }
.form-done { display: none; gap: 12px; padding: 22px; border-radius: 30px; background: var(--tint-mint); box-shadow: var(--shadow-clay); font-weight: 600; color: var(--ink-2); }
.form-done.show { display: grid; }
@media (max-width: 1000px) { .visit, .ah { grid-template-columns: minmax(0, 1fr); } .map { min-height: 340px; } }
@media (max-width: 640px) { .form-card { padding: 26px 20px; border-radius: 34px; } .ah-card { padding: 24px 22px; border-radius: 32px; } .map { border-radius: 34px; } .ah-sos .num { font-size: 56px; } }

/* ---------------------------------------------------------------- footer */
.foot { padding: 24px 0 48px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 36px 36px 32px; border-radius: 48px; background: var(--surface); box-shadow: var(--shadow-clay); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { max-width: 38ch; }
.foot-col h2 { font: 600 17px/1.2 var(--display); font-stretch: 108%; margin-bottom: 12px; }
.foot-col p, .foot-col li { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.foot-col p + p { margin-top: 10px; }
.foot-col a { border-radius: 6px; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-hours li { display: flex; justify-content: space-between; gap: 10px; }
.foot-hours li span { color: var(--muted); font-variant-numeric: tabular-nums; }
.foot-nav { display: grid; gap: 4px; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 12px 0; }
.sos { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.sos b { color: var(--ink); }
.sos a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; }
.sos-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--on-pastel); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -4px 6px rgba(18, 34, 74, 0.16), 0 8px 14px -8px var(--glow); }
.sos-ic .ic { width: 19px; height: 19px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; border-radius: 36px; gap: 24px; } .sos { align-items: flex-start; } }

/* ---------------------------------------------------------------- generic page sections */
.sec-sm { padding: 72px 0; }
.sec-first { padding-top: 64px; }
.stack { display: grid; gap: 24px; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
@media (max-width: 640px) { .sec-sm { padding: 56px 0; } }

/* ---------------------------------------------------------------- registration line (AHPRA) */
.person .reg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.person .reg span { color: var(--muted); font-weight: 700; }
.person .reg em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); box-shadow: var(--shadow-clay); }

/* ---------------------------------------------------------------- filters only with js */
.filters { display: none; }
.js .filters { display: grid; }

/* ---------------------------------------------------------------- services: conditions */
.cond { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin-inline: auto; }
.cond a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 600 16px/1.2 var(--display); font-stretch: 106%; box-shadow: var(--shadow-clay);
  transition: transform var(--d-release) var(--spring), box-shadow 0.35s var(--ease); }
.cond a:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: var(--shadow-lift); }
.cond a:active { transform: translateY(1px) scale(0.97, 0.93); box-shadow: var(--shadow-press); transition-duration: var(--d-press); }
.cond a i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(18, 34, 74, 0.18); }
html.calm .cond a:hover { transform: none; }
.svc-card { scroll-margin-top: 170px; }
.svc-card:target { box-shadow: var(--shadow-lift), 0 0 0 4px var(--focus); }

/* ---------------------------------------------------------------- forms to download */
.forms { margin-top: 64px; }
.forms-h { font: 600 var(--fs-h3)/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.01em; margin-bottom: 18px; }
.form-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.form-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 18px 18px 20px; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-clay); }
.form-tile b { display: block; font: 600 18px/1.2 var(--display); font-stretch: 106%; }
.form-tile span:not(.doc-ic):not(.sr-only) { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.doc-ic { position: relative; width: 44px; height: 54px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.8), inset 0 -6px 10px rgba(18, 34, 74, 0.1), 0 10px 16px -8px var(--glow); transform: rotate(-5deg); }
.doc-ic::before { content: ""; position: absolute; left: 9px; right: 9px; top: 24px; height: 5px; border-radius: 5px; background: var(--sunk); box-shadow: 0 10px 0 var(--sunk); }
.doc-ic::after { content: ""; position: absolute; left: -7px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(18, 34, 74, 0.18); }
@media (max-width: 1080px) { .form-tiles { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 420px) { .form-tile { grid-template-columns: auto minmax(0, 1fr); } .form-tile .btn { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- fees page */
.fee-wrap { margin: 56px 0; }
.fine-left { text-align: left; margin-top: 4px; }
.est-in { display: grid; gap: 16px; }
.est-lead { color: var(--ink-2); max-width: 46ch; }
.est-types { margin: 0; padding: 0; border: 0; min-width: 0; }
.opts-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimator .opt-in { background: var(--surface); }
.estimator .opt input:checked + .opt-in { background: var(--tint-butter); }
.est-out .sample-note { align-self: center; font-style: normal; }
.estimator .est-break div { background: var(--bg); }
@media (max-width: 560px) { .opts-1 { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- telehealth layout */
.tele { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 48px; }
.tele-how { display: grid; gap: 18px; }
.js:not(.calm) .tele-call { animation: callBob 7s ease-in-out infinite alternate; }
@keyframes callBob { 50% { transform: translateY(-8px) rotate(-0.6deg); } }
@media (max-width: 1000px) { .tele { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- contact extras */
.ph-tag { justify-self: start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--tint-butter); color: var(--ink-2) !important; font-size: 12.5px !important; font-weight: 700; }
.ah-card .num-sm { font-size: 28px; margin-top: auto; }
.ah-card { align-content: stretch; grid-template-rows: auto auto 1fr auto; }
.ah-sos { grid-template-rows: auto auto 1fr; }
.ah-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 28px; }
.ah-more li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.ah-more a { font: 600 16px/1 var(--display); font-stretch: 108%; color: var(--ink); padding: 7px 12px; border-radius: var(--r-pill); background: var(--bg); box-shadow: var(--shadow-sunk); font-variant-numeric: tabular-nums; }
.select-wide, .select-wide select { width: 100%; }
.select-wide select { padding-block: 14px; border-radius: 22px; }
.msg { align-items: start; }
.msg .sec-head { margin-bottom: 0; }
.done-sm { width: 72px; height: 64px; }
.done-sm::after { left: 27px; top: 13px; width: 13px; height: 26px; border-width: 0 5px 5px 0; }
.form-done { justify-items: start; }
.form-done b { font: 600 22px/1.2 var(--display); font-stretch: 108%; color: var(--ink); }
.demo-done { max-width: 52ch; padding: 12px 18px; border-radius: 22px; background: var(--tint-butter); color: var(--ink-2); font-size: 14.5px; }
.demo-done b { color: var(--ink); }

/* ---------------------------------------------------------------- book page hero: compact */
.hero-book .pit { height: clamp(280px, 26vw, 360px); }
.hero-book .hero-copy { gap: 22px; }
.hero-book .note { max-width: 560px; }
.bk-sec { padding-top: 48px; }
.bk-faq { padding-top: 24px; }

/* ---------------------------------------------------------------- toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: min(520px, calc(100% - 32px)); padding: 14px 20px; border-radius: 24px; background: var(--bold); color: var(--on-bold); box-shadow: var(--shadow-btn); font-size: 15px; transform: translate(-50%, 140%); opacity: 0; transition: transform 0.55s var(--spring), opacity 0.3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
html.calm .toast { transition: opacity 0.2s; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- review fixes */
/* a group with one service: one wide card, text left, facts right */
.svc-grid > .svc-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 16px; align-items: start; }
.svc-grid > .svc-card:only-child > h3, .svc-grid > .svc-card:only-child > p:not(.svc-bring) { grid-column: 1; }
.svc-grid > .svc-card:only-child > h3 { grid-row: 1; }
.svc-grid > .svc-card:only-child > p:not(.svc-bring) { grid-row: 2 / span 3; }
.svc-grid > .svc-card:only-child > .svc-facts, .svc-grid > .svc-card:only-child > .svc-bring, .svc-grid > .svc-card:only-child > .svc-foot { grid-column: 2; }
.svc-grid > .svc-card:only-child > .svc-facts { grid-row: 1 / span 2; }
@media (max-width: 900px) { .svc-grid > .svc-card:only-child { display: flex; align-items: stretch; } }
/* spacing around raised slabs */
main > .sec-tint:last-child { margin-bottom: 96px; }
.sec-tint + .sec-faq { padding-top: 108px; }
@media (max-width: 640px) { main > .sec-tint:last-child { margin-bottom: 64px; } .sec-tint + .sec-faq { padding-top: 88px; } }
.gb li { background: var(--bg); }
.hours li em { margin-right: auto; margin-left: 4px; align-self: center; }
.stack .sec-head { margin-bottom: 8px; }
.card-plain .btn { justify-self: start; }
/* map: a few clay blocks and trees */
.map .blk { position: absolute; border-radius: 14px; background: var(--surface); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.8), inset 0 -5px 8px rgba(18, 34, 74, 0.08), 0 8px 14px -8px var(--glow); }
.map .b1 { left: 56%; top: 6%; width: 70px; height: 46px; transform: rotate(18deg); }
.map .b2 { left: 70%; top: 36%; width: 58px; height: 58px; transform: rotate(-8deg); }
.map .b3 { left: 50%; top: 66%; width: 84px; height: 44px; transform: rotate(-8deg); }
.map .b4 { left: 6%; top: 64%; width: 60px; height: 40px; transform: rotate(-8deg); }
.map .b5 { left: 26%; top: 74%; width: 46px; height: 46px; transform: rotate(10deg); }
.map .tree { position: absolute; width: 26px; height: 24px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(18, 34, 74, 0.14), 0 6px 8px -4px var(--glow); }
.map .t1 { left: 14%; top: 30%; } .map .t2 { left: 22%; top: 20%; width: 20px; height: 18px; } .map .t3 { left: 30%; top: 34%; width: 30px; height: 27px; }
/* book page: the flow is the point, so the hero is compact */
.hero-book .h1 { font-size: clamp(40px, 4.8vw, 72px); }
.hero-book .pit { height: clamp(260px, 22vw, 320px); }
.hero-book .note { padding: 18px 20px; }
.hero-book .note p { font-size: 15px; }
.opt-t small { max-width: 34ch; }
@media (max-width: 640px) { .hero-book .pit { height: 240px; } .hero-book .h1 { font-size: 42px; } }
@media (max-width: 700px) { .fee-row .lbl-x { display: none; } }
@media (max-width: 640px) { .tele-me { display: none; } .map .park::after { top: 62%; } }
.bk-h:focus { outline: none; }
.bk-steps li { align-content: start; }
.bk-lab { font-style: normal; }
@media (max-width: 700px) {
  .bk-steps li { font-size: 13.5px; }
  .bk-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
