/* ==========================================================================
   Shivraj Pet Clinic & Lab — design system V3 (docs/15)
   White · pale sky · navy · action blue (logo red for paw marks only) | Figtree
   Editorial layouts: hairline rules, cropped photo windows, no card surfaces.
   ========================================================================== */

/* ---------- 0. Font (self-hosted Figtree, SIL Open Font License) ---------- */
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-var.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Tokens (existing Shivraj palette) ---------- */
:root {
  --paper: #ffffff;
  --sky: #eef6fd;          /* pale sky bands */
  --sky-2: #d9eaf8;
  --ink: #0c2236;          /* navy text + dark bands */
  --ink-2: #3b5169;
  --ink-3: #5f7489;        /* 4.9:1 on white */
  --navy: #0c2236;
  --navy-2: #102c45;
  --blue: #1769d1;         /* primary action (5.1:1 with white) */
  --blue-d: #0e54ad;
  --blue-l: #8fc0ff;       /* accent on navy (8.4:1) */
  --red: #e4532f;          /* logo red: paw marks, live dot only */
  --ok: #1f8a4c;
  --line: rgba(12, 34, 54, .12);
  --line-2: rgba(12, 34, 54, .24);
  --line-d: rgba(255, 255, 255, .16);

  --f: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1400px;
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --s--1: clamp(.84rem, .8rem + .15vw, .92rem);
  --s-0: clamp(1rem, .97rem + .15vw, 1.075rem);
  --s-1: clamp(1.12rem, 1.05rem + .35vw, 1.32rem);
  --s-2: clamp(1.32rem, 1.14rem + .8vw, 1.85rem);
  --s-3: clamp(1.6rem, 1.25rem + 1.6vw, 2.65rem);
  --s-4: clamp(2rem, 1.4rem + 2.8vw, 3.9rem);
  --s-5: clamp(2.4rem, 1.5rem + 4.3vw, 5.4rem);
  --s-6: clamp(2.9rem, 1.3rem + 7vw, 8rem);

  /* Section rhythm: related sections sit closer than unrelated ones. */
  --pad: clamp(56px, 7vw, 112px);
  --pad-s: clamp(40px, 4.5vw, 72px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-0)/1.6 var(--f); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: 'ss01'; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
small { font-size: .8em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[data-theme="dark"] :focus-visible { outline-color: var(--blue-l); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.muted { color: var(--ink-3); }
[data-theme="dark"] .muted { color: rgba(255, 255, 255, .66); }
.nowrap { white-space: nowrap; }

/* Single-column grids: never let a wide child (iframe, table, long word) push the column past the viewport. */
.intro__grid, .care__grid, .dx__grid, .jr__grid, .words__grid, .cam__grid, .jot__grid, .visit__grid, .book__grid, .bk, .qfaq__grid, .foot__final, .foot__info, .phead__grid, .svc__hero-grid, .svc__grid, .post__grid, .hub__group, .team__grid, .band__grid, .nf, .dr, .feat { grid-template-columns: minmax(0, 1fr); }

/* ---------- 3. Type ---------- */
.display { font-size: var(--s-4); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.display--xl { font-size: var(--s-5); line-height: .96; }
.display--page { font-size: var(--s-5); line-height: .98; }
.display--post { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.4rem); line-height: 1.02; }
.display--sm { font-size: var(--s-3); }
.kicker { margin: 0 0 1rem; color: var(--blue); font-size: var(--s--1); font-weight: 700; letter-spacing: .01em; }
[data-theme="dark"] .kicker { color: var(--blue-l); }
.label { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
[data-theme="dark"] .label { color: rgba(255, 255, 255, .62); }
.shead { margin-bottom: clamp(28px, 3.5vw, 52px); }
.shead .display { max-width: 15ch; }
.shead__intro { margin: 1.1rem 0 0; color: var(--ink-2); max-width: 44ch; }

/* ---------- 4. Buttons & links ---------- */
.btn { --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 12px 0 24px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease); }
.btn__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .4s var(--ease); }
.btn__ic svg { width: 17px; height: 17px; }
.btn:hover .btn__ic { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost .btn__ic { background: var(--sky); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__ic { background: var(--sky); }
.btn--light:hover { background: var(--sky); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; justify-content: space-between; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(4px); }
[data-theme="dark"] .link-arrow { color: var(--blue-l); }
svg.i { width: 20px; height: 20px; flex: none; }

/* ---------- 5. Photos ---------- */
.pic { position: relative; display: block; overflow: hidden; background: var(--sky); }
.pic picture { display: contents; }
.pic__main { width: 100%; height: 100%; }
.pic--cover { width: 100%; height: 100%; }
.pic--cover .pic__main { object-fit: cover; object-position: var(--pos, 50% 50%); }
.pic--natural { aspect-ratio: var(--ar); }
.pic--natural .pic__main { object-fit: contain; }
.pic--stock .pic__main { object-fit: cover; }

/* ---------- 6. Contact identity: the supplied cat artwork ---------- */
.cat { width: 100%; height: auto; }
.cpair { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.cpair__a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 700; line-height: 1.2; }
.cpair__a .cat { width: 52px; flex: none; transition: transform .45s var(--ease); }
.cpair__a:hover .cat, .cpair__a:focus-visible .cat { transform: rotate(-8deg) scale(1.08); }
.cpair__a small { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.cpair__a:hover span { text-decoration: underline; text-decoration-color: var(--blue); }
[data-theme="dark"] .cpair__a small, .cpair--light .cpair__a small { color: rgba(255, 255, 255, .66); }
.cpair--light .cpair__a { color: #fff; }

/* Desktop dock: fixed lower-right, labels on hover/focus, retreats near forms + footer. */
.dock { position: fixed; right: clamp(14px, 1.6vw, 26px); bottom: clamp(14px, 2vw, 28px); z-index: 60; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), opacity .3s; }
.dock__a { position: relative; display: block; width: 64px; border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(12, 34, 54, .22)); transition: transform .45s var(--ease); }
.dock__a:hover, .dock__a:focus-visible { transform: scale(1.1) rotate(-6deg); }
.dock__lbl { position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; padding: 9px 14px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.2; white-space: nowrap; border-radius: 6px; opacity: 0; transform: translateX(8px) rotate(6deg); transform-origin: right center; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.dock__lbl small { display: block; font-weight: 500; color: rgba(255, 255, 255, .72); font-size: .78rem; }
.dock__a:hover .dock__lbl, .dock__a:focus-visible .dock__lbl { opacity: 1; transform: none; }
.dock-away .dock { transform: translateX(calc(100% + 40px)); opacity: 0; pointer-events: none; }

/* Mobile action bar: Call + WhatsApp (cat artwork) + Book. */
.actionbar { display: none; }
@media (max-width: 899px) {
  .dock { display: none; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 6px; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(12, 34, 54, .07); transition: transform .35s var(--ease); }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; font-weight: 700; font-size: .95rem; text-decoration: none; }
  .actionbar .cat { width: 38px; }
  .actionbar a:active .cat { transform: scale(.92) rotate(-8deg); }
  .actionbar__book { background: var(--blue); color: #fff; }
  .actionbar__book svg { width: 20px; height: 20px; }
  .bar-away .actionbar { transform: translateY(110%); }
}

/* ---------- 7. Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 80; background: rgba(255, 255, 255, .96); transition: box-shadow .3s, background .3s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__bar { display: flex; align-items: center; gap: 24px; height: var(--nav-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); transition: height .45s var(--ease); }
.nav.is-compact .nav__bar { height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 50px; height: auto; transition: width .45s var(--ease); }
.nav.is-compact .brand__mark { width: 40px; }
.brand__word { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__word em { font-style: normal; color: var(--blue); }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: clamp(14px, 1.7vw, 30px); list-style: none; }
.nav__links a { position: relative; display: block; padding: 8px 0; font-weight: 600; font-size: .98rem; text-decoration: none; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__links a[aria-current] { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__sound { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; }
.nav__sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.nav__sound-bars i { width: 2px; background: var(--ink); height: 5px; }
.nav__sound[aria-pressed="true"] .nav__sound-bars i { animation: bars 1.1s ease-in-out infinite; }
.nav__sound-bars i:nth-child(2) { height: 12px; animation-delay: -.3s !important; }
.nav__sound-bars i:nth-child(3) { height: 8px; animation-delay: -.6s !important; }
@keyframes bars { 50% { height: 3px; } }
.nav__menu { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; font-weight: 700; }
.nav__burger { display: grid; gap: 6px; width: 22px; }
.nav__burger i { display: block; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-open .nav__burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1159px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --nav-h: 62px; }
  .nav__book, .nav__sound { display: none; }
  .brand__word { font-size: 1rem; }
  .brand__mark { width: 42px; }
}

.menu { position: fixed; inset: 0; z-index: 70; padding-top: var(--nav-h); background: var(--paper); overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io); }
.menu.is-open { clip-path: inset(0); }
.menu__inner { display: grid; gap: 36px; max-width: var(--maxw); margin-inline: auto; padding: 24px var(--gutter) 48px; }
.menu__list { list-style: none; }
.menu__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; text-decoration: none; transform: translateY(18px); opacity: 0; transition: transform .6s var(--ease), opacity .4s, color .2s; }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu__list li:nth-child(2) a { transition-delay: .04s; } .menu__list li:nth-child(3) a { transition-delay: .08s; } .menu__list li:nth-child(4) a { transition-delay: .12s; }
.menu__list li:nth-child(5) a { transition-delay: .16s; } .menu__list li:nth-child(6) a { transition-delay: .2s; } .menu__list li:nth-child(7) a { transition-delay: .24s; } .menu__list li:nth-child(8) a { transition-delay: .28s; }
.menu__list a[aria-current] { color: var(--blue); }
.menu__meta { margin: 20px 0 0; color: var(--ink-3); font-size: .95rem; }
@media (min-width: 760px) { .menu__inner { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* ---------- 8. Status + hours ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 138, 76, .16); }
.status.is-open { color: var(--ok); }
[data-theme="dark"] .status { color: rgba(255, 255, 255, .78); }
[data-theme="dark"] .status.is-open { color: #7fe0a7; }
.status--big { font-size: 1.05rem; margin-bottom: 14px; }
.hours { list-style: none; }
.hours__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.hours__day { font-weight: 600; }
.hours__time { color: var(--ink-2); }
.hours__row.is-closed .hours__time { color: var(--red); font-weight: 600; }
.hours__row.is-today { position: relative; font-weight: 700; }
.hours__row.is-today .hours__day::after { content: 'Today'; margin-left: 8px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }

/* ---------- 9. Map (supporting, compact) ---------- */
.map { width: 100%; max-width: 420px; }
.map iframe { display: block; width: 100%; height: 240px; border: 0; filter: saturate(.85); background: var(--sky); }
.map figcaption { margin-top: 8px; font-size: .9rem; }
.map figcaption a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.map figcaption svg { width: 15px; height: 15px; }
.map--foot { max-width: 360px; margin-top: 18px; }
.map--foot iframe { height: 200px; filter: grayscale(.2) contrast(1.02); }
[data-theme="dark"] .map figcaption a { color: var(--blue-l); }
@media (max-width: 599px) { .map { max-width: none; } .map iframe { height: 220px; } }

/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; padding-top: var(--nav-h); }
.hero__copy { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(28px, 3vw, 44px); }
.hero__title { font-size: clamp(3rem, 1rem + 5.2vw, 6.9rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; margin-bottom: clamp(18px, 2vw, 28px); }
.hero__l { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__l > span { display: inline-block; }
.hero__l--accent { color: var(--blue); }
.hero__lede { max-width: 40ch; font-size: var(--s-1); color: var(--ink-2); line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.hero__media { position: relative; }
.hero__main { height: 100%; }
.hero__window { position: absolute; overflow: hidden; background: var(--paper); border: 6px solid var(--paper); }
.hero__cyc { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); }
.hero__cyc.is-on { clip-path: inset(0); z-index: 1; }
.hero__cyc.is-out { clip-path: inset(100% 0 0 0); z-index: 2; }
.hero__cyc .pic { height: 100%; }
.hero__cyc figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: var(--paper); font-size: .78rem; font-weight: 700; }
.hero__species { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; padding: 18px var(--gutter); border-top: 1px solid var(--line); }
.hero__species .label { margin: 0; }
.hero__species ul { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; }
.hero__species a { display: inline-block; padding: 6px 0; font-weight: 700; font-size: var(--s-1); text-decoration: none; }
.hero__species a:hover { color: var(--blue); text-decoration: underline; }

@media (max-width: 1023px) {
  .hero__media { order: -1; height: min(56svh, 520px); }
  .hero__window { width: 34%; aspect-ratio: 4 / 5; right: var(--gutter); bottom: -34px; }
  .hero__copy { padding-top: 40px; }
  .hero__species ul { gap: 0 16px; }
  .hero__species a { font-size: 1rem; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: 1fr auto; min-height: min(100svh, 940px); }
  .hero__copy { align-self: center; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-right: 40px; }
  .hero__media { grid-row: 1; grid-column: 2; }
  .hero__window { width: clamp(150px, 15vw, 230px); aspect-ratio: 4 / 5; left: -44px; bottom: 44px; }
  .hero__species { grid-column: 1 / -1; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
}

/* ---------- What the clinic is ---------- */
.intro { padding: var(--pad) 0 var(--pad-s); }
.intro__grid { display: grid; gap: 20px; }
.intro__text { margin: 0; font-size: clamp(1.55rem, 1rem + 2.3vw, 3.15rem); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; text-wrap: pretty; }
.intro__text .w { transition: color .5s; }
.js-motion .intro__text .w { color: #b9c6d3; }
.js-motion .intro__text .w.is-lit, .reveal-all .intro__text .w { color: var(--ink); }
.intro__win { display: inline-block; width: 2.1em; height: .92em; margin: 0 .08em; vertical-align: -.1em; border-radius: 999px; overflow: hidden; }
.intro__win .pic { height: 100%; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(36px, 5vw, 72px) 0 0; border-top: 2px solid var(--ink); }
.facts > div { padding: 20px 20px 0 0; }
.facts dt { font-size: var(--s-4); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.facts dt small { font-size: .5em; letter-spacing: -.02em; color: var(--ink-3); }
.facts dd { margin: 10px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 26ch; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); }
  .intro__grid > .kicker { padding-top: .8em; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (max-width: 899px) { .facts > div:nth-child(n+3) { padding-top: 28px; } }

/* ---------- Care index ---------- */
.care { padding: var(--pad) 0; background: var(--sky); }
.care__grid { display: grid; gap: 40px; }
.care__group + .care__group { margin-top: 38px; }
.care__g { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; font-size: var(--s-2); font-weight: 800; letter-spacing: -.02em; border-bottom: 2px solid var(--ink); }
.care__g small { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.care__list { list-style: none; }
.care__row { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.care__name { font-size: var(--s-1); font-weight: 700; transition: transform .45s var(--ease), color .25s; }
.care__blurb { grid-column: 1; margin-top: 4px; font-size: .95rem; color: var(--ink-2); }
.care__arrow svg { width: 22px; height: 22px; transition: transform .45s var(--ease); }
.care__row:hover .care__name, .care__row:focus-visible .care__name { color: var(--blue); }
.care__row:hover .care__arrow svg { transform: rotate(45deg); color: var(--blue); }
@media (min-width: 1024px) {
  .care__row:hover .care__name, .care__row:focus-visible .care__name, .care__row.is-on .care__name { transform: translateX(10px); }
  .care__row.is-on .care__name { color: var(--blue); }
  .care__row.is-on .care__arrow svg { transform: rotate(45deg); color: var(--blue); }
}
.care__gimg { aspect-ratio: 16 / 9; margin: 14px 0 4px; }
.care__all { margin: 36px 0 0; }
.care__stage { display: none; }
@media (min-width: 1024px) {
  .care__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); }
  .care__gimg { display: none; }
  .care__blurb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .care__row { position: relative; }
  .care__stage { display: block; position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
  .care__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 140px); width: 100%; overflow: hidden; background: var(--sky-2); }
  .care__shot { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--ease-io); }
  .care__shot.is-on { clip-path: inset(0); z-index: 1; }
  .care__shot .pic__main { transform: scale(1.08); transition: transform 1.4s var(--ease); }
  .care__shot.is-on .pic__main { transform: none; }
  .care__caption { margin: 16px 0 0; max-width: 42ch; min-height: 3.2em; font-weight: 600; color: var(--ink-2); }
}

/* ---------- Exotic / species journey (dark) ---------- */
.exo { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.exo__pin { padding: var(--pad) 0 var(--pad-s); }
.exo__head { display: grid; gap: 18px 60px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.exo__intro { max-width: 44ch; color: rgba(255, 255, 255, .78); margin: 0; }
.exo__track { display: flex; gap: clamp(18px, 3vw, 56px); padding: 6px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; overscroll-behavior-x: contain; }
.exo__track:focus-visible { outline-offset: -4px; }
.sp { position: relative; flex: none; width: min(78vw, 400px); scroll-snap-align: start; }
.sp__a { position: relative; aspect-ratio: 4 / 5; }
.sp__b { position: absolute; z-index: 1; width: 42%; aspect-ratio: 1; right: -14px; top: 18px; border: 5px solid var(--navy); }
.sp__text { padding-top: 16px; }
.sp__name { font-size: var(--s-3); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.sp__text p { font-size: .95rem; color: rgba(255, 255, 255, .78); margin-bottom: 10px; max-width: 36ch; }
.sp__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sp__links a:not(.link-arrow) { color: #fff; font-weight: 600; }
.sp--end { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.sp--end .display { font-size: var(--s-3); }
.exo__rail { display: none; }
/* Composition changes subtly from species to species: the second photo moves, the text trades places. */
@media (min-width: 900px) {
  .exo__head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .exo__track { gap: clamp(56px, 6vw, 110px); }
  .sp { width: clamp(320px, 30vw, 460px); }
  .sp__a { aspect-ratio: auto; height: min(56svh, 600px); }
  .sp__name { font-size: var(--s-4); }
  .sp--2 { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
  .sp--2 .sp__text { padding: 0 0 18px; }
  .sp--2 .sp__b { top: auto; bottom: 22px; right: auto; left: -30px; }
  .sp--3 .sp__b { top: 38%; right: -44px; width: 50%; aspect-ratio: 4 / 3; }
  .sp--3 .sp__text { padding-top: 34px; max-width: 80%; }
}
/* Pinned horizontal journey (desktop + motion): motion.js drives the track. */
@media (min-width: 1024px) {
  .exo-pinned .exo__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 22px) 0 24px; }
  .exo-pinned .exo__head { margin-bottom: clamp(16px, 2.6vh, 34px); }
  .exo-pinned .exo__head .display--xl { font-size: clamp(2.2rem, .8rem + 3.6vw, 4.4rem); }
  .exo-pinned .exo__intro { font-size: .95rem; }
  .exo-pinned .exo__track { overflow: visible; scroll-snap-type: none; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-top: 26px; will-change: transform; }
  .exo-pinned .sp__a { height: min(40svh, 480px); }
  .exo-pinned .sp__name { font-size: var(--s-3); }
  .exo-pinned .exo__rail { display: flex; gap: 22px; list-style: none; max-width: var(--maxw); width: 100%; margin: clamp(14px, 2.4vh, 28px) auto 0; padding-inline: var(--gutter); font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .45); }
  .exo__rail li { position: relative; padding-top: 12px; transition: color .3s; }
  .exo__rail li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .18); }
  .exo__rail li.is-on { color: #fff; }
  .exo__rail li.is-on::before { background: var(--blue-l); }
}

/* ---------- Diagnostics ---------- */
.dx { padding: var(--pad) 0; }
.dx__grid { display: grid; gap: 28px var(--gutter); padding-inline: var(--gutter); max-width: calc(var(--maxw) + 200px); margin-inline: auto; }
.dx__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.dx__frame figcaption { position: absolute; right: 0; bottom: 0; padding: 7px 12px; background: var(--paper); font-size: .8rem; font-weight: 600; }
.dx__scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; transform: translateY(-110%); background: linear-gradient(180deg, rgba(23, 105, 209, 0) 0%, rgba(23, 105, 209, .22) 88%, rgba(143, 192, 255, .95) 100%); pointer-events: none; mix-blend-mode: multiply; }
.dx__tags { position: absolute; inset: 0; list-style: none; pointer-events: none; }
.dx__tags li { position: absolute; left: var(--x); top: var(--y); padding: 6px 10px 6px 22px; background: rgba(255, 255, 255, .94); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.dx__tags li::before { content: ''; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--blue); }
.js-motion .dx__tags li { opacity: 0; transform: translateY(8px); transition: opacity .5s calc(.35s + var(--i) * .22s), transform .6s var(--ease) calc(.35s + var(--i) * .22s); }
.is-scanned .dx__tags li, .reveal-all .dx__tags li { opacity: 1; transform: none; }
.is-scanning .dx__scan { animation: scan 1.9s var(--ease-io) forwards; }
@keyframes scan { to { transform: translateY(560%); } }
.dx__list { list-style: none; margin-top: 26px; border-top: 2px solid var(--ink); }
.dx__list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.dx__list strong { font-size: var(--s-1); }
.dx__list span { grid-column: 1; color: var(--ink-2); font-size: .95rem; }
.dx__list svg { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 20px; height: 20px; color: var(--blue); transition: transform .35s var(--ease); }
.dx__list a:hover strong { color: var(--blue); }
.dx__list a:hover svg { transform: translateX(5px); }
.dx__side { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) {
  .dx__grid { grid-template-columns: 1fr 1fr; }
  .dx__frame, .dx__copy { grid-column: 1 / -1; }
  .dx__frame { margin-inline: calc(var(--gutter) * -1); }
}
@media (min-width: 1024px) {
  .dx__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; padding-left: 0; align-items: start; }
  .dx__frame { grid-row: 1 / 3; aspect-ratio: auto; height: min(78svh, 720px); }
  .dx__copy { padding-top: 10px; }
  .dx__side--a { display: none; }
  .dx__side--b { width: 62%; aspect-ratio: 4 / 3; justify-self: end; }
}

/* ---------- Surgery iris band ---------- */
.iris { position: relative; min-height: min(96svh, 880px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.iris__img { position: absolute; inset: 0; clip-path: circle(var(--r, 150%) at 70% 45%); }
.iris__img .pic { height: 100%; }
.iris__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 36, .9) 0%, rgba(8, 22, 36, .55) 50%, rgba(8, 22, 36, .1) 100%), linear-gradient(0deg, rgba(8, 22, 36, .75), transparent 55%); }
.iris__copy { position: relative; padding-block: var(--pad); }
.iris__copy > p { max-width: 46ch; color: rgba(255, 255, 255, .85); font-size: var(--s-1); }
.iris__copy .display { margin-bottom: 20px; }
.iris__list { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin-top: 26px; max-width: 900px; border-top: 1px solid var(--line-d); }
.iris__list li { width: 50%; border-bottom: 1px solid var(--line-d); }
.iris__list a { display: block; padding: 13px 16px 13px 0; font-weight: 700; text-decoration: none; }
.iris__list a:hover { color: var(--blue-l); }
@media (min-width: 900px) { .iris__list li { width: 33.333%; } }

/* ---------- Doctors ---------- */
.drs { padding: var(--pad) 0; }
.dr { display: grid; gap: 26px; }
.dr + .dr { margin-top: clamp(56px, 8vw, 120px); }
.dr__img { aspect-ratio: 4 / 5; max-height: 84svh; }
.dr__name { font-size: var(--s-5); font-weight: 800; letter-spacing: -.04em; line-height: .95; margin: 10px 0 16px; }
.dr__creds { font-weight: 700; font-size: var(--s-1); line-height: 1.4; }
.dr__body > p:not(.dr__creds):not(.label):not(.dr__focus) { color: var(--ink-2); max-width: 52ch; }
.dr__focus { padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.dr__focus .label { margin-right: 10px; }
.dr__second { display: none; }
.drs__team { display: grid; grid-template-columns: 80px 1fr; gap: 10px 22px; align-items: center; margin-top: clamp(48px, 6vw, 88px); padding-top: 24px; border-top: 2px solid var(--ink); }
.drs__tech { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; }
.drs__team p { margin: 0; color: var(--ink-2); }
.drs__team strong { color: var(--ink); }
.drs__team .link-arrow { grid-column: 2; }
@media (min-width: 900px) {
  .dr { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
  .dr--flip .dr__img { order: 2; }
  .drs__team { grid-template-columns: 80px 1fr auto; }
  .drs__team .link-arrow { grid-column: 3; }
}

/* ---------- Care journey ---------- */
.jr { padding: var(--pad) 0; background: var(--sky); }
.jr__grid { display: grid; gap: 40px; }
.jr__stage { display: none; }
.jr__steps { position: relative; list-style: none; }
.jr__line { display: none; }
.jr__step { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.jr__n { font-size: var(--s-4); font-weight: 800; letter-spacing: -.04em; line-height: .9; color: var(--blue); min-width: 1.6em; }
.jr__t { font-size: var(--s-2); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.jr__txt p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.jr__inline { grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-top: 16px; }
@media (min-width: 1024px) {
  .jr__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); }
  .jr__stage { display: block; position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
  .jr__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 60px); overflow: hidden; background: var(--sky-2); }
  .jr__shot { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease-io); }
  .jr__shot.is-on { clip-path: inset(0); z-index: 1; }
  .jr__shot .pic__main { transform: scale(1.1); transition: transform 1.6s var(--ease); }
  .jr__shot.is-on .pic__main { transform: none; }
  .jr__inline { display: none; }
  .jr__steps { padding-left: 36px; }
  .jr__line { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
  .jr__line i { display: block; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .jr__step { min-height: 44svh; align-content: center; border-top: 0; padding: 40px 0; }
  .js-motion .jr__step { opacity: .35; transition: opacity .5s; }
  .js-motion .jr__step.is-on, .reveal-all .jr__step { opacity: 1; }
}

/* ---------- Words ---------- */
.words { padding: var(--pad) 0 var(--pad-s); }
.words__grid { display: grid; gap: 30px 60px; margin-top: 10px; }
.quote { margin: 0; }
.quote p { margin: 0 0 14px; font-size: var(--s-1); font-weight: 600; line-height: 1.45; }
.quote--lead p { font-size: var(--s-3); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-wrap: pretty; }
.quote footer { font-weight: 700; }
.quote footer span { font-weight: 500; color: var(--ink-3); }
.words__rest { display: grid; gap: 28px; }
.words__rest .quote { padding-top: 20px; border-top: 1px solid var(--line); }
.words__links { margin: 36px 0 0; color: var(--ink-3); }
.words__links a { color: var(--blue); font-weight: 600; }
@media (min-width: 900px) { .words__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---------- On camera (reels) ---------- */
.cam { padding: var(--pad-s) 0 var(--pad); }
.cam__grid { display: grid; gap: 32px; }
.cam__head p { color: var(--ink-2); max-width: 36ch; }
.cam__reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.vreel { scroll-snap-align: start; }
.vreel__frame { position: relative; aspect-ratio: 9 / 16; background: var(--navy); overflow: hidden; }
.vreel video { width: 100%; height: 100%; object-fit: cover; }
.vreel__sound { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .85rem; font-weight: 700; }
.vreel__sound svg { width: 16px; height: 16px; }
.vreel__sound[aria-pressed="true"] svg { transform: rotate(45deg); }
.vreel figcaption { padding-top: 10px; font-weight: 600; line-height: 1.35; }
.vreel figcaption .label { display: block; margin-bottom: 2px; }
@media (min-width: 1024px) { .cam__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: end; } }

/* ---------- Blog on home ---------- */
.jot { padding: var(--pad) 0; border-top: 1px solid var(--line); }
.jot__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.jot__grid { display: grid; gap: 36px; }
.jot__lead { text-decoration: none; }
.jot__lead figure { aspect-ratio: 3 / 2; margin-bottom: 16px; overflow: hidden; }
.jot__lead .pic__main { transition: transform 1.2s var(--ease); }
.jot__lead:hover .pic__main { transform: scale(1.04); }
.jot__lead h3 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 8px 0 10px; }
.jot__lead:hover h3 { color: var(--blue); }
.jot__lead p { color: var(--ink-2); max-width: 56ch; }
.jot__rows { list-style: none; border-top: 2px solid var(--ink); }
.jot__rows a { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.jot__rows strong { font-size: var(--s-1); line-height: 1.3; }
.jot__rows a:hover strong { color: var(--blue); }
.jot__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-3); }
.jot__meta svg { width: 15px; height: 15px; }
@media (min-width: 1024px) { .jot__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 90px); } }

/* ---------- Find the clinic ---------- */
.visit { padding: var(--pad) 0; }
.visit__grid { display: grid; gap: 40px; }
.visit__where .display { margin-bottom: 22px; }
.addr { display: grid; gap: 2px; }
.addr strong { font-size: 1rem; margin-bottom: 6px; color: var(--ink-2); }
.addr span { font-size: var(--s-2); font-weight: 800; letter-spacing: -.02em; line-height: 1.22; }
.addr span.muted { margin-top: 8px; font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.visit__cta { margin-top: 24px; }
.visit__areas { margin: 22px 0 0; color: var(--ink-2); }
.visit__areas .label { display: block; margin-bottom: 4px; }
.visit__mail { margin-top: 16px; }
.visit__mail a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.visit__hours .label { margin-bottom: 10px; display: block; }
.visit__hours > .muted { margin-top: 16px; font-size: .92rem; }
.visit__aids { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; }
.visit__sign { max-width: 420px; }
.visit__sign .pic { aspect-ratio: 4 / 3; }
.visit__sign figcaption { margin-top: 8px; font-size: .9rem; color: var(--ink-3); }
.visit--page { padding-top: var(--pad-s); }
@media (min-width: 900px) { .visit__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); } .visit__aids { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 420px)); } }
@media (min-width: 1200px) { .visit__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3.4fr) minmax(0, 3.6fr); } .visit__aids { grid-column: auto; grid-template-columns: 1fr; } }

