/* Parkwest Modern: the design system for version 9. Loaded on every page after site.css and the page stylesheet.
   By the client's direction on 2026-10-12 ("too bland", "way too plain", "more animations, more luxury while
   maintaining professionalism", "modernized look, use those screenshots as design reference"), built on the values a
   research pass measured from the two references (brief section 8, which wins over section 3 where they differ):
   ApexCare for type, pill buttons, "#" tags, glass stat cards, the rotating seal, orbit rings and motion; Dentrist for
   the sky and mint tints and the service cards with an overlapping disc.
     Plus Jakarta Sans 600 headlines with one Instrument Serif italic accent phrase (same size, same ink), sections as
     rounded white and tinted panels stacked on a soft grey page, a hero with rounded bottom corners, a rounded ink
     footer panel, ink-tinted shadows, glass floating cards, and the ease-in-out motion of the reference (skew-slide
     headings, rising cards, photos zooming out, rings scaling in).
   Light theme only: there is no dark mode and no prefers-color-scheme rule anywhere.

   site.css keeps the base (reset, layout grid, forms, accessibility helpers). This file holds, in order:
     1  tokens and type
     2  layout helpers (page surface and section panels, heads, grids)
     3  components: .tag, buttons, .crumbs, .pagehead, cards, .svc-card, .svc-list, .anim-stage, .float-card, .seal,
        .orbit-photo, .stats, .steps, .check-list, .faq, .band--ink, .cta-band, .related, review cards, .marquee
     4  site chrome: utility bar, header with the mega menu, mobile menu, call bar, footer
     5  support for the existing page markup (home hero, facts, routes, closing band) until those pages are redesigned
     6  motion, gated on html.motion; under reduced motion everything shows its settled state

   Component class names are the contract between this file and the page builders (brief section 3). Page styles go in
   assets/css/pages/<page>.css; that file loads before this one, so page rules scope themselves with a body class or a
   section class when they need to win. */

/* ==========================================================================================================
   1. Tokens and type
   ========================================================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
/* The accent face: Instrument Serif, self hosted (OFL). The italic is the one headlines use; the roman is there for
   the rare accent that should stand upright. */
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 88%; ascent-override: 98%; descent-override: 26%;
}

:root {
  --font: "Plus Jakarta Sans", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  /* Plus Jakarta Sans for everything; site.css rules that still name --serif get the sans. Instrument Serif italic
     is the accent phrase inside a headline only (h1 em, h2 em). Newsreader is retired. */
  --serif: var(--display);
  --accent-font: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif;

  /* Palette (brief sections 3 and 8). Reuse these; add no ad hoc colors. */
  --page: #F7F9FA;           /* the page behind the section panels */
  --bg: #FFFFFF;
  --white: #FFFFFF;
  --surface: #F1F7FA;
  --offwhite: #F8FAF7;       /* plain cards (Dentrist) */
  --tint: #E7F3F9;
  --tint-2: #D6ECF6;
  --sky: #D3E5EF;            /* the end of the hero wash */
  --mint: #C6E3DE;           /* service discs, the hovered service card, the closing call to action (Dentrist) */
  --mint-soft: #E3F1EE;      /* a lighter mint for tags and quiet fills */
  --ink: #0E2A3A;
  --ink-2: #163B50;          /* the ink a step lighter: hover states on ink, the light end of the footer gradient */
  --ink-3: #0A202D;          /* the ink a step deeper: the dark end of the footer gradient */
  --text: #1B2B35;
  --muted: #56656E;
  --rule: #DCE6EC;
  --rule-ink: rgba(14, 42, 58, 0.18); /* hairlines drawn in ink: tag borders, orbit ellipses */
  --brand: #01ABEE;          /* the logo blue: accents, bars, icon fills, never body text on white */
  --accent: #016D96;         /* links, AA on white */
  --accent-hover: #015D81;
  --periwinkle: #E9EDFF;     /* retired from washes (brief section 8); kept so older rules still resolve */
  --star: #F5A524;
  --on-ink: #DDE8EE;         /* body text on ink, 12:1 */
  --on-ink-muted: #AFC3CF;   /* secondary text on ink, 8:1 */
  --on-ink-accent: #7FD3F7;  /* links and accents on ink, 9:1 */

  --radius: 12px;
  --r-sm: 15px;
  --r-card: 20px;
  --r-panel: 20px;           /* section panels, the hero's bottom corners, the footer */
  --r-lg: 24px;
  --panel-inset: 8px;        /* panels sit this far in from the viewport edges, with this gap between them */
  /* Shadows are tinted with the ink, never grey (brief section 8). */
  --shadow-sm: 0 2px 10px rgba(14, 42, 58, 0.05);
  --shadow: 0 10px 40px rgba(14, 42, 58, 0.07);
  --shadow-lg: 0 18px 50px rgba(14, 42, 58, 0.12);
  --shadow-float: 3px 7px 12px 4px rgba(14, 42, 58, 0.07);
  --shadow-brand: 0 10px 24px -12px rgba(1, 109, 150, 0.55);
  --glass: rgba(255, 255, 255, 0.94);

  /* Motion: the reference's symmetric ease-in-out for reveals and hovers; a soft ease-out for UI. */
  --ease-apex: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-ui: 220ms;
  --t-reveal: 500ms;
  --section-y: 64px;
}
@media (min-width: 768px) { :root { --section-y: 90px; } }
@media (min-width: 1024px) { :root { --section-y: 110px; } }
@media (max-width: 639.98px) { :root { --panel-inset: 6px; --r-panel: 16px; } }

