/* ==============================================================
   GULF COAST VETERINARY HOSPITAL — "Gulf Coast Calm" (Elevated)
   Custom coastal art direction: organic waves, arch-framed photography,
   hand-drawn pet line-art, layered depth, warm choreographed motion.
   Teal + cream + coral. Bricolage Grotesque + Hanken Grotesk + Caveat.
   Built by Experienced Results.
   ============================================================== */

:root {
  --ink:      #123430;
  --teal:     #1C4F49;
  --teal-2:   #2A6B62;
  --teal-3:   #DCEAE5;
  --teal-4:   #EDF4F1;
  --cream:    #F9F4EA;
  --cream-2:  #F2E9D8;
  --card:     #FFFFFF;
  --coral:    #E0674B;
  --coral-2:  #EC8168;
  --coral-3:  #FBE7DF;
  --sand:     #E7B45C;   /* warm gold, sparing (stars, accents) */
  --peach:    #F7DFC8;
  --muted:    #566B64;
  --muted-2:  #869089;
  --line:     rgba(18,52,48,0.12);
  --line-2:   rgba(18,52,48,0.07);
  --paper-line: rgba(249,244,234,0.22);

  --disp: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --s--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.92rem);
  --s-0:  clamp(1rem, 0.95rem + 0.22vw, 1.15rem);
  --s-1:  clamp(1.2rem, 1.08rem + 0.55vw, 1.55rem);
  --s-2:  clamp(1.55rem, 1.3rem + 1.1vw, 2.3rem);
  --s-3:  clamp(2.05rem, 1.6rem + 2.1vw, 3.6rem);
  --s-4:  clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --s-5:  clamp(3rem, 1.9rem + 5vw, 6.6rem);

  --section-y: clamp(4.5rem, 3.2rem + 6vw, 9rem);
  --container: 1220px;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 100px;
  --arch: 240px 240px 26px 26px;
  --shadow-sm: 0 6px 22px -14px rgba(18,52,48,0.3);
  --shadow: 0 22px 50px -26px rgba(18,52,48,0.34);
  --shadow-lg: 0 44px 90px -40px rgba(18,52,48,0.45);
  --shadow-coral: 0 26px 50px -24px rgba(224,103,75,0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.4, 0.5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: var(--s-0); line-height: 1.72; color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; position: relative; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Site-wide grain for warmth/depth */
body::after { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.028; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 0.5rem + 2.6vw, 2.75rem); }

/* Eyebrow with a little paw dot */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55em; font-family: var(--sans); font-weight: 700;
  font-size: var(--s--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.eyebrow::before { content: ""; width: 22px; height: 12px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='27' rx='8.5' ry='7'/%3E%3Ccircle cx='9.5' cy='18' r='3.4'/%3E%3Ccircle cx='30.5' cy='18' r='3.4'/%3E%3Ccircle cx='15' cy='11.8' r='3'/%3E%3Ccircle cx='25' cy='11.8' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='27' rx='8.5' ry='7'/%3E%3Ccircle cx='9.5' cy='18' r='3.4'/%3E%3Ccircle cx='30.5' cy='18' r='3.4'/%3E%3Ccircle cx='15' cy='11.8' r='3'/%3E%3Ccircle cx='25' cy='11.8' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--coral-2); }

.script { font-family: var(--script); font-weight: 700; color: var(--coral); font-size: 1.35em; line-height: 0.9; }
/* coral highlighter behind a word */
.hi { position: relative; white-space: nowrap; }
.hi::before { content: ""; position: absolute; left: -0.1em; right: -0.1em; bottom: 0.08em; height: 0.42em; z-index: -1;
  background: var(--coral-3); border-radius: 6px; transform: rotate(-1.2deg); }

