:root {
    /* Colours: "Clinical Blue", built on the logo blue (#0056b8). Shapes and type: rounded,
       Fraunces headings ("Warm Neighbourhood"). Chosen 2026-11-16 from the design review. */
    --bg: #ffffff;
    --bg-2: #f2f6fb;            /* alternate section band */
    --surface: #ffffff;
    --text: #1e2b3c;
    --heading: #0a2540;
    --muted: #4d5b6e;
    --muted-2: #5f6d80;
    --brand: #0056b8;           /* the logo blue */
    --brand-dark: #004a9f;
    --brand-darker: #003b80;
    --brand-soft: #e6eff9;
    --btn: #0056b8;             /* solid button fill; 6.9:1 with white text */
    --btn-hover: #00438f;
    --accent: #0a756f;          /* teal, used sparingly */
    --accent-soft: #e0f3f1;
    --warn-soft: #fff4e5;
    --border: #e2e8f0;
    --border-strong: #c9d4e2;
    --shadow: 0 10px 28px rgba(10, 37, 64, 0.10);   /* floating things only */
    --radius: 18px;
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: "Fraunces", Georgia, "Times New Roman", serif;

    /* hero illustration (js/hero-park.js reads these) */
    --park-sky-top: #a5d3f3; --park-sky-mid: #d6ecf8; --park-sky-low: #f1f8f6;
    --park-hill-far: #cfe5dc; --park-hill-near: #b4d9c8;
    --park-tree-a: #7fc3a4; --park-tree-b: #66b392; --park-tree-c: #52a182;
    --park-lawn-back: #a9dcc0; --park-lawn-front: #74c49c; --park-tuft: #59ad85; --park-tuft-light: #9ad6b6;
    --park-roof: #27415f; --park-brand: #0056b8; --park-awning: #0056b8; --park-metal: #4b5a6a;
    --park-open-rgb: 20,170,140; --park-shadow-rgb: 20,60,70;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(/fonts/inter-latin-wght.woff2) format("woff2");
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(/fonts/fraunces-latin-wght.woff2) format("woff2");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: var(--font);
    font-feature-settings: "cv11", "ss01";
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--btn);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    color: var(--heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
h3, h4, .h3 { font-weight: 650; letter-spacing: -0.015em; }
h2.h3 { font-size: 1.17rem; }

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--btn);
    color: #fff;
    padding: 10px 14px;
    border-radius: 0 0 10px 0;
    z-index: 100;
}
.skip-link:focus {
    left: 0;
}

/* Utility strip above the header: emergency page link, phone */
.util-strip {
    background: var(--heading);
    color: #fff;
    font-size: 0.84rem;
    line-height: 1.3;
}
.util-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px 18px;
    min-height: 38px;
}
.util-links { display: flex; align-items: center; gap: 20px; flex: none; }
.util-strip a {
    color: #fff;
    font-weight: 600;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.util-strip a:hover { text-decoration-thickness: 2px; }
.util-phone { text-decoration: none; display: none; }    /* shown only where the header has no room for the number */

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    text-decoration: none;
}

.header-phone {
    order: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    margin-left: 6px;
    color: var(--heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}
.header-phone svg { color: var(--btn); flex: none; }
.header-phone:hover .header-phone-number { text-decoration: underline; text-underline-offset: 3px; }

.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}

.brand-text {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 10px;
    border-radius: 8px;
    transition: color 0.15s ease;
}

.nav a:hover { color: var(--heading); }
.nav a.active {
    color: var(--heading);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--brand);
    border-radius: 0;
}

.nav-cta {
    margin-left: 6px;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: var(--btn);
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.nav-cta:hover {
    background: var(--btn-hover) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn);
    color: #fff;
    padding: 0.8rem 1.25rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.2;
}
.btn:hover {
    background: var(--btn-hover);
}
.btn:active {
    transform: translateY(1px);
}
.btn:focus-visible,
.nav-cta:focus-visible {
    outline: 2px solid var(--btn);
    outline-offset: 2px;
}

.btn-secondary {
    background: var(--surface);
    color: var(--heading);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: var(--bg-2);
    border-color: var(--muted-2);
}

