/*
Theme Name: Boyd's Creek Animal Hospital
Description: Custom theme for Boyd's Creek Animal Hospital, Seymour TN.
Author: Kuma Systems LLC
Version: 2.0
Text Domain: bcah
*/

:root{
  --ink:#16241D;
  --creek:#1E6A54;
  --creek-deep:#164F3F;
  --creek-tint:#EAF2EE;
  --slate:#2B4A66;
  --clay:#B5764A;
  --glow:#E0A343;
  --glow-tint:#FBF1DE;
  --paper:#F6F7F3;
  --surface:#FFFFFF;
  --surface-2:#E9EDE7;
  --line:#D7DED4;
  --line-soft:#E7EBE4;
  --text:#16241D;
  --text-soft:#48594F;
  --text-faint:#627268; /* darkened from #6B7C73, which fell short of 4.5:1 on both white and paper */
  --on-dark:#EEF1EC;
  --on-dark-soft:#AFC1B6;
  --shadow-xs:0 1px 2px rgba(22,36,29,.05);
  --shadow:0 1px 2px rgba(22,36,29,.05),0 12px 30px -16px rgba(22,36,29,.22);
  --shadow-lg:0 2px 4px rgba(22,36,29,.05),0 30px 70px -28px rgba(22,36,29,.32);
  --r:20px;
  --r-lg:28px;
  --ease:cubic-bezier(.2,.7,.3,1);
  /* One typeface for everything: a modern sans-serif. No serif, no italics. */
  --font:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

/* No italics anywhere on the site - semantic tags keep their meaning but render upright. */
*,*::before,*::after{font-style:normal !important}
em,i,cite,address,dfn,var{font-style:normal !important}
button,input,select,textarea,optgroup{font-family:inherit}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:var(--font);
  font-size:1rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-optical-sizing:auto;
  overflow-x:hidden;
}
body.nav-open{overflow:hidden}

h1,h2,h3,h4,h5,h6{
  font-family:var(--font);
  font-weight:700;
  line-height:1.1;
  text-wrap:balance;
  letter-spacing:-.03em;
  color:var(--ink);
  margin:0 0 .6em;
}
h1{font-size:clamp(2.2rem,1.5rem + 3vw,3.6rem);letter-spacing:-.036em;line-height:1.05}
h2{font-size:clamp(1.65rem,1.3rem + 1.5vw,2.45rem);letter-spacing:-.032em}
/* `balance` is right for big display headings, but on short card titles it
   produces odd two-word orphan lines ("Dentistry / done properly"). */
h3,h4{text-wrap:pretty}
h3{font-size:clamp(1.18rem,1.08rem + .48vw,1.4rem);font-weight:650;letter-spacing:-.022em;line-height:1.2}
h4{font-size:1.05rem;font-weight:650;letter-spacing:-.012em}
p{margin:0 0 1.05em}
a{color:var(--creek);text-underline-offset:3px}
a:hover{color:var(--creek-deep)}
img{max-width:100%;height:auto}
hr,.wp-block-separator{border:0;border-top:1px solid var(--line);margin:2.6rem 0;opacity:1}

.wrap,.site-header__inner,.site-footer__inner{width:min(100% - 2.5rem,1180px);margin-inline:auto}

.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:#fff;padding:.7rem 1.1rem;border-radius:0 0 10px 0;text-decoration:none}
.skip-link:focus{left:0;color:#fff}

/* ---------- announcement + urgent strip ---------- */
.notice-bar{background:var(--glow);color:var(--ink);font-size:.88rem;font-weight:600}
.notice-bar .wrap{display:flex;gap:.4rem 1rem;align-items:center;justify-content:center;padding:.55rem 0;flex-wrap:wrap;text-align:center}
.notice-bar a{color:var(--ink);font-weight:700}

.urgent-strip{background:var(--ink);color:var(--on-dark);font-size:.83rem}
.urgent-strip .wrap{display:flex;gap:.35rem 1.1rem;align-items:center;justify-content:center;padding:.5rem 0;flex-wrap:wrap;text-align:center}
.urgent-strip .us-item{display:inline-flex;align-items:center;gap:.42rem}
.urgent-strip svg{opacity:.65;flex:none}
.urgent-strip b{color:var(--glow);font-weight:700}
.urgent-strip a{color:var(--on-dark);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.urgent-strip a:hover{color:var(--glow)}
.us-sep{width:1px;height:13px;background:rgba(255,255,255,.2)}
@media (max-width:760px){.us-sep{display:none}}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--paper) 86%,transparent);backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);border-bottom:1px solid var(--line-soft)}
.site-header__inner{display:flex;align-items:center;gap:1rem;padding:.65rem 0}
.site-branding{display:flex;align-items:center;gap:.7rem;text-decoration:none;flex:none;min-width:0;color:var(--text)}
.site-branding img,.custom-logo{width:48px !important;height:48px !important;object-fit:contain;flex:none}
.custom-logo-link{display:flex;align-items:center;flex:none}
.site-branding .brand-tx{display:flex;flex-direction:column;line-height:1.06;min-width:0}
.site-branding b{font-family:var(--font);font-weight:700;font-size:1.08rem;letter-spacing:-.025em;white-space:nowrap;color:var(--text)}
/* Only the second line is the small-caps kicker - scoping this to `.brand-tx > span`
   keeps `.brand-tx` itself (also a span) from uppercasing the whole lockup. */