.lede { font-size: var(--s-1); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.dark .lede { color: rgba(249,244,234,0.85); }

/* ---------- Sections + organic waves ---------- */
.section { padding-block: var(--section-y); position: relative; }
.cream-2 { background: var(--cream-2); }
.wash { background: var(--teal-4); }
.dark { background: radial-gradient(120% 120% at 20% 0%, var(--teal-2), var(--teal) 55%, var(--ink) 100%); color: var(--cream); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.has-wave { position: relative; }
.wave { position: absolute; left: 0; right: 0; line-height: 0; z-index: 1; pointer-events: none; }
.wave svg { width: 100%; height: clamp(48px, 6vw, 92px); display: block; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: scaleY(-1); }

.section-head { max-width: 52rem; margin-bottom: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.6rem; font-size: var(--s-3); }
.section-head .lede { margin-top: 1rem; }
.section-head.is-centered .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; font-family: var(--sans);
  font-weight: 700; font-size: var(--s-0); letter-spacing: 0.005em; padding: 0.92em 1.7em; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn--sm { padding: 0.62em 1.2em; font-size: var(--s--1); }
.btn--lg { padding: 1.05em 2.05em; }
.btn--coral { background: var(--coral); color: #fff; border-color: var(--coral); box-shadow: var(--shadow-coral); }
.btn--coral::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #ec7d5f, #d1502f); opacity: 0; transition: opacity .3s var(--ease); }
.btn--coral:hover { transform: translateY(-3px); box-shadow: 0 30px 55px -22px rgba(224,103,75,0.66); }
.btn--coral:hover::after { opacity: 1; }
.btn--teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--teal:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(28,79,73,0.05); transform: translateY(-2px); }
.dark .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(249,244,234,0.42); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--teal); border-color: #fff; }

.textlink { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; color: var(--coral); position: relative; }
.textlink .ar { transition: transform .3s var(--ease); }
.textlink:hover .ar { transform: translateX(5px); }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Announcement ---------- */
.announce { background: var(--teal); color: var(--cream); font-size: var(--s--1); position: relative; z-index: 101; }
.announce__row { display: flex; align-items: center; justify-content: center; gap: 0.55em; flex-wrap: wrap; padding-block: 0.55rem; text-align: center; }
.announce__paw { display: inline-block; animation: wag 2.2s var(--ease) infinite; }
@keyframes wag { 0%,100%{transform:rotate(-8deg)} 50%{transform:rotate(8deg)} }
.announce__cta { color: #fff; font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 100; background: rgba(249,244,234,0.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.hd.is-scrolled { box-shadow: 0 10px 30px -22px rgba(18,52,48,0.5); border-bottom-color: var(--line-2); }
.hd__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.68rem; }
.brand__mark { width: 46px; height: 46px; border-radius: 15px; overflow: hidden; flex: none; background: var(--teal);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-back); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__mark .mark { width: 60%; height: 60%; color: var(--coral-2); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.02; }
.brand__name { font-family: var(--disp); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--teal); }
.brand__sub { font-family: var(--sans); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.1em; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 0.3rem + 1.9vw, 2.3rem); }
.nav a { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink); position: relative; padding: 0.4em 0.1em; transition: color .25s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: -1; border-radius: 8px;
  background: var(--coral-3); transform: scaleX(0); transform-origin: center; transition: transform .32s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--teal); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hd__cta { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 24px; height: 2.6px; background: var(--teal); border-radius: 3px; transition: .3s var(--ease); position: relative; }
.burger span::before { position: absolute; top: -7px; } .burger span::after { position: absolute; top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }
.scrim { position: fixed; inset: 0; z-index: 110; background: rgba(18,52,48,0.5); opacity: 0; visibility: hidden; transition: .4s var(--ease); backdrop-filter: blur(3px); }
body.nav-open .scrim { opacity: 1; visibility: visible; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); z-index: 120; background: var(--cream); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .5s var(--ease); padding: 5.5rem 2rem 2.5rem; display: flex; flex-direction: column; }
body.nav-open .drawer { transform: translateX(0); }
.drawer__link { font-family: var(--disp); font-weight: 700; font-size: 1.7rem; color: var(--ink); padding: 0.55rem 0; border-bottom: 1px solid var(--line-2); transition: .3s var(--ease); }
.drawer__link:hover, .drawer__link[aria-current] { color: var(--coral); padding-left: 0.4rem; }
.drawer__cta { margin-top: auto; display: grid; gap: 0.75rem; padding-top: 2rem; }
.drawer__cta .btn--ghost { color: var(--ink); border-color: var(--line); }

