/* ASH & HOUND character layer.
   Loaded after editorial.css on every page that carries data-page. The
   editorial layer made the site consistent; this one gives it a personality:
   warm paper instead of white, the brand serif back on headlines, the sage
   family as the working colour, gingham placemats, instant-photo prints, a
   pen that circles and underlines, and two dogs.

   Nothing here changes copy or markup. Selectors follow editorial.css
   (body[data-page][data-page] ...) so that file order does the overriding.

   Motion rules: anything that hides or offsets an element is scoped to
   html.ch-js, which character.js sets, so a page renders complete when the
   script never runs. Reduced motion is honoured by character.js (it does not
   set ch-js) and again by the media query at the foot of this file.

   Illustrations live in /assets/illustrations/ as real files, never data
   URIs: the site's img-src policy does not allow data:, so an inline SVG
   would be blocked in production. A drawing can be replaced by overwriting
   its file, but .svg is cached for a year, so bump its ?v= here when you do. */

/* A metric-matched stand-in for the serif while it loads, so headlines do not
   jump when the real face arrives. The 85% is an estimate, not a measurement. */
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'), local('Times New Roman'); size-adjust: 85%; }

:root {
    --paper: #faf6ee;
    --card: #fffdf9;
    --ink: #232822;
    --body: #3d423a;
    --muted: #686d62;
    --line: #e6e0d3;
    --wash: #f3eee2;
    --chive: #24302c;
    --chive-deep: #131b19;
    --sage-mid: #a3b196;
    --sage-pale: #e2e9d8;
    --rose: #96605f;
    --rose-pale: #ecdcd8;
    --powder: #d9e8ef;
    --oxblood: #5e1414;
    --round: 26px;
    --display: 'Cormorant Garamond', 'Cormorant', 'Cormorant Fallback', Georgia, 'Times New Roman', serif;
    --ch-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ch-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Site tokens re-pointed so colour-only rules on every page follow */
    --primary: #232822;
    --secondary: #686d62;
    --border: #e6e0d3;
    --cream: #f3eee2;
    --link: #24302c;
    --deep-sage: #24302c;
    --dark-sage: #5f6b55;
    --sage: #b9c7ab;
    --accent: #b9c7ab;
    --radius: 26px;
    /* A paw, reused as a mask wherever a small mark is needed */
    --paw: url('/assets/illustrations/paw.svg?v=1');
}

/* ── Ground ────────────────────────────────────────────────────────────── */
body[data-page][data-page] { background: var(--paper); color: var(--body); }
body[data-page][data-page] ::selection { background: var(--powder); color: var(--ink); }
body[data-page][data-page] :focus-visible { outline-color: var(--chive); }
html { scrollbar-color: var(--sage-mid) transparent; }
::-webkit-scrollbar-thumb { background: var(--sage-mid); }
body[data-page][data-page] :is(.alt-bg, .services, .updates, .pet-care-tips, .page-hero, .hero, .founder-section, .wall, .leave,
    .faq-section, .testimonials, .region-hero, .region-cta, .form-section, .looking-for, .practical, .posts,
    .how-it-works, .enquiry-section, .services-hero, .service-section, .moments, .contact, .cta-section, .blog-hero),
body[data-page][data-page] #main .services-hero { background: transparent; }
body[data-page][data-page] :is(.alt-bg, .blog-cta, .testimonial-block, .founder-text .highlight, .editorial-section) { background: var(--wash); }

/* ── Type: the serif carries the voice, the sans does the work ─────────── */
body[data-page][data-page] :is(h1, h2, .section-title, .content-section h2, .team-section h2,
    .moments-head h2, .founder-text h2, .wall-head h2, .page-hero h1, .hero h1, .cta-section h2,
    .blog-hero h1, .blog-content h2, .region-hero h1, .region-page h2, .post-card h2, .blog-card h2,
    .hero-title, .home-headline, .block-head h2, .statement h2),
