:root {
  --navy: #062041; --navy-2: #0d2f5a; --ink-2: #40536c; --line: #dfe4ea; --cream: #fffefd; --paper: #f7f5f0;
  --yellow: #fedb78; --yellow-2: #fbd05b; --sky: #79bce8; --sky-2: #a8d3f0; --sky-3: #dfeff9;
  --serif: Lora, Georgia, serif; --sans: Montserrat, "Segoe UI", system-ui, sans-serif;
  --gut: 20px; --r: 28px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 500 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #2f7fb8; outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--navy); color: #fff; border-radius: 10px; }
.skip:focus { top: 16px; }
.wrap { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; }

.btn-lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 7px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--sky); }
.on-dark { color: #fff; }

/* Hero */
.hero { display: grid; gap: 20px; padding-top: 24px; }
.place { font-size: 15px; white-space: nowrap; }
.place span { position: relative; display: inline-block; padding-bottom: 5px; font: 600 17px/1.3 var(--serif); }
.place svg { position: absolute; left: 0; bottom: -1px; width: 100%; height: 7px; overflow: visible; fill: none; stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.place path { vector-effect: non-scaling-stroke; }
.hero h1 { margin-top: 12px; font-size: clamp(34px, 10.200vw, 46px); line-height: 1.04; letter-spacing: -.035em; }
.lead { max-width: 33em; margin-top: 14px; color: var(--ink-2); }
.hero-cta { margin-top: 18px; }
.hero-cta .btn { width: 100%; }
.hero-cta .text-link { display: none; }
/* A cat (left) and a dog (right) live inside the hero booking button. They peek up from its bottom edge and wave hello
   (demo.js adds .hi-cat / .hi-dog for a few rounds, hovering does it too). The text keeps its own space in the middle.
   Without JavaScript or with less motion they just peek. */
.btn-pets { --peek: 50px; position: relative; overflow: hidden; isolation: isolate; padding-inline: calc(var(--peek) + 18px); }
.btn-text { position: relative; z-index: 1; }
.peek { position: absolute; bottom: 0; width: var(--peek); height: var(--peek); pointer-events: none; }
.peek-cat { left: 10px; } .peek-dog { right: 10px; }
.peek svg { display: block; width: 100%; height: 100%; overflow: visible; transform: translateY(32%); transition: transform .5s var(--ease); }
.peek .arm { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(70%); transition: transform .4s var(--ease); }
.peek .eyes, .peek .ear { transform-box: fill-box; transform-origin: 50% 50%; }
.hi-cat .peek-cat svg, .hi-dog .peek-dog svg { transform: translateY(10%); }
.hi-cat .peek-cat .arm, .hi-dog .peek-dog .arm { transform: none; animation: wave .34s .35s ease-in-out 4 alternate; }
.hi-dog .peek-dog .ear { animation: flop .34s .35s ease-in-out 4 alternate; }
.btn-pets.alive .eyes { animation: blink 4.200s infinite; } .btn-pets.alive .peek-dog .eyes { animation-delay: -2.100s; }
@keyframes wave { from { rotate: -14deg; } to { rotate: 18deg; } }
@keyframes flop { to { rotate: 6deg; } }
@keyframes blink { 0%, 95%, 100% { scale: 1; } 97.500% { scale: 1 .1; } }
.wave { position: absolute; z-index: 2; inset: auto -1px -1px; width: calc(100% + 2px); }
.w1 { fill: var(--sky); } .w2 { fill: var(--yellow); } .w3 { fill: var(--navy); }
.vet-img { position: absolute; z-index: 1; }
.vet-name { position: absolute; z-index: 3; color: #fff; }
.vet-name strong { display: block; font: 600 17px/1.2 var(--serif); }
.vet-name em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--sky-2); }
.status { display: flex; align-items: center; gap: 10px; line-height: 1.25; }
.status > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.status b { font-weight: 600; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sky-2); }