.site-branding .brand-tx > span{font-size:.63rem;letter-spacing:.17em;text-transform:uppercase;color:var(--text-faint);font-weight:700;white-space:nowrap}

.primary-nav{margin-left:auto;display:flex;align-items:center}
.primary-nav ul{list-style:none;display:flex;align-items:center;gap:.1rem;margin:0;padding:0;flex-wrap:nowrap}
/* Top-level items must not shrink: squeezing one narrower than its link + caret
   pushes the caret onto a second line and grows the whole header by ~24px. */
.primary-nav > ul > li{position:relative;flex:0 0 auto;white-space:nowrap}
.primary-nav li{position:relative}
.primary-nav a{text-decoration:none;padding:.5rem .7rem;border-radius:9px;font-size:.92rem;font-weight:500;color:var(--text-soft);white-space:nowrap;display:inline-block;transition:background .16s var(--ease),color .16s var(--ease)}
.primary-nav a:hover{background:var(--surface-2);color:var(--text)}
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a{color:var(--creek);background:var(--creek-tint)}

/* submenus */

/* The dropdown is offset below its parent, and that gap is a dead zone: the
   pointer leaves the <li> on the way down and the menu closes before you reach
   it. This invisible bridge spans the gap so hover stays unbroken. */
@media (min-width:1201px){
  .primary-nav li.menu-item-has-children::after{
    content:"";position:absolute;left:0;right:0;top:100%;height:.7rem;
    pointer-events:none
  }
  .primary-nav li.menu-item-has-children:hover::after,
  .primary-nav li.menu-item-has-children:focus-within::after{pointer-events:auto}
}

.primary-nav .sub-menu{
  position:absolute;top:calc(100% + .45rem);left:0;min-width:230px;display:block;
  background:var(--surface);border:1px solid var(--line);border-radius:13px;
  box-shadow:var(--shadow-lg);padding:.4rem;flex-direction:column;align-items:stretch;gap:0;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s var(--ease),transform .16s var(--ease),visibility .16s;
  z-index:70;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.submenu-open > .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.primary-nav .sub-menu a{display:block;white-space:normal;padding:.5rem .7rem;font-size:.9rem;border-radius:8px}
.submenu-toggle{
  border:0;background:transparent;color:var(--text-faint);cursor:pointer;padding:0 .25rem;
  display:inline-flex;align-items:center;vertical-align:middle;margin-left:-.42rem;transition:transform .18s var(--ease)
}
.primary-nav li.submenu-open > .submenu-toggle{transform:rotate(180deg)}
.nav-mobile-cta{display:none}

.header-cta{flex:none;margin-left:.5rem}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.62rem 1.2rem;border-radius:999px;text-decoration:none;font-weight:600;font-size:.92rem;border:1px solid transparent;cursor:pointer;transition:background .16s var(--ease),border-color .16s var(--ease),color .16s var(--ease),transform .16s var(--ease),box-shadow .16s var(--ease);line-height:1.3}
.btn-p{background:var(--creek);color:#fff !important;border-color:var(--creek);box-shadow:0 1px 2px rgba(22,36,29,.12)}
.btn-p:hover{background:var(--creek-deep);border-color:var(--creek-deep);color:#fff !important;transform:translateY(-1px);box-shadow:0 6px 18px -8px rgba(30,106,84,.6)}
.btn-o{border-color:var(--line);color:var(--text) !important;background:var(--surface)}
.btn-o:hover{border-color:var(--creek);color:var(--creek) !important;transform:translateY(-1px)}
.btn-lg{padding:.85rem 1.7rem;font-size:1rem}
.btn-block{width:100%}

.menu-toggle{display:none;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--surface);align-items:center;justify-content:center;cursor:pointer;flex:none;margin-left:auto}
.menu-toggle__bars{display:flex;flex-direction:column;gap:4px;width:17px}
.menu-toggle__bars span{display:block;height:2px;background:var(--text);border-radius:2px;transition:transform .2s var(--ease),opacity .2s var(--ease)}
body.nav-open .menu-toggle__bars span:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.nav-open .menu-toggle__bars span:nth-child(2){opacity:0}
body.nav-open .menu-toggle__bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ---------- layout shells ---------- */
main{display:block}
.entry-content{width:min(100% - 2.5rem,820px);margin-inline:auto;padding:clamp(2rem,5vw,3.5rem) 0 clamp(2.5rem,6vw,4rem)}
.entry-content > *:first-child{margin-top:0}
.entry-content h2{margin-top:2.3rem}
.entry-content h3{margin-top:1.9rem}

/* Body copy, lists and centered ledes run the full width of the 820px column so
   they line up with the cards, images and columns around them. */
.entry-content .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.entry-content .alignwide{width:min(100vw - 2.5rem,1180px);max-width:1180px;margin-left:calc(50% - min(50vw - 1.25rem,590px));margin-right:calc(50% - min(50vw - 1.25rem,590px))}

.front-page-content{padding:0}
.front-page-content > .wp-block-group,
.front-page-content > .wp-block-columns,
.front-page-content > .wp-block-cover{width:min(100% - 2.5rem,1180px);margin-left:auto;margin-right:auto}
.front-page-content > .alignfull{width:100%;margin-left:0;margin-right:0;max-width:none}
.front-page-content .section-inner{width:min(100% - 2.5rem,1180px);margin-inline:auto;padding:clamp(2.5rem,6vw,4.5rem) 0}

/* `.section-inner` sits inside a constrained-layout Group, so WordPress caps its
   children at theme.json's contentSize (820px). Inside a full-bleed band we want
   the whole 1180px, so release that cap and re-narrow only what should stay narrow. */
.section-inner > *{max-width:none;margin-left:0;margin-right:0}
.section-inner > .lede-center,
.section-inner > .is-narrow{max-width:66ch;margin-left:auto;margin-right:auto}
.section-inner > .wp-block-buttons{justify-content:inherit}

/* interior page hero */
.page-hero{text-align:center;padding:clamp(2.2rem,5vw,3.4rem) 0 .5rem;position:relative}
.page-hero .eyebrow,.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--creek)}

