/* VDC design language — tokens are exactly the four hexes canonicalized in the approved
   `VDC Redesign.dc.html` JS (NAVY/HONEY/CORAL/PAPER) plus the photo-well fill. Nothing added. */
:root {
  --navy: #13274F;
  --honey: #F6C56A;
  --coral: #C1603F;
  --paper: #F7F0E4;
  --well: #EFE6D6;
  --rule: rgba(19, 39, 79, .14);
  --ink-70: rgba(19, 39, 79, .72);
  --ink-80: rgba(19, 39, 79, .82);
  --ink-55: rgba(19, 39, 79, .55);
  --ink-50: rgba(19, 39, 79, .5);
  --on-navy: rgba(247, 240, 228, .85);
  --ruling: rgba(19, 39, 79, .045);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; background: var(--paper);
  font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; color: var(--navy);
}
body { overflow-x: hidden; }
a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; }

/* The ruled-paper ground the whole design sits on. */
.paper {
  background: var(--paper);
  background-image: repeating-linear-gradient(0deg, var(--ruling) 0 1px, transparent 1px 36px);
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---- Header ------------------------------------------------------------- */
/* The announcement scrolls away; the nav bar stays pinned (it is its own sticky element so the
   announcement's height is not permanently spent). */
.announce-bar { position: relative; z-index: 30; }
header.site {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  background-image: repeating-linear-gradient(0deg, var(--ruling) 0 1px, transparent 1px 36px);
}
header.site::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  background: linear-gradient(180deg, rgba(19, 39, 79, .07), transparent); pointer-events: none;
}
/* In-page links (#request-materials, #holter, …) land below the pinned bar: 89px on desktop,
   122px where the bar wraps onto two rows. */
html { scroll-padding-top: 110px; }
@media (max-width: 900px) { html { scroll-padding-top: 146px; } }
/* Saturday availability — sized to be read, not skimmed past: a visitor who lands on an inner page
   gets this and nothing else about Saturdays. */