html, body { background: var(--page); }
body { font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); letter-spacing: 0; }
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
::selection { background: var(--tint-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Headlines: Plus Jakarta Sans 600 (h1 about 65 px at 1440, h2 about 45 px), as measured on the reference. */
h1, .h1, h2, .h2, h3, .h3, h4, .h4 { font-family: var(--display); color: var(--ink); }
h1, .h1 { font-size: clamp(2.25rem, 1.15rem + 3.3vw, 4.0625rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.018em; padding-bottom: 0.04em; text-wrap: balance; }
h2, .h2 { font-size: clamp(1.75rem, 1rem + 2.1vw, 2.8125rem); font-weight: 600; line-height: 1.13; letter-spacing: -0.012em; text-wrap: balance; }
h3, .h3 { font-size: 1.1875rem; font-weight: 650; line-height: 1.37; letter-spacing: -0.01em; }
h4, .h4 { font-size: 1.0625rem; font-weight: 650; line-height: 1.37; letter-spacing: -0.005em; }
@media (min-width: 768px) { h3, .h3 { font-size: 1.25rem; } }
/* The accent: one Instrument Serif italic phrase inside a sans headline, the same size and the same ink as the sans
   (not bigger, not blue). It usually closes the headline and may wrap onto its own line. */
h1 em, h2 em, .h1 em, .h2 em {
  font-family: var(--accent-font); font-style: italic; font-weight: 400; letter-spacing: -0.005em; color: inherit;
  font-size: 1em; line-height: 1;
}
.lede { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
@media (min-width: 768px) { .lede { font-size: 1.1875rem; } }
h1 + .lede, h2 + .lede { margin-top: 18px; }
.label { font-weight: 650; color: var(--muted); }
.num { font-family: var(--display); font-variant-numeric: lining-nums; font-weight: 700; color: var(--ink); }
.eyebrow-num { font-variant-numeric: tabular-nums; }
.small, small { font-size: 0.875rem; }
.prose p + p { margin-top: 1em; }
.prose { color: var(--text); }

/* Body links: accent with a soft underline that firms up on hover. */
:where(main) a:not([class]), .prose a, .faq__a a, .link {
  color: var(--accent); text-decoration-color: rgba(1, 109, 150, 0.35); text-underline-offset: 3px;
}
:where(main) a:not([class]):hover, .prose a:hover, .faq__a a:hover, .link:hover { text-decoration-color: var(--accent); }
/* Plain links inside dark tiles and bands use the on-ink accent (the accent blue fails contrast on ink). */
:is(.band--ink, .card--ink) a:not([class]) { color: var(--on-ink-accent); text-decoration-color: rgba(127, 211, 247, 0.4); }
:is(.band--ink, .card--ink) a:not([class]):hover { text-decoration-color: var(--on-ink-accent); }

/* ==========================================================================================================
   2. Layout helpers
   ========================================================================================================== */

/* Sections are rounded panels stacked like sheets on the soft grey page (brief section 8): white by default, inset
   8 px from the viewport edges with an 8 px gap between them (their margins collapse), alternating with tinted panels.
     .section            white panel
     .section--tint      sky tint panel          .section--mint   mint panel (sparingly)
     .section--wash      white to tint panel     .section--sky    white to sky panel (like the hero)
     .section--plain     no panel: content sits on the page itself (between two white panels it reads as a gap)
     .section--bleed     full width, square corners (for a band that must run edge to edge)
   A panel clips sideways (overflow-x: clip) so reveal slides and overhanging decoration never cause a sideways scroll;
   it does not clip vertically, and it is not a scroll container, so position: sticky inside still works. */
.section {
  position: relative; margin: var(--panel-inset); border-radius: var(--r-panel);
  background: #fff; padding-block: var(--section-y); overflow-x: clip;
}
.section--compact { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--rule { border-top: 0; }
.section--tint { background: var(--tint); }
.section--mint { background: var(--mint-soft); }
.section--wash { background: linear-gradient(180deg, #fff 0%, var(--surface) 55%, var(--tint) 100%); }
.section--sky { background: linear-gradient(180deg, #fff 0%, #F9FAFB 22%, var(--sky) 100%); }
.section--plain { background: transparent; }
.section--bleed { margin-inline: 0; border-radius: 0; }

/* Section heading block: a .tag, the h2 (with its em accent) and a lede. --center and --split variants. */
.head { max-width: 760px; margin-bottom: 40px; }
.head > * + * { margin-top: 16px; }
.head > .tag + h2, .head > .tag + h1 { margin-top: 18px; }
.head > .actions, .head > .link-arrow { margin-top: 24px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }
.head--split { max-width: none; display: grid; gap: 20px 48px; align-items: end; }
.head--split > * + * { margin-top: 0; }
.head--split .head__main > * + * { margin-top: 16px; }
.head--split .head__main > .tag + h2 { margin-top: 18px; }
@media (min-width: 1024px) {
  .head { margin-bottom: 56px; }
  .head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .head--split > :last-child:not(:first-child) { justify-self: end; text-align: left; }
}
/* The old section head: the short bar above the heading, dropped wherever a .tag leads instead. */
.section__head { padding-top: 0; }
.section__head::before { position: static; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--brand); margin-bottom: var(--s-4); }
.section__head:has(> .tag)::before { display: none; }

/* Two columns that stack below 1024: text and a visual. --reverse puts the visual first on desktop. */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--reverse > :first-child { order: 2; }
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }

/* ==========================================================================================================
   3. Components
   ========================================================================================================== */

/* ---------- .tag: the "# OUR SERVICES" pill eyebrow ----------
   Write <p class="tag">Our services</p>; the # is generated (and silent for screen readers) and the label is set in
   capitals by CSS. White pill with an ink hairline, 12 px / 700, as measured on the reference. Variants: --tint, --mint,
   --light (on ink), --glass (on a photo or the hero wash). An icon may lead instead of the #:
   <p class="tag tag--icon"><svg class="icon">...</svg>Label</p>. */
.tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule-ink);
  font-family: var(--display); font-size: 0.75rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.tag::before { content: "#"; content: "#" / ""; color: var(--brand); font-weight: 800; font-size: 0.875rem; line-height: 1; letter-spacing: 0; margin-top: -1px; }
.tag--icon::before { content: none; }
.tag .icon { width: 15px; height: 15px; color: var(--accent); }
.tag--tint { background: var(--tint); border-color: transparent; }
.tag--mint { background: var(--mint); border-color: transparent; }
.tag--glass { background: var(--glass); border-color: rgba(255, 255, 255, 0.9); }
.tag--light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.tag--light::before, .tag--light .icon { color: var(--on-ink-accent); }

/* ---------- Buttons: pills ----------
   .btn--primary is the ink pill; with .btn--lg it is the reference's signature button: 56 px tall, padded 3 px on the
   right so a 50 px white disc with the arrow sits flush inside it. --ghost: white with an ink hairline. --light: white
   on ink. --soft: an ink tint fill (the reference's header button). Hover, as measured (about 450 ms, ease-in-out):
   the label rolls up while a copy rolls in from below, the arrow flies out of the disc to the top right while a copy
   enters from the bottom left, and a skewed white shine sweeps across. site.js wraps a plain text label in
   .btn__roll for the roll (with JavaScript off the label simply stays put); the arrow and shine are pure CSS. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: 0.012em; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
@media (min-width: 768px) { .btn--lg { font-size: 1.125rem; } }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--rule-ink); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--ghost .icon { color: var(--accent); }
.btn--soft { background: rgba(14, 42, 58, 0.08); border-color: transparent; color: var(--ink); }
.btn--soft:hover, .btn--soft:focus-visible { background: rgba(14, 42, 58, 0.14); color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--outline-light:hover, .btn--outline-light:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff; }
.btn--inverted { background: #fff; border-color: #fff; color: var(--ink); }
.btn--inverted:hover, .btn--inverted:focus-visible { background: var(--tint); border-color: var(--tint); color: var(--ink); }
/* The label roll (markup from site.js: <span class="btn__roll"><span>Label</span><span aria-hidden="true">Label</span>). */
.btn__roll { display: inline-grid; overflow: hidden; padding-block: 0.12em; margin-block: -0.12em; line-height: 1.1; }
.btn__roll > span { grid-area: 1 / 1; }
.btn__roll > span + span { transform: translateY(115%); }
/* The arrow disc: on the large primary (white disc, ink arrow) and the large light button (ink disc, white arrow). Two
   arrows sit in the disc's background; on hover the first leaves to the top right and the second arrives. */
.btn--primary.btn--lg, .btn--light.btn--lg { padding: 3px 3px 3px 25px; gap: 16px; }
.btn--primary.btn--lg::after, .btn--light.btn--lg::after {
  content: ""; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  background-size: 20px 20px, 20px 20px; background-repeat: no-repeat;
  background-position: center, calc(50% - 34px) calc(50% + 34px);
}
.btn--light.btn--lg::after {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
}
/* The shine: a skewed white bar parked off the left edge, swept across on hover (motion section). */
.btn--primary::before, .btn--light::before, .btn--ghost::before, .btn--soft::before {
  content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: 0; width: 34%;
  background: rgba(255, 255, 255, 0.22); transform: translateX(-160%) skewX(-20deg); pointer-events: none;
}
.btn--light::before, .btn--ghost::before, .btn--soft::before { background: rgba(1, 171, 238, 0.12); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: default; }
/* The skip link is a .btn, and .btn is position: relative (for the shine), which put it back in the flow as a 48 px
   gap above the utility bar. It stays out of the flow until it is focused. */
.skip.btn { position: absolute; top: 12px; left: 12px; z-index: 60; }

/* Arrow links */
.link-arrow { color: var(--accent); font-weight: 650; }
.link-arrow--light { color: var(--on-ink-accent); }
.link-arrow--light:hover { color: #fff; }
.link-phone { color: var(--ink); font-weight: 650; }
.link-phone .icon { color: var(--accent); }

/* ---------- .crumbs: breadcrumb trail ----------
   <nav class="crumbs" aria-label="Breadcrumb"><ol><li><a href="/">Home</a></li>...<li><span aria-current="page">Name</span></li></ol></nav> */
.crumbs { font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; flex: none; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--muted); text-decoration: none; font-weight: 550; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 650; }

/* ---------- .pagehead: the inner page header ----------
   Breadcrumbs, a .tag, the h1 with its em accent, a lede and optional actions, on a sky to white wash with a large faint
   orbit ring that turns slowly and a soft brand glow. Markup: header.pagehead > .wrap.pagehead__in > content. In
   .pagehead--split the content sits in .pagehead__text and a visual (photo card or .anim-stage) in .pagehead__visual. */
.pagehead {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 var(--panel-inset) var(--panel-inset); border-radius: 0 0 var(--r-panel) var(--r-panel);
  padding: 8px 0 64px; border-bottom: 0;
  background: linear-gradient(180deg, #FFFFFF 4%, #F9FAFB 24%, var(--sky) 100%);
}
.pagehead::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 980px; height: 980px; right: -420px; top: -360px; border-radius: 50%;
  border: 1px solid var(--rule-ink);
  /* A node riding the ring: a small brand dot drawn on the ring's edge, carried round as the ring turns. */
  background: radial-gradient(circle at 50% 0.6%, var(--brand) 0 5px, rgba(1, 171, 238, 0.2) 6px 11px, transparent 12px);
}
.pagehead::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; right: -160px; top: -140px; border-radius: 50%;
  border: 1px solid rgba(14, 42, 58, 0.1); transform: rotate(-18deg) scaleX(1.12);
}
.pagehead__in { position: relative; row-gap: 0; }
.pagehead .crumbs { margin-bottom: 18px; grid-column: 1 / -1; }
.pagehead .tag { grid-column: 1 / -1; background: var(--glass); border-color: rgba(255, 255, 255, 0.95); }
.pagehead .tag + h1 { margin-top: 22px; }
.pagehead h1 { max-width: 17ch; }
.pagehead .lede { margin-top: 20px; max-width: 54ch; }
.pagehead__actions { margin-top: 32px; grid-column: 1 / -1; }
.pagehead__note { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); grid-column: 1 / -1; }
.pagehead__text { min-width: 0; }
.pagehead__visual { position: relative; min-width: 0; margin-top: 48px; }
@media (min-width: 768px) { .pagehead { padding: 16px 0 88px; } }
@media (min-width: 1024px) {
  .pagehead { padding: 20px 0 104px; }
  .pagehead .lede { grid-column: 1 / span 8; }
  .pagehead--split .pagehead__text { grid-column: 1 / span 6; grid-row: 2; align-self: center; }
  .pagehead--split .pagehead__visual { grid-column: 8 / span 5; grid-row: 2; margin-top: 0; align-self: center; }
  .pagehead--split .pagehead__text .lede { max-width: 48ch; }
  .pagehead--split .crumbs { grid-row: 1; }
}
@media (max-width: 639.98px) {
  .pagehead::before { width: 640px; height: 640px; right: -380px; top: -260px; }
  .pagehead::after { width: 420px; height: 420px; right: -240px; top: -120px; }
}

/* A chip under the hero that points to a second section on the same page ("Also on this page: ..."). */
.chip-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-float);
  font-size: 0.9375rem; color: var(--muted); text-decoration: none;
  transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.chip-link b { color: var(--ink); font-weight: 700; }
.chip-link__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--ink); flex: none; }
.chip-link__ico .icon { width: 16px; height: 16px; }
.chip-link:hover { border-color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Photos ---------- */
.photo { border-radius: var(--r-card); border: 0; box-shadow: var(--shadow); background: var(--tint); }
.photo.is-missing { background: linear-gradient(135deg, var(--tint) 0%, var(--tint-2) 100%); box-shadow: none; }
.photo--lg { border-radius: var(--r-lg); }
.caption { font-size: 0.875rem; color: var(--muted); }

/* ---------- Cards ----------
   Plain cards are off-white on white panels and white on tinted ones, with no visible border and an ink-tinted shadow. */
.card {
  position: relative; display: block; min-width: 0;
  background: var(--offwhite); border: 1px solid transparent; border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-sm);
}
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .card:not(.card--ink):not(.card--tint) { background: #fff; }
.card--white { background: #fff; }
.card--tint { background: var(--tint); box-shadow: none; }
.card--mint { background: var(--mint); box-shadow: none; }
.card--sky { background: linear-gradient(160deg, var(--tint) 0%, #fff 90%); border-color: var(--tint-2); box-shadow: none; }
.card--ink { background: var(--ink); color: var(--on-ink); border-color: transparent; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.card--ink::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.32), rgba(1, 171, 238, 0)); pointer-events: none; }
.card--ink h2, .card--ink h3, .card--ink h4, .card--ink .card__title { color: #fff; }
.card--ink p { color: var(--on-ink-muted); }
.card--ink a:not(.btn) { color: var(--on-ink-accent); }
/* The icon disc: a soft grey round with a blue icon (reference "why choose us"), mint where it marks a service. */
.card__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 22px;
  background: #fff; color: var(--accent); box-shadow: var(--shadow-sm);
}
.card__icon--mint { background: var(--mint); color: var(--ink); box-shadow: none; }
.card__icon .icon { width: 28px; height: 28px; }
.card--ink .card__icon { background: rgba(255, 255, 255, 0.08); color: var(--on-ink-accent); box-shadow: none; }
.card__title { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.card__text { margin-top: 8px; color: var(--muted); font-size: 0.9875rem; line-height: 1.6; }
.card__media { margin: -28px -28px 24px; overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 650; font-size: 0.9375rem; color: var(--accent); }
.card__more .icon { width: 18px; height: 18px; }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 450ms var(--ease-apex), box-shadow 450ms var(--ease-apex), background-color 400ms var(--ease-apex); }
.card--link .card__more { margin-top: auto; padding-top: 18px; }
.card--link:hover { box-shadow: var(--shadow-lg); }

/* Grid of cards: 1, 2, 3 (or 4) columns. */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
ul.card-grid, ol.card-grid { list-style: none; padding-left: 0; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- .svc-card: one service (the Dentrist card) ----------
   Off-white, no border, the photo flush on top with a mint disc half over its bottom edge that carries the service's
   own animation; then the title, two lines and "Learn more". Without a photo the top shows the animation on a tint
   stage and the disc carries the group's icon, so every card's title sits at the same height. Hover: the card turns
   mint, the photo zooms to 1.05 and the disc lifts 4 px. The whole card is one link to the row's url, with
   data-anim-host so hovering replays the animation. Built by pw_svc_card() in bootstrap.php. Phones get a compact row. */
.svc-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%;
  background: var(--offwhite); border: 0; border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  color: inherit; text-decoration: none;
  transition: background-color 450ms var(--ease-apex), box-shadow 450ms var(--ease-apex), transform 450ms var(--ease-apex);
}
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .svc-card { background: #fff; }
.svc-card:hover, :is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .svc-card:hover { background: var(--mint); box-shadow: var(--shadow); }
.svc-card:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.svc-card__media { position: relative; }
.svc-card__stage {
  position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--r-card) var(--r-card) 0 0;
  background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, var(--tint) 55%, var(--tint-2) 100%);
}
.svc-card__stage::before {
  content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--rule-ink); opacity: 0.6;
}
.svc-card__stage::after {
  content: ""; position: absolute; z-index: -1; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}
.svc-card__stage .anim { width: auto; height: 74%; max-width: 74%; }
.svc-card__stage--photo::before, .svc-card__stage--photo::after { content: none; }
.svc-card__stage--photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__ph { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.svc-card__disc {
  position: absolute; left: 20px; bottom: -32px; z-index: 2;
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 5px var(--offwhite), var(--shadow); color: var(--ink);
  transition: transform 450ms var(--ease-apex), box-shadow 450ms var(--ease-apex);
}
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .svc-card__disc { box-shadow: 0 0 0 5px #fff, var(--shadow); }
.svc-card:hover .svc-card__disc { box-shadow: 0 0 0 5px var(--mint), var(--shadow); background: #fff; }
.svc-card__disc .anim { width: 100%; height: 100%; }
.svc-card__disc .icon { width: 28px; height: 28px; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 50px 22px 22px; }
.svc-card__num { display: none; }
.svc-card__title { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.svc-card__text { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 0.9375rem; font-weight: 650; color: var(--accent); }
.svc-card:hover .svc-card__more { color: var(--ink); }
.svc-card__more .icon { width: 18px; height: 18px; }
.svc-card__pair { display: inline-flex; align-self: flex-start; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); font-size: 0.8125rem; font-weight: 650; color: var(--ink); }
.svc-card:hover .svc-card__pair { background: #fff; }

.svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.svc-grid > li { display: flex; min-width: 0; }
.svc-grid > li > .svc-card { flex: 1; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Phones: a compact row, the stage a 108 px square on the left, so a group of seven reads as a list, not a scroll. */
@media (max-width: 639.98px) {
  .svc-card { flex-direction: row; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; }
  .svc-card__media { flex: none; width: 108px; }
  .svc-card__stage { aspect-ratio: 1; border-radius: 14px; }
  .svc-card__stage .anim { height: 84%; max-width: 84%; }
  .svc-card__ph { width: 56px; height: 56px; }
  .svc-card__disc { width: 48px; height: 48px; left: auto; right: -10px; bottom: -8px; box-shadow: 0 0 0 3px var(--offwhite), var(--shadow); }
  .svc-card__disc:not(:has(.anim)) { display: none; }
  .svc-card__body { padding: 4px 0; }
  .svc-card__title { font-size: 1.0625rem; }
  .svc-card__text { margin-top: 4px; font-size: 0.9rem; line-height: 1.45; } /* no line clamp: the 80 to 95 character lines must read in full */
  .svc-card__more { display: none; }
  .svc-card::after {
    content: ""; flex: none; align-self: center; width: 32px; height: 32px; border-radius: 50%; margin-left: auto;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
    box-shadow: var(--shadow-sm);
  }
}

/* ---------- .svc-list: the grouped, numbered service list with a large preview (the reference's service list) ----------
   <div class="svc-list" data-svc-list><ol class="svc-list__rows"><li class="svc-list__item">pw_svc_card($row,
   ['row' => true, 'num' => 1])</li>...</ol></div>. From 1024: numbered rows on the left, divided by hairlines; the
   right column is one large preview (the service's photo, or its animation on a stage) that crossfades to the row
   under the pointer or the keyboard focus (site.js keeps the last one shown; without it the first row's preview
   shows and hover or focus swaps it). Each row's own media is that preview, positioned into the right column, so the
   preview is part of the row's link. Below 1024 every row is an ordinary .svc-card (two columns, then compact rows). */
.svc-list__rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc-list__item { display: flex; min-width: 0; }
.svc-list__item > .svc-card { flex: 1; }
@media (min-width: 640px) and (max-width: 1023.98px) { .svc-list__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) {
  .svc-list { --gap: 64px; --pv: 0.92; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); column-gap: var(--gap); }
  .svc-list__rows { grid-column: 1; gap: 0; border-top: 1px solid var(--rule); align-self: start; }
  .svc-list__item { display: block; border-bottom: 1px solid var(--rule); }
  .svc-list__item > .svc-card--row {
    position: static; display: block; height: auto; background: transparent; box-shadow: none; border-radius: 14px;
  }
  .svc-card--row:hover, :is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .svc-card--row:hover { background: transparent; box-shadow: none; }
  .svc-card--row .svc-card__body {
    position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 14px; align-items: center;
    padding: 18px 4px 18px 0; transition: transform 450ms var(--ease-apex);
  }
  .svc-card--row .svc-card__num { display: block; grid-column: 1; grid-row: 1 / span 3; align-self: center; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
  .svc-card--row .svc-card__title { grid-column: 2; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.012em; }
  .svc-card--row .svc-card__text { grid-column: 2; margin-top: 4px; font-size: 0.9375rem; }
  .svc-card--row .svc-card__pair { grid-column: 2; margin-top: 8px; }
  .svc-card--row .svc-card__more { position: absolute; right: 4px; top: 50%; width: 44px; height: 44px; margin: -22px 0 0; padding: 0; justify-content: center; border-radius: 50%; border: 1px solid var(--rule-ink); color: var(--ink); font-size: 0; transition: background-color 300ms var(--ease-apex), color 300ms var(--ease-apex), border-color 300ms var(--ease-apex); }
  .svc-card--row .svc-card__more .icon { width: 18px; height: 18px; }
  .svc-card--row:focus-visible { outline-offset: 2px; }
  /* The preview: every row's media sits in the right column, stacked; only the active one is visible. */
  .svc-card--row .svc-card__media {
    position: absolute; top: 0; right: 0; width: calc((100% - var(--gap)) * var(--pv) / (1 + var(--pv)));
    opacity: 0; visibility: hidden; transition: opacity 450ms var(--ease-apex), visibility 0s linear 450ms;
  }
  .svc-card--row .svc-card__stage { aspect-ratio: 1; border-radius: var(--r-card); box-shadow: var(--shadow); }
  .svc-card--row .svc-card__stage .anim { height: 70%; max-width: 70%; }
  .svc-card--row .svc-card__stage::before { width: 82%; }
  .svc-card--row .svc-card__disc { left: 28px; bottom: 28px; width: 112px; height: 112px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), var(--shadow-lg); }
  .svc-card--row .svc-card__stage:not(.svc-card__stage--photo) + .svc-card__disc { display: none; }
  .svc-card--row .svc-card__ph { width: 160px; height: 160px; }
  /* Which preview shows: with site.js, the row it marked .is-active; without it, the row under the pointer or focus,
     else the first. */
  html.ready .svc-list__item.is-active .svc-card__media,
  html:not(.ready) .svc-list:not(:has(.svc-card--row:hover, .svc-card--row:focus-visible)) .svc-list__item:first-child .svc-card__media,
  html:not(.ready) .svc-card--row:is(:hover, :focus-visible) .svc-card__media { opacity: 1; visibility: visible; transition: opacity 450ms var(--ease-apex), visibility 0s; }
  .svc-list__item.is-active .svc-card__more, .svc-card--row:hover .svc-card__more { background: var(--ink); border-color: var(--ink); color: #fff; }
  .svc-list__item.is-active .svc-card__title { color: var(--ink); }
  .svc-list__item.is-active .svc-card__num { color: var(--accent); }
  .svc-card--row:hover .svc-card__body, .svc-list__item.is-active .svc-card--row:focus-visible .svc-card__body { transform: translateX(10px); }
  /* A row list shorter than its preview still leaves room for it. */
  .svc-list::after { content: ""; grid-column: 2; grid-row: 1; aspect-ratio: 1; }
}

/* ---------- .anim-stage: the large stage a service animation sits on ----------
   A rounded square with a radial tint, a soft white glow behind the subject, and a thin ink orbit ring that turns
   slowly with three small nodes riding it. Markup from pw_anim_stage(): .anim-stage > .anim-stage__orbit (> i x3) +
   svg.anim. Sizes: --sm (up to 280 px), --md (up to 400 px), default (up to 520 px), --fill (the width of its column). */
.anim-stage {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; border-radius: var(--r-card);
  background:
    radial-gradient(70% 60% at 50% 48%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, var(--tint) 55%, var(--sky) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}
.anim-stage--sm { max-width: 280px; }
.anim-stage--md { max-width: 400px; }
.anim-stage--fill { max-width: none; }
.anim-stage--round { border-radius: 50%; }
.anim-stage .anim { position: relative; z-index: 1; width: 76%; height: auto; }
.anim-stage__ph { position: relative; z-index: 1; display: grid; place-items: center; width: 42%; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.anim-stage__ph .icon { width: 40%; height: 40%; }
.anim-stage__orbit {
  position: absolute; z-index: 0; inset: 6%; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(14, 42, 58, 0.16);
}
.anim-stage__orbit::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px dashed rgba(14, 42, 58, 0.12); }
.anim-stage__orbit i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(1, 109, 150, 0.25); }
.anim-stage__orbit i:nth-child(1) { left: 50%; top: 0; }
.anim-stage__orbit i:nth-child(2) { left: 93.3%; top: 75%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-color: var(--ink); }
.anim-stage__orbit i:nth-child(3) { left: 6.7%; top: 75%; background: var(--mint); border-color: #fff; }
.anim-stage--sm .anim-stage__orbit i { transform: scale(0.8); }

/* ---------- .float-card: a small glass card floating over a photo or stage ----------
   <div class="float-card float-card--bl"><span class="float-card__icon">icon</span><span class="float-card__body">
   <span class="float-card__label">Label</span><b class="float-card__value">Value</b></span></div>
   Glass as measured: white at 86 percent over a 9 px blur, radius 20, an ink-tinted shadow. Position with --tl, --tr,
   --bl, --br (corners, overhanging the edge from 1024) or place it yourself. */
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: min(290px, 80%);
  padding: 12px 18px 12px 12px; border-radius: var(--r-card);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-float);
  font-size: 0.875rem; line-height: 1.3; color: var(--muted); text-align: left;
}
.float-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--mint); color: var(--ink); }
.float-card__icon .icon { width: 22px; height: 22px; }
.float-card__icon--ink { background: var(--ink); color: #fff; }
.float-card__icon--tint { background: var(--tint); color: var(--accent); }
.float-card__icon--num { font-family: var(--display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; background: var(--ink); color: #fff; }
.float-card__body { display: grid; gap: 2px; min-width: 0; }
.float-card__label { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.float-card__value, .float-card b { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.float-card .stars { color: var(--star); }
.float-card--tl { top: 16px; left: 16px; }
.float-card--tr { top: 16px; right: 16px; }
.float-card--bl { bottom: 16px; left: 16px; }
.float-card--br { bottom: 16px; right: 16px; }
@media (min-width: 1024px) {
  .float-card--tl { top: 10%; left: -40px; }
  .float-card--tr { top: 8%; right: -32px; }
  .float-card--bl { bottom: 12%; left: -48px; }
  .float-card--br { bottom: 8%; right: -28px; }
}

/* ---------- .photo-card: a photo with its animation in a white disc on the photo's edge (the service hero) ----------
   <div class="photo-card"><span class="photo-card__orbit" aria-hidden="true"><i></i><i></i></span>
   photo(..., 'photo-card__photo ar-4x3') <span class="photo-card__disc" aria-hidden="true">svg.anim</span> .float-card </div>
   Two thin ink ellipses cross behind the photo (the reference's orbit) with small nodes riding them; the disc sits half
   over the photo's bottom left corner like the Dentrist icon disc, large enough for the animation to read. */
.photo-card { position: relative; isolation: isolate; margin: 0 0 52px; }
.photo-card__photo { position: relative; z-index: 1; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--tint); }
.photo-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-card__orbit { position: absolute; z-index: 0; left: 50%; top: 50%; width: 112%; height: 136%; translate: -50% -50%; pointer-events: none; }
.photo-card__orbit::before, .photo-card__orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(14, 42, 58, 0.42); }
.photo-card__orbit::before { transform: rotate(-12deg); }
.photo-card__orbit::after { transform: rotate(10deg) scale(0.96, 0.9); }
.photo-card__orbit i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 4px 12px rgba(1, 109, 150, 0.25); }
.photo-card__orbit i:nth-child(1) { left: 86%; top: 6%; }
.photo-card__orbit i:nth-child(2) { left: 4%; top: 38%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-color: var(--ink); }
.photo-card__disc {
  position: absolute; z-index: 3; left: 18px; bottom: -44px; display: grid; place-items: center;
  width: 112px; height: 112px; border-radius: 50%; background: #fff; color: var(--accent);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.6), var(--shadow-lg);
}
.photo-card__disc .anim { width: 92%; height: 92%; }
.photo-card .float-card--tr { top: 14px; right: 14px; }
@media (min-width: 640px) { .photo-card__disc { width: 140px; height: 140px; left: 28px; bottom: -52px; } .photo-card { margin-bottom: 60px; } }
@media (min-width: 1024px) {
  .photo-card { margin: 0 0 56px 8px; }
  .photo-card__disc { width: 156px; height: 156px; left: -36px; bottom: -48px; }
  .photo-card .float-card--tr { top: 28px; right: -36px; }
}

/* ---------- .glance: "at a glance" facts on glass cards (icon, label, value) ----------
   <ul class="glance" role="list"><li class="glance__item"><span class="glance__icon">icon</span><span class="glance__text">
   <span class="glance__label">Label</span><span class="vh">: </span><span class="glance__value">Value</span></span></li></ul>.
   Inside .glance-band (right after a .pagehead--glance) the row straddles the header's bottom edge, like the reference's
   stat cards. Phones: one glass panel with the facts in rows. --inline: a quieter row inside a section. */
.glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.glance__item { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 14px 18px; }
.glance__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--mint); color: var(--ink); }
.glance__icon .icon { width: 22px; height: 22px; }
.glance__text { display: grid; gap: 2px; min-width: 0; }
.glance__label { font-size: 0.8125rem; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em; color: var(--muted); }
.glance__value { font-family: var(--display); font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.glance-band { position: relative; z-index: 4; margin: calc(-1 * var(--glance-lift, 56px)) var(--panel-inset) 24px; }
@media (min-width: 1024px) { .glance-band { margin-bottom: 40px; } }
.glance-band .glance {
  border-radius: var(--r-card); background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-float), var(--shadow);
}
.glance-band .glance__item + .glance__item { border-top: 1px solid var(--rule); }
.pagehead--glance { padding-bottom: calc(64px + var(--glance-lift, 56px)); }
@media (min-width: 768px) {
  .glance-band .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: none; border: 0; box-shadow: none; }
  .glance-band .glance__item { padding: 22px 24px 22px 20px; border-radius: var(--r-card); background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-float), var(--shadow); }
  .glance-band .glance__item + .glance__item { border-top: 1px solid rgba(255, 255, 255, 0.9); }
  .glance-band .glance__icon { width: 56px; height: 56px; }
  .glance-band .glance__value { font-size: 1.125rem; }
  .pagehead--glance { padding-bottom: calc(88px + var(--glance-lift, 56px)); }
}
@media (min-width: 1024px) { .glance-band { --glance-lift: 64px; } .pagehead--glance { --glance-lift: 64px; padding-bottom: calc(96px + var(--glance-lift)); } .glance-band .glance { gap: 24px; } }
.glance--inline { display: flex; flex-wrap: wrap; gap: 10px; }
.glance--inline .glance__item { padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }
.glance--inline .glance__icon { width: 36px; height: 36px; }
.glance--inline .glance__icon .icon { width: 18px; height: 18px; }
.glance--inline .glance__value { font-size: 0.9375rem; }

/* ---------- .seal: a rotating text ring with the logo mark in the middle (pw_seal()) ----------
   Frosted white with a soft inner ring. Only the text ring turns (one turn every 10 s, linear); the mark stays still. */
.seal {
  position: relative; display: grid; place-items: center; width: 132px; height: 132px; flex: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 46%, rgba(255, 255, 255, 0.8) 47% 100%);
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 0 0 14px rgba(255, 255, 255, 0.35);
}
.seal::before { content: ""; position: absolute; inset: 27%; border-radius: 50%; border: 1px solid var(--rule-ink); }
.seal__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); display: block; }
.seal__ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seal__ring text { font-family: var(--display); font-size: 9.6px; font-weight: 700; letter-spacing: 0.16em; fill: var(--ink); text-transform: uppercase; }
.seal__mark { position: relative; width: 40px; height: 40px; }
.seal--sm { width: 100px; height: 100px; }
.seal--sm .seal__mark { width: 30px; height: 30px; }