.btn-accent {
    background: #0f7f73;
}
.btn-accent:hover {
    background: #0b6a60;
}

.btn-ghost {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
    background: var(--bg-2);
}

.btn-small {
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero */
.hero {
    padding: 72px 0 48px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.eyebrow {
    color: var(--btn);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.lead {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 36rem;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
    object-fit: cover;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--muted);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 6px;
}
.feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
    font-weight: 500;
}

.icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--btn);
    flex: none;
}
.icon svg { width: 22px; height: 22px; }

/* Info strip */
.info-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}
.info-strip > div {
    padding: 18px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-left: 1px solid var(--border);
}
.info-strip > div:first-child { border-left: none; }
.info-strip .icon { color: var(--btn); width: 24px; height: 24px; }
.info-strip .icon svg { width: 24px; height: 24px; }
.info-strip strong { display: block; color: var(--heading); font-weight: 600; }
.info-strip span { color: var(--muted); font-size: 0.92rem; }
.info-strip a { text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }

/* Pills */
.pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.pill:hover { border-color: var(--muted-2); background: var(--bg-2); }
.pill.pill-accent { background: var(--bg-2); }

/* Cards & sections */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.card-title { font-size: 1.15rem; margin-bottom: 8px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.tiny { font-size: 0.9rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

.section { padding: 88px 0; }
.section-alt {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 680px;
}
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 0; color: var(--btn); }
.grid > .panel { align-self: start; }
.section-head h1, .section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card h3, .card .h3 { margin-bottom: 8px; }

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    margin-bottom: 16px;
    color: var(--btn);
}
.card-icon svg { width: 22px; height: 22px; }

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease;
}
.service-card:hover {
    border-color: var(--muted-2);
}

/* Split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 4px; }

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--surface);
}
.panel-title { margin-bottom: 12px; }

.checklist { list-style: none; display: grid; gap: 11px; }
.checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--text);
    font-weight: 500;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0; top: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand-soft);
}
.checklist li::after {
    content: "";
    position: absolute;
    left: 7px; top: 7px;
    width: 5px; height: 9px;
    border-right: 2px solid var(--btn);
    border-bottom: 2px solid var(--btn);
    transform: rotate(45deg);
}
.checklist a { color: var(--heading); text-decoration: none; }
.checklist a::after { content: " \2192"; color: var(--muted-2); transition: color 0.15s ease; }
.checklist a:hover { color: var(--btn); text-decoration: underline; }
.checklist a:hover::after { color: var(--btn); }

/* Prose */
.prose p { color: var(--muted); margin-bottom: 14px; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 22px 0 10px; }
.prose h2 { margin-bottom: 12px; }