/* Phones: one frame. Only the photo and name change. The background, wave and opening status stay still. */
@media (max-width: 699px) {
  .duo { position: relative; isolation: isolate; aspect-ratio: 1 / 1.060; clip-path: inset(-60px 0 0 0 round 0 0 var(--r) var(--r)); touch-action: pan-y pinch-zoom; }
  .vet { display: contents; }
  .vet-bg { position: absolute; z-index: 0; inset: 15% 0 0; border-radius: 40px 90px 0 0; background: radial-gradient(120% 90% at 50% 0, #eaf5fc 0, var(--sky-2) 62%, var(--sky) 100%); }
  .vet-b .vet-bg, .vet-b .wave, .vet-name em { display: none; }
  .wave { height: max(39%, 140px); }
  .vet-img { left: 50%; bottom: 2%; width: auto; max-width: none; height: 94%; translate: -50% 0; }
  .vet-name { left: 16px; bottom: 36px; }
  .vet-img, .vet-name { opacity: 0; visibility: hidden; transform: translateX(44px); transition: opacity .45s, transform .6s var(--ease), visibility 0s .6s; }
  .vet-a .vet-img, .vet-a .vet-name { transform: translateX(-44px); }
  .vet.on .vet-img, .vet.on .vet-name { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .status { position: absolute; z-index: 3; left: 16px; bottom: 12px; color: #fff; font-size: 13px; white-space: nowrap; }
  .status small { font-size: 13px; color: var(--sky-3); }
  .is-open .dot { background: #7ee2a0; } .is-closed .dot { background: var(--yellow); }
  .duo-ctrl:not([hidden]) { position: absolute; z-index: 4; right: 10px; bottom: 30px; display: flex; align-items: center; }
  .duo-ctrl button { display: grid; place-items: center; width: 30px; height: 34px; padding: 0; border: 0; background: none; }
  .duo-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .3s var(--ease), background-color .3s; }
  .duo-dot[aria-pressed=true]::before { width: 22px; background: var(--yellow); }
  .duo-pause svg { width: 18px; fill: none; stroke: #fff; stroke-width: 2.400; stroke-linecap: round; stroke-linejoin: round; }
  .duo-pause .ic-play, .duo-pause.paused .ic-pause { display: none; } .duo-pause.paused .ic-play { display: inline; }
  .duo :focus-visible { outline-color: var(--yellow); outline-offset: -2px; }
}
@media (max-width: 339px) { .status, .status small { font-size: 12px; } .vet-name strong { font-size: 16px; } }

/* Tablets and desktop: two separate frames */
@media (min-width: 700px) {
  .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; width: min(100%, 640px); margin: 26px auto 0; }
  .duo-ctrl { display: none; }
  .vet { position: relative; isolation: isolate; aspect-ratio: .640; clip-path: inset(-60px 0 0 0 round 0 0 var(--r) var(--r)); }
  .vet-bg { position: absolute; inset: 12% 0 0; background: radial-gradient(120% 90% at 50% 0, #eaf5fc 0, var(--sky-2) 62%, var(--sky) 100%); }
  .vet-a .vet-bg { border-radius: 90px 32px 0 0; } .vet-b .vet-bg { border-radius: 32px 90px 0 0; background: radial-gradient(120% 90% at 50% 0, #fff3cf 0, var(--yellow) 70%); }
  .vet-img { left: 0; bottom: 8%; width: 100%; }
  .wave { height: max(34%, 132px); }
  .vet-b .wave { scale: -1 1; } .vet-b .w1 { fill: var(--cream); } .vet-b .w2 { fill: var(--sky); }
  .vet-name { inset: auto 22px 18px; } .vet-name strong { font-size: 21px; }
  .status { grid-column: 1 / -1; justify-self: start; min-height: 48px; padding: 10px 20px 10px 18px; border: 1px solid var(--line); border-radius: 18px; }
  .status small { font-size: 15px; color: var(--ink-2); }
  .is-open .dot { background: #147a43; } .is-closed .dot { background: #b07a12; }
}

/* Care finder */
.finder { margin-top: 32px; }
.finder-card { overflow: hidden; border-radius: var(--r); background: var(--paper); }
.finder-head { display: flex; flex-direction: column; gap: 16px; padding: 26px 20px 0; }
.finder h2 { font-size: 27px; line-height: 1.15; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: #e8e5dd; }
.seg label, .needs label { position: relative; flex: 1; cursor: pointer; }
.seg input, .needs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span, .needs span { display: flex; align-items: center; justify-content: center; font-weight: 600; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg span { min-height: 44px; padding: 0 28px; border-radius: 999px; }
.seg input:checked + span { background: var(--cream); box-shadow: 0 2px 10px rgba(6,32,65,.14); }
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 20px 22px; }
.needs span { min-height: 50px; padding: 0 10px; border-radius: 14px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; text-align: center; }
.needs label:hover span { box-shadow: inset 0 0 0 1.5px var(--navy); }
.needs input:checked + span { background: var(--sky-3); box-shadow: inset 0 0 0 2px var(--navy); }
.seg input:focus-visible + span, .needs input:focus-visible + span { outline: 3px solid #2f7fb8; outline-offset: 2px; }
.result { display: grid; gap: 16px; padding: 22px 20px 18px; background: var(--navy); color: #fff; }
.result h3 { font-size: 22px; line-height: 1.2; } .result p { margin-top: 5px; color: var(--sky-3); }
.result :focus-visible { outline-color: var(--yellow); }
.result .btn-book { display: none; }
.result-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.swap { animation: swap .35s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.finder-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; padding: 10px 4px 0; font-size: 14px; color: var(--ink-2); }
.finder-note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); }

/* Services */
.services { padding-top: 48px; }
.sec-head { display: grid; gap: 4px; }
.sec-head h2 { max-width: 15em; font-size: clamp(30px, 4.400vw, 54px); line-height: 1.08; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 52px; }
.tile { position: relative; border-radius: var(--r); }
.tile h3 { font-size: 19px; line-height: 1.15; }
.cover { text-decoration: none; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.cover:focus-visible { outline: 0; } .cover:focus-visible::after { outline: 3px solid #2f7fb8; outline-offset: 3px; }
.tile:hover .cover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.t-general { grid-column: 1 / -1; display: grid; grid-template-rows: auto 1fr; background: var(--yellow); }
.t-general .tile-copy { order: 2; padding: 20px 20px 22px; background: #fff1c8; border-radius: 0 0 var(--r) var(--r); }
.t-general h3 { font-size: 27px; } .t-general p { margin-top: 6px; }
.pills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; width: fit-content; }
.pills a { display: flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; background: rgba(255,255,255,.8); font-weight: 600; font-size: 14px; text-decoration: none; transition: background-color .2s; }
.pills a:hover { background: #fff; }
.collie { height: 300px; margin-top: -32px; overflow: hidden; }
.collie img { width: 86%; max-width: 360px; margin-inline: auto; transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.t-surgery, .t-diag { min-height: 230px; overflow: hidden; }
.t-surgery { background: var(--sky-2); }
.t-surgery .tile-copy, .t-diag .tile-copy { position: relative; padding: 18px 16px; }
.t-surgery p, .t-diag p { display: none; }
.catdog { position: absolute; left: 50%; bottom: -9%; width: 108%; max-width: none; translate: -50% 0; transition: transform .6s var(--ease); }
.t-diag { display: flex; align-items: flex-end; background: var(--navy); color: #fff; }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; transition: transform .8s var(--ease); }
.t-diag::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6,32,65,.94) 6%, rgba(6,32,65,.5) 46%, rgba(6,32,65,0) 75%); }
.t-diag .tile-copy { z-index: 2; position: static; } .t-diag h3, .t-diag p { position: relative; z-index: 2; } .t-diag .cover::after { z-index: 3; }
.gap { display: grid; gap: 8px; margin-top: 20px; padding: 20px 0; border-block: 1px solid var(--line); }
.gap img { width: 150px; } .gap p { color: var(--ink-2); }

/* Team and clinic */
.team { padding-top: 48px; }
.team h2, .visit h2, .closing h2, .find h2 { font-size: clamp(30px, 4.400vw, 54px); line-height: 1.08; }
.intro { margin-top: 14px; color: var(--ink-2); }
.docs { display: grid; gap: 10px; margin: 22px 0 8px; }
.doc { position: relative; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 16px; padding: 12px; border-radius: 24px; background: var(--paper); }
.doc img { width: 92px; height: 112px; object-fit: cover; border-radius: 16px; }
.doc h3 { font-size: 20px; line-height: 1.2; } .doc p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.doc .role { margin-top: 1px; font-weight: 600; color: #35658a; }
.doc:hover .cover, .adv:hover .cover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.doc .cover::after { border-radius: 24px; }
.swipe { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { flex: none; scroll-snap-align: start; }
.gallery { margin-top: 18px; }
.gallery figure { position: relative; width: 84%; margin: 0; overflow: hidden; border-radius: 24px; background: var(--sky-3); }
.gallery img { width: 100%; aspect-ratio: 1.400; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 13px; border-radius: 999px; background: rgba(255,254,253,.92); font-weight: 600; font-size: 13px; }

/* Visit steps */
.edge { position: relative; display: block; width: 100%; height: clamp(38px, 6vw, 90px); margin-bottom: -2px; }
.visit { margin-top: 36px; color: #fff; }
.visit-in { padding: 26px 0 40px; background: var(--navy); }
.visit :focus-visible, .closing :focus-visible { outline-color: var(--yellow); }
.visit-head p { max-width: 34em; margin-top: 12px; color: var(--sky-3); }
.steps { margin-top: 22px; margin-bottom: 0; list-style: none; gap: 20px; }
.step { width: 74%; }
.step img { width: 100%; aspect-ratio: 1.190; object-fit: contain; }
.step h3 { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 24px; }
.step h3 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 600 15px/1 var(--sans); letter-spacing: 0; }
.step p { margin-top: 6px; color: var(--sky-3); }
.bring { display: grid; gap: 8px 30px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.bring h3 { font-size: 22px; }
.bring ul { display: grid; gap: 6px; } .bring li { position: relative; padding-left: 20px; color: var(--sky-3); }
.bring li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* Pet advice */
.advice { padding-top: 46px; }
.adv-grid { margin-top: 20px; }
.adv { position: relative; display: flex; flex-direction: column; width: 72%; overflow: hidden; border-radius: 24px; background: var(--paper); }
.adv > img { width: 100%; aspect-ratio: 1.500; object-fit: cover; transition: transform .7s var(--ease); }
.adv > div { position: relative; padding: 16px 18px 18px; background: var(--paper); }
.adv h3 { font-size: 20px; line-height: 1.2; } .adv p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.adv .cover::after { border-radius: 24px; }
.adv > div { position: static; } .adv h3, .adv p { position: relative; } .adv h3 { position: static; }
.adv-main { background: var(--yellow); }
.adv-main { justify-content: space-between; }
/* soft summer sun in the corner of the heat stroke card */
.adv-main { isolation: isolate; }
.adv-main::before { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%; background: #fff3cf; box-shadow: 0 0 0 34px rgba(255,243,207,.55), 0 0 0 74px rgba(255,243,207,.3); }
.adv-main > div { background: none; }
.adv-main h3 { font-size: 25px; } .adv-main .adv-text { font-size: 16px; } .adv-main p { color: var(--navy); }
.arr { position: relative; width: 48px; margin: 0 0 18px 18px; padding: 12px; border-radius: 50%; background: var(--navy); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }

/* Closing */
.closing { padding-top: 44px; }
.closing-card { position: relative; display: grid; overflow: hidden; border-radius: var(--r); background: var(--navy); color: #fff; }
.closing-copy { padding: 34px 24px 28px; }
.closing-copy p { margin-top: 14px; color: var(--sky-3); }
.closing-cta { display: grid; gap: 10px; margin-top: 22px; } .closing .btn-line { border-color: rgba(255,255,255,.45); }
.closing-photo { height: 220px; } .closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.closing-wave { display: none; }

/* Hours and map */
.find { display: grid; gap: 18px; padding-top: 46px; padding-bottom: 28px; }
.addr { margin-top: 8px; font-size: 17px; } .addr a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.hours { width: 100%; margin-top: 10px; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 12px; border-bottom: 1px solid var(--line); font-weight: 500; text-align: left; } .hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .today th, .hours .today td { border-color: transparent; background: var(--sky-3); font-weight: 600; } .hours .today th { border-radius: 12px 0 0 12px; } .hours .today td { border-radius: 0 12px 12px 0; }
.small { margin-top: 14px; font-size: 14px; color: var(--ink-2); } .small a { display: flex; align-items: center; width: fit-content; min-height: 44px; font-weight: 600; color: var(--navy); }
.map { overflow: hidden; min-height: 240px; border-radius: var(--r); background: var(--sky-3); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 240px; border: 0; }

/* Mobile action dock */
.dock { position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)); z-index: 25; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: var(--navy-2); color: #fff; box-shadow: 0 14px 36px rgba(6,32,65,.34); opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }
.dock.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dock .btn-line { border-color: rgba(255,255,255,.35); }
.dock .btn { padding: 0 16px; }
.dock-msg { gap: 8px; }
.dock-msg svg { flex: none; width: 22px; height: 22px; fill: #4da9ff; }
.dock :focus-visible { outline-color: var(--yellow); }

@media (min-width: 700px) {
  .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
  .hero-cta .btn { width: auto; } .btn-pets { padding-inline: calc(var(--peek) + 32px); } .hero-cta .text-link { display: inline-flex; }
  .needs { grid-template-columns: repeat(4, 1fr); }
  .t-surgery, .t-diag { min-height: 380px; }
  .t-surgery p, .t-diag p { display: block; margin-top: 5px; }
  .tile h3 { font-size: 25px; } .t-surgery .tile-copy, .t-diag .tile-copy { padding: 26px; }
  .catdog { width: 82%; }
  .t-general { grid-template: 1fr / 1fr 1fr; }
  .t-general .tile-copy { order: 0; padding: 34px; border-radius: var(--r); background: none; }
  .collie { align-self: end; justify-self: end; width: min(100%, 420px); height: auto; margin-top: -44px; border-radius: 0 0 var(--r) 0; }
  .collie img { width: 100%; max-width: none; }
  .gap { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}
@media (min-width: 1000px) {
  :root { --gut: 36px; --r: 34px; }
  .dock { display: none; }
  .hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.080fr); align-items: center; gap: 48px; padding-top: 44px; }
  .place { font-size: 18px; } .place span { font-size: 22px; }
  .hero h1 { margin-top: 20px; font-size: clamp(54px, 5.500vw, 80px); line-height: 1; }
  .lead { margin-top: 24px; font-size: 19px; } .hero-cta { margin-top: 32px; }
  .duo { width: 100%; margin: 0; }
  .vet-b { top: 40px; } .status { margin-top: 6px; }
  .vet .wave { height: max(38%, 160px); } .vet-name { inset: auto 18px 14px; }

  .finder { margin-top: 48px; }
  .finder-head { flex-direction: row; align-items: center; justify-content: space-between; padding: 34px 38px 0; }
  .finder h2 { font-size: 36px; }
  .needs { grid-template-columns: repeat(8, auto); padding: 24px 38px 34px; }
  .needs span { min-height: 54px; padding: 0 8px; white-space: nowrap; font-size: clamp(13px, 1.100vw, 15px); }
  .result { grid-template-columns: 1fr auto; align-items: center; padding: 26px 38px; }
  .result h3 { font-size: 26px; } .result .btn-book { display: inline-flex; } .result-links { flex-direction: row-reverse; }

  .services { padding-top: 104px; }
  .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
  .bento { gap: 20px; margin-top: 84px; }
  .tile h3 { font-size: 30px; } .t-surgery .tile-copy, .t-diag .tile-copy { padding: 32px 34px; }
  .gap { margin-top: 28px; padding: 26px 4px; } }
@media (min-width: 1200px) {
  .bento { grid-template: 1fr 1fr / 1.600fr 1fr; }
  .t-general { grid-column: 1; grid-row: 1 / 3; display: block; aspect-ratio: 1.460; }
  .t-general .tile-copy { display: flex; flex-direction: column; width: 38%; height: 100%; padding: 42px 0 40px 42px; }
  .t-general h3 { font-size: clamp(32px, 2.700vw, 40px); line-height: 1.06; } .t-general p { margin-top: 14px; font-size: 17px; } .pills { margin-top: auto; }
  .collie { position: absolute; right: 0; bottom: 0; width: 62%; height: auto; margin: 0; }
  .t-surgery, .t-diag { min-height: 0; } .t-surgery .tile-copy { max-width: 58%; padding-right: 0; } .t-diag .tile-copy { padding: 28px 34px; }
  .catdog { left: auto; right: -1%; bottom: -15%; width: min(54%, 290px); translate: none; }
}
@media (min-width: 1000px) and (max-width: 1199px) { .needs { grid-template-columns: repeat(4, 1fr); } .needs span { font-size: 15px; } }
@media (hover: hover) { .t-general:hover .collie img { transform: scale(1.025); } .t-surgery:hover .catdog { transform: scale(1.04) rotate(-1deg); } .t-diag:hover .photo { transform: scale(1.05); } }

@media (min-width: 700px) {
  .docs { grid-template-columns: 1fr 1fr; }
  .gallery figure { width: 58%; } .step { width: 40%; } .adv { width: 42%; }
  .closing-cta { display: flex; flex-wrap: wrap; } .closing-copy { padding: 48px 44px 40px; } .closing-photo { height: 340px; }
  .find { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (min-width: 1000px) {
  .swipe { margin-inline: 0; padding: 0; overflow: visible; }
  .team { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; padding-top: 112px; }
  .team-copy { grid-column: 1 / 6; align-self: center; padding-right: 26px; }
  .intro { margin-top: 20px; font-size: 17px; }
  .docs { grid-template-columns: 1fr; gap: 14px; margin: 28px 0 12px; }
  .gallery { display: contents; }
  .gallery figure { width: auto; border-radius: var(--r); grid-column: span 6; }
  .gallery .g-team { grid-column: 6 / 13; grid-row: 1; }
  .gallery .g-team img { height: 100%; min-height: 560px; aspect-ratio: auto; object-position: 50% 60%; }
  .gallery img { aspect-ratio: 1.720; height: auto; } .gallery figcaption { left: 20px; bottom: 20px; padding: 8px 17px; font-size: 14px; }
  .visit { margin-top: 96px; } .visit-in { padding: 56px 0 84px; }
  .visit-head { display: grid; grid-template-columns: 1.200fr 1fr; align-items: end; gap: 60px; } .visit-head p { font-size: 18px; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 52px; } .step { width: auto; } .step h3 { margin-top: 22px; font-size: 27px; }
  .bring { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; margin-top: 52px; padding-top: 30px; } .bring ul { display: flex; flex-wrap: wrap; gap: 8px 30px; }
  .advice { padding-top: 112px; }
  .adv-grid { display: grid; grid-template-columns: 1.250fr 1fr 1fr; gap: 20px; margin-top: 46px; } .adv { width: auto; border-radius: 28px; }
  .adv-main { grid-row: 1 / 3; } .adv-main::before { right: -110px; bottom: -110px; width: 360px; height: 360px; box-shadow: 0 0 0 54px rgba(255,243,207,.55), 0 0 0 120px rgba(255,243,207,.3); } .adv-main > div { padding: 40px 38px; } .adv-main h3 { font-size: clamp(34px, 3.100vw, 46px); line-height: 1.06; } .adv-main .adv-text { margin: 20px 0; font-size: 18px; } .arr { width: 64px; margin: 0 0 38px 38px; padding: 18px; }
  .adv > img { aspect-ratio: 1.800; } .adv:not(.adv-main) > div { padding: 20px 24px 24px; z-index: 1; }
  .closing { padding-top: 112px; }
  .closing-card { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .closing-copy { align-self: center; padding: 60px 0 60px 64px; z-index: 2; } .closing h2 { font-size: clamp(42px, 4.700vw, 66px); line-height: 1.02; } .closing-copy p { max-width: 27em; margin-top: 22px; font-size: 18px; } .closing-cta { margin-top: 34px; }
  .closing-photo { position: absolute; inset: 0 0 0 50%; height: auto; } .closing-photo img { object-position: 50% 42%; }
  .closing-wave { display: block; position: absolute; left: calc(50% - 2px); top: -1px; width: 130px; height: calc(100% + 2px); }
  .find { grid-template-columns: 1fr 1.350fr; gap: 64px; padding-top: 112px; padding-bottom: 76px; } .map { min-height: 520px; } .map iframe { min-height: 520px; }
}
@media (hover: hover) { .adv:hover > img { transform: scale(1.040); } .adv-main:hover .arr { transform: translateX(6px); } }

/* Motion: content is always visible where scroll animations are not supported */
@media (prefers-reduced-motion: no-preference) {
  .place svg { animation: draw .9s .35s var(--ease) both; }
  @keyframes draw { from { clip-path: inset(-6px 100% -6px -4px); } to { clip-path: inset(-6px -4px -6px -4px); } }
  @media (min-width: 700px) { .vet-img { animation: rise .9s var(--ease) both; } .vet-b .vet-img { animation-delay: .12s; } }
  @keyframes rise { from { transform: translateY(26px); } }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes reveal { from { opacity: .25; transform: translateY(34px); } }
    .duo .w1 { animation: drift linear both; animation-timeline: scroll(); animation-range: 0 600px; }
    @keyframes drift { to { transform: translateY(-16px); } }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.nw { white-space: nowrap; }
@media (max-width: 429px) { .dock .btn { padding: 0 12px; font-size: 15px; } .dock-msg { gap: 6px; } }
@media (max-width: 389px) { .dock .dock-msg { width: 48px; padding: 0; } .dock-msg span { display: none; } .dock-msg svg { width: 25px; height: 25px; } }
@media (max-width: 379px) { .btn-pets { --peek: 38px; padding-inline: calc(var(--peek) + 12px); font-size: 16px; } .peek-cat { left: 6px; } .peek-dog { right: 6px; } }
@media (max-width: 379px) { .closing .btn { min-width: 0; padding: 0 12px; font-size: 16px; } }
