/* Pawthority - provider pages. Loaded by every provider page, after css/site.css.
 *
 * The Direction A design. css/site.css holds the fonts, the colour and type tokens,
 * .wrap, and the shared header and footer; everything else a provider page needs is
 * here. Provider pages do not load css/styles.css, so the element rules at the top
 * (a, p, img, h1-h3) are safe: no page that loads styles.css ever sees them.
 *
 * The base rules and .btn are the same as in css/home.css. When the borough pages
 * move to Direction A and a third file needs them, they belong in one shared file.
 *
 * Nothing on the page is hidden until it scrolls into view, and nothing animates
 * in. The only motion is on hover and focus.
 *
 * One rule to a line, in the order of the page.
 */

/* -- Base -- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:400 1.0625rem/1.6 var(--sans);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
a{color:inherit}
img{display:block;max-width:100%}
p{margin:0}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.06;letter-spacing:-.015em;margin:0}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:3px}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.6rem 1rem;z-index:20;text-decoration:none}
.skip:focus{left:1rem;top:1rem}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:.7rem 1.35rem;border:0;border-radius:10px;background:var(--teal);color:#fff;font:600 1rem var(--sans);text-decoration:none;cursor:pointer;transition:background .2s,transform .15s}
.btn:hover{background:var(--teal-d)}
.btn:active{transform:translateY(1px)}
.btn-amber{background:var(--amber);color:var(--ink)}
.btn-amber:hover{background:#F7C665}
.btn-line{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:50px;padding:.7rem 1.2rem;border:1.5px solid #B7C6C2;border-radius:10px;background:#fff;color:var(--ink);font:600 1rem var(--sans);text-decoration:none;cursor:pointer;transition:border-color .2s,color .2s}
.btn-line:hover{border-color:var(--teal);color:var(--teal-d)}
.link-btn{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;font-weight:600;color:var(--teal-d);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* -- Breadcrumb -- */
.crumbs{padding-top:1.1rem;font-size:.9rem;color:var(--muted)}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem .5rem}
.crumbs li+li::before{content:"/";margin-right:.5rem;color:#9AA8A4}
.crumbs a{color:var(--teal-d);text-underline-offset:3px}

/* -- Layout -- */
/* One column on a phone, in the order: the top of the page, About, the contact
   card, then everything else. From 980px the contact card moves to a side column
   beside all three. */
.p-wrap{padding:clamp(1.5rem,4vw,2.75rem) 0 clamp(3.5rem,7vw,5.5rem)}
.p-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(2rem,4vw,3rem);grid-template-areas:"hero" "about" "aside" "more"}
@media (min-width:980px){.p-grid{grid-template-columns:minmax(0,1fr) 23rem;grid-template-areas:"hero aside" "about aside" "more aside";column-gap:clamp(2.5rem,5vw,4.5rem)}}
.p-hero{grid-area:hero}
.p-about{grid-area:about}
.p-more{grid-area:more;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(2.5rem,5vw,3.75rem)}
.p-aside{grid-area:aside;align-self:start}
/* What follows the page down the side column depends on the window's height.
   A sticky card taller than the window can never be scrolled to its end, and the
   card with the enquiry form is taller than most laptop windows. So:
   - in a window 960px tall or more, the whole side column follows;
   - in a shorter one, the card stays at the top and .follow, a small block under
     it, follows instead. The column is stretched to the full height of the page
     so that block has room to travel. */
.follow{display:none}
@media (min-width:980px){
 .p-aside{align-self:stretch}
 .follow{display:block;position:sticky;top:1.5rem;margin-top:1.5rem;padding:1.1rem 1.25rem 1.25rem;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 40px -28px rgba(8,59,54,.45)}
}
@media (min-width:980px) and (min-height:960px){
 .p-aside{align-self:start;position:sticky;top:1.5rem}
 .follow{display:none}
}

/* -- Top of the page -- */
.kicker{font-size:.98rem;font-weight:600;color:var(--teal-d);text-decoration:none}
a.kicker:hover{text-decoration:underline;text-underline-offset:3px}
.p-title{display:flex;align-items:center;gap:.9rem;margin-top:.55rem}
.p-title h1{min-width:0;font-size:clamp(2.1rem,4.2vw,3.2rem);overflow-wrap:anywhere;text-wrap:balance}
.p-logo{flex:none;width:72px;height:72px;border-radius:14px;border:1px solid var(--line);object-fit:cover}
.ig{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;border:1.5px solid var(--line);color:var(--ink);transition:border-color .2s,color .2s}
.ig:hover{border-color:var(--teal);color:var(--teal)}
.p-place{margin-top:.6rem;color:var(--ink-2);font-size:1.05rem}
.p-rating{margin-top:1.4rem;display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .85rem}
.p-score{font-family:var(--serif);font-size:2.4rem;font-weight:600;line-height:1}
.p-reviews{color:var(--ink-2);text-underline-offset:3px}
.p-price{margin-top:1rem;color:var(--ink-2)}
.p-price strong{color:var(--ink);font-weight:600}
.p-actions{margin-top:1.6rem;display:flex;flex-wrap:wrap;gap:.7rem}