/* ---------- Decorative shapes / floating paws ---------- */
.blob { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.float-paw { position: absolute; z-index: 0; color: var(--coral); opacity: 0.14; pointer-events: none; will-change: transform;
  animation: floaty 7s var(--ease) infinite; }
.float-paw svg { width: 100%; height: 100%; }
.float-paw--2 { animation-duration: 9s; animation-delay: -3s; }
.float-paw--3 { animation-duration: 8s; animation-delay: -1.5s; }
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(var(--rot,0deg))} 50%{transform:translateY(-16px) rotate(calc(var(--rot,0deg) + 6deg))} }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 82% 8%, var(--teal-4), transparent 60%), radial-gradient(70% 60% at 6% 90%, var(--coral-3), transparent 62%), var(--cream); }
.hero__blob--1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -10vw; top: -12vw;
  background: radial-gradient(circle at 40% 40%, rgba(42,107,98,0.14), transparent 66%); filter: blur(8px); }
.hero__blob--2 { width: 32vw; height: 32vw; max-width: 400px; max-height: 400px; left: -9vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(224,103,75,0.18), transparent 66%); filter: blur(6px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 0.5rem + 4vw, 5.5rem); align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(4rem, 2.5rem + 5vw, 7rem); position: relative; z-index: 2; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5em; background: #fff; color: var(--teal); font-weight: 700; font-size: var(--s--1);
  padding: 0.5em 1.05em; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4f9a6a; box-shadow: 0 0 0 4px rgba(79,154,106,0.18); }
