/* Amigo Animal Hospital: the one shared stylesheet.
   Palette, type and motion are PROPOSED on the mood board (2026-10-22) and not yet signed off. */
:root {
  /* Color: navy + sky sampled from the logo; the rest extend it */
  --navy: #001f5b;
  --sky: #0792d2;
  --mist: #dceff9;
  --cream: #fbf6ec;
  --sand: #ebdcc3;
  --ink: #0e1a33;
  /* Text-safe variants (WCAG AA 4.5:1 on cream, white and mist) */
  --sky-text: #05699a;
  --muted: #5b6478;
  /* Darker text for the Mist brick texture: its lines darken the background, so small text needs more weight */
  /* Marigold (from the mood board) is back for one job only: the filled rating stars */
  --marigold: #f2b33d;
  --sky-text-deep: #034e74;
  --muted-deep: #2c3854;
  --closed: #6d675c;
  --paper: var(--cream);

  /* Type */
  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion (proposed): unhurried, long ease-out, small rises, nothing bounces */
  --dur-quick: 280ms;
  --dur-base: 600ms;
  --dur-slow: 900ms;
  --stagger: 140ms;
  --rise: 14px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Space: 8px base */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Depth: one soft, navy-tinted system for the whole site (Leticia, 2026-10-28): buttons, cards, photos */
  --shadow-btn: 0 1px 2px rgba(0, 31, 91, .14), 0 8px 16px -8px rgba(0, 31, 91, .45);
  --shadow-btn-hover: 0 2px 4px rgba(0, 31, 91, .14), 0 14px 24px -10px rgba(0, 31, 91, .5);
  --shadow-btn-dark: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 20px -10px rgba(0, 0, 0, .6);
  --shadow-img: 0 2px 6px rgba(0, 31, 91, .08), 0 26px 50px -26px rgba(0, 31, 91, .5);
  --shadow-card: 0 0 0 1px rgba(0, 31, 91, .05), 0 2px 4px rgba(0, 31, 91, .05), 0 18px 36px -22px rgba(0, 31, 91, .38);
  --shadow-card-hover: 0 0 0 1px rgba(0, 31, 91, .05), 0 4px 8px rgba(0, 31, 91, .06), 0 26px 48px -24px rgba(0, 31, 91, .48);
  --shadow-img-dark: 0 2px 6px rgba(0, 0, 0, .2), 0 30px 60px -28px rgba(0, 0, 0, .7);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --header-h: 92px;

  /* Type scale (fluid) */
  --t-display: clamp(40px, 5.6vw, 76px);
  --t-h2: clamp(28px, 3.2vw, 42px);
  --t-h3: clamp(20px, 1.8vw, 24px);
  --t-lede: clamp(18px, 1.5vw, 21px);
  --t-body: 17px;
  --t-small: 14px;
  --t-label: 12.5px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 var(--t-body)/1.6 var(--font-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--navy); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
/* Text for screen readers only */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Hero video pause/play (WCAG 2.2.2: moving content longer than 5s needs a pause) */
.video-toggle { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: rgba(0, 31, 91, .78); color: #fff; font: 600 13.5px/1 var(--font-body); cursor: pointer; box-shadow: var(--shadow-btn-dark); transition: background-color var(--dur-quick) var(--ease-out); }
.video-toggle:hover { background: var(--navy); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.no-js .video-toggle { display: none; }
/* Required form fields */
.req { color: #a8321e; margin-left: 2px; }
.form-req-note { font-size: 14px; color: var(--muted); }
a { color: var(--navy); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 600 var(--t-label)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-text); margin: 0 0 18px; }
.lede { font-size: var(--t-lede); line-height: 1.55; color: #33405c; max-width: 52ch; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- Icons: Tabler outline, 1.5 stroke, one sky detail ---------- */
.ico, .info-card__icon, .c-after__icon, .social svg, .text-link svg, .sub-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg .accent { stroke: var(--sky); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons. Hover: fill shifts to Sky and lifts 2px. ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 12px; font: 600 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--sky); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: var(--sky); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

/* Text links: a sky underline that draws in from the left */
.text-link { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: none; padding-bottom: 3px; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.text-link:hover::after, .c-map__card:hover .text-link::after { transform: scaleX(1); }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Top bar: address, open-now, phone, social. Scrolls away; the header below stays. ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); min-height: 40px; display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; min-height: 24px; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar a.topbar__item:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Social icons: Font Awesome Free brand glyphs (square set, CC BY 4.0 — fontawesome.com/license/free), sized and pixel-snapped so they stay crisp */
.topbar svg.ico-solid, .social svg.ico-solid { fill: currentColor; stroke: none; shape-rendering: geometricPrecision; display: block; }
.social svg.ico-solid { width: 22px; height: 22px; }
.topbar svg.ico-solid { width: 18px; height: 18px; }
.social a, .topbar__social a { will-change: auto; }

.topbar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.topbar__status .status__dot { width: 8px; height: 8px; border-radius: 3px; background: var(--sky); }
.topbar__status.is-closed .status__dot { background: var(--sand); }
.topbar__phone { font-weight: 600; color: #fff; }
.topbar__status { margin-left: auto; }
.topbar__social { display: flex; gap: 2px; list-style: none; margin: 0 0 0 4px; padding: 0 0 0 14px; border-left: 1px solid rgba(255,255,255,.2); }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: rgba(255,255,255,.8); transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out); }
.topbar__social a:hover { background: var(--sky); color: #fff; }
/* Star rating: 1–3 → private feedback form, 4–5 → Google review. Hover/focus fills up to that star. */
.topbar__rate { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
:is(.topbar__rate, .foot-rate) .stars { display: inline-flex; }
:is(.topbar__rate, .foot-rate) .stars a { display: grid; place-items: center; width: 26px; height: 28px; border-radius: 6px; color: rgba(255,255,255,.85); }
.topbar .topbar__rate svg { width: 18px; height: 18px; stroke-width: 1.6; transition: fill var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out); }
:is(.topbar__rate, .foot-rate) .stars:hover a, :is(.topbar__rate, .foot-rate) .stars:focus-within a { color: var(--marigold); }
:is(.topbar__rate, .foot-rate) .stars:hover svg, :is(.topbar__rate, .foot-rate) .stars:focus-within svg { fill: var(--marigold); }
:is(.topbar__rate, .foot-rate) .stars a:hover ~ a svg, :is(.topbar__rate, .foot-rate) .stars a:focus ~ a svg { fill: none; }
:is(.topbar__rate, .foot-rate) .stars a:hover ~ a, :is(.topbar__rate, .foot-rate) .stars a:focus ~ a { color: rgba(255,255,255,.85); }
:is(.topbar__rate, .foot-rate) .stars a:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
@media (max-width: 1100px) { .topbar__addr { display: none; } }
@media (max-width: 860px) { .topbar__social { display: none; } }
@media (max-width: 760px) { .topbar__inner { flex-wrap: wrap; row-gap: 0; } .topbar__phone { margin-left: auto; } .topbar__status { order: 3; width: 100%; justify-content: center; margin: 0; padding: 4px 0 6px; border-top: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 420px) { .topbar__rate-label { display: none; } }
@media (max-width: 420px) { .topbar__inner { gap: 12px; font-size: 12.5px; padding-block: 6px; } .topbar__status { white-space: normal; line-height: 1.3; min-width: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid transparent; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); view-transition-name: site-header; }
.site-header.is-scrolled { border-color: var(--sand); box-shadow: 0 6px 24px -18px rgba(0, 31, 91, .5); }
.site-header__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); min-height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.site-header__logo img { width: clamp(180px, 16.4vw, 230px); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; display: flex; align-items: center; }
.site-nav__link { position: relative; display: block; padding: 10px 10px; font-weight: 500; font-size: 15.5px; color: var(--navy); text-decoration: none; }
.site-nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.has-sub > .site-nav__link { padding-right: 2px; }
.has-sub > .site-nav__link::after { right: 2px; }
.sub-toggle { display: grid; place-items: center; width: 28px; height: 40px; margin-left: 0; border-radius: 8px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform var(--dur-quick) var(--ease-out); }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(0, 31, 91, .45), 0 0 0 1px rgba(0, 31, 91, .06); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity var(--dur-quick) var(--ease-out), translate var(--dur-quick) var(--ease-out), visibility 0s var(--dur-quick); }
.sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.has-sub.is-open > .sub-toggle svg, .has-sub:hover > .sub-toggle svg { transform: rotate(180deg); }
.sub a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-size: 15px; transition: background-color var(--dur-quick) var(--ease-out); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--mist); }
.sub__child a { padding-left: 26px; font-size: 14px; color: var(--navy); }
.site-nav__actions { display: flex; gap: 10px; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .site-nav__actions .btn--ghost { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--navy); border-radius: 12px; background: transparent; color: var(--navy); font: 600 15px var(--font-body); cursor: pointer; }
  .nav-toggle__bars { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; flex-direction: column; align-items: stretch; gap: 24px; margin: 0; padding: 20px var(--gutter) 40px; background: var(--cream); overflow-y: auto; }
  .js .site-nav { visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity var(--dur-base) var(--ease-out), translate var(--dur-base) var(--ease-out), visibility 0s var(--dur-base); }
  .js.nav-open .site-nav { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .no-js .site-nav { position: static; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--sand); }
  .site-nav__link { flex: 1; padding: 16px 0; font: 400 24px/1.2 var(--font-display); }
  .site-nav__link::after { left: 0; right: auto; width: 2.2em; bottom: 10px; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; background: transparent; padding: 0 0 12px; opacity: 1; visibility: visible; translate: none; display: none; }
  .has-sub.is-open > .sub, .no-js .sub { display: block; }
  .has-sub:hover > .sub-toggle svg { transform: none; }
  .has-sub.is-open > .sub-toggle svg { transform: rotate(180deg); }
  .site-nav__actions { flex-direction: column; }
  .site-nav__actions .btn { min-height: 56px; font-size: 16px; }
  .site-nav__actions .btn--ghost { display: inline-flex; }
  .nav-open body { overflow: hidden; }
}
@media (max-width: 420px) { .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); margin-top: clamp(64px, 9vw, 128px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mist); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .btn--light { color: var(--navy); }
.site-footer .btn--light:hover { color: #fff; text-decoration: none; }
.site-footer .social a:hover { color: #fff; }
.site-footer__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter); display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.site-footer__brand img { width: 205px; }
.site-footer__tagline { font: 400 22px/1.2 var(--font-display); color: var(--cream); margin: 14px 0 22px; }
.site-footer__head { font: 600 var(--t-label)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); opacity: .75; margin: 6px 0 18px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bar { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 22px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--t-small); }
.site-footer__credit { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__de { display: inline-flex; align-items: center; padding: 6px 0; opacity: .9; transition: opacity var(--dur-quick) var(--ease-out); }
.site-footer__de:hover { opacity: 1; }
.site-footer__de img { height: 15px; width: auto; display: block; }
.social { display: flex; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); transition: background-color var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out); }
.social a:hover { background: var(--sky); border-color: var(--sky); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.social--ink a { border-color: var(--sand); color: var(--navy); }
.social--ink a:hover { color: #fff; }
.hours { margin: 0; display: grid; gap: 2px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours--compact > div { padding: 3px 0; }
@media (max-width: 1100px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Shape language ---------- */
/* The arch: a doorway, the practice's front door. Top fully round, bottom soft. */
.arch-frame { position: relative; overflow: hidden; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: var(--mist); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Mist-painted brick: the white brick texture multiplied onto Mist */
.brick { background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; }

/* ---------- Reveals: fail open (hidden only once JS has run) ---------- */
.reveal { transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .reveal:not(.is-in) { opacity: 0; translate: 0 var(--rise); }

/* ---------- Contact page ---------- */
.page-contact main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* Open-now status chip (text set by site.js; fails open to the week's hours) */
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 14px; border-radius: 10px; background: var(--mist); color: var(--navy); font-weight: 600; font-size: 15px; }
.status__dot { width: 9px; height: 9px; border-radius: 3px; background: var(--sky); }
.status.is-closed { background: #fff; box-shadow: inset 0 0 0 1px var(--sand); }
.status.is-closed .status__dot { background: #b9ad97; }

/* Full-bleed sections inside the centered main column */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
body { overflow-x: clip; }

/* ---------- Home hero: The Doorway ---------- */
/* Centered on the Mist-painted brick wall; the video plays inside a wide arch that opens upward. */
.page-home main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.h-door { background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; padding: clamp(40px, 6vw, 88px) var(--gutter) 0; text-align: center; overflow: hidden; }
.h-door__text { max-width: 820px; margin: 0 auto; display: grid; justify-items: center; }
.h-door h1 { font-size: var(--t-display); margin-bottom: 20px; }
.h-door .lede { margin: 0 auto; }
.h-door__lede2 { margin-top: 10px !important; font-size: 17px; color: #4a5670; }
.h-door .status { background: #fff; }
.h-door__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.h-door__arch { position: relative; width: min(980px, 100%); margin: clamp(36px, 5vw, 64px) auto 0; aspect-ratio: 16 / 9; border-radius: 999px 999px 0 0; overflow: clip; background: var(--navy); }
.h-door__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.js .h-door__video { animation: door-open var(--dur-slow) var(--ease-out) 150ms both; }
@keyframes door-open { from { clip-path: inset(30% 0 0 0); scale: 1.08; } to { clip-path: inset(0); scale: 1; } }
@media (max-width: 620px) { .h-door__actions .btn { width: 100%; } .h-door__arch { aspect-ratio: 4 / 3.4; } }
/* .h-door--still: the same Doorway hero with a plain arch and no scroll animation (team and interior pages). */
/* Scroll: the doorway opens all the way. The arch pins under the header and its clip grows from the
   980px doorway to the full width of the screen, the round top flattening, while the beach drifts up.
   Tied to scroll position (sticky + a view timeline, no hijacking). Unsupported browsers, phones and
   reduced motion keep the plain arch. */
@supports (animation-timeline: view()) {
  @media (min-width: 761px) {
    .h-door:not(.h-door--still) { overflow: clip; --door-h: clamp(420px, min(calc(100svh - var(--header-h)), 62vw), 900px); }
    .h-door__stage { height: calc(var(--door-h) + 85vh); margin: clamp(36px, 5vw, 64px) calc(-1 * var(--gutter)) 0; view-timeline: --door block; }
    .h-door:not(.h-door--still) .h-door__arch { position: sticky; top: var(--header-h); width: 100%; height: var(--door-h); margin: 0; aspect-ratio: auto; border-radius: 0;
      clip-path: inset(0 max(var(--gutter), calc((100% - 980px) / 2)) 0 max(var(--gutter), calc((100% - 980px) / 2)) round 999px 999px 0 0);
      animation: door-expand linear both; animation-timeline: --door; animation-range: contain 0% contain 75%; }
    @keyframes door-expand { to { clip-path: inset(0 0 0 0 round 0 0 0 0); } }
    /* Pause button sits in the bottom-right corner of the starting (980px) arch, so it is never clipped while the door widens */
    .h-door:not(.h-door--still) .video-toggle { right: calc(max(var(--gutter), calc((100% - 980px) / 2)) + 18px); }
    .h-door:not(.h-door--still) .h-door__video { height: 114%; }
    .js .h-door:not(.h-door--still) .h-door__video { animation: door-open var(--dur-slow) var(--ease-out) 150ms both, door-drift linear both; animation-timeline: auto, --door; animation-range: normal, contain 0% contain 100%; }
    @keyframes door-drift { from { translate: 0 0; } to { translate: 0 -10%; } }
  }
}


/* ---------- Homepage sections ---------- */
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.section-gap { margin-top: clamp(72px, 9vw, 136px); }
.page-home main h2 { font-size: var(--t-h2); margin-bottom: 18px; }
.page-home main p + p { margin-top: 14px; }

/* Pull quote: Young Serif, a Sky quote mark, attribution in small caps */
.quote { margin: 30px 0 26px; padding: 0; }
.quote__mark { width: 34px; height: 34px; fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 400 clamp(20px, 1.9vw, 25px)/1.4 var(--font-display); color: var(--navy); max-width: 34ch; }
.quote figcaption { margin-top: 12px; font: 600 var(--t-label)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Photo still owed: a designed placeholder, never a stock face */
.photo-owed { display: grid; place-items: center; align-content: center; gap: 16px; background: var(--navy); color: var(--mist); text-align: center; padding: 24px; }
.photo-owed__mark { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.photo-owed__label { font: 600 var(--t-label)/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; max-width: 22ch; }

/* It runs in the family */
.family { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(72px, 9vw, 136px); }
.family__media { position: relative; padding-bottom: 56px; }
.family__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; }
.family__inset { position: absolute; right: -6%; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border-radius: 22%; overflow: hidden; border: 8px solid var(--cream); }
.family__inset img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; }
.family__text > p { color: #33405c; max-width: 58ch; }

/* Old-school heart meets modern medicine */
.care { margin-top: clamp(72px, 9vw, 136px); }
.care__intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.care__text > p { color: #33405c; max-width: 60ch; }
.care__photo { aspect-ratio: 16 / 10; border-radius: 18%; overflow: hidden; }
.care__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 45%; }
.care__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(36px, 4vw, 56px); }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 30px); padding-bottom: 64px; background: #fff; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.svc-card:hover { transform: translateY(-4px); background: var(--mist); }
.svc-card__icon { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: var(--t-h3); }
.svc-card p { font-size: 15.5px; color: #4a5670; }
.svc-card__go { position: absolute; left: clamp(22px, 2.4vw, 30px); bottom: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mist); color: var(--navy); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), translate var(--dur-base) var(--ease-out); }
.svc-card__go svg, .text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card:hover .svc-card__go { background: var(--navy); color: #fff; translate: 4px 0; }
.care__more { margin-top: 32px; text-align: center; }

/* BOAS: back on the Mist brick wall */
.boas { margin-top: clamp(72px, 9vw, 136px); background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; padding: clamp(56px, 7vw, 112px) var(--gutter); }
.boas__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.boas__text > p:not(.eyebrow) { color: #33405c; max-width: 56ch; }
.boas__text .btn { margin-top: 28px; }
.boas__media { position: relative; }
.boas__arch { aspect-ratio: 5 / 4; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; }
.boas__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.quote--card { position: relative; margin: -64px 0 0 auto; width: min(88%, 460px); background: var(--cream); border-radius: var(--radius-lg); padding: 24px 26px; }
.quote--card blockquote p { font-size: clamp(18px, 1.6vw, 21px); }

/* FAQ: sticky heading + photo, accordion answers */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: clamp(72px, 9vw, 136px); }
.faq__side { position: sticky; top: calc(var(--header-h) + 24px); padding-top: 9px; }
/* The heading's baseline sits on the first question's baseline */
.faq__photo { margin-top: 28px; width: 100%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.faq__item { border-bottom: 1px solid var(--sand); }
.faq__item:first-child { border-top: 1px solid var(--sand); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: var(--t-h3); transition: color var(--dur-quick) var(--ease-out); }
.faq__item summary:hover h3 { color: var(--sky-text); }
.faq__chev { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--mist); fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(180deg); background: var(--navy); stroke: #fff; }
.faq__a { padding: 0 54px 24px 0; color: #33405c; }
.faq__a ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.faq__a a { color: var(--navy); }
.faq__more { margin-top: 28px; }

/* Come meet your people */
.meet { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(72px, 9vw, 136px); padding: clamp(32px, 5vw, 72px); border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.85); overflow: hidden; }
.meet h2 { color: #fff; font-size: var(--t-display) !important; }
.meet__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meet__addr { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-style: normal; line-height: 1.7; }
.meet__addr strong { color: #fff; }
.meet__addr a { color: #fff; text-decoration: none; }
.meet__addr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meet__arch { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; }
.meet__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (max-width: 960px) {
  .family, .care__intro, .boas__inner, .faq, .meet { grid-template-columns: 1fr; }
  .family__media { max-width: 520px; }
  .care__cards { grid-template-columns: 1fr 1fr; }
  .faq__side { position: static; padding-top: 0; }
  .faq__photo { display: none; }
  .meet__arch { max-width: 320px; aspect-ratio: 1; }
}
@media (max-width: 620px) {
  .care__cards { grid-template-columns: 1fr; }
  .family__inset { right: 0; width: 56%; }
  .quote--card { width: 94%; }
  .meet__actions .btn { width: 100%; }
  .faq__a { padding-right: 0; }
}

/* ---------- Team page ---------- */
.page-team main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.page-team main h2 { font-size: var(--t-h2); margin-bottom: 18px; }
.page-team main p + p { margin-top: 14px; }
.h-door--still h1 { margin-bottom: 4px; }
/* Section titles on the team page: centered, with a short Sky rule */
.team-group { margin-top: clamp(72px, 9vw, 128px); }
.page-team main .section-title { text-align: center; font-size: clamp(32px, 3.8vw, 52px); margin: 0 auto; }
.section-title::after { content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0; border-radius: 2px; background: var(--sky); }
.team-group > .owner:first-of-type { margin-top: clamp(40px, 5vw, 64px); }
.page-team main .team > .section-title { margin-bottom: clamp(40px, 5vw, 64px); }
.person-name { font-size: var(--t-h2); margin-bottom: 18px; }
/* Portrait placeholders: the doorway arch with initials until real photos arrive */
.team-photo, .owner__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-img); }
.team-photo--photo, .owner__arch--photo { background: var(--mist); }
.team-photo--photo img, .owner__arch--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.team-photo__initials { font: 400 clamp(44px, 5vw, 72px)/1 var(--font-display); color: var(--cream); letter-spacing: .02em; }
.owner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: clamp(72px, 9vw, 136px); }
.owner__media { position: sticky; top: calc(var(--header-h) + 24px); }
.owner--reverse { grid-template-columns: 1.2fr .8fr; align-items: center; }
.owner--reverse .owner__media { position: static; }
.owner--reverse .owner__arch img { object-position: 55% 30%; }
.owner__arch .team-photo__initials { font-size: clamp(64px, 8vw, 112px); }
.owner__text > p:not(.eyebrow) { color: #33405c; max-width: 62ch; }
.owner__sign { font: 400 clamp(20px, 1.9vw, 24px)/1.4 var(--font-display); color: var(--navy) !important; margin-top: 18px !important; }
.team { margin-top: clamp(72px, 9vw, 136px); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
/* Cards 10% wider than the content column allows (Leticia, 2026-10-29): the grid reaches past the column, centered, with tighter gaps */
@media (min-width: 1101px) {
  .team__grid { gap: 18px; grid-template-columns: repeat(3, minmax(0, 497px)); justify-content: center; width: min(calc(3 * 497px + 36px), calc(100vw - 2 * var(--gutter))); margin-left: 50%; translate: -50% 0; }
}
.team-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(16px, 1.6vw, 20px) clamp(16px, 1.6vw, 20px) 22px; box-shadow: var(--shadow-card); }
.team-card__name { font-size: var(--t-h3); margin-top: 18px; }
.team-card__title { margin-top: 4px; font: 600 var(--t-label)/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-text); }
/* Read bio: native details, so the bio is in the page for everyone and opens without JS */
.bio { margin-top: 16px; border-top: 1px solid var(--sand); }
.bio summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 2px; cursor: pointer; font-weight: 600; color: var(--navy); }
.bio summary::-webkit-details-marker { display: none; }
.bio summary:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sky); }
.bio__chev { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--mist); fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out); }
.bio[open] .bio__chev { transform: rotate(180deg); background: var(--navy); stroke: #fff; }
.bio__text { padding-top: 10px; font-size: 15.5px; color: #33405c; }
.bio__text p + p { margin-top: 12px; }
.bio--inline { margin: 22px 0 6px; max-width: 62ch; }
.bio--inline .bio__text { font-size: inherit; }
.bio-preview { margin-top: 14px; font-size: 15.5px; color: #33405c; }
.bio-preview p + p { margin-top: 12px !important; }
/* Collapsed (only once JS runs): first paragraph clamped to four lines, the rest hidden. Without JS the whole bio shows. */
.js .bio-preview:not(.is-open) p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.js .bio-preview:not(.is-open) p:not(:first-child) { display: none; }
.bio-toggle { display: none; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 0; min-height: 40px; border: 0; background: none; font: 600 15px/1 var(--font-body); color: var(--navy); cursor: pointer; }
.js .bio-toggle { display: inline-flex; }
.bio-toggle:hover [data-bio-label] { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sky); }
.bio-toggle svg { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--mist); fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out); }
.bio-toggle[aria-expanded="true"] svg { transform: rotate(180deg); background: var(--navy); stroke: #fff; }
.team__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 1100px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .owner, .owner--reverse { grid-template-columns: 1fr; } .owner__media { position: static; max-width: 380px; } .owner--reverse .owner__media { order: -1; } }
@media (max-width: 560px) { .team__grid { grid-template-columns: 1fr; } .team-photo { max-width: 320px; } .team__cta .btn { width: 100%; } }

/* ---------- Contact hero: The Postcard ---------- */
/* Full-bleed photo; a full-width cream card settles onto its lower edge with today's status and the CTAs. */
.c-post { position: relative; }
.c-post__photo { height: min(62vh, 620px); min-height: 380px; overflow: hidden; box-sizing: border-box; padding: clamp(28px, 4vw, 56px) var(--gutter) 0;
  background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; }
/* The photo stands in the doorway arch on the Mist brick, like the homepage */
.c-post__photo img { display: block; width: min(980px, 100%); height: 100%; margin: 0 auto; object-fit: cover; object-position: 60% 30%; border-radius: 999px 999px 0 0; box-shadow: var(--shadow-img); }
.js .c-post__photo img { animation: photo-settle 1400ms var(--ease-out) both; }
@keyframes photo-settle { from { scale: 1.06; } to { scale: 1; } }
.c-post__card { position: relative; margin: clamp(-150px, -10vw, -90px) 0 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); width: min(var(--max), calc(100vw - 2 * var(--gutter))); display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px clamp(28px, 4vw, 64px); align-items: end; background: var(--cream); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px); }
.js .c-post__card { animation: card-rise var(--dur-slow) var(--ease-out) 250ms both; }
@keyframes card-rise { from { translate: 0 var(--rise); } to { translate: 0 0; } }
.c-post__stamp { position: absolute; top: clamp(20px, 2.6vw, 32px); right: clamp(20px, 2.6vw, 32px); width: 54px; height: 54px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--sand); }
.c-post h1 { font-size: clamp(32px, 3.6vw, 54px); margin-bottom: 14px; }
.c-post__side { display: grid; gap: 4px; justify-items: start; padding-top: 70px; }
.c-post__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.c-post__meta .status { margin: 0; }
.status--card { margin-top: 0; align-self: flex-start; }
.c-post__addr { font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--mist); }
.c-post__addr:hover { border-color: var(--sky); }
.c-post__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.c-post + .c-essentials { margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 1000px) { .c-post__card { grid-template-columns: 1fr; } .c-post__side { padding-top: 8px; } .c-post h1 { padding-right: 64px; } }
@media (max-width: 760px) {
  .c-post__photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; padding-top: 20px; }
  .c-post__card { width: auto; margin: -48px var(--gutter) 0; }
  .c-post__actions .btn { width: 100%; }
}