/* Stars. One element: five star shapes cut out of a bar that is amber up to the
   rating and grey after it. --r is the rating out of 5, set on the element. */
.stars{--star:22px;flex:none;display:inline-block;width:calc(var(--star)*5);height:var(--star);background:linear-gradient(90deg,var(--amber) calc(var(--r)*20%),#DCE5E2 0);-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 1.5l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6L1.3 7.8l6.1-.7z'/></svg>") 0 0/var(--star) var(--star) repeat-x;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 1.5l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6L1.3 7.8l6.1-.7z'/></svg>") 0 0/var(--star) var(--star) repeat-x}

/* -- Listed for, Services -- */
.p-facts{margin-top:2rem;display:grid;gap:.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.p-facts h2{font:700 .92rem/1.5 var(--sans);letter-spacing:0;color:var(--muted)}
.p-facts .chips+h2{margin-top:.75rem}
@media (min-width:700px){
 .p-facts{grid-template-columns:auto 1fr;gap:1rem 2rem}
 .p-facts h2{padding-top:.35rem}
 .p-facts .chips+h2{margin-top:0}
}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.chips li{display:flex}
.chips a,.chips span:not(.sr){display:inline-flex;align-items:center;min-height:36px;padding:.35rem .8rem;border-radius:8px;font-size:.95rem;font-weight:500}
.chips a{background:var(--teal-l);color:var(--teal-dd);text-decoration:none;transition:background .2s,color .2s}
.chips a:hover{background:var(--teal);color:#fff}
.chips span:not(.sr){background:#fff;border:1px solid var(--line);color:var(--ink-2)}
.src{font-size:.85rem;color:var(--muted);margin-top:.5rem}
@media (min-width:700px){.src{grid-column:2;margin-top:-.25rem}}

/* -- About -- */
.p-about h2,.p-more h2{font-size:clamp(1.7rem,3.2vw,2.3rem)}
.prose{margin-top:1.1rem;max-width:66ch;display:grid;gap:1rem;font-size:1.08rem;line-height:1.7;color:var(--ink-2)}

/* -- Contact card -- */
.claimed{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:1rem;padding:.9rem 1rem;border-radius:12px;background:var(--mist)}
.claimed svg{flex:none;margin-top:.1rem;color:var(--teal)}
.claimed h2{font:700 .98rem/1.4 var(--sans);letter-spacing:0}
.claimed p{font-size:.92rem;color:var(--ink-2)}
.quote{scroll-margin-top:1rem;border:1px solid var(--line);border-radius:16px;background:#fff;padding:clamp(1.25rem,3vw,1.6rem);box-shadow:0 18px 40px -28px rgba(8,59,54,.45)}
.quote h2{font-size:1.65rem;overflow-wrap:anywhere}
.quote-sub{margin-top:.4rem;color:var(--ink-2);font-size:.98rem}
.quote form,.report-dialog form{margin-top:1.25rem;display:grid;gap:1rem}
.quote label,.quote legend,.report-dialog label{display:block;font-size:.88rem;font-weight:600;color:var(--ink-2);margin:0 0 .35rem .1rem;padding:0}
.quote input[type=text],.quote input[type=email],.quote textarea,.report-dialog input[type=text],.report-dialog input[type=email],.report-dialog textarea{display:block;width:100%;font:500 1rem var(--sans);color:var(--ink);background:#fff;border:1.5px solid #B7C6C2;border-radius:10px;padding:.7rem .85rem;min-height:50px;transition:border-color .2s}
.quote textarea,.report-dialog textarea{min-height:110px;resize:vertical;line-height:1.5}
.quote input:hover,.quote textarea:hover,.report-dialog input:hover,.report-dialog textarea:hover{border-color:var(--teal)}
.quote ::placeholder,.report-dialog ::placeholder{color:#6A7773;opacity:1}
.quote fieldset{border:0;margin:0;padding:0;min-width:0}
.when{display:flex;flex-wrap:wrap;gap:.45rem}
.when input{position:absolute;opacity:0;width:1px;height:1px}
.when label{margin:0;display:inline-flex;align-items:center;min-height:40px;padding:.4rem .85rem;border:1.5px solid #B7C6C2;border-radius:999px;font-weight:500;color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.when input:checked+label{background:var(--teal);border-color:var(--teal);color:#fff}
.when input:focus-visible+label{outline:3px solid var(--ink);outline-offset:2px}
.quote .btn{width:100%}
.quote-note{font-size:.88rem;color:var(--muted)}
.sent{margin-top:1.25rem;padding:1rem;border-radius:10px;background:var(--mist);font-weight:500}
.report{margin-top:1rem;padding:0 .25rem;font-size:.92rem;color:var(--muted)}
.vet-line{margin-top:.6rem;padding:0 .25rem;font-size:.92rem;color:var(--muted)}
.vet-line a{color:var(--teal-d);font-weight:600;text-underline-offset:3px}
.follow-name{font-family:var(--serif);font-size:1.3rem;font-weight:600;line-height:1.15;letter-spacing:-.01em;overflow-wrap:anywhere}
.follow-rate{margin-top:.5rem;display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .45rem;font-weight:600}
.follow-rate .stars{--star:16px}
.follow-n{font-weight:400;font-size:.92rem;color:var(--muted)}
.follow .btn{width:100%;margin-top:.9rem}

/* -- Opening hours -- */
.hours-list{list-style:none;margin:1.1rem 0 0;padding:0;max-width:32rem;border-top:1px solid var(--line)}
.hours-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.15rem 1.5rem;padding:.6rem 0;border-bottom:1px solid var(--line)}
.hours-days{font-weight:600}
.hours-value,.hours-note{color:var(--ink-2)}

/* -- Screening rule -- */
.panel{background:var(--mist);border-radius:20px;padding:clamp(1.2rem,3vw,1.6rem) clamp(1.3rem,3.5vw,2.1rem)}
.panel p{max-width:62ch;color:var(--ink-2)}
.panel .panel-note{margin-top:.5rem;color:var(--ink);font-weight:600}
.panel .panel-link{margin-top:.8rem}
.panel a{color:var(--teal-d);font-weight:700;text-underline-offset:3px}

/* -- Location -- */
.where p{margin-top:.75rem;color:var(--ink-2)}
.where .loc-main{font-size:1.08rem;color:var(--ink)}
.where .loc-main+p{margin-top:.25rem}
/* isolation keeps Leaflet's own z-indexes, which run to 1000, inside the map. */
.map-box{margin-top:1.1rem;height:clamp(260px,42vw,380px);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--mist);isolation:isolate}
.map-none{display:grid;place-items:center;height:100%;padding:1rem;text-align:center;color:var(--muted)}
.marker-pin{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50% 50% 50% 0;background:var(--teal);box-shadow:0 2px 6px rgba(8,59,54,.4);transform:rotate(-45deg)}
.marker-pin::after{content:"";position:absolute;left:9px;top:9px;width:12px;height:12px;border-radius:50%;background:#fff}
.where .btn-line{margin-top:1rem}
.where .btn-line svg{flex:none}

/* -- Similar providers -- */
.sims{list-style:none;margin:1.4rem 0 0;padding:0;display:grid;gap:.8rem}
@media (min-width:620px){.sims{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sim{display:flex;flex-direction:column;gap:.3rem;height:100%;padding:1.1rem 1.15rem;border:1px solid var(--line);border-radius:14px;text-decoration:none;transition:border-color .2s,transform .25s var(--ease)}
.sim:hover{border-color:var(--teal);transform:translateY(-2px)}
.sim-name{font-family:var(--serif);font-size:1.3rem;font-weight:600;line-height:1.15;overflow-wrap:anywhere}
.sim-meta{font-size:.9rem;color:var(--muted)}
.sim-rate{margin-top:auto;padding-top:.4rem;display:flex;align-items:center;gap:.4rem;font-weight:600}
.sim-rate .stars{--star:14px}
.sim-n{font-weight:400;color:var(--muted)}
.more-links{margin-top:1.1rem;font-weight:700}
.more-links a{color:var(--teal-d);text-underline-offset:3px}

/* -- Pet care in the borough -- */
.bsvc{list-style:none;margin:1.1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.4rem}
.bsvc a{color:var(--teal-d);text-underline-offset:3px}

/* -- Claim band -- */
.claim{background:var(--teal-dd);color:#D9E9E5;padding:clamp(2.5rem,6vw,3.75rem) 0}
.claim .wrap{display:grid;gap:1.5rem;align-items:center}
@media (min-width:860px){.claim .wrap{grid-template-columns:1fr auto;gap:3rem}}
.claim h2{color:#fff;font-size:clamp(1.8rem,3.6vw,2.5rem);overflow-wrap:anywhere}
.claim p{margin-top:.7rem;max-width:56ch}
.claim :focus-visible{outline-color:#fff}

/* -- Suggest an edit -- */
.report-dialog{width:min(34rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:auto;padding:clamp(1.25rem,4vw,2rem);border:0;border-radius:16px;color:var(--ink);box-shadow:0 30px 60px -20px rgba(8,59,54,.6)}
.report-dialog::backdrop{background:rgba(19,32,30,.55)}
.report-dialog h2{font-size:1.65rem;padding-right:2.75rem}
.report-dialog>p{margin-top:.4rem;color:var(--ink-2);font-size:.98rem}
.report-dialog .btn{width:100%}
.dialog-close{position:absolute;top:.6rem;right:.6rem;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:none;font:400 1.7rem/1 var(--sans);color:var(--ink-2);cursor:pointer}
.dialog-close:hover{background:var(--mist)}

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