/* =====================================================================
   Book Us Bookkeeping v5 — site + editor styles
   Navy + grey from the logo for structure, green for actions, cream base.
   Hooks are CSS classes on core blocks (Advanced → Additional CSS class):
     bu-hero / bu-page-hero / bu-cta-band / bu-ambient / bu-site-footer  (+ bu-clouds)
     bu-trust, bu-points, bu-paths, bu-steps, bu-bio, bu-pets, bu-contact-cards
   Block styles (Styles panel): Card, Review card, Numbered step, Path card,
     Chips, Ticks, Phone number image, Light / Ghost buttons.
   Motion = transform/opacity only; prefers-reduced-motion respected.
   ===================================================================== */
:root {
  --bu-navy: var(--wp--preset--color--navy, #1F487D);
  --bu-navy-deep: var(--wp--preset--color--navy-deep, #15304F);
  --bu-grey: var(--wp--preset--color--grey, #B5B8BF);
  --bu-mist: var(--wp--preset--color--mist, #EEF1F5);
  --bu-green: var(--wp--preset--color--green, #2F5D50);
  --bu-green-dark: var(--wp--preset--color--green-dark, #1F3F36);
  --bu-cream: var(--wp--preset--color--cream, #FAF7F2);
  --bu-sand: #D4B896;
  --bu-sand-light: var(--wp--preset--color--sand-light, #F3E8D8);
  --bu-charcoal: var(--wp--preset--color--charcoal, #2C2A28);
  --bu-muted: var(--wp--preset--color--muted, #6B6560);
  --bu-star: var(--wp--preset--color--star, #C9A227);
  --bu-border: #E4DFD8;
  --bu-radius: 14px;
  --bu-shadow: 0 10px 34px rgba(21, 48, 79, 0.08);
  --bu-shadow-lift: 0 20px 44px rgba(21, 48, 79, 0.13);
  --bu-ease-out: cubic-bezier(.22, .82, .22, 1);
  --bu-ease-spring: cubic-bezier(.32, 1.35, .54, 1);
  --bu-ease-soft: cubic-bezier(.4, 0, .2, 1);
}
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }

/* ---------- Page scaffolding: sections butt together ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > main, .wp-block-post-content { margin-block: 0; }
.wp-block-post-content > .alignfull,
.wp-block-post-content > .bu-section { margin-block: 0 !important; }
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0 !important; }
.bu-section { padding-block: 3.5rem; }
.bu-inner { width: 100%; }
.bu-label {
  text-transform: uppercase; letter-spacing: .08em; font-size: .75rem !important;
  font-weight: 700; color: var(--bu-green); margin-bottom: .5rem !important;
}
.bu-lede-muted { color: var(--bu-muted); max-width: 60ch; }
.bu-center { text-align: center; }
.bu-center .bu-lede-muted, .bu-center > .bu-inner > .bu-lede-muted { margin-inline: auto; }
.bu-small { font-size: .9rem; }
.bu-stars { color: var(--bu-star) !important; letter-spacing: 1px; margin-bottom: .5rem !important; }

/* ---------- Header ---------- */
.bu-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--bu-border);
  transition: box-shadow .3s var(--bu-ease-out), background .3s var(--bu-ease-out);
}
.admin-bar .bu-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.bu-site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(21,48,79,.09);
  backdrop-filter: saturate(1.15) blur(12px);
  background: rgba(255,255,255,.92);
}
.bu-header-inner { padding-block: .55rem; gap: 1rem; }
.bu-logo { margin: 0 !important; position: relative; transform-origin: 30% 60%; transition: transform .4s var(--bu-ease-spring); }
.bu-logo a { display: block; position: relative; overflow: hidden; }
.bu-logo img {
  height: 62px !important; width: auto !important; display: block;
  animation: buLogoFloat 8s var(--bu-ease-soft) infinite; will-change: transform;
}
.bu-site-header.is-scrolled .bu-logo { transform: scale(.88); }
.bu-logo:hover { transform: translateY(-2px) rotate(-1.2deg) scale(1.03); }
.bu-logo.is-nudged img { animation: buLogoNudge .65s var(--bu-ease-spring), buLogoFloat 8s var(--bu-ease-soft) infinite .65s; }
.bu-logo-glint { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: soft-light; }
.bu-logo-glint::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7) 50%, transparent);
  transform: translateX(-120%) skewX(-12deg);
  animation: buLogoGlint 9s var(--bu-ease-out) infinite 1.4s;
}
@keyframes buLogoFloat { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(0,-2px,0) rotate(-.4deg); } }
@keyframes buLogoNudge { 0% { transform: translate3d(0,0,0); } 40% { transform: translate3d(2px,-3px,0) rotate(-1deg); } 100% { transform: translate3d(0,0,0); } }
@keyframes buLogoGlint {
  0%, 68% { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  70% { opacity: .9; } 88% { transform: translateX(290%) skewX(-12deg); opacity: .9; }
  100% { transform: translateX(290%) skewX(-12deg); opacity: 0; }
}
.bu-nav .wp-block-navigation-item__content { position: relative; color: var(--bu-charcoal); padding-block: .25rem; transition: color .18s ease; text-decoration: none; }
.bu-nav .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--bu-navy), var(--bu-green));
  transform: scaleX(0); transform-origin: right; transition: transform .28s var(--bu-ease-out);
}
.bu-nav .wp-block-navigation-item__content:hover,
.bu-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--bu-navy); text-decoration: none; }
.bu-nav .wp-block-navigation-item__content:hover::after,
.bu-nav .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.bu-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.bu-nav .wp-block-navigation__responsive-container-open { background: var(--bu-mist); color: var(--bu-navy-deep); width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; transition: transform .18s var(--bu-ease-spring); }
@media (max-width: 599px) { .bu-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; } }
.bu-nav .wp-block-navigation__responsive-container-open:active { transform: scale(.92); }
@media (max-width: 600px) { .bu-header-cta { display: none !important; } .bu-logo img { height: 50px !important; } }