body[data-page][data-page] #main :is(.services-hero h1, .section-header h2) {
    font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; color: var(--ink);
    font-feature-settings: 'liga', 'dlig';
}
body[data-page][data-page] :is(h1, .page-hero h1, .hero h1, .blog-hero h1, .region-hero h1, .hero-title, .home-headline),
body[data-page][data-page] #main .services-hero h1 {
    font-size: clamp(2.9rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em;
}
body[data-page][data-page] :is(h2, .section-title, .content-section h2, .cta-section h2, .blog-content h2, .block-head h2, .statement h2),
body[data-page][data-page] #main .section-header h2 {
    font-size: clamp(2.15rem, 3.9vw, 3.3rem); line-height: 1.08;
}
body[data-page][data-page] :is(h3, .service-card h3, .team-card h3, .faq-item h3, .tip-card h3),
body[data-page][data-page] #main .card-title {
    font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; color: var(--ink);
}
body[data-page][data-page] :is(.post-card h2, .blog-card h2) { font-size: 1.7rem; font-weight: 600; line-height: 1.18; }
body[data-page][data-page] .hero h1 em,
body[data-page][data-page] #main .services-hero h1 em { font-family: var(--display); font-style: italic; color: var(--chive); font-size: inherit; letter-spacing: -0.01em; }
/* Small labels above titles: written, not stamped */
body[data-page][data-page] :is(.label, .section-eyebrow, .eyebrow, .services-eyebrow, .hero-eyebrow, .blog-meta, .tip-card-meta, #main .ch-none) {
    font-family: var(--display); font-style: italic; font-weight: 500;
    font-size: 1.2rem; letter-spacing: 0.005em; text-transform: none; color: var(--oxblood);
}
body[data-page][data-page] .label a { color: inherit; text-decoration: none; font-family: inherit; font-style: inherit; }
/* Footer column headings stay small sans labels */
body[data-page][data-page] .ah-footer-col h2 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.18em; line-height: 1.6;
}
body[data-page][data-page] main a:not([class]) { color: var(--ink); text-decoration-color: var(--sage-mid); text-decoration-thickness: 1.5px; transition: text-decoration-color 0.25s ease, color 0.25s ease; }
body[data-page][data-page] main a:not([class]):hover { color: var(--chive-deep); text-decoration-color: var(--oxblood); }
body[data-page][data-page] :is(.specialisation-link, .gallery-cta a, .text-link, .card-link, .card-link-hint, .service-nav a,
    .cta-links a, .how-we-work-note a, .content-section a, .footer-links a) { text-decoration-color: var(--sage-mid); text-decoration-thickness: 1.5px; }
body[data-page][data-page] :is(.specialisation-link, .gallery-cta a, .text-link, .card-link, .card-link-hint, .cta-links a, .content-section a):hover { color: var(--chive-deep); text-decoration-color: var(--oxblood); }

/* ── Header ────────────────────────────────────────────────────────────── */
body[data-page][data-page] header { background: rgba(250, 246, 238, 0.94); border-bottom-color: var(--line); }
body[data-page][data-page] header .logo { color: var(--ink); }
/* Nav hover: a pen squiggle that runs under the word */
body[data-page][data-page] header nav a,
body[data-page][data-page] .header-actions a:not(.pill-btn) { background-image: none; -webkit-mask-image: none; mask-image: none; position: relative; }
body[data-page][data-page] header nav a:not(.nav-cta)::after,
body[data-page][data-page] .header-actions a:not(.pill-btn)::after {
    content: ''; position: absolute; left: 0; right: 0; top: calc(50% + 0.7em); height: 6px;
    background: url('/assets/illustrations/squiggle.svg?v=1') repeat-x 0 0 / 16px 6px;
    clip-path: inset(0 100% 0 0); transition: clip-path 0.35s var(--ch-ease);
}
body[data-page][data-page] header nav a:not(.nav-cta):hover::after,
body[data-page][data-page] header nav a:not(.nav-cta):focus-visible::after,
body[data-page][data-page] header nav a[aria-current="page"]::after,
body[data-page][data-page] .header-actions a:not(.pill-btn):hover::after { clip-path: inset(0 0 0 0); animation: ch-squiggle 0.9s linear infinite; }
body[data-page][data-page] header nav a[aria-current="page"]::after { animation: none; }
@keyframes ch-squiggle { to { background-position-x: 16px; } }

/* ── Buttons: chive pills that lift onto a sage shadow ─────────────────── */
body[data-page][data-page] :is(.pill-btn, .cta-button, .card-btn, .btn, .submit-btn, .leave-btn, .btn-next, .btn-back,
    .services-primary, .blog-cta a, .region-cta a.btn, .hero-cta, .leave .btn, .r-more, .primary-btn, .secondary-btn),