/* ---------- Appointment ---------- */
.book { padding: var(--pad) 0; background: var(--sky); }
.book__grid { display: grid; gap: 36px; }
.book__head p:not(.kicker) { color: var(--ink-2); max-width: 40ch; margin-top: 16px; }
.bk { display: grid; gap: 28px; }
.bk__progress { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin-bottom: 22px; font-size: .88rem; font-weight: 700; color: var(--ink-3); }
.bk__progress li { display: flex; align-items: center; }
.bk__progress li + li::before { content: ''; width: 22px; height: 1px; margin: 0 10px; background: var(--line-2); }
.bk__progress li.is-on { color: var(--blue); }
.bk__progress li.is-done { color: var(--ink); }
.bk__progress li.is-done::after { content: '✓'; margin-left: 6px; color: var(--ok); }
.bk__step { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.bk__q { padding: 0; margin-bottom: 18px; font-size: var(--s-3); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.bk-stepped .bk__step:not(.is-on) { display: none; }
.bk:not(.bk-stepped) .bk__nav { display: none; }
.bk__nav { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.bk__back { min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; }
.bk__sub { margin: 18px 0 8px; font-weight: 700; font-size: .9rem; }
.bk__hint { margin: 14px 0 0; font-size: .9rem; color: var(--ink-2); }
.bk__err { margin: 8px 0 0; color: #b3261e; font-weight: 600; font-size: .92rem; }
.bk__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: .5em 1.1em; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; text-decoration: line-through; }
.chip--slot span { min-height: 42px; font-size: .92rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .95rem; }
.field small { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 209, .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-row { display: grid; gap: 0 16px; }
.bk__preview { align-self: start; }
.bk__preview .label { margin-bottom: 10px; }
.bk__msg { position: relative; min-height: 150px; padding: 16px 18px; margin-bottom: 16px; background: #fff; border-radius: 4px 14px 14px 14px; white-space: pre-wrap; font-size: .95rem; line-height: 1.5; box-shadow: 0 1px 0 var(--line); }
.bk__note { margin: 14px 0 0; font-size: .9rem; color: var(--ink-2); }
.bk__note a { color: var(--blue); font-weight: 600; }
.cpair--book { margin-top: 26px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .book__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 90px); }
  .book__head { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
  .bk { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
  .bk__preview { position: sticky; top: calc(var(--nav-h) + 28px); }
}

/* ---------- FAQ ---------- */
.qfaq { padding: var(--pad) 0; }
.qfaq__grid { display: grid; gap: 20px 60px; }
.qfaq__more { margin: 26px 0 0; }
@media (min-width: 900px) { .qfaq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; list-style: none; font-weight: 700; font-size: var(--s-1); line-height: 1.35; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue); }
.faq__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; }
.faq__ic svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
details[open] > summary .faq__ic svg { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px; max-width: 70ch; color: var(--ink-2); }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a a { color: var(--blue); font-weight: 600; }

/* ---------- Footer: final conversion screen ---------- */
.foot { background: var(--navy); color: #fff; padding: var(--pad) 0 28px; }
.foot__final { display: grid; gap: 34px; padding-bottom: var(--pad-s); }
.foot__big { margin: 0; font-size: clamp(2.6rem, 1.2rem + 5vw, 6.4rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.foot__acts { list-style: none; border-top: 1px solid var(--line-d); }
.foot__acts a { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: var(--s-2); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.foot__acts a > svg { width: 26px; height: 26px; margin-left: auto; transition: transform .4s var(--ease); }
.foot__acts .cat { width: 50px; flex: none; transition: transform .45s var(--ease); }
.foot__acts a:hover { color: var(--blue-l); }
.foot__acts a:hover > svg { transform: translateX(6px); }
.foot__acts a:hover .cat { transform: rotate(-8deg) scale(1.06); }
.foot__info { display: grid; gap: 34px 40px; padding-block: var(--pad-s); border-top: 1px solid var(--line-d); }
.foot .label { display: block; margin-bottom: 12px; }
.foot .addr span { font-size: var(--s-1); }
.foot .addr strong { color: rgba(255, 255, 255, .7); }
.foot__where p { margin-top: 14px; }
.foot__col p { color: rgba(255, 255, 255, .82); }
.foot__list { list-style: none; }
.foot__list li { margin-bottom: 6px; }
.foot__list a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot__list a:hover { color: #fff; text-decoration: underline; }
.foot__social { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; }
.foot__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.foot__social svg { width: 20px; height: 20px; }
@media (max-width: 599px) { .foot__col--care { display: none; } }
.foot__legal { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .85rem; color: rgba(255, 255, 255, .6); }
.foot__legal p { margin: 0; }
.foot__credit a { color: #fff; font-weight: 700; text-underline-offset: .2em; }
.foot__credit a:hover { color: var(--blue-l); }
@media (min-width: 900px) {
  .foot__legal { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; }
  .foot__credit { grid-column: 2; grid-row: 1 / span 2; align-self: end; text-align: right; }
}
@media (min-width: 900px) {
  .foot__final { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .foot__info { grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 2.6fr) minmax(0, 2.6fr); }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .88rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phead { padding: calc(var(--nav-h) + clamp(28px, 4vw, 64px)) 0 var(--pad-s); }
.phead__grid { display: grid; gap: 32px; align-items: end; }
.phead__copy { max-width: 900px; }
.phead__lead { margin-top: 20px; font-size: var(--s-1); color: var(--ink-2); max-width: 48ch; }
.phead__lead a { color: var(--blue); font-weight: 600; }
.phead__img { aspect-ratio: 4 / 3; }
.phead .status { margin-top: 18px; }
@media (min-width: 1024px) {
  .phead--img .phead__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 90px); }
  .phead__img { aspect-ratio: 4 / 5; max-height: 72svh; }
}

/* Tabs (gallery, blog filters, FAQ jump) */
.tabs { display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; position: relative; display: inline-flex; align-items: baseline; gap: 4px; min-height: 48px; padding: 12px 0; border: 0; background: none; font-weight: 700; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.tab sup { font-size: .7em; font-weight: 600; }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); }
.tab.is-on::after { transform: scaleX(1); }
.tabs--sticky { position: sticky; top: 60px; z-index: 10; background: rgba(255, 255, 255, .97); }

.search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 420px; border-bottom: 2px solid var(--ink); }
.search svg { width: 20px; height: 20px; color: var(--ink-3); }
.search input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; font-size: 1.05rem; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--blue); }
.search--lg { margin-top: 28px; max-width: 560px; }
.search__status { min-height: 1.5em; font-size: .92rem; }

/* Services hub */
.hub { padding-bottom: var(--pad); }
.hub-jump { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin-top: 28px; }
.hub-jump a { font-weight: 700; color: var(--blue); }
.hub-jump small { color: var(--ink-3); font-weight: 600; }
.hub__group { display: grid; gap: 22px; padding: var(--pad-s) 0; border-top: 2px solid var(--ink); }
.hub__img { aspect-ratio: 16 / 10; }
.hub__ghead { margin-bottom: 14px; }
.hub__ghead .label { margin-bottom: 6px; }
.hub__rows { list-style: none; }
.hub__rows a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.hub__rows strong { font-size: var(--s-2); letter-spacing: -.02em; }
.hub__rows span { grid-column: 1; color: var(--ink-2); }
.hub__rows svg { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 24px; height: 24px; transition: transform .4s var(--ease); }
.hub__rows a:hover strong { color: var(--blue); }
.hub__rows a:hover svg { transform: rotate(45deg); color: var(--blue); }
.hub__facts { margin: 22px 0 0; }
.hub__facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hub__facts dt { font-weight: 700; }
.hub__facts dd { margin: 0; color: var(--ink-2); }
.hub__note { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--ink-2); }
.hub__note a { color: var(--blue); font-weight: 600; }
/* Photo size follows the amount of content: it stretches to the list's height (never taller than the list),
   with a sensible floor so a one-service group gets a compact landscape frame, not a towering portrait. */
@media (min-width: 1024px) {
  .hub__group { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 90px); align-items: stretch; }
  .hub__group--flip .hub__img { order: 2; }
  .hub__img { aspect-ratio: auto; min-height: 300px; max-height: 640px; height: 100%; }
}

/* Service page */
.svc__hero { padding: calc(var(--nav-h) + clamp(24px, 3.5vw, 56px)) 0 var(--pad-s); }
.svc__hero-grid { display: grid; gap: 32px; align-items: center; }
.svc__hero .display--page { font-size: var(--s-4); max-width: 20ch; }
.svc__lead { margin-top: 18px; font-size: var(--s-1); color: var(--ink-2); max-width: 50ch; }
.svc__cta { margin-top: 24px; }
.svc__review { display: block; margin-top: 22px; font-size: .9rem; color: var(--ink-3); }
.svc__review svg { display: inline-block; vertical-align: -3px; margin-right: 6px; width: 16px; height: 16px; color: var(--ok); }
.svc__review a { color: var(--ink-2); font-weight: 600; }
.svc__hero-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc__hero-img[data-scan] .dx__scan { height: 26%; }
.svc__grid { display: grid; gap: 48px; padding-bottom: var(--pad); }
.svc__reel { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); gap: 16px; margin-bottom: 36px; }
.svc__faq { margin-top: 48px; }
.svc__faq h2 { margin-bottom: 14px; }
.svc__posts { padding-bottom: var(--pad); }
.svc__posts h2 { margin-bottom: 18px; }
.rail { align-self: start; }
.rail__sec { padding: 22px 0; border-top: 2px solid var(--ink); }
.rail__sec + .rail__sec { border-top-width: 1px; border-top-color: var(--line-2); }
.rail__sec .label { display: block; margin-bottom: 10px; }
.rail__big { font-size: var(--s-2); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.rail__call { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; }
.rail__sec p { color: var(--ink-2); }
.rail__sec .status { margin-bottom: 10px; }
.rail__links { list-style: none; }
.rail__links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.rail__links a:hover { color: var(--blue); }
.rail__links svg { width: 17px; height: 17px; }
@media (min-width: 1024px) {
  .svc__hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 90px); }
  .svc__hero-img { aspect-ratio: 5 / 4; max-height: 60svh; }
  .svc__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3.4fr); gap: clamp(40px, 6vw, 110px); }
  .rail { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* About */
.tl { padding-bottom: var(--pad-s); }
.tl__list { display: grid; gap: 22px; list-style: none; border-top: 2px solid var(--ink); }
.tl__list li { padding-top: 18px; }
.tl__y { display: block; font-size: var(--s-3); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.tl__list p { color: var(--ink-2); max-width: 40ch; margin: 0; }
@media (min-width: 900px) { .tl__list { grid-template-columns: repeat(3, 1fr); } .tl__list li + li { padding-left: 24px; border-left: 1px solid var(--line); } }
.drs--page { padding-block: var(--pad-s) var(--pad); }
.dr--page .dr__second { display: block; width: 44%; aspect-ratio: 1; margin-top: 26px; }
.dr__lists { margin-top: 22px; }
.creds { border-top: 1px solid var(--line-2); }
.creds:last-child { border-bottom: 1px solid var(--line-2); }
.creds summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; list-style: none; cursor: pointer; }
.creds summary::-webkit-details-marker { display: none; }
.creds summary .faq__ic { margin-left: auto; }
.creds ul { padding: 0 0 16px 1.1em; color: var(--ink-2); font-size: .95rem; }
.creds li { margin: 4px 0; }
.team { padding: var(--pad) 0; background: var(--sky); }
.team__grid { display: grid; gap: 30px 60px; align-items: center; }
.team__m { display: grid; gap: 20px; }
.team__m figure { aspect-ratio: 3 / 2; }
.team__m h3 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 10px; }
.team__m p { color: var(--ink-2); }
@media (min-width: 900px) { .team__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .team__m { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; } }
.band { padding: var(--pad) 0; background: var(--navy); color: #fff; }
.band__grid { display: grid; gap: 28px 60px; align-items: end; }
.band p { color: rgba(255, 255, 255, .82); max-width: 44ch; }
.band__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
@media (min-width: 900px) { .band__grid { grid-template-columns: 1.2fr 1fr; } }

/* Gallery: sequenced archive */
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 10px; padding-bottom: var(--pad); }
.gal__item { position: relative; margin: 0; }
.gal__item--tall { aspect-ratio: 4 / 5; }
.gal__item--wide, .gal__item--full { grid-column: span 2; aspect-ratio: 3 / 2; }
.gal__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; overflow: hidden; }
.gal__btn .pic__main { transition: transform 1s var(--ease); }
.gal__btn:hover .pic__main, .gal__btn:focus-visible .pic__main { transform: scale(1.04); }
.gal__btn:focus-visible { outline-offset: -3px; }
.gal__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(0deg, rgba(8, 22, 36, .78), transparent); color: #fff; font-size: .85rem; line-height: 1.35; pointer-events: none; opacity: 0; transition: opacity .3s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gal__item figcaption .label { color: var(--blue-l); display: block; }
.gal__item:hover figcaption, .gal__item:focus-within figcaption { opacity: 1; }
@media (hover: none) { .gal__item figcaption { opacity: 1; font-size: 0; padding-top: 22px; } .gal__item figcaption .label { font-size: .7rem; } }
@media (min-width: 768px) {
  .gal { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
  .gal__item--tall { grid-column: span 4; }
  .gal__item--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
  .gal__item--full { grid-column: span 12; aspect-ratio: 21 / 9; }
}
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(6, 18, 30, .95); color: #fff; }
.lightbox__fig { grid-column: 2; display: grid; justify-items: center; gap: 14px; margin: 0; }
.lightbox__fig img { max-width: 100%; max-height: 78svh; width: auto; object-fit: contain; }
.lightbox__fig figcaption { max-width: 62ch; text-align: center; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.lightbox button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, .16); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__nav--prev { grid-column: 1; justify-self: center; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
.lightbox__nav--next { grid-column: 3; justify-self: center; }
.lightbox__count { position: absolute; top: 26px; left: 22px; margin: 0; font-weight: 700; font-size: .9rem; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 8px 90px; }
  .lightbox__fig { grid-column: 1; }
  .lightbox__nav { position: absolute; bottom: 22px; }
  .lightbox__nav--prev { left: 22%; } .lightbox__nav--next { right: 22%; }
}

/* Blog index: feature + rows */
.feat { display: grid; gap: 22px; padding-bottom: var(--pad-s); text-decoration: none; }
.feat__img { aspect-ratio: 3 / 2; overflow: hidden; }
.feat__img .pic__main { transition: transform 1.2s var(--ease); }
.feat:hover .feat__img .pic__main { transform: scale(1.03); }
.feat__body h2 { margin: 10px 0 14px; }
.feat:hover h2 { color: var(--blue); }
.feat__body p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 900px) { .feat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(30px, 4vw, 70px); } }
.listbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; border-top: 2px solid var(--ink); padding-top: 6px; }
.listbar .tabs { border: 0; margin: 0; flex: 1 1 520px; }
.listbar .search { flex: 0 1 320px; margin-bottom: 4px; }
.rows { border-top: 1px solid var(--line-2); }
.rows--index { margin-top: 8px; }
.row { display: grid; grid-template-columns: 88px 1fr; grid-template-areas: 'img cat' 'img main' 'img meta'; gap: 2px 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; align-items: start; }
.row__img { grid-area: img; aspect-ratio: 1; overflow: hidden; }
.row__img .pic__main { transition: transform .9s var(--ease); }
.row__cat { grid-area: cat; }
.row__main { grid-area: main; display: grid; gap: 4px; }
.row__t { font-size: var(--s-1); line-height: 1.28; }
.row__sum { display: none; color: var(--ink-2); font-size: .95rem; }
.row__meta { grid-area: meta; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-3); }
.row__meta svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.row:hover .row__t { color: var(--blue); }
.row:hover .row__img .pic__main { transform: scale(1.06); }
.row:hover .row__meta svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .row { grid-template-columns: 10.5rem 9rem minmax(0, 1fr) 5.5rem; grid-template-areas: 'img cat main meta'; gap: 0 28px; padding: 22px 0; align-items: center; }
  .row__img { aspect-ratio: 4 / 3; }
  .row__sum { display: block; }
  .row__meta { justify-self: end; }
}
.listing-more { display: flex; justify-content: center; padding: 36px 0 var(--pad); }

