[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   INTAKE — clinic scheduling
   Off-white warmth, sage as the working colour. Mulish carries the
   interface; Faustina carries the people. Nothing here is sterile:
   the desk is calm, not clinical.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper:    #F4F1E9;
  --paper-2:  #EDE9DE;
  --card:     #FDFBF5;
  --card-2:   #F9F6EC;
  --ink:      #2B332C;
  --ink-2:    #5B6961;
  --ink-3:    #8B978C;
  --line:     #E3DDCE;
  --line-2:   #EFEADD;

  --sage:     #6E8C6A;
  --sage-d:   #4F6B52;
  --sage-dd:  #3A5340;
  --sage-tint:#E7EEE2;
  --sage-wash:#F1F5ED;

  --sch-fg:   #3F5945;  --sch-bg: #E4EDDF;  --sch-spine: #6E8C6A;
  --don-fg:   #3F5468;  --don-bg: #E3EAF1;  --don-spine: #6C86A0;
  --cxl-fg:   #8A5240;  --cxl-bg: #F4E6DE;  --cxl-spine: #B47C66;
  --due-fg:   #785723;  --due-bg: #F6EBD4;  --due-spine: #C49C50;

  --shadow-s: 0 1px 2px rgba(43, 51, 44, .05);
  --shadow-m: 0 2px 4px rgba(43, 51, 44, .05), 0 10px 24px -18px rgba(43, 51, 44, .35);
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --wrap: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  /* the faintest paper tooth — warmth without texture noise */
  background-image: radial-gradient(circle at 18% -8%, rgba(110, 140, 106, .10), transparent 55%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--sage-d); text-decoration-color: rgba(79, 107, 82, .32); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--sage-d);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--sage-dd); color: #FBF8F1;
  padding: 10px 16px; border-radius: 0 0 var(--r-s) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ───────────────── toast ───────────────── */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 50; max-width: min(520px, calc(100vw - 32px));
  background: var(--sage-dd); color: #F6F3EA;
  padding: 12px 20px; border-radius: 999px;
  font-size: .93rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 12px 30px -14px rgba(43, 51, 44, .6);
  animation: rise .22s ease-out;
}
.toast--err { background: #7A4433; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ───────────────── the desk bar ───────────────── */
.desk {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(244, 241, 233, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }

/* the mark is the product: a card with a tinted time gutter */
.brand-mark {
  position: relative; display: block; width: 30px; height: 22px; flex: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 5px; overflow: hidden;
  box-shadow: var(--shadow-s);
}
.bm-spine { position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--sage-d); }
.bm-lines { position: absolute; left: 13px; top: 6px; display: grid; gap: 4px; }
.bm-lines i { display: block; height: 3px; border-radius: 2px; background: var(--sage-dd); }
.bm-lines i:first-child { width: 12px; }
.bm-lines i:last-child { width: 7px; background: var(--sage); opacity: .55; }

.brand-text { display: grid; }
.brand-word {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.32rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.1;
}
.brand-sub {
  font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3);
}

.desk-nav { display: flex; gap: 4px; margin-left: auto; }
.desk-nav a {
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
  font-size: .93rem; font-weight: 600; color: var(--ink-2);
}
.desk-nav a:hover { background: var(--sage-wash); color: var(--sage-dd); }
.desk-nav a[aria-current="page"] { background: var(--sage-tint); color: var(--sage-dd); }

.who { display: flex; align-items: center; gap: 10px; }
.who-box { display: flex; align-items: center; gap: 10px; }
.who-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-tint);
}
.who-name { font-size: .9rem; font-weight: 700; color: var(--ink); }

/* ───────────────── buttons ───────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 9px 18px; cursor: pointer;
  font-family: inherit; font-size: .93rem; font-weight: 700; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }

.btn-primary { background: var(--sage-d); color: #F8F5EC; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--sage-dd); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--card); border-color: var(--sage); color: var(--sage-dd); }

.btn-quiet { background: transparent; color: var(--ink-2); padding: 7px 14px; font-weight: 600; }
.btn-quiet:hover { background: var(--sage-wash); color: var(--sage-dd); }

.btn-wide { width: 100%; padding: 12px 18px; }
.btn-sm { padding: 6px 13px; font-size: .84rem; }

.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--sage-d);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ───────────────── page frame ───────────────── */
main { display: block; }

.view {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 40px) 72px;
}
.view-narrow { max-width: 720px; }