body[data-page][data-page] #main :is(.card-btn, .services-primary),
body[data-page][data-page] header nav a.nav-cta {
    background: var(--chive); border-color: var(--chive); color: #fff;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, translate 0.3s var(--ch-spring), box-shadow 0.3s var(--ch-ease);
}
body[data-page][data-page] :is(.pill-btn, .cta-button, .card-btn, .btn, .submit-btn, .leave-btn, .btn-next, .btn-back,
    .services-primary, .blog-cta a, .hero-cta, .r-more, .primary-btn, .secondary-btn):hover,
body[data-page][data-page] #main :is(.card-btn, .services-primary):hover,
body[data-page][data-page] header nav a.nav-cta:hover {
    background: var(--chive-deep); border-color: var(--chive-deep); color: #fff;
    translate: 0 -3px; box-shadow: 0 3px 0 var(--sage-mid);
}
body[data-page][data-page] :is(.pill-btn, .cta-button, .card-btn, .btn, .submit-btn, .leave-btn, .btn-next, .btn-back,
    .services-primary, .blog-cta a, .hero-cta, .r-more, .primary-btn, .secondary-btn):active,
body[data-page][data-page] #main :is(.card-btn, .services-primary):active { translate: 0 0; box-shadow: 0 0 0 var(--sage-mid); }
body[data-page][data-page] :is(.btn-back, .leave-btn.facebook, .cta-button--ghost, .secondary-btn, .blog-cta a + a, .pill-btn--ghost, .btn--ghost),
body[data-page][data-page] #main .card-btn.secondary { background: transparent; color: var(--chive-deep); border-color: var(--chive); }
body[data-page][data-page] :is(.btn-back, .leave-btn.facebook, .cta-button--ghost, .secondary-btn, .blog-cta a + a, .pill-btn--ghost, .btn--ghost):hover,
body[data-page][data-page] #main .card-btn.secondary:hover { background: var(--chive); color: #fff; }
body[data-page][data-page] :is(.btn, .submit-btn, button):disabled { translate: none; box-shadow: none; }
body[data-page][data-page] .back-to-top { background: var(--chive); }
body[data-page][data-page] .back-to-top:hover { background: var(--chive-deep); }