/* subtle atmospheric wash behind the top of every page */
.site-header::after{content:"";position:absolute;inset:100% 0 auto 0;height:220px;pointer-events:none;
  background:radial-gradient(60% 100% at 50% 0,rgba(30,106,84,.07),transparent 70%)}

/* ---------- reveal on scroll ---------- */
.will-reveal{opacity:0;transform:translateY(14px)}
.will-reveal.is-in{opacity:1;transform:none;transition:opacity .6s var(--ease),transform .6s var(--ease)}
@media (prefers-reduced-motion:reduce){
  .will-reveal,.will-reveal.is-in{opacity:1 !important;transform:none !important;transition:none !important}
}

/* ---------- cards / blocks ---------- */
.wp-block-columns{gap:2rem}
.wp-block-group.card,.is-style-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:1.5rem 1.6rem;box-shadow:var(--shadow-xs);
  transition:box-shadow .2s var(--ease),transform .2s var(--ease),border-color .2s var(--ease)
}
.is-style-card:hover{box-shadow:var(--shadow);border-color:var(--line)}
.is-style-card > *:last-child{margin-bottom:0}
.is-style-card h3{margin-top:0}

/* ---------- hero montage ----------
   Three photos instead of one, because no single picture in the library shows
   both medicine and grooming. Built from ordinary Image blocks so staff can
   swap any panel in the editor; each figcaption becomes the overlay label. */