.hero h1 { font-size: var(--s-5); font-weight: 800; margin-top: 1.2rem; letter-spacing: -0.035em; }
.hero h1 .accent { position: relative; color: var(--coral); display: inline-block; }
.hero__scribble { position: absolute; left: -2%; right: -4%; bottom: -0.32em; width: 106%; height: 0.5em; color: var(--coral); }
.hero__scribble path { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; }
.js .hero.is-live .hero__scribble path { transition: stroke-dashoffset 1.1s var(--ease) 0.9s; stroke-dashoffset: 0; }
.hero__sub { font-size: var(--s-1); line-height: 1.55; color: var(--muted); max-width: 40ch; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.5rem; font-size: var(--s--1); color: var(--muted); font-weight: 600; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.hero__meta .ic { color: var(--coral); }

.hero__media { position: relative; z-index: 2; }
.hero__photo { position: relative; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
  border: 6px solid #fff; will-change: transform; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__ring { position: absolute; inset: -22px -22px auto auto; width: 128px; height: 128px; z-index: -1;
  border: 2px dashed rgba(224,103,75,0.5); border-radius: 50%; }
.hero__seal { position: absolute; right: -26px; top: 30px; z-index: 3; width: 108px; height: 108px; }
.hero__seal svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__seal .badge-c { fill: var(--coral); }
.hero__chip { position: absolute; left: -22px; bottom: 34px; z-index: 3; background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 0.85rem 1.15rem; display: flex; align-items: center; gap: 0.7rem; }
.hero__chip .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--coral-3); display: grid; place-items: center; color: var(--coral); font-size: 1.25rem; flex: none; }
.hero__chip b { font-family: var(--disp); font-weight: 800; font-size: 1.3rem; color: var(--teal); line-height: 1; }
.hero__chip span { font-size: var(--s--1); color: var(--muted); line-height: 1.2; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--teal); color: var(--cream); position: relative; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); position: relative; z-index: 2; }
.trust__item { text-align: center; position: relative; }
.trust__item + .trust__item::before { content: ""; position: absolute; left: calc(-0.5 * clamp(1rem,0.5rem + 1.5vw,2rem)); top: 12%; bottom: 12%; width: 1px; background: rgba(249,244,234,0.18); }
.trust__num { font-family: var(--disp); font-weight: 800; font-size: var(--s-4); color: #fff; line-height: 1; letter-spacing: -0.04em; }
.trust__num .u { color: var(--coral-2); }
.trust__label { font-size: var(--s--1); color: rgba(249,244,234,0.78); margin-top: 0.6rem; font-weight: 600; }
@media (max-width: 720px){ .trust { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } .trust__item + .trust__item::before { display: none; } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.85rem, 0.5rem + 1.2vw, 1.35rem); }
.svc { grid-column: span 2; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.svc::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--teal-4); opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease); transform: scale(0.6); z-index: 0; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { opacity: 1; transform: scale(1); }
.svc.svc--wide { grid-column: span 3; }
.svc.svc--feature { grid-column: span 3; background: linear-gradient(160deg, var(--teal-2), var(--teal)); color: var(--cream); }
.svc.svc--feature h3, .svc.svc--feature .svc__ic { color: #fff; }
.svc.svc--feature .svc__ic { background: rgba(255,255,255,0.14); }
.svc.svc--feature p { color: rgba(249,244,234,0.86); }
.svc.svc--feature .svc__pill { background: rgba(255,255,255,0.14); color: #fff; }
.svc.svc--feature::after { background: rgba(255,255,255,0.08); }
.svc > * { position: relative; z-index: 1; }
.svc__ic { width: 56px; height: 56px; border-radius: 17px; background: var(--coral-3); display: grid; place-items: center; color: var(--coral); margin-bottom: 1.15rem;
  transition: transform .4s var(--ease-back); }
.svc:hover .svc__ic { transform: rotate(-6deg) scale(1.08); }
.svc__ic svg { width: 28px; height: 28px; }
.svc h3 { font-size: var(--s-2); color: var(--teal); }
.svc p { margin-top: 0.55rem; color: var(--muted); font-size: var(--s-0); }
.svc__list { list-style: none; padding: 0; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc__pill { font-size: var(--s--1); font-weight: 600; color: var(--teal); background: var(--teal-4); padding: 0.3em 0.8em; border-radius: var(--radius-pill); }
@media (max-width: 980px){ .bento { grid-template-columns: repeat(2, 1fr); } .svc, .svc--wide, .svc--feature { grid-column: span 1; } }
@media (max-width: 560px){ .bento { grid-template-columns: 1fr; } }

/* all-services pills */
.pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.65rem; }
.pill { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: 0.85rem 1.25rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.6rem; transition: .3s var(--ease); }
.pill:hover { border-color: var(--coral); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.pill .p-ic { width: 22px; height: 22px; color: var(--coral); flex: none; }

/* ---------- Split (welcome / feature) ---------- */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 0.8rem + 4vw, 5.5rem); align-items: center; position: relative; z-index: 2; }
.split.rev { grid-template-columns: 1.08fr 0.92fr; }
.split.rev .split__media { order: 2; }
.split__media { position: relative; }
.split__photo { border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; border: 6px solid #fff; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.split__deco { position: absolute; inset: auto auto -18px -18px; width: 92px; height: 92px; color: var(--coral); opacity: 0.9; z-index: 2; }
.split__deco svg { width: 100%; height: 100%; }
.split__body > * + * { margin-top: 1.15rem; }
.split__body p { color: var(--muted); }
.split__body h2 { font-size: var(--s-3); }
.signature { font-family: var(--script); font-weight: 700; font-size: 2rem; color: var(--coral); line-height: 0.9; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 0.6rem + 2vw, 2.5rem); position: relative; z-index: 2; }
.member { text-align: center; }
.member:nth-child(2) { margin-top: clamp(0px, -1rem + 4vw, 2.5rem); }
.member__photo { position: relative; border-radius: 200px 200px 22px 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow);
  background: var(--teal-3); border: 5px solid #fff; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__fact { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(18,52,48,0.9), transparent); color: #fff;
  padding: 1.6rem 1rem 1rem; font-size: var(--s--1); opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.member:hover .member__fact { opacity: 1; transform: none; }
.member h3 { font-size: var(--s-1); color: var(--teal); margin-top: 1.1rem; }
.member .role { color: var(--coral); font-weight: 700; font-size: var(--s--1); margin-top: 0.15rem; }
.member p { color: var(--muted); font-size: var(--s-0); margin-top: 0.7rem; }
@media (max-width: 820px){ .team-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; } .member:nth-child(2){ margin-top: 0; } }