.announce {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px;
  padding: 14px 24px; background: var(--navy); text-align: center;
  font: 700 16px/1.3 'Nunito Sans', sans-serif; color: var(--on-navy);
}
.announce-cal { flex: none; width: 34px; height: 34px; }
.announce-kicker { font: 600 30px/1 Caveat, cursive; color: var(--honey); }
.announce a.announce-cta {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--honey); color: var(--navy); font: 800 14px/1 'Nunito Sans', sans-serif;
}
.announce a.announce-cta:hover { background: #fff; color: var(--navy); }
@media (max-width: 600px) {
  .announce { gap: 6px 12px; padding: 12px 16px; font-size: 14.5px; }
  .announce-kicker { font-size: 25px; }
  .announce-cal { width: 28px; height: 28px; }
}
header.site .bar {
  max-width: 1240px; margin: 0 auto; padding: 10px 32px;
  display: flex; align-items: center; gap: 20px 26px; flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; flex: none; }
/* Full logo, tagline included. The tagline is only legible from ~58px tall, which is why the bar
   padding is tighter than it would otherwise be. */
.brand img { display: block; width: auto; height: 68px; }
.bar-cta { display: flex; align-items: center; gap: 12px; white-space: nowrap; margin-left: auto; }
.bar-cta .tel { font: 700 14px/1 'Nunito Sans', sans-serif; color: var(--navy); }

nav.top {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font: 600 15px/1 'Nunito Sans', sans-serif; white-space: nowrap;
}
nav.top a, nav.top summary span[data-nav] { color: var(--navy); }
nav.top a:hover { color: var(--coral); }
nav.top [aria-current="page"] { border-bottom: 2px solid var(--honey); padding-bottom: 3px; }
nav.top details.menu { position: relative; }
nav.top details.menu summary {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: var(--navy);
}
nav.top details.menu summary::-webkit-details-marker { display: none; }
nav.top .caret { font-size: 9px; color: var(--ink-55); }
nav.top .menu-panel {
  position: absolute; top: 100%; left: -14px; min-width: 250px; margin-top: 12px;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 10px;
  display: flex; flex-direction: column; gap: 2px; z-index: 120;
  box-shadow: 0 18px 36px -18px rgba(19, 39, 79, .5);
}
nav.top .menu-panel a {
  color: var(--navy); padding: 9px 12px; border-radius: 8px;
  font: 600 14.5px/1.3 'Nunito Sans', sans-serif; white-space: nowrap;
}
nav.top .menu-panel a:hover { background: var(--paper); color: var(--coral); }

/* A fly-out nested in a panel (Referring Vets → Referral Forms). It opens beside the panel;
   menu.js flips it to the left when the right edge of the viewport would clip it. */
nav.top details.submenu { position: relative; }
nav.top details.submenu > summary {
  justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 8px;
}
nav.top details.submenu > summary > a { padding: 0; }
nav.top details.submenu > summary:hover, nav.top details.submenu[open] > summary { background: var(--paper); }
nav.top details.submenu > summary .caret { transform: rotate(-90deg); }
nav.top details.submenu.flip > summary .caret { transform: rotate(90deg); }
nav.top .submenu-panel {
  position: absolute; top: -11px; left: calc(100% + 6px); min-width: 270px;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 10px;
  display: flex; flex-direction: column; gap: 2px; z-index: 130;
  box-shadow: 0 18px 36px -18px rgba(19, 39, 79, .5);
}
nav.top details.submenu.flip > .submenu-panel { left: auto; right: calc(100% + 6px); }

/* --- hamburger + touch navigation ---------------------------------------
   Under 900px the nav collapses behind a Menu button; sub-menus become inline
   accordions rather than floating panels, which is what a tap can actually reach. */
.nav-toggle {
  display: none; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid rgba(19, 39, 79, .24); background: transparent; color: var(--navy);
  padding: 10px 14px; border-radius: 10px;
  font: 700 12.5px/1 'Nunito Sans', sans-serif;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 16px; height: 2px; background: var(--navy); border-radius: 2px;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -5px; }
.nav-toggle .bars::after { top: 5px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  header.site .bar { flex-wrap: wrap; }
  .bar-cta { order: 3; margin-left: 0; }
  nav.top { order: 4; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  header.site.nav-open nav.top { display: flex; }
  nav.top > a, nav.top details.menu > summary {
    padding: 13px 2px; border-top: 1px solid var(--rule); font-size: 16.5px;
  }
  nav.top details.menu summary { justify-content: space-between; }
  nav.top .menu-panel {
    position: static; box-shadow: none; border: 0; background: transparent;
    margin: 0 0 6px; padding: 0 0 0 14px; min-width: 0;
  }
  nav.top .menu-panel a { padding: 10px 0; font-size: 15.5px; }
  nav.top details.submenu > summary { padding: 10px 0; }
  nav.top details.submenu > summary:hover, nav.top details.submenu[open] > summary { background: none; }
  nav.top details.submenu > summary .caret { transform: none; }
  nav.top .submenu-panel {
    position: static; box-shadow: none; border: 0; background: transparent;
    margin: 0 0 4px; padding: 0 0 0 14px; min-width: 0;
  }
}

/* ---- Page type ---------------------------------------------------------- */
.hero { padding: 64px 0 28px; }
.hero h1 {
  margin: 0; max-width: 20ch;
  font: 800 clamp(34px, 5vw, 60px)/1.06 'Nunito Sans', sans-serif; letter-spacing: -.02em;
}
.hero p.lead { margin: 22px 0 0; max-width: 62ch; font: 400 18px/1.7 'Nunito Sans', sans-serif; color: var(--ink-80); }
.kicker {
  font: 500 19px/1 Caveat, cursive; color: var(--coral); margin-bottom: 14px; display: block;
}
.eyebrow {
  font: 800 11px/1 'Nunito Sans', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 14px;
}
.section { padding: 0 0 72px; border-top: 1px solid var(--rule); padding-top: 56px; }
/* The section directly under the hero sits closer — the hero already gives it separation. */
.hero + .section { padding-top: 36px; }
.section > h2, .prose h2 {
  /* No hard character cap: a long factual heading should use the width it has and only wrap when it
     genuinely runs out. `balance` keeps the line lengths even when it does. */
  margin: 0 0 22px; max-width: none; text-wrap: balance;
  font: 800 clamp(26px, 3.4vw, 40px)/1.12 'Nunito Sans', sans-serif; letter-spacing: -.015em;
}
.prose h3 { margin: 34px 0 12px; font: 800 21px/1.25 'Nunito Sans', sans-serif; }
.prose.full p, .prose.full li { max-width: none; }
.prose p { margin: 0 0 16px; max-width: 70ch; font: 400 16px/1.8 'Nunito Sans', sans-serif; color: var(--ink-80); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; max-width: 70ch; }
.prose li { font: 400 16px/1.8 'Nunito Sans', sans-serif; color: var(--ink-80); margin-bottom: 8px; }
.prose strong { color: var(--navy); }
/* Copy/table beside a photo: equal halves squeeze a data table into a scrollbar, so the image
   column is fixed and everything else takes the room that is left. */
.two-col.with-aside { grid-template-columns: minmax(0, 1fr) 280px; }
.two-col.with-aside.aside-left { grid-template-columns: 280px minmax(0, 1fr); }
.two-col.with-aside > figure { justify-self: center; }
@media (max-width: 900px) { .two-col.with-aside { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; align-items: start; }
/* Service rows (heading + text beside a 16:10 photo): centre the text column against the photo, so
   short copy doesn't leave the left half empty below it. */
.two-col.media { align-items: center; }

/* Caveat annotations — the handwritten margin notes that give the design its voice. */
.annot, .prose .annot { font: 500 19px/1.35 Caveat, cursive; color: var(--coral); }
.hl { background-image: linear-gradient(180deg, transparent 48%, var(--honey) 48%, var(--honey) 94%, transparent 94%); }
/* The Chicago Saturday line under every published set of hours. */
.sat-note { font-weight: 700; color: var(--coral); }

/* ---- Cards, people, steps ---------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 26px;
  display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 10px; font: 800 19px/1.25 'Nunito Sans', sans-serif; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--coral); }
.card p { margin: 0 0 16px; font: 400 14.5px/1.7 'Nunito Sans', sans-serif; color: var(--ink-70); }
.card .more { margin-top: auto; font: 700 13px/1 'Nunito Sans', sans-serif; }
.card .num {
  font: 800 11px/1 'Nunito Sans', sans-serif; letter-spacing: .14em;
  color: var(--coral); margin-bottom: 12px;
}

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 26px 20px; }
.person .photo {
  aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--well);
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person .nm { margin-top: 14px; font: 800 17px/1.25 'Nunito Sans', sans-serif; }
.person .role { font: 600 13px/1.4 'Nunito Sans', sans-serif; color: var(--coral); margin-top: 3px; }
.person .bio { margin-top: 10px; font: 400 14px/1.7 'Nunito Sans', sans-serif; color: var(--ink-70); }

.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.stat > div { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.stat .big { font: 800 26px/1.1 'Nunito Sans', sans-serif; letter-spacing: -.02em; }
.stat .cap { margin-top: 8px; font: 400 13.5px/1.6 'Nunito Sans', sans-serif; color: var(--ink-70); }

.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start; }
.step .n {
  width: 44px; height: 44px; border-radius: 999px; background: var(--honey); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font: 800 15px/1 'Nunito Sans', sans-serif;
}
.step h3 { margin: 6px 0 6px; font: 800 18px/1.3 'Nunito Sans', sans-serif; }
.step p { margin: 0; font: 400 15px/1.75 'Nunito Sans', sans-serif; color: var(--ink-70); max-width: 62ch; }

.quote {
  border-left: 3px solid var(--honey); border-radius: 0 14px 14px 0;
  background: var(--well); padding: 20px 24px 20px 22px;
  margin: 0 0 24px; max-width: 66ch;
}
blockquote.quote { margin-inline: 0; }
.quote .who { display: block; margin-top: 4px; }
.quote p { margin: 0 0 10px; font: 400 16px/1.75 'Nunito Sans', sans-serif; color: var(--ink-80); }
.quote > :last-child { margin-bottom: 0; }
.quote .who { font: 700 13px/1 'Nunito Sans', sans-serif; color: var(--coral); }

/* Bento: true masonry. A grid row stretches every card to the tallest in it; CSS columns let each
   card keep the height its own content needs and pack vertically, so short services read as short
   cards. Order flows down each column. */
.cards.bento {
  display: block; column-count: 3; column-gap: 20px;
}
.cards.bento > .card {
  display: block; break-inside: avoid; margin: 0 0 20px;
}
.cards.bento > .card .more { display: inline-block; margin-top: 4px; }
@media (max-width: 1000px) { .cards.bento { column-count: 2; } }
@media (max-width: 640px)  { .cards.bento { column-count: 1; } }

/* A map sitting inside a location card, flush to its top edge like the service photos. */
.card .card-map { margin: -26px -26px 18px; border: 0; border-radius: 14px 14px 0 0; }
.card .card-map iframe { height: 190px; }

/* Testimonials, lifted from the home page's "Stories" chapter — same type ramp, the Caveat quote
   mark and byline, and blockquotes separated by a top rule rather than a left bar. build.mjs renders
   a page's reviews as sets (a lead plus three) inside `.stories`; reviews.js stacks the sets in
   `.story-track` and rotates them. Without JS the sets simply stack. */
/* align-content: start — in the track every set is stretched to the tallest set's height, and the
   spare height must stay below the reviews rather than open a gap between the lead and the rest */
.story-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(30px, 5vw, 72px); align-items: start; align-content: start; }
.stories:not(.is-rotating) .story-set + .story-set { margin-top: 56px; }
.story-lead { position: relative; margin-top: 22px; }
.story-lead .qmark {
  position: absolute; left: -8px; top: -34px;
  font: 600 96px/1 Caveat, cursive; color: rgba(246, 197, 106, .85);
}
.story-lead p {
  position: relative; margin: 0; max-width: none; color: var(--navy);
  font: 600 clamp(21px, 2.4vw, 31px)/1.4 'Nunito Sans', sans-serif;
  letter-spacing: -.02em; text-wrap: pretty;
}
.story-by { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.story-by .nm { font: 600 26px/1 Caveat, cursive; color: var(--coral); }
.story-by .src {
  font: 800 10.5px/1 'Nunito Sans', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-55);
}
.story-rest blockquote { margin: 0; padding: 22px 24px 20px; border-top: 1px solid rgba(19, 39, 79, .16); }
.story-rest blockquote p { margin: 0; font: 400 14.5px/1.7 'Nunito Sans', sans-serif; color: var(--ink-80); }
.story-rest cite {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; font-style: normal;
  font: 600 20px/1 Caveat, cursive; color: var(--coral);
}
.story-lead p + p, .story-rest blockquote p + p { margin-top: .7em; }
/* Two quotes of equal weight side by side (the Practice Partnership vet testimonials). */
.story-set.pair .story-rest blockquote p { font-size: 17px; line-height: 1.75; }
/* every set shares one grid cell, so the track keeps the height of the tallest set */
.story-track { display: grid; }
.story-track > .story-set {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.story-track > .story-set.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
@media (prefers-reduced-motion: reduce) { .story-track > .story-set { transition: none; } }
.story-nav { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.story-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(19, 39, 79, .22); background: transparent; color: var(--navy);
  font: 600 15px/1 'Nunito Sans', sans-serif;
}
.story-arrow:hover { border-color: var(--navy); background: #fff; }
.story-count {
  font: 800 10.5px/1 'Nunito Sans', sans-serif; letter-spacing: .14em; color: var(--ink-55);
}
.story-rest cite::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 99px; background: var(--honey);
}

/* ---- Buttons + CTA band ------------------------------------------------- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta-row, .section .cta-row, .prose .cta-row { margin-top: 26px; }
.section img { border-radius: 14px; }
.two-col .annot { margin-top: 12px; }
.btn-primary {
  display: inline-block; background: var(--navy); color: var(--paper);
  padding: 14px 20px; border-radius: 10px; font: 700 13.5px/1 'Nunito Sans', sans-serif;
}
.btn-primary:hover { background: #0E1D3A; color: var(--paper); }
.btn-primary.sm { padding: 12px 18px; font-size: 12.5px; }
.btn-ghost {
  display: inline-block; border: 1px solid rgba(19, 39, 79, .28); color: var(--navy);
  padding: 13px 19px; border-radius: 10px; font: 700 13.5px/1 'Nunito Sans', sans-serif;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.cta-band { border-top: 1px solid var(--rule); background: var(--well); padding: 66px 0; }
.cta-band h2 {
  margin: 0 0 12px; max-width: 20ch;
  font: 800 clamp(26px, 3.6vw, 40px)/1.1 'Nunito Sans', sans-serif; letter-spacing: -.02em;
}
.cta-band p { margin: 0 0 24px; max-width: 60ch; font: 400 15.5px/1.7 'Nunito Sans', sans-serif; color: var(--ink-70); }
/* Band with the page's About Us beside the booking prompt: two titled columns, stacked on phones. */
.cta-band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 36px 72px; align-items: start; }
.cta-band .cta-about .prose p { margin: 0; max-width: 62ch; }

/* ---- Hours, contact, tables, embeds ------------------------------------- */
.pp-form { margin: 32px 0; max-width: 640px; }
/* A form sits on the page grid like any other section: a title, a line of instruction, then the
   form in a card beside its supporting notes, or, for a PDF form, as a sheet on the full width. */
.section-intro { margin: -6px 0 30px; max-width: 70ch; font: 400 16px/1.8 'Nunito Sans', sans-serif; color: var(--ink-80); }
.section-intro .req, .form-aside .req { color: #b3261e; font-weight: 700; }
.two-col > .hours, .two-col > .note, .form-aside > .note { max-width: none; }
.two-col > .quote { max-width: none; margin: 0; }
.two-col.form-notes { margin-top: 32px; }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .form-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.form-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 32px;
  box-shadow: 0 22px 36px -30px rgba(19, 39, 79, .45);
}
.form-card > .pp-form, .form-sheet > .pp-form { margin: 0; max-width: none; }
/* The status line keeps its place in the accessibility tree without holding a blank row open. */
.form-card .pp-form-status:empty, .form-sheet .pp-form-status:empty { margin: 0; min-height: 0; }
/* Short fields pair up; a textarea or a file picker takes the full row. */
.pp-form-cols .pp-form-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 20px; }
.pp-form-cols .pp-field:has(textarea, .pp-attachments) { grid-column: 1 / -1; }
.form-aside { display: grid; gap: 18px; }
.form-aside .note { padding: 20px 22px; font-size: 14.5px; }
.form-aside .note .label {
  display: block; margin-bottom: 8px; font: 800 11px/1 'Nunito Sans', sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral);
}
.form-aside .note a { font-weight: 700; }
.form-aside .prose p { margin: 0; }
.form-aside .cta-row { margin-top: 4px; }
.form-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px 32px; margin: 0 0 36px; }
.form-steps .step { grid-template-columns: 44px 1fr; gap: 16px; }
.form-steps .step h3 { margin: 4px 0 4px; font-size: 16.5px; }
.form-steps .step p { font-size: 14.5px; }
.form-sheet { background: var(--well); border: 1px solid var(--rule); border-radius: 14px; padding: 32px; }
.form-sheet .pp-pdf-page { box-shadow: 0 0 0 1px rgba(19, 39, 79, .14), 0 22px 36px -28px rgba(19, 39, 79, .5); }
.form-foot { margin: 18px 0 0; font: 400 14.5px/1.7 'Nunito Sans', sans-serif; color: var(--ink-70); }
.form-foot a { font-weight: 700; }
@media (max-width: 600px) {
  .form-card { padding: 22px 18px; }
  .form-sheet { padding: 12px; margin-inline: -22px; border-radius: 0; border-inline: 0; }
}
/* The platform's form embed ships plain defaults; these dress its parts in the site's language. */
.pp-field-label, .pp-attachments legend { font: 700 13.5px/1.4 'Nunito Sans', sans-serif; color: var(--navy); }
.pp-field-control {
  padding: 12px 14px; border: 1px solid rgba(19, 39, 79, .28); border-radius: 10px;
  font: 400 15px/1.5 'Nunito Sans', sans-serif; color: var(--navy);
}
.pp-field-control:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.pp-form-note { font: 400 14px/1.6 'Nunito Sans', sans-serif; color: var(--ink-70); opacity: 1; }
.pp-form-submit {
  background: var(--navy); color: var(--paper); border: 0; border-radius: 10px;
  padding: 14px 20px; font: 700 13.5px/1 'Nunito Sans', sans-serif;
}
.pp-form-submit:hover:not(:disabled) { background: #0E1D3A; }
.pp-form-button {
  border: 1px solid rgba(19, 39, 79, .28); border-radius: 10px; color: var(--navy);
  padding: 13px 19px; font: 700 13.5px/1 'Nunito Sans', sans-serif;
}
.pp-form-button:hover:not(:disabled) { border-color: var(--navy); }
.pp-attachments, .pp-form-success {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 20px 24px;
}
/* The Attachments box is a card headed by its legend; a file field sits bare in the form like any other field. */
.pp-attachments { margin-top: 28px; }
.pp-attachments legend { float: left; width: 100%; margin: 0 0 6px; padding: 0; font-size: 15px; }
.pp-attachments legend + * { clear: both; }
.pp-field .pp-attachments { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.pp-field .pp-attachments legend { font-size: 13.5px; }
/* The drop area and its file rows take the accent; their borders already follow the navy text colour. */
.pp-form { --pp-accent: var(--coral); }
.pp-dropzone { padding: 26px 18px; background: var(--paper); font: 400 15px/1.5 'Nunito Sans', sans-serif; }
.pp-dropzone:focus-within { outline-color: var(--navy); }
.pp-dropzone-text strong, .pp-dropzone-browse, .pp-attachment-name { font-weight: 700; }
.pp-dropzone-icon { opacity: 1; }
.pp-dropzone-hint { font-size: 13.5px; }
.pp-attachment { padding: 12px 14px; background: #fff; font: 400 15px/1.5 'Nunito Sans', sans-serif; }
.pp-attachment-icon { color: var(--coral); opacity: 1; }
.pp-attachment-state, .pp-attachment-body .pp-field-error { font-size: 13.5px; }
.pp-attachment-state { color: var(--ink-70); opacity: 1; }
.pp-form-success { font: 400 15px/1.75 'Nunito Sans', sans-serif; color: var(--ink-80); }
.pp-form-copy-link { color: var(--coral); font-weight: 700; text-decoration: underline; }
.pp-form-copy-link:hover { color: var(--navy); }
.hours, .note {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 24px;
  font: 400 15px/1.75 'Nunito Sans', sans-serif; color: var(--ink-80); max-width: 60ch;
}
.hours strong, .note strong { color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 26px; }
.contact-grid .label {
  font: 800 11px/1 'Nunito Sans', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 10px;
}
.contact-grid .val { font: 400 15px/1.75 'Nunito Sans', sans-serif; color: var(--ink-80); }
.contact-grid .val a { color: var(--navy); }

table.docs { width: 100%; border-collapse: collapse; font: 400 14.5px/1.6 'Nunito Sans', sans-serif; }
table.docs th, table.docs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.docs th { font: 800 11px/1 'Nunito Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
table.docs td:last-child a { white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.embed { border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: #fff; }
.embed iframe { display: block; width: 100%; border: 0; }
.embed.map iframe { height: 360px; }
.embed.video { aspect-ratio: 16/9; }
.embed.video iframe { height: 100%; }
.embed.tall iframe { height: 900px; }
/* Calendly renders its own white card, so our frame doubled the border. */
.embed.bare { border: 0; background: transparent; border-radius: 0; }

.placeholder {
  border-radius: 14px; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--well) 12px 24px);
  display: flex; align-items: flex-end; padding: 18px; min-height: 220px;
}
[data-placeholder="text"] { border-left: 3px solid var(--rule); padding-left: 14px; }
a[data-placeholder="link"] { opacity: .7; }


/* ---- Photography & decoration -------------------------------------------
   Lifted from the approved design's own vocabulary: white polaroid frames at a
   slight rotation, a torn strip of honey "tape", and Caveat captions. The home page
   animates these via home.js; elsewhere they are static with a hover lift. */
.polaroid {
  position: relative; display: block; background: #fff; padding: 12px 12px 40px;
  box-shadow: 0 18px 34px -20px rgba(19, 39, 79, .5);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.polaroid .cap {
  position: absolute; left: 20px; right: 20px; bottom: 12px;
  font: 600 20px/1 Caveat, cursive; color: var(--navy);
}
.polaroid.tilt-l { transform: rotate(-3deg); }
.polaroid.tilt-r { transform: rotate(2deg); }
.polaroid:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 26px 40px -22px rgba(19, 39, 79, .5); }
.tape {
  position: absolute; top: -12px; left: 38%; width: 92px; height: 26px;
  background: rgba(246, 197, 106, .7); transform: rotate(-2deg); pointer-events: none;
}
.hero-media { position: relative; }
.hero-media .polaroid { aspect-ratio: 16/10; padding-bottom: 44px; }
/* Several live "header images" are transparent cutouts, not photographs. They sit directly on the
   paper — framing them like a photo (or flattening them to JPEG) is wrong. */
.cutout { display: block; width: 100%; height: auto; }

/* Feature — one person given room: the founder above the team grid, or a location whose team is a
   single person. */
.feature .polaroid { aspect-ratio: 4/5; max-width: 360px; }
.feature .two-col { align-items: center; gap: 48px; }
.feature .prose + .two-col { margin-top: 32px; }
.feature .two-col h2 { margin-bottom: 8px; }
.feature .two-col .prose h3 { margin: 0 0 8px; font: 800 clamp(22px, 2.4vw, 28px)/1.2 'Nunito Sans', sans-serif; }
.feature .role {
  font: 700 13px/1 'Nunito Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 20px;
}

/* Patient wall — VDC's own patients as a grid of small tilted polaroids. The 4:5 frame crops like
   the home page's polaroid wells; there are no captions because the pets' names aren't known. */
.patient-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 30px 24px; margin-top: 26px; padding: 6px;
}
.patient-wall .polaroid { margin: 0; aspect-ratio: 4/5; padding: 10px 10px 30px; transform: rotate(-2deg); }
.patient-wall .polaroid:nth-child(even) { transform: rotate(2deg); }
.patient-wall .polaroid:nth-child(3n) { transform: rotate(-1deg); }
.patient-wall .polaroid:hover { transform: rotate(0deg) translateY(-6px); }
/* Room walls on the location pages: the same frames, landscape, since rooms are wider than pets. */
.patient-wall.rooms { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.patient-wall.rooms .polaroid { aspect-ratio: 4/3; }
/* Square photos with a short caption written under each (VCE findings, the VCE kit). */
.patient-wall.captioned .polaroid { aspect-ratio: auto; padding-bottom: 12px; }
.patient-wall.captioned .polaroid img { aspect-ratio: 1; height: auto; }
.patient-wall.captioned .cap { position: static; display: block; margin-top: 8px; font-size: 17px; line-height: 1.1; }
/* The VCE kit rows are product shots: smaller tiles, so the seven capsule photos fit one row on desktop. */
.patient-wall.captioned.kit { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }

/* A wide illustration shown flat, not framed (a rounded frame, if any, is part of the image). */
.wide-shot { margin: 32px 0 0; }
.wide-shot img { display: block; width: 100%; height: auto; border-radius: 0; }
.wide-shot.diagram { max-width: 860px; }
/* A photo banner closing a page's hero (Practice Partnership). */
.hero .wide-shot.banner { margin-top: 40px; }
/* The art has its own rounded corners (a ~100px radius on the 1600x649 image, fitted from its white
   corner fill): clip just outside that curve, as a percentage so it scales, instead of showing the fill. */
.wide-shot.banner img { border-radius: 6.8% / 16.8%; }
/* Two framed photos side by side under a section. */
.shot-pair { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 40px; margin-top: 36px; }
.shot-pair .polaroid { margin: 0; } /* figures carry a 40px UA side margin that would wrap the row */
.shot-pair .polaroid.natural img { max-height: 340px; }
/* A video in a polaroid frame (the Chicago tour). */
.video-frame { max-width: 720px; margin: 26px auto 0; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: var(--navy); }

/* Card photography */
.card .photo {
  aspect-ratio: 16/10; margin: -26px -26px 20px; overflow: hidden; background: var(--well);
  border-radius: 14px 14px 0 0;
}
.card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -24px rgba(19, 39, 79, .55); }

/* Capability strip — the live site's four service icons, which are white line-art
   and only read on a dark fill. */
.icon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.icon-tile {
  background: var(--navy); color: var(--paper); border-radius: 14px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.icon-tile img { width: 44px; height: 44px; }
.icon-tile .t { font: 800 15px/1.3 'Nunito Sans', sans-serif; }
.icon-tile .d { font: 400 13.5px/1.6 'Nunito Sans', sans-serif; color: var(--on-navy); }

/* Scroll cue — the same idea as PVC's bouncing hint, drawn as a hand-inked arrow so it belongs to
   this design rather than that one. Fades out as the first chapter leaves (see home.js). */
[data-scrollcue] {
  position: absolute; left: 0; right: 0; bottom: 3vh; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none; transition: opacity .3s;
}
[data-scrollcue] svg { animation: vdcCue 2.4s ease-in-out infinite; }
[data-scrollcue] span { font: 500 19px/1 Caveat, cursive; color: var(--coral); opacity: .9; }

@keyframes vdcCue {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-scrollcue] svg { animation: none; opacity: .8; }
}

/* Location photography. No aspect-ratio and no object-fit anywhere: bound the height, let width
   follow, so every photo keeps its own proportions — six of the eight are portrait. */
figure.hero-shot, figure.aside { margin: 0; align-self: center; }
/* `.polaroid` sets object-fit: cover for the home page's fixed-ratio wells. `.natural` undoes that:
   these photos are 640x480 through 920x1282 and must never be re-cropped. */
.polaroid.natural { display: inline-block; width: fit-content; justify-self: center; }
.polaroid.natural img {
  width: auto; height: auto; max-width: 100%; object-fit: initial; border-radius: 0;
}
/* A natural frame is only as wide as its photo, so a long caption wraps. Keep the caption in flow
   under the photo (width 0 + min-width 100% fills the frame without widening it), so the frame grows
   with the text instead of a second line riding up over the picture. */
.polaroid.natural:has(.cap) { padding-bottom: 12px; }
.polaroid.natural .cap {
  position: static; display: block; box-sizing: border-box; width: 0; min-width: 100%;
  margin-top: 10px; padding: 0 8px; line-height: 1.1;
}
figure.hero-shot.natural img { max-height: 500px; }
figure.aside.natural img { max-height: 400px; }
/* the frame needs room around a tilted photo, and the tape hangs off its top edge */
.shot-wrap { position: relative; display: flex; justify-content: center; padding: 18px 6px; }
.shot-wrap .tape { left: 30%; }
/* The photo and its booking buttons share one column, so `.two-col` sees two children. */
.col-media { display: flex; flex-direction: column; gap: 20px; align-items: center; align-self: center; }
.col-media .cta-row { margin-top: 0; justify-content: center; }

/* The About-VDC photo sits under its copy rather than in a column, so it needs its own spacing. */
.prose + figure.aside { margin-top: 26px; }

/* Hero: copy on the left, the location's own photo on the right. */
.hero .hero-cols { align-items: center; gap: 44px; }
.hero .hero-cols h1 { max-width: 16ch; }
@media (max-width: 900px) {
  figure.hero-shot.natural img, figure.aside.natural img { max-height: 300px; }
}

/* Partner-logo marquee. Pure CSS — inner pages load only menu.js. The track holds two identical
   runs, so translating it -50% lands exactly on the start of the second run and loops seamlessly. */
.logo-marquee { overflow: hidden; position: relative; padding: 8px 0; }
.logo-marquee::before, .logo-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: logoScroll 42s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track .logo { flex: none; display: flex; align-items: center; }
.logo-track img { display: block; height: 64px; width: auto; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---- Blog --------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
/* Card thumbnails share one ratio so the grid stays even; all sources are landscape, so the crop is
   slight. The post page itself shows the same photo at its true proportions. */
.post-card .thumb { aspect-ratio: 16/10; margin: -24px -24px 18px; overflow: hidden; border-radius: 14px 14px 0 0; background: var(--well); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Article masthead. The band is full-bleed out of `main.wrap` via the classic
   `margin: 0 calc(50% - 50vw)` trick, with the padding put back so the text stays on the grid. */
.post-head {
  background: var(--navy); color: var(--paper);
  margin: 0 calc(50% - 50vw) 0; padding: 54px calc(50vw - 50%) 110px;
}
.post-head .post-meta {
  color: var(--paper); margin-bottom: 18px; text-transform: none; letter-spacing: 0;
  font: 700 12.5px/1 'Nunito Sans', sans-serif;
}
.post-head .post-meta .tag { color: var(--honey); text-transform: uppercase; letter-spacing: .1em; }
.post-head .post-meta .dot { color: var(--honey); margin: 0 6px; }
.post-head h1 {
  margin: 0; max-width: 18ch; color: var(--paper);
  font: 800 clamp(32px, 5.2vw, 58px)/1.08 'Nunito Sans', sans-serif; letter-spacing: -.02em;
}
/* the photo sits in a white frame lifted over the band's lower edge */
figure.post-hero {
  margin: -90px 0 34px; background: #fff; padding: 10px; border-radius: 16px;
  box-shadow: 0 20px 44px -26px rgba(19, 39, 79, .55);
}
figure.post-hero img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Images that sit between paragraphs, as on the live articles. */
figure.body-shot { margin: 26px 0; }
figure.body-shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 440px; border-radius: 14px; }

/* Article body: copy beside a sticky support card. */
.post-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.support-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 26px;
  position: sticky; top: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.support-card .eyebrow { margin: 0; }
.support-card h3 { margin: 0; font: 800 21px/1.25 'Nunito Sans', sans-serif; }
.support-card p { margin: 0; font: 400 14.5px/1.7 'Nunito Sans', sans-serif; color: var(--ink-70); }
.support-card .btn-primary { margin-top: 4px; }
@media (max-width: 900px) {
  .post-cols { grid-template-columns: 1fr; gap: 32px; }
  .support-card { position: static; }
  .post-head { padding: 40px calc(50vw - 50%) 84px; }
  figure.post-hero { margin-top: -68px; }
}
.post-card .date { font: 700 11.5px/1 'Nunito Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.post-card h3 { margin: 12px 0 0; font: 800 17.5px/1.35 'Nunito Sans', sans-serif; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--coral); }
.post-card .more { margin-top: 16px; font: 700 13px/1 'Nunito Sans', sans-serif; }
.post-meta { font: 700 12px/1 'Nunito Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }

/* ---- FAQ accordions ----------------------------------------------------- */
details.faq { border-bottom: 1px solid var(--rule); padding: 18px 0; max-width: 76ch; }
details.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  font: 800 16.5px/1.4 'Nunito Sans', sans-serif; color: var(--navy);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--coral); font-weight: 800; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 14px 0 0; font: 400 15.5px/1.8 'Nunito Sans', sans-serif; color: var(--ink-80); }

/* ---- Footer ------------------------------------------------------------- */
footer.site { border-top: 1px solid var(--rule); background: var(--paper); }
footer.site .cols {
  max-width: 1240px; margin: 0 auto; padding: 64px 32px 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 40px;
}
footer .flabel { font: 800 13px/1.35 'Nunito Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
footer .fnote { margin: 16px 0 0; max-width: 52ch; font: 400 13.5px/1.75 'Nunito Sans', sans-serif; color: var(--ink-70); }
footer .fcol { font: 400 13.5px/1.7 'Nunito Sans', sans-serif; color: rgba(19, 39, 79, .78); }
footer .fcol > div + div { margin-top: 10px; }
footer .fhead {
  font: 800 11px/1 'Nunito Sans', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 14px;
}
footer .fcol a { color: var(--navy); }
footer .fcol a:hover { color: var(--coral); }
footer .fq { margin-top: 16px; }
footer .fq a { font-weight: 700; color: var(--coral); }
footer .fcol a.fbook, footer a.fbook {
  display: inline-block; margin-top: 18px; background: var(--navy); color: var(--paper);
  padding: 12px 18px; border-radius: 10px; font: 700 12.5px/1 'Nunito Sans', sans-serif;
}
footer .fcol a.fbook:hover, footer a.fbook:hover { color: var(--paper); background: #0E1D3A; }
footer .legal {
  max-width: 1240px; margin: 0 auto; padding: 0 32px 36px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font: 400 12px/1.6 'Nunito Sans', sans-serif; color: var(--ink-50);
}
footer .legal a { color: inherit; }
footer .legal a:hover { color: var(--navy); }

@media (max-width: 900px) {
  header.site .bar { gap: 14px 20px; }
  .brand img { height: 50px; }
  nav.top { order: 3; width: 100%; gap: 14px 18px; }
  .bar-cta { margin-left: auto; }
  .wrap { padding: 0 22px; }
  .hero { padding: 48px 0 32px; }
  nav.top .menu-panel { position: static; box-shadow: none; margin-top: 8px; min-width: 0; }
}