.c-essentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.info-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.info-card__icon { width: 40px; height: 40px; color: var(--navy); }
.info-card__title { font-size: var(--t-h3); }
.info-card__body { font-style: normal; }
.info-card__note { color: #4a5670; font-size: 15.5px; }
.info-card .text-link { margin-top: auto; align-self: flex-start; }
.big-link { font: 400 clamp(21px, 1.9vw, 26px)/1.3 var(--font-display); color: var(--navy); text-decoration: none; }
.big-link:hover { color: var(--sky); }
.contact-list { margin: 14px 0 0; display: grid; gap: 6px; font-size: 15.5px; }
.contact-list > div { display: flex; gap: 10px; }
.contact-list dt { width: 48px; color: var(--muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.info-card .social { margin-top: auto; padding-top: 6px; }
.info-card--hours .hours > div { border-bottom: 1px dashed var(--sand); padding: 8px 10px; margin: 0 -10px; border-radius: 8px; }
.info-card--hours .hours > div:last-child { border-bottom: 0; }
.hours .is-closed dd { color: var(--closed); }
.hours .is-today { background: var(--mist); border-bottom-color: transparent; }
.hours .is-today dt::after { content: "Today"; margin-left: 8px; font: 600 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--sky-text); }

.c-map { position: relative; margin-top: clamp(14px, 2vw, 24px); }
.c-map__frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); height: clamp(320px, 38vw, 472px); }
.c-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.c-map__card { position: absolute; left: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); display: grid; gap: 4px; padding: 18px 22px; border-radius: 16px; background: var(--cream); text-decoration: none; }
.c-map__card .eyebrow { margin: 0 0 4px; }
.c-map__addr { font: 400 20px/1.2 var(--font-display); color: var(--navy); }
.c-map__card .text-link { justify-self: start; font-size: 15px; }

