/* vet-recommended.css: the page's own layout (plan.md "## Vet Recommended"). Only places and sizes its parts, with
   system.css's tokens; the components (header base, prints, reviews, close) come from components.css. */

/* ---------- 1. the header: the words centred above; under them the framed photo, centred, with the loop round it
   carrying the vets' names in the stage's margins (scene vetnames: the host is the frame, the names run outside it) */
.vhero { padding: 0; overflow-x: clip; }
.vhero__in { box-sizing: border-box; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(1.5rem, 1rem + 1.6vw, 2.6rem) var(--gutter) clamp(0.5rem, 0.2rem + 1vw, 1.25rem); }
.vhero__copy { justify-items: center; text-align: center; gap: 0.85rem; }
.vhero__copy .ihero__title { max-width: 19ch; }
.vhero__copy .ihero__line { max-width: 40rem; }
.vhero__cta { justify-content: center; margin-top: 0.35rem; }
.vhero__stage { display: grid; justify-items: center; padding: 50px 16px; }
.vhero__frame { position: relative; height: clamp(240px, calc(100svh - 520px), 420px); aspect-ratio: 1280 / 714; max-width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.vhero__clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--c-paper-alt); }
.vhero__clip img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; transform-origin: 56% 30%; }
.vhero__scene { position: absolute; inset: 0; z-index: 3; overflow: visible; pointer-events: none; }
@media (max-width: 679px) {
  .vhero__copy .ihero__title { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }
  .vhero__copy .ihero__line { font-size: 1.02rem; }
  .vhero__stage { padding: 48px 14px 44px; }
  .vhero__frame { height: auto; width: 100%; aspect-ratio: 5 / 4; }
}

/* ---------- 2. find your vet: the field and its live count, then the 37 names as a wall of cards, A to Z by last
   name down four columns; a match is ringed by the loop's dashes, the rest soften ---------- */
.find__head { justify-items: center; text-align: center; margin-inline: auto; margin-bottom: clamp(1.25rem, 0.9rem + 1.2vw, 2rem); }
.find__bar { display: grid; justify-items: center; gap: 0.55rem; margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); }
.find__label { font-family: var(--font-ui); font-weight: var(--fw-ui); font-size: var(--fs-small); color: var(--c-ink); }
.find__field { position: relative; width: min(100%, 520px); }
.find__field .icon { position: absolute; left: 19px; top: 50%; translate: 0 -50%; font-size: 21px; color: var(--c-cobalt); pointer-events: none; }
.find__field input { box-sizing: border-box; width: 100%; height: 58px; padding: 0 20px 0 52px; border: 2px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-white); font: inherit; font-size: 1.06rem; color: var(--c-ink); box-shadow: var(--shadow-s); }
.find__field input:focus { outline: none; border-color: var(--c-cobalt); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-cobalt) 18%, transparent); }
.find__count { margin: 0; min-height: 1.5em; font-weight: var(--fw-strong); color: var(--c-ink-soft); text-align: center; }
.find__count[data-hit] { color: var(--c-lawn-text); }
.find__wall { list-style: none; margin: 0; padding: 0; columns: 4 236px; column-gap: 14px; }
.find__card { display: flex; align-items: center; gap: 11px; break-inside: avoid; margin: 0 0 12px; padding: 11px 14px; border-radius: var(--radius-m); background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow-s); outline: 2.5px dashed transparent; outline-offset: 4px; transition: opacity 0.25s ease, outline-color 0.25s ease; }
.find__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-brand-tint); color: var(--c-cobalt); font-size: 18px; }
.find__name { font-family: var(--font-ui); font-size: 1rem; line-height: 1.3; color: var(--c-ink); }
.find__name b { font-weight: var(--fw-strong); }
.find__card[data-dim] { opacity: 0.3; }
.find__card[data-found] { outline-color: var(--c-cobalt); }
.find__note { margin: clamp(1.25rem, 1rem + 1vw, 2rem) auto 0; max-width: 40rem; text-align: center; color: var(--c-ink-soft); }
.find__note a { color: var(--c-brand-text); font-weight: var(--fw-strong); white-space: nowrap; }
/* the phone: two columns read row by row, A to Z */
@media (max-width: 679px) {
  .find__wall { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .find__card { gap: 8px; margin: 0; padding: 9px 10px; }
  .find__ic { width: 26px; height: 26px; font-size: 15px; }
  .find__name { font-size: 0.9rem; }
}

/* ---------- 3. the kennel days: the business's own print of Rusty, and the card of the two vets who bought his
   kennel, their names ringed by the loop's dashes as on the list ---------- */
/* the card overlaps only the print's right edge, over empty driveway, clear of the dogs, Rusty and the caption */
.kennel__media { position: relative; display: block; }
.kennel__print { width: min(76%, 430px); margin: 0.5rem 0 1rem 0.5rem; }
.kennel__print .loop { --loop-inset: -14px; --loop-r: 16px; }
.kennel__card { position: absolute; right: 0; bottom: 9%; z-index: 2; display: grid; gap: 0.55rem; width: min(54%, 290px); box-sizing: border-box; padding: 16px 18px 15px; border-radius: var(--radius-m); background: var(--c-white); box-shadow: var(--shadow-l); }
.kennel__label { margin: 0; font-family: var(--font-ui); font-weight: var(--fw-ui); font-size: var(--fs-small); color: var(--c-ink-soft); }
.kennel__vets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kennel__vets li { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: var(--radius-pill); background: var(--c-paper); font-family: var(--font-ui); font-weight: var(--fw-strong); font-size: 0.98rem; color: var(--c-ink); outline: 2.5px dashed var(--c-cobalt); outline-offset: 3px; }
.kennel__vets .icon { flex: none; font-size: 17px; color: var(--c-cobalt); }
.kennel__foot { margin: 0.15rem 0 0; font-size: var(--fs-small); color: var(--c-lawn-text); font-weight: var(--fw-strong); }
.kennel__quote { margin: 0.4rem 0 0.2rem; padding: 0 0 0 1.1rem; border-left: 3px solid var(--c-accent); }
.kennel__quote p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; color: var(--c-ink); }
.kennel__quote footer { margin-top: 0.5rem; font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--c-ink-soft); }
@media (max-width: 899px) { .kennel__print { width: min(70%, 430px); } }
/* the phone: the card under the print, clear of it */
@media (max-width: 679px) {
  .kennel__media { display: grid; justify-items: center; }
  .kennel__print { width: min(86%, 400px); margin: 0.5rem 0 0; }
  .kennel__card { position: relative; right: auto; bottom: auto; justify-self: end; width: min(92%, 320px); margin-top: 1.5rem; }
}

/* ---------- 5. the close: the business's own print of Julie with a customer's Labs, beside the form ---------- */
.vclose__media { display: grid; justify-items: center; }
.vclose__print { width: min(100%, 420px); }
.vclose__print .loop { --loop-inset: -14px; --loop-r: 16px; }
@media (max-width: 899px) { .vclose__print { width: min(80%, 380px); margin-bottom: 1rem; } }