/* ── Cards and fields ──────────────────────────────────────────────────── */
body[data-page][data-page] :is(.service-card, .team-card, .post-card, .blog-card, .tip-card, .r-card, .value-card, .feature,
    .faq-item, .rate-card, .partner-entry, .form-card, .testimonial, .testimonial-block, .how-we-work-item, .w-card, .instax) {
    background: var(--card); border-color: var(--line);
    transition: border-color 0.3s ease, translate 0.45s var(--ch-ease), box-shadow 0.45s var(--ch-ease);
}
body[data-page][data-page] :is(.team-card, .post-card, .blog-card, .tip-card, .r-card, .rate-card, .partner-entry, .feature, .value-card):hover {
    border-color: var(--sage-mid); translate: 0 -4px; box-shadow: 0 14px 30px -18px rgba(54, 67, 47, 0.45);
}
body[data-page][data-page] .faq-item, body[data-page][data-page] #main .service-card { background: transparent; }
body[data-page][data-page] .r-card { background: var(--card); }
body[data-page][data-page] :is(.review-stars, .r-stars, .google-stars, .google-rating-stars, .rating-stars) { color: var(--oxblood); }
body[data-page][data-page] :is(.rating-badge, .google-rating-display, .google-badge, .pill-option, .suburb-links a) { background: var(--card); border-color: var(--line); }
body[data-page][data-page] .suburb-links a { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, rotate 0.3s var(--ch-spring); }
body[data-page][data-page] .suburb-links a:hover { background: var(--sage-pale); color: var(--ink); border-color: var(--sage-mid); rotate: -2deg; }
body[data-page][data-page] .suburb-links a:nth-child(even):hover { rotate: 2deg; }
body[data-page][data-page] .pill-option.selected, body[data-page][data-page] .pill-option[aria-pressed="true"],
body[data-page][data-page] .pill-option:has(input:checked) { background: var(--chive); color: #fff; border-color: var(--chive); }
body[data-page][data-page] :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) { background: var(--card); border-color: #d9d2c2; }
body[data-page][data-page] :is(input, select, textarea):focus { border-color: var(--chive); box-shadow: 0 0 0 4px var(--sage-pale); }
body[data-page][data-page] input[type="checkbox"], body[data-page][data-page] input[type="radio"] { accent-color: var(--chive); }
body[data-page][data-page] .stepper .step-num { background: var(--chive); border-color: var(--chive); }
body[data-page][data-page] .care-comparison-note { border-left-color: var(--sage-mid); }
body[data-page][data-page] .blog-content li::marker { color: var(--oxblood); }
body[data-page][data-page] .testimonial-block .quote { font-family: var(--display); font-size: 1.5rem; line-height: 1.4; }

/* ── Closing sections: dark awning stripes with a card on them ────────────── */
body[data-page][data-page] :is(.cta-section, .contact, .region-cta, .statement) {
    position: relative; isolation: isolate; border-top: 0;
    padding: clamp(5.5rem, 10vw, 8.5rem) var(--gutter);
    background-color: var(--chive);
    background-image: repeating-linear-gradient(90deg,
        var(--chive) 0 20px, var(--sage-mid) 20px 26px,
        var(--chive) 26px 32px, var(--sage-mid) 32px 38px);
}
body[data-page][data-page] :is(.cta-section, .contact, .region-cta, .statement)::before {
    content: ''; display: block; position: absolute; z-index: -1;
    inset: clamp(2.25rem, 5vw, 4rem) max(1rem, calc(50% - 400px));
    background: var(--card); border-radius: var(--round);
    box-shadow: 0 1px 0 rgba(35, 40, 34, 0.04), 0 24px 50px -30px rgba(54, 67, 47, 0.5);
}
body[data-page][data-page] :is(.cta-section, .contact, .region-cta, .statement) > * { max-width: min(640px, 100% - 2rem); margin-left: auto; margin-right: auto; }
body[data-page][data-page] :is(.cta-section, .contact, .region-cta, .statement) :is(h2, p) { background: none; }

/* ── Footer: a chive skyline with a dog asleep on it ───────────────────── */
body[data-page][data-page] .ah-footer {
    position: relative; background: var(--chive); border-top: 0; color: #f4efe2;
    padding-top: 5rem;
}
/* scalloped top edge */
body[data-page][data-page] .ah-footer::before {
    content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 14px;
    background: radial-gradient(circle at 14px 14px, var(--chive) 13.5px, transparent 14px) repeat-x 0 0 / 28px 14px;
}
body[data-page][data-page] .ah-footer::after {
    content: ''; position: absolute; right: clamp(1.5rem, 9vw, 9rem); bottom: calc(100% + 2px);
    width: clamp(150px, 15vw, 210px); aspect-ratio: 264 / 96;
    background: url('/assets/illustrations/sleepy-dog.svg?v=1') no-repeat center bottom / contain;
    pointer-events: none;
}
body[data-page][data-page] .ah-footer-logo img { filter: brightness(0) invert(1); opacity: 0.92; }
body[data-page][data-page] .ah-footer-tagline { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: #dfe5d3; }
body[data-page][data-page] .ah-footer-col h2 { color: #c9d2bb; }
body[data-page][data-page] .ah-footer-col a, body[data-page][data-page] .ah-footer-social a { color: #f8f4ea; transition: color 0.25s ease, translate 0.3s var(--ch-ease); }
body[data-page][data-page] .ah-footer-col a:hover, body[data-page][data-page] .ah-footer-social a:hover { color: var(--powder); translate: 4px 0; }
body[data-page][data-page] .ah-footer-legal, body[data-page][data-page] .ah-footer-copy { color: #d5dcc8; border-color: rgba(255, 255, 255, 0.18); }
body[data-page][data-page] .ah-footer-legal a { color: #e9eddf; }
body[data-page][data-page] .ah-footer-legal a:hover { color: var(--powder); }
body[data-page][data-page] .ah-footer-copy a { color: inherit; }
@media (max-width: 768px) {
    body[data-page][data-page] .ah-dock { background: rgba(250, 246, 238, 0.94); border-top-color: var(--line); }
    body[data-page][data-page] .ah-dock a { background: var(--card); border-color: var(--line); color: var(--ink); }
    body[data-page][data-page] .ah-dock a.ah-dock-cta { background: var(--chive); border-color: var(--chive); color: #fff; }
    body[data-page][data-page] header nav[data-drawer] { background: var(--paper); }
    body[data-page][data-page] header nav[data-drawer] a::after { display: none; }
    body[data-page][data-page] .ah-footer::after { width: 132px; right: 1.5rem; }
}

/* ── Page-level loose ends ─────────────────────────────────────────────── */
/* About: the closing enquiry link is styled inline; give it the shared pill. */
body[data-page][data-page] main a[href="/enquiry"][style*="background"] {
    display: inline-flex !important; align-items: center; min-height: 48px; padding: 0 1.75rem !important; border-radius: 999px;
    background: var(--chive) !important; color: #fff !important; text-transform: none !important; letter-spacing: 0.06em !important;
    font-size: 0.82rem !important; font-weight: 500; transition: background 0.25s ease, translate 0.3s var(--ch-spring), box-shadow 0.3s var(--ch-ease) !important;
}
body[data-page][data-page] main a[href="/enquiry"][style*="background"]:hover { background: var(--chive-deep) !important; translate: 0 -3px; box-shadow: 0 3px 0 var(--sage-mid); }
/* Reviews: the marquee matches the homepage awning */
body[data-page][data-page] .marquee { background: var(--chive); }
body[data-page][data-page] .marquee span { color: #f4efe2; }
body[data-page][data-page] .marquee .dot { color: var(--sage-mid); }
/* A closing note that sits directly above the footer needs room for the skyline */
body[data-page][data-page] main > section:last-child:has(> .region-wrap) { padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(5rem, 9vw, 7rem); text-align: center; }
body[data-page][data-page] main > section:last-child > .region-wrap { margin-inline: auto; max-width: 640px; }
body[data-page][data-page] main > section:last-child > .region-wrap h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }

body[data-page][data-page] main > section:last-child > .region-wrap h2:not(:first-child) { margin-top: 2.25rem; }
body[data-page][data-page] main > section:last-child > .region-wrap p + p { margin-top: 0.75rem; }
/* Inline-styled uppercase headings join the serif scale */
body[data-page][data-page] main h2[style*="text-transform: uppercase"] {
    font-family: var(--display) !important; font-weight: 500 !important; text-transform: none !important;
    letter-spacing: -0.012em !important; font-size: clamp(2.15rem, 3.9vw, 3.3rem) !important;
}
/* Blog: sub-headings stay small sans labels; related links wrap instead of running off the card */
body[data-page][data-page] .blog-content h3 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--chive);
}
body[data-page][data-page] nav.blog-cta { display: block; }
body[data-page][data-page] nav.blog-cta p:has(a) { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0; margin-top: 0.75rem; }
body[data-page][data-page] nav.blog-cta p:has(a) a { margin: 0; white-space: normal; text-align: center; line-height: 1.3; min-height: 44px; padding: 0.5rem 1.25rem; }
/* Closing headline hugs its words so the pen underline matches their width */
body[data-page][data-page] :is(.cta-section, .contact, .region-cta) h2 { display: table; position: relative; margin-bottom: 1.6rem; }

/* ── Pen marks drawn by character.js ───────────────────────────────────── */
.ch-pen { position: absolute; pointer-events: none; overflow: visible; fill: none; stroke: var(--oxblood); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ch-pen path { vector-effect: non-scaling-stroke; }
.ch-pen--under { left: 8%; width: 84%; top: calc(100% + 0.1em); height: 0.34em; }
.ch-pen--ring { inset: -0.55rem -0.9rem; width: calc(100% + 1.8rem); height: calc(100% + 1.1rem); }
html.ch-js .ch-pen path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.ch-js .ch-in .ch-pen path, html.ch-js .ch-pen.ch-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ch-ease) 0.25s; }

/* ══ Homepage ══════════════════════════════════════════════════════════ */

/* Hero: the photo, then a card on a sage gingham placemat, with a dog
   looking over the top of the card. */
body[data-page="index"][data-page] main > .hero {
    padding-top: 0;
    background-color: var(--paper);
    background-image:
        linear-gradient(90deg, rgba(163, 177, 150, 0.3) 50%, transparent 50%),
        linear-gradient(rgba(163, 177, 150, 0.3) 50%, transparent 50%);
    background-size: 36px 36px;
}
body[data-page="index"][data-page] .hero-media img { border-radius: 0 !important; }
body[data-page="index"][data-page] .hero-media { background: var(--wash); }
body[data-page="index"][data-page] .hero-intro {
    position: relative; z-index: 1; max-width: 860px;
    margin: clamp(-7rem, -9vw, -3.5rem) auto clamp(3rem, 6vw, 5rem);
    padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
    background: var(--card); border-radius: var(--round);
    box-shadow: 0 1px 0 rgba(35, 40, 34, 0.04), 0 30px 60px -34px rgba(54, 67, 47, 0.55);
}
body[data-page="index"][data-page] .hero-intro::before {
    content: ''; position: absolute; right: clamp(1.5rem, 9%, 5.5rem); bottom: calc(100% - 3px);
    width: clamp(120px, 15vw, 196px); aspect-ratio: 200 / 132;
    background: url('/assets/illustrations/peek-dog.svg?v=1') no-repeat center bottom / contain;
    transform-origin: 50% 100%; pointer-events: none;
    transition: rotate 0.45s var(--ch-spring), translate 0.45s var(--ch-spring);
}
/* The dog tilts its head when you reach for the button */
body[data-page="index"][data-page] .hero-intro:has(.pill-btn:hover)::before,
body[data-page="index"][data-page] .hero-intro:has(.pill-btn:focus-visible)::before { rotate: -9deg; translate: -4px 0; }
body[data-page="index"][data-page] .hero-intro:has(.text-link:hover)::before { rotate: 7deg; translate: 3px 0; }
html.ch-js body[data-page="index"] .hero-intro { opacity: 0; translate: 0 26px; }
html.ch-js body[data-page="index"] .hero-intro::before { clip-path: inset(100% 0 0 0); translate: 0 60%; }
html.ch-js body[data-page="index"] .hero-intro.ch-in { opacity: 1; translate: 0 0; transition: opacity 0.9s var(--ch-ease) 0.15s, translate 0.9s var(--ch-ease) 0.15s; }
html.ch-js body[data-page="index"] .hero-intro.ch-in::before { clip-path: inset(-20% -20% 0 -20%); translate: 0 0; transition: clip-path 0.7s var(--ch-ease) 1s, translate 0.7s var(--ch-spring) 1s, rotate 0.45s var(--ch-spring); }
body[data-page="index"][data-page] .hero-intro .label { margin-bottom: 1rem; }
body[data-page="index"][data-page] .home-headline { margin-bottom: 1.4rem; }

/* Ticker: an awning band, paws between the words */
body[data-page="index"][data-page] .ticker {
    border: 0; padding: 1.5rem 0;
    background:
        linear-gradient(var(--chive), var(--chive)) center / 100% calc(100% - 16px) no-repeat,
        repeating-linear-gradient(90deg, var(--sage-mid) 0 7px, var(--chive) 7px 14px);
}
body[data-page="index"][data-page] .ticker-track span { color: #f4efe2; display: inline-flex; align-items: center; padding: 0 0 0 1.6rem; }
body[data-page="index"][data-page] .ticker-track span::after {
    content: ''; width: 13px; height: 13px; margin-left: 1.6rem; background: var(--powder);
    -webkit-mask: var(--paw) no-repeat center / contain; mask: var(--paw) no-repeat center / contain;
    rotate: 18deg;
}
body[data-page="index"][data-page] .ticker-track span:nth-child(even)::after { rotate: -14deg; background: var(--sage-mid); }

/* Campaign */
body[data-page="index"][data-page] .campaign { padding-top: clamp(3.5rem, 7vw, 6rem); }
body[data-page="index"][data-page] .campaign-frame { border-radius: var(--round); }
body[data-page="index"][data-page] .pill { background: rgba(255, 253, 249, 0.82); }
body[data-page="index"][data-page] .campaign-copy { max-width: 680px; }
body[data-page="index"][data-page] .campaign-copy p:first-child {
    font-family: var(--display); font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.28; font-weight: 500; color: var(--ink); letter-spacing: -0.005em;
}
body[data-page="index"][data-page] .campaign-copy p + p { margin-top: 1.25rem; color: var(--muted); }

/* Services: two doorways */
body[data-page="index"][data-page] .tiles { gap: clamp(12px, 2vw, 28px); max-width: calc(1180px + 2 * var(--gutter)); }
body[data-page="index"][data-page] .tile-media { border-radius: 999px 999px var(--round) var(--round); transition: translate 0.6s var(--ch-ease); }
body[data-page="index"][data-page] .tile:hover .tile-media { translate: 0 -6px; }
body[data-page="index"][data-page] .tile-media img { border-radius: 0 !important; }
body[data-page="index"][data-page] .tile .pill-text { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; line-height: 1; }
body[data-page="index"][data-page] .tile .pill { max-width: calc(100% - 3rem); }

/* Photos every day: prints on a powder pinboard */
body[data-page="index"][data-page] section[aria-labelledby="updates-title"] {
    margin-top: clamp(5rem, 9vw, 8rem); padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4.5rem, 8vw, 7rem);
    background-color: var(--powder);
    background-image: linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
    background-size: 44px 44px;
}
body[data-page="index"][data-page] .updates-grid { gap: clamp(14px, 2.4vw, 34px); max-width: calc(1180px + 2 * var(--gutter)); }
body[data-page="index"][data-page] .update-card {
    position: relative; background: var(--card); padding: 10px 10px 0; border-radius: 3px;
    box-shadow: 0 1px 1px rgba(35, 40, 34, 0.08), 0 18px 30px -18px rgba(35, 50, 70, 0.5);
    rotate: -2.2deg; transition: rotate 0.5s var(--ch-spring), translate 0.5s var(--ch-spring), box-shadow 0.5s var(--ch-ease);
}
body[data-page="index"][data-page] .update-card:nth-child(2) { rotate: 1.6deg; translate: 0 14px; }
body[data-page="index"][data-page] .update-card:nth-child(3) { rotate: -1.2deg; }
body[data-page="index"][data-page] .update-card:nth-child(4) { rotate: 2.4deg; translate: 0 10px; }
body[data-page="index"][data-page] .update-card:hover { rotate: 0deg; translate: 0 -8px; box-shadow: 0 1px 1px rgba(35, 40, 34, 0.08), 0 30px 40px -22px rgba(35, 50, 70, 0.55); z-index: 2; }
body[data-page="index"][data-page] .update-card img { border-radius: 2px !important; }
/* a strip of tape */
body[data-page="index"][data-page] .update-card::before {
    content: ''; position: absolute; left: 50%; top: -11px; width: 74px; height: 22px; translate: -50% 0; rotate: -3deg;
    background: rgba(150, 96, 95, 0.62); box-shadow: 0 1px 2px rgba(35, 40, 34, 0.12);
}
body[data-page="index"][data-page] .update-card:nth-child(even)::before { rotate: 4deg; background: rgba(163, 177, 150, 0.9); }
body[data-page="index"][data-page] .update-card figcaption {
    margin: 0; padding: 0.7rem 0.25rem 0.85rem; font-family: var(--display); font-style: italic; font-weight: 500;
    font-size: 1.3rem; line-height: 1.2; color: var(--ink);
}

/* Gallery */
body[data-page="index"][data-page] .gallery-item { border-radius: var(--round); background: var(--wash); }
body[data-page="index"][data-page] .gallery-item.instagram-tile { background: var(--chive); }
body[data-page="index"][data-page] .gallery-item img { transition: scale 0.9s var(--ch-ease); }
body[data-page="index"][data-page] .gallery-item:hover img { scale: 1.05; }
body[data-page="index"][data-page] .gallery-swiper .swiper-button-prev,
body[data-page="index"][data-page] .gallery-swiper .swiper-button-next { background: var(--card); color: var(--chive-deep); }
body[data-page="index"][data-page] .swiper-pagination-bullet { background: #d5cfc0; transition: width 0.3s var(--ch-ease), background 0.3s ease; border-radius: 999px; }
body[data-page="index"][data-page] .swiper-pagination-bullet-active { background: var(--chive); width: 18px; }

/* Testimonials: the rating is circled by hand, the words are set in the serif */
body[data-page="index"][data-page] .rating { position: relative; border-color: var(--line); background: var(--card); color: var(--muted); }
html.ch-js body[data-page="index"] .rating { border-color: transparent; background: transparent; }
body[data-page="index"][data-page] .rating-score { color: var(--ink); }
body[data-page="index"][data-page] .testimonial { background: transparent; border: 0; border-radius: 0; overflow: visible; }
body[data-page="index"][data-page] .testimonial p { font-family: var(--display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.5; font-weight: 500; color: var(--ink); }
body[data-page="index"][data-page] .testimonial .review-stars { color: var(--oxblood); font-size: 0.9rem; }

/* Guides */
body[data-page="index"][data-page] .tips-grid { gap: clamp(12px, 2vw, 24px); max-width: calc(1180px + 2 * var(--gutter)); }
body[data-page="index"][data-page] .tip-card a { padding-bottom: 1.5rem; }
body[data-page="index"][data-page] .tip-card :is(.tip-card-meta, h3) { padding: 0 1.4rem; }
body[data-page="index"][data-page] .tip-card-meta { margin-top: 1.1rem; font-size: 1.05rem; }
body[data-page="index"][data-page] .tip-card a:hover h3 { text-decoration-color: var(--oxblood); text-decoration-thickness: 1.5px; }

/* Areas: suburbs as tags */
body[data-page="index"][data-page] .areas-list { gap: 0.55rem; max-width: 900px; }
body[data-page="index"][data-page] .areas-list a {
    min-height: 42px; padding: 0 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
    text-decoration: none; color: var(--ink);
    transition: background 0.25s ease, border-color 0.25s ease, rotate 0.35s var(--ch-spring), translate 0.35s var(--ch-spring);
}
body[data-page="index"][data-page] .areas-list a:hover { background: var(--sage-pale); border-color: var(--sage-mid); rotate: -2.5deg; translate: 0 -2px; text-decoration: none; }
body[data-page="index"][data-page] .areas-list a:nth-child(even):hover { rotate: 2.5deg; }
body[data-page="index"][data-page] .areas-list a:nth-child(3n):hover { background: var(--rose-pale); border-color: #cfaaa7; }
body[data-page="index"][data-page] .areas-list a:nth-child(5n):hover { background: var(--powder); border-color: #b9cbd8; }
body[data-page="index"][data-page] .region-wrap { margin-top: 3rem; }
body[data-page="index"][data-page] .region-wrap h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }

/* Statement */
body[data-page="index"][data-page] .statement { margin-top: clamp(5rem, 9vw, 8rem); }
body[data-page="index"][data-page] .statement h2 { position: relative; display: table; font-size: clamp(2.5rem, 5vw, 4.1rem); margin-bottom: 1.6rem; }
body[data-page="index"][data-page] .email-start { border-bottom-color: var(--chive); max-width: 420px; }
body[data-page="index"][data-page] .email-start button { background: var(--chive); transition: background 0.25s ease, translate 0.3s var(--ch-spring); }
body[data-page="index"][data-page] .email-start button:hover { background: var(--chive-deep); translate: 4px 0; }
body[data-page="index"][data-page] .email-start input { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding-inline: 0.25rem !important; }
body[data-page="index"][data-page] .email-start input:focus { box-shadow: none; }

/* First-visit loader */
body[data-page="index"][data-page] .brand-loader { background: var(--paper); }
body[data-page="index"][data-page] .brand-loader-text { color: var(--chive-deep); }
body[data-page="index"][data-page] .brand-loader-rule { background: var(--sage-mid); height: 2px; }

@media (max-width: 768px) {
    body[data-page][data-page] :is(h1, .page-hero h1, .hero h1, .blog-hero h1, .region-hero h1, .hero-title, .home-headline),
    body[data-page][data-page] #main .services-hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
    body[data-page][data-page] :is(h2, .section-title, .content-section h2, .cta-section h2, .blog-content h2, .block-head h2, .statement h2),
    body[data-page][data-page] #main .section-header h2 { font-size: clamp(2rem, 8.4vw, 2.5rem); }
    body[data-page="index"][data-page] main > .hero { background-size: 28px 28px; }
    body[data-page="index"][data-page] .hero-intro { margin: -2.75rem 0.75rem 2.5rem; }
    body[data-page="index"][data-page] .tile-media { border-radius: 999px 999px var(--round) var(--round); }
    body[data-page="index"][data-page] .updates-grid { row-gap: 2.6rem; }
    body[data-page="index"][data-page] .update-card figcaption { font-size: 1.12rem; }
    body[data-page="index"][data-page] .statement h2 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
    body[data-page][data-page] :is(.cta-section, .contact, .region-cta, .statement)::before { inset: 1.75rem 0.75rem; }
}

/* The display scale must not reach the footer column headings, at any width. */
body[data-page][data-page] .ah-footer .ah-footer-col h2 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.18em; line-height: 1.6; color: #c9d2bb;
}

@media (prefers-reduced-motion: reduce) {
    body[data-page="index"] .hero-intro, body[data-page="index"] .hero-intro::before { opacity: 1 !important; translate: none !important; clip-path: none !important; rotate: none !important; }
    .ch-pen path { stroke-dashoffset: 0 !important; }
    body[data-page][data-page] header nav a::after { animation: none !important; }
}
