/* ============================================================
   Petiquette — shared stylesheet
   Two-axis theme: data-theme {light,dark} × data-palette {meadow,clay,sky}
   Base tokens set by theme; accent family layered by palette.
   ============================================================ */

/* ---- Self-hosted fonts (subset latin woff2; variable where available) ---- */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/fraunces-400_600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+25CA;}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/nunitosans-variable.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+25CA;}
@font-face{font-family:'Space Mono';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/spacemono-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+25CA;}
@font-face{font-family:'Space Mono';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/spacemono-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+25CA;}

/* ---- Tokens: light (default) ---- */
:root {
  --bg: #f7f4ec;
  --surface: #fffdf8;
  --surface-2: #f1ece0;
  --ink: #23241f;
  --muted: #5b5d53;
  --rule: #e3ddcf;
  --shadow: 0 1px 2px rgba(35,36,31,.05), 0 8px 28px rgba(35,36,31,.07);
  --shadow-sm: 0 1px 2px rgba(35,36,31,.06), 0 3px 10px rgba(35,36,31,.05);

  /* accent — meadow */
  --accent: #2f6f4f;
  --accent-strong: #245840;
  --accent-soft: #e6efe7;
  --accent-ink: #ffffff;

  --maxw: 1120px;
  --measure: 68ch;
  --radius: 14px;
  --radius-sm: 9px;
  --pad: clamp(1.1rem, 4vw, 2rem);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ---- Tokens: dark ---- */
:root[data-theme="dark"] {
  --bg: #15171300;
  --bg: #151713;
  --surface: #1d201a;
  --surface-2: #232720;
  --ink: #ece9df;
  --muted: #a8a99c;
  --rule: #2e322a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.4);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.3);

  --accent: #6dba90;
  --accent-strong: #93d2ad;
  --accent-soft: #1f2a23;
  --accent-ink: #0e120d;
}

/* ---- Palette: clay ---- */
:root[data-palette="clay"] {
  --accent: #b0532f; --accent-strong: #8f3f20; --accent-soft: #f4e6df; --accent-ink: #fff;
}
:root[data-theme="dark"][data-palette="clay"] {
  --accent: #e08a63; --accent-strong: #efa884; --accent-soft: #2a201b; --accent-ink: #1a0f09;
}
/* ---- Palette: sky ---- */
:root[data-palette="sky"] {
  --accent: #2f6390; --accent-strong: #244e72; --accent-soft: #e3edf4; --accent-ink: #fff;
}
:root[data-theme="dark"][data-palette="sky"] {
  --accent: #74acd8; --accent-strong: #9cc6e8; --accent-soft: #1a2531; --accent-ink: #0a1019;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.62;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); }
p { text-wrap: pretty; margin: 0 0 1rem; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 800; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .7rem 1.1rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--surface-2); }
.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-strong); margin: 0 0 .8rem; font-weight: 700;
}
.lead { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); color: var(--muted); }
.rule-top { border-top: 1px solid var(--rule); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; gap: .45rem; min-height: 64px; position: relative; }
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--ink);
  text-decoration: none; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem;
}
.brand:hover { color: var(--accent-strong); }
.brand .paw { width: 24px; height: 24px; color: var(--accent); flex: none; }
.nav-menu { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav-menu a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem .7rem; border-radius: var(--radius-sm);
}
.nav-menu a:hover { background: var(--surface-2); color: var(--accent-strong); }
.nav-menu a[aria-current="true"] { color: var(--accent-strong); background: var(--accent-soft); }
.nav-cta {
  background: var(--accent) !important; color: var(--accent-ink) !important; padding: .55rem 1rem !important; font-weight: 800;
}
.nav-cta:hover { background: var(--accent-strong) !important; }
.theme-controls { display: flex; gap: .35rem; align-items: center; margin-left: .25rem; }
.icon-btn {
  appearance: none; border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font-size: 1rem; line-height: 1;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-toggle { display: grid; margin-left: auto; order: 9; }
  .nav-menu {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--surface); border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow); padding: .5rem; display: none;
  }
  .nav-menu[data-open="true"] { display: flex; }
  .nav-menu a { padding: .9rem 1rem; font-size: 1.02rem; }
}