.hero-montage .wp-block-columns{gap:.7rem;margin:0}
.hero-montage .wp-block-column{display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* Pinned so the generic `is-not-stacked-on-mobile` reset (flex-basis:0) cannot
   flatten these to 50/50 and break the height match between the two columns. */
.hero-montage > .wp-block-columns > .wp-block-column:first-child{flex:0 0 58% !important}
.hero-montage > .wp-block-columns > .wp-block-column:last-child{flex:0 0 42% !important}
.hero-montage figure.wp-block-image{
  position:relative;margin:0;flex:1 1 auto;overflow:hidden;border-radius:var(--r);
  box-shadow:var(--shadow);min-height:0
}
.hero-montage figure.wp-block-image img{
  width:100%;height:100%;object-fit:cover;object-position:center;
  display:block;border-radius:0;box-shadow:none
}
/* The grooming photo is a tall portrait squared off to 1:1, so the default
   centre crop cuts the cat's face. Bias the crop downward to keep it. */
.hero-montage > .wp-block-columns > .wp-block-column:last-child figure:first-child img{
  object-position:center 62%
}
/* Left panel is one tall image; the right column stacks two, so their combined
   height matches. Fixed aspect ratios keep that true at every width. */
.hero-montage > .wp-block-columns > .wp-block-column:first-child figure{aspect-ratio:3/4}
.hero-montage > .wp-block-columns > .wp-block-column:last-child figure{aspect-ratio:1/1}

/* A soft scrim replaces the old pill-badge look, which read as a UI label
   rather than a photo caption. The gradient sits low in the frame so it
   doesn't dull the photo itself, and the caption reads like a handwritten
   note under a photograph rather than a tag. */
.hero-montage figure.wp-block-image::before{
  content:"";position:absolute;inset:auto 0 0 0;height:46%;z-index:1;
  background:linear-gradient(to top, rgba(10,16,12,.68), rgba(10,16,12,.28) 60%, transparent);
  pointer-events:none
}
.hero-montage figcaption.wp-element-caption{
  position:absolute;left:0;right:0;bottom:0;z-index:2;margin:0;
  padding:.2rem 1rem .8rem;
  background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;
  color:#fff;font-family:var(--font);font-weight:600;
  font-size:.98rem;letter-spacing:-.005em;text-transform:none;line-height:1.2;text-align:left;
  text-shadow:0 1px 5px rgba(0,0,0,.45);max-width:none
}
@media (max-width:700px){
  .hero-montage figcaption.wp-element-caption{font-size:.82rem;padding:.15rem .65rem .55rem}
  .hero-montage figure.wp-block-image::before{height:40%}
  .hero-montage .wp-block-columns,.hero-montage .wp-block-column{gap:.5rem}
}

/* quick-action tiles on the home page */
.qa{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin:0}
.qa a{display:flex;flex-direction:column;gap:.3rem;padding:1.15rem 1.2rem;background:var(--surface);border:1px solid var(--line);border-radius:14px;text-decoration:none;transition:border-color .18s var(--ease),transform .18s var(--ease),box-shadow .18s var(--ease)}
.qa a:hover{border-color:var(--creek);transform:translateY(-3px);box-shadow:var(--shadow)}
.qa .qa-ic{width:34px;height:34px;border-radius:10px;background:var(--creek-tint);color:var(--creek);display:flex;align-items:center;justify-content:center;margin-bottom:.35rem}
.qa b{font-size:.99rem;font-weight:700;color:var(--text)}
.qa span{font-size:.83rem;color:var(--text-faint);line-height:1.45}

/* bands */
.section{padding:clamp(2.5rem,6vw,4.5rem) 0}
.band{background:var(--surface);border-block:1px solid var(--line-soft)}
.band-ink{background:var(--ink);color:var(--on-dark)}
.band-ink h1,.band-ink h2,.band-ink h3,.band-ink h4{color:var(--on-dark)}
.band-ink p{color:var(--on-dark-soft)}
.band-ink a:not(.btn):not(.wp-block-button__link){color:var(--glow)}

/* Buttons rendered from the core Button block */
.wp-block-button__link{border-radius:999px !important;font-weight:600;padding:.72rem 1.5rem;transition:transform .16s var(--ease),box-shadow .16s var(--ease),background .16s var(--ease)}
.wp-block-button__link:hover{transform:translateY(-1px);box-shadow:0 8px 20px -10px rgba(22,36,29,.45)}
/* Outline buttons stay TRANSPARENT. Painting them --surface made the white-text
   outline button inside the dark green CTA band white-on-white and invisible. */
.wp-block-button.is-style-outline .wp-block-button__link{border:1px solid var(--line);background:transparent}
.wp-block-button.is-style-outline .wp-block-button__link:hover{border-color:var(--creek);color:var(--creek)}
/* ...but on a dark band, keep the white treatment on hover rather than going green. */
.band-ink .wp-block-button.is-style-outline .wp-block-button__link:hover,
.has-creek-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.cta-band .wp-block-button.is-style-outline .wp-block-button__link:hover{
  background:rgba(255,255,255,.14);border-color:#fff;color:#fff
}
.wp-block-buttons{gap:.7rem}

/* Body links carry an underline so they are distinguishable without relying on
   colour alone. Buttons, nav and footer opt out. */
.entry-content p a:not(.wp-element-button),
.entry-content li a:not(.wp-element-button),
.front-page-content p a:not(.wp-element-button),
.faq-answer a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
.entry-content p a:hover,.entry-content li a:hover,
.front-page-content p a:hover,.faq-answer a:hover{text-decoration-color:currentColor}

/* images inside content */
.wp-block-image img{border-radius:var(--r);display:block;box-shadow:0 0 0 1px rgba(22,36,29,.06)}
.wp-block-image figcaption{font-size:.83rem;color:var(--text-faint);text-align:center;margin-top:.55rem}
.wp-block-image.is-style-rounded img{border-radius:var(--r-lg)}

/* lists */
.entry-content ul,.entry-content ol{padding-left:1.15rem;margin:0 0 1.1em}
.entry-content li{margin-bottom:.4em}
.entry-content ul{list-style:none;padding-left:0}
.entry-content ul li{position:relative;padding-left:1.5rem}
.entry-content ul li::before{content:"";position:absolute;left:.28rem;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--creek);opacity:.55}
.entry-content ol{padding-left:1.3rem}

/* blockquote / testimonial */
.wp-block-quote{border-left:3px solid var(--creek);margin:2rem 0;padding:.2rem 0 .2rem 1.3rem;font-size:1.06rem}
.wp-block-quote p{font-family:var(--font);font-weight:500;font-size:1.12rem;letter-spacing:-.01em;color:var(--ink)}
.wp-block-quote cite{font-family:var(--font);font-size:.85rem;color:var(--text-faint);font-weight:600}