/* ---------- .orbit-photo: a photo inside two thin crossing orbit ellipses with icon discs riding them ----------
   <div class="orbit-photo"><span class="orbit-photo__ring" aria-hidden="true"><span class="orbit-photo__node">icon</span>
   <span class="orbit-photo__node">icon</span></span> photo() or an .anim-stage </div>
   As in the reference: two 1 px ink ellipses crossing like an orbit, passing behind the photo and reaching past it
   above and below, with white icon discs (soft shadow, blue icon) at their top and bottom crossings. They scale in
   from 0.8 when the block comes into view, then sway very slowly. */
.orbit-photo { position: relative; isolation: isolate; padding: 13% 0; }
.orbit-photo > .photo, .orbit-photo > .anim-stage { position: relative; z-index: 1; border-radius: var(--r-card); }
.orbit-photo__ring { position: absolute; left: 50%; top: 50%; width: 86%; aspect-ratio: 0.98; translate: -50% -50%; pointer-events: none; }
.orbit-photo__ring::before, .orbit-photo__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(14, 42, 58, 0.7); }
.orbit-photo__ring::before { transform: rotate(-18deg); }
.orbit-photo__ring::after { transform: rotate(14deg); }
.orbit-photo__node {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(14, 42, 58, 0.1); color: var(--brand);
}
.orbit-photo__node .icon { width: 24px; height: 24px; }
.orbit-photo__node:nth-child(1) { left: 48%; top: 0.4%; }
.orbit-photo__node:nth-child(2) { left: 52%; top: 99.6%; }
/* Round a square .anim-stage the ellipses are wide and flat, so they cross behind the stage and show at its sides
   (an atom rather than a halo); the stage is inset so the rings stay inside the column. The nodes sit on the first
   ellipse's two ends (computed for its -18 degree tilt), and the whole ring sways so they stay on it. */