/* Floating palette picker */
.palette-pop { position: relative; }
.palette-menu {
  position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: .6rem; box-shadow: var(--shadow); display: none; gap: .4rem; z-index: 50;
}
.palette-menu[data-open="true"] { display: flex; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--rule); cursor: pointer; }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.swatch--meadow { background: #2f6f4f; }
.swatch--clay { background: #b0532f; }
.swatch--sky { background: #2f6390; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-family: var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm); font-size: 1rem; line-height: 1;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent-strong); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.08rem; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(4.5rem, 10vw, 8rem); overflow: hidden; }
/* Carly's brand waves (her business-card motif), full-bleed behind the hero */
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1440 / 600; z-index: 0; pointer-events: none; }
@media (max-width: 760px) { .hero-waves { aspect-ratio: 1440 / 900; } }
:root[data-theme="dark"] .hero-waves { filter: saturate(.92) brightness(.82); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(177deg, var(--bg) 0%, var(--bg) 30%, transparent 76%); /* fallback */
  background: linear-gradient(177deg, var(--bg) 0%, var(--bg) 24%, color-mix(in srgb, var(--bg) 45%, transparent) 52%, transparent 82%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--accent-strong); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Hero visual card (typographic until real photos arrive) */
.hero-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2rem); position: relative;
}
.hero-card .badge {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--accent-soft); padding: .3rem .6rem; border-radius: 999px; font-weight: 700;
}
.hero-card h3 { margin: .9rem 0 .3rem; }
.hero-card .price-line { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--rule); font-size: .95rem; }
.hero-card .price-line:last-of-type { border-bottom: 0; }
.hero-card .price-line b { font-variant-numeric: lining-nums tabular-nums; color: var(--accent-strong); white-space: nowrap; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust div { background: var(--surface); padding: 1.3rem 1rem; text-align: center; }
.trust .num { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); color: var(--accent-strong); font-variant-numeric: lining-nums; line-height: 1; }
.trust .lbl { font-size: .82rem; color: var(--muted); margin-top: .4rem; font-weight: 600; }

/* ============================================================
   Services
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 1rem; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.price-list { list-style: none; margin: 1rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--rule); }
.price-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .42rem 0; font-size: .94rem; }
.price-list li span:first-child { color: var(--muted); }
.price-list b { font-variant-numeric: lining-nums tabular-nums; color: var(--ink); white-space: nowrap; }
.tag { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); padding: .25rem .55rem; border-radius: 999px; font-weight: 700; }
.free { color: var(--accent-strong); font-weight: 800; }

/* ============================================================
   About / credentials
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.creds { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.creds li { display: flex; gap: .7rem; align-items: flex-start; }
.creds svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.portrait {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; padding: 0;
}
.portrait img { width: 100%; height: auto; display: block; }
.portrait .mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.portrait .big-paw { width: 64px; height: 64px; color: var(--accent); opacity: .6; margin-bottom: .8rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
.quote {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.7rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: .6rem; font-size: .95rem; }
.quote blockquote { margin: 0; font-size: 1rem; }
.quote .who { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--rule); font-weight: 800; }
.quote .src { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Gallery (real photos) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .gallery { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); background: var(--surface); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .45s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .gallery-item:hover img { transform: scale(1.045); } }
:root[data-theme="dark"] .gallery-item img { filter: brightness(.88); }

/* Testimonial dog avatars */
.quote .who { display: flex; align-items: center; gap: .75rem; }
.quote .who-text { display: flex; flex-direction: column; }
.quote .src { display: block; }
.dog-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--accent-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  margin-bottom: .7rem; padding: 0 1.1rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 0; font-weight: 800; font-size: 1.02rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent-strong); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: 0 0 1.05rem; color: var(--muted); }