/* Post */
.post__progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 3px; pointer-events: none; }
.post__progress span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.post__head { padding-top: calc(var(--nav-h) + clamp(24px, 3.5vw, 56px)); padding-bottom: clamp(24px, 3vw, 40px); }
.post__head .display { max-width: 20ch; }
.post__intro { display: grid; gap: 20px 60px; margin-top: 26px; align-items: end; }
.post__summary { margin: 0; font-size: var(--s-1); color: var(--ink-2); max-width: 56ch; }
.post__meta { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .92rem; color: var(--ink-3); }
.post__meta a { color: var(--ink); font-weight: 700; }
.post__by { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
@media (min-width: 900px) { .post__intro { grid-template-columns: minmax(0, 1fr) auto; } }
.post__cover { margin: 0 0 var(--pad-s); }
.post__cover > .pic { height: min(62svh, 620px); }
.post__cover figcaption { padding-top: 10px; font-size: .85rem; color: var(--ink-3); }
@media (max-width: 767px) { .post__cover > .pic { height: auto; aspect-ratio: 4 / 3; } }
.post__grid { display: grid; gap: 32px; padding-bottom: var(--pad-s); }
.post__toc { font-size: .92rem; }
.post__toc ol { list-style: none; margin-top: 10px; border-left: 2px solid var(--line); }
.post__toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.post__toc a:hover { color: var(--ink); }
.post__toc a.is-on { color: var(--blue); border-left-color: var(--blue); font-weight: 700; }
@media (max-width: 1023px) { .post__toc { display: none; } }
@media (min-width: 1024px) {
  .post__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 90px); }
  .post__toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; max-height: calc(100svh - var(--nav-h) - 60px); overflow-y: auto; }
}
.post__cta { padding: var(--pad-s) 0; background: var(--navy); color: #fff; }
.post__cta-grid { display: grid; gap: 22px 60px; align-items: center; }
.post__cta-big { margin: 0; font-size: var(--s-3); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; max-width: 22ch; }
.post__cta-svc { margin: 16px 0 0; color: rgba(255, 255, 255, .78); }
.post__cta-svc a { color: #fff; font-weight: 700; }
@media (min-width: 900px) { .post__cta-grid { grid-template-columns: 1.2fr 1fr; } }
.post__related { padding-block: var(--pad-s) var(--pad); }
.post__related h2 { margin-bottom: 18px; }

/* Prose (blog posts + service bodies) */
.prose { color: var(--ink-2); font-size: var(--s-0); }
.prose > * { max-width: 68ch; }
.prose h2 { font-size: var(--s-2); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin: 1.7em 0 .5em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { font-size: var(--s-1); font-weight: 800; color: var(--ink); margin: 1.4em 0 .4em; }
.prose h4 { font-size: 1rem; font-weight: 800; color: var(--ink); margin: 1.4em 0 .4em; }
.prose > h2:first-child, .prose > h3:first-child, .prose > .svc__reel + h2 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--blue); font-weight: 600; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7em .9em .7em 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 3px solid var(--blue); font-size: var(--s-1); font-weight: 600; color: var(--ink); }
.prose img { margin: 1.5em 0; }
.prose .chips { list-style: none; padding: 0; gap: 8px; }
.prose .chips li { margin: 0; padding: .4em .9em; border: 1px solid var(--line-2); border-radius: 999px; font-size: .92em; color: var(--ink); }
.prose .note, .note { display: block; padding: 1.1em 1.3em; margin: 1.6em 0; background: var(--sky); border-left: 3px solid var(--blue); color: var(--ink); }
.prose .note h3, .prose .note h4 { margin-top: 0; }
.note--warn { background: #fff6e8; border-left-color: #c77700; }
/* Legacy blog callouts (present in 185 posts) */
.prose .post-warning { padding: 1em 1.2em; margin: 1.6em 0; background: #fff6e8; border-left: 3px solid #c77700; color: var(--ink); }
.prose .post-highlight { padding: 1em 1.2em; margin: 1.6em 0; background: var(--sky); border-left: 3px solid var(--blue); color: var(--ink); font-weight: 600; }
.prose .post-quickfacts { margin: 1.6em 0; padding: 1em 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.prose .post-quickfacts h4, .prose .qf-h { margin: 0 0 .4em; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.prose .post-quickfacts table { margin: 0; display: table; }
.prose .post-quickfacts td:first-child { width: 36%; font-weight: 700; color: var(--ink); }
.prose .post-quickfacts tr:last-child td { border-bottom: 0; }
.prose .myth-cell { color: #9c2a1c; }
.prose .fact-cell { color: #17613a; }

/* FAQ page */
.faqs { padding-bottom: var(--pad-s); }
.faqg { padding: 40px 0 20px; scroll-margin-top: calc(var(--nav-h) + 70px); }
.faqg__head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.faqg__img { width: clamp(72px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: none; }
.faqg__head p { margin: 4px 0 0; }
.faqs__cta { padding: 20px 0 var(--pad); }

/* 404 */
.page-404 main { padding-top: var(--nav-h); }
.nf { display: grid; gap: 32px; padding-block: var(--pad); align-items: center; }
.nf__img { aspect-ratio: 4 / 5; max-width: 420px; }
.nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .nf { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

.notice { position: relative; z-index: 90; padding: 10px var(--gutter); background: var(--ink); color: #fff; text-align: center; font-weight: 600; font-size: .92rem; }
.notice a { color: #fff; }

/* ==========================================================================
   MOTION STATES (motion.js adds .is-in etc.; .reveal-all is the fail-safe)
   ========================================================================== */
/* Page transition curtain */
.transition { position: fixed; inset: 0; z-index: 250; background: var(--sky); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.transition.is-in { transform: scaleY(1); transition: transform .42s var(--ease-io); }
.pt-enter .transition { transform: scaleY(1); }
.transition.is-leave { transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-io); }

/* Hero entrance: title lines rise out of their masks; the main photo unmasks upward. */
.js-motion .hero__l > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js-motion .hero__l:nth-child(2) > span { transition-delay: .08s; }
.js-motion .hero__l:nth-child(3) > span { transition-delay: .16s; }
.js-motion [data-hero-in] { opacity: 0; transition: opacity .8s .35s; }
.js-motion [data-hero-main] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io) .05s; }
.js-motion [data-hero-main] .pic__main { transform: scale(1.12); transition: transform 1.8s var(--ease) .05s; }
.js-motion .hero__window { clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease-io) .7s; }
.is-loaded .hero__l > span, .reveal-all .hero__l > span { transform: none; }
.is-loaded [data-hero-in], .reveal-all [data-hero-in] { opacity: 1; }
.is-loaded [data-hero-main], .reveal-all [data-hero-main] { clip-path: inset(0); }
.is-loaded [data-hero-main] .pic__main, .reveal-all [data-hero-main] .pic__main { transform: none; }
.is-loaded .hero__window, .reveal-all .hero__window { clip-path: inset(0); }

/* Masked photo reveals: direction set per element (up / left / right). */
.js-motion [data-mask] { transition: clip-path 1.2s var(--ease-io); }
.js-motion [data-mask] .pic__main { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.js-motion [data-mask="up"] { clip-path: inset(100% 0 0 0); }
.js-motion [data-mask="left"] { clip-path: inset(0 100% 0 0); }
.js-motion [data-mask="right"] { clip-path: inset(0 0 0 100%); }
.js-motion [data-mask].is-in, .reveal-all [data-mask] { clip-path: inset(0); }
.js-motion [data-mask].is-in .pic__main, .reveal-all [data-mask] .pic__main { transform: none; }

/* Species panels: images wipe in as each panel reaches the viewport centre. */
.js-motion .exo-pinned [data-sp-img] { clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease-io); }
.js-motion .exo-pinned [data-sp].is-in [data-sp-img] { clip-path: inset(0); }
.js-motion .exo-pinned [data-sp].is-in .sp__b { transition-delay: .15s; }

/* Paw language: cursor (desktop) + short-lived prints (pooled in core.js). */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url('/images/ui/paw-cursor-shivraj.svg') 7 4, auto; }
  a, button, summary, label, [role="button"], .chip span, select, input[type="date"], input[type="radio"] { cursor: url('/images/ui/paw-cursor-shivraj-hover.svg') 7 4, pointer; }
  input:not([type="radio"]):not([type="date"]), textarea, .prose, .faq__a, .post__summary { cursor: text; }
  .gal__btn { cursor: url('/images/ui/paw-cursor-shivraj-hover.svg') 7 4, zoom-in; }
}
.pawprints { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.pawprint { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; margin: -9px 0 0 -9px; opacity: 0; background: var(--red); -webkit-mask: url('/images/ui/paw-cursor-shivraj.svg') center / contain no-repeat; mask: url('/images/ui/paw-cursor-shivraj.svg') center / contain no-repeat; transform: rotate(var(--r)) scale(calc(var(--s) * .4)); }
.pawprint.is-on { animation: paw .75s var(--ease) forwards; }
@keyframes paw { 0% { opacity: .9; transform: rotate(var(--r)) scale(calc(var(--s) * .4)); } 35% { opacity: .85; transform: rotate(var(--r)) scale(var(--s)); } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-6px) scale(var(--s)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__cyc:not(.is-on) { display: none; }
}

@media print {
  .nav, .dock, .actionbar, .menu, .transition, .pawprints, .foot__final, .bk__preview { display: none !important; }
  body { padding: 0; }
}

/* Very small phones (≤ 360px): let long labels and big figures wrap instead of pushing the page sideways. */
@media (max-width: 360px) {
  .btn { white-space: normal; max-width: 100%; text-align: left; padding-block: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts dt { white-space: normal; font-size: 1.75rem; }
  .facts > div { padding-right: 10px; }
}

/* ==========================================================================
   PHONE PASS (2026-09-25): shorter page, first screen shows headline + booking,
   no oversized photos, nothing that reads as "unfinished".
   ========================================================================== */
@media (max-width: 1023px) {
  /* Hero: photo, headline, lede and Book all visible on a first phone screen. */
  .hero__media { height: min(40svh, 380px); }
  .hero__window { width: 26%; bottom: -22px; border-width: 4px; }
  .hero__cyc figcaption { font-size: .7rem; padding: 4px 7px; }
  .hero__copy { padding-top: 26px; padding-bottom: 20px; }
  .hero__title { font-size: clamp(2.5rem, 1.2rem + 6vw, 4.4rem); margin-bottom: 14px; }
  .hero__lede { font-size: 1.02rem; }
  .hero__cta { margin-top: 18px; }
  .cpair--hero { margin-top: 16px; }

  /* Care index: names only (each links to its full page); one slim photo per group. */
  .care__blurb { display: none; }
  .care__gimg { aspect-ratio: 21 / 9; margin: 12px 0 2px; }
  .care__row { padding: 13px 0; }
  .care__group + .care__group { margin-top: 28px; }

  /* Species: tell people the row scrolls sideways. */
  .exo__hint { display: flex; }

  /* Doctors + journey: photos sized for a phone, not a poster. */
  .dr__img { aspect-ratio: 1; max-height: none; }
  .dr__name { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem); }
  .jr__inline { aspect-ratio: 16 / 9; margin-top: 12px; }
  .jr__step { padding: 22px 0; }
}
.exo__hint { display: none; align-items: center; gap: 8px; margin: 14px var(--gutter) 0; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.exo__hint svg { width: 16px; height: 16px; }
@media (max-width: 599px) {
  /* Hours: one line per day. */
  .hours__row { grid-template-columns: 6.2rem 1fr; padding: 8px 0; font-size: .92rem; }
  .hours__time br { display: none; }
  .hours__time { display: flex; flex-wrap: wrap; column-gap: .6em; }
  .visit__sign { display: none; }
  .words__rest .quote p { font-size: 1rem; }
  .quote--lead p { font-size: 1.45rem; }
  :root { --pad: 52px; --pad-s: 36px; }
}