.orbit-photo:has(> .anim-stage) { padding: 2% 12%; }
.orbit-photo:has(> .anim-stage) .orbit-photo__ring { width: 104%; aspect-ratio: 1.8; }
.orbit-photo:has(> .anim-stage) .orbit-photo__node:nth-child(1) { left: 2.5%; top: 78%; }
.orbit-photo:has(> .anim-stage) .orbit-photo__node:nth-child(2) { left: 97.5%; top: 22%; }
@media (max-width: 639.98px) { .orbit-photo__node { width: 46px; height: 46px; margin: -23px 0 0 -23px; } .orbit-photo__node .icon { width: 20px; height: 20px; } }
/* Round a photo the icon discs must stay in front of the photo where they overlap it while the ellipses pass behind
   it. A translate or rotate on the ring would make it a stacking context of its own, painted whole under the photo
   (z-index 1) with its discs inside it, so the ring is centred with insets and auto margins instead (the inset box is
   twice the block, so a ring wider or taller than the block still centres) and only its ellipses sway (motion
   section). The ellipses then paint under the photo and the discs (z-index 2) over it. Width and aspect-ratio
   overrides in page styles keep working. The stage and card variants keep the transform: their discs sit clear of
   the stage, and on a card a disc in front would cover its text. */
.orbit-photo:where(:not(.orbit-photo--card):not(:has(> .anim-stage))) .orbit-photo__ring { inset: -50%; margin: auto; translate: none; }
/* --card: the orbit round a card instead of a photo (a white card with an ink-tinted shadow sits on the rings). */
.orbit-photo--card { padding: 15% 0; }
.orbit-photo--card > :not(.orbit-photo__ring) { position: relative; z-index: 1; }
.orbit-photo--card .orbit-photo__ring { width: 96%; aspect-ratio: 1.05; }
/* A card taller than its ring (a long list in a narrow column, at 1024 and on phones) hid the whole orbit, discs and
   all. The ring is never shorter than the block, so its discs sit in the block's padding above and below the card,
   and its ellipses tilt less, so the discs stay on them when the ring turns tall. */
.orbit-photo--card .orbit-photo__ring { min-height: 100%; }
.orbit-photo--card .orbit-photo__ring::before { transform: rotate(-8deg); }
.orbit-photo--card .orbit-photo__ring::after { transform: rotate(8deg); }

/* ---------- .stats: big numbers with labels ----------
   <dl class="stats"><div class="stat"><dt class="stat__label">Label</dt><dd class="stat__num"><span data-count-to="4.9"
   data-count-dec="1">4.9</span><small>/5</small></dd></div></dl>. Only numbers that exist in the data. */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 20px 16px; border-left: 1px solid var(--rule); min-width: 0; }
.stat:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
.stat__num { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); font-weight: 750; line-height: 1; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.stat__num small { font-size: 0.45em; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin-left: 2px; }
.stat__label { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); font-weight: 550; }
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(var(--stats, 4), minmax(0, 1fr)); }
  .stat, .stat:nth-child(2n + 1) { border-left: 1px solid var(--rule); padding: 8px 28px; }
  .stat:first-child { border-left: 0; padding-left: 0; }
}
.band--ink .stat, .cta-band .stat { border-color: rgba(255, 255, 255, 0.14); }
.band--ink .stat__num { color: #fff; }
.band--ink .stat__label { color: var(--on-ink-muted); }

/* ---------- .steps: numbered step cards joined by a line that draws itself ----------
   <ol class="steps"><li class="step"><h3 class="step__title">..</h3><p>..</p></li></ol>. Below 1024 a vertical timeline
   (discs on the left, cards to the right); from 1024 the discs sit in a row above the cards. site.js adds .is-in when
   the list comes into view; under html.motion the line draws and the discs fill one after another. */
.steps { --disc: 48px; --steps-gap: 20px; --steps-bg: #fff; position: relative; list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: 1fr; gap: var(--steps-gap); }
.section--tint .steps { --steps-bg: var(--tint); }
.section--mint .steps { --steps-bg: var(--mint-soft); }
.section--plain .steps { --steps-bg: var(--page); }
.steps::before {
  content: ""; position: absolute; z-index: 0; left: calc(var(--disc) / 2 - 1px); top: calc(var(--disc) / 2 + 20px); bottom: 48px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent)); transform-origin: 50% 0;
}
.step {
  counter-increment: step; position: relative; z-index: 1; display: block; min-width: 0;
  margin-left: calc(var(--disc) + 16px); padding: 22px 22px 24px; border: 0;
  border-radius: var(--r-card); background: var(--offwhite); box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: calc(-1 * (var(--disc) + 16px)); top: 20px;
  display: grid; place-items: center; width: var(--disc); height: var(--disc); margin: 0; border-radius: 50%;
  background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
  font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 0.9375rem; font-weight: 750; line-height: 1; letter-spacing: 0;
  box-shadow: 0 0 0 6px var(--steps-bg);
}
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .step { background: #fff; }
.step__title { font-family: var(--display); font-size: 1.125rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.step p { margin-top: 8px; font-size: 0.9875rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.steps:has(> li:nth-child(2):last-child) { --n: 2; }
.steps:has(> li:nth-child(3):last-child) { --n: 3; }
.steps:has(> li:nth-child(4):last-child) { --n: 4; }
.steps:has(> li:nth-child(5):last-child) { --n: 5; }
.steps:has(> li:nth-child(6):last-child) { --n: 6; }
@media (min-width: 1024px) {
  .steps { --steps-gap: 24px; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); padding-top: calc(var(--disc) + 24px); }
  .steps::before {
    left: calc(var(--disc) / 2); top: calc(var(--disc) / 2 - 1px); bottom: auto; width: auto; height: 2px;
    right: calc((100% - (var(--n, 4) - 1) * var(--steps-gap)) / var(--n, 4) - var(--disc) / 2);
    background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: 0 50%;
  }
  .step { margin-left: 0; padding: 26px 24px 28px; }
  .step::before { left: 0; top: calc(-1 * (var(--disc) + 24px)); }
}

/* ---------- .check-list: brand check discs ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; }
.check-list li { position: relative; padding-left: 42px; min-height: 28px; font-size: 1.0625rem; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4.5 4.5 8.5-9.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 6px 14px -6px rgba(1, 109, 150, 0.6);
}
.check-list--ink li::before { background-color: var(--ink); box-shadow: none; }
.check-list--light li { color: var(--on-ink); }
@media (min-width: 768px) { .check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- .faq: accordion of <details> ----------
   <div class="faq"><details class="faq__item"><summary class="faq__q">Question</summary><div class="faq__a"><p>..</p></div>
   </details></div>. The plus disc is drawn here (any icon inside the summary is hidden) and turns into a cross when
   open; the answer opens with a smooth height where the browser supports it. */
.faq { display: grid; gap: 12px; max-width: none; border: 0; }
.faq__item { background: var(--offwhite); border: 1px solid transparent !important; border-radius: var(--r-card); padding: 0 24px; box-shadow: none; transition: box-shadow 300ms ease, background-color 300ms ease; }
.faq__item[open] { background: #fff; box-shadow: var(--shadow); }
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .faq__item { background: #fff; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 16px 0;
  font-family: var(--display); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.005em; color: var(--ink); text-wrap: balance;
}
@media (min-width: 768px) { .faq__q { font-size: 1.125rem; } }
.faq__q > .icon { display: none; }
/* An optional running number before the question ("01"), as in the Dentrist accordion. */
.faq__num { flex: none; min-width: 26px; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--muted); }
.faq__text { flex: 1; min-width: 0; }
.faq__item[open] .faq__num { color: var(--accent); }
.faq__q::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat, var(--mint);
  transition: transform 400ms var(--ease-lux), background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.faq__q::after { color: var(--ink); }
.faq__item[open] > .faq__q::after { transform: rotate(135deg); color: #fff; background-color: var(--ink); }
.faq__q:hover { color: var(--accent); }
.faq__a { background: transparent; padding: 0 0 22px; margin: 0; border-radius: 0; font-size: 1rem; color: var(--text); }
.faq__a > * { max-width: 68ch; }
.faq__a p + p { margin-top: 10px; }
.faq--tint .faq__item { background: var(--tint); }
.faq--tint .faq__item[open] { background: #fff; box-shadow: var(--shadow); }

/* ---------- .band--ink: a dark ink panel with a soft brand glow ---------- */
.band--ink { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.band--ink.section, section.band--ink { margin: var(--panel-inset); border-radius: var(--r-panel); }
.band--ink::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -320px; top: -460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.22), rgba(1, 171, 238, 0)); pointer-events: none; }
.band--ink::after { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -280px; bottom: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(211, 229, 239, 0.12), rgba(211, 229, 239, 0)); pointer-events: none; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .lede, .band--ink p { color: var(--on-ink-muted); }
.band--ink a:not(.btn) { color: var(--on-ink-accent); }
.band--ink a:not(.btn):hover { color: #fff; }
.band--ink :focus-visible { outline-color: #fff; }
.band--ink .tag { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.band--ink .tag::before { color: var(--on-ink-accent); }

/* ---------- .cta-band: the closing call to action, a mint panel (pw_cta_band()) ----------
   Mint as in the Dentrist reference, ink type, the ink pill with its white disc; on the right the phone number large
   with the hours and today's status. The logo mark rests as a faint watermark. */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 36px;
  padding: 44px 24px; border-radius: var(--r-panel); background: var(--mint); color: var(--text);
}
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); pointer-events: none; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -70px; width: 300px; height: 300px; background: url("/assets/img/brand/mark-mono.svg") center / contain no-repeat; opacity: 0.06; pointer-events: none; }
.cta-band__orbit { position: absolute; z-index: -1; width: 560px; height: 560px; left: -260px; bottom: -330px; border-radius: 50%; border: 1px solid rgba(14, 42, 58, 0.14); pointer-events: none; }
.cta-band__orbit::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px dashed rgba(14, 42, 58, 0.12); }
.cta-band h2 { color: var(--ink); max-width: 18ch; }
.cta-band .tag, .cta-band .tag--light { background: #fff; border-color: transparent; color: var(--ink); }
.cta-band .tag--light::before { color: var(--brand); }
.cta-band .tag + h2 { margin-top: 18px; }
.cta-band .lede { color: var(--text); margin-top: 16px; max-width: 52ch; }
.cta-band .actions { margin-top: 28px; }
.cta-band .link-arrow { color: var(--ink); }
.cta-band__call { display: grid; align-content: center; gap: 6px; padding-top: 28px; border-top: 1px solid rgba(14, 42, 58, 0.16); }
.cta-band__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.cta-band__phone { display: inline-flex; align-items: center; min-height: 48px; width: fit-content; font-family: var(--display); font-size: clamp(1.875rem, 1.2rem + 2vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap; }
.cta-band__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--ink); }
.cta-band__call p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text); }
.cta-band__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px !important; color: var(--ink) !important; font-weight: 650; }
.cta-band__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .cta-band { padding: 64px 56px; } }
@media (min-width: 1024px) {
  .cta-band { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; padding: 88px 80px; }
  .cta-band__call { padding: 0 0 0 48px; border-top: 0; border-left: 1px solid rgba(14, 42, 58, 0.16); }
}
/* The section around the band sits on the page itself (no panel), so the mint panel is the sheet. */
.cta-section { position: relative; margin: var(--panel-inset); padding-block: 24px; }
@media (min-width: 1024px) { .cta-section { padding-block: 40px; } }