/* ============================================================
   Contact + form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.contact-list a:hover { color: var(--accent-strong); }
.contact-list .sub { color: var(--muted); font-size: .88rem; font-weight: 600; }

form .field { margin-bottom: 1rem; }
form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: .75rem .85rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-sm);
}
form textarea { min-height: 130px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.req { color: var(--accent-strong); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--rule); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.foot-grid h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .8rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--accent-strong); }
.foot-bottom { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; }

/* ============================================================
   Reveal-on-scroll (progressive; safe with JS off)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   Cross-document View Transitions (progressive; no-ops where unsupported)
   ============================================================ */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .theme-controls, .hero-cta, .nav-cta, form, .site-footer .palette-pop { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .quote, .contact-card { box-shadow: none; border-color: #999; }
}

/* ============================================================
   Carly feedback v7 — brand colour, socials, events
   ============================================================ */
.center { text-align: center; }
.measure.center, .center.measure { margin-inline: auto; }

/* Brand-coloured service icon tiles (business-card palette) */
.card .ic--sky   { background: rgba(21,212,255,.16);  color: #0b7da0; }
.card .ic--green { background: rgba(113,173,64,.18);  color: #4f7d22; }
.card .ic--pink  { background: rgba(255,133,164,.22); color: #c2456a; }
:root[data-theme="dark"] .card .ic--sky   { background: rgba(21,212,255,.20);  color: #6fe0ff; }
:root[data-theme="dark"] .card .ic--green { background: rgba(113,173,64,.24);  color: #a8d97a; }
:root[data-theme="dark"] .card .ic--pink  { background: rgba(255,133,164,.24); color: #ffaec3; }

/* Soft brand-wash section (events) */
.section--brandtint {
  background:
    linear-gradient(135deg, rgba(21,212,255,.10), rgba(255,133,164,.08) 52%, rgba(113,173,64,.11)),
    var(--surface-2);
}
:root[data-theme="dark"] .section--brandtint {
  background:
    linear-gradient(135deg, rgba(21,212,255,.06), rgba(255,133,164,.05) 52%, rgba(113,173,64,.07)),
    var(--surface-2);
}

/* Upcoming classes & events */
.events { max-width: 720px; margin-inline: auto; display: grid; gap: 1rem; }
.event {
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid #15d4ff;
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
}
.event-date { display: inline-block; font: 600 .82rem/1 "Space Mono", monospace; letter-spacing: .04em;
  color: var(--accent-strong); text-transform: uppercase; margin-bottom: .4rem; }
.event h3 { margin: 0 0 .25rem; }
.event-empty {
  text-align: center; background: var(--surface); border: 1px dashed var(--rule);
  border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm);
}
.event-empty p { margin: 0 0 .6rem; color: var(--muted); }
.event-empty p strong { color: var(--ink, inherit); }

/* Social links (footer) */
.socials { display: flex; gap: .55rem; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
  border: 1px solid var(--rule); transition: transform .18s ease, background .18s ease, color .18s ease;
}
.socials a:hover { transform: translateY(-2px); }
.socials a:nth-child(1):hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.socials a:nth-child(2):hover { background: #e1306c; color: #fff; border-color: #e1306c; }
.socials a:nth-child(3):hover { background: #010101; color: #fff; border-color: #010101; }
.socials a:nth-child(4):hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.socials a svg { width: 20px; height: 20px; }

/* Rotating brand accents on testimonial dog-avatars */
.quote:nth-child(3n+1) .dog-avatar { border-color: #15d4ff; }
.quote:nth-child(3n+2) .dog-avatar { border-color: #71ad40; }
.quote:nth-child(3n)   .dog-avatar { border-color: #ff85a4; }

/* ============================================================
   Photo-background hero (homepage only — .hero--photo)
   Carly: photo as the background, colours pushed lower, compact on phone
   ============================================================ */
.hero--photo { background: #15211a; }
.hero--photo .hero-photo { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero--photo .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

/* dark scrim for text legibility (desktop: heavier on the left where the copy sits) */
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,28,21,.88) 0%, rgba(18,28,21,.68) 36%, rgba(18,28,21,.32) 62%, rgba(18,28,21,.08) 100%);
}

/* brand waves: a slim colour band dropped to the very bottom of the hero */
.hero--photo .hero-waves { height: clamp(70px, 11vw, 150px); aspect-ratio: auto; z-index: 2; }
.hero--photo .wrap { z-index: 3; }

/* light type over the photo */
.hero--photo .eyebrow { color: #dcebdb; }
.hero--photo h1 { color: #ffffff; }
.hero--photo h1 .accent { color: #93dcff; }
.hero--photo .lead { color: #eef4ee; }
.hero--photo .hero-meta { color: #d6e3d6; }
.hero--photo .hero-meta svg { color: #93dcff; }
.hero--photo .btn--ghost { color: #fff; border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); }
.hero--photo .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* MOBILE: photo-led, compact, pricing card hidden so it isn't so tall */
@media (max-width: 880px) {
  .hero--photo { padding-block: clamp(2rem, 7vw, 3.2rem) clamp(2.8rem, 12vw, 4.5rem); }
  .hero--photo .hero-card { display: none; }
  .hero--photo .hero-photo img { object-position: center 30%; }
  .hero--photo::before {
    background: linear-gradient(180deg, rgba(18,28,21,.32) 0%, rgba(18,28,21,.5) 38%, rgba(18,28,21,.84) 100%);
  }
}

/* hero--photo legibility refinements */
.hero--photo .eyebrow, .hero--photo h1, .hero--photo .lead, .hero--photo .hero-meta {
  text-shadow: 0 1px 14px rgba(10,16,12,.55), 0 1px 3px rgba(10,16,12,.4);
}
@media (max-width: 880px) {
  .hero--photo::before {
    background: linear-gradient(180deg, rgba(18,28,21,.46) 0%, rgba(18,28,21,.56) 40%, rgba(18,28,21,.85) 100%);
  }
}

/* ============================================================
   Carly email round 2 — horizontal-scroll gallery + larger review photos
   ============================================================ */
.gallery.gallery--scroll {
  display: flex;
  grid-template-columns: none;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .8rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
  scroll-padding-left: 2px;
}
.gallery.gallery--scroll .gallery-item {
  flex: 0 0 auto;
  width: min(380px, 82vw);
  scroll-snap-align: start;
  margin: 0;
}
.gallery.gallery--scroll::-webkit-scrollbar { height: 9px; }
.gallery.gallery--scroll::-webkit-scrollbar-track { background: transparent; }
.gallery.gallery--scroll::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 6px; }
.gallery.gallery--scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }
/* subtle hint that there's more to scroll */
.gallery-scroll-wrap { position: relative; }

/* #11 larger review/dog photos */
.quote .dog-avatar { width: 76px; height: 76px; border-width: 3px; }
@media (max-width: 560px){ .quote .dog-avatar { width: 64px; height: 64px; } }

/* ============================================================
   Carly email 3 — DARK NAVY theme (like lazyloon ~#16282f),
   horizontal NO-CROP gallery, wave divider (moved off the hero)
   ============================================================ */
:root, :root[data-theme="dark"] {
  --bg: #16282f;
  --surface: #20363f;
  --surface-2: #1b2f38;
  --ink: #eef4f5;
  --muted: #a7bdc3;
  --rule: #2c4651;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 36px rgba(0,0,0,.5);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.4);
  --accent: #5cc6a0;
  --accent-strong: #88e2bf;
  --accent-soft: #1d3a36;
  --accent-ink: #06231c;
}
:root[data-theme="dark"]{ --bg:#11212a; }
html, body { background: #16282f; }

/* keep the photo hero readable on navy: card is a touch lighter than bg */
.hero--photo .hero-card { background: #20363f; }

/* wave divider (the brand colour block, relocated below the hero) */
.wave-divider { line-height: 0; margin: 0; background: var(--bg); }
.wave-divider svg { width: 100%; height: clamp(52px, 9vw, 120px); display: block; }

/* horizontal NO-CROP gallery: full photos, uniform height, nothing cut off */
.gallery.gallery--nocrop .gallery-item { width: auto; background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.gallery.gallery--nocrop .gallery-item img {
  height: 440px; width: auto; max-width: none; aspect-ratio: auto; object-fit: contain;
  border-radius: var(--radius); border: 1px solid var(--rule); box-shadow: var(--shadow-sm); background: #0e1c22;
}
@media (max-width: 760px){ .gallery.gallery--nocrop .gallery-item img { height: 360px; } }
@media (max-width: 460px){ .gallery.gallery--nocrop .gallery-item img { height: 300px; } }
.gallery.gallery--nocrop .gallery-item:hover img { transform: none; }

/* ============================================================
   Carly email 4 — Dancing Script headline, straighter title f's,
   mobile eyebrow fix, horizontal reviews
   ============================================================ */
@font-face{font-family:'Dancing Script';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/dancing-script-700.woff2) format('woff2');}
@font-face{font-family:'Dancing Script';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/dancing-script-600.woff2) format('woff2');}

/* #2 hero headline in Dancing Script (kept large + bold for legibility) */
.hero--photo h1 {
  font-family: 'Dancing Script', var(--serif);
  font-weight: 700; line-height: 1.08; letter-spacing: .005em;
  font-size: clamp(3.2rem, 2rem + 8.5vw, 6.4rem);
}
.hero--photo h1 .accent { font-weight: 700; }

/* #10 straighter f's on the remaining (Fraunces) titles: low optical size + no ligatures */
h2, h3, .trust .num, .hero-card h3, .card h3, .contact-card h3 {
  font-variation-settings: "opsz" 22;
  font-feature-settings: "liga" 0, "dlig" 0, "calt" 0;
}

/* #1 mobile: keep the location eyebrow from clipping at the top */
@media (max-width: 600px){
  .eyebrow { letter-spacing: .09em; font-size: .64rem; overflow-wrap: anywhere; }
  .hero--photo .eyebrow { font-size: .62rem; letter-spacing: .07em; }
}

/* #7 reviews scroll horizontally (like the gallery) */
.quotes.quotes--scroll {
  display: flex; grid-template-columns: none; gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: .9rem; scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
}
.quotes.quotes--scroll .quote { flex: 0 0 auto; width: min(430px, 86vw); scroll-snap-align: start; }
.quotes.quotes--scroll::-webkit-scrollbar { height: 9px; }
.quotes.quotes--scroll::-webkit-scrollbar-track { background: transparent; }
.quotes.quotes--scroll::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 6px; }

/* ============================================================
   Carly email 5 — legible/clean titles with STRAIGHT letters
   (older-reader friendly): headline + all titles -> Nunito Sans,
   replacing the Dancing Script headline and the wonky-f Fraunces.
   (Brand wordmark stays Fraunces.)
   ============================================================ */
.hero--photo h1, h1, h2, h3,
.hero-card h3, .card h3, .contact-card h3, .trust .num {
  font-family: var(--sans);
  font-variation-settings: normal;
  font-feature-settings: normal;
}
.hero--photo h1 { font-weight: 800; letter-spacing: -.015em; line-height: 1.07; font-size: clamp(2.5rem, 1.7rem + 5vw, 4.4rem); }
h1 { font-weight: 800; letter-spacing: -.012em; }
h2 { font-weight: 800; letter-spacing: -.008em; }
h3 { font-weight: 800; }
.trust .num { font-weight: 800; }

/* Carly email 6 — editorial About: two photos nested into the bio text, side by side */
.about-editorial { max-width: 840px; margin-inline: auto; }
.about-photos {
  float: right; width: clamp(230px, 44%, 410px); margin: .3rem 0 1rem 1.8rem;
  display: flex; gap: .7rem;
}
.about-photos picture { flex: 1 1 0; min-width: 0; }
.about-photos img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
.about-editorial .creds { clear: both; }
@media (max-width: 640px){
  .about-photos { float: none; width: 100%; margin: 1rem 0 1.4rem; }
}

/* Carly email 7 — magazine spread: one bio photo on each side, text flows between */
.about-photo { width: clamp(190px, 32%, 290px); margin-bottom: 1.1rem; }
.about-photo img { width:100%; height:auto; display:block; border-radius: var(--radius); border:1px solid var(--rule); box-shadow: var(--shadow-sm); }
.about-photo--left  { float: left;  margin: .3rem 1.9rem 1.1rem 0; }
.about-photo--right { float: right; margin: .3rem 0 1.1rem 1.9rem; }
.about-photo--lead { width: clamp(250px, 40%, 360px); }
.about-photo--big { width: clamp(240px, 38%, 340px); }
.about-editorial .creds { clear: both; }
@media (max-width: 640px){
  .about-photo--left, .about-photo--right { float: none; width: 100%; margin: 1rem 0 1.2rem; }
}


/* ---- Carousel scroll affordance (email8) ---- */
.gallery--scroll, .quotes--scroll {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 44px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 44px), transparent 100%);
  scroll-behavior: auto;
}
.scroll-cue {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin: -1.2rem 0 1.4rem; font: 700 .76rem/1 var(--sans);
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue span { position: relative; padding-right: 1.6rem; }
.scroll-cue span::after {
  content: "\2192"; position: absolute; right: 0; top: 50%;
  font-size: 1.05rem; line-height: 0; color: var(--accent-strong);
  animation: cueNudge 1.5s ease-in-out infinite;
}
@keyframes cueNudge { 0%,100%{ transform: translate(0,-50%); opacity:.55 } 50%{ transform: translate(5px,-50%); opacity:1 } }
@media (prefers-reduced-motion: reduce){ .scroll-cue span::after { animation: none } }


/* Contact form result states (analytics/forms backend) */
.form-success{background:rgba(95,175,123,.12);border:1px solid var(--accent,#7bb390);border-radius:var(--radius,14px);padding:1.1rem 1.2rem;line-height:1.5}
.form-success strong{color:var(--accent-strong,#cfe6d7)}
.form-err{color:#e08b7a;margin-top:.7rem;font-size:.92rem}