/* ---------- hours ---------- */
.hours-list{margin:0;display:flex;flex-direction:column;gap:.34rem}
.hours-list > div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.1rem 1rem;align-items:baseline}
.hours-list dt{font-weight:600;color:inherit;margin:0;white-space:nowrap}
.hours-list dd{margin:0 0 0 auto;color:inherit;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.hours-list--footer{font-size:.9rem;gap:.7rem}
/* Footer column is narrow: day range on one line, its hours on the next. */
.hours-list--footer > div{flex-direction:column;align-items:flex-start;gap:.1rem}
.hours-list--footer dd{margin:0;text-align:left}
.hours-list--footer dt{font-weight:500;color:var(--on-dark-soft)}
.hours-list--footer dd{color:var(--on-dark)}
.hours-note{font-size:.83rem;color:var(--text-faint);margin:.7rem 0 0}
.site-footer .hours-note{color:var(--on-dark-soft)}
.hours-unset{font-size:.9rem;margin:0}

/* ---------- FAQ accordion ---------- */
.faq-item{border:1px solid var(--line);border-radius:13px;background:var(--surface);margin:0 0 .7rem;overflow:hidden;transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
.faq-item[open]{border-color:var(--creek);box-shadow:var(--shadow-xs)}
.faq-item > summary{
  cursor:pointer;list-style:none;padding:1rem 3rem 1rem 1.2rem;font-weight:600;color:var(--ink);
  position:relative;font-size:1rem;transition:background .16s var(--ease)
}
.faq-item > summary::-webkit-details-marker{display:none}
.faq-item > summary:hover{background:var(--creek-tint)}
.faq-item > summary::after{
  content:"";position:absolute;right:1.15rem;top:50%;width:9px;height:9px;
  border-right:2px solid var(--creek);border-bottom:2px solid var(--creek);
  transform:translateY(-70%) rotate(45deg);transition:transform .2s var(--ease)
}
.faq-item[open] > summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq-answer{padding:0 1.2rem 1.15rem;color:var(--text-soft)}
.faq-answer > *:last-child{margin-bottom:0}

/* ---------- gallery (Tour our hospital) ---------- */
.wp-block-gallery.has-nested-images figure.wp-block-image img{border-radius:13px}
.wp-block-gallery.has-nested-images figure.wp-block-image{transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.wp-block-gallery.has-nested-images figure.wp-block-image:hover{transform:translateY(-3px);box-shadow:var(--shadow)}

/* ---------- forms list ---------- */
.form-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.7rem;margin:1.2rem 0 0;padding:0;list-style:none}
.form-links li{margin:0;padding:0}
.form-links li::before{display:none}
.form-links a{display:flex;align-items:center;gap:.65rem;padding:.85rem 1rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--text);font-weight:600;font-size:.93rem;transition:border-color .18s var(--ease),transform .18s var(--ease),box-shadow .18s var(--ease)}
.form-links a:hover{border-color:var(--creek);color:var(--creek);transform:translateY(-2px);box-shadow:var(--shadow-xs)}
.form-links svg{flex:none;color:var(--clay)}

/* ---------- contact form (Contact Form 7) ---------- */
.wpcf7-form p{margin:0 0 .95rem}
.wpcf7-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
@media (max-width:520px){.wpcf7-form .row2{grid-template-columns:1fr}}
.wpcf7-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;font-weight:600;color:var(--text-soft)}
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form textarea,.wpcf7-form select{
  font:inherit;font-size:.95rem;padding:.75rem .9rem;border-radius:11px;border:1px solid var(--line);
  background:var(--paper);color:var(--text);width:100%;transition:border-color .16s var(--ease),box-shadow .16s var(--ease),background .16s var(--ease)
}
.wpcf7-form input:focus,.wpcf7-form textarea:focus{outline:none;border-color:var(--creek);background:var(--surface);box-shadow:0 0 0 3px rgba(30,106,84,.13)}
.wpcf7-form input::placeholder,.wpcf7-form textarea::placeholder{color:var(--text-faint);opacity:.85}
.wpcf7-form textarea{min-height:130px;resize:vertical}
.wpcf7-form input[type=submit]{
  font:inherit;font-weight:600;font-size:.94rem;background:var(--creek);color:#fff;border:none;border-radius:999px;
  padding:.78rem 1.7rem;cursor:pointer;transition:background .16s var(--ease),transform .16s var(--ease),box-shadow .16s var(--ease)
}
.wpcf7-form input[type=submit]:hover{background:var(--creek-deep);transform:translateY(-1px);box-shadow:0 8px 20px -10px rgba(30,106,84,.65)}
.wpcf7-not-valid-tip{color:#B5432F;font-size:.8rem;margin-top:.25rem}
.wpcf7-response-output{border-radius:11px;margin:1rem 0 0 !important;padding:.8rem 1rem !important;font-size:.9rem}
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--creek);background:var(--creek-tint);color:var(--creek-deep)}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:var(--on-dark-soft);padding:clamp(2.5rem,5vw,3.6rem) 0 1.5rem;font-size:.92rem;margin-top:0}
.site-footer h4,.site-footer .footer-h{color:var(--on-dark);font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700;margin-bottom:.95rem;font-family:var(--font)}
.site-footer a{color:var(--on-dark-soft);text-decoration:none;transition:color .16s var(--ease)}
.site-footer a:hover{color:var(--glow)}
.footer-col a{display:block;padding:.24rem 0}
/* wp_nav_menu's items_wrap drops the <ul>, but the bare <li>s still render as
   list items - flatten them so the footer columns read as plain link lists. */
.footer-col li{display:block;list-style:none;margin:0;padding:0}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-grid{display:grid;grid-template-columns:1.55fr 1fr 1fr 1fr;gap:2.2rem}
.footer-brand{display:flex;flex-direction:column;gap:.55rem;max-width:34ch}
.footer-name{color:var(--on-dark);font-family:var(--font);font-weight:700;letter-spacing:-.02em;font-size:1.2rem;margin:.25rem 0 0}
.footer-addr,.footer-phone{margin:0}
.footer-phone a{font-weight:600;color:var(--on-dark)}
.footer-links-inline{display:flex;gap:1rem;margin:.35rem 0 0;flex-wrap:wrap}
.footer-links-inline a{text-decoration:underline;text-underline-offset:3px;font-size:.88rem}
.footer-bottom{margin-top:2.6rem;padding-top:1.35rem;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.83rem}
.footer-accred{color:var(--on-dark-soft)}

