/* ==========================================================================
   Waggy Wonderland — cute, fun, light
   Palette is the original site's: cream ground, olive-brown text,
   heath green accent, a dash of cherry red. Rounded type, soft blobs,
   wavy edges, bouncy hovers. Pure HTML + CSS: page transitions and
   scroll reveals use the CSS View Transitions and scroll-timeline APIs,
   which quietly no-op in browsers that lack them.
   ========================================================================== */

/* self-hosted variable fonts, Latin subset (preloaded in each page's <head>) */
@font-face{
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fredoka-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  color-scheme: light;

  /* original brand colours (SITE_CONTENT.md) */
  --cream:        #FEFAF0;
  --olive:        #403F2B;
  --olive-soft:   #6B6957; /* original #706E5C, darkened a touch to pass AA on the sand panels */
  --green:        #426A3D;
  --cherry:       #df3131;
  --grey:         #8F8F8F;

  /* tints derived from the originals */
  --cream-deep:   #F5EEDD;
  --white:        #FFFDF8;
  --green-deep:   #345530;
  --green-tint:   #E4EEE1;
  --green-mid:    #9BBF96;
  --cherry-tint:  #FCE3E0;
  --line:         rgba(64,63,43,0.12);

  --shadow-soft:  0 2px 10px rgba(64,63,43,0.08);
  --shadow-lift:  0 16px 34px -18px rgba(64,63,43,0.35);
  --shadow-green: 0 12px 28px -14px rgba(66,106,61,0.55);

  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 14px;
  --radius:    24px;
  --radius-lg: 36px;
  --bounce: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

/* registered so the scroll-driven header shrink animates smoothly */
@property --header-h{ syntax: '<length>'; inherits: true; initial-value: 88px; }

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body{
  margin: 0;
  background: var(--cream);
  color: var(--olive);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
button, input, textarea{ font-family: inherit; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.45em;
  text-wrap: balance;
  color: var(--olive);
}
h1{ font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2{ font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3{ font-size: clamp(1.25rem, 2vw, 1.5rem); }
p{ margin: 0 0 1em; max-width: 62ch; }
.lede{ font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--olive-soft); max-width: 50ch; }

:focus-visible{ outline: 3px solid var(--green-mid); outline-offset: 3px; border-radius: 6px; }
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container{ width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section{ padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight{ padding-block: clamp(2rem, 5vw, 3.5rem); }
.center{ text-align: center; }
.center p{ margin-inline: auto; }
.center .eyebrow{ justify-content: center; }
.mt-0{ margin-top: 0 !important; }

/* ---------- smooth page transitions (multi-page, CSS only) ---------- */
@view-transition{ navigation: auto; }
/* a quick crossfade; header and footer stay put */
::view-transition-old(root){ animation: 0.12s ease-out both fade-out; }
::view-transition-new(root){ animation: 0.16s ease-in both fade-in; }
.site-header{ view-transition-name: site-header; }
.site-footer{ view-transition-name: site-footer; }

/* ---------- gentle scroll reveals (CSS scroll-timeline, no JS) ---------- */
@supports (animation-timeline: view()){
  .rise{
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  @keyframes rise{
    from{ opacity: 0; transform: translateY(26px); }
    to{ opacity: 1; transform: none; }
  }
}

/* Reduced motion: nothing slides, bounces, drifts or flips, but colour and
   shadow feedback stay, and the hero entrance becomes a plain fade. */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation: none !important; }
  .btn:hover, .btn:active, .card:hover, .card:hover .card__photo img,
  .nav__links a:hover, a.contact-card:hover, .footer-social a:hover{ transform: none; }
  .plan__inner{ transition: none; }
  .hero__title .w, .hero .eyebrow, .hero .lede, .hero__actions .btn,
  .hero__facts .chip, .hero__photo img{ animation: fade-in 0.6s ease both !important; }
}
@keyframes fade-in{ from{ opacity: 0; } }
@keyframes fade-out{ to{ opacity: 0; } }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  margin: 0 0 0.6rem;
}
.eyebrow::before{
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.45s var(--bounce), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}
.btn:hover{ transform: translateY(-3px) scale(1.02); }
.btn:active{ transform: translateY(0) scale(0.98); }
.btn-primary{ background: var(--green); color: var(--cream); box-shadow: var(--shadow-green); }
.btn-primary:hover{ background: var(--green-deep); }
.btn-secondary{ background: var(--white); color: var(--green); border-color: var(--green); }
.btn-secondary:hover{ background: var(--green-tint); }
.btn-cherry{ background: var(--cherry); color: #fff; box-shadow: 0 12px 28px -14px rgba(223,49,49,0.55); }
.btn-cherry:hover{ background: #c92a2a; }

.chip{
  display: inline-block;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.4;
}
.chip--cherry{ background: var(--cherry-tint); color: #b32222; }

/* ---------- header (big, sticky, shrinks on scroll) ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
}
@supports (animation-timeline: scroll()){
  .site-header{
    animation: header-shrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  @keyframes header-shrink{
    to{
      background: rgba(254,250,240,0.92);
      box-shadow: 0 8px 30px -18px rgba(64,63,43,0.35);
      border-bottom-color: var(--line);
      --header-h: 70px;
    }
  }
}
.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand{
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand__mark{
  flex: none;
  width: 54px; height: 54px;
  padding: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--shadow-green);
  transition: transform 0.6s var(--bounce);
  transform-origin: 50% 90%;
}
.brand__mark img{ width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand__mark{ animation: wag 0.7s var(--ease) 1; }
@keyframes wag{
  0%{ transform: rotate(0); }
  25%{ transform: rotate(-12deg); }
  50%{ transform: rotate(10deg); }
  75%{ transform: rotate(-6deg); }
  100%{ transform: rotate(0); }
}
.brand__word{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--olive);
}
.brand__tagline{
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.3em;
}

.nav{ display: flex; align-items: center; gap: 1rem; }
.nav__links{
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
.nav__links a{
  display: inline-block;
  padding: 0.6em 1em;
  border-radius: 999px;
  text-decoration: none;
  color: var(--olive-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.4s var(--bounce);
}
.nav__links a:hover{ background: var(--green-tint); color: var(--green); transform: translateY(-2px); }
.nav__links a[aria-current="page"]{ background: var(--green); color: var(--cream); }
.nav__links .btn-primary{ color: var(--cream); }
.nav__links .btn-primary:hover{ background: var(--green-deep); color: var(--cream); }
.nav__cta{ margin-left: 0.5rem; }

.nav__toggle-input{ position: absolute; opacity: 0; pointer-events: none; visibility: hidden; }
.nav__toggle-input:focus-visible ~ .nav__toggle{ outline: 3px solid var(--green-mid); outline-offset: 3px; }
.nav__toggle{
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-tint);
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after{
  content: '';
  position: absolute;
  left: 14px;
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: var(--green);
  transition: transform 0.35s var(--ease), opacity 0.2s ease, top 0.35s var(--ease);
}
.nav__toggle span{ top: 23px; }
.nav__toggle span::before{ left: 0; top: -7px; }
.nav__toggle span::after{ left: 0; top: 7px; }

@media (max-width: 900px){
  :root{ --header-h: 74px; }
  .brand__mark{ width: 46px; height: 46px; padding: 6px; }
  .brand__word{ font-size: 1.25rem; }
  .nav__cta, .nav__links{ display: none; }
  .nav__toggle{ display: block; }
  .nav__toggle-input{ visibility: visible; }
  .nav__toggle-input:checked ~ .nav__toggle span{ background: transparent; }
  .nav__toggle-input:checked ~ .nav__toggle span::before{ top: 0; transform: rotate(45deg); }
  .nav__toggle-input:checked ~ .nav__toggle span::after{ top: 0; transform: rotate(-45deg); }
  .nav__toggle-input:checked ~ .nav__links{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(64,63,43,0.35);
    gap: 0.25rem;
    font-size: 1.15rem;
    animation: menu-drop 0.4s var(--ease) both;
  }
  .nav__toggle-input:checked ~ .nav__links a{ padding: 0.8em 1.1em; }
  .nav__toggle-input:checked ~ .nav__links .nav__cta-mobile{ display: block; margin-top: 0.5rem; }
  @keyframes menu-drop{ from{ opacity: 0; transform: translateY(-8px); } }
}
.nav__cta-mobile{ display: none; }
.nav__cta-mobile .btn{ width: 100%; }
@media (max-width: 380px){ .brand__tagline{ display: none; } }

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem);
  overflow: clip;
}
.hero__blob{
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__blob--1{ width: 420px; height: 420px; background: var(--green-tint); top: -160px; right: -120px; animation: float 9s ease-in-out infinite; }
.hero__blob--2{ width: 220px; height: 220px; background: var(--cherry-tint); bottom: -80px; left: -70px; animation: float 11s ease-in-out infinite reverse; }
@keyframes float{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(14px, -18px); }
}
.hero__grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 .hero__accent{ color: var(--green); }
.hero__actions{ display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero__facts{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.hero__photo-wrap{ position: relative; justify-self: center; width: min(100%, 480px); }
.hero__photo{
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  box-shadow: var(--shadow-lift);
  animation: blob 12s ease-in-out infinite;
}
.hero__photo img{ width: 100%; height: 100%; object-fit: cover; }
@keyframes blob{
  0%,100%{ border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
  50%{ border-radius: 45% 55% 42% 58% / 55% 45% 58% 45%; }
}
.sticker{
  position: absolute;
  right: -6px; bottom: 14px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--cherry);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.15;
  box-shadow: 0 14px 30px -14px rgba(223,49,49,0.6);
  transform: rotate(-8deg);
  animation: sway 6s ease-in-out infinite;
}
@keyframes sway{
  0%,100%{ transform: rotate(-8deg); }
  50%{ transform: rotate(2deg) translateY(-4px); }
}

@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__photo-wrap{ width: min(100%, 360px); }
  .hero__blob--1{ width: 260px; height: 260px; top: -110px; right: -90px; }
}
@media (max-width: 480px){
  .hero__actions .btn{ flex: 1 1 100%; }
  .sticker{ width: 108px; height: 108px; font-size: 0.85rem; right: 0; }
}

/* ---------- wavy section edges ---------- */
.wave{
  display: block;
  width: 100%;
  height: clamp(28px, 5vw, 60px);
}
.wave--flip{ transform: scaleY(-1); }
.wave--sand{ background: var(--cream-deep); }
.section--sand{ background: var(--cream-deep); }
.section--green{ background: var(--green); color: var(--cream); }
.section--green h2, .section--green h3, .section--green .eyebrow{ color: var(--cream); }
.section--green .eyebrow::before{ background: var(--green-mid); }
.section--green .lede{ color: rgba(254,250,240,0.85); }

/* ---------- section head ---------- */
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.section-head p{ margin: 0; }

/* ---------- service cards ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--bounce), box-shadow 0.4s var(--ease);
}
.card:hover{ transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lift); }
.card__photo{ aspect-ratio: 5/4; overflow: hidden; }
.card__photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__photo img{ transform: scale(1.06); }
.card__body{ padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3{ margin-bottom: 0.2em; }
.card__price{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--green);
  margin: 0 0 0.6em;
}
.card__price small{ font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: var(--olive-soft); }
.card ul{ display: grid; gap: 0.4em; margin-bottom: 1.2rem; }
.card li{ font-size: 0.95rem; color: var(--olive-soft); padding-left: 1.4em; position: relative; }
.card li::before{
  content: '\2713';
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}
.card .btn{ margin-top: auto; }

/* ---------- value rows ---------- */
.value-list{ display: grid; gap: 1.4rem; }
.value-row{ display: flex; gap: 1rem; align-items: flex-start; }
.value-row__icon{
  flex: none;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--green-tint);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.value-row h3{ margin-bottom: 0.2em; font-size: 1.2rem; }
.value-row p{ margin: 0; color: var(--olive-soft); font-size: 0.98rem; }

/* ---------- About: mission / promise / community ---------- */
.value-card__title{
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.5em;
}
.value-card__title svg{
  flex: none;
  width: 1.15em; height: 1.15em;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card__text{ color: var(--olive-soft); margin: 0; }

/* ---------- two-column split ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__photo{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/3;
}
.split__photo img{ width: 100%; height: 100%; object-fit: cover; }
.split--flip .split__photo{ order: -1; }
/* stand-in for a photo still to come; grep "PLACEHOLDER" in the HTML before launch */
.photo-placeholder{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background: var(--cream-deep);
  border: 2px dashed var(--green-mid);
  box-shadow: none;
  color: var(--olive);
  text-align: center;
  font-size: 0.92rem;
}
.photo-placeholder strong{ font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.photo-placeholder p{ margin: 0; max-width: 36ch; }
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .split--flip .split__photo{ order: 0; }
}

/* ---------- pricing flip cards (checkbox-driven, no JS) ---------- */
.plan-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.plan{ perspective: 1400px; height: 300px; position: relative; }
.plan__toggle{ position: absolute; opacity: 0; pointer-events: none; }
.plan__inner{
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease);
}
.plan__flip{
  position: absolute; inset: 0;
  z-index: 1;
  border-radius: var(--radius);
  cursor: pointer;
}
.plan__toggle:focus-visible ~ .plan__flip{ outline: 3px solid var(--green); outline-offset: 4px; }
.plan__toggle:checked ~ .plan__inner{ transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine){
  .plan:hover .plan__toggle:not(:checked) ~ .plan__inner{ transform: rotateY(180deg); }
}
.plan__face{
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lift);
}
.plan__front{
  background: var(--green);
  color: var(--cream);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.plan__front .chip{ background: rgba(254,250,240,0.18); color: var(--cream); }
.plan__name{ font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.65; color: inherit; margin: 0.7em 0 0.1em; }
.plan__amount{ font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; margin: 0; line-height: 1; }
.plan__amount--soon{ font-size: 1.9rem; }
.plan__unit{ font-weight: 700; font-size: 0.85rem; opacity: 0.85; margin: 0.4em 0 0; }
.plan__hint{ margin-top: auto; font-size: 0.78rem; font-weight: 700; opacity: 0.75; }
.plan__back{ background: var(--white); transform: rotateY(180deg); }
.plan__back-title{ font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; margin: 0 0 0.6em; }
.plan__back ul{ display: grid; gap: 0.5em; font-size: 0.95rem; color: var(--olive-soft); }
.plan__back li{ padding-left: 1.4em; position: relative; }
.plan__back li::before{ content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ---------- testimonial ---------- */
.quote{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 64ch;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
  position: relative;
  text-align: center;
}
.quote::before{
  content: '\201C';
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cherry);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.35;
}
.quote blockquote{
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}
.quote cite{ font-style: normal; font-weight: 700; color: var(--olive-soft); font-size: 0.95rem; }

/* ---------- CTA panel ---------- */
.cta{
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--cream);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::after{
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(254,250,240,0.08);
  right: -80px; top: -110px;
}
.cta h2{ color: var(--cream); margin: 0; max-width: 22ch; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta .btn{ position: relative; z-index: 1; }
.cta .btn-primary{ background: var(--cream); color: var(--green); box-shadow: none; }
.cta .btn-primary:hover{ background: #fff; }

/* ---------- gallery strip ---------- */
.gallery{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery img{
  width: 100%; height: 250px; object-fit: cover;
  border-radius: var(--radius);
  scroll-snap-align: start;
}

/* ---------- policies ---------- */
.policy-list{ display: grid; gap: 0.9rem; }
.policy-list li{
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--olive-soft);
  font-size: 0.97rem;
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.policy-list strong{ color: var(--olive); }

/* ---------- neighbourhood chips ---------- */
.chips{ display: flex; flex-wrap: wrap; gap: 0.55rem; }

/* ---------- contact ---------- */
.contact{ max-width: 860px; }
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 700px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-card{
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--bounce), box-shadow 0.35s var(--ease);
  min-height: 72px;
}
a.contact-card:hover{ transform: translateX(4px); box-shadow: var(--shadow-lift); }
.contact-card__icon{
  flex: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.contact-card__icon svg{ width: 20px; height: 20px; }
.contact-card__label{ display: block; font-size: 0.8rem; font-weight: 700; color: var(--olive-soft); }
.contact-card__value{ display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--olive); overflow-wrap: anywhere; }

.hours{ width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.hours td{ padding: 0.55em 0; border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.hours td:last-child{ text-align: right; font-weight: 700; color: var(--green); }

.contact__note{ margin-top: 1.5rem; font-size: 0.9rem; color: var(--olive-soft); }

/* ---------- plain text pages (privacy notice) ---------- */
.prose{ max-width: 720px; }
.prose h2{ font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.2rem 0 0.6rem; }
.prose ul{ display: grid; gap: 0.5em; margin: 0 0 1.2em; max-width: 62ch; }
.prose li{ padding-left: 1.4em; position: relative; }
.prose li::before{ content: ''; position: absolute; left: 0.3em; top: 0.65em; width: 0.4em; height: 0.4em; border-radius: 50%; background: var(--green); }
.prose__updated{ margin-top: 2.5rem; font-size: 0.9rem; color: var(--olive-soft); }

/* ---------- 404 ---------- */
.not-found__actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.8rem; }
.not-found__links{ margin-top: 1.8rem; color: var(--olive-soft); }

/* ---------- footer (green, readable) ---------- */
.site-footer{
  background: var(--green);
  color: var(--cream);
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.site-footer a{ text-decoration: none; color: var(--cream); }
.site-footer a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
@media (max-width: 820px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer .brand__mark{ background: var(--cream); box-shadow: none; }
.site-footer .brand__mark img{ filter: brightness(0) saturate(100%) invert(36%) sepia(21%) saturate(704%) hue-rotate(72deg) brightness(93%) contrast(89%); }
.site-footer .brand__word{ color: var(--cream); }
.site-footer .brand__tagline{ color: var(--green-mid); }
/* h2 for a sound outline; styled as small caps labels */
.site-footer h2{
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.9rem;
}
.site-footer p, .site-footer li{ color: rgba(254,250,240,0.92); font-size: 0.97rem; }
.site-footer ul{ display: grid; gap: 0.55em; }
.footer-social{ display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer-social a{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(254,250,240,0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.25s ease, transform 0.4s var(--bounce);
}
.footer-social a:hover{ background: rgba(254,250,240,0.28); transform: translateY(-3px); text-decoration: none; }
.footer-social svg{ width: 18px; height: 18px; }
.footer-bottom{
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(254,250,240,0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(254,250,240,0.8);
}

/* ==========================================================================
   Home page motion (index.html only)
   B. Warm welcome: the hero choreographs in once on load, plus a drifting
      ribbon of neighbourhoods.
   C. Service cards: photos drift on desktop; on phones the cards become a
      swipeable row with the centred card in focus.
   Everything is CSS. The global reduced-motion rule above switches it all
   off, leaving the finished, static page.
   ========================================================================== */

:root{
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
@supports (animation-timing-function: linear(0, 1)){
  :root{
    --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
  }
}

::selection{ background: var(--green-tint); color: var(--green-deep); }

.sprite{ position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- B. warm welcome ---------- */
.hero__title .w{
  display: inline-block;
  animation: word-in 0.9s var(--expo) backwards;
  animation-delay: calc(120ms + var(--i) * 60ms);
}
@keyframes word-in{
  from{ opacity: 0; translate: 0 0.5em; rotate: -5deg; filter: blur(6px); }
}
.hero .eyebrow{ animation: soft-in 0.8s var(--expo) backwards; }
.hero .lede{ animation: soft-in 0.9s var(--expo) 0.55s backwards; }
.hero__actions .btn{ animation: soft-in 0.8s var(--expo) backwards; }
.hero__actions .btn:nth-child(1){ animation-delay: 0.7s; }
.hero__actions .btn:nth-child(2){ animation-delay: 0.8s; }
.hero__facts .chip{
  animation: chip-in 0.7s var(--spring) backwards;
  animation-delay: calc(0.95s + var(--i) * 80ms);
}
@keyframes soft-in{
  from{ opacity: 0; translate: 0 14px; filter: blur(4px); }
}
@keyframes chip-in{
  from{ opacity: 0; scale: 0.6; translate: 0 10px; }
}

/* the photo opens out of a paw print stamped at its corner */
.hero__photo img{ animation: photo-open 1.1s var(--expo) 0.5s backwards; }
@keyframes photo-open{
  from{ clip-path: circle(0% at 16% 86%); scale: 1.12; }
  to{ clip-path: circle(75% at 50% 50%); scale: 1; }
}
.hero__photo{ animation: shadow-in 0.8s ease 1s backwards, blob 12s ease-in-out infinite; }
@keyframes shadow-in{
  from{ box-shadow: 0 16px 34px -18px rgba(64,63,43,0); }
}
.hero__paw{
  position: absolute;
  left: 6%; bottom: 7%;
  width: clamp(44px, 12%, 60px); height: clamp(44px, 12%, 60px);
  fill: var(--green);
  opacity: 0;
  pointer-events: none;
  animation: paw-stamp 0.95s var(--expo) 0.18s both;
}
@keyframes paw-stamp{
  0%{ opacity: 0; scale: 1.9; rotate: -30deg; }
  30%{ opacity: 1; scale: 1; rotate: -14deg; }
  70%{ opacity: 1; scale: 1; rotate: -14deg; }
  100%{ opacity: 0; scale: 0.8; rotate: -14deg; }
}
.hero .sticker{ animation: sticker-pop 0.9s var(--spring) 1.2s backwards, sway 6s ease-in-out 2.1s infinite; }
@keyframes sticker-pop{
  from{ transform: scale(0) rotate(-45deg); }
  to{ transform: rotate(-8deg); }
}

/* ribbon of neighbourhoods */
.areas{
  position: relative;
  z-index: 2;
  overflow-x: clip;
  overflow-y: visible;
  margin-top: clamp(-2.5rem, -3vw, -1rem);
  margin-bottom: clamp(-1.6rem, -2vw, -0.8rem);
  pointer-events: none;
}
.areas__ribbon{
  width: 112%;
  margin-left: -6%;
  padding-block: clamp(0.7rem, 1.4vw, 1rem);
  background: var(--green);
  color: var(--cream);
  rotate: -1.8deg;
  box-shadow: 0 14px 30px -16px rgba(52,85,48,0.6);
  overflow: hidden;
  pointer-events: auto;
}
.areas__track{
  display: flex;
  width: max-content;
  animation: areas-drift 42s linear infinite;
}
.areas__ribbon:hover .areas__track{ animation-play-state: paused; }
@keyframes areas-drift{ to{ translate: -50% 0; } }
.areas__list{
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.2;
  white-space: nowrap;
}
.areas__list li{ display: flex; align-items: center; }
.areas__list li::after{
  content: '';
  width: 1em; height: 1em;
  margin-inline: 1.1em;
  background: var(--green-mid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12.2c-2.9 0-6.2 3.5-6.2 6 0 1.6 1.3 2.6 2.9 2.6 1.3 0 2.2-.7 3.3-.7s2 .7 3.3.7c1.6 0 2.9-1 2.9-2.6 0-2.5-3.3-6-6.2-6z'/%3E%3Cellipse cx='5.2' cy='10.6' rx='2' ry='2.6' transform='rotate(-22 5.2 10.6)'/%3E%3Cellipse cx='9.2' cy='5.8' rx='2.1' ry='2.8' transform='rotate(-8 9.2 5.8)'/%3E%3Cellipse cx='14.8' cy='5.8' rx='2.1' ry='2.8' transform='rotate(8 14.8 5.8)'/%3E%3Cellipse cx='18.8' cy='10.6' rx='2' ry='2.6' transform='rotate(22 18.8 10.6)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12.2c-2.9 0-6.2 3.5-6.2 6 0 1.6 1.3 2.6 2.9 2.6 1.3 0 2.2-.7 3.3-.7s2 .7 3.3.7c1.6 0 2.9-1 2.9-2.6 0-2.5-3.3-6-6.2-6z'/%3E%3Cellipse cx='5.2' cy='10.6' rx='2' ry='2.6' transform='rotate(-22 5.2 10.6)'/%3E%3Cellipse cx='9.2' cy='5.8' rx='2.1' ry='2.8' transform='rotate(-8 9.2 5.8)'/%3E%3Cellipse cx='14.8' cy='5.8' rx='2.1' ry='2.8' transform='rotate(8 14.8 5.8)'/%3E%3Cellipse cx='18.8' cy='10.6' rx='2' ry='2.6' transform='rotate(22 18.8 10.6)'/%3E%3C/svg%3E") center / contain no-repeat;
  rotate: 90deg;
}

/* ---------- C. service cards ---------- */
.swipe-hint{ display: none; }

@media (min-width: 700px) and (prefers-reduced-motion: no-preference){
  @supports (animation-timeline: view()){
    .card-grid--swipe .card__photo img{
      scale: 1.14;
      animation: photo-drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    @keyframes photo-drift{
      from{ translate: 0 -6%; }
      to{ translate: 0 6%; }
    }
  }
}

@media (max-width: 699px){
  .card-grid--swipe{
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 300px);
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    margin-inline: -1.25rem;
    padding: 0.5rem 1.25rem 1.25rem;
    scrollbar-width: none;
  }
  .card-grid--swipe::-webkit-scrollbar{ display: none; }
  .card-grid--swipe:focus-visible{ outline-offset: -3px; }
  .card-grid--swipe > .card{ scroll-snap-align: start; }
  .card-grid--swipe > .card:hover{ transform: none; }
  @supports (animation-timeline: view(inline)){
    .card-grid--swipe > .card{
      animation: card-focus linear both;
      animation-timeline: view(inline);
      animation-range: cover;
    }
    @keyframes card-focus{
      0%{ scale: 0.9; opacity: 0.7; }
      30%, 70%{ scale: 1; opacity: 1; }
      100%{ scale: 0.9; opacity: 0.7; }
    }
  }
  .swipe-hint{
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0.2rem 0 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--green);
  }
  .swipe-hint svg{ width: 1.1em; height: 1.1em; fill: currentColor; rotate: 90deg; animation: hint-nudge 1.8s var(--expo) infinite; }
  @keyframes hint-nudge{
    0%, 55%{ translate: 0 0; }
    25%{ translate: 5px 0; }
  }
}