/* ---------- Buttons (snappy) ---------- */
.wp-block-button__link, .wp-element-button {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  transition: transform .22s var(--bu-ease-spring), box-shadow .22s var(--bu-ease-out), background-color .18s ease, color .18s ease, border-color .18s ease;
}
.wp-block-button__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.26) 50%, transparent 72%);
  transform: translateX(-110%); transition: transform .5s var(--bu-ease-out);
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21,48,79,.18); text-decoration: none; }
.wp-block-button__link:hover::before { transform: translateX(110%); }
.wp-block-button__link:active { transform: translateY(0) scale(.97); transition-duration: .07s; }
.bu-arrow .wp-block-button__link::after { content: "→"; display: inline-block; transition: transform .25s var(--bu-ease-spring); }
.bu-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--bu-navy); color: var(--bu-navy); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--bu-mist); color: var(--bu-navy-deep); }
.wp-block-button.is-style-bu-light .wp-block-button__link { background: #fff; color: var(--bu-navy-deep); border-color: #fff; }
.wp-block-button.is-style-bu-light .wp-block-button__link:hover { background: #fff; color: var(--bu-green-dark); }
.wp-block-button.is-style-bu-ghost-light .wp-block-button__link { background: transparent; border: 2px solid rgba(255,255,255,.85); color: #fff; }
.wp-block-button.is-style-bu-ghost-light .wp-block-button__link:hover { background: rgba(255,255,255,.12); color: #fff; }
a:focus-visible, .wp-block-button__link:focus-visible, button:focus-visible { outline: 3px solid #8FB8E8; outline-offset: 3px; border-radius: 10px; }
.wp-block-button__link:focus-visible { border-radius: 999px; }

/* ---------- Dark bands: hero / page hero / CTA / footer ---------- */
.bu-hero, .bu-page-hero, .bu-cta-band, .bu-site-footer { color: #fff; }
.bu-hero :where(h1,h2,h3,p), .bu-page-hero :where(h1,h2,h3,p), .bu-cta-band :where(h1,h2,h3,p) { color: #fff; }
.bu-hero a:not(.wp-block-button__link), .bu-page-hero a:not(.wp-block-button__link), .bu-cta-band a:not(.wp-block-button__link) { color: #fff; }
.bu-hero {
  background:
    linear-gradient(120deg, rgba(21,48,79,.94) 0%, rgba(25,58,72,.86) 45%, rgba(31,63,54,.72) 100%),
    url("../images/team-graham-sophie.jpg") center 30%/cover no-repeat;
  padding-block: 5.5rem 5rem;
}
.bu-hero h1 { max-width: 16ch; margin: 0 0 1rem; }
.bu-hero .bu-lede { font-size: 1.15rem; max-width: 46ch; opacity: .95; margin-bottom: 1.75rem; }
.bu-hero-note { margin-top: 1rem !important; font-size: .92rem; opacity: .8; }
.bu-page-hero { background: linear-gradient(120deg, var(--bu-navy-deep) 0%, #1A3F55 55%, var(--bu-green-dark) 100%); padding-block: 3.5rem 3rem; }
.bu-page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 .75rem; }
.bu-page-hero p { margin: 0; opacity: .9; max-width: 55ch; }
.bu-cta-band { background: linear-gradient(120deg, var(--bu-green-dark), #1A3F55 60%, var(--bu-navy-deep)); padding-block: 3rem; text-align: center; }
.bu-cta-band p { opacity: .9; max-width: 48ch; margin-inline: auto; }
.bu-cta-band .wp-block-buttons { justify-content: center; }
.bu-hero .bu-inner > *, .bu-page-hero .bu-inner > * { animation: buRiseIn .65s var(--bu-ease-out) both; }
.bu-hero .bu-inner > *:nth-child(2), .bu-page-hero .bu-inner > *:nth-child(2) { animation-delay: .06s; }
.bu-hero .bu-inner > *:nth-child(3), .bu-page-hero .bu-inner > *:nth-child(3) { animation-delay: .12s; }
.bu-hero .bu-inner > *:nth-child(4) { animation-delay: .18s; }
@keyframes buRiseIn { from { opacity: 0; transform: translate3d(0,14px,0); } to { opacity: 1; transform: none; } }

/* ---------- Logo-cloud sky (injected by bu-site.js into .bu-clouds) ---------- */
.bu-clouds { position: relative; overflow: hidden; isolation: isolate; }
.bu-clouds > :not(.cloud-sky) { position: relative; z-index: 2; }
.cloud-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cloud-sky::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 48% at 82% 18%, rgba(181,184,191,.14), transparent 68%),
    radial-gradient(42% 52% at 14% 88%, rgba(31,72,125,.22), transparent 70%);
  animation: buSkyGlow 18s var(--bu-ease-soft) infinite alternate; opacity: .85;
}
.bu-ambient .cloud-sky::before { display: none; }
@keyframes buSkyGlow { from { transform: translate3d(0,0,0); } to { transform: translate3d(-3%,2%,0); } }
.cloud { position: absolute; display: block; width: var(--w, 260px); aspect-ratio: 300 / 172; opacity: var(--o, .26); will-change: transform; background: center / contain no-repeat; }
.cloud.is-live { background: none !important; }
.cloud-drift { position: absolute; inset: 0; animation: var(--drift, buDriftA) var(--dur, 14s) var(--bu-ease-soft) infinite; animation-delay: var(--delay, 0s); will-change: transform; }
.cloud-drift svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cloud-mate { transform-box: fill-box; transform-origin: 35% 75%; animation: buMateBob var(--mate, 8s) var(--bu-ease-soft) infinite; }
.cloud-main { transform-box: fill-box; transform-origin: 50% 85%; animation: buBreathe 10s var(--bu-ease-soft) infinite; }
.cloud--far { filter: blur(1.6px) saturate(.92); }
.cloud--mid { filter: blur(.4px); }
.cloud--fore { filter: blur(.2px); }
.cloud--flip .cloud-drift svg { transform: scaleX(-1); }
@keyframes buDriftA { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(72px,-12px,0); } }
@keyframes buDriftB { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-60px,10px,0); } }
@keyframes buDriftC { 0%,100% { transform: translate3d(0,0,0); } 33% { transform: translate3d(36px,-16px,0); } 66% { transform: translate3d(-22px,8px,0); } }
@keyframes buDriftD { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(48px,14px,0) scale(1.035); } }
@keyframes buMateBob { 0%,100% { transform: translate(0,0); } 50% { transform: translate(4px,-4px); } }
@keyframes buBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.018); } }
.bu-ambient .cloud { --o: .10; }
.bu-ambient .cloud--far { filter: blur(2px); }
@media (max-width: 700px) { .bu-hero .cloud { --w: 150px !important; } }

/* ---------- Trust strip ---------- */
.bu-trust { background: #fff; border-bottom: 1px solid var(--bu-border); padding-block: 1.1rem; }
.bu-trust-inner { gap: .75rem 1.75rem !important; justify-content: center !important; font-size: .92rem; color: var(--bu-muted); font-weight: 500; }
.bu-trust-inner p { margin: 0 !important; }
.bu-trust-track { display: contents; }
.bu-trust-track .is-clone { display: none; }
@media (max-width: 700px) {
  .bu-trust-inner { flex-wrap: nowrap !important; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .bu-trust-track { display: flex; gap: 2rem; animation: buMarquee 22s linear infinite; width: max-content; }
  .bu-trust-track .is-clone { display: block; }
  .bu-trust-track > * { white-space: nowrap; flex: none; }
}
@keyframes buMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.is-style-bu-card, .is-style-bu-quote-card, .is-style-bu-step {
  background: #fff; border: 1px solid var(--bu-border); border-radius: var(--bu-radius);
  padding: 1.4rem; box-shadow: var(--bu-shadow);
}
.is-style-bu-card > * , .is-style-bu-quote-card > *, .is-style-bu-step > * { margin-block: 0 .5rem; }
.is-style-bu-card > :last-child, .is-style-bu-quote-card > :last-child, .is-style-bu-step > :last-child { margin-bottom: 0; }
.is-style-bu-card p, .is-style-bu-step p { color: var(--bu-muted); font-size: .95rem; }
.is-style-bu-card, .is-style-bu-quote-card, .is-style-bu-step, .is-style-bu-path-card, .bu-path-card, .bu-bio {
  transition: transform .28s var(--bu-ease-out), box-shadow .28s var(--bu-ease-out), border-color .28s ease;
}
.is-style-bu-card:hover, .is-style-bu-quote-card:hover, .is-style-bu-step:hover, .is-style-bu-path-card:hover, .bu-path-card:hover, .bu-bio:hover {
  transform: translateY(-4px); box-shadow: var(--bu-shadow-lift); border-color: #D5DCE6;
}
.bu-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--bu-mist); color: var(--bu-navy);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: .85rem !important;
  transition: transform .32s var(--bu-ease-spring);
}
.is-style-bu-card:hover .bu-icon { transform: translateY(-2px) rotate(-5deg) scale(1.06); }
.bu-featured-card { padding: 1.75rem; }
.bu-featured-card .wp-block-image img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Steps */
.bu-steps { counter-reset: bustep; }
.is-style-bu-step { position: relative; counter-increment: bustep; }
.is-style-bu-step::before {
  content: counter(bustep);
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bu-navy); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: .75rem;
}

/* Chips + ticks lists */
ul.is-style-bu-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.is-style-bu-chips li { background: #fff; border: 1px solid var(--bu-border); padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; margin: 0; transition: transform .2s var(--bu-ease-spring); }
ul.is-style-bu-chips li:hover { transform: translateY(-2px); }
ul.is-style-bu-chips li.is-featured { background: var(--bu-navy); color: #fff; border-color: var(--bu-navy); }
ul.is-style-bu-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
ul.is-style-bu-ticks li { position: relative; padding-left: 2.6rem; margin: 0; }
ul.is-style-bu-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bu-green); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700;
}

/* Software row + note */
.bu-software { padding: 1.5rem; background: #fff; border-radius: var(--bu-radius); border: 1px solid var(--bu-border); gap: 1rem !important; }
.bu-software p { margin: 0 !important; padding: .5rem 1rem; background: var(--bu-cream); border-radius: 8px; font-weight: 700; letter-spacing: .02em; }
.bu-software .wp-block-image { margin: 0; }
.bu-software .wp-block-image img { height: 46px; width: auto; }
.bu-note, .is-style-bu-note {
  background: #fff8e6; border-left: 4px solid var(--bu-sand); padding: .75rem 1rem !important;
  border-radius: 0 8px 8px 0; font-size: .9rem; color: var(--bu-muted);
}

/* ---------- Home: intro, paths, feature quote ---------- */
.bu-points { text-align: left; }
.bu-paths > * { min-height: 260px; }
.bu-path-card, .is-style-bu-path-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--bu-radius);
  box-shadow: var(--bu-shadow); color: #fff;
}
.is-style-bu-path-card {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  background: linear-gradient(135deg, var(--bu-navy), var(--bu-navy-deep));
}
.is-style-bu-path-card.has-green-background-color { background: linear-gradient(135deg, var(--bu-green), var(--bu-green-dark)) !important; }
.bu-path-card.wp-block-cover { padding: 1.5rem; min-height: 260px; }
.bu-path-card.wp-block-cover img.wp-block-cover__image-background { transition: transform .7s var(--bu-ease-out); }
.bu-path-card.wp-block-cover:hover img.wp-block-cover__image-background { transform: scale(1.045); }
.bu-path-card :where(h3,p), .is-style-bu-path-card :where(h3,p) { color: #fff; }
.bu-path-card h3, .is-style-bu-path-card h3 { font-size: 1.3rem; margin: 0 0 .3rem; }
.bu-path-card p, .is-style-bu-path-card p { margin: 0 0 .6rem; opacity: .92; font-size: .95rem; }
.bu-path-card a, .is-style-bu-path-card a { color: #fff; font-weight: 600; text-decoration: none; }
.bu-path-card a::after, .is-style-bu-path-card a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.bu-go { font-weight: 600; margin-bottom: 0 !important; }
.bu-go a { display: inline-block; transition: transform .25s var(--bu-ease-spring); }
.bu-path-card:hover .bu-go a, .is-style-bu-path-card:hover .bu-go a { transform: translateX(5px); }
.bu-reviews { background: var(--bu-sand-light); }
.bu-feature-quote { max-width: 760px; margin-inline: auto !important; text-align: center; border: 0 !important; padding: 0 !important; }
.bu-feature-quote p { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--bu-navy-deep); }
.bu-feature-quote cite, .bu-review cite { font-style: normal; color: var(--bu-muted); font-size: .9rem; }
.bu-review { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.bu-review p { font-family: var(--wp--preset--font-family--display); font-size: 1.05rem; line-height: 1.45; color: var(--bu-charcoal); }
.is-style-bu-quote-card { height: 100%; }

/* ---------- Our Family ---------- */
.bu-family-grid img { border-radius: var(--bu-radius); box-shadow: var(--bu-shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.bu-team { display: grid; gap: 1.25rem; }
.bu-bio {
  background: #fff; border: 1px solid var(--bu-border); border-radius: var(--bu-radius);
  padding: 1.5rem; box-shadow: var(--bu-shadow); margin: 0 !important;
  grid-template-columns: 220px 1fr !important; gap: 1.75rem;
}
.bu-bio .wp-block-media-text__media { align-self: start; }
.bu-bio .wp-block-media-text__media img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; object-position: top; width: 100%; background: var(--bu-sand-light); }
.bu-bio .wp-block-media-text__content { padding: 0 !important; }
.bu-bio h3 { margin: 0 0 .25rem; color: var(--bu-navy-deep) !important; }
.bu-role { color: var(--bu-green) !important; font-weight: 600; font-size: .95rem; margin-top: 0 !important; }
.bu-contact-line { font-size: .92rem; margin-bottom: .25rem !important; }
@media (max-width: 700px) {
  .bu-bio { grid-template-columns: 1fr !important; }
  .bu-bio .wp-block-media-text__media img { max-width: 220px; }
  .bu-bio .wp-block-media-text__content { padding-top: 1rem !important; }
}
/* Dogs: small and quiet */
.bu-pets {
  max-width: 760px; margin-inline: auto !important; background: var(--bu-sand-light);
  border: 1px dashed var(--bu-sand); border-radius: var(--bu-radius); padding: 1rem 1.25rem; font-size: .92rem;
}
.bu-pets.wp-block-media-text { grid-template-columns: 150px 1fr !important; gap: 1.25rem; }
.bu-pets .wp-block-media-text__media img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.bu-pets .wp-block-media-text__content { padding: 0 !important; }
.bu-pets h3 { font-size: 1rem; margin: 0 0 .25rem; }
.bu-pets p { color: var(--bu-muted); margin: 0; }
@media (max-width: 560px) { .bu-pets.wp-block-media-text { grid-template-columns: 110px 1fr !important; } }

/* ---------- Contact + phone images ---------- */
.bu-contact-cards .wp-block-heading { margin-bottom: .25rem; }
.is-style-bu-phone, .bu-phone { margin: .35rem 0 .5rem !important; }
.is-style-bu-phone img, .bu-phone img { height: 22px !important; width: auto !important; display: block; }
.is-style-bu-phone a { display: inline-block; border-radius: 6px; transition: transform .2s var(--bu-ease-spring), opacity .2s; }
.is-style-bu-phone a:hover { transform: translateY(-1px); opacity: .85; }
.bu-site-footer .is-style-bu-phone img { height: 18px !important; }
.bu-call-label { font-size: .8rem; color: var(--bu-muted); margin: 0 !important; }

/* ---------- Footer ---------- */
.bu-site-footer { background: var(--bu-navy-deep); color: #C9D2DD; padding-block: 2.5rem 1.5rem; font-size: .92rem; }
.bu-site-footer :where(p, li) { color: #C9D2DD; }
.bu-site-footer h4, .bu-site-footer .wp-block-heading { color: #fff; font-size: .95rem; margin: 0 0 .75rem; font-family: inherit; }
.bu-site-footer a { color: #C9D2DD; }
.bu-site-footer a:hover { color: #fff; }
.bu-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1rem; font-size: .85rem; margin-top: 2rem !important; }
.bu-footer-bottom p { margin: 0 !important; }

/* ---------- Reveals + page fades (classes added by bu-site.js) ---------- */
.bu-reveal { opacity: 0; transform: translate3d(0,16px,0); transition: opacity .55s var(--bu-ease-out), transform .6s var(--bu-ease-out), box-shadow .28s var(--bu-ease-out), border-color .28s ease; }
.bu-reveal.is-visible { opacity: 1; transform: none; }
.bu-reveal.is-visible:is(.is-style-bu-card, .is-style-bu-quote-card, .is-style-bu-step, .is-style-bu-path-card, .bu-path-card, .bu-bio):hover { transform: translateY(-4px); }
body { animation: buPageIn .42s var(--bu-ease-out) backwards; }
body.is-leaving { opacity: 0; transition: opacity .16s ease; }
@keyframes buPageIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bu-reveal { opacity: 1; transform: none; }
  .cloud { transform: none !important; }
}

/* Centered helpers (version-agnostic: no textAlign attributes needed) */
.bu-center, .bu-center :where(h2, p, .wp-block-heading) { text-align: center; }
.bu-center .wp-block-buttons { justify-content: center; }
.bu-center .bu-points, .bu-center .bu-points :where(h3, p) { text-align: left; }
.bu-review-cta { padding: 2rem !important; margin-top: 2rem !important; }
.bu-review-cta .bu-lede-muted { margin-inline: auto; }