/* Team */
/* The team photos are 275 px wide and cannot be re-exported larger, so every layout keeps
   them at about 1.25x or less in CSS px: 4 columns (270 px) on desktop, 3 on tablets, and a
   104 px thumbnail beside the name on phones. */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.member {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--brand-soft);
    display: block;
}
.member-body { padding: 18px 20px 22px; }
.member-body h3 { margin-bottom: 2px; }
.member-role {
    color: var(--btn);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.member-body p { color: var(--muted); font-size: 0.96rem; }

/* About profile */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.profile-photo {
    width: 96px; height: 96px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Contact */
.contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-cards .card h3, .contact-cards .card .h3 { margin-bottom: 6px; }
.contact-cards a { text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }

.cta-bar {
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    background: var(--bg-2);
}
.section-alt .cta-bar { background: var(--surface); }
.cta-bar h3 { font-size: 1.4rem; margin-bottom: 4px; }
.cta-bar .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
    text-align: left;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}
.hours-table th { color: var(--muted); font-weight: 600; }
.hours-table td { text-align: right; font-weight: 600; color: var(--heading); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }

/* Emergency callout */
.callout {
    border: 1px solid #f3d9b5;
    background: var(--warn-soft);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.callout h3, .callout .h3 { color: #9a5b00; margin-bottom: 6px; }
.callout a { color: #9a5b00; font-weight: 600; }
.callout h2 { color: #9a5b00; font-size: 1.25rem; margin-bottom: 8px; }
.callout p { color: #7a4a00; }
.callout p + p { margin-top: 8px; }
.callout .btn { color: #fff; }
.callout .btn-secondary { color: var(--heading); }
.callout-strip { margin-top: 14px; padding: 14px 20px; }
.split > .callout { align-self: start; padding: 24px; }
.panel p + p { margin-top: 10px; }
.plain-list { margin: 12px 0 14px 20px; display: grid; gap: 6px; color: var(--text); font-weight: 500; }

/* Map */
.map-embed {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    line-height: 0;
}
.map-embed iframe { width: 100%; height: 360px; border: 0; }
.map-facade {
    line-height: inherit;
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 28px 20px;
    text-align: center;
    background-color: var(--bg-2);
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 44px 44px;
}
.map-facade-body { display: grid; justify-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.map-facade-address { color: var(--text); }
.map-facade-address strong { color: var(--heading); }
.map-facade .card-actions { justify-content: center; }

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.quote {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.quote p { color: var(--text); margin-bottom: 12px; }
.quote .quote-mark { color: var(--brand); font-size: 2.4rem; line-height: 0.6; font-weight: 700; }
.quote cite { color: var(--muted); font-style: normal; font-weight: 600; font-size: 0.9rem; margin-top: auto; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }

/* Forms */
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--heading); }
.field input, .field select, .field textarea {
    font: inherit;
    color: var(--text);
    padding: 11px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
    width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--btn);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

/* FAQ */
.faq {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 24px;
    background: var(--surface);
}
.faq details { border-top: 1px solid var(--border); }
.faq details:first-of-type { border-top: none; }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--heading);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;        /* on the summary, not the details, so the whole row is the tap target */
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted-2); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: -4px 0 14px; color: var(--muted); }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
    background: var(--bg-2);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 28px;
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 14px; color: var(--muted-2); }
.footer-col a, .footer-col p { display: block; color: var(--muted); text-decoration: none; font-size: 0.95rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--heading); }
.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.footer-socials a {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface);
}
.footer-socials a:hover { color: var(--heading); border-color: var(--border-strong); }
.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted-2);
    font-size: 0.88rem;
}
.footer-bottom a { color: var(--muted-2); display: inline-block; padding: 12px 0; margin: -12px 0; }


/* ------------------------------------------------------------------ mobile menu */
.nav-toggle { display: none; }

/* ------------------------------------------------------------------ home hero: live park scene */
.hero-park { padding: 0; }
.hero-park .stage {
    position: relative;
    min-height: clamp(580px, 80svh, 780px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.park {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: pan-y;
    /* sky and grass until the canvas draws; the photo is fetched only when scripting is off
       (.js is set by the inline script in the head, before this sheet applies) */
    background: linear-gradient(#cfeaf3 0 62%, #a9dcc0 62%);
}
html:not(.js) .park { background: #cfeaf3 url(/img/welcome-1.jpg) center / cover no-repeat; }
.park.is-live { background: #cfeaf3; }
.park canvas { display: block; width: 100%; height: 100%; }
.hero-park .stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 30%, rgba(255, 255, 255, 0) 52%);
}
.stage-copy {
    position: relative;
    z-index: 2;
    padding: 48px 0 252px;
    pointer-events: none;
}
.stage-copy > * { max-width: 33rem; }
.stage-copy a { pointer-events: auto; }
.stage-copy .hero-badge { position: static; display: inline-flex; }
.park-tip {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    pointer-events: none;
    max-width: 270px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.45;
    box-shadow: var(--shadow);
}
.park-tip strong { display: block; margin-bottom: 3px; color: var(--heading); font-size: 1rem; }
.park-tip em { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--btn); font-size: 0.8125rem; }
.circuit-wrap {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 26px;
    pointer-events: none;
}
.circuit {
    pointer-events: auto;
    width: min(30rem, 100%);
    padding: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--heading);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip[hidden] { display: none; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--brand)); }