.c-after { display: grid; grid-template-columns: auto 1.3fr 1fr; align-items: center; gap: clamp(18px, 3vw, 40px); margin-top: clamp(48px, 6vw, 88px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.85); }
.c-after h2 { color: #fff; font-size: var(--t-h2); margin-bottom: 10px; }
.c-after__icon { width: 52px; height: 52px; color: var(--mist); }
.c-after__er { padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.c-after__label { font: 600 var(--t-label)/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin-bottom: 8px; }
.c-after__name { font: 400 22px/1.2 var(--font-display); color: #fff; margin-bottom: 4px; }
.c-after a { color: #fff; }

.c-form { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(64px, 8vw, 112px); }
.c-form__intro h2 { font-size: var(--t-h2); margin-bottom: 14px; }
.c-form__intro > p { color: #4a5670; max-width: 40ch; }
.arch-frame--sm { margin-top: 32px; aspect-ratio: 5 / 6; max-width: 400px; }
.arch-frame--sm img { object-position: 64% 40%; }
.form-card { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-lg); background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 14.5px; color: var(--navy); padding: 0; }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid #cfd8e6; border-radius: 12px; padding: 13px 14px; transition: border-color var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(7, 146, 210, .18); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #fff; border: 1.5px solid #cfd8e6; font-weight: 500; font-size: 15px; transition: background-color var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.form-note { font-size: 14px; color: #4a5670; text-align: center; }
/* Contact form is a JotForm embed (launch, 2026-11-30): white card, frame sized by site.js */
.form-card--embed { display: block; padding: 0; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
.form-card--embed iframe { display: block; width: 100%; min-height: 980px; border: 0; }
.form-card--embed iframe[data-sized] { min-height: 0; }
.form-card--embed .form-note { padding: 4px 24px 22px; }
/* Small text on the brick texture (hero, BOAS, form card) */
.h-door .eyebrow, .boas .eyebrow, .form-card .eyebrow { color: var(--sky-text-deep); }
.h-door__lede2, .form-card .form-note, .form-card .form-req-note { color: var(--muted-deep); }
.form-done { padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; text-align: center; }

/* ---------- Depth: one shadow system, every page ---------- */
/* Buttons */
.btn, .choice span, .nav-toggle, .social--ink a { box-shadow: var(--shadow-btn); }
.btn:hover, .choice:hover span, .social--ink a:hover { box-shadow: var(--shadow-btn-hover); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-btn); }
.btn--ghost, .nav-toggle, .social--ink a { background: #fff; }
.btn--ghost:hover { background: var(--navy); }
.social--ink a:hover { background: var(--sky); }
/* Buttons sitting on navy */
.site-footer .btn, .site-footer .social a, .meet .btn, .c-after .btn { box-shadow: var(--shadow-btn-dark); }
.btn--ghost-light { background: transparent; }
/* Cards */
.info-card, .svc-card, .form-card, .quote--card, .c-map__card, .c-post__card { box-shadow: var(--shadow-card); }
.svc-card:hover, .c-map__card:hover { box-shadow: var(--shadow-card-hover); }
.meet, .c-after { box-shadow: var(--shadow-img); }
/* Photos and the map */
.arch-frame--sm, .c-map__frame, .family__arch, .family__inset, .care__photo, .boas__arch, .faq__photo { box-shadow: var(--shadow-img); }
.meet__arch { box-shadow: var(--shadow-img-dark); }
/* The hero arch is clipped by its scroll animation on wide screens, so the shadow applies where it's a plain arch */
.h-door__arch { box-shadow: var(--shadow-img); }

@media (max-width: 960px) {
  .c-essentials { grid-template-columns: 1fr 1fr; }
  .info-card--hours { grid-column: 1 / -1; }
  .c-after { grid-template-columns: 1fr; }
  .c-form { grid-template-columns: 1fr; }
  .arch-frame--sm { display: none; }
}
@media (max-width: 620px) {
  .c-essentials { grid-template-columns: 1fr; }
  .c-map__frame { height: auto; aspect-ratio: 4 / 5; }
  .c-map__card { right: 14px; }
  .field-row { grid-template-columns: 1fr; }
}

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

/* Online form pages: brick header + embedded JotForm (auto-height via site.js) */
.form-hero { background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(120px, 14vw, 180px); text-align: center; display: grid; justify-items: center; }
.form-hero h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 16px; }
.form-hero .eyebrow { color: var(--sky-text-deep); }
.form-embed { max-width: 860px; margin: calc(-1 * clamp(88px, 10vw, 130px)) auto clamp(64px, 8vw, 112px); position: relative; }
.form-embed__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.form-embed iframe { display: block; width: 100%; min-height: 2400px; border: 0; }
.form-embed iframe[data-sized] { min-height: 0; }
.form-embed__help { margin-top: 18px; text-align: center; font-size: 15px; color: #33405c; }

/* Pages not built yet: links lose their href (kept in data-soon-href) and show greyed out.
   Greys still meet 4.5:1 so the labels stay readable. Restore the href when each page ships. */
:root { --soon: #646b7b; --soon-strong: #4a505e; }
a.is-soon { cursor: default; }
.site-nav__link.is-soon, .sub a.is-soon { color: var(--soon); }
.site-nav__link.is-soon::after { display: none; }
.sub a.is-soon:hover { background: none; }
.site-footer a.is-soon, .site-footer a.is-soon:hover { color: rgba(255,255,255,.5); text-decoration: none; }
.text-link.is-soon { color: var(--soon-strong); }
.text-link.is-soon::after { display: none; }
.btn.is-soon, .btn.is-soon:hover { background: transparent; border-color: #a3a8b4; color: var(--soon-strong); box-shadow: none; transform: none; }
.svc-card.is-soon, .svc-card.is-soon:hover { transform: none; background: #fff; box-shadow: var(--shadow-card); }
.svc-card.is-soon h3 { color: var(--soon); }
.svc-card.is-soon .svc-card__go { display: none; }
.meet__addr a { display: inline-block; min-height: 24px; padding-block: 2px; }

/* Products page (Client Corner): alternating arch photo + product list, closing "+ MORE!" band */
.page-products main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.prod-hero__video { object-position: 18% 50%; }
.prod { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(72px, 9vw, 136px); }
.prod--reverse { grid-template-columns: 1.15fr .85fr; }
.prod--reverse .prod__media { order: 2; }
.prod__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-img); background: var(--mist); }
.prod__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.prod--reverse .prod__arch img { object-position: 45% 40%; }
.prod__title { font: 600 clamp(15px, 1.3vw, 17px)/1.3 var(--font-body) !important; letter-spacing: .14em; color: var(--sky-text) !important; margin: 0 0 clamp(18px, 2vw, 26px) !important; padding-bottom: 14px; position: relative; }
.prod__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--sky); }
.prod__sub { font-size: var(--t-h3); margin: 0 0 10px; }
.prod__groups { display: grid; gap: clamp(26px, 3vw, 36px); }
.prod-list { list-style: none; margin: 0; padding: 0; }
.prod-list li { padding: 13px 0; border-bottom: 1px solid rgba(0, 31, 91, .12); font: 400 clamp(19px, 1.7vw, 23px)/1.3 var(--font-display); color: var(--navy); }
.prod-list li:first-child { border-top: 1px solid rgba(0, 31, 91, .12); }
.prod-list__note { font: 500 15px/1.3 var(--font-body); color: #4a5670; margin-left: .2em; white-space: nowrap; }
.prod-more { margin-top: clamp(72px, 9vw, 136px); padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-lg); background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; text-align: center; }
.prod-more .prod__title { color: var(--sky-text-deep) !important; }
.prod-more .prod__title::after { left: 50%; translate: -50% 0; }
.prod-more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.prod-more__list li { display: grid; place-content: center; gap: 4px; min-height: 120px; padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); font: 400 clamp(20px, 1.9vw, 25px)/1.25 var(--font-display); color: var(--navy); }
.prod-more__list .prod-list__note { display: block; margin: 0; color: #33405c; }
@media (max-width: 860px) {
  .prod, .prod--reverse { grid-template-columns: 1fr; }
  .prod--reverse .prod__media { order: 0; }
  .prod__arch { aspect-ratio: 4 / 3; max-width: 560px; }
  .prod-more__list { grid-template-columns: 1fr; }
}
/* Products hero: jump links to each category; sections stop below the sticky header */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.prod, .prod-more { scroll-margin-top: calc(var(--header-h) + 24px); }
.h-door__actions--jump .ico { width: 18px; height: 18px; transition: translate var(--dur-quick) var(--ease-out); }
.h-door__actions--jump .btn:hover .ico { translate: 0 3px; }
@media (max-width: 900px) { .h-door__actions--jump { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(560px, 100%); } .h-door__actions--jump .btn { width: 100%; padding: 0 12px; white-space: normal; text-align: center; line-height: 1.2; } }
.h-door__actions--jump .btn { min-height: 52px; }

/* Footer: star rating under the social icons, live open/closed status under Hours */
.foot-rate { margin-top: 26px; }
.foot-rate .site-footer__head { margin: 0 0 8px; }
.foot-rate .stars { margin-left: -4px; }
.foot-rate .stars a { width: 34px; height: 36px; }
.foot-rate svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: fill var(--dur-quick) var(--ease-out); }
.site-footer .foot-rate .stars a:hover { text-decoration: none; }
/* Footer "Open now" widget: always one row. The Hours column is widest and the footer drops to 2 columns at 1100px
   and 1 at 680px, so even the longest text ("Closed now · opens Wednesday at 8 am") fits. */
.status--foot { margin: 0 0 18px; padding: 8px 12px; font-size: 13px; background: rgba(255,255,255,.1); color: #fff; white-space: nowrap; max-width: 100%; }
@media (min-width: 1101px) { .site-footer__inner { grid-template-columns: 1.2fr .9fr 1fr 1.4fr; } }
.site-footer .status.is-closed { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.site-footer .status.is-closed .status__dot { background: var(--sand); }
.has-sub > a.site-nav__link.is-soon { cursor: pointer; }
/* BOAS: text sits on a solid cream card so the brick's mortar lines never run through it */
.boas__text { background: var(--cream); padding: clamp(26px, 3.6vw, 48px); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.boas__text > p:not(.eyebrow) { color: #2c3854; }
.boas .btn.is-soon, .boas .btn.is-soon:hover { background: #fff; border-color: #8d93a1; color: #3d4352; }
.team-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.site-footer__brand > .btn { margin-top: 22px; }
/* Contact hero: jump links to each section (2×2 in the card's side column) */
.c-post__jump { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.c-post__jump .btn { width: 100%; min-height: 52px; padding: 0 14px; white-space: normal; text-align: center; line-height: 1.2; }
.c-post__jump .ico { width: 18px; height: 18px; transition: translate var(--dur-quick) var(--ease-out); }
.c-post__jump .btn:hover .ico { translate: 0 3px; }
@media (max-width: 340px) { .c-post__jump { grid-template-columns: 1fr; } }
.c-essentials, .c-map, .c-after, .c-form { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Service cards (home): staggered rise + icon draws itself in; on hover/focus the card lifts,
   a Sky bar sweeps across the top and the icon tile flips to navy. Reduced motion: none of it. */
.svc-card { overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out),
              transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s, 0s; }
.js .svc-card.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.svc-card__icon { width: 54px; height: 54px; padding: 11px; border-radius: 15px; background: var(--mist); transition: background-color var(--dur-base) var(--ease-out), stroke var(--dur-base) var(--ease-out), rotate var(--dur-base) var(--ease-out), scale var(--dur-base) var(--ease-out); }
.js .svc-card__icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) calc(var(--i, 0) * var(--stagger) + 350ms); }
.js .svc-card.is-in .svc-card__icon > * { stroke-dashoffset: 0; }
.svc-card:is(:hover, :focus-visible), .svc-card.is-soon:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-card-hover); }
.svc-card:is(:hover, :focus-visible)::before { transform: scaleX(1); }
.svc-card:is(:hover, :focus-visible) .svc-card__icon { background: var(--navy); stroke: #fff; rotate: -6deg; scale: 1.06; }
.svc-card:is(:hover, :focus-visible) h3 { color: var(--navy); }

/* One hover language for every button: lift + deeper shadow. "Coming soon" buttons lift too but keep their grey. */
.btn.is-soon:hover, .boas .btn.is-soon:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn-hover); border-color: var(--soon-strong); }
.nav-toggle { transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out); }
.nav-toggle:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-btn-hover); }
.video-toggle { transition: background-color var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out); }
.video-toggle:hover { transform: translate(0, -2px); }
/* FAQ: where the photo shows, the heading is centered over it (it wrapped short and left-heavy at laptop widths) */
@media (min-width: 961px) { .faq__side h2 { text-align: center; } }
.site-footer__inner { padding-bottom: clamp(24px, 3vw, 36px); }

