/* Two veterinary clinics use the shared editable renderer and linked page navigation. */
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) {
  --clinic-gutter:max(6cqi,calc((100cqi - 1380px)/2));
  --clinic-display:"Trebuchet MS","Segoe UI",Arial,sans-serif;
}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header {
  display:flex;align-items:center;gap:clamp(10px,1.9cqi,32px);padding:clamp(14px,1.6cqi,27px) var(--clinic-gutter);
}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-role-header.pk-i-brand {max-width:50%;margin-inline-end:auto;font:750 clamp(20px,2cqi,34px)/1.04 var(--clinic-display);letter-spacing:-.06em;text-decoration:none}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header .pk-page-nav {order:1;gap:.1em clamp(12px,1.55cqi,25px);border:0;padding:0}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header .pk-page-nav .pk-i-link {font-size:clamp(12px,1.05cqi,17px);line-height:1.3}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header>.pk-i-button {order:2;min-height:34px;padding:.65em 1.04em;font-size:clamp(12px,1.02cqi,16px);margin:0}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-i-button {min-height:38px;padding:.82em 1.24em;font:700 clamp(13px,1.16cqi,18px)/1.2 var(--clinic-display);letter-spacing:-.02em}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-i-button::after {width:.56em;height:.56em}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-s-hero {align-items:stretch}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-hero-copy {justify-content:center;align-items:flex-start;gap:clamp(13px,1.4cqi,25px)}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-role-hero.pk-i-text {max-width:41ch;font-size:clamp(15px,1.3cqi,21px);line-height:1.48}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-role-hero.pk-i-button {margin:.3em 0 0}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-s-services {padding:clamp(36px,5.9cqi,104px) var(--clinic-gutter);gap:clamp(14px,1.7cqi,28px)}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-s-services>.pk-i-link {grid-column:1/-1;justify-self:start}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-s-services>.pk-item-group {display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:.65em}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-item-group>.pk-i-subheading {border:0;padding:0;border-radius:0;background:transparent;font-weight:670;line-height:1.12}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-item-group>.pk-i-text {font-size:clamp(14px,1.17cqi,19px);line-height:1.48}
:is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-role-footer.pk-i-brand {text-decoration:none}