/* ---------- sticky mobile call bar ---------- */
.mobile-bar{display:none}
@media (max-width:760px){
  .mobile-bar{
    display:grid;grid-template-columns:auto 1fr;gap:.55rem;position:fixed;left:0;right:0;bottom:0;z-index:80;
    padding:.6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
    background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(12px);
    border-top:1px solid var(--line);box-shadow:0 -6px 24px -14px rgba(22,36,29,.4)
  }
  .mobile-bar a{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;text-decoration:none;font-weight:600;font-size:.9rem;border-radius:999px;padding:.7rem .9rem;white-space:nowrap;min-width:0}
  .mobile-bar__call{border:1px solid var(--line);color:var(--text)!important;background:var(--surface)}
  .mobile-bar__book{background:var(--creek);color:#fff !important}
  /* Drop the word "an" before the label wraps or clips on the narrowest phones. */
  @media (max-width:400px){
    .mobile-bar{gap:.45rem;padding-left:.7rem;padding-right:.7rem}
    .mobile-bar a{font-size:.86rem;padding:.68rem .8rem}
    .mobile-bar__book .mb-long{display:none}
  }
  body{padding-bottom:76px}
}

/* ---------- responsive ---------- */
/* Buy a little room before the nav has to collapse. */
@media (max-width:1340px){
  .primary-nav a{padding:.5rem .55rem;font-size:.89rem}
  .header-cta .btn{padding:.58rem .95rem;font-size:.88rem}
}

/* ---- NAV breakpoint (1200px) ------------------------------------------
   Seven top-level items plus the brand and the appointment button need about
   1190px. Below that the nav becomes the slide-in drawer. This is deliberately
   separate from the 960px CONTENT breakpoint below - collapsing the nav early
   must not also stack the page's columns on a laptop. */
@media (max-width:1200px){
  .header-cta{display:none}
  .menu-toggle{display:flex}

  /* The nav panel below is position:fixed and lives inside .site-header. A
     backdrop-filter on an ancestor makes it the containing block for fixed
     descendants, which would trap the panel inside the header box - so
     drop the blur here and paint the header opaque instead. */
  .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--paper)}

  /* full-screen mobile nav panel */
  .primary-nav{
    position:fixed;inset:0 0 0 auto;width:min(88vw,380px);background:var(--surface);
    display:flex;flex-direction:column;align-items:stretch;gap:0;
    padding:5.2rem 1.4rem 2rem;overflow-y:auto;z-index:65;
    transform:translateX(100%);transition:transform .28s var(--ease);
    box-shadow:var(--shadow-lg);margin-left:0
  }
  .primary-nav.is-open{transform:translateX(0)}
  .primary-nav ul{flex-direction:column;align-items:stretch;width:100%;gap:0}
  .primary-nav li{width:100%}
  .primary-nav > ul > li{border-bottom:1px solid var(--line-soft)}
  .primary-nav a{display:block;padding:.85rem .2rem;font-size:1.02rem;border-radius:8px}
  .primary-nav .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;
    background:transparent;padding:0 0 .5rem .9rem;min-width:0;display:none
  }
  .primary-nav li.submenu-open > .sub-menu{display:block}
  .primary-nav .sub-menu a{font-size:.94rem;padding:.55rem .2rem;color:var(--text-faint)}
  .submenu-toggle{position:absolute;right:.2rem;top:.6rem;padding:.5rem;margin:0}
  .nav-mobile-cta{display:flex;flex-direction:column;gap:.6rem;margin-top:1.6rem}
  /* The scrim must sit BELOW .site-header (z-index:60). The header creates its
     own stacking context, so the panel's z-index:65 is scoped inside it and a
     higher scrim would paint straight over the open menu. */
  body.nav-open::after{content:"";position:fixed;inset:0;background:rgba(22,36,29,.45);z-index:55}
  body.nav-open .mobile-bar{display:none}
  /* In the drawer the items are full-width rows, so undo the desktop no-shrink
     and let long submenu labels wrap instead of overflowing. */
  .primary-nav > ul > li{flex:0 0 auto;white-space:normal}
  .primary-nav .sub-menu a{white-space:normal}
}

/* ---- CONTENT breakpoint (960px): where page columns stack ---- */
@media (max-width:960px){
  .qa{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .wp-block-columns{flex-wrap:wrap}
  .wp-block-columns > .wp-block-column{flex-basis:100% !important}
  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column{flex-basis:0 !important}
}
@media (max-width:640px){
  /* Keep the emergency strip to two tight lines and never break a phone number. */
  .urgent-strip{font-size:.76rem}
  .urgent-strip .wrap{gap:.1rem .6rem;padding:.4rem 0;line-height:1.45}
  .urgent-strip a{white-space:nowrap}
  .urgent-strip .us-emg-name{display:none}
  .urgent-strip svg{display:none}
  .site-branding b{font-size:1rem}
  .site-branding img,.custom-logo{width:42px !important;height:42px !important}

  .qa{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:1.8rem}
  .entry-content{padding-top:1.6rem}
  .wp-block-buttons{width:100%}
  .wp-block-button{width:100%}
  .wp-block-button__link{width:100%;text-align:center}
  .form-links{grid-template-columns:1fr}
}

:focus-visible{outline:2px solid var(--creek);outline-offset:2px;border-radius:4px}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important}
}