/* ---------- Testimonials ---------- */
.tmo-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 0.5rem + 3vw, 3rem); align-items: center; max-width: 62rem; margin: 0 auto clamp(2.5rem,1.5rem + 3vw,4rem); position: relative; z-index: 2; }
.tmo-feature__q { font-family: var(--disp); font-weight: 800; font-size: clamp(5rem, 3rem + 8vw, 9rem); color: var(--coral-2); line-height: 0.7; opacity: 0.9; }
.tmo-feature blockquote { font-family: var(--disp); font-weight: 600; font-size: var(--s-2); line-height: 1.28; color: #fff; letter-spacing: -0.01em; }
.tmo-feature__by { margin-top: 1.1rem; color: var(--coral-2); font-family: var(--script); font-size: 1.5rem; }
.tmo-feature__stars { color: var(--sand); letter-spacing: 3px; margin-bottom: 0.9rem; font-size: 1.1rem; }
@media (max-width: 640px){ .tmo-feature { grid-template-columns: 1fr; } .tmo-feature__q { line-height: 0.9; } }

.marquee { position: relative; z-index: 2; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1.1rem; width: max-content; animation: scrollx 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.tmo { flex: 0 0 clamp(280px, 70vw, 380px); background: rgba(255,255,255,0.07); border: 1px solid rgba(249,244,234,0.14); border-radius: var(--radius-lg); padding: 1.5rem 1.7rem; }
.tmo__stars { color: var(--sand); letter-spacing: 2px; margin-bottom: 0.6rem; }
.tmo p { color: #fff; font-size: var(--s-0); line-height: 1.55; }
.tmo__by { margin-top: 0.9rem; font-size: var(--s--1); color: rgba(249,244,234,0.7); font-weight: 600; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 50% -10%, var(--teal-4), transparent 62%), var(--cream);
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }
.page-hero__title { font-size: var(--s-4); margin-top: 0.5rem; color: var(--teal); letter-spacing: -0.03em; }
.page-hero .lede { margin: 1rem auto 0; text-align: center; color: var(--muted); }
.page-hero .btn { margin-top: 1.7rem; }

/* ---------- Contact / appointment ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; position: relative; z-index: 2; }
.form { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1.1rem + 2vw, 2.75rem); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 560px){ .form__row.two { grid-template-columns: 1fr 1fr; } }
.field + .field, .form__row + .form__row, .form__row + .field, .field + .form__row { margin-top: 1rem; }
.field > span { display: block; font-weight: 700; font-size: var(--s--1); color: var(--teal); margin-bottom: 0.4rem; }
.field .req { color: var(--coral); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: var(--s-0); color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.82em 1em; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(224,103,75,0.14); }
.field textarea { min-height: 120px; resize: vertical; }
.form__hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 1.4rem; }
.form__note { margin-top: 1rem; font-size: var(--s--1); color: var(--muted-2); }
.alert { border-radius: var(--radius); padding: 1rem 1.15rem; font-size: var(--s-0); margin-bottom: 1.4rem; border: 1px solid; }
.alert--ok { background: rgba(28,79,73,0.08); border-color: rgba(28,79,73,0.35); color: var(--teal); }
.alert--err { background: rgba(224,103,75,0.1); border-color: rgba(224,103,75,0.4); color: #b04227; }
.info-stack { display: grid; gap: 1.1rem; }
.info-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: var(--s-1); color: var(--teal); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.info-card h3 .ic { color: var(--coral); }
.info-card p, .info-card a, .info-card address { color: var(--muted); font-size: var(--s-0); font-style: normal; line-height: 1.7; }
.info-card .emerg { color: var(--coral); font-weight: 700; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.42rem 0; border-bottom: 1px solid var(--line-2); font-size: var(--s-0); }
.hours-row:last-child { border-bottom: 0; }
.hours-row.closed { color: var(--muted-2); }
.hours-row.today { color: var(--coral); font-weight: 700; }
.hours-row.today span:first-child::after { content: " · today"; font-size: 0.8em; opacity: 0.8; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); aspect-ratio: 16/10; position: relative; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.ft { background: radial-gradient(120% 100% at 15% 0%, var(--teal-2), var(--teal) 55%, var(--ink)); color: rgba(249,244,234,0.78);
  padding-block: clamp(4rem, 2.8rem + 4vw, 6rem) 2.5rem; position: relative; overflow: hidden; }
.ft__petline { position: absolute; right: 3%; top: 8%; width: min(320px, 40vw); color: rgba(249,244,234,0.1); }
.ft__grid { display: grid; grid-template-columns: 1.6fr 0.9fr 1.2fr 1.1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); position: relative; z-index: 2; }
.ft .brand__name { color: #fff; font-size: 1.35rem; }
.ft .brand__mark { box-shadow: none; }
.ft__blurb { margin-top: 1rem; max-width: 32ch; font-size: var(--s--1); line-height: 1.7; }
.ft__col h4 { font-family: var(--disp); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral-2); margin-bottom: 1rem; }
.ft__col ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: var(--s--1); }
.ft__contact li { line-height: 1.5; }
.ft a:hover { color: #fff; }
.ft__emerg p { font-size: var(--s--1); margin-bottom: 0.7rem; }
.ft__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(249,244,234,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.78rem; color: rgba(249,244,234,0.5); position: relative; z-index: 2; }
.ft__legal a { color: var(--coral-2); }

/* ---------- Motion: reveals, scroll progress, parallax ---------- */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--coral), var(--sand)); z-index: 9999; pointer-events: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="scale"].is-visible { transform: none; }
/* kinetic line-mask headline */
.reveal-mask .ln { display: block; overflow: hidden; padding-bottom: 0.05em; }
.reveal-mask .ln > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.js .reveal-mask.is-visible .ln:nth-child(1) > span { transform: none; }
.js .reveal-mask.is-visible .ln:nth-child(2) > span { transform: none; transition-delay: .1s; }
.js .reveal-mask.is-visible .ln:nth-child(3) > span { transform: none; transition-delay: .2s; }
.js .form[data-reveal], .js .form [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .js [data-reveal], .reveal-mask .ln > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-paw, .announce__paw, .hero__seal svg { animation: none !important; }
  .hero__scribble path { stroke-dashoffset: 0 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .nav, .hd__cta .btn--coral { display: none; }
  .burger { display: inline-flex; }
  .hero__grid, .split, .split.rev, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .split__media { order: -1; }
  .hero__media, .split__media { max-width: 440px; margin-inline: auto; order: -1; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__petline { display: none; }
}
@media (max-width: 560px){
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__seal { width: 84px; height: 84px; right: -10px; }
  .ft__grid { grid-template-columns: 1fr; }
  .ft__legal { flex-direction: column; }
}

/* Hero happy-dog stamp badge (replaces the spinning text seal) */
.hero__stamp { position: absolute; top: -18px; right: -18px; z-index: 3; width: clamp(98px, 8vw, 130px); height: clamp(98px, 8vw, 130px);
  filter: drop-shadow(0 16px 28px rgba(18,52,48,0.22)); }
.hero__stamp svg { width: 100%; height: 100%; overflow: visible; }
.hero__stamp .pup { animation: pup-breathe 3.6s var(--ease) infinite; }
.hero__stamp .tongue { transform-box: fill-box; transform-origin: top center; animation: pup-tongue 1.7s var(--ease) infinite; }
@keyframes pup-breathe { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-2px); } }
@keyframes pup-tongue { 0%,100%{ transform: scaleY(1); } 45%{ transform: scaleY(1.3); } }
.js .hero__stamp { transform: scale(0) rotate(-16deg); }
.js .hero.is-live .hero__stamp { transition: transform .8s var(--ease-back) .55s; transform: scale(1) rotate(-6deg); }
@media (max-width: 560px){ .hero__stamp { top: -10px; right: -6px; } }
@media (prefers-reduced-motion: reduce){
  .hero__stamp .pup, .hero__stamp .tongue { animation: none !important; }
  .js .hero__stamp, .js .hero.is-live .hero__stamp { transform: rotate(-6deg) !important; }
}