/* ---------- .related: three service cards at the foot of a service page ---------- */
.related .head { margin-bottom: 32px; }

/* ---------- Review cards (verbatim reviews) ---------- */
.review-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; padding: 30px 28px 26px;
  background: var(--offwhite); border: 0; border-radius: var(--r-card); box-shadow: var(--shadow-sm); position: relative;
}
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .review-card { background: #fff; }
.review-card::before {
  content: ""; position: absolute; right: 24px; top: 22px; width: 40px; height: 32px; opacity: 0.9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cpath fill='%23C6E3DE' d='M0 32V19.2C0 8.6 5.4 2.2 16.2 0l2 4.4C12.6 6 9.8 9.6 9.4 15H17v17H0Zm23 0V19.2C23 8.6 28.4 2.2 39.2 0l2 4.4C35.6 6 32.8 9.6 32.4 15H40v17H23Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.review-card .stars { color: var(--star); }
.review-card__text { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.6; color: var(--ink); flex: 1; text-wrap: pretty; }
.review-card__quote { margin: 0; flex: 1; display: flex; }
.review-card__text::before { content: "\201C"; }
.review-card__text::after { content: "\201D"; }
.review-card__by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.35; }
.review-card__by > span:last-child { display: grid; }
.review-card__name { font-weight: 700; color: var(--ink); }
.review-card__src { color: var(--muted); font-size: 0.875rem; }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--ink); font-weight: 700; flex: none; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 20px; list-style: none; margin: 0; padding: 0; }
.review-grid > li { display: flex; }
.review-grid > li > * { flex: 1; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
/* Count modifiers, for templates whose number of reviews varies (the service pages, the hub): --n3 lets the third card
   take the full row at 768 to 1023 instead of sitting alone in half of it; --n2 stays two across from 1024 rather than
   leaving an empty third slot; --n1 keeps a single card to a readable width. */
@media (min-width: 768px) and (max-width: 1023.98px) { .review-grid--n3 > li:nth-child(3) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .review-grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .review-grid--n1 { grid-template-columns: minmax(0, 720px); } }
.band--ink .review-card { background: #fff; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.7); }
.band--ink .review-card__text { color: var(--ink); }
.band--ink .review-card__name { color: var(--ink); }
.band--ink .review-card__src { color: var(--muted); }

/* Rating summary: big number, stars, count. */
.rating-pill { display: inline-flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-float); }
.rating-pill__num { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; }
.rating-pill__text { display: grid; gap: 2px; font-size: 0.875rem; line-height: 1.3; color: var(--muted); }
.rating-pill__text b { color: var(--ink); font-size: 0.9375rem; }
.rating-pill .stars { color: var(--star); }
.band--ink .rating-pill { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.band--ink .rating-pill__num { background: #fff; color: var(--ink); }
.band--ink .rating-pill__text, .band--ink .rating-pill__text b { color: var(--on-ink); }
.band--ink .rating-pill__text b { color: #fff; }

/* ---------- Reviews marquee (home): a deep band with two rows that scroll constantly ---------- */
.reviews--marquee { background: var(--ink); color: var(--on-ink); overflow: hidden; position: relative; isolation: isolate; margin: var(--panel-inset); border-radius: var(--r-panel); }
.reviews--marquee::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.22), rgba(1, 171, 238, 0)); }
.reviews--marquee h2 { color: #fff; }
.reviews--marquee .lede { color: var(--on-ink-muted); }
.reviews--marquee .link-arrow { color: var(--on-ink-accent); }
.reviews--marquee .rating__num { color: #fff; font-family: var(--display); font-weight: 750; letter-spacing: -0.04em; }
.reviews--marquee .rating__meta, .reviews--marquee .rating__meta b { color: #fff; }
.reviews--marquee .rating__meta .small { color: var(--on-ink-muted); }
.reviews--marquee .stars { color: var(--star); }
.reviews--marquee .section__head::before { background: var(--brand); }
.marquee { display: grid; gap: var(--s-4); margin-top: var(--s-4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: pw-marquee var(--marquee-dur, 150s) linear infinite; will-change: transform; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; --marquee-dur: 170s; }
.marquee__set { display: flex; gap: var(--s-4); padding-right: var(--s-4); }
.marquee.is-paused .marquee__track, .marquee.is-offscreen .marquee__track, .marquee__row.is-held .marquee__track { animation-play-state: paused; }
@keyframes pw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reviews--marquee .review {
  flex: none; width: 340px; margin: 0; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5);
  background: #fff; color: var(--text); border: 0; border-radius: var(--r-card); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) { .reviews--marquee .review { width: 400px; } }
.reviews--marquee .review .stars { color: var(--star); }
.reviews--marquee .review__text { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; text-indent: 0; color: var(--text); flex: 1; display: block; -webkit-line-clamp: unset; overflow: visible; } /* reviews are printed as written, never clamped */
.reviews--marquee .review__text::before { content: "\201C"; }
.reviews--marquee .review__text::after { content: "\201D"; }
.reviews--marquee .review__by { display: flex; align-items: center; gap: 12px; }
.reviews--marquee .review__by > span:last-child { display: grid; }
.marquee__controls { display: flex; justify-content: flex-end; margin-top: var(--s-5); }
.marquee__pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--on-ink); font-size: 0.9375rem; font-weight: 600; }
.marquee__pause:hover { border-color: #fff; color: #fff; }
.marquee__pause .icon { width: 16px; height: 16px; }
.marquee__pause .icon--play { display: none; }
.marquee__pause[data-state="paused"] .icon--play { display: block; }
.marquee__pause[data-state="paused"] .icon--pause { display: none; }
/* The client asked for constant movement, so the marquee keeps running under reduced motion too (slower); the Pause
   button stops it for anyone who needs it. */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 260s !important; animation-iteration-count: infinite !important; }
  .marquee__row--reverse .marquee__track { animation-duration: 290s !important; }
}
@media print { .marquee { -webkit-mask-image: none; mask-image: none; } .marquee__track { animation: none; } .marquee__set[aria-hidden] { display: none; } .marquee__controls { display: none; } }

/* ---------- Feature list: icon, title and a line, in rows (offered here, accessibility, and so on) ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-list > li { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: var(--r-card); background: var(--offwhite); border: 0; box-shadow: var(--shadow-sm); min-width: 0; }
:is(.section--tint, .section--wash, .section--sky, .section--mint, .section--plain) .feature-list > li { background: #fff; }
.feature-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--mint); color: var(--ink); }
.feature-list__icon .icon { width: 24px; height: 24px; }
.feature-list b, .feature-list__title { display: block; font-family: var(--display); font-weight: 650; color: var(--ink); letter-spacing: -0.01em; line-height: 1.35; }
.feature-list p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .feature-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Notice and hours ---------- */
.notice, .panel { border-radius: var(--r-card); }
input, select, textarea { border-radius: 12px !important; }
.tile { border-radius: 14px; }
.hours td, .hours th { border-color: var(--rule); }

/* ==========================================================================================================
   4. Site chrome
   ========================================================================================================== */

/* ---------- Utility bar ---------- */
.utility { background: var(--surface); border-bottom: 1px solid var(--rule); color: var(--muted); }
.utility__item .icon { color: var(--accent); }

/* ---------- Header: frosted glass, the primary nav with disclosure menus ---------- */
.header { background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid transparent; transition: box-shadow 300ms ease, border-color 300ms ease, background-color 300ms ease; }
.header.is-stuck { box-shadow: 0 8px 30px -18px rgba(14, 42, 58, 0.35); border-bottom-color: var(--rule); }
.header:has(.pnav__item.is-open) { background: #fff; border-bottom-color: var(--rule); }
/* While the phone menu is open the header is solid white, so the page never shows through behind the drawer. */
html.menu-open .header, .header:has(.menu[open]) { background: #fff; }
.header__in { gap: 12px; }
.header__phone { color: var(--ink); font-weight: 600; border-radius: 999px; }
.header__phone .icon { color: var(--accent); }
.header__phone:hover { color: var(--accent); }
.header__cta { display: none; min-height: 46px; padding: 0 20px; font-size: 0.9375rem; }
@media (min-width: 768px) { .header__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .header__phone { margin-left: 0; }
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; background: var(--surface); }
}
@media (min-width: 1280px) {
  .header__phone { width: auto; height: auto; background: transparent; padding: 0 6px; }
  .header__phone span { display: inline; }
}

/* The primary nav (1024 and up). Services opens a mega menu of the five groups; About and Patients open a short list.
   Each trigger is a button with aria-expanded (site.js). Without JavaScript the panels open on hover and on focus
   inside the item, so every link is still reachable. */
.pnav { display: none; margin: 0 auto; }
.pnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.pnav__item { position: static; }
.pnav__item--drop { position: relative; }
.pnav__trigger, .pnav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-family: var(--display); font-size: 0.9375rem; font-weight: 600; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.pnav__trigger .icon { width: 14px; height: 14px; color: var(--muted); transition: transform 300ms var(--ease-lux); }
.pnav__trigger:hover, .pnav__link:hover { background: var(--surface); }
.pnav__item.is-open > .pnav__trigger { background: var(--tint); }
.pnav__item.is-open > .pnav__trigger .icon { transform: rotate(180deg); color: var(--accent); }
.pnav__trigger.is-current, .pnav__link[aria-current="page"] { color: var(--accent); }
.pnav__trigger.is-current::after, .pnav__link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-left: 2px; }
.pnav__panel {
  position: absolute; z-index: 25; visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity 200ms ease, transform 300ms var(--ease-lux), visibility 0s linear 200ms;
  transform: translateY(-6px);
}
.pnav__item.is-open > .pnav__panel,
html:not(.ready) .pnav__item:hover > .pnav__panel,
html:not(.ready) .pnav__item:focus-within > .pnav__panel { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition: opacity 200ms ease, transform 300ms var(--ease-lux), visibility 0s; }

/* Mega panel: full width under the header. */
.pnav__panel--mega { left: 0; right: 0; top: 100%; padding: 0 0 8px; }
.mega {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px;
  margin-top: 0; padding: 32px; background: #fff; border: 1px solid var(--rule); border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg);
}
.mega__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "prevention repairs replacing cosmetic" "prevention repairs comfort cosmetic"; grid-template-rows: auto 1fr; gap: 24px 28px; align-content: start; align-items: start; }
.mega__group--prevention { grid-area: prevention; }
.mega__group--repairs { grid-area: repairs; }
.mega__group--replacing { grid-area: replacing; }
.mega__group--cosmetic { grid-area: cosmetic; }
.mega__group--comfort { grid-area: comfort; }
.mega__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.mega__title a { color: inherit; text-decoration: none; }
.mega__title a:hover { color: var(--accent); }
.mega__title .icon { width: 16px; height: 16px; color: var(--accent); flex: none; }
/* The four top-row titles wrap to one or two lines; giving them a two-line height with the text on the rule keeps the
   rules and the first links of all four columns level. */
.mega__group:not(.mega__group--comfort) .mega__title { min-height: calc(3.2em + 10px); align-items: flex-end; }
.mega__group:not(.mega__group--comfort) .mega__title .icon { margin-bottom: 2px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mega__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 6px 10px; margin-inline: -10px; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 550; line-height: 1.3; color: var(--ink); text-decoration: none;
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.mega__list a::after { content: ""; width: 14px; height: 14px; flex: none; opacity: 0; transform: translateX(-4px); transition: opacity var(--t-ui) ease, transform 300ms var(--ease-lux); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016D96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.mega__list a:hover, .mega__list a:focus-visible { background: var(--surface); color: var(--accent); }
.mega__list a:hover::after, .mega__list a:focus-visible::after { opacity: 1; transform: none; }
.mega__list a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.mega__feature { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-card); background: var(--ink); color: var(--on-ink); }
.mega__feature::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -150px; top: -170px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.4), rgba(1, 171, 238, 0)); }
.mega__feature::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.14); }
.mega__feature-title { font-family: var(--display); font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.mega__feature-title em { font-family: var(--accent-font); font-style: italic; font-weight: 400; color: inherit; }
.mega__feature p { font-size: 0.9375rem; line-height: 1.5; color: var(--on-ink-muted); }
.mega__feature .btn { margin-top: auto; align-self: flex-start; }
.mega__urgent { display: flex; align-items: center; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.875rem; color: var(--on-ink-muted); }
.mega__urgent a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mega__urgent a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__urgent .icon { width: 18px; height: 18px; color: var(--on-ink-accent); flex: none; }
.mega :focus-visible { outline-offset: 1px; }
.mega__feature :focus-visible { outline-color: #fff; }

/* Short dropdowns (About, Patients). */
.pnav__panel--drop { top: calc(100% + 10px); left: 50%; width: 320px; margin-left: -160px; transform: translateY(-6px); }
.pnav__item.is-open > .pnav__panel--drop, html:not(.ready) .pnav__item:hover > .pnav__panel--drop, html:not(.ready) .pnav__item:focus-within > .pnav__panel--drop { transform: none; }
.pnav__panel--drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* keeps hover alive across the gap */
.drop { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.drop a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background-color var(--t-ui) ease; }
.drop a:hover, .drop a:focus-visible { background: var(--surface); }
.drop__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--tint); color: var(--accent); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.drop__icon .icon { width: 20px; height: 20px; }
.drop a:hover .drop__icon { background: var(--ink); color: #fff; }
.drop__text { display: grid; gap: 2px; min-width: 0; }
.drop__text b { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.drop__text small { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.drop a[aria-current="page"] b { color: var(--accent); }

@media (min-width: 1024px) { .pnav { display: block; } }
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .pnav__trigger, .pnav__link { padding: 0 10px; }
  /* Narrow columns: a slimmer card and no hover arrow give the service names room to stay on one line. */
  .mega { grid-template-columns: minmax(0, 1fr) 220px; padding: 24px; gap: 20px; }
  .mega__groups { gap: 20px 16px; }
  .mega__feature { padding: 22px; }
  .mega__list a { font-size: 0.875rem; }
  .mega__list a::after { display: none; }
}

/* ---------- Mobile menu (below 1024): the native <details> panel, with Services, About and Patients nested ---------- */
.menu__toggle { border-radius: 50%; color: var(--ink); }
.menu__toggle:hover { background: var(--surface); }
.menu__panel { background: #fff; border-top: 1px solid var(--rule); padding-top: 8px; }
.menu__links { counter-reset: none; }
.menu__links > li + li { border-top: 1px solid var(--rule); }
.menu__links > li > a, .menu__group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 2px;
  font-family: var(--display); font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); text-decoration: none;
}
.menu__links a::before { content: none; }
.menu__links li li + li { border-top: 0; }
.menu__links > li > a::after { content: ""; width: 18px; height: 18px; flex: none; opacity: 0.55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu__links a:hover, .menu__group > summary:hover { color: var(--accent); }
.menu__links a[aria-current="page"] > span { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--brand); }
.menu__group > summary::after { content: ""; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016D96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 300ms var(--ease-lux), background-color var(--t-ui) ease; }
.menu__group[open] > summary::after { transform: rotate(180deg); background-color: var(--tint); }
.menu__group[open] > summary { color: var(--accent); }
.menu__sub { padding: 0 0 18px; }
.menu__sub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.menu__sub-list a {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; border-radius: 12px;
  font-size: 1rem; font-weight: 550; color: var(--ink); text-decoration: none;
}
.menu__sub-list a:hover, .menu__sub-list a[aria-current="page"] { background: var(--surface); color: var(--accent); }
.menu__sub-list .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }
.menu__subhead { display: flex; align-items: center; gap: 8px; margin: 14px 12px 4px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.menu__subhead .icon { width: 15px; height: 15px; color: var(--accent); }
.menu__all { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 16px; margin-bottom: 4px; border-radius: 14px; background: var(--ink); color: #fff !important; font-weight: 650; text-decoration: none; }
.menu__all .icon { width: 18px; height: 18px; }
.menu__links .menu__all { align-items: center; min-height: 52px; padding: 8px 16px; font-family: var(--display); font-size: 1rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
@media (min-width: 600px) { .menu__sub-list--cols { grid-template-columns: 1fr; } }
.menu__actions .btn { width: 100%; }
.menu__meta { border-top-color: var(--rule); }

/* ---------- Call bar (phones) ---------- */
.callbar { background: #fff; border-top-color: var(--rule); }
.callbar .btn { min-height: 46px; }
/* Phones (the bar only shows below 768 px): "Request an appointment" needs the room, so the call cell keeps its icon
   and its full label moves to screen readers (the link name stays "Call (734) ..."). At 430 px the label was cut off.
   The header and every page still show the number. */
@media (max-width: 767.98px) {
  .callbar:not(.callbar--single) { grid-template-columns: auto minmax(0, 1fr); }
  .callbar:not(.callbar--single) .callbar__call { padding: 0 14px; min-width: 48px; }
  .callbar:not(.callbar--single) .callbar__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* ---------- Footer: a rounded ink gradient panel (brief section 8) ---------- */
.footer {
  position: relative; isolation: isolate; overflow: hidden; border-top: 0; padding: 72px 0 28px;
  margin: var(--panel-inset); border-radius: var(--r-panel);
  background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink) 38%, var(--ink) 62%, var(--ink-3) 100%);
  color: var(--on-ink);
}
.footer::before { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -300px; top: -380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); background: radial-gradient(closest-side, rgba(1, 171, 238, 0.14), rgba(1, 171, 238, 0)); }
.footer::after { content: ""; position: absolute; z-index: -1; right: 4%; bottom: -80px; width: 340px; height: 340px; background: url("/assets/img/brand/mark-mono.svg") center / contain no-repeat; opacity: 0.05; filter: invert(1); }
/* Phones: the call bar covers the bottom of the page, so the room for it goes below the panel, not inside it. */
@media (max-width: 767.98px) { .footer { padding-bottom: 28px; margin-bottom: calc(var(--panel-inset) + var(--callbar-h) + 8px + env(safe-area-inset-bottom)); } }
.footer :focus-visible { outline-color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1fr; grid-template-areas: none; gap: 40px 32px; }
.fcol { min-width: 0; }
.footer__h { margin: 0 0 14px; padding: 0; border: 0; font-family: var(--display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; color: var(--on-ink-muted); }
.fcol--brand .logo + * { margin-top: 22px; }
/* On the ink panel the lockup is reversed, as a logo is on a dark ground: PARKWEST in white; the tooth, DENTAL and the
   rules keep the logo blue (6.6:1 on the ink). */
.footer .lockup .wm-parkwest { fill: #fff; }
.footer__tagline { font-family: var(--display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: #fff; }
.footer__about { margin-top: 10px; max-width: 40ch; font-size: 0.9375rem; line-height: 1.6; color: var(--on-ink-muted); }
.footer__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; width: fit-content; max-width: 100%; margin-top: 20px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.875rem; line-height: 1.4; color: var(--on-ink-muted); }
.footer__rating .stars { color: var(--star); }
.footer__rating b { color: #fff; font-weight: 700; }
.footer__rating .link-arrow { font-size: 0.875rem; margin-block: -8px; color: var(--on-ink-accent); }
.footer__rating .link-arrow:hover { color: #fff; }
.footer__social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; text-decoration: none; transition: background-color var(--t-ui) ease, color var(--t-ui) ease, border-color var(--t-ui) ease; }
.footer__social a:hover { background: #fff; border-color: #fff; color: var(--ink); }
.footer__social .icon { width: 20px; height: 20px; color: currentColor; }
.flinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.flinks a { position: relative; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.flinks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--on-ink-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 300ms var(--ease-apex); }
.flinks a:hover { color: #fff; }
.flinks a:hover::after { transform: scaleX(1); }
.flinks--sub { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.flinks--sub a { color: var(--on-ink-muted); font-size: 0.875rem; }
.footer__visit { display: grid; gap: 2px; font-size: 0.9375rem; line-height: 1.55; color: var(--on-ink); }
.footer__visit .link-arrow { justify-self: start; font-size: 0.9375rem; margin: 0; min-height: 44px; color: var(--on-ink-accent); }
.footer__visit .link-arrow:hover { color: #fff; }
.footer__visit .link-phone { justify-self: start; font-size: 1rem; min-height: 44px; color: #fff; }
.footer__visit .link-phone .icon { color: var(--on-ink-accent); }
.footer__visit-hours { display: grid; gap: 2px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-ink-muted); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: #fff; font-weight: 600; font-size: 0.875rem; }
.footer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(1, 171, 238, 0.22); }
.footer__fine { margin-top: 10px; font-size: 0.875rem; color: var(--on-ink-muted); max-width: 36ch; }
.footer__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: var(--on-ink-muted);
}
.footer__meta a { color: var(--on-ink-muted); }
.footer__meta a:hover { color: #fff; }
.footer__affil { display: inline-flex; align-items: flex-start; gap: 8px; }
.footer__affil .icon { width: 18px; height: 18px; color: var(--on-ink-accent); flex: none; margin-top: 1px; }
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcol--brand { grid-column: 1 / -1; }
}
@media (min-width: 768px) { .footer { padding-top: 88px; } }
@media (min-width: 900px) and (max-width: 1199.98px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fcol--brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: start; }
  .fcol--brand > * { grid-column: 1; }
  .fcol--brand > .footer__rating { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-top: 0; }
  .fcol--brand > .footer__social { grid-column: 2; grid-row: 3; margin-top: 12px; }
}
@media (min-width: 1200px) {
  .footer__grid { grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.1fr) minmax(0, 1.6fr) minmax(0, 1.6fr) minmax(0, 2.4fr); gap: 40px; }
  .fcol--brand { grid-column: auto; }
}
/* Phones: Patients and Practice sit side by side; the rest take the full width. */
@media (max-width: 639.98px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .fcol--brand, .fcol--visit, .fcol--services { grid-column: 1 / -1; }
  .fcol--services .flinks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .fcol--services .flinks a { vertical-align: top; align-items: flex-start; padding-block: 12px; } /* a wrapped name starts level with its neighbour */
  .logo--footer .lockup { width: 200px; }
}

/* ==========================================================================================================
   5. Support for the existing page markup (home, about, patients, appointment, privacy, 404) until those pages are
      redesigned. Nothing new should be built on these classes.
   ========================================================================================================== */

/* ---------- Home hero ---------- */
.hero { position: relative; margin: 0 var(--panel-inset) var(--panel-inset); border-radius: 0 0 var(--r-panel) var(--r-panel); padding: var(--s-5) 0 var(--s-8); background: linear-gradient(180deg, #FFFFFF 4%, #F9FAFB 24%, var(--sky) 100%); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.16), rgba(1, 171, 238, 0)); }
.hero h1 { max-width: 13ch; }
.hero h1 em { display: block; margin-top: 0.04em; }
.hero .lede { max-width: 40ch; margin-top: var(--s-4); }
.hero__ctas { margin-top: var(--s-6); gap: var(--s-3); }
.hero__figure { position: relative; }
.hero .hero__photo { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__caption { display: none; }
.hero__badge { position: absolute; left: -18px; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-card); background: var(--glass); box-shadow: var(--shadow-float); }
.hero__badge-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em; }
.hero__badge-text { display: grid; gap: 2px; font-size: 0.875rem; line-height: 1.3; color: var(--muted); }
.hero__badge-text b { color: var(--ink); font-size: 0.9375rem; }
.hero__badge .stars { color: var(--star); }
.hero__name { position: absolute; right: 18px; top: 18px; z-index: 2; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow); font-size: 0.875rem; line-height: 1.3; color: var(--muted); }
.hero__name b { display: block; color: var(--ink); font-size: 0.9375rem; }
.hero__seal { position: absolute; left: -54px; top: 34%; z-index: 2; width: 124px; height: 124px; border-radius: 50%; background: var(--glass); box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255, 255, 255, 0.9); display: grid; place-items: center; }
.hero__seal svg.hero__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.hero__seal svg.hero__ring text { font-family: var(--display); font-size: 10.2px; font-weight: 700; letter-spacing: 0.16em; fill: var(--ink); text-transform: uppercase; }
.hero__seal img { width: 40px; height: 40px; }
@media (max-width: 1023.98px) { .hero__seal { display: none; } .hero__badge { left: 12px; bottom: 12px; } }
@media (max-width: 639.98px) { .hero__badge { left: 16px; bottom: 16px; } .hero__name { right: 16px; top: 16px; } }

/* The facts block under the home hero: four floating white cards. The status and hours lines are ink on white here
   (site.css gave them the white of the old blue block, which left them invisible on the white cards). */
.facts--accent { background: transparent; border: 0; gap: var(--s-3); box-shadow: none; padding: 0; color: var(--text); }
.facts--accent .fact, .facts--accent .fact:nth-child(n) { background: #fff; border: 1px solid var(--rule) !important; border-radius: var(--r-card); padding: var(--s-5); box-shadow: var(--shadow); color: var(--text); }
.facts--accent .fact dt { color: var(--muted); }
.facts--accent .fact dd, .facts--accent .fact dd a, .facts--accent .fact__status { color: var(--ink); }
.facts--accent .fact__status + *, .facts--accent .fact .fact__more, .facts--accent .fact dd.fact__more, .facts--accent .fact dd + dd { color: var(--muted); }
.facts--accent .fact .link-arrow { color: var(--accent); }
.facts--accent .fact .stars { color: var(--star); }
.facts--accent .fact::before, .facts--accent .fact::after { display: none; }
@media (min-width: 640px) { .facts--accent { display: grid; grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .facts--accent { grid-template-columns: repeat(4, 1fr); } .facts--accent .fact { grid-template-columns: 1fr; } .facts--accent .fact dt { grid-row: auto; } }
.facts--accent .fact { transition: transform 400ms var(--ease-lux), box-shadow 400ms var(--ease-lux); }
.facts--accent .fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- Start here ---------- */
.pain { background: var(--ink); color: var(--on-ink); border: 0; border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.pain::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.35), rgba(1, 171, 238, 0)); pointer-events: none; }
.pain .icon { color: var(--brand); }
.pain__title { color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.pain__line, .pain__note { color: #B9CCD7; }
.pain__list li { border-color: rgba(255, 255, 255, 0.14); color: var(--on-ink); }
.pain__safety { color: #fff; }
.pain__number { color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.pain:hover .pain__number { color: var(--brand); }
.routes { display: grid; gap: var(--s-3); border: 0; }
.routes > li { border: 0; }
.route { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-5); box-shadow: var(--shadow-sm); transition: transform 400ms var(--ease-lux), box-shadow 400ms var(--ease-lux), border-color 300ms ease; }
.route:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tint-2); }
.route .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--tint); color: var(--accent); flex: none; }
.route:hover .icon { background: var(--ink); color: #fff; }
.route__title { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
@media (min-width: 768px) { .routes { grid-template-columns: 1fr 1fr; } }

/* ---------- Numbered service index (home) ---------- */
.index__group { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.index__group h3 { font-size: 1.125rem; padding-bottom: var(--s-3); border-bottom: 1px solid var(--rule); }
.index__row { border-radius: 14px; border: 0; padding-inline: var(--s-3); margin-inline: calc(-1 * var(--s-3)); transition: background-color 250ms ease, transform 350ms var(--ease-lux); }
.index__list > li { border: 0; }
.index__list > li + li { border-top: 1px solid var(--rule); }
.index__row:hover { background: var(--surface); }
.index__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--accent); font-family: var(--display); font-size: 0.875rem; font-weight: 700; }
.index__row:hover .index__num { background: var(--ink); color: #fff; }
.index__name { font-family: var(--display); font-weight: 650; color: var(--ink); }
.index__name::after { display: none; }
.index { gap: var(--s-4); }

/* ---------- Dentist and office features ---------- */
.dentist .feature__figure { position: relative; }
.dentist .feature__figure::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: var(--r-lg); background: var(--tint-2); z-index: -1; }
.dentist .photo { border-radius: var(--r-lg); }
@media (max-width: 767.98px) { .dentist .feature__figure::before { inset: 20px -10px -12px 20px; } }
.dentist { isolation: isolate; }
.dl-inline > div { border-color: var(--rule); }
.dl-inline dt { font-weight: 650; }
section[aria-labelledby="office-h"] { background: var(--surface); }
.figure-list li { border-color: var(--rule); }
.figure-list li:not(.figure-list__head) { position: relative; padding-left: 28px; }
.figure-list li:not(.figure-list__head)::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016D96' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
section[aria-labelledby="visit-h"] { background: var(--surface); }

/* ---------- Statement band (insurance) ---------- */
.band--statement { background: #fff; border: 0; }
.band--statement .band__grid { background: var(--tint); border-radius: var(--r-lg); padding: var(--s-7) var(--s-6); }
.band__statement { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }

/* ---------- Visiting, hours, the FAQ aside ---------- */
.visit .photo { border-radius: var(--r-lg); }
.visit__col--hours, .visit__col--know { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.aside { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: var(--s-6); border: 0; box-shadow: var(--shadow-lg); }
.aside h3 { color: #fff; }
.aside a, .aside .link-arrow { color: var(--on-ink-accent); }
.aside__phone { color: #fff !important; font-family: var(--display); font-weight: 750; letter-spacing: -0.02em; }
.aside .hours th, .aside .hours td { color: var(--on-ink); border-color: rgba(255, 255, 255, 0.14); }
.aside .muted { color: var(--on-ink-muted); }

/* ---------- The closing blue band: now an inset mint panel, like .cta-band ---------- */
.band--accent { background: transparent; padding-block: 24px; margin: var(--panel-inset); }
.band--accent > .wrap { background: var(--mint); color: var(--text); border-radius: var(--r-panel); padding: var(--s-7) var(--s-6); position: relative; overflow: hidden; isolation: isolate; }
.band--accent > .wrap::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); }
.band--accent > .wrap::after { content: ""; position: absolute; z-index: -1; right: 4%; bottom: -60px; width: 260px; height: 260px; background: url("/assets/img/brand/mark-mono.svg") center / contain no-repeat; opacity: 0.06; }
.band--accent h2, .band--accent .band__phone { color: var(--ink); }
.band--accent .lede, .band--accent p { color: var(--text); }
.band--accent .label { color: var(--ink); }
.band--accent .band__phone { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.band--accent .btn--inverted { background: var(--ink); color: #fff; border-color: var(--ink); }
.band--accent .btn--inverted:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.band--accent .link-arrow--band { color: var(--ink); }
.band--accent a:focus-visible, .band--accent :focus-visible { outline-color: var(--ink); }
@media (min-width: 1024px) { .band--accent { padding-block: 40px; } .band--accent > .wrap { padding: 80px 72px; max-width: calc(var(--wrap) + 2 * var(--gutter)); } }
@media (max-width: 767.98px) { .band--accent > .wrap { margin-inline: var(--gutter); width: auto; } }

/* ==========================================================================================================
   6. Motion
   Everything that moves is gated on html.motion (added by the head script only without a reduced-motion
   preference) inside prefers-reduced-motion: no-preference. The unanimated styles above are the finished state, so
   with reduced motion or without JavaScript every element shows settled. Load animations fill backwards only: once
   they finish, the element's own styles hold, so nothing can be left stuck at a start state (the cause of the home
   hero photo vanishing at 1440 wide in version 8, a clip-path keyframe with a rounded inset held by fill both).
   The vocabulary is the reference's, as measured (brief section 8): reveals fire once at about 15 percent in view
   (site.js), 650 ms on --ease-apex, siblings 100 ms apart, never a bounce. Section heads and hero text skew-slide in
   from the left; cards rise 60 px; photos zoom out from 1.15 inside their rounded frame; right-hand blocks slide in
   from the right; orbit rings and icon discs scale in from 0.8. The seal turns once every 10 s; orbit rings 50 to 90 s
   or a slow sway of 6 degrees. Only transform (and the individual rotate, scale and translate), opacity, clip-path and
   stroke-dashoffset move.
   ========================================================================================================== */
:root { --rise: 24px; --slide-x: 32px; }
@media (max-width: 767.98px) { :root { --rise: 16px; --slide-x: 0px; } }
/* 2026-11-03 tune-up: the headings used to skew-slide 60 to 160 px in from the left (clipped at the screen edge on
   phones) and blocks rose 48 to 60 px over 650 ms with up to 600 ms of stagger, so a fast scroll showed half-faded
   pages. Everything now rises a short distance, quicker, with a short stagger, and once a block has settled (.is-done,
   site.js) its reveal transition and delay are dropped so hovers answer at once. */

@media (prefers-reduced-motion: no-preference) {
  /* ---------- Reveals on scroll ----------
     [data-reveal] rises 48 px; ="rise" 60 px; ="skew" skew-slides from the left; ="right" slides from the right;
     ="scale" scales in from 0.8; ="zoom" zooms out from 1.15 (on an image inside a clipped, rounded box); ="fade". */
  html.motion [data-reveal]:not(.is-done) { transition: opacity var(--t-reveal) var(--ease-apex), transform var(--t-reveal) var(--ease-apex); }
  html.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(var(--rise)); }
  html.motion [data-reveal="right"]:not(.is-in) { transform: translateX(var(--slide-x)); }
  html.motion [data-reveal="scale"]:not(.is-in) { transform: scale(0.94); }
  html.motion [data-reveal="zoom"]:not(.is-in) { transform: scale(1.05); }
  html.motion [data-reveal="fade"]:not(.is-in) { transform: none; }
  html.motion [data-reveal-group] > [data-reveal]:not(.is-done):nth-child(2) { transition-delay: 60ms; }
  html.motion [data-reveal-group] > [data-reveal]:not(.is-done):nth-child(3) { transition-delay: 120ms; }
  html.motion [data-reveal-group] > [data-reveal]:not(.is-done):nth-child(n + 4) { transition-delay: 180ms; }

  /* Automatic reveals: site.js gives section heads (.head) .rv-skew, groups of cards (.svc-grid, .svc-list__rows,
     .card-grid, .review-grid, .feature-list) .rv-rise and orbit blocks (.orbit-photo, .anim-stage) .rv-orbit, unless
     they already sit inside a [data-reveal] block, so page builders get the vocabulary without extra attributes. */
  html.motion :is(.rv-skew, .rv-rise):not(.is-done) > * { transition: opacity var(--t-reveal) var(--ease-apex), transform var(--t-reveal) var(--ease-apex); }
  html.motion :is(.rv-skew, .rv-rise):not(.is-in) > * { opacity: 0; transform: translateY(var(--rise)); }
  html.motion :is(.rv-skew, .rv-rise):not(.is-done) > :nth-child(2) { transition-delay: 60ms; }
  html.motion :is(.rv-skew, .rv-rise):not(.is-done) > :nth-child(3) { transition-delay: 120ms; }
  html.motion :is(.rv-skew, .rv-rise):not(.is-done) > :nth-child(n + 4) { transition-delay: 180ms; }
  html.motion .rv-orbit:not(.is-done) :is(.orbit-photo__ring, .orbit-photo__node, .anim-stage__orbit) { transition: opacity 500ms var(--ease-apex), scale 600ms var(--ease-apex); }
  html.motion .rv-orbit:not(.is-in) :is(.orbit-photo__ring, .orbit-photo__node, .anim-stage__orbit) { opacity: 0; scale: 0.92; }
  html.motion .rv-orbit:not(.is-done) .orbit-photo__node:nth-child(2) { transition-delay: 100ms; }

  /* Photos zoom out from 1.15 inside their rounded frame as they come into view; the frame itself stays put. */
  html.motion .photo:not(.hero__photo) img { transition: opacity 500ms var(--ease-apex), transform 900ms var(--ease-apex); }
  html.motion .photo:not(.hero__photo):not(.is-in) img { opacity: 0; transform: scale(1.05); }
  html.motion:not(.ready) .photo:not(.is-in) img { animation: pw-safety 1ms linear 3s forwards; }

  /* ---------- Home hero load sequence (backwards fill only) ---------- */
  html.motion .hero h1 { animation: pw-skew-in 600ms var(--ease-apex) 90ms backwards; }
  html.motion .hero .lede { animation: pw-skew-in 600ms var(--ease-apex) 160ms backwards; }
  html.motion .hero__ctas { animation: pw-skew-in 600ms var(--ease-apex) 220ms backwards; }
  html.motion .hero__photo { animation: pw-rise 680ms var(--ease-apex) 120ms backwards; }
  html.motion .hero__photo img { animation: pw-zoom-out 1050ms var(--ease-apex) 120ms backwards; }
  html.motion .hero__badge { animation: pw-rise 600ms var(--ease-apex) 390ms backwards, pw-float 7s ease-in-out 2s infinite; }
  html.motion .hero__name { animation: pw-rise 600ms var(--ease-apex) 450ms backwards; }
  html.motion .hero__seal { animation: pw-scale-in 520ms var(--ease-apex) 360ms backwards; }
  html.motion .facts--accent { animation: none; }
  html.motion .facts--accent .fact { animation: pw-rise 800ms var(--ease-apex) backwards; }
  html.motion .facts--accent .fact:nth-child(1) { animation-delay: 650ms; }
  html.motion .facts--accent .fact:nth-child(2) { animation-delay: 750ms; }
  html.motion .facts--accent .fact:nth-child(3) { animation-delay: 850ms; }
  html.motion .facts--accent .fact:nth-child(4) { animation-delay: 950ms; }

  /* ---------- Inner page header load sequence ----------
     The crumbs fade; the tag, headline, lede and actions skew-slide in from the left 100 ms apart; the visual rises
     (a photo zooms out inside it, a stage's ring scales in) and its floating cards rise after it. */
  html.motion .pagehead .crumbs { animation: pw-fade 500ms var(--ease-apex) 30ms backwards; }
  html.motion .pagehead .tag { animation: pw-skew-in 520ms var(--ease-apex) 60ms backwards; }
  html.motion .pagehead h1 { animation: pw-skew-in 560ms var(--ease-apex) 120ms backwards; }
  html.motion .pagehead .lede { animation: pw-skew-in 560ms var(--ease-apex) 180ms backwards; }
  html.motion .pagehead__actions, html.motion .pagehead__note, html.motion .pagehead .chip-link { animation: pw-skew-in 560ms var(--ease-apex) 240ms backwards; }
  html.motion .pagehead__visual > :is(.photo, .anim-stage, .orbit-photo, .photo-card, .hub-stage) { animation: pw-rise 680ms var(--ease-apex) 150ms backwards; }
  html.motion .pagehead__visual :is(.photo, .photo-card__photo) img { animation: pw-zoom-out 1050ms var(--ease-apex) 150ms backwards; }
  html.motion .pagehead__visual .anim-stage__orbit { animation: pw-scale-in 600ms var(--ease-apex) 300ms backwards; }
  html.motion .pagehead__visual :is(.float-card, .seal, .photo-card__disc) { animation: pw-rise 600ms var(--ease-apex) 450ms backwards; }
  html.motion .pagehead__visual .float-card:nth-of-type(2) { animation-delay: 870ms; }
  html.motion .pagehead__visual .float-card:nth-of-type(3) { animation-delay: 990ms; }
  html.motion .pagehead__aside { animation: pw-fade 500ms var(--ease-apex) 240ms backwards; }

  /* Generic load helpers for page builders: data-load="rise|skew|pop|unveil|zoom|fade", delay with style="--ld: 300ms". */
  html.motion [data-load="rise"] { animation: pw-rise 600ms var(--ease-apex) var(--ld, 200ms) backwards; }
  html.motion [data-load="skew"] { animation: pw-skew-in 600ms var(--ease-apex) var(--ld, 200ms) backwards; }
  html.motion [data-load="pop"] { animation: pw-scale-in 550ms var(--ease-apex) var(--ld, 400ms) backwards; }
  html.motion [data-load="unveil"] { animation: pw-unveil 800ms var(--ease-apex) var(--ld, 200ms) backwards; }
  html.motion [data-load="zoom"] { animation: pw-zoom-out 1000ms var(--ease-apex) var(--ld, 200ms) backwards; }
  html.motion [data-load="fade"] { animation: pw-fade 500ms var(--ease-apex) var(--ld, 200ms) backwards; }

  /* Floating cards bob gently once they are in. */
  html.motion .float-card--float { animation: pw-rise 600ms var(--ease-apex) 480ms backwards, pw-float 7s ease-in-out 2s infinite; }

  /* ---------- Rotations and sways ----------
     The seal's text ring turns once every 10 s, linear (the mark stays still). Round rings turn slowly; the orbit
     ellipses sway 6 degrees either way (the individual rotate property, so it composes with their tilt). */
  html.motion .seal__ring, html.motion .hero__ring { animation: pw-spin 10s linear infinite; }
  /* Everything that keeps moving gets its own compositor layer up front, so it never repaints the page around it. */
  html.motion :is(.float-card, .seal__ring) { will-change: transform; }
  html.motion .is-off, html.motion .is-off *, html.motion .is-off::before, html.motion .is-off::after, html.motion .is-off *::before, html.motion .is-off *::after { animation-play-state: paused !important; }
  html.motion .orbit-photo__ring { animation: pw-sway-sm 14s ease-in-out infinite alternate; }
  html.motion .orbit-photo__ring::after { animation: pw-sway 17s ease-in-out -6s infinite alternate-reverse; }
  /* Round a photo the ring itself holds still (a moving ring would become a stacking context and hide its discs
     under the photo; see .orbit-photo above) and its first ellipse takes the sway. Low specificity, so a page's own
     load animation on the ring still wins. */
  html.motion :where(.orbit-photo:not(.orbit-photo--card):not(:has(> .anim-stage))) .orbit-photo__ring { animation: none; }
  html.motion :where(.orbit-photo:not(.orbit-photo--card):not(:has(> .anim-stage))) .orbit-photo__ring::before { animation: pw-sway-sm 14s ease-in-out infinite alternate; }
  

  /* ---------- Steps: the connector draws, the cards rise, then each disc fills in turn ---------- */
  html.motion .steps::before { transition: transform 1000ms var(--ease-io) 100ms; }
  html.motion .steps:not(.is-in)::before { transform: scaleY(0); }
  html.motion .steps:not(.is-done) > .step { transition: opacity var(--t-reveal) var(--ease-apex), transform var(--t-reveal) var(--ease-apex); }
  html.motion .steps:not(.is-in) > .step { opacity: 0; transform: translateY(var(--rise)); }
  html.motion .steps:not(.is-done) > .step:nth-child(2) { transition-delay: 60ms; }
  html.motion .steps:not(.is-done) > .step:nth-child(3) { transition-delay: 120ms; }
  html.motion .steps:not(.is-done) > .step:nth-child(n + 4) { transition-delay: 180ms; }
  html.motion .step::before { transition: background-color 500ms ease, color 500ms ease, border-color 500ms ease, transform 600ms var(--ease-apex); }
  html.motion .steps:not(.is-in) .step::before { background: #fff; color: var(--ink); border-color: var(--rule); transform: scale(0.86); }
  html.motion .steps .step:nth-child(2)::before { transition-delay: 200ms; }
  html.motion .steps .step:nth-child(3)::before { transition-delay: 400ms; }
  html.motion .steps .step:nth-child(4)::before { transition-delay: 600ms; }
  html.motion .steps .step:nth-child(5)::before { transition-delay: 800ms; }
  html.motion .steps .step:nth-child(6)::before { transition-delay: 1000ms; }
  @media (min-width: 1024px) { html.motion .steps:not(.is-in)::before { transform: scaleX(0); } }
  html.motion:not(.ready) .steps::before { animation: pw-safety 1ms linear 3s forwards; }

  /* ---------- Hover ----------
     The pill: the label rolls, the arrow flies through the disc, the shine sweeps (about 450 ms, ease-in-out; the
     shine only sweeps forward). Cards lift 4 px; the service card turns mint (above), its photo zooms to 1.05 and its
     disc lifts 4 px; arrows nudge. */
  html.motion .btn__roll > span { transition: transform 450ms var(--ease-apex); }
  html.motion .btn:hover .btn__roll > span:first-child { transform: translateY(-115%); }
  html.motion .btn:hover .btn__roll > span + span { transform: none; }
  html.motion .btn--lg::after { transition: background-position 450ms var(--ease-apex); }
  html.motion :is(.btn--primary, .btn--light).btn--lg:hover::after { background-position: calc(50% + 34px) calc(50% - 34px), center; }
  html.motion :is(.btn--primary, .btn--light, .btn--ghost, .btn--soft):hover::before { transform: translateX(360%) skewX(-20deg); transition: transform 650ms var(--ease-apex); }
  html.motion .card--link:hover { transform: translateY(-4px); }
  html.motion .card--link img, html.motion .svc-card__stage img { transition: transform 600ms var(--ease-apex); }
  html.motion .card--link:hover img, html.motion .svc-card:hover .svc-card__stage img { transform: scale(1.05); }
  html.motion .svc-card:hover .svc-card__disc { transform: translateY(-4px); }
  html.motion .card__more .icon, html.motion .svc-card__more .icon, html.motion .link-arrow .icon, html.motion .chip-link__ico .icon { transition: transform 300ms var(--ease-apex); }
  html.motion .card--link:hover .card__more .icon, html.motion .svc-card:hover .svc-card__more .icon, html.motion .link-arrow:hover .icon { transform: translateX(4px); }
  html.motion .link-arrow--out:hover .icon { transform: translate(2px, -2px); }
  html.motion .chip-link:hover .chip-link__ico .icon { transform: translateY(2px); }
  html.motion .photo img { transition: transform 1100ms var(--ease-apex), opacity 700ms var(--ease-apex); }
  html.motion .feature__figure:hover .photo img, html.motion .visit__figure:hover .photo img { transform: scale(1.04); }
  @media (min-width: 1024px) {
    html.motion .svc-card--row:hover .svc-card__stage img { transform: none; }
    html.motion .svc-card--row:hover .svc-card__disc { transform: none; }
    html.motion .svc-card--row:hover .svc-card__more .icon { transform: none; }
    html.motion .svc-list__item.is-active .svc-card__media img { animation: pw-zoom-soft 900ms var(--ease-apex) backwards; }
  }

  /* FAQ: smooth height where ::details-content and interpolate-size exist; elsewhere it opens at once. */
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    html.motion .faq__item { interpolate-size: allow-keywords; }
    html.motion .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 380ms var(--ease-apex), content-visibility 380ms allow-discrete; }
    html.motion .faq__item[open]::details-content { block-size: auto; }
  }


  /* Header menus */
  html.motion .menu__group > summary::after { transition: transform 300ms var(--ease-apex), background-color var(--t-ui) ease; }

  @keyframes pw-skew-in { from { opacity: 0; transform: translateY(var(--rise)); } to { opacity: 1; transform: none; } } /* name kept; no skew since 2026-11-03 */
  @keyframes pw-rise { from { opacity: 0; transform: translateY(var(--rise)); } to { opacity: 1; transform: none; } }
  @keyframes pw-lux-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
  @keyframes pw-unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes pw-zoom-out { from { transform: scale(1.06); } to { transform: none; } }
  @keyframes pw-zoom-soft { from { transform: scale(1.06); } to { transform: none; } }
  @keyframes pw-scale-in { from { opacity: 0; scale: 0.92; } to { opacity: 1; scale: 1; } }
  @keyframes pw-pop { from { opacity: 0; scale: 0.8; } to { opacity: 1; scale: 1; } }
  /* translate, not transform: these cards also rise in on transform, and two transform animations on one element
     kept the browser restyling it on every frame (2026-11-04). */
  @keyframes pw-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
  @keyframes pw-spin { to { transform: rotate(360deg); } }
  @keyframes pw-sway { from { rotate: -6deg; } to { rotate: 6deg; } }
  @keyframes pw-sway-sm { from { rotate: -4deg; } to { rotate: 4deg; } }
  @keyframes pw-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes pw-drift { from { transform: scale(1.1) translateY(-4%); } to { transform: scale(1.1) translateY(4%); } }
  @keyframes pw-safety { to { opacity: 1; transform: none; clip-path: inset(0); filter: none; scale: 1; } }
}
/* "Accepting new patients": a mint pill with a live green dot (the hero), or bare text with the dot (the utility bar). */
.accepting { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--ink); font-size: 0.9375rem; font-weight: 650; line-height: 1.2; }
.accepting--bare { padding: 0; background: none; font-size: inherit; font-weight: 600; color: var(--ink); }
.accepting__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 0 3px rgba(31, 157, 107, 0.18); }
.accepting--lg { gap: 12px; padding: 10px 20px 10px 14px; font-size: 1.0625rem; font-weight: 700; box-shadow: 0 0 0 1px rgba(31, 157, 107, 0.22); }
.accepting--lg .accepting__dot { width: 10px; height: 10px; box-shadow: 0 0 0 4px rgba(31, 157, 107, 0.18); }
.cta-band .cta-band__accepting { margin-top: 22px; background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  html.motion .accepting__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1f9d6b; animation: pw-accepting 2.4s var(--ease-io, ease-in-out) infinite; }
  @keyframes pw-accepting { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
}
/* A service animation that has scrolled off screen holds where it is (site.js) and carries on from there when it comes
   back. */
html.motion .anim.is-paused, html.motion .anim.is-paused * { animation-play-state: paused !important; }
/* The service list's hidden previews hold still, so only the preview on show plays. */
@media (min-width: 1024px) {
  html.ready .svc-list__item:not(.is-active) .svc-card__media * { animation-play-state: paused !important; }
}

@media (prefers-reduced-motion: reduce) {
  .pagehead::before, .pagehead::after, .anim-stage__orbit, .seal__ring, .hero__ring, .orbit-photo__ring, .orbit-photo__ring::before, .orbit-photo__ring::after, .cta-band__orbit { animation: none !important; }
  .steps::before, .step::before { transform: none !important; transition: none !important; }
  .photo img { transform: none !important; opacity: 1 !important; }
  .faq__q::after, .svc-card--row .svc-card__media, .svc-card__disc, .svc-card--row .svc-card__body { transition: none !important; }
}
@media print {
  .pagehead::before, .pagehead::after, .cta-band::before, .cta-band::after, .footer::before, .footer::after { display: none; }
  .pnav__panel { display: none; }
  .section, .pagehead, .footer, .cta-section { margin: 0; border-radius: 0; }
  .footer { background: none; color: #000; }
  .footer * { color: #000 !important; }
  .footer .lockup .wm-parkwest { fill: var(--ink); } /* white on screen, so it vanished on paper */
  /* Print what every section settles to. Printing does not scroll, so reveals below the fold never fire (site.js
     settles them on beforeprint); these cover a print made without that event. */
  .rv-skew:not(.is-in) > *, .rv-rise:not(.is-in) > *, .steps:not(.is-in) > .step, .photo:not(.is-in) img { opacity: 1 !important; transform: none !important; }
  .rv-orbit:not(.is-in) :is(.orbit-photo__ring, .orbit-photo__node, .anim-stage__orbit) { opacity: 1 !important; scale: none !important; }
  .steps:not(.is-in)::before { transform: none !important; }
  .rv-skew > *, .rv-rise > *, .rv-orbit *, .steps, .steps > .step, .photo img, [data-reveal], [data-reveal] * { transition: none !important; }
}
/* On a portrait page the head is one column; as a grid, Chromium would not break it across pages and left page 1 blank. */
@media print and (max-width: 767.98px) { .pagehead__in { display: block; } }
