/* WPI site engine — HEALTH & WELLNESS family "Clean Clinic" skin (recipe registry
   skinKey: 'clinic-clean'). SAME CLASS CONTRACT as the classic auto sheet (app.js
   and the flat pages render it unchanged — one engine, N skins), re-authored for
   a modern clinic, med-spa or dental office: crisp white, a deep teal with one
   cool blue, squared corners, tight 700-weight display type, and a BOOK ONLINE
   BAND — the teal bar that carries the booking buttons on the hero, on the
   Contact board and (on a phone / tablet) docked to the bottom of every page.
   Services render as a two-column PROCEDURE LIST with a short blurb each; the
   Contact page is an HOURS + LOCATION BOARD beside the map.

   LAYOUT LEVER: this is the family's MULTI-PAGE template (recipes.ts
   `layout: 'multi-page'`). The home page is the pitch — hero + the practice's own
   trust claims as a credentials band — and every section (Services / Reviews /
   Gallery / Contact / About) is its own page built from the index shell, so
   every rule here styles those pages for free. A non-default skin stamps
   `<html data-skin="clinic-clean">` on every page (provisioner skin-hook); rules
   that RESTRUCTURE the shared DOM — the procedure list, the credentials band,
   the book-online band, the hours board, the paybar dock — are scoped
   `html[data-skin="clinic-clean"]` so they are inert on any page not wearing this
   skin. Presentation-only rules (tokens, type, buttons, forms, money-path pages)
   stay unscoped so book/pay/checkout/faq/gallery keep the look with no per-page
   work.

   Per-merchant --brand/--accent are injected + AA-clamped by app.js at runtime
   on top of the defaults below, so a clinic's own colors win verbatim. */

/* Display face: the engine bundles ONE self-hosted variable woff2 (Archivo),
   served same-origin so the strict 'self' CSP allows it. Body text uses the
   system stack (no body web font, fast CWV). */
@font-face{
  font-family:'Archivo';
  src:url('archivo.woff2') format('woff2');
  font-weight:500 900;
  font-style:normal;
  font-display:swap;
}