.backlink {
  display: inline-block; margin-bottom: 18px;
  font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--ink-2);
}
.backlink::before { content: "← "; }
.backlink:hover { color: var(--sage-dd); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.section-head--minor { margin-top: 52px; border-bottom-style: dashed; }
.sh-h {
  font-family: "Faustina", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 600; letter-spacing: -.015em;
}
.sh-h--minor { font-size: 1.25rem; }
.sh-sub { margin-top: 5px; max-width: 62ch; font-size: .93rem; color: var(--ink-2); }
.sh-sub em { font-style: normal; font-weight: 700; color: var(--sch-fg); }

/* ───────────────── opener (public landing) ───────────────── */
.opener {
  padding: clamp(18px, 4vw, 34px) 0 clamp(30px, 5vw, 48px);
  max-width: 760px;
}
.op-eyebrow {
  font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage-d); margin-bottom: 14px;
}
.op-eyebrow::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 46px; height: 1px; margin-left: 12px; background: var(--sage);
  opacity: .5;
}
.op-h {
  font-family: "Faustina", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 500; letter-spacing: -.026em; line-height: 1.08;
}
.op-lede {
  margin-top: 20px; max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.09rem); color: var(--ink-2); line-height: 1.68;
}
.op-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ───────────────── clinic directory ───────────────── */
.clinic-groups { display: grid; gap: 34px; }

.city-group { display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: start; }
.city-label { position: sticky; top: 84px; }
.city-name {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em;
}
.city-count { margin-top: 2px; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); }
.city-rule { margin-top: 10px; height: 3px; width: 34px; border-radius: 2px; background: var(--sage); opacity: .55; }

.clinic-list { display: grid; gap: 12px; }

.clinic {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 18px 20px;
  box-shadow: var(--shadow-s);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.clinic:hover { border-color: rgba(110, 140, 106, .55); box-shadow: var(--shadow-m); transform: translateY(-1px); }
.cl-spec {
  font-size: .69rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--sage-d);
}
.cl-name {
  margin-top: 4px;
  font-family: "Faustina", Georgia, serif;
  font-size: 1.3rem; font-weight: 600; letter-spacing: -.012em;
}
.cl-meta { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: .89rem; color: var(--ink-2); }
.cl-meta .cl-phone { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.cl-since { margin-top: 6px; font-size: .78rem; color: var(--ink-3); }
.cl-side { display: flex; align-items: center; }

/* ───────────────── the appointment book ───────────────── */
.day-group { margin-bottom: 30px; }
.day-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.dh-word {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.14rem; font-weight: 600; letter-spacing: -.008em;
}
.dh-date { font-size: .82rem; font-weight: 600; color: var(--ink-3); letter-spacing: .03em; }
.dh-rule { flex: 1; height: 1px; min-width: 30px; background: var(--line); }
.dh-n { font-size: .8rem; font-weight: 700; color: var(--ink-3); }

.book-band {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 0 22px; padding: 14px 18px;
  border-radius: var(--r-m);
  background: var(--due-bg); border: 1px solid rgba(196, 156, 80, .38);
  color: var(--due-fg);
}
.book-band strong { font-weight: 800; }
.book-band p { font-size: .9rem; }

/* the signature card */
.appt {
  position: relative;
  display: grid; grid-template-columns: 108px 1fr auto; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 16px 20px 16px 0;
  margin-bottom: 10px; overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.appt:hover { border-color: rgba(110, 140, 106, .5); box-shadow: var(--shadow-m); }
.appt::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--sch-spine);
}
.appt--completed::before { background: var(--don-spine); }
.appt--cancelled::before { background: var(--cxl-spine); }
.appt--overdue::before { background: var(--due-spine); }