/* Meadow pairs a mint cover and pine reception strip with a two-colour serif headline. */
.pk-d-meadow-vets {--meadow-green:#205b3e;--meadow-light:#e0f0de;--meadow-mint:#cfebd7;--meadow-desk:#204e36}
.pk-d-meadow-vets .pk-s-header {background:var(--meadow-light);color:var(--pk-ink)}
.pk-d-meadow-vets .pk-s-header:has(>[data-group=reception]) {padding-top:0;row-gap:clamp(10px,1.25cqi,20px)}
.pk-d-meadow-vets .pk-s-header>[data-group=reception] {
  order:-1;display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.3em .7em;
  padding:.4em 0;background:var(--meadow-desk);border-image:linear-gradient(var(--meadow-desk),var(--meadow-desk)) fill 0 // 0 100vmax;color:#fff;
}
.pk-d-meadow-vets .pk-s-header>[data-group=reception]>.pk-item {max-width:100%;padding:0;font:500 clamp(10px,.88cqi,14px)/1.36 var(--pk-sans);color:inherit}
.pk-d-meadow-vets .pk-s-header>[data-group=reception]>.pk-i-link {text-decoration:underline;text-underline-offset:.17em;border:0;border-radius:0}
.pk-d-meadow-vets .pk-i-brand::before {
  content:"";width:.85em;height:.85em;border-radius:0;
  background:radial-gradient(ellipse at 50% 74%,currentColor 0 29%,transparent 32%),
    radial-gradient(ellipse at 15% 45%,currentColor 0 13%,transparent 16%),
    radial-gradient(ellipse at 37% 22%,currentColor 0 13%,transparent 16%),
    radial-gradient(ellipse at 65% 21%,currentColor 0 13%,transparent 16%),
    radial-gradient(ellipse at 86% 44%,currentColor 0 13%,transparent 16%);transform:rotate(-11deg);
}
.pk-d-meadow-vets .pk-i-button {background:var(--pk-accent);color:var(--pk-on);border:0;border-radius:999px}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-hero {
  gap:clamp(18px,4.4cqi,76px);align-items:center;background:var(--meadow-light);color:#18291f;
  padding:clamp(24px,3.15cqi,58px) var(--clinic-gutter) clamp(46px,5.65cqi,99px);
}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-hero:is(.pk-i-heading,.pk-i-subheading) {max-width:13ch;font:620 clamp(42px,5.75cqi,103px)/.99 "Counter Display",Georgia,serif;letter-spacing:-.071em}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-hero.pk-i-heading:has(+.pk-i-subheading) {margin-bottom:calc(-1 * clamp(13px,1.4cqi,25px))}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-hero.pk-i-subheading {color:var(--meadow-green)}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-hero-copy {flex:1 1 47%}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-hero.pk-i-image {
  flex:1 1 49%;width:49%;aspect-ratio:1.19;align-self:center;object-fit:cover;object-position:center 41%;
  border-radius:56% 44% 43% 57% / 53% 52% 48% 47%;outline:1.5px solid #719f7d;outline-offset:clamp(3px,.45cqi,8px);background:var(--meadow-mint);
}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about {
  position:relative;align-items:flex-start;text-align:left;gap:clamp(10px,1.35cqi,24px);border:0;background:#fffefa;color:var(--pk-ink);
  padding:clamp(31px,3.7cqi,67px) var(--clinic-gutter) clamp(37px,4.7cqi,80px);
}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about::before {
  content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);height:clamp(16px,2.8cqi,44px);pointer-events:none;
  border-radius:55% 45% 0 0 / 95% 95% 0 0;background:#fffefa;
}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about>.pk-i-heading {max-width:22ch}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about>.pk-i-text {max-width:53ch}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about>.pk-i-image {border-radius:47% 53% 45% 55% / 53% 55% 45% 47%;aspect-ratio:1.14}
.pk-d-meadow-vets:not(.pk-vet-subpage) :is(.pk-s-services,.pk-s-about,.pk-s-contact)>.pk-i-heading {font-family:var(--clinic-display);font-weight:730;letter-spacing:-.06em}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-services>.pk-item-group {padding:clamp(17px,2.35cqi,38px);border-radius:clamp(15px,2cqi,32px);background:#e8efdd}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-services>[data-group=service-2] {background:#f8edb9}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-services>[data-group=service-3] {background:#e3eee9}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-contact {background:var(--meadow-green);color:white}
.pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-contact.pk-i-image {border-radius:clamp(17px,2cqi,32px) 26% clamp(17px,2cqi,32px) 26%}
.pk-d-meadow-vets .pk-s-footer {background:var(--meadow-light);color:var(--pk-ink);border:0}

/* Kindred uses two aligned panels, an inky wordmark and a scalloped patient directory. */
.pk-d-kindred-clinic {--kindred-rose:#f19885;--kindred-blush:#f8dfd4;--kindred-seam:clamp(9px,1.1cqi,18px);--kindred-round:clamp(19px,2.8cqi,48px);box-sizing:border-box;border:clamp(5px,1.2vw,18px) solid #f1bdab}
.pk-d-kindred-clinic .pk-s-header {background:var(--pk-paper)}
.pk-d-kindred-clinic .pk-role-header.pk-i-brand,.pk-d-kindred-clinic .pk-role-footer.pk-i-brand {
  font-family:"Counter Display",Georgia,serif;font-weight:800;letter-spacing:-.072em;
}
.pk-d-kindred-clinic .pk-i-brand::before {
  width:.81em;height:.82em;border-radius:0;background:currentColor;
  clip-path:polygon(38% 0,64% 0,64% 33%,100% 33%,100% 63%,64% 63%,64% 100%,36% 100%,36% 64%,0 64%,0 35%,36% 35%);
}
.pk-d-kindred-clinic .pk-i-button {border-radius:999px;border:1px solid var(--pk-ink);background:var(--pk-ink);color:var(--pk-paper)}
.pk-d-kindred-clinic .pk-s-header>.pk-i-button {background:transparent;color:var(--pk-ink)}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-hero {padding:0 max(3.7cqi,calc((100cqi - 1450px)/2)) clamp(23px,3.1cqi,55px);gap:var(--kindred-seam)}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-hero>.pk-hero-copy {
  flex:1 1 51%;padding:clamp(26px,4.7cqi,75px);border-radius:var(--kindred-round);background:var(--kindred-rose);color:var(--pk-ink);
}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-role-hero.pk-i-heading {max-width:12ch;font:760 clamp(44px,5.65cqi,99px)/.97 var(--clinic-display);letter-spacing:-.071em}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-role-hero.pk-i-image {
  flex:1 1 49%;width:49%;align-self:stretch;min-height:clamp(330px,35.7cqi,626px);max-height:52cqi;aspect-ratio:1.17;
  border-radius:var(--kindred-round);object-fit:cover;object-position:center;
}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions] {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(12px,2.5cqi,40px);
  padding:clamp(23px,2.65cqi,45px) var(--clinic-gutter);background:#fff9ed;
}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]::before,.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]::after {
  content:"";position:absolute;z-index:1;inset-inline:0;height:clamp(6px,.92cqi,15px);pointer-events:none;
  background:radial-gradient(ellipse at 50% 100%,#fff9ed 70%,transparent 72%) 0 0 / clamp(20px,3cqi,49px) 100% repeat-x;
}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]::before {bottom:calc(100% - 1px)}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]::after {top:calc(100% - 1px);transform:rotate(180deg)}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-sec[data-template-section=companions]>.pk-item {margin:0}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]>.pk-i-heading {font:700 clamp(20px,2.4cqi,39px)/1.1 var(--clinic-display);letter-spacing:-.049em}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]>.pk-i-link {display:inline-flex;align-items:center;font:660 clamp(16px,2.3cqi,37px)/1.1 "Counter Display",Georgia,serif;letter-spacing:-.055em;text-decoration:none}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]>.pk-i-link:nth-child(3)::after {
  content:"";width:1.55em;height:1.45em;flex:none;margin-inline-start:clamp(12px,2.5cqi,40px);
  background:radial-gradient(ellipse at 50% 72%,#d86d5a 0 29%,transparent 31%),
    radial-gradient(ellipse at 13% 43%,#d86d5a 0 12%,transparent 14%),radial-gradient(ellipse at 36% 20%,#d86d5a 0 13%,transparent 15%),
    radial-gradient(ellipse at 64% 20%,#d86d5a 0 13%,transparent 15%),radial-gradient(ellipse at 87% 43%,#d86d5a 0 12%,transparent 14%);transform:rotate(-7deg);
}
.pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]>.pk-i-link:hover {text-decoration:underline}
.pk-d-kindred-clinic:not(.pk-vet-subpage) :is(.pk-s-services,.pk-s-about)>.pk-i-heading {font:740 clamp(35px,4.4cqi,75px)/1 var(--clinic-display);letter-spacing:-.062em}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-services>.pk-item-group {padding:clamp(16px,2cqi,33px) 1cqi 0 0;border-top:2px solid var(--pk-accent)}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-about {background:var(--kindred-blush);border:0}
.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-role-about.pk-i-image {border-radius:var(--kindred-round);outline:2px solid var(--pk-ink);outline-offset:clamp(3px,.42cqi,7px)}
.pk-d-kindred-clinic .pk-s-footer {background:var(--pk-ink);color:var(--pk-paper);border:0}

@container (min-width:651px) {
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about:has(>.pk-i-image:first-child) {display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr);align-content:center;gap:clamp(12px,1.2cqi,20px) 7cqi;padding-inline:max(10cqi,calc((100cqi - 1200px)/2))}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about>.pk-i-image:first-child {grid-column:1;grid-row:1/span 3;align-self:center}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about:has(>.pk-i-image:first-child)>:not(.pk-i-image) {grid-column:2}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about>.pk-i-heading {align-self:end}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-contact:has(>.pk-i-image:first-child),.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-about:has(>.pk-i-image:first-child) {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:clamp(12px,1.45cqi,23px) 6.5cqi;
    padding:clamp(38px,5.5cqi,98px) var(--clinic-gutter);align-content:center;
  }
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-contact>.pk-i-image:first-child,.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-about>.pk-i-image:first-child {grid-column:1;grid-row:1 / span 3;align-self:center;aspect-ratio:1.4}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-contact:has(>.pk-i-image:first-child)>:not(.pk-i-image),.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-about:has(>.pk-i-image:first-child)>:not(.pk-i-image) {grid-column:2}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-contact:has(>.pk-i-image:first-child)>.pk-i-heading,.pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-about:has(>.pk-i-image:first-child)>.pk-i-heading {align-self:end}
}
@container (max-width:860px) {
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header {gap:5px 13px}
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header .pk-page-nav {flex:1 1 100%;order:3;gap:.1em clamp(11px,2.3cqi,22px)}
}
@container (max-width:650px) {
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header {padding:12px 5cqi 8px}
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header .pk-page-nav {column-gap:clamp(10px,2.7cqi,18px)}
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-role-header.pk-i-brand {max-width:65%;font-size:clamp(19px,5cqi,28px)}
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic) .pk-s-header>.pk-i-button {font-size:12px;min-height:30px}
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-s-services {grid-template-columns:minmax(0,1fr);gap:15px}
  :is(.pk-d-meadow-vets,.pk-d-kindred-clinic):not(.pk-vet-subpage) .pk-s-hero {flex-direction:column}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-hero {align-items:stretch;padding:7cqi 6cqi 9cqi;gap:5cqi}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-hero:is(.pk-i-heading,.pk-i-subheading) {font-size:clamp(41px,10.5cqi,66px);max-width:14ch}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-s-about>.pk-i-image {width:68%;align-self:center}
  .pk-d-meadow-vets:not(.pk-vet-subpage) .pk-role-hero.pk-i-image {flex:auto;width:100%;height:auto;aspect-ratio:1.65;object-position:center 36%}
  .pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-hero {padding:0 4cqi 8cqi;gap:8px}
  .pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-s-hero>.pk-hero-copy {padding:6.5cqi 6cqi;gap:12px}
  .pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-role-hero.pk-i-heading {font-size:clamp(40px,10.5cqi,66px);max-width:15ch}
  .pk-d-kindred-clinic:not(.pk-vet-subpage) .pk-role-hero.pk-i-image {flex:auto;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1.65;object-position:center 41%}
  .pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions] {gap:8px 16px;padding:20px 5cqi}
  .pk-d-kindred-clinic:not(.pk-vet-subpage) [data-template-section=companions]>.pk-i-heading {width:100%;max-width:100%;text-align:center}
}
