:root {
  --cream: #fbf4ea;
  --ink: #1d2a44;
  --ink-soft: #4a5671;
  --primary: #b04a25; /* darkened terracotta: white text 5.45:1, on cream 4.99:1 */
  --primary-dark: #8f3b1d;
  --sand: #e8a25a;
  --card: #fffaf3;
  --border: #ead9c3;
  --shadow: 0 1px 2px rgba(29, 42, 68, 0.06), 0 8px 24px rgba(29, 42, 68, 0.06);
  --header-h: 64px;
  --radius: 14px;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 7vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(251, 244, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%; width: min(100% - 2rem, 68rem); margin-inline: auto;
  display: flex; align-items: center; gap: 0.75rem;
}
.brand {
  display: flex; align-items: center; gap: 0.5rem; min-width: 0;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1;
}
.brand:hover { color: var(--ink); }
.paw { width: 1.75rem; height: 1.75rem; flex: none; color: var(--primary); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; }
.nav a {
  display: inline-block; padding: 0.5rem 0.65rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav a:hover { background: var(--border); color: var(--ink); }

.status-pill {
  display: none; align-items: center; gap: 0.4rem; margin: 0; flex: none;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 500; line-height: 1.4;
}
.status-pill:not([hidden]) { display: inline-flex; }
.status-pill .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink-soft); }
.status-pill.is-open .dot { background: #2f7d4f; }

/* Small screens: brand + nav on one row, pill tucked away to keep the header one line */
@media (max-width: 639px) {
  .brand span { display: none; }
  .nav { margin-left: 0; }
  .status-pill { margin-left: auto; }
}
@media (max-width: 400px) {
  .header-inner { gap: 0.4rem; }
  .nav a { padding: 0.5rem 0.35rem; font-size: 0.85rem; }
  .status-pill { padding: 0.2rem 0.5rem; font-size: 0.75rem; gap: 0.3rem; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .card { transition: none; }
  .btn:hover { transform: none; }
}

/* Hero */
.hero {
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(2.5rem, 8vw, 5rem);
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgba(232, 162, 90, 0.28), transparent 70%),
    var(--cream);
}
.hero-inner { max-width: 44rem; margin-left: max(1rem, calc((100% - 68rem) / 2)); }
.eyebrow {
  margin-bottom: 1rem; color: var(--primary); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.lead { margin: 1.25rem 0 1.75rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; padding: 0; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 0.5rem; }
.trust li::before {
  content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--sand); flex: none;
}

/* Sections */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--border); }
.section-lead { margin: 0.5rem 0 2rem; color: var(--ink-soft); }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  #services-list { grid-template-columns: repeat(4, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
}
.card {
  padding: 1.5rem; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.section-alt .card { background: var(--cream); }

.person { text-align: center; }
.avatar { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; display: block; }
.avatar circle { fill: var(--ink); }
.avatar text { fill: var(--sand); font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.person .role { margin-top: 0.25rem; }

/* Booking: exactly one window tall under the sticky header */
.book {
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  min-height: 28rem;
  scroll-margin-top: var(--header-h);
  background: var(--cream);
  border-block: 1px solid var(--border);
}
.book-frame { display: block; width: 100%; height: 100%; border: 0; }
.book-fallback { padding: 3rem 1rem; text-align: center; font-size: 1.1rem; }

/* Visit */
.visit { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .visit { grid-template-columns: 1fr 1fr; align-items: start; } }
.address { font-style: normal; margin: 1rem 0 1.5rem; font-size: 1.15rem; }
.visit h3 { margin-bottom: 0.75rem; }
.hours { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; background: rgba(232, 162, 90, 0.2); }

/* Footer */
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border); background: var(--card); color: var(--ink-soft); font-size: 0.9rem; }
.site-footer p { margin: 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