/* Service pages (/services/*): the still Doorway hero with the doc's intro as the lede, then a sticky
   "On this page" list beside the sections. Copy is the client's, verbatim; lists become check tiles. */
.page-svc main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.page-svc .h-door h1 { margin-bottom: 18px; }
.page-svc .h-door .lede { max-width: 64ch; font-size: clamp(17px, 1.5vw, 20px); }
.svc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(64px, 8vw, 112px); }
.svc--no-toc { grid-template-columns: minmax(0, 1fr); }
.svc__toc { position: sticky; top: calc(var(--header-h) + 28px); }
.svc__toc-label { font: 600 var(--t-label)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-text); margin: 0 0 12px; }
.svc__toc ol { list-style: none; margin: 0; padding: 0; }
.svc__toc a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 0; border-bottom: 1px solid rgba(0, 31, 91, .1); color: #33405c; font-size: 15px; line-height: 1.3; text-decoration: none; transition: color var(--dur-quick) var(--ease-out); }
.svc__toc a::before { content: ""; flex: none; width: 0; height: 2px; background: var(--sky); transition: width var(--dur-quick) var(--ease-out); }
.svc__toc a:hover, .svc__toc a[aria-current="true"] { color: var(--navy); }
.svc__toc a[aria-current="true"] { font-weight: 600; }
.svc__toc a:hover::before, .svc__toc a[aria-current="true"]::before { width: 14px; }
.svc-sec { scroll-margin-top: calc(var(--header-h) + 24px); padding-bottom: clamp(36px, 4vw, 56px); margin-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--sand); }
.svc__body > .svc-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-sec h2 { font-size: var(--t-h2); margin-bottom: 16px; }
.svc-sec p { color: #33405c; max-width: 68ch; }
.svc-sec p + p { margin-top: 14px; }
.svc-sec p a { color: var(--sky-text); text-underline-offset: 3px; }
.svc-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); color: var(--navy); font-weight: 500; line-height: 1.35; }
.svc-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--sky);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc-subs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 26px; }
.svc-sub { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.svc-sub h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.svc-sub p { font-size: 16px; }
.svc-sub .svc-list { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.svc-sub .svc-list li { padding: 10px 12px; background: var(--cream); box-shadow: none; font-size: 15.5px; }
.svc-fig { margin: 0; overflow: hidden; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: var(--mist); box-shadow: var(--shadow-img); }
.svc-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-fig--wide { aspect-ratio: 16 / 9; margin-bottom: clamp(36px, 4vw, 56px); }
.svc-figs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin-bottom: clamp(36px, 4vw, 56px); }
.svc-figs .svc-fig { aspect-ratio: 4 / 5; }
/* Split section (Wellness visits): the home BOAS layout, text card + doorway-arch photo, on plain Mist (no brick). */
/* Split section (Wellness visits): the home BOAS layout (text card + doorway-arch photo), no background, full content width. */
.svc-sec--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 112px); padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.svc-sec--split + .svc { margin-top: clamp(64px, 8vw, 112px); }
.svc-split__text { background: var(--mist); padding: clamp(26px, 3.6vw, 48px); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.svc-split__text p { color: #2c3854; max-width: 60ch; }
.svc-split__arch { aspect-ratio: 5 / 4; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-img); }
.svc-split__arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .svc-sec--split { grid-template-columns: 1fr; } }
/* Service lists: the checkmarks tick on one by one, top to bottom, like a list being checked off,
   once the list itself is in view (site.js gives it .is-in) and its card, if it's in one, has risen in.
   Every list on every service page behaves the same. Reduced motion: they're simply there. */