/* ---------- modern refresh (2026-11) ----------
   Single sans-serif family (Inter), upright text only, rounder + airier surfaces,
   softer borders, pill eyebrows, glassy header. Desktop-only tweaks are scoped to
   >=1201px so they never touch the mobile drawer. */
::selection{background:var(--creek);color:#fff}

@media (min-width:1201px){
  .site-header{background:color-mix(in srgb,#fff 76%,transparent);border-bottom-color:rgba(22,36,29,.07)}
  .site-header__inner{padding:.8rem 0}
  .primary-nav a{border-radius:999px;letter-spacing:-.006em}
  .primary-nav .sub-menu{border-radius:18px;padding:.5rem;border-color:var(--line-soft)}
  .primary-nav .sub-menu a{border-radius:12px}
}

/* buttons */
.btn,.wp-block-button__link,.wpcf7-form input[type=submit]{letter-spacing:-.008em}
.btn-p{box-shadow:0 1px 2px rgba(22,36,29,.18),inset 0 1px 0 rgba(255,255,255,.14)}

/* eyebrow labels become soft pills */
.eyebrow,.page-hero .eyebrow{display:inline-block;padding:.34rem .8rem;border-radius:999px;background:var(--creek-tint);color:var(--creek-deep);font-size:.72rem;font-weight:700;letter-spacing:.08em;line-height:1.2}
.band-ink .eyebrow{background:rgba(255,255,255,.1);color:var(--on-dark)}

/* cards, tiles, accordions */
.wp-block-group.card,.is-style-card{border-color:var(--line-soft);padding:1.7rem 1.8rem}
.is-style-card:hover{transform:translateY(-3px)}
.qa a{border-radius:var(--r);padding:1.3rem 1.35rem;border-color:var(--line-soft);box-shadow:var(--shadow-xs)}
.qa .qa-ic{width:40px;height:40px;border-radius:12px}
.qa b{letter-spacing:-.012em}
.faq-item{border-radius:16px;border-color:var(--line-soft)}
.faq-item > summary{letter-spacing:-.008em}
.form-links a{border-radius:14px;border-color:var(--line-soft)}
.wp-block-gallery.has-nested-images figure.wp-block-image img{border-radius:16px}

/* form fields */
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form textarea,.wpcf7-form select{border-radius:14px;padding:.85rem 1rem}

/* Contact Form 7 wraps both fields of a .row2 pair in ONE <p> (auto-paragraphing),
   so the grid must live on that <p>, not on .row2 itself, and its <br> must go. */
.wpcf7-form .row2{display:block}
.wpcf7-form .row2 > p{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin:0 0 .95rem}
.wpcf7-form .row2 > p br{display:none}
@media (max-width:520px){.wpcf7-form .row2 > p{grid-template-columns:1fr}}

/* footer: full-bleed, square top edge (rounded corners on an edge-to-edge
   band looked clipped against the viewport and scrollbar - removed 2026-11-23) */
.site-footer{border-radius:0}

/* ---------- editor parity ---------- */
.editor-styles-wrapper{background:var(--paper)}
.editor-styles-wrapper .is-style-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.5rem 1.6rem}

/* ---------- holiday hours announcement (front page, auto-expires) ---------- */
.holiday-notice{width:min(100% - 2.5rem,1180px);margin:1.4rem auto 0}
.holiday-notice__card{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:1.2rem 2.2rem;align-items:center;
  background:var(--glow-tint);border:1px solid color-mix(in srgb,var(--glow) 45%,transparent);
  border-radius:var(--r-lg);padding:1.5rem 1.8rem;box-shadow:var(--shadow-xs)
}
.holiday-notice__eyebrow{display:inline-block;margin:0 0 .45rem;padding:.2rem .7rem;border-radius:999px;background:var(--glow);color:var(--ink);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.holiday-notice__title{margin:0 0 .35rem;font-size:clamp(1.35rem,1.1rem + 1vw,1.75rem);font-weight:700;letter-spacing:-.03em;line-height:1.15;color:var(--ink)}
.holiday-notice__text{margin:0;font-size:.92rem;color:var(--text-soft);line-height:1.55}
.holiday-notice__text a{color:var(--creek-deep);font-weight:600;white-space:nowrap}
.holiday-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.holiday-list li{display:flex;justify-content:space-between;align-items:center;gap:.8rem;background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;padding:.6rem .9rem;margin:0}
.holiday-list__day{display:flex;flex-direction:column;line-height:1.25;font-size:.9rem}
.holiday-list__day b{font-weight:650;color:var(--ink)}
.holiday-list__day time{font-size:.8rem;color:var(--text-faint);font-variant-numeric:tabular-nums}
.holiday-list__hrs{flex:none;font-size:.82rem;font-weight:700;color:var(--creek-deep);background:var(--creek-tint);border-radius:999px;padding:.22rem .65rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.holiday-list__hrs.is-closed{color:#8A2E1F;background:#F8E4DF}
@media (max-width:860px){
  .holiday-notice__card{grid-template-columns:1fr;padding:1.25rem 1.2rem}
}
@media (max-width:480px){
  .holiday-notice{margin-top:1rem}
  .holiday-notice__card{gap:.9rem;padding:1.05rem 1rem;border-radius:var(--r)}
  .holiday-notice__eyebrow{margin-bottom:.3rem;font-size:.66rem}
  .holiday-notice__title{font-size:1.25rem;margin-bottom:.25rem}
  .holiday-notice__text{font-size:.84rem;line-height:1.45}
  .holiday-list{grid-template-columns:1fr;gap:.3rem}
  .holiday-list li{padding:.4rem .7rem;border-radius:11px}
  .holiday-list__day{font-size:.84rem;line-height:1.2}
  .holiday-list__open{display:none}
  .holiday-list__day time{font-size:.76rem}
  .holiday-list__hrs{font-size:.74rem;padding:.16rem .55rem}
}

/* ---------- home hero photos are links to the matching pages ---------- */
.hero-montage figure.wp-block-image > a{display:block;width:100%;height:100%;color:inherit}
.hero-montage figure.wp-block-image > a img{transition:transform .5s var(--ease)}
.hero-montage figure.wp-block-image:hover > a img,
.hero-montage figure.wp-block-image > a:focus-visible img{transform:scale(1.04)}
.hero-montage figure.wp-block-image > a:focus-visible{outline:3px solid var(--glow);outline-offset:-3px}
.hero-montage figcaption.wp-element-caption{pointer-events:none}
.hero-montage figcaption.wp-element-caption::after{content:" \2192";display:inline-block;transition:transform .3s var(--ease)}
.hero-montage figure.wp-block-image:hover figcaption.wp-element-caption::after{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){
  .hero-montage figure.wp-block-image > a img,.hero-montage figcaption.wp-element-caption::after{transition:none}
}

/* Headings promoted for a correct outline keep the size they had before. */
h2.is-h3-size{font-size:clamp(1.18rem,1.08rem + .48vw,1.4rem);font-weight:650;letter-spacing:-.022em;line-height:1.2}
.entry-content h2.is-h3-size{margin-top:1.9rem}
.is-style-card h2.is-h3-size{margin-top:0}
h3.is-h4-size{font-size:1.05rem;font-weight:650;letter-spacing:-.012em}

/* In-page links (e.g. /boarding-grooming/#grooming) land below the sticky header. */
[id]{scroll-margin-top:6.5rem}

/* ---------- aesthetic pass (2026-11-23) ---------- */
/* Pill labels centre themselves above centred headings. */
.eyebrow.has-text-align-center{display:table;margin-left:auto;margin-right:auto}
/* Button rows the editor marked as centred stay centred inside section bands. */
.section-inner > .wp-block-buttons.is-content-justification-center{justify-content:center}
/* Cards side by side share one height. */
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column > .is-style-card:only-child{height:100%}
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column:has(> .is-style-card:only-child){display:flex;flex-direction:column}
/* Card tiles: no bullet indent, equal heights per row. */
.entry-content ul.form-links li,.form-links li{padding:0;margin:0;display:flex}
.form-links a{flex:1;min-height:3.4rem}
/* A short list of text links (no icons) reads as a centred row of pills. */
.form-links:not(:has(svg)){display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem}
.form-links:not(:has(svg)) a{min-height:0;padding:.7rem 1.15rem;border-radius:999px}
/* Contact form: every field gets the same spacing. */
.wpcf7-form p > br{display:none}
.wpcf7-form .wpcf7-form-control-wrap{display:block;margin:0 0 .9rem}
.wpcf7-form .row2 .wpcf7-form-control-wrap{margin:0}
.wpcf7-form input[type=submit]{margin-top:.2rem}
/* Photo rows line up; a tall portrait is cropped to a calm landscape. */
.photo-row .wp-block-image{margin:0;height:100%}
.photo-row .wp-block-image img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover}
.wp-block-image.crop-landscape img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center 58%}
/* Our Team: one photo beside the three team descriptions. */
.team-list{display:flex;flex-direction:column;gap:.8rem}
.team-list .is-style-card{padding:1.15rem 1.35rem}
.team-list .is-style-card h3{margin:0 0 .25rem}
.team-list .is-style-card p{margin:0}
.team-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;height:auto}
/* Calls to action sit on the bottom edge of equal-height cards. */
.is-style-card{display:flex;flex-direction:column}
.is-style-card > :last-child:is(.wp-block-buttons,p:has(> a:only-child)){margin-top:auto;padding-top:.4rem}
/* Less dead space between the holiday notice and the hero. */
.holiday-notice + .front-page-content > .wp-block-group:first-child > .section-inner{padding-top:clamp(1.5rem,3.5vw,2.6rem)}
/* Phones: the four quick links stay a compact 2 x 2 grid instead of four tall rows. */
@media (max-width:600px){
  .qa{grid-template-columns:1fr 1fr;gap:.55rem}
  .qa a{padding:.95rem .9rem;gap:.15rem}
  .qa .qa-ic{width:32px;height:32px;border-radius:10px;margin-bottom:.3rem}
  .qa b{font-size:.9rem;line-height:1.25}
  .qa span{font-size:.76rem}
}
/* Phones: portrait photos beside text fill the column once it stacks. */
@media (max-width:781px){
  .entry-content .wp-block-columns figure.size-large:not(.team-photo) img{width:100%;height:auto}
}