:root{
  /* ---- Brand (runtime-injected + WCAG-clamped by app.js; never hardcode) ----
     Defaults ARE the registry tokens: deep teal (9.51:1 on white, 8.86:1 on the
     lightest alt surface) + a cool blue (5.17:1 / 4.82:1), so a clinic that
     never touches colors ships the clean look unclamped. */
  --brand:#0F4C5C;           /* deep teal — the band, primary fill, links, focus */
  --brand-fg:#ffffff;
  --accent:#2563EB;          /* cool blue — markers, the pay CTA, the panel edge */
  --accent-fg:#ffffff;
  --accent-on-dark:#93B9FF;  /* accent tint for the eyebrow over a hero PHOTO */

  /* ---- Neutrals (clinical white + cool grey; all >=4.5:1 where used) ---- */
  --ink:#0B1F26;             /* headings — teal-black (17:1) */
  --body:#33444B;            /* body text (10.1:1) */
  --muted:#54656C;           /* secondary; 5.7:1 on --bg-alt, 6.1:1 on white */
  --line:#DFE7EB;            /* hairlines */
  --line-strong:#C3D0D6;     /* heavier rules / input borders */
  --bg:#ffffff;
  --bg-alt:#F4F8FA;          /* cool wash — luminance >= app.js LIGHTEST_SURFACE (#f5f7fa),
                                so a boundary brand stays AA as link text here */
  --bg-sunken:#E8EFF3;       /* deeper wells (decorative only, never a text surface) */

  /* ---- Foundation scales ---- */
  --display:'Archivo', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale — crisp and a touch tighter than the classic sheet */
  --fs-eyebrow:.74rem;
  --fs-sm:.875rem;
  --fs-base:1rem;
  --fs-lg:1.125rem;
  --fs-h3:1.2rem;
  --fs-h2:clamp(1.7rem,3vw,2.3rem);
  --fs-h1:clamp(2.3rem,4.8vw,3.6rem);

  /* Spacing scale (4 / 8 px rhythm) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px;

  /* Derived brand ramp (tenant color flows through via color-mix) */
  --brand-strong:color-mix(in srgb, var(--brand) 84%, #000);   /* hover fill */
  --brand-wash:color-mix(in srgb, var(--brand) 6%, #fff);       /* faint tint */
  --brand-chip:color-mix(in srgb, var(--brand) 10%, #fff);      /* icon chip */
  --brand-ring:color-mix(in srgb, var(--brand) 40%, transparent);
  /* Focus ring: solid --brand, AA-clamped by the runtime, so it clears the 3:1
     non-text floor (WCAG 1.4.11) on white and the cool wash. */
  --focus-ring:var(--brand);

  /* Dark palette — used ONLY when the merchant supplies a hero photo (the photo
     sits under a brand-tinted scrim; app.js sets the scrim vars). Token names
     match the auto sheet so app.js's hero-scrim wiring is unchanged. */
  --navy-900:#081A20;
  --navy-800:#0C242C;
  --navy-700:color-mix(in srgb, var(--brand) 45%, #0a2028);

  /* Elevation — the clinic look is RULED, not lifted: shadows are kept for the
     modals / overlay only. */
  --sh-sm:0 1px 2px rgba(11,31,38,.04), 0 1px 3px rgba(11,31,38,.04);
  --sh-md:0 4px 10px rgba(11,31,38,.06), 0 12px 28px rgba(11,31,38,.08);
  --sh-lg:0 10px 22px rgba(11,31,38,.10), 0 30px 60px rgba(11,31,38,.14);
  --shadow:var(--sh-md);     /* back-compat alias for the original token */

  /* Radii — squared: signage and forms, not app chrome */
  --radius:10px;
  --r-sm:6px;
  --r-pill:8px;

  --maxw:1180px;
  font-synthesis:none;
}

*{box-sizing:border-box}
/* The hidden attribute must always win: section/panel toggles rely on it. */
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;color:var(--body);background:var(--bg);
  font-family:var(--sans);font-size:var(--fs-base);
  line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
h1,h2,h3{font-family:var(--display);color:var(--ink);line-height:1.1;margin:0 0 .4em;letter-spacing:-.025em;font-weight:700}
p{margin:0 0 1em}
a{color:var(--brand);text-decoration:none}
.muted{color:var(--muted)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* Visible keyboard focus everywhere. var(--brand) is WCAG-clamped to >=4.5:1 on
   white by app.js, so this ring clears the 3:1 non-text floor (WCAG 1.4.11). */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:2px;border-radius:8px;
}
/* Inside the teal band / credentials band / ink footer / paybar dock a teal ring
   would vanish: the ring goes white there (>=3:1 on all of them). */
.footer :focus-visible,.paybar :focus-visible,.hero__cta :focus-visible,.contact__cta :focus-visible,.trustbar :focus-visible{outline-color:#fff}

/* ---------------- Buttons (squared, firm, >=44px) ----------------
   No glow shadows and no lift — a clinic's buttons behave like signage. */
.btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  min-height:44px;
  font-family:var(--display);font-weight:700;font-size:.95rem;letter-spacing:.01em;
  border:1.5px solid transparent;border-radius:var(--r-pill);padding:.75em 1.5em;
  cursor:pointer;line-height:1;white-space:nowrap;
  transition:background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn--lg{min-height:54px;padding:.95em 1.9em;font-size:1.02rem}
.btn--block{width:100%}
.btn--primary{background:var(--brand);color:var(--brand-fg);box-shadow:none}
.btn--primary:hover{background:var(--brand-strong)}
.btn--accent{background:var(--accent);color:var(--accent-fg);box-shadow:none}
.btn--accent:hover{background:color-mix(in srgb,var(--accent) 86%,#000)}
.btn--ghost{background:#fff;border-color:var(--line-strong);color:var(--ink)}
.btn--ghost:hover{border-color:var(--ink);background:var(--brand-wash)}
.btn:active{transform:translateY(1px)}
.btn--phone{font-variant-numeric:tabular-nums}

/* ---------------- Topbar (white, a firm rule, small-caps nav) ---------------- */
.topbar{position:sticky;top:0;z-index:40;background:#fff;border-bottom:2px solid var(--line)}
.topbar__inner{display:flex;align-items:center;gap:24px;height:74px}
.brand{display:flex;align-items:center;gap:12px;font-family:var(--display);font-weight:700;color:var(--ink)}
.brand__badge{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--r-sm);background:var(--brand);color:var(--brand-fg);font-size:.88rem;font-weight:700;letter-spacing:.04em}
.brand__logo{height:42px;max-height:42px;width:auto;max-width:190px;object-fit:contain;display:block}
.brand__name{font-size:1.1rem;letter-spacing:-.015em}
.nav{display:flex;gap:2px;margin-left:auto}
.nav a{position:relative;display:inline-flex;align-items:center;min-height:44px;color:var(--body);font-family:var(--display);font-weight:700;font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;padding:10px 12px;border-radius:var(--r-sm);transition:color .15s ease, background .15s ease}
.nav a:hover{color:var(--brand);background:var(--brand-wash)}
.topbar .btn--phone{margin-left:8px;border-color:var(--brand);color:var(--brand)}

/* ---------------- Hero (WHITE statement + the BOOK ONLINE band + appointment panel) ----------------
   The home page is the pitch: a white two-column statement beside the
   appointment panel, the booking buttons carried on a teal band, and a crisp
   two-tone rule closing the hero. Ink on white is 17:1; the eyebrow is the
   AA-clamped --accent as text. */
.hero{
  position:relative;overflow:hidden;color:var(--ink);
  padding:80px 0 88px;
  background:#fff;
}
/* The auto sheet's engineered mesh + brand bloom are dropped: nothing decorates
   the statement. ::after becomes the two-tone closing rule (brand 60% / accent). */
.hero::before{content:none}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;width:auto;height:6px;border-radius:0;background:linear-gradient(90deg,var(--brand) 0 60%,var(--accent) 60%);pointer-events:none}
/* Merchant hero background image (optional): app.js sets --hero-image + adds
   this class and the AA-clamped scrim vars. Only THEN does the hero go dark —
   the photo sits under a brand-tinted scrim whose darkness the merchant
   controls, and the copy flips to white (>=4.5:1 over ANY image at the
   lightest setting). A solid --navy-900 base shows if the image is slow. */
.hero--has-image{
  color:#eef4f6;
  background:
    linear-gradient(158deg, color-mix(in srgb,var(--navy-900) var(--hero-ov-top,90%),transparent) 0%, color-mix(in srgb,var(--navy-800) var(--hero-ov-mid,82%),transparent) 52%, color-mix(in srgb,var(--navy-900) var(--hero-ov-bot,87%),transparent) 100%),
    var(--hero-image) center / cover no-repeat,
    var(--navy-900);
}
.hero__inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:56px;align-items:start;position:relative;z-index:1}
.hero__inner:has(> .hero__copy:only-child){grid-template-columns:1fr;max-width:820px}
.eyebrow{display:inline-flex;align-items:center;gap:12px;text-transform:uppercase;letter-spacing:.16em;font-size:var(--fs-eyebrow);font-weight:700;font-family:var(--display);color:var(--accent);margin:0 0 20px}
.eyebrow::before{content:"";width:12px;height:12px;background:var(--accent)}
.hero h1{color:var(--ink);font-size:var(--fs-h1);font-weight:700;line-height:1.04;letter-spacing:-.03em;margin:0 0 .3em;max-width:15ch}
.lede{font-size:clamp(1.06rem,1.5vw,1.25rem);color:var(--body);margin:0 0 28px;max-width:46ch;line-height:1.6}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap}
.hero__trust{margin-top:24px;display:flex;align-items:center;gap:14px;color:var(--muted);font-size:.95rem;font-weight:500;flex-wrap:wrap}
.stars{color:#b45309;letter-spacing:2px} /* 5.0:1 on white */
/* Over a photo the whole statement goes to the light palette. */
.hero--has-image .eyebrow{color:#f3f8fa}
.hero--has-image .eyebrow::before{background:var(--accent-on-dark)}
.hero--has-image h1{color:#fff}
.hero--has-image .lede{color:#c9d8de}
.hero--has-image .hero__trust{color:#d3dee2}
.hero--has-image .stars{color:#ffc24b}
.hero--has-image .btn--ghost{background:#fff;border-color:#fff}

/* ---- The BOOK ONLINE band. The hero's CTA row becomes a teal bar: the book
   button inverts to white-on-teal so it is the brightest thing in the bar, the
   pay button keeps the blue accent. app.js removes a flag-off button, and a bar
   with nothing left in it hides itself (:has), so a booking-off site never
   shows an empty teal stripe. Scoped: it restructures the CTA row. */
html[data-skin="clinic-clean"] .hero__cta{background:var(--brand);padding:14px;border-radius:var(--radius);gap:10px;align-items:center}
html[data-skin="clinic-clean"] .hero__cta:not(:has(.btn)){display:none}
html[data-skin="clinic-clean"] .hero__cta .btn--primary{background:#fff;color:var(--brand)}
html[data-skin="clinic-clean"] .hero__cta .btn--primary:hover{background:var(--bg-alt)}

/* Appointment panel — a ruled card with a blue top edge; no drop shadow. */
.hero__card{background:#fff;color:var(--ink);border:1px solid var(--line-strong);border-top:6px solid var(--accent);border-radius:var(--radius);padding:30px;box-shadow:none;position:relative;overflow:hidden}
.hero__card::before{content:none}
.hero__card h2{margin:0 0 .2em;font-size:1.25rem;font-weight:700}
.qform{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.qfield{display:flex;flex-direction:column;gap:6px}
.qfield label{font-size:.8rem;font-weight:700;color:var(--ink);text-transform:uppercase;letter-spacing:.06em}
/* "(required)" marker — normal-weight annotation; AT gets required-ness from the
   input's `required` attribute, so the marker is aria-hidden in the markup. */
.req{font-weight:400;color:var(--ink);text-transform:none;letter-spacing:0}
.qform input,.qform select{width:100%;box-sizing:border-box;padding:.8em .9em;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.qform input:focus,.qform select:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.qform__note{font-size:.8rem;color:var(--muted);margin:.8em 0 0;line-height:1.55}
.qfield--hp{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Keyboard skip link — hidden off-screen until focused, then slides in. */
.skip-link{position:fixed;top:0;left:0;z-index:1000;background:var(--ink);color:#fff;padding:10px 16px;border-bottom-right-radius:10px;font-weight:700;transform:translateY(-120%);transition:transform .15s ease}
.skip-link:focus{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.skip-link{transition:none}}

/* ---------------- Trust strip == CREDENTIALS BAND (home page) ----------------
   The practice's own claims (merchants.trust_json; empty = omitted) as a full-
   width teal band directly under the hero: white small-caps items, each in its
   own cell with a hairline between. White on the AA-clamped --brand is always
   >=4.5:1. Unscoped rules keep the classic look; the band is scoped. */
.trustbar{background:var(--bg-alt);border-bottom:1px solid var(--line)}
.trustbar__inner{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 40px;padding:20px 0}
.trustbar__item{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:var(--ink)}
.trustbar__item svg{width:20px;height:20px;color:var(--brand);flex:none}
html[data-skin="clinic-clean"] .trustbar{background:var(--brand);border-bottom:0}
html[data-skin="clinic-clean"] .trustbar__inner{gap:0;padding:0;justify-content:stretch}
html[data-skin="clinic-clean"] .trustbar__item{flex:1 1 200px;justify-content:center;padding:18px 20px;color:#fff;border-left:1px solid color-mix(in srgb,#fff 18%,transparent)}
html[data-skin="clinic-clean"] .trustbar__item:first-child{border-left:0}
html[data-skin="clinic-clean"] .trustbar__item svg{color:#fff}

/* ---------------- Sections ---------------- */
.section{padding:80px 0}
.section--alt{background:var(--bg-alt)}
.section__title{font-size:var(--fs-h2);font-weight:700;letter-spacing:-.025em;position:relative;padding-top:20px}
/* a short blue block above each section title — the clinic's one ornament */
.section__title::before{content:"";position:absolute;top:0;left:0;width:48px;height:5px;background:var(--accent)}
.section__sub{color:var(--muted);margin:.5em 0 40px;font-size:var(--fs-lg);max-width:60ch;line-height:1.6}
/* On a section page the moved block's title is promoted to the page h1. */
h1.section__title{font-size:clamp(2rem,4vw,3rem)}

/* ---------------- Grids / cards ---------------- */
.grid{display:grid;gap:24px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:none;transition:border-color .16s ease, background .16s ease}
.card:hover{border-color:color-mix(in srgb,var(--brand) 30%,var(--line))}
.card__icon{width:46px;height:46px;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--brand-chip);color:var(--brand);margin-bottom:18px}
.card__icon svg{width:24px;height:24px}
.card h3{font-size:var(--fs-h3);font-weight:700;margin-bottom:.3em;text-transform:none;letter-spacing:-.015em}
.card p{margin:0;color:var(--body)}
.card--media{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card__media{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg-alt)}
.card--media .card__body{padding:22px 24px 24px;flex:1}

/* ---- Services as a TWO-COLUMN PROCEDURE LIST (not cards) ----
   Scoped to the services grid only (#servicesGrid) so the catalog and review
   grids — which share .grid--3 — keep their own grammar. Two ruled columns; each
   row is [ icon ][ procedure / short blurb ] on a hairline, under a firm ink
   rule. A row with a photo (.card--media) shows it as a square thumbnail in the
   icon column. */
html[data-skin="clinic-clean"] #servicesGrid{grid-template-columns:1fr 1fr;gap:0 56px;border-top:2px solid var(--ink)}
html[data-skin="clinic-clean"] #servicesGrid .card{
  display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:18px;row-gap:2px;align-items:start;
  background:transparent;border:0;border-bottom:1px solid var(--line-strong);border-radius:0;padding:22px 0;box-shadow:none;
}
html[data-skin="clinic-clean"] #servicesGrid .card:hover{background:transparent;border-color:var(--line-strong)}
html[data-skin="clinic-clean"] #servicesGrid .card__icon{grid-column:1;grid-row:1/3;margin:0;width:44px;height:44px;background:var(--bg-alt);border:1px solid var(--line);color:var(--brand)}
html[data-skin="clinic-clean"] #servicesGrid .card__icon svg{width:22px;height:22px}
html[data-skin="clinic-clean"] #servicesGrid .card h3{grid-column:2;grid-row:1;margin:0;font-size:1.12rem;line-height:1.3}
html[data-skin="clinic-clean"] #servicesGrid .card p{grid-column:2;grid-row:2;font-size:.95rem;line-height:1.55;max-width:52ch}
html[data-skin="clinic-clean"] #servicesGrid .card--media{display:grid;grid-template-columns:72px minmax(0,1fr);overflow:visible}
html[data-skin="clinic-clean"] #servicesGrid .card--media .card__media{grid-column:1;grid-row:1/3;width:72px;aspect-ratio:1;border-radius:var(--r-sm);border:1px solid var(--line)}
html[data-skin="clinic-clean"] #servicesGrid .card--media .card__body{grid-column:2;grid-row:1/3;padding:0}
html[data-skin="clinic-clean"] #servicesGrid .card--media .card__body h3{margin:0 0 .2em;font-size:1.12rem}

/* ---------------- Reviews (Reviews page: ruled cards, a teal top edge) ---------------- */
.reviews__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:36px;flex-wrap:wrap}
.card.review{display:flex;flex-direction:column}
.review .review__stars{color:#b45309;letter-spacing:2px;margin-bottom:12px;font-size:.98rem} /* >=4.5:1 on white + the wash */
.review p{font-size:1.02rem;color:var(--body)}
.review__name{font-weight:700;font-family:var(--display);color:var(--ink);margin-top:16px}
/* Live Google Reviews: attribution label + author row (avatar + name/link). */
.review-attrib{grid-column:1/-1;margin:0 0 4px;font-size:.9rem;font-weight:700}
.review__author{display:flex;align-items:center;gap:10px;margin-top:16px}
.review__author .review__name{margin-top:0}
a.review__name{text-decoration:none}
a.review__name:hover,a.review__name:focus-visible{text-decoration:underline}
.review__avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:0 0 auto}
/* DESIGNED EMPTY STATE ("no reviews yet", "no products yet"): a dashed panel on
   the cool wash with centred muted text — a designed pause, not a hole. */
.empty-state{grid-column:1/-1;padding:28px 24px;text-align:center;border:1.5px dashed var(--line-strong);border-radius:var(--r-sm);background:var(--bg-alt);color:var(--muted)}
/* Card-level only (never `display` on the grid) so the auto-advancing rail the
   engine appends for a live reviews source keeps its flex scroller intact. */
html[data-skin="clinic-clean"] .card.review{border:1px solid var(--line-strong);border-top:4px solid var(--brand);border-radius:0 0 var(--r-sm) var(--r-sm)}
html[data-skin="clinic-clean"] .card.review:hover{border-color:var(--line-strong);border-top-color:var(--brand)}
html[data-skin="clinic-clean"] .review__name{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}

/* ---------------- Gallery (designed EMPTY state: ruled white tiles) ----------------
   A clinic rarely has photos at launch. Placeholder tiles are white with a fine
   grid and the caption in ink — never a navy slab. A tile that carries a photo
   (:has) reverts to the white-caption-over-scrim treatment. */
.tile{aspect-ratio:4/3;border-radius:var(--r-sm);background:var(--bg-alt);border:1px solid var(--line-strong);position:relative;overflow:hidden;display:flex;align-items:flex-end;color:var(--ink);box-shadow:none}
.tile:nth-child(2n){background:var(--bg-alt)}
.tile:nth-child(3n){background:var(--bg-alt)}
.tile__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.tile:hover .tile__img{transform:scale(1.03)}
.tile span{position:relative;padding:16px 16px 14px;font-weight:700;font-size:.9rem;width:100%;background:none}
html[data-skin="clinic-clean"] .tile::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(color-mix(in srgb,var(--ink) 6%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--ink) 6%,transparent) 1px,transparent 1px);background-size:24px 24px}
html[data-skin="clinic-clean"] .tile:has(.tile__img)::before{content:none}
html[data-skin="clinic-clean"] .tile:has(.tile__img){color:#fff;border-color:transparent}
html[data-skin="clinic-clean"] .tile:has(.tile__img) span{padding:26px 14px 13px;background:linear-gradient(transparent,rgba(8,26,32,.72) 38%)}

/* ---------------- Products catalog (rare for a clinic; kept usable) ---------------- */
.catalog__section{grid-column:1/-1;margin:20px 0 4px;font-family:var(--display);font-size:1.2rem;font-weight:700;letter-spacing:-.015em;color:var(--ink);border-bottom:2px solid var(--ink);padding-bottom:12px}
.catalog__section:first-child{margin-top:0}
.card--product{position:relative;padding:0;overflow:hidden;display:flex;flex-direction:column}
.product__media{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg-alt)}
.product__media--ph{display:grid;place-items:center;background:var(--bg-alt);color:var(--brand)}
.product__media--ph svg{width:46px;height:46px;opacity:.6}
.product__body{display:flex;flex-direction:column;gap:6px;padding:22px 24px 24px;flex:1}
.card--product .product__name{font-size:1.06rem;font-weight:700;font-family:var(--display);margin:0}
.product__desc{margin:0;font-size:.92rem;color:var(--body)}
.product__price{margin-top:auto;padding-top:12px;color:var(--ink);font-weight:700;font-size:1.12rem;font-variant-numeric:tabular-nums}
.card--out{filter:saturate(.4)}
.product__badge{position:absolute;top:14px;left:14px;background:var(--ink);color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.42em .85em;border-radius:var(--r-sm)}

/* ---------------- Cart ---------------- */
.btn--add{margin-top:16px;align-self:flex-start}
.cart__count{display:inline-grid;place-items:center;min-width:1.5em;padding:.05em .45em;border-radius:var(--r-pill);background:var(--accent);color:var(--accent-fg);font-size:.78rem;font-weight:700;font-variant-numeric:tabular-nums}
dialog.cartdrawer{margin:0 0 0 auto;width:min(440px,100%);max-width:440px;height:100dvh;max-height:100dvh;border-radius:0;animation:slidein .2s ease;overflow-y:auto}
@keyframes slidein{from{transform:translateX(28px);opacity:.4}to{transform:none;opacity:1}}
.cartdrawer__inner{display:flex;flex-direction:column;min-height:100%}
.cartdrawer__inner > div{display:flex;flex-direction:column;flex:1}
.cartitem{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.cartitem__info{flex:1;min-width:0}
.cartitem__name{font-weight:700;color:var(--ink)}
.cartitem__price{font-size:.88rem;color:var(--muted)}
.cartitem__qty{display:flex;align-items:center;gap:8px}
.qtybtn{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--line-strong);background:#fff;color:var(--ink);font-size:1.05rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:border-color .15s,background .15s}
.qtybtn:hover{background:var(--bg-alt);border-color:var(--brand)}
.cartitem__count{min-width:2ch;text-align:center;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
/* Standalone control (not inline text): keep the >=24px-tall hit target (WCAG 2.5.8). */
.cartitem__remove{display:inline-flex;align-items:center;min-height:24px;border:0;background:none;color:var(--muted);cursor:pointer;font-size:.85rem;font-weight:600;text-decoration:underline;text-underline-offset:2px;padding:.3em .2em}
.cartitem__remove:hover{color:var(--ink)}
.cart__subtotal{display:flex;justify-content:space-between;align-items:baseline;font-weight:700;color:var(--ink);font-size:1.12rem;padding:18px 0 4px}
.cart__note{font-size:.82rem;color:var(--muted);margin:.4em 0 16px}
.cart__error{color:#b3362e;font-size:.9rem;margin:0 0 10px}
.cart__actions{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:16px}

/* ---------------- Contact == HOURS + LOCATION BOARD (Contact page) ----------------
   Unscoped: the classic two-column contact. Scoped: the address / phone / hours
   block becomes a white board with a teal top edge — hours as a zebra table with
   a teal header — beside a map that fills the column; the book buttons ride the
   same teal band as the hero. */
.contact__grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.contact__line{display:flex;gap:14px;align-items:center;font-size:var(--fs-lg);margin:.6em 0}
.ico{width:40px;height:40px;border-radius:var(--r-sm);display:inline-grid;place-items:center;background:var(--bg-alt);border:1px solid var(--line);color:var(--brand);flex:none}
.ico svg{width:19px;height:19px}
.hours__title{margin-top:32px;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em}
.hours{border-collapse:collapse;width:100%;max-width:420px}
.hours td{padding:.65em 0;border-bottom:1px solid var(--line)}
.hours td:last-child{text-align:right;color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.hours__open td{color:var(--brand)}
.holidays{margin-top:24px;max-width:420px}
.holidays__title{margin:0 0 8px;font-size:1rem;font-weight:700}
.holidays__list{list-style:none;margin:0;padding:0}
.holiday{padding:.45em 0;border-bottom:1px solid var(--line);font-size:.98rem}
.holiday__when{font-weight:700;color:var(--ink)}
.holiday__label{color:var(--muted)}
.contact__cta{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.map{min-height:380px;border-radius:var(--r-sm);overflow:hidden;border:1px solid var(--line-strong);background:var(--bg-sunken);box-shadow:none}
.map iframe{width:100%;height:100%;border:0;min-height:380px}
html[data-skin="clinic-clean"] #contact{background:var(--bg-alt)}
html[data-skin="clinic-clean"] #contact .contact__grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:stretch}
html[data-skin="clinic-clean"] #contact .contact__grid > div:first-child{background:#fff;border:1px solid var(--line-strong);border-top:6px solid var(--brand);border-radius:var(--r-sm);padding:32px}
html[data-skin="clinic-clean"] #contact .section__title{padding-top:0}
html[data-skin="clinic-clean"] #contact .section__title::before{content:none}
html[data-skin="clinic-clean"] #contact .hours__title{margin:28px 0 0;padding:10px 14px;background:var(--brand);color:#fff;border-radius:var(--r-sm) var(--r-sm) 0 0}
html[data-skin="clinic-clean"] #contact .hours{max-width:none;border:1px solid var(--line-strong);border-top:0}
html[data-skin="clinic-clean"] #contact .hours td{padding:.7em 14px;border-bottom:1px solid var(--line)}
html[data-skin="clinic-clean"] #contact .hours tr:nth-child(even) td{background:var(--bg-alt)}
html[data-skin="clinic-clean"] #contact .hours td:first-child{font-weight:700;color:var(--ink)}
html[data-skin="clinic-clean"] #contact .hours__open td{color:var(--brand)}
html[data-skin="clinic-clean"] #contact .holidays{max-width:none}
html[data-skin="clinic-clean"] #contact .contact__cta{background:var(--brand);padding:14px;border-radius:var(--r-sm);gap:10px}
html[data-skin="clinic-clean"] #contact .contact__cta:not(:has(.btn)){display:none}
html[data-skin="clinic-clean"] #contact .contact__cta .btn--primary{background:#fff;color:var(--brand)}
html[data-skin="clinic-clean"] #contact .contact__cta .btn--primary:hover{background:var(--bg-alt)}
html[data-skin="clinic-clean"] #contact .map{min-height:420px;height:100%}

/* ---------------- Footer (ink, quiet) ---------------- */
.footer{background:var(--ink);color:#c3ced3;padding:44px 0}
.footer__inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.9rem;align-items:center}
.footer__powered{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.6em}
.footer__powered strong{color:#fff}
/* Wholesale Payments credit mark (official white-text lockup on the dark footer). */
.wpi-credit{height:18px;width:auto;display:inline-block;vertical-align:middle}
.footer__links{display:inline-flex;flex-wrap:wrap;gap:.6em;font-size:.86rem}
.footer__links a:not(:last-child)::after{content:"·";margin-left:.6em;color:#8a98a0;text-decoration:none}
.footer a{color:#dfe6ea;text-decoration:underline;text-underline-offset:2px}
.footer a:hover{color:#fff}

/* ---------------- Sticky action bar == the BOOK ONLINE dock ----------------
   Teal, with the book button inverted to white — the same band as the hero.
   Shown on phones by the classic rule (560px) and, scoped, on tablets too
   (880px) so the booking action is one tap away on every page of the site. */
.paybar{position:fixed;bottom:0;left:0;right:0;z-index:45;display:none;gap:10px;padding:10px 14px;background:var(--brand);border-top:0;box-shadow:0 -6px 20px rgba(11,31,38,.18)}
.paybar .btn{flex:1;min-height:48px}
.paybar .btn--primary{background:#fff;color:var(--brand)}
.paybar .btn--primary:hover{background:var(--bg-alt)}

/* ---------------- Dialog / modal ---------------- */
dialog.modal{border:1px solid var(--line-strong);border-radius:var(--radius);padding:0;max-width:460px;width:calc(100% - 40px);box-shadow:var(--sh-lg);animation:pop .18s ease}
dialog.modal:not([open]){display:none}
dialog.modal::backdrop{background:rgba(8,26,32,.55);backdrop-filter:blur(2px)}
.modal__inner{position:relative;padding:30px;border-radius:inherit}
@keyframes pop{from{transform:translateY(10px) scale(.98);opacity:.5}to{transform:none;opacity:1}}
/* >=24x24 CSS-px hit target (WCAG 2.5.8): a centered 40px box, not a bare glyph. */
.modal__x{position:absolute;right:8px;top:8px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:none;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--muted)}
.modal__x:hover{color:var(--ink)}
.modal h3{margin-top:0}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field label{font-size:.85rem;font-weight:700;color:var(--ink)}
.field input,.field select,.field textarea{padding:.8em .95em;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;font-family:inherit;color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.secured{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--muted);margin-top:16px;justify-content:center}
.success{text-align:center;padding:12px 0}
.success__check{width:64px;height:64px;border-radius:50%;background:#15803d;color:#fff;display:grid;place-items:center;font-size:2rem;margin:0 auto 18px;box-shadow:0 8px 20px rgba(21,128,61,.28)}
.redirect-note{font-size:.8rem;word-break:break-all;text-align:center;margin-top:10px}

/* ---------------- Draft-preview banner ---------------- */
.draftbar{background:var(--accent);color:#fff;text-align:center;font-size:.85rem;font-weight:700;padding:10px 14px;position:relative;z-index:50}

/* ---------------- Responsive (down to 320px, 16px gutters) ---------------- */
@media (max-width:980px){
  .hero__inner{gap:40px;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}
  .contact__grid{gap:40px}
}
@media (max-width:880px){
  .hero{padding:56px 0 72px}
  .hero__inner{grid-template-columns:1fr;gap:36px}
  .hero h1{max-width:none}
  /* Phase 2 — mobile contact/quote form: the appointment panel leads, the
     statement follows (the conversion path first). */
  .hero__card{order:-1}
  .grid--3{grid-template-columns:1fr 1fr}
  .grid--4{grid-template-columns:1fr 1fr}
  .contact__grid{grid-template-columns:1fr}
  .nav{display:none}
  .btn--cart{margin-left:auto}
  .section{padding:64px 0}
  /* The book-online dock appears from tablet width down, on every page. */
  html[data-skin="clinic-clean"] .paybar{display:flex}
  html[data-skin="clinic-clean"] body{padding-bottom:72px}
  html[data-skin="clinic-clean"] .trustbar__inner{flex-direction:column;align-items:stretch}
  html[data-skin="clinic-clean"] .trustbar__item{flex:none;justify-content:flex-start;padding:12px 20px;border-left:0;border-top:1px solid color-mix(in srgb,#fff 18%,transparent)}
  html[data-skin="clinic-clean"] .trustbar__item:first-child{border-top:0}
  /* Procedure list: one column on a tablet. */
  html[data-skin="clinic-clean"] #servicesGrid{grid-template-columns:1fr}
  html[data-skin="clinic-clean"] #contact .contact__grid{grid-template-columns:1fr;align-items:start}
  html[data-skin="clinic-clean"] #contact .map{height:auto;min-height:340px}
}
@media (max-width:560px){
  .wrap{padding:0 16px}
  .grid--3,.grid--4{grid-template-columns:1fr}
  .paybar{display:flex}
  .topbar .btn--phone{display:none}
  body{padding-bottom:72px}
  .trustbar__inner{gap:12px 24px}
  .hero__cta .btn{width:100%}
  .hero__card{padding:22px}
  .card{padding:22px}
  html[data-skin="clinic-clean"] #contact .contact__grid > div:first-child{padding:22px}
  html[data-skin="clinic-clean"] #contact .contact__cta .btn{width:100%}
  /* Money-path pages (book / checkout / pay): the "Back to {DBA}" button kept
     nowrap and pushed the page ~60–150px past the screen while the wordmark
     broke into three lines. The row may wrap now and the button gives up
     nowrap. */
  .checkout-page .topbar__inner{flex-wrap:wrap;height:auto;min-height:74px;padding:10px 0;row-gap:6px}
  .checkout-page .brand{flex:1 1 auto;min-width:0}
  .topbar__back{white-space:normal;text-align:center;line-height:1.15;font-size:.8rem;padding:.6em .9em;flex:0 1 auto;min-width:0;max-width:100%}
}
@media (max-width:380px){
  /* very small phones: never let content or buttons overflow the 320px floor */
  .wrap{padding:0 16px}
  .hero__card{padding:18px}
  .card{padding:18px}
  .topbar__inner{gap:14px}
}

/* ---------------- Securely-charging overlay (checkout / pay / book) ----------------
   Shown while a card is on the wire: a fixed, click-blocking scrim + a centered
   card with a branded spinner. The page JS just toggles the [hidden] attribute;
   role=status + aria-live announces it. CSP-safe (class-based, no inline styles). */
.charge-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:color-mix(in srgb,var(--ink) 58%,transparent);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:co-fade .2s ease}
.charge-overlay__card{background:#fff;border-radius:var(--radius);padding:34px 30px;max-width:340px;width:100%;text-align:center;box-shadow:var(--sh-lg)}
.charge-overlay__spinner{width:48px;height:48px;margin:0 auto 18px;border-radius:50%;border:3px solid var(--bg-sunken);border-top-color:var(--brand);animation:co-spin .8s linear infinite}
.charge-overlay__title{margin:0 0 6px;font-family:var(--display);font-weight:700;font-size:1.08rem;color:var(--ink)}
.charge-overlay__note{margin:0;font-size:.9rem;color:var(--muted);line-height:1.5}
.charge-overlay__lock{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:.78rem;font-weight:600;color:var(--muted)}
.charge-overlay__lock svg{width:13px;height:13px}
@keyframes co-spin{to{transform:rotate(360deg)}}
@keyframes co-fade{from{opacity:0}to{opacity:1}}

/* ---------------- Reduced motion (WCAG 2.3.3) ---------------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  dialog.modal,dialog.cartdrawer{animation:none}
  .btn:active{transform:none}
  .tile:hover .tile__img{transform:none}
  /* The spinner stops; the static brand-topped ring + the aria-live title still
     signal that the charge is in progress. */
  .charge-overlay,.charge-overlay__spinner{animation:none}
}

/* ---------------- Kanopy Token.js card step (checkout / book deposit) ---------------- */
.cardstep{display:flex;flex-direction:column;gap:14px}
.cardstep__row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cardstep .qfield > div{min-height:44px;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);padding:.4em .55em;background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.cardstep .qfield > div:focus-within{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring)}

/* ---------------- Pay-invoice page ---------------- */
.invoice__summary{font-weight:700;color:var(--ink);font-size:1.12rem;margin:0 0 .4em}

/* ---------------- Checkout-style pages (checkout/pay/book) ----------------
   book.html is a first-class page for this template: ruled white panels on the
   cool wash, the appointment fields at a comfortable size, the card step only
   when a deposit is set (book.js removes it otherwise). */
.checkout-page{background:var(--bg-alt)}
.checkout{padding:48px 0 88px}
.checkout__wrap{max-width:640px}
.checkout__panel{background:#fff;border:1px solid var(--line-strong);border-radius:var(--radius);padding:30px;margin-bottom:22px;box-shadow:none}
.checkout__panel h2{font-size:var(--fs-h3);font-weight:700;margin-bottom:.65em;letter-spacing:-.015em}
.summary__row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.summary__name{font-weight:700;color:var(--ink)}
.summary__qty{font-size:.88rem;color:var(--muted)}
.summary__line{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700;color:var(--ink)}
.checkout .qfield{margin-bottom:16px}
.checkout .qfield input,.checkout .qfield select,.checkout .qfield textarea{width:100%;box-sizing:border-box;padding:.85em .95em;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.checkout .qfield input:focus,.checkout .qfield select:focus,.checkout .qfield textarea:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
/* Delivery-address fieldset (shippingAddress flag) — visually a labelled group. */
.qfieldset{border:0;margin:0 0 16px;padding:0;min-width:0}
.qfieldset legend{padding:0;margin-bottom:10px;font-family:var(--display);font-weight:700;font-size:.95rem;color:var(--ink)}
/* Estimated tax + subtotal rows in the order summary. */
.summary__subtotal,.summary__tax{color:var(--muted);font-size:.92rem}
.summary__subtotal span:last-child,.summary__tax span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.topbar__back{margin-left:auto}

/* ---------------- Transactional step indicator (checkout/book/pay) ---------------- */
.steps{display:flex;gap:10px;list-style:none;margin:0 0 28px;padding:0;counter-reset:step}
.step{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:13px 15px;border-radius:var(--r-sm);background:#fff;border:1px solid var(--line-strong);box-shadow:none;font-family:var(--display);font-weight:700;font-size:.85rem;color:var(--muted);counter-increment:step;transition:background .15s ease, border-color .15s ease, color .15s ease}
.step__n{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--bg-alt);border:1.5px solid var(--line-strong);color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums;transition:background .15s ease, border-color .15s ease, color .15s ease}
.step__n::before{content:counter(step)}
.step__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.steps .step--pay{display:none}
.checkout__wrap:has(#cardStep) .steps .step--pay{display:flex}
.steps .step--1{color:var(--ink);background:var(--brand-wash);border-color:color-mix(in srgb,var(--brand) 38%,var(--line))}
.steps .step--1 .step__n{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--1,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--1,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--pay{color:var(--ink);background:#fff;border-color:var(--line)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--1 .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--1 .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--pay .step__n{background:#15803d;border-color:transparent;color:#fff}
.checkout__wrap:has(#cardStep:not([hidden])) .step--pay,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--done{color:var(--ink);background:var(--brand-wash);border-color:color-mix(in srgb,var(--brand) 38%,var(--line))}
.checkout__wrap:has(#cardStep:not([hidden])) .step--pay .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--done .step__n{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}
@media (max-width:560px){.step__label{display:none}.step{justify-content:center;padding:11px}}

/* ---------------- Secure-payment trust treatment ---------------- */
.secured svg{width:16px;height:16px;flex:none;color:var(--ink)}
.cardstep .secured{margin-top:8px}

/* ---------------- Inline validation (only after the field is touched) ---------------- */
.checkout .qfield input:user-invalid,
.checkout .qfield textarea:user-invalid,
.checkout .qfield select:user-invalid{border-color:#b3362e}

/* ================= The clinic-clean look (distinct looks B7, 2026-10-01) =================
   The signature: a crisp white band with a big headline and the Book online
   bar, the clinic photo as a wide strip under it. The levers come from the
   registry (recipes.ts WELLNESS_SKINS: hero stacked, nav plain, services
   list, reviews carousel, trust badges, contact band, footer columns); this
   block polishes them under data-skin AND the lever stamp. The lever base
   sheets are folded AFTER this one, so every rule here is at least as
   specific as the base rule it adjusts, never !important. */

/* THE WHITE BAND: a stacked hero never carries a scrim; here the band is the
   page's own white with a big ink headline (>=15:1), and the Book online bar
   (the brand strip above) spans the copy column. The photo strip follows
   with the brand and accent rule along its bottom edge. */
html[data-skin="clinic-clean"] .hero[data-hero="stacked"]{background:#fff;color:var(--ink);padding-top:clamp(56px,7vw,96px)}
html[data-skin="clinic-clean"] .hero[data-hero="stacked"]>.hero__inner{max-width:var(--maxw);padding-bottom:clamp(40px,5vw,64px)}
html[data-skin="clinic-clean"] .hero[data-hero="stacked"] h1{font-size:clamp(2.6rem,6.6vw,5.2rem);max-width:16ch;letter-spacing:-.035em}
html[data-skin="clinic-clean"] .hero[data-hero="stacked"] .lede{font-size:clamp(1.1rem,1.6vw,1.3rem);max-width:52ch}
html[data-skin="clinic-clean"] .hero[data-hero="stacked"] .hero__cta{max-width:760px}
html[data-skin="clinic-clean"] .hero[data-hero="stacked"]>.hero__media.is-painted{aspect-ratio:24/7;border-bottom:6px solid var(--brand)}
@media (max-width:720px){
  html[data-skin="clinic-clean"] .hero[data-hero="stacked"]>.hero__media.is-painted{aspect-ratio:4/3}
}

/* THE PROCEDURE LIST in two columns (services list): the base list is one
   column; a clinic reads its menu as two, each row ruled on top and the list
   closed by one rule under it. One column on a phone. */
html[data-skin="clinic-clean"] :is(#services,#teaser-services)[data-variant="list"] .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;border-bottom:1px solid var(--line)}
html[data-skin="clinic-clean"] :is(#services,#teaser-services)[data-variant="list"] .card{border-bottom:0}
html[data-skin="clinic-clean"] :is(#services,#teaser-services)[data-variant="list"] .card:last-child{border-bottom:0}
@media (max-width:720px){
  html[data-skin="clinic-clean"] :is(#services,#teaser-services)[data-variant="list"] .grid{grid-template-columns:minmax(0,1fr)}
}

/* TRUST BADGES on the brand band: white seal chips with ink text (>=15:1),
   the round brand seal for the icon. The band's own column dividers go. */
html[data-skin="clinic-clean"] .trustbar[data-variant="badges"] .trustbar__inner{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:22px 0}
html[data-skin="clinic-clean"] .trustbar[data-variant="badges"] .trustbar__item{flex:0 1 auto;justify-content:flex-start;padding:7px 18px 7px 7px;border:0;border-radius:999px;background:#fff;color:var(--ink);letter-spacing:.06em}
html[data-skin="clinic-clean"] .trustbar[data-variant="badges"] .trustbar__item>svg{color:#fff;background:var(--brand)}

/* THE BOOK ONLINE BOARD (contact band): the whole section is the brand band
   and the details sit on it in white (the base band sets --brand-fg, app.js's
   AA pick). The white board panel this sheet draws for the plain Contact goes:
   white text on a white board would vanish. With the question form beside it
   (leadForm 'contact'), the details are one column next to the white form
   card; without it, the base band's three columns stand. */
html[data-skin="clinic-clean"] #contact[data-variant="band"]{background:var(--brand);color:var(--brand-fg)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .contact__grid>div:first-child{background:transparent;border:0;padding:0;color:var(--brand-fg)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .contact__grid:has(>.hero__card--contact)>div:first-child{display:block}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .contact__line a{text-decoration:underline;text-underline-offset:3px}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .ico{background:color-mix(in srgb,#fff 16%,transparent);color:var(--brand-fg)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hours__title{background:var(--brand-fg);color:var(--brand)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hours{border-color:color-mix(in srgb,#fff 30%,transparent)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hours td{color:var(--brand-fg);border-bottom-color:color-mix(in srgb,#fff 20%,transparent)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hours td:first-child{color:var(--brand-fg)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hours tr:nth-child(even) td{background:color-mix(in srgb,#fff 8%,transparent)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .contact__cta{background:transparent;padding:0;margin-top:24px}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .contact__cta .btn--primary{background:var(--brand-fg);color:var(--brand)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hero__card--contact{border-top-color:var(--accent)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .map{min-height:360px;height:auto;border:0}
html[data-skin="clinic-clean"] #contact[data-variant="band"] :focus-visible{outline-color:var(--brand-fg)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hero__card--contact :focus-visible{outline-color:var(--brand)}
html[data-skin="clinic-clean"] #contact[data-variant="band"] .hero__card--contact .btn--primary{background:var(--brand);color:var(--brand-fg);border-color:var(--brand)}

/* ---- team page (provisioner modules/pages.ts) ---- */
.members{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}
.member{display:flex;flex-direction:column;gap:8px;color:var(--body);text-align:var(--mc-member-align,left)}
.member__photo{width:100%;aspect-ratio:var(--mc-photo-ratio,1/1);object-fit:cover;border-radius:var(--mc-photo-r,var(--radius));background:var(--bg-alt)}
.member__photo--initials{display:flex;align-items:center;justify-content:center;font-family:var(--mc-hf,var(--display));font-size:2.4rem;font-weight:var(--mc-hw,700);color:var(--ink);border:var(--mc-chip-border,1px solid var(--line))}
.member__name{margin:6px 0 0;font-family:var(--mc-hf,var(--display));font-weight:var(--mc-hw,700);text-transform:var(--mc-hc,none);letter-spacing:var(--mc-hls,0);font-size:1.15rem;color:var(--ink);overflow-wrap:anywhere}
.member__role{margin:0;font-weight:600}
.member__bio{margin:0;line-height:1.5}

/* ---------------------------- FAQ: dedicated page (native accordion) -------- */
.faq .wrap--narrow{max-width:760px}
.faq__list{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.faq__item{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-alt);overflow:hidden}
.faq__q{cursor:pointer;list-style:none;padding:18px 44px 18px 20px;position:relative;font-weight:600;color:var(--ink);line-height:1.4;overflow-wrap:anywhere}
.faq__q::-webkit-details-marker{display:none}
.faq__q::after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;border-right:2px solid var(--body);border-bottom:2px solid var(--body);transform:translateY(-70%) rotate(45deg);transition:transform .15s ease}
.faq__item[open] .faq__q::after{transform:translateY(-30%) rotate(-135deg)}
.faq__q:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.faq__a{padding:0 20px 18px;color:var(--body);line-height:1.6;overflow-wrap:anywhere}

/* ---- site modules, this look's own grammar (provisioner modules/looks.ts) ---- */
html[data-skin="clinic-clean"]{--mc-bg:#fff;--mc-shadow:none;--mc-hw:700;--mc-hls:-.025em;--mc-feat-border:2px solid var(--brand);--mc-input-r:999px;--mc-photo-r:var(--radius);--mc-ban-bg:var(--bg-alt);--mc-ban-fg:var(--ink);--mc-ban-rule:2px solid var(--line);--mc-ban-size:.9rem;--mc-ban-weight:600}

/* About / story (Phase 2) — appended only when the merchant wrote one. */
.about{max-width:760px}
.about__text{margin-top:6px;font-size:var(--fs-lg);color:var(--body);line-height:1.75}
.about__text p{margin:0 0 1em}
.about__text p:last-child{margin-bottom:0}

/* ---- footer email-list signup (Wave 4.1) ---- */
.footer__signup{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid rgba(128,128,128,.28)}
.footer-signup__title{margin:0 0 10px;font-weight:700;font-size:1.05rem}
.footer-signup__row{display:flex;gap:10px;flex-wrap:wrap;max-width:460px}
.footer-signup__row input{flex:1;min-width:200px;padding:10px 12px;border:1px solid rgba(128,128,128,.4);border-radius:var(--radius,8px);font:inherit;color:inherit;background:rgba(128,128,128,.08)}
/* Full strength, smaller only: at 75% opacity the note fell under 4.5:1 on
   the darker footers (2.7:1 on chambers, 4.44 on bistro-noir; the 2026-10-07
   accessibility scan). */
.footer-signup__note{margin:8px 0 0;font-size:.8rem}
.footer-signup__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---- multi-page home teasers (Wave 4) ---- */
.teaser{padding-top:64px;padding-bottom:64px}
.teaser .section__sub{margin-bottom:28px}
.teaser__more{margin:28px 0 0;text-align:right}
.teaser__more .btn{min-height:44px}
.teaser__quotes{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
.teaser__quote{margin:0;padding:24px;border:1px solid rgba(128,128,128,.28);border-radius:var(--radius,8px);background:rgba(128,128,128,.06)}
.teaser__quote-text{margin:0 0 12px;font-size:1.05rem;line-height:1.6}
.teaser__quote-meta{margin:0;font-size:.9rem;opacity:.8}
/* .stars is the template's own star colour (styles.css / every skin sheet); the fold adds no colour. */
.teaser__stars{white-space:nowrap}
.teaser__quote-meta cite{font-style:normal;font-weight:600}
.teaser__excerpt{margin:0;max-width:62ch;line-height:1.7}
.teaser__band{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center}
.teaser__details .section__title{margin-bottom:12px}
.teaser__line{margin:4px 0;line-height:1.6}
.teaser__line a{display:inline-flex;align-items:center;min-height:44px}
.teaser__actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.teaser__actions .btn{min-height:44px}
@media (max-width:720px){
  .teaser__quotes{grid-template-columns:1fr}
  .teaser__band{grid-template-columns:1fr;gap:20px}
  .teaser__more{text-align:left}
}
@media (prefers-reduced-motion:reduce){.teaser .tile__img,.teaser .card{transition:none}}

/* ---- lead form: in the Contact section (skin lever, provisioner lead-form.ts) ---- */
#contact .contact__grid:has(> .hero__card--contact){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#contact .hero__card--contact{order:0;align-self:start;justify-self:stretch;width:auto;max-width:none;margin:0}
#contact .hero__card--contact ~ .map{grid-column:1/-1}
#contact .hero__card--contact #quoteForm{scroll-margin-top:180px}
/* From a desktop width the map sits UNDER the address it shows, beside the
   form (2026-10-22). It used to span the full width under the form, a big
   box with nothing next to it (owner: "then it's just like a random map"). */
@media (min-width:881px){
  #contact .contact__grid:has(> .hero__card--contact){grid-template-rows:auto 1fr;align-items:start}
  #contact .contact__grid:has(> .hero__card--contact)>div:first-child{grid-column:1;grid-row:1}
  #contact .contact__grid>.hero__card--contact{grid-column:2;grid-row:1 / span 2}
  #contact .hero__card--contact ~ .map{grid-column:1;grid-row:2;align-self:stretch;min-height:300px}
  #contact .hero__card--contact ~ .map iframe{height:100%;min-height:300px}
}
@media (max-width:880px){
  #contact .contact__grid:has(> .hero__card--contact){grid-template-columns:1fr}
}

/* ---- hero layout: stacked (skin lever, provisioner hero-layout.ts) ---- */
.hero[data-hero="stacked"]{padding-bottom:0}
.hero[data-hero="stacked"]>.hero__inner{padding-bottom:clamp(48px,7vw,88px)}
.hero[data-hero="stacked"] h1{font-size:clamp(2.8rem,7.4vw,5.6rem)}
.hero__media{display:none}
.hero__media.is-painted{display:block;position:relative;overflow:hidden;isolation:isolate;background:var(--hero-image) center/cover no-repeat}
.hero__media .hero__slides>.hero__slide{background:var(--hero-image) center/cover no-repeat}
.hero__media>.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero[data-hero="stacked"]>.hero__media.is-painted{width:100%;aspect-ratio:21/9}
@media (max-width:720px){.hero[data-hero="stacked"]>.hero__media.is-painted{aspect-ratio:4/3}}

/* ---- hero align: center (skin lever, provisioner hero-align.ts) ---- */
.hero[data-align="center"]:is([data-hero="stacked"],[data-hero="minimal"]) .hero__copy{display:flex;flex-direction:column;align-items:center;text-align:center;margin-left:auto;margin-right:auto}
.hero[data-align="center"]:is([data-hero="stacked"],[data-hero="minimal"]) .lede{margin-left:auto;margin-right:auto}
.hero[data-align="center"]:is([data-hero="stacked"],[data-hero="minimal"]) :is(.hero__cta,.hero__trust){justify-content:center}
.hero[data-align="center"]:is([data-hero="stacked"],[data-hero="minimal"]) .eyebrow::before{margin-left:auto;margin-right:auto}
.hero[data-align="center"][data-hero="minimal"]:not(:has(>.hero__media.is-painted)){text-align:center}

/* ---- nav style: plain (skin lever, provisioner nav-style.ts) ---- */
html[data-nav="plain"] .nav{gap:clamp(8px,1.6vw,22px)}
html[data-nav="plain"] .nav a{border-radius:0;padding:12px 2px;background:transparent;text-underline-offset:6px}
html[data-nav="plain"] .nav a:hover,html[data-nav="plain"] .nav a[aria-current="page"]{background:transparent;color:var(--ink);text-decoration:underline;text-decoration-thickness:2px}
html[data-nav="plain"] .topbar .btn--phone{background:transparent;border-color:transparent;box-shadow:none;color:var(--ink);padding-left:4px;padding-right:4px;text-decoration:underline;text-underline-offset:4px}
html[data-nav="plain"] .topbar .btn--phone:hover{background:transparent;transform:none}

/* ---- section variant: services list (skin lever, provisioner variants.ts) ---- */
:is(#services,#teaser-services)[data-variant="list"] .grid{display:block}
:is(#services,#teaser-services)[data-variant="list"] .card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:20px;align-items:start;margin:0;padding:22px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;transform:none}
:is(#services,#teaser-services)[data-variant="list"] .card:last-child{border-bottom:1px solid var(--line)}
:is(#services,#teaser-services)[data-variant="list"] .card>:not(.card__icon,.card__media){grid-column:2}
:is(#services,#teaser-services)[data-variant="list"] :is(.card__icon,.card__media){grid-column:1;grid-row:1 / span 3;margin:0}
:is(#services,#teaser-services)[data-variant="list"] .card__media{width:96px;height:72px;object-fit:cover;border-radius:var(--radius)}
:is(#services,#teaser-services)[data-variant="list"] .card--media .card__body{padding:0}
:is(#services,#teaser-services)[data-variant="list"] .card h3{margin:0 0 4px}
:is(#services,#teaser-services)[data-variant="list"] .card p{margin:0}

/* ---- section variant: trust badges (skin lever, provisioner variants.ts) ---- */
.trustbar[data-variant="badges"] .trustbar__inner{justify-content:center;gap:12px}
.trustbar[data-variant="badges"] .trustbar__item{border:1.5px solid var(--line-strong);border-radius:999px;padding:8px 18px 8px 8px;background:var(--bg)}
.trustbar[data-variant="badges"] .trustbar__item>svg{box-sizing:content-box;width:20px;height:20px;padding:7px;border-radius:50%;background:var(--brand);color:var(--brand-fg)}

/* ---- section variant: contact band (skin lever, provisioner variants.ts) ---- */
:is(#contact,#teaser-contact)[data-variant="band"]{background:var(--brand);color:var(--brand-fg)}
:is(#contact,#teaser-contact)[data-variant="band"] :is(h2,h3,p,td,th,a:not(.btn),.ico,.section__title,.hours__title,.holidays__title,.holiday__when,.holiday__label,.teaser__line){color:inherit}
:is(#contact,#teaser-contact)[data-variant="band"] .btn--primary{background:var(--brand-fg);color:var(--brand);border-color:var(--brand-fg)}
:is(#contact,#teaser-contact)[data-variant="band"] .btn--ghost{color:var(--brand-fg);border-color:currentColor;background:transparent}
:is(#contact,#teaser-contact)[data-variant="band"] .hero__card :is(h2,h3,p,a,label){color:var(--ink)}
#contact[data-variant="band"] .contact__grid{grid-template-columns:minmax(0,1fr)}
@media (min-width:881px){
  #contact[data-variant="band"] .contact__grid>div:first-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:40px;grid-auto-flow:row dense;align-items:start}
  #contact[data-variant="band"] .contact__grid>div:first-child>.section__title{grid-column:1/-1}
  #contact[data-variant="band"] .contact__grid>div:first-child>.contact__line{grid-column:1}
  #contact[data-variant="band"] .contact__grid>div:first-child>:is(.hours__title,.hours){grid-column:2}
  #contact[data-variant="band"] .contact__grid>div:first-child>:is(.holidays,.contact__cta){grid-column:3}
  #contact[data-variant="band"] .contact__grid:has(>.hero__card--contact){grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:32px}
  #contact[data-variant="band"] .contact__grid:has(>.hero__card--contact)>div:first-child{grid-column:1/-1;grid-row:1}
  #contact[data-variant="band"] .contact__grid>.hero__card--contact{grid-column:1;grid-row:2}
  #contact[data-variant="band"] .hero__card--contact~.map{grid-column:2;grid-row:2;align-self:stretch}
}

/* ---- section variant: footer columns (skin lever, provisioner variants.ts) ---- */
.footer__cols{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:24px 40px;padding-bottom:28px;margin-bottom:24px;border-bottom:1px solid rgba(128,128,128,.28)}
.footer__col p{margin:0 0 6px}
.footer__col-name{font-family:var(--display);font-weight:800;font-size:1.15rem}
.footer__col-title{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}
.footer__col-line a,.footer__col-links a{display:inline-flex;align-items:center;min-height:44px}
.footer__col-links{list-style:none;margin:0;padding:0}
.footer:has(>.footer__cols) .footer__links{display:none}
@media (max-width:720px){.footer__cols{grid-template-columns:minmax(0,1fr)}}

/* ---- section variant: the lead form card in a banded Contact keeps the brand submit (provisioner lead-form.ts) ---- */
#contact .hero__card.hero__card--contact .btn--primary{background:var(--brand);color:var(--brand-fg);border-color:var(--brand)}
#contact .hero__card.hero__card--contact .btn--primary:hover{background:var(--brand-strong);color:var(--brand-fg);border-color:var(--brand-strong)}

/* ---- mobile layer (provisioner mobile.ts) ---- */
.navtoggle{display:none}
@media (max-width:880px){
  :root{--m-gutter:clamp(16px,5vw,24px)}
  .wrap{padding-left:max(var(--m-gutter),env(safe-area-inset-left))!important;padding-right:max(var(--m-gutter),env(safe-area-inset-right))!important}
  .topbar__inner>.brand{margin-right:auto;min-width:0}
  .topbar__inner>.btn--cart{margin-left:0}
  .navtoggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin:0 -8px 0 2px;padding:0;border:0;border-radius:var(--r-sm,8px);background:transparent;color:var(--navtoggle-ink,currentColor);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .navtoggle.navtoggle--off{display:none}
  .navtoggle:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
  .navtoggle__bars,.navtoggle__bars::before,.navtoggle__bars::after{display:block;width:22px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s ease,background-color .2s ease}
  .navtoggle__bars{position:relative}
  .navtoggle__bars::before,.navtoggle__bars::after{content:"";position:absolute;left:0}
  .navtoggle__bars::before{top:-7px}
  .navtoggle__bars::after{top:7px}
  .navtoggle[aria-expanded="true"] .navtoggle__bars{background:transparent}
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before{transform:translateY(7px) rotate(45deg)}
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after{transform:translateY(-7px) rotate(-45deg)}
  .topbar.is-menu-open:not(.is-menu-probe){background:var(--navmenu-bg);-webkit-backdrop-filter:none;backdrop-filter:none}
  .topbar.is-menu-open .topbar__inner{position:static}
  .topbar.is-menu-open .nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px;position:absolute;left:0;right:0;top:100%;z-index:1;margin:0;padding:8px max(var(--m-gutter),env(safe-area-inset-left)) 16px;background:var(--navmenu-bg,var(--bg,#fff));border-bottom:1px solid var(--line,rgba(0,0,0,.12));box-shadow:0 24px 32px -24px rgba(0,0,0,.45);max-height:calc(100dvh - 100%);overflow-y:auto;overscroll-behavior:contain}
  .topbar.is-menu-open .nav a{display:flex;align-items:center;min-height:48px;margin:0;font-size:1.05rem;white-space:normal}
  .hero__inner>.hero__card{order:0}
  .grid>*,.contact__grid>*,.hero__inner>*,.footer__inner>*{min-width:0}
  .contact__line,.contact a,.footer a,.footer p{overflow-wrap:anywhere}
  .reviews-dots__dot{position:relative}
  .reviews-dots__dot::after{content:"";position:absolute;inset:-14px -6px}
  .footer__links a{display:inline-block;padding:11px 0}
}
@media (max-width:560px){
  .topbar .brand__name{white-space:normal;text-overflow:clip;letter-spacing:normal;overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:min(1rem,4.3vw);line-height:1.15;max-width:none}
  .topbar__inner{column-gap:10px}
  .topbar__inner>.btn--cart{flex:none;min-height:44px;padding-left:12px;padding-right:12px;letter-spacing:normal}
  .ctabar__inner{flex-wrap:nowrap;justify-content:center}
  .ctabar__phone{white-space:nowrap;margin-left:0;margin-right:0}
  .ctabar__phone~.ctabar__action{display:none}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:start;text-align:left}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>.card__icon{grid-row:1 / span 9;width:48px;height:48px;margin:0;display:grid;place-items:center}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>.card__icon svg{width:26px;height:26px}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>:is(h3,p){grid-column:2;margin-left:0;margin-right:0}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>h3{margin-top:0}
  :is(#services,#teaser-services)[data-variant="icons"] :is(#servicesGrid,.grid){gap:8px}
  :is(#services,#teaser-services)[data-variant="icons"] :is(#servicesGrid,.grid)>.card{padding-top:14px;padding-bottom:14px}
  .trustbar[data-variant="stats"] .trustbar__inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-direction:row;align-items:start}
  .trustbar:not([data-variant="stats"]) .trustbar__inner{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .trustbar:not([data-variant="stats"]) .trustbar__inner::-webkit-scrollbar{display:none}
  .trustbar__inner:focus-visible{outline:3px solid var(--focus-ring,var(--ink));outline-offset:2px}
  .trustbar:not([data-variant="stats"]) .trustbar__item{flex:none;scroll-snap-align:start;white-space:nowrap}
}
@media (max-width:400px){.topbar__inner>.btn--phone{display:none}}
@media (prefers-reduced-motion:reduce){.navtoggle__bars,.navtoggle__bars::before,.navtoggle__bars::after{transition:none}}

/* ---- mobile layer (design pass, provisioner design-pass.ts) ---- */
html{scroll-padding-top:calc(var(--topbar-h,76px) + 12px)}
html body .hero:not(.hero--has-image):not(.hero--has-video):not(:has(.hero__media.is-painted)){min-height:0!important;padding-top:clamp(64px,8vw,104px)!important;padding-bottom:clamp(48px,6vw,80px)!important}
html body .hero:not(.hero--has-image):not(.hero--has-video):not(:has(.hero__media.is-painted)) :is(.hero__inner,.hero__copy){min-height:0!important}
.hero:not(.hero--has-image):not(.hero--has-video) .hero__media:empty:not(.is-painted){display:none}
#contact .contact__grid>:only-child{grid-column:1/-1;max-width:46rem}
.product__media--ph{aspect-ratio:auto;height:8px;min-height:0;background:var(--brand,currentColor);opacity:.9}
.product__media--ph svg{display:none}
@keyframes wpi-reveal{to{visibility:visible}}
body:has(#topbar .brand__name:empty):not(.is-filled){visibility:hidden;animation:wpi-reveal 0s 4s forwards}
@media (scripting:none){body:has(#topbar .brand__name:empty):not(.is-filled){visibility:visible;animation:none}}
@media (min-width:881px){.topbar .nav a{white-space:nowrap}.topbar .nav{flex-wrap:nowrap;flex-shrink:0}.topbar .brand{min-width:0}.topbar .brand__name{overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
@media (max-width:880px){html[data-nav] .topbar .brand__name{font-size:min(1rem,4.3vw);line-height:1.15}}
a[href^="mailto:"]{overflow-wrap:anywhere}
@media (max-width:560px){.topbar:not(#topbar):has(.topbar__back) .topbar__inner{height:auto;min-height:64px;padding-top:8px;padding-bottom:8px}.topbar:not(#topbar) .topbar__back{white-space:normal;min-width:0;flex:0 1 auto;height:auto;min-height:44px;padding-top:6px;padding-bottom:6px;font-size:.9rem;text-align:center;line-height:1.25}.topbar:not(#topbar):has(.topbar__back) .brand{flex:0 0 auto}.topbar:not(#topbar):has(.topbar__back) .brand__name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
:has(>.card--product>img.product__media)>.card--product>.product__media--ph{aspect-ratio:4/3;height:auto;opacity:1;background:color-mix(in srgb,var(--brand,currentColor) 9%,var(--bg-alt,transparent))}
.pdp__media:has(>.pdp__ph:only-child){display:none}
.pdp:has(>.pdp__media>.pdp__ph:only-child)>.pdp__info{max-width:46rem}
h1,h2,h3,.section__title{text-wrap:balance}
p,li,.card p{text-wrap:pretty}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* ---------- DEMO "see what you can edit" overlay (demo merchants only) ---------- */
.demo-toggle__fab {
  position: fixed;
  right: 16px;
  bottom: 60px;
  z-index: 10000;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #5b21b6;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.demo-toggle__fab:hover,
.demo-toggle__fab:focus-visible {
  background: #4c1d95;
}
.demo-toggle__fab:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 3px;
}
.demo-toggle__fab[aria-expanded="true"] {
  display: none;
}
@media (max-width: 560px) {
  .demo-toggle__fab {
    bottom: 124px;
  }
}
.demo-toggle__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 48px;
  z-index: 10001;
  width: min(400px, 100vw);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #111827;
  border-left: 1px solid #e5e7eb;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  font-family: inherit;
  text-align: left;
}
.demo-toggle__panel[hidden] {
  display: none;
}
.demo-toggle__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px 10px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.demo-toggle__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.demo-toggle__close {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.demo-toggle__close:hover,
.demo-toggle__close:focus-visible {
  background: #f3f4f6;
}
.demo-toggle__tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}
.demo-toggle__tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #4b5563;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.demo-toggle__tab[aria-selected="true"] {
  color: #5b21b6;
  border-bottom-color: #5b21b6;
}
.demo-toggle__tab:focus-visible,
.demo-toggle__close:focus-visible,
.demo-toggle__item:focus-visible,
.demo-toggle__switch:focus-visible {
  outline: 3px solid #5b21b6;
  outline-offset: -3px;
}
.demo-toggle__body {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}
.demo-toggle__body[hidden] {
  display: none;
}
.demo-toggle__intro {
  margin: 10px 0 6px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
}
.demo-toggle__group {
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.demo-toggle__item {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 2px 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
a.demo-toggle__item {
  text-decoration: none;
  color: inherit;
  display: block;
}
.demo-toggle__jump {
  color: var(--brand, #0b5fff);
}
.demo-toggle__item:hover,
.demo-toggle__item:focus-visible {
  background: #f5f3ff;
  border-color: #c4b5fd;
}
.demo-toggle__label {
  font-weight: 700;
  font-size: 14px;
}
.demo-toggle__meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}
.demo-toggle__absent {
  color: #6b7280;
  font-style: italic;
}
/* A Features row whose section is on another page: the control IS the link
 * (44px target like the switch it replaces), read as a link, not a status. */
a.demo-toggle__feature-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand, #0b5fff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.demo-toggle__feature-jump:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 2px;
  border-radius: 6px;
}
.demo-toggle__feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.demo-toggle__chip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
}
.demo-toggle__chip--pro {
  background: #ede9fe;
  color: #4c1d95;
}
.demo-toggle__chip--addon {
  background: #d1fae5;
  color: #065f46;
}
.demo-toggle__desc,
.demo-toggle__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
}
.demo-toggle__note {
  color: #4c1d95;
  font-weight: 600;
}
.demo-toggle__status {
  grid-column: 1 / -1;
}
.demo-toggle__switch {
  position: relative;
  flex: none;
  width: 52px;
  min-width: 44px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #6b7280;
  cursor: pointer;
}
.demo-toggle__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.15s ease;
}
.demo-toggle__switch[aria-checked="true"] {
  background: #5b21b6;
}
.demo-toggle__switch[aria-checked="true"]::after {
  transform: translateX(22px);
}
.demo-toggle__foot {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #4b5563;
}
.demo-hl {
  outline: 3px solid #7c3aed !important;
  outline-offset: 4px;
}
.demo-hl::before {
  content: attr(data-demo-label);
  display: inline-block;
  margin: 0 8px 4px 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: #5b21b6;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: none;
  vertical-align: middle;
}
/* ---------- inspect mode: hover or focus the page while the panel is open (demo-inspect.ts) ---------- */
.demo-hl[data-demo-inspect]::before {
  content: none;
}
.demo-inspect-tip {
  position: fixed;
  z-index: 10002;
  left: 16px;
  bottom: 60px;
  max-width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: #5b21b6;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.demo-inspect-tip[hidden] {
  display: none;
}
.demo-inspect-tip--no {
  background: #1f2937;
}
.demo-inspect-tip__line {
  display: block;
}
.demo-inspect-tip--no .demo-inspect-tip__line + .demo-inspect-tip__line {
  margin-top: 2px;
  font-weight: 500;
}
.demo-inspect-tip[data-demo-tip-place="above"] {
  top: 16px;
  bottom: auto;
}
@supports (anchor-name: --demo-inspect) {
  .demo-inspect-anchor {
    anchor-name: --demo-inspect;
  }
  .demo-inspect-tip {
    position-anchor: --demo-inspect;
    top: calc(anchor(bottom) + 8px);
    bottom: auto;
    left: max(8px, anchor(left));
  }
  .demo-inspect-tip[data-demo-tip-align="end"] {
    left: auto;
    right: max(8px, anchor(right));
  }
  .demo-inspect-tip[data-demo-tip-place="above"] {
    top: auto;
    bottom: calc(anchor(top) + 8px);
  }
  .demo-inspect-tip[data-demo-tip-place="inside"] {
    top: calc(anchor(top) + 8px);
  }
  .demo-inspect-tip[data-demo-tip-place="pinned"] {
    top: auto;
    bottom: 60px;
  }
}
.demo-toggle__item.demo-inspect-picked {
  background: #f5f3ff;
  border-color: #7c3aed;
}
.demo-off-note {
  display: block;
  margin: 8px 0;
  padding: 8px 12px;
  border: 2px dashed #6b7280;
  border-radius: 8px;
  background: #f9fafb;
  color: #374151;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
[data-demo-off] {
  display: none !important;
}
html[data-demo-cart-off] .btn--add,
html[data-demo-cart-off] .pdp__qty {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .demo-toggle__switch::after {
    transition: none;
  }
}

/* ---------- DEMO site ribbon (demo merchants only; migration 0049) ---------- */
.demo-ribbon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}
body {
  padding-bottom: 48px;
}
.draftbar {
  display: none;
}
/* A demo basket's disabled Checkout control (see DEMO BASKET below) has to
   READ disabled. The template sheet has no disabled button state (no live page
   renders one) and adding it there would change every real merchant's
   styles.css, so it rides in this demo-only fold. Opacity + cursor only. */
.cart__actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