.svc-list li::before { clip-path: inset(0 0 0 0); scale: 1;
  transition: clip-path 420ms var(--ease-out) calc(300ms + var(--chk, 0) * 160ms), scale 420ms var(--ease-out) calc(300ms + var(--chk, 0) * 160ms); }
.js .svc-list:not(.is-in) li::before, .js .reveal:not(.is-in) .svc-list li::before { clip-path: inset(0 100% 0 0); scale: .6; transition: none; }
.svc-list li:nth-child(2) { --chk: 1; }
.svc-list li:nth-child(3) { --chk: 2; }
.svc-list li:nth-child(4) { --chk: 3; }
.svc-list li:nth-child(5) { --chk: 4; }
.svc-list li:nth-child(6) { --chk: 5; }
.svc-list li:nth-child(7) { --chk: 6; }
.svc-list li:nth-child(8) { --chk: 7; }
.svc-list li:nth-child(9) { --chk: 8; }
.svc-list li:nth-child(10) { --chk: 9; }
.svc-list li:nth-child(11) { --chk: 10; }
.svc-list li:nth-child(12) { --chk: 11; }
.svc-list li:nth-child(13) { --chk: 12; }
.svc-list li:nth-child(14) { --chk: 13; }
.svc-list li:nth-child(15) { --chk: 14; }