.chip-dogs { --dot: #d9a35c; }
.chip-cats { --dot: #ea9a4f; }
.chip-small { --dot: #a88f74; }
.chip:hover { border-color: var(--muted-2); }
.chip:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--heading); border-color: var(--heading); color: #fff; }
/* Pause / Play for the canvas (WCAG 2.2.2); the glyph is two bars, or a triangle when paused */
.chip-pause { margin-left: auto; padding: 0 14px; color: var(--muted); }
.chip-pause::before { box-sizing: border-box; width: 8px; height: 10px; border-radius: 0; background: none; border: solid currentColor; border-width: 0 3px; }
.chip-pause.is-paused::before { width: 0; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.readout { transition: opacity 0.2s cubic-bezier(.2, 0, 0, 1); }
.readout.is-swapping { opacity: 0; }
.readout { margin: 12px 4px 2px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; align-items: baseline; }
.readout strong { font-size: 1.3rem; font-weight: 650; color: var(--heading); }
.readout-metric { font-weight: 600; color: var(--btn); }
.readout-line { grid-column: 1 / -1; font-size: 0.94rem; color: var(--muted); min-height: 3em; }
.readout-link { grid-column: 1 / -1; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.readout-link:hover { text-decoration: underline; }
.readout-link::after { content: " \2192"; }

/* ------------------------------------------------------------------ breadcrumbs */
.breadcrumbs { padding-top: 18px; font-size: 0.88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding: 12px 5px; margin: -12px -5px; }
.breadcrumbs a:hover { color: var(--heading); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--heading); font-weight: 500; }
.breadcrumbs + .hero, .breadcrumbs + .section { padding-top: 32px; }

/* ------------------------------------------------------------------ inner pages */
.page-hero .hero-media img { aspect-ratio: 3 / 2; }
.container.narrow { width: min(820px, 92vw); }
.photo-grid { gap: 24px; }
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
.photo-card:hover { border-color: var(--muted-2); }
.photo-card:hover .card-more { text-decoration: underline; }
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.photo-card-body .card-title { font-size: 1.2rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.tag-list li { font-size: 0.8rem; font-weight: 500; color: var(--muted); background: var(--bg-2); border-radius: 999px; padding: 3px 10px; }
.card-more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--btn); text-underline-offset: 3px; }
.steps { list-style: none; }
.step-num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-darker);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Responsive */
@media (min-width: 901px) and (max-width: 1140px) {
    /* not enough room for the number beside the full nav: the icon stays, the strip has the number */
    .header-phone-number { display: none; }
    .header-phone { width: 44px; justify-content: center; margin-left: 0; }
    .util-phone { display: inline; }
}

@media (max-width: 1020px) {
    .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col a { padding: 10px 0; margin-bottom: 0; }       /* 44px tap targets on touch widths */
    .btn-small { min-height: 44px; }
    .util-strip a { display: inline-block; padding: 15px 0; margin: -15px 0; }
    .readout-link { padding: 10px 0; }
    .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* tablet hero: carry the white scrim further and keep the copy inside it, so it never sits on the scene */
    .stage-copy > * { max-width: 25rem; }
    .hero-park .stage::before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 60%, rgba(255, 255, 255, 0) 86%);
    }
}

@media (max-width: 900px) {
    .cards-3, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }

    /* header: one row with a menu button (was 760px; the full nav wrapped to two rows up to ~1000px) */
    html { scroll-padding-top: 76px; }
    .header-inner { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
    .brand-logo { height: 38px; }
    .header-phone { order: 0; margin-left: auto; }
    .nav { justify-content: center; gap: 2px; margin-left: 0; }
    .nav a { padding: 7px 8px; font-size: 0.9rem; }
    .js .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid var(--border-strong);
        border-radius: 10px;
        background: var(--surface);
        color: var(--heading);
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        position: relative;
        transition: transform 0.2s cubic-bezier(.2, 0, 0, 1);
    }
    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -6px; }
    .nav-toggle-bars::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
    .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
    .js .nav.is-open {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        /* short and landscape viewports: the open menu scrolls instead of running off screen */
        max-height: calc(100vh - 76px);
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .js .nav a { padding: 11px 12px; font-size: 1rem; }
    .js .nav a.active { box-shadow: inset 2px 0 0 var(--brand); }
    .js .nav .nav-cta { text-align: center; margin-top: 6px; }
}