/* the time gutter — the anatomy that makes it an appointment, not a row */
.appt-when {
  display: grid; justify-items: center; align-content: center; gap: 0;
  margin-left: 5px; padding: 10px 6px;
  background: var(--sage-wash); border-right: 1px solid var(--line-2);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  align-self: stretch;
}
.appt--overdue .appt-when { background: #F8F1E1; }
.appt--completed .appt-when { background: #EDF1F5; }
.appt--cancelled .appt-when { background: #F7EEE9; }
.aw-dow {
  font-size: .67rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.aw-day {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.85rem; font-weight: 500; line-height: 1.05; letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
}
.aw-mon {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); margin-top: -1px;
}
.aw-time {
  margin-top: 7px; padding-top: 6px; border-top: 1px dashed rgba(139, 151, 140, .5);
  font-size: .84rem; font-weight: 800; color: var(--sage-dd);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}

.appt-body { min-width: 0; padding: 2px 0; }
.appt-who {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.32rem; font-weight: 600; letter-spacing: -.012em;
}
.appt-reason { margin-top: 3px; font-size: .96rem; color: var(--ink); }
.appt-where {
  margin-top: 7px; display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: .84rem; color: var(--ink-2);
}
.appt-where .aw-clinic { font-weight: 700; color: var(--ink-2); }
.appt-where .aw-tel { font-variant-numeric: tabular-nums; color: var(--ink-3); }

.appt-side { display: grid; justify-items: end; gap: 10px; }
.appt-acts { display: flex; gap: 7px; }

/* status vocabulary — unmistakable, never shouty */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px 4px 9px; border-radius: 999px;
  font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid transparent;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-scheduled { color: var(--sch-fg); background: var(--sch-bg); border-color: rgba(110, 140, 106, .4); }
.pill-completed { color: var(--don-fg); background: var(--don-bg); border-color: rgba(108, 134, 160, .4); }
.pill-cancelled { color: var(--cxl-fg); background: var(--cxl-bg); border-color: rgba(180, 124, 102, .4); }
.pill-overdue   { color: var(--due-fg); background: var(--due-bg); border-color: rgba(196, 156, 80, .45); }

.btn-close { background: var(--sage-tint); color: var(--sage-dd); border-color: rgba(110, 140, 106, .4); }
.btn-close:hover { background: var(--sage-d); color: #F8F5EC; border-color: var(--sage-d); }
.btn-drop { background: transparent; color: var(--cxl-fg); border-color: rgba(180, 124, 102, .45); }
.btn-drop:hover { background: var(--cxl-bg); }

/* the closed-at-this-desk trail */
.settled-list { display: grid; gap: 8px; }
.settled {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 12px 16px; border-radius: var(--r-m);
  background: var(--card-2); border: 1px dashed var(--line);
}
.se-time {
  font-size: .8rem; font-weight: 700; color: var(--ink-3);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.se-who { font-family: "Faustina", Georgia, serif; font-size: 1.02rem; font-weight: 600; }
.se-what { font-size: .85rem; color: var(--ink-2); }

/* ───────────────── roster ───────────────── */
.roster { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.pt {
  display: grid; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 18px 20px;
  box-shadow: var(--shadow-s);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pt:hover { border-color: rgba(110, 140, 106, .5); box-shadow: var(--shadow-m); }
.pt-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pt-name {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.4rem; font-weight: 600; letter-spacing: -.014em; line-height: 1.15;
}
.pt-age { margin-top: 2px; font-size: .84rem; color: var(--ink-2); }
.pt-blood {
  flex: none; min-width: 44px; text-align: center;
  padding: 5px 9px; border-radius: var(--r-s);
  background: var(--sage-tint); color: var(--sage-dd);
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.pt-cell dt {
  font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3);
}
.pt-cell dd { margin: 1px 0 0; font-size: .9rem; color: var(--ink); }
.pt-cell dd.tel { font-variant-numeric: tabular-nums; }
.pt-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 11px; border-top: 1px solid var(--line-2);
}
.pt-open { font-size: .82rem; font-weight: 700; color: var(--sage-d); }
.pt-open--none { color: var(--ink-3); font-weight: 600; }

/* ───────────────── forms — a kind front desk ───────────────── */
.deskform {
  display: grid; gap: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow-s);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label {
  font-size: .74rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-m);
  font-family: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D3CBB6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #FFFDF8;
  border-color: var(--sage); box-shadow: 0 0 0 3px rgba(110, 140, 106, .18);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B2A6; }
.field-help { font-size: .8rem; color: var(--ink-3); line-height: 1.5; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.chip-row button {
  border: 1px dashed var(--line); background: var(--card-2); color: var(--ink-2);
  border-radius: 999px; padding: 5px 12px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 600;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.chip-row button:hover { background: var(--sage-tint); border-color: var(--sage); color: var(--sage-dd); }

.form-err {
  padding: 10px 14px; border-radius: var(--r-m);
  background: var(--cxl-bg); border: 1px solid rgba(180, 124, 102, .45);
  color: var(--cxl-fg); font-size: .9rem; font-weight: 600;
}

/* ───────────────── the gate ───────────────── */
.gate { display: flex; justify-content: center; padding-top: clamp(4px, 3vw, 26px); }
.gate-card {
  width: 100%; max-width: 460px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: clamp(24px, 5vw, 34px);
  box-shadow: var(--shadow-m);
}
.gc-eyebrow {
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-d);
}
.gc-h {
  margin-top: 10px;
  font-family: "Faustina", Georgia, serif;
  font-size: 1.85rem; font-weight: 600; letter-spacing: -.02em;
}
.gc-note {
  margin-top: 12px; padding: 9px 13px; border-radius: var(--r-m);
  background: var(--sage-tint); border: 1px solid rgba(110, 140, 106, .35);
  color: var(--sage-dd); font-size: .88rem; font-weight: 600;
}
.gc-lede { margin: 12px 0 22px; font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
.gate-card form { display: grid; gap: 15px; }
.gc-alt { margin-top: 20px; font-size: .9rem; color: var(--ink-2); }

.demo-slot {
  margin-top: 22px; padding: 16px;
  border-radius: var(--r-m); background: var(--card-2); border: 1px dashed var(--line);
}
.ds-tag {
  font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.ds-rows { display: grid; gap: 3px; margin: 10px 0 13px; }
.ds-rows > div { display: flex; gap: 10px; font-size: .87rem; }
.ds-rows dt { min-width: 74px; color: var(--ink-3); font-weight: 600; }
.ds-rows dd { margin: 0; font-weight: 700; letter-spacing: .01em; }

/* ───────────────── states: loading, empty, error ───────────────── */
.state { margin: 8px 0 4px; }
.state-empty, .state-err {
  padding: 30px 26px; border-radius: var(--r-l);
  background: var(--card); border: 1px dashed var(--line);
  text-align: center;
}
.state-err { background: var(--cxl-bg); border-color: rgba(180, 124, 102, .45); border-style: solid; }
.st-title {
  font-family: "Faustina", Georgia, serif;
  font-size: 1.24rem; font-weight: 600; letter-spacing: -.01em;
}
.state-err .st-title { color: var(--cxl-fg); }
.st-note { margin: 7px auto 0; max-width: 46ch; font-size: .92rem; color: var(--ink-2); }
.state-err .st-note { color: var(--cxl-fg); opacity: .85; }
.st-act { margin-top: 16px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.sk-wrap { display: grid; gap: 10px; }
.sk {
  height: 96px; border-radius: var(--r-l);
  background: linear-gradient(100deg, var(--card-2) 30%, #FFFDF7 50%, var(--card-2) 70%);
  background-size: 220% 100%;
  border: 1px solid var(--line-2);
  animation: sweep 1.35s ease-in-out infinite;
}
.sk--clinic { height: 104px; }
.sk--pt { height: 190px; }
@keyframes sweep { to { background-position: -120% 0; } }

/* ───────────────── footer ───────────────── */
.foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 30px clamp(16px, 4vw, 40px) 44px;
}
.foot-line {
  max-width: var(--wrap); margin: 0 auto;
  font-family: "Faustina", Georgia, serif; font-size: 1.05rem; font-weight: 600;
}
.foot-dim {
  max-width: var(--wrap); margin: 6px auto 0;
  font-size: .84rem; color: var(--ink-3); line-height: 1.6;
}

/* ───────────────── responsive ───────────────── */
@media (max-width: 880px) {
  .city-group { grid-template-columns: 1fr; gap: 12px; }
  .city-label { position: static; display: flex; align-items: baseline; gap: 10px; }
  .city-count { margin-top: 0; }
  .city-rule { display: none; }
  .clinic { grid-template-columns: 1fr; }
  .cl-side { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .desk { flex-wrap: wrap; gap: 10px 14px; padding: 10px 16px; }
  .brand-sub { display: none; }
  .desk-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 2px; }
  .desk-nav a { white-space: nowrap; }
  .who { margin-left: auto; }

  /* the card turns: the gutter becomes a strip across the top */
  .appt { grid-template-columns: 1fr; gap: 12px; padding: 0 0 16px; }
  .appt-when {
    grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px;
    margin-left: 5px; padding: 9px 16px;
    border-right: 0; border-bottom: 1px solid var(--line-2);
    border-radius: 0 var(--r-m) 0 0;
  }
  .aw-day { font-size: 1.35rem; }
  .aw-time {
    margin-top: 0; padding-top: 0; padding-left: 10px;
    border-top: 0; border-left: 1px dashed rgba(139, 151, 140, .5);
  }
  .appt-body, .appt-side { padding: 0 18px; }
  .appt-side { justify-items: start; }
  .appt-acts { flex-wrap: wrap; }

  .field-row { grid-template-columns: 1fr; gap: 15px; }
  .roster { grid-template-columns: 1fr; }
  .settled { grid-template-columns: 1fr; gap: 5px; justify-items: start; }
}

@media (max-width: 420px) {
  .section-head .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .sk { background: var(--card-2); }
}