/* Card grid (Dentistry): each section is a card like the Wellness vaccine cards. 3 columns, the two longest
   cards span two so the rows fill; 2 columns under 1100px, 1 under 680px. */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-cards-wrap { scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-cards-wrap > h2 { font-size: var(--t-h2); margin-bottom: clamp(20px, 2.4vw, 28px); }
.svc-card-sec { scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-card-sec--wide { grid-column: span 2; }
.svc-card-sec :is(h2, h3) { font-size: var(--t-h3); margin-bottom: 10px; }
.svc-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-cards + .svc-sec { margin-top: clamp(48px, 6vw, 80px); }
.svc-card-sec p { color: #33405c; max-width: 72ch; }
.svc-card-sec p + p { margin-top: 12px; }
.svc-sub p a { color: var(--sky-text); text-underline-offset: 3px; }
@media (max-width: 1100px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-card-sec--wide { grid-column: auto; } }
@media (max-width: 680px) { .svc-cards { grid-template-columns: 1fr; } }

/* Vaccine cards (Wellness): same motion as the home service cards. Staggered rise, the icon draws itself in;
   on hover the card lifts, a Sky bar sweeps across the top and the icon tile turns navy. Reduced motion: none of it. */
.svc-sub--icon { position: relative; overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out),
              transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s; }
.js .svc-sub--icon.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.svc-sub--icon::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.svc-sub__icon { display: block; width: 54px; height: 54px; padding: 11px; margin-bottom: 16px; border-radius: 15px; background: var(--mist); fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color var(--dur-base) var(--ease-out), stroke var(--dur-base) var(--ease-out), rotate var(--dur-base) var(--ease-out), scale var(--dur-base) var(--ease-out); }
.js .svc-sub__icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) calc(var(--i, 0) * var(--stagger) + 350ms); }
.js .svc-sub--icon.is-in .svc-sub__icon > * { stroke-dashoffset: 0; }
.svc-sub--icon:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.svc-sub--icon:hover::before { transform: scaleX(1); }
.svc-sub--icon:hover .svc-sub__icon { background: var(--navy); stroke: #fff; rotate: -6deg; scale: 1.06; }
.svc-sub--icon:hover .svc-sub__icon .accent { stroke: var(--mist); }

/* Brick band (Parasite prevention): the home BOAS background (Mist brick, multiplied), full bleed, copy on a cream card. */
.svc-sec--brick { background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; padding: clamp(56px, 7vw, 112px) var(--gutter); border-bottom: 0; }
.svc-brick__inner { max-width: var(--max); margin: 0 auto; }
.svc-brick__card { background: var(--cream); padding: clamp(26px, 3.6vw, 48px); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.svc-brick__card p { color: #2c3854; }

/* Section with a photo beside the text (Physical exams): arch photo on the left, text on the right; stacks text-first on small screens. */
.svc-sec--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc-media__text { order: 2; }
/* Reversed: text left, photo right, so photo sections alternate sides down the page. Phones: text first, like the rest. */
.svc-sec--media-rev .svc-media__text { order: 1; }
.svc-sec--media-rev .svc-media__arch { order: 2; }
.svc-media__arch { order: 1; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-img); }
.svc-media__arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .svc-sec--media { grid-template-columns: 1fr; }
  .svc-media__text, .svc-media__arch { order: 0; }
  .svc-media__arch { aspect-ratio: 3 / 2; }
}
@media (max-width: 960px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__toc { display: none; }
}
@media (max-width: 620px) {
  .svc-fig--wide { aspect-ratio: 4 / 3; }
  .svc-list li { padding: 12px 12px; gap: 9px; font-size: 15px; }
}
@media (max-width: 400px) {
  .svc-list { grid-template-columns: 1fr; }
}

/* Payment Options (/client-corner/payment-options/): the Contact page layout. Postcard hero, the two payment
   points as numbered cards, insurance providers as link cards, referral discount in the navy band. */
.pay-terms { margin-top: clamp(28px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 24px); }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pay-list .info-card { position: relative; }
.pay-list .info-card p { color: #2c3854; font-size: 17px; }
.pay-num { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); font: 400 22px/1 var(--font-display); color: var(--navy); }
.pay-ins { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 112px); scroll-margin-top: calc(var(--header-h) + 24px); }
.pay-ins__intro h2 { font-size: var(--t-h2); margin-bottom: 14px; }
.pay-ins__intro p { color: #33405c; max-width: 46ch; }
.pay-ins__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ins-card { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 56px 22px 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); text-decoration: none; color: var(--navy); overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.ins-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.ins-card__name { font: 400 22px/1.15 var(--font-display); letter-spacing: .02em; }
.ins-card__url { font-size: 15px; color: var(--sky-text); overflow-wrap: anywhere; }
.ins-card__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mist); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.ins-card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ins-card:is(:hover, :focus-visible) { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.ins-card:is(:hover, :focus-visible)::before { transform: scaleX(1); }
.ins-card:is(:hover, :focus-visible) .ins-card__go { background: var(--navy); color: #fff; }
.pay-ref { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); scroll-margin-top: calc(var(--header-h) + 24px); margin-bottom: clamp(48px, 6vw, 88px); }
.pay-ref p { max-width: 70ch; }
@media (max-width: 900px) { .pay-ins { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .pay-list { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .pay-ins__list { grid-template-columns: 1fr; } }
.pay-ref__photo { align-self: stretch; min-height: 220px; border-radius: 18px; overflow: hidden; }
.pay-ref__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .pay-ref { grid-template-columns: auto minmax(0, 1fr); } .pay-ref__photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 760px) { .pay-ref { grid-template-columns: 1fr; } }

/* Helpful Links (/client-corner/helpful-links/): Postcard hero, then parks and beaches as place cards,
   then the ten dog park tips as numbered cards. */
.hl-sec { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: calc(var(--header-h) + 24px); }
.c-post + .hl-sec { margin-top: clamp(40px, 5vw, 64px); }
.hl-sec > h2 { font-size: var(--t-h2); margin-bottom: clamp(18px, 2.4vw, 28px); }
.place-grid, .tip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.place-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.place-card__icon { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--mist); fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.place-card h3 { font-size: var(--t-h3); line-height: 1.25; }
.place-card h3 a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.place-card h3 a:hover { color: var(--sky-text); }
.place-card .ext { display: inline-block; width: .7em; height: .7em; margin-left: 6px; vertical-align: .05em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.place-card p { color: #33405c; font-size: 16px; overflow-wrap: anywhere; }
.place-card p a { color: var(--sky-text); text-underline-offset: 3px; }
.hl-tips { margin-top: clamp(64px, 8vw, 112px); margin-bottom: clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--header-h) + 24px); }
.hl-tips__intro { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--mist); color: #2c3854; font: 400 clamp(19px, 1.7vw, 23px)/1.5 var(--font-display); margin-bottom: clamp(18px, 2.4vw, 28px); }
.tip-list { counter-reset: tip; }
.tip { counter-increment: tip; position: relative; padding: clamp(22px, 2.6vw, 30px); padding-left: calc(clamp(22px, 2.6vw, 30px) + 56px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.tip::before { content: counter(tip); position: absolute; left: clamp(22px, 2.6vw, 30px); top: clamp(22px, 2.6vw, 30px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font: 400 20px/1 var(--font-display); }
.tip__title { font: 400 var(--t-h3)/1.25 var(--font-display); color: var(--navy); margin-bottom: 8px; }
.tip p:not(.tip__title) { color: #33405c; font-size: 16px; }
@media (max-width: 760px) { .place-grid, .tip-list { grid-template-columns: 1fr; } }
.place-card[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
/* Numbered badges (Helpful Links tips, Payment Options cards) wipe in like the checkmarks once their card reveals */
.tip::before, .pay-num { clip-path: inset(0 0 0 0); scale: 1;
  transition: clip-path 420ms var(--ease-out) calc(300ms + var(--i, 0) * 160ms), scale 420ms var(--ease-out) calc(300ms + var(--i, 0) * 160ms); }
.js .tip.reveal:not(.is-in)::before, .js .reveal:not(.is-in) .pay-num { clip-path: inset(0 100% 0 0); scale: .6; transition: none; }

/* Helpful Links place cards: same motion as the home service cards ("Old-school heart meets modern medicine.").
   Cards with a website are clickable as a whole: the card's main link stretches over it; other links stay on top. */
.place-card { position: relative; overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out),
              transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s; }
.js .place-card.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.place-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.place-card__icon { transition: background-color var(--dur-base) var(--ease-out), stroke var(--dur-base) var(--ease-out), rotate var(--dur-base) var(--ease-out), scale var(--dur-base) var(--ease-out); }
.js .place-card__icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) calc(var(--i, 0) * var(--stagger) + 350ms); }
.js .place-card.is-in .place-card__icon > * { stroke-dashoffset: 0; }
.place-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.place-card--link p a:not(.place-card__link) { position: relative; z-index: 2; }
.place-card__link:focus-visible { outline: none; }
.place-card--link:focus-within { outline: 3px solid var(--sky-text); outline-offset: 3px; }
.place-card--link:is(:hover, :focus-within) { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.place-card--link:is(:hover, :focus-within)::before { transform: scaleX(1); }
.place-card--link:is(:hover, :focus-within) .place-card__icon { background: var(--navy); stroke: #fff; rotate: -6deg; scale: 1.06; }
.place-card--link:is(:hover, :focus-within) .place-card__icon .accent { stroke: var(--mist); }
/* A card on its own (Diagnostics: Abdominal ultrasound) lets its text run the full card width, so there is no empty block on the right */
.svc-subs > .svc-sub:only-child p { max-width: none; }

/* Helpful Links resources: four narrower cards per row; the web address is the card's link */
.hl-tips + .hl-res { margin-top: 0; }
.hl-res { margin-bottom: clamp(48px, 6vw, 88px); }
.place-grid--res { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.place-grid--res h3 { font-size: 20px; }
.place-grid--res p a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--sky); }
.place-grid--res p a .ext { display: inline-block; width: .8em; height: .8em; margin-left: 4px; vertical-align: -.05em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .place-grid--res { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .place-grid--res { grid-template-columns: 1fr; } }

/* Payment Options: payment plans (CareCredit, Scratchpay) as two cards with check lists; insurance intro adds a subheading */
.pay-fin { margin-top: clamp(64px, 8vw, 112px); scroll-margin-top: calc(var(--header-h) + 24px); }
.pay-fin__intro { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--mist); margin-bottom: clamp(18px, 2.4vw, 28px); }
.pay-fin__intro h2 { font-size: var(--t-h2); margin-bottom: 14px; }
.pay-fin__intro p { color: #2c3854; font-size: 18px; max-width: 78ch; }
.pay-fin__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pay-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pay-plan h3 { font-size: var(--t-h3); }
.pay-plan__lede { color: #2c3854; }
.pay-plan .svc-list { grid-template-columns: 1fr; gap: 8px; margin: 0; align-self: stretch; }
.pay-plan .svc-list li { background: var(--cream); box-shadow: none; }
.pay-plan__btn { margin-top: auto; }
.pay-plan__btn .ico { width: 18px; height: 18px; }
.pay-ins__intro h3 { font-size: var(--t-h3); margin-bottom: 12px; }
.pay-ins__intro p + p { margin-top: 14px; }
.pay-ins { align-items: start; }
@media (max-width: 760px) { .pay-fin__grid { grid-template-columns: 1fr; } }

/* Reviews (/about/reviews/): Postcard hero, then the Google reviews as cards; the five stars light up one by one like the checkmarks */
.reviews { margin: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); }
.review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.review figure { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.review figure::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.review figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.review figure:hover::before { transform: scaleX(1); }
.review { transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .review.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__top .quote__mark { margin: 0; width: 30px; height: 30px; }
.review__stars { display: flex; gap: 3px; margin: 0; }
.review__stars svg { width: 22px; height: 22px; fill: var(--marigold); stroke: none; clip-path: inset(0 0 0 0); scale: 1;
  transition: clip-path 420ms var(--ease-out) calc(300ms + var(--s, 0) * 120ms), scale 420ms var(--ease-out) calc(300ms + var(--s, 0) * 120ms); }
.review__stars svg:nth-child(2) { --s: 1; } .review__stars svg:nth-child(3) { --s: 2; } .review__stars svg:nth-child(4) { --s: 3; } .review__stars svg:nth-child(5) { --s: 4; }
.js .review.reveal:not(.is-in) .review__stars svg { clip-path: inset(0 100% 0 0); scale: .6; transition: none; }
.review blockquote { margin: 0; }
.review blockquote p { font: 400 clamp(18px, 1.5vw, 20px)/1.55 var(--font-body); color: #2c3854; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid rgba(15, 31, 77, .1); }
.review__name { font: 400 22px/1.2 var(--font-display); color: var(--navy); }
.review__src { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.review__g { width: 18px; height: 18px; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }

/* Payment plan cards (CareCredit, Scratchpay): clickable as a whole and animated like the home service cards */
.pay-plan { position: relative; overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out),
              transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s; }
.js .pay-plan.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.pay-plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.pay-plan .info-card__icon { width: 54px; height: 54px; padding: 11px; border-radius: 15px; background: var(--mist); color: var(--navy); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), rotate var(--dur-base) var(--ease-out), scale var(--dur-base) var(--ease-out); }
.js .pay-plan .info-card__icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) calc(var(--i, 0) * var(--stagger) + 350ms); }
.js .pay-plan.is-in .info-card__icon > * { stroke-dashoffset: 0; }
.pay-plan__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pay-plan__btn:focus-visible { outline: none; }
.pay-plan:focus-within { outline: 3px solid var(--sky-text); outline-offset: 3px; }
.pay-plan:is(:hover, :focus-within) { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.pay-plan:is(:hover, :focus-within)::before { transform: scaleX(1); }
.pay-plan:is(:hover, :focus-within) .info-card__icon { background: var(--navy); color: #fff; rotate: -6deg; scale: 1.06; }
.pay-plan:is(:hover, :focus-within) .info-card__icon .accent { stroke: var(--mist); }
.pay-plan:is(:hover, :focus-within) .pay-plan__btn .ico { translate: 3px -3px; }
.pay-plan__btn .ico { transition: translate var(--dur-base) var(--ease-out); }

/* Pet Plans (/client-corner/pet-plans/): one card per plan with photo, price tag, description and an animated check list */
.plans-sec { margin-top: clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--header-h) + 24px); }
.plans-sec:last-of-type { margin-bottom: clamp(48px, 6vw, 88px); }
.plans-sec > h2 { font-size: var(--t-h2); margin-bottom: clamp(18px, 2.4vw, 28px); }
.plan-grid { display: grid; gap: clamp(16px, 2vw, 24px); align-items: start; }
.plan-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); scroll-margin-top: calc(var(--header-h) + 24px);
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s; }
.js .plan.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.plan__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.plan__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 600ms var(--ease-out); }
.plan:hover .plan__photo img { scale: 1.04; }
.plan__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); }
.plan h3 { font-size: clamp(26px, 2.2vw, 32px); }
.plan__price { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 16px; border-radius: 14px; background: var(--navy); color: #fff; font: 600 13px/1.3 var(--font-body); letter-spacing: .1em; rotate: -2deg; }
.plan__price strong { display: inline-block; margin-left: 4px; font: 400 24px/1 var(--font-display); letter-spacing: 0; color: var(--mist); }
.plan__tag-ico { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--mist); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan__desc { color: #33405c; font-size: 16px; }
.plan__desc em { color: var(--sky-text); }
.plan__label { font: 600 var(--t-label)/1 var(--font-body); letter-spacing: .14em; color: var(--navy); }
.plan .svc-list { grid-template-columns: 1fr; gap: 8px; margin: 0; }
.plan .svc-list li { background: var(--cream); box-shadow: none; padding: 11px 14px; }
.plan__plus { padding: 14px 16px; border-radius: 14px; background: var(--mist); color: var(--navy); font-weight: 600; letter-spacing: .02em; }
.plan__note { font-size: 13px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 1100px) { .plan-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .plan-grid--3, .plan-grid--2 { grid-template-columns: 1fr; } }

/* Pet Plans: plan sections run the full screen width, with side padding */
.plans-sec { width: 100vw; margin-left: calc(50% - 50vw); padding-inline: clamp(16px, 3vw, 48px); box-sizing: border-box; }

/* Menu labels (About, Services, Client Corner) open their dropdowns */
.site-nav__label { cursor: pointer; }
/* Main nav labels stay on one line now that Pet Plans is a top-level item; tighter spacing at mid desktop widths */
.site-nav__link { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1360px) { .site-nav__link { padding-inline: 7px; font-size: 15px; } .site-nav__link::after { left: 7px; right: 7px; } .has-sub > .site-nav__link::after { right: 2px; } }


/* Virtual Tour (/about/virtual-tour/): storefront in the arch, then a photo grid kept near the photos' 480px size; click opens a larger view */
.tour { margin: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.tour-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(12px, 1.6vw, 20px); max-width: 1240px; }
.tour-tile { transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .tour-tile.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.tour-tile a { display: block; position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.tour-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 600ms var(--ease-out); }
.tour-tile a:is(:hover, :focus-visible) { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.tour-tile a:is(:hover, :focus-visible) img { scale: 1.05; }
.tour-tile a:focus-visible { outline: 3px solid var(--sky-text); outline-offset: 3px; }
.tour-view { width: min(92vw, 760px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--navy); color: #fff; overflow: visible; }
.tour-view::backdrop { background: rgba(0, 18, 54, .78); }
.tour-view__fig { margin: 0; }
.tour-view__fig img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: #000; }
.tour-view__cap { padding: 14px 64px 16px 20px; font-size: 15px; color: rgba(255,255,255,.9); }
.tour-view__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow-card); }
.tour-view__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-view__btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.tour-view__prev { left: -22px; top: 40%; }
.tour-view__next { right: -22px; top: 40%; }
.tour-view__close { right: 10px; bottom: 6px; width: 40px; height: 40px; background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
@media (max-width: 760px) { .tour-view__prev { left: 6px; } .tour-view__next { right: 6px; } }

/* Client Corner menu: "Online Forms" is a group label (not a link) with the forms indented under it */
.sub__group { list-style: none; }
.sub__label { display: block; padding: 9px 12px; font: inherit; font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--navy); }
.sub__forms { list-style: none; margin: 0; padding: 0; }

/* Reviews hero: "Rate your visit" stars in the postcard card (navy outlines; they fill marigold up to the hovered star) */
.c-rate__title { font: 600 var(--t-label)/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.c-rate .stars { display: inline-flex; margin-left: -6px; }
.c-rate .stars a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; color: var(--navy); }
.c-rate .stars svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: fill var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out); }
.c-rate .stars:hover a, .c-rate .stars:focus-within a { color: #c98a10; }
.c-rate .stars:hover svg, .c-rate .stars:focus-within svg { fill: var(--marigold); }
.c-rate .stars a:hover ~ a svg, .c-rate .stars a:focus ~ a svg { fill: none; }
.c-rate .stars a:hover ~ a, .c-rate .stars a:focus ~ a { color: var(--navy); }
.c-rate .stars a:focus-visible { outline: 2px solid var(--navy); outline-offset: 0; }
/* Postcard hero cards (Contact, Payment Options, Pet Plans, Helpful Links, Reviews): navy (#001f5b) with white text and light buttons */
.c-post__card { background: #001f5b; color: #fff; }
.c-post h1 { color: #fff; }
.c-post .lede { color: rgba(255,255,255,.88); }
.c-post__card a:not(.btn) { color: #fff; }
.c-post__stamp { box-shadow: 0 0 0 4px #001f5b, 0 0 0 5px rgba(255,255,255,.35); }
/* Hero buttons on the navy card: light, like the header buttons (white fill, navy text), never navy on navy */
.c-post__card .btn { background: #fff; border-color: #fff; color: var(--navy); box-shadow: var(--shadow-btn-dark); }
.c-post__card .btn:hover, .c-post__card .btn:focus-visible { background: var(--mist); border-color: var(--mist); color: var(--navy); transform: translateY(-2px); }
.c-post__card .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.c-rate__title { color: #fff; }
.c-rate .stars a { color: rgba(255,255,255,.9); }
.c-rate .stars:hover a, .c-rate .stars:focus-within a { color: var(--marigold); }
.c-rate .stars a:hover ~ a, .c-rate .stars a:focus ~ a { color: rgba(255,255,255,.9); }
.c-rate .stars a:focus-visible { outline-color: #fff; }

/* Postcard hero with a video (Products): the arch holds the video and its pause button */
.c-post__media { position: relative; width: min(980px, 100%); height: 100%; margin: 0 auto; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: var(--shadow-img); }
.c-post__media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.c-post__media .video-toggle { right: clamp(28px, 11%, 120px); bottom: clamp(100px, 11vw, 168px); }
@media (max-width: 760px) { .c-post__media .video-toggle { bottom: 60px; } }
/* Diagnostics: the Abdominal ultrasound card uses the same two-column grid (and width) as the Reference laboratory and X-ray cards */
#ultrasound .svc-subs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 680px) { #ultrasound .svc-subs { grid-template-columns: 1fr; } }

/* ===== Home page v2 (/home-v2/), Reed's feedback: mobile-first, services first, book/call everywhere ===== */
.v2-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; }
.v2-chips li { padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--navy); font: 600 14px/1.2 var(--font-body); box-shadow: var(--shadow-card); }
.page-home-v2 .h-door__actions .ico, .v2-svc .ico, .v2-actionbar .ico, .v2-boas .ico { width: 18px; height: 18px; flex: none; }
.v2-services { margin-top: clamp(48px, 7vw, 96px); }
.v2-services__head { max-width: 760px; margin: 0 auto clamp(24px, 3vw, 36px); text-align: center; }
.v2-services__head h2 { font-size: var(--t-h2); margin-bottom: 12px; }
.v2-services__head p { color: #33405c; }
.v2-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.v2-svc { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), scale var(--dur-slow) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s; }
.js .v2-svc.reveal:not(.is-in) { translate: 0 32px; scale: .96; }
.v2-svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); z-index: 1; }
.v2-svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.v2-svc:hover::before { transform: scaleX(1); }
.v2-svc__link { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px) 16px; color: var(--ink); text-decoration: none; }
.v2-svc__link h3 { font-size: var(--t-h3); color: var(--navy); }
.v2-svc__link p { font-size: 15.5px; color: #4a5670; }
.v2-svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--sky-text); }
.v2-svc__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--dur-base) var(--ease-out); }
.v2-svc__link:hover .v2-svc__more svg, .v2-svc__link:focus-visible .v2-svc__more svg { translate: 4px 0; }
.v2-svc__link:hover h3 { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 4px; }
.v2-svc__link:focus-visible { outline: 3px solid var(--sky-text); outline-offset: -3px; border-radius: var(--radius-lg); }
.js .v2-svc .svc-card__icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) calc(var(--i, 0) * var(--stagger) + 350ms); }
.js .v2-svc.is-in .svc-card__icon > * { stroke-dashoffset: 0; }
.v2-svc .svc-card__icon { width: 54px; height: 54px; padding: 11px; border-radius: 15px; background: var(--mist); }
.v2-svc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 clamp(22px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px); }
.v2-svc__actions .btn { min-height: 46px; padding: 0 10px; gap: 6px; font-size: 14.5px; }
.v2-family { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 8vw, 112px); }
.v2-family__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-img); display: block; }
.v2-family__text h2 { font-size: var(--t-h2); margin-bottom: 14px; }
.v2-family__text > p { color: #33405c; max-width: 56ch; }
.v2-family .quote { margin: 22px 0 18px; }
.v2-boas { margin-top: clamp(56px, 8vw, 112px); padding: clamp(40px, 6vw, 80px) var(--gutter); background: var(--mist) url(/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp) center / 900px repeat; }
.v2-boas__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--cream); box-shadow: var(--shadow-img); }
.v2-boas__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.v2-boas__text h2 { font-size: var(--t-h2); margin-bottom: 12px; }
.v2-boas__text > p:not(.eyebrow) { color: #33405c; }
.v2-boas__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.v2-reviews { margin-top: clamp(56px, 8vw, 112px); }
.v2-reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.v2-reviews__head h2 { font-size: var(--t-h2); }
.v2-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-actionbar { display: none; }
@media (max-width: 1100px) { .v2-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-review-grid { grid-template-columns: 1fr; max-width: 720px; } }
@media (max-width: 860px) { .v2-family, .v2-boas__inner { grid-template-columns: 1fr; } .v2-family__photo { max-width: 520px; } }
@media (max-width: 680px) {
  .v2-svc-grid { grid-template-columns: 1fr; }
  .page-home-v2 .h-door__actions .btn { width: 100%; }
  .v2-boas__actions .btn { width: 100%; }
  /* fixed Call / Book bar on phones; the page gets room at the bottom so it never covers the footer */
  .v2-actionbar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 245, 236, .96); box-shadow: 0 -6px 20px -8px rgba(0, 31, 91, .35); backdrop-filter: blur(6px); }
  .v2-actionbar .btn { min-height: 48px; gap: 8px; font-size: 15px; }
  .page-home-v2 { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
/* Home v2 on phones: compact service cards (icon + title + Book/Call; the title opens the service page) and two reviews */
@media (max-width: 680px) {
  .v2-svc__link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 16px 12px; }
  .v2-svc__link p { display: none; }
  .v2-svc .svc-card__icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; }
  .v2-svc__link h3 { font-size: 20px; }
  .v2-svc__more { margin: 0; font-size: 0; }
  .v2-svc__more svg { width: 20px; height: 20px; }
  .v2-svc__actions { padding: 0 16px 16px; }
  .v2-review-grid .review:nth-child(n+3) { display: none; }
}
/* Home v2 action bar: columns can shrink on the narrowest phones */
@media (max-width: 680px) { .v2-actionbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } .v2-actionbar .btn { padding: 0 10px; white-space: normal; text-align: center; line-height: 1.15; } }
@media (max-width: 360px) { .v2-actionbar .btn { font-size: 14px; gap: 6px; } }