@media (max-width: 760px) {
    .section { padding: 60px 0; }
    .hero { padding: 40px 0 32px; }
    .hero.hero-park { padding: 0; }     /* the line above would push the scene 40px further down */
    .section-head { margin-bottom: 28px; }

    .hero-park .stage { min-height: 0; justify-content: flex-start; }
    .park { position: relative; order: 2; height: 300px; inset: auto; }
    .hero-park .stage::before { display: none; }
    .stage-copy { padding: 20px 0 18px; pointer-events: auto; }
    .stage-copy > * { max-width: 33rem; }
    .stage-copy .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .circuit-wrap { position: relative; order: 3; bottom: auto; padding: 14px 0 6px; }
    .circuit { width: 100%; position: relative; }
    /* no room in the chip row on a phone: Pause sits on the bottom-right corner of the picture above */
    .chip-pause { position: absolute; right: 10px; bottom: calc(100% + 25px); min-height: 36px; margin: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:last-child { grid-column: 1 / -1; }    /* hours: a full row, so no line wraps */
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .info-strip { grid-template-columns: 1fr; }
    .info-strip > div { border-left: none; border-top: 1px solid var(--border); }
    .info-strip > div:first-child { border-top: none; }
    .cards-3, .cards-2, .team-grid, .testimonial-grid, .split, .about, .contact-cards, .form-row {
        grid-template-columns: 1fr;
    }
    .cta-bar { flex-direction: column; align-items: flex-start; }

    /* team: a small photo beside the name, bio underneath */
    .member { display: block; padding: 16px; }
    .member-photo { float: left; width: 104px; margin: 0 14px 8px 0; border-radius: 10px; }
    .member-body { padding: 0; }
    .member-body h3 { padding-top: 22px; }
    .member-body p:not(.member-role) { clear: both; }

    /* utility strip: just the emergency-page link; the clinic's number is in the header
       and the bottom bar */
    .util-strip { font-size: 0.75rem; }
    .util-inner { justify-content: center; text-align: center; }
    .util-strip .util-phone { display: none; }
}

/* ------------------------------------------------------------------ sticky Book / Call bar (phones) */
.mobile-bar { display: none; }
@media (max-width: 720px) {
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: flex;
        gap: 10px;
        padding: 8px 4vw calc(8px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--border);
    }
    .mobile-bar .btn { flex: 1 1 0; justify-content: center; min-height: 46px; padding: 0 10px; white-space: nowrap; }
    /* room for the bar, so it never covers the end of the page or a focused element */
    body { padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px)); }
    html { scroll-padding-bottom: 72px; }
    :root { --sticky-bar-h: 63px; }      /* lifts the consent notice above the bar */
    .site-header:has(.nav.is-open) ~ .mobile-bar { display: none; }    /* the open menu has its own Book button */
}
@media (max-width: 419px) {
    .header-phone-number { display: none; }
    .header-phone {
        width: 44px;
        justify-content: center;
        border: 1px solid var(--border-strong);
        border-radius: 10px;
        background: var(--surface);
    }
    .mobile-bar .btn { font-size: 0.94rem; gap: 6px; }
}
@media print {
    .mobile-bar, .util-strip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* every transition and animation, present and future; 0.01ms (not none) so end events still fire */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .btn:active { transform: none; }
}

/* ================================================================== consent banner + privacy page
   Cookie notice built by js/analytics.js, and the long-form text on privacy.html.
   Keep this block last in the file.
   --sticky-bar-h can be set by a fixed bottom bar so the notice sits above it. */
.consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(16px + var(--sticky-bar-h, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    width: min(700px, calc(100vw - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px 18px;
    padding: 14px 16px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.92rem;
    line-height: 1.45;
}
.consent[hidden] { display: none; }
.consent p { flex: 1; }
.consent-status { color: var(--muted); }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
@media (max-width: 760px) {
    .consent { flex-direction: column; align-items: stretch; width: calc(100vw - 16px); bottom: calc(8px + var(--sticky-bar-h, 0px) + env(safe-area-inset-bottom, 0px)); }
    .consent-actions .btn { flex: 1; justify-content: center; }
}
.legal h2 { margin-top: 34px; }
.legal ul { padding-left: 1.2em; margin-bottom: 14px; color: var(--muted); max-width: 68ch; }
.legal li { margin-bottom: 6px; }
/* ================================================================== /consent banner + privacy page */

/* ================================================================== brand design
   Clinical Blue colours + Warm Neighbourhood shapes and type (Fraunces headings, pill buttons,
   rounded cards). Overrides earlier component rules, so keep this block last. */
h1, h2, h3, h4, .readout strong { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; }
h3, h4, .h3 { letter-spacing: -0.005em; }
h2.h3 { font-size: 1.25rem; }
.hero h1 { letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
.card-title { font-size: 1.22rem; }
.hours-table td { font-variant-numeric: tabular-nums; }

.util-strip { background: var(--brand); }
.site-header { background: rgba(255, 255, 255, 0.96); }
.nav a { color: var(--text); }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a.active { box-shadow: inset 0 -2px 0 var(--brand); }

.btn, .nav-cta { border-radius: 999px !important; }
.btn { padding: 0.85rem 1.45rem; }
.nav-cta { padding: 10px 18px !important; }
.btn-small { padding: 0.55rem 1rem; }
.btn-secondary { color: var(--brand); border-color: #a9c3e4; }
.btn-secondary:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #075f5a; }

.eyebrow, .section-head .eyebrow { color: var(--accent); }
.hero-badge .dot { background: #12a594; box-shadow: 0 0 0 3px var(--accent-soft); }
.section-alt { border-color: transparent; }
.card-icon { color: var(--brand); border-radius: 50%; width: 48px; height: 48px; }
.member-role { color: var(--accent); }
.checklist li::after { border-color: var(--accent); }
.card, .panel, .quote, .member, .faq { box-shadow: 0 1px 2px rgba(10, 37, 64, 0.05); }
.service-card, .photo-card { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.service-card:hover, .photo-card:hover { border-color: #a9c3e4; box-shadow: 0 6px 20px rgba(0, 86, 184, 0.10); }
.info-strip { border-top: 3px solid var(--brand); }
.tag-list li { background: var(--brand-soft); color: #33475f; }

.quote { position: relative; padding-top: 46px; }
.quote::before {
    content: "\201C";
    position: absolute;
    left: 22px;
    top: 14px;
    font-family: var(--font-head);
    font-size: 3rem;
    line-height: 1;
    color: var(--brand);
}

/* closing call to action: one solid navy panel */
.cta-bar, .section-alt .cta-bar { background: var(--heading); border-color: var(--heading); padding: 36px; }
.cta-bar h3 { color: #ffffff; font-size: 1.6rem; }
.cta-bar p { color: #d3deec; }
.cta-bar .btn { background: #ffffff; color: var(--heading); }
.cta-bar .btn:hover { background: var(--brand-soft); }
.cta-bar .btn-secondary, .cta-bar .btn-accent { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.cta-bar .btn-secondary:hover, .cta-bar .btn-accent:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; }
.cta-bar .btn:focus-visible { outline-color: #ffffff; }

.site-footer { border-top: 3px solid var(--brand); }
.footer-col h4 { font-family: var(--font); color: var(--heading); }
.footer-socials a { border-radius: 50%; }
.circuit { border-radius: 22px; }
@media (max-width: 900px) {
    .js .nav a.active { box-shadow: inset 2px 0 0 var(--brand); }
}

/* Visible "to do for the clinic" notes on draft content (remove each note once resolved). */
.todo-clinic {
    border: 2px dashed #b7791f;
    background: #fff8e6;
    color: #5c3d00;
    border-radius: var(--radius);
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 0.95rem;
}
.todo-clinic strong { color: #5c3d00; }
.member-photo-todo { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--surface-alt, #eef2f6); color: var(--muted); font-size: 0.9rem; text-align: center; padding: 12px; }