/* Home v2 update: the brick wall moves from BOAS to the family section; BOAS sits on a navy card */
.v2-family-band { margin-top: clamp(56px, 8vw, 112px); padding: clamp(40px, 6vw, 80px) var(--gutter); background: var(--mist) url(/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp) center / 900px repeat; }
.v2-family-band .v2-family { max-width: var(--max); margin: 0 auto; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--cream); box-shadow: var(--shadow-img); }
.v2-boas { background: none; padding-block: 0; }
.v2-boas__inner { background: #001f5b; color: #fff; }
.v2-boas__text h2 { color: #fff; }
.v2-boas__text > p:not(.eyebrow) { color: rgba(255,255,255,.88); }
.v2-boas .eyebrow { color: var(--mist); }
.v2-boas__actions .btn--primary { background: #fff; border-color: #fff; color: var(--navy); box-shadow: var(--shadow-btn-dark); }
.v2-boas__actions .btn--primary:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.v2-boas__actions .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.v2-boas__actions .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.v2-boas__actions .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.v2-reviews { margin-bottom: clamp(56px, 8vw, 104px); }
.v2-family-band .v2-family { margin-top: 0; }

/* Home v2 hero tags: each with an icon */
.v2-chips li { display: inline-flex; align-items: center; gap: 7px; }
.v2-chips__ico { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v2-family-band { background: var(--mist) url("/il-resources/images/brick-texture-c40cdb11-815f460d9566787e.webp") center / cover; background-blend-mode: multiply; }

/* End-of-Life Care: Keepsakes sits on the brick wall (like the home BOAS section); white cards on the cream panel */
#keepsakes .svc-brick__card > h2 { font-size: var(--t-h2); margin-bottom: 10px; }
#keepsakes .svc-subs { margin-top: 22px; }
/* Home v2 BOAS: text on the left, photo on the right */
.v2-boas__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .v2-boas__inner { grid-template-columns: 1fr; } }

/* Home v2: "It runs in the family" uses home v1's BOAS layout; the button arrow keeps its size */
.v2-family-boas .boas__text .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* End-of-Life Care ends on the Keepsakes brick band: the footer follows it with no cream gap */
body:has(#keepsakes) .site-footer { margin-top: 0; }
/* Contact choice pills: the (invisible) radio fills the whole pill in Safari too, so the tap area is the full pill */
.choice input { -webkit-appearance: none; appearance: none; width: 100%; height: 100%; }
/* Plan cards clip their corners without becoming a scroll box (overflow: hidden made Chrome ignore the header offset on jump links) */
.plan { overflow: hidden; overflow: clip; }
.place-card, .svc-sub--icon, .svc-card, .v2-svc, .pay-plan, .review figure, .ins-card { overflow: hidden; overflow: clip; }

/* Contact after-hours band while the emergency hospital card is hidden: icon + text only */
.c-after--no-er { grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 960px) { .c-after--no-er { grid-template-columns: 1fr; } }

/* Home v1: the family arch holds the puppy photo while the doctors' photo is owed */
.family__arch--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; display: block; }
