/* CLIP & WAG approved design system, built on Template Zero tokens.
   Brand values come from tokens.css (generated from config.js); this
   file carries the approved visual system: warm ivory base, vivid
   orange actions, sage and peach pastels, rounded display type, and
   the decorative layer (blobs, paws, bubbles, hearts, dotted trails,
   scalloped footer). Decor images live in assets/ under stable names
   so supplied final vectors can replace them one for one.
   Mobile-first: unprefixed rules are the phone layout. */

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; }

:root {
  /* Approved palette beyond the core tokens. --orange-bright is for
     large display type and decor only (AA large); --accent handles
     buttons and body links (AA normal). */
  --orange-bright: #EA580C;
  --sage: #CFE0C6;
  --sage-soft: #E9F1E4;
  --peach: #FBDDC4;
  --apricot: #F5C69B;
  --cream: #FAF0DC;
  --shadow-soft: 0 1px 2px rgba(59, 42, 31, 0.06), 0 8px 24px rgba(59, 42, 31, 0.08);
  --shadow-lift: 0 2px 4px rgba(59, 42, 31, 0.08), 0 14px 32px rgba(59, 42, 31, 0.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 0.2em; transition: color 0.15s ease; }
a:hover { color: var(--orange-bright); }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; position: relative; }

/* Decorative layer: every .decor is aria-hidden presentation only */
.decor { position: absolute; pointer-events: none; user-select: none; }
.paw-bg { width: 340px; opacity: 0.05; transform: rotate(-18deg); }
.heart { width: 44px; }
.doodle { width: 40px; }

/* Header: spacious, cream, lightweight */
header { background: rgba(255, 252, 244, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.logo:hover { color: var(--ink); }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: 0.01em; display: inline-flex; align-items: baseline; }
.logo-and { font-size: 0.72em; font-weight: 700; margin: 0 0.18em; color: var(--muted); }
.logo-paw { width: 0.62em; margin-left: 0.22em; align-self: flex-start; transform: rotate(14deg); }
.logo-sub { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 0.28rem; }
nav { display: none; }
nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--rule); padding: 0.5rem 1.25rem 1rem; gap: 0; box-shadow: var(--shadow-soft); }
nav a { display: block; padding: 0.8rem 0; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; border-bottom: 1px solid var(--rule); position: relative; }
nav a:hover { color: var(--accent); }
nav a:last-child { border-bottom: 0; }
nav a.active { color: var(--accent); }
.cta-paw { width: 0.9em; margin-right: 0.45em; filter: brightness(0) invert(1); vertical-align: -0.08em; }
nav a.nav-cta { background: var(--accent); color: var(--accent-ink); text-align: center; border-radius: 999px; padding: 0.8rem 1.2rem; margin-top: 0.5rem; border-bottom: 0; display: inline-flex; align-items: center; justify-content: center; }
nav a.nav-cta:hover { background: var(--orange-bright); color: var(--accent-ink); }
.menu-btn { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 0.98rem; padding: 0.9rem 1.7rem; border-radius: 999px; box-shadow: 0 2px 6px rgba(194, 65, 12, 0.25); transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { background: var(--orange-bright); color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(194, 65, 12, 0.3); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.text-link { font-weight: 700; }

/* Type helpers */
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.kicker::before { content: ""; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--orange-bright); flex: none; }
.display { font-weight: 800; font-size: clamp(2.3rem, 6.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.015em; }
.display .tone, .display-sm .tone { color: var(--orange-bright); }
.display-sm { font-weight: 800; font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem; }
.lede { color: var(--muted); max-width: 56ch; margin-bottom: 1.75rem; }
.sec-head { text-align: center; margin-bottom: 2.25rem; }
.sec-head .lede { margin-left: auto; margin-right: auto; }
.kicker.k-center { justify-content: center; }
.kicker.k-center::after { content: ""; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--orange-bright); flex: none; }

/* Sections */
section { padding: 3.25rem 0; position: relative; }
section.band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Hero */
.hero { padding: 3rem 0 3.5rem; position: relative; overflow: hidden; }
.hero-pawbg { top: -60px; right: -80px; }
.hero-grid { display: grid; gap: 2.5rem; }
.hero-copy p { margin-top: 1.2rem; font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.trust { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.8rem; }
.trust p { font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.avatars { display: flex; }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--surface); display: inline-flex; align-items: center; justify-content: center; }
.avatar img { width: 18px; opacity: 0.7; }
.avatar.avatar-photo { overflow: hidden; background: var(--sage-soft); }
.avatar.avatar-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.avatar + .avatar { margin-left: -12px; }
.av-sage { background: var(--sage); }
.av-peach { background: var(--peach); }
.av-apricot { background: var(--apricot); }

.hero-art { position: relative; min-height: 340px; }
.blob { width: 88%; }
.blob-back { top: 0; left: 0; transform: rotate(16deg); }
.blob-front { top: 10%; left: 14%; transform: rotate(-8deg); opacity: 0.92; }
.hero-dog-img { position: absolute; bottom: 2%; left: 50%; transform: translateX(-52%); width: min(62%, 330px); height: auto; filter: drop-shadow(0 20px 32px rgba(59, 42, 31, 0.28)); z-index: 2; }
.bubbles { width: 120px; top: 16%; right: -10px; }
.hero-heart { top: 4%; left: -6px; transform: rotate(-14deg); }
.hero-doodle { bottom: 8%; right: -4px; }
.badge { position: absolute; width: clamp(110px, 22vw, 150px); left: -8px; bottom: -12px; transform: rotate(-10deg); filter: drop-shadow(0 6px 14px rgba(59, 42, 31, 0.15)); }

/* Photo placeholders: swapped for supplied photography at content time */
.photo-ph { background: var(--sage-soft); border: 1.5px dashed var(--sage); border-radius: var(--radius); color: var(--muted); font-size: 0.88rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; justify-content: center; text-align: center; padding: 1.25rem; min-height: 200px; }
.photo-ph::before { content: "\1F43E"; font-size: 1.4rem; opacity: 0.55; }
img.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* Service cards: editorial and photographic */
.cards { display: grid; gap: 1.25rem; }
.card, .service-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover, .service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
section.band .card { background: var(--bg); }
.service-card { padding-top: 0; overflow: visible; }
.card-photo { margin: 0 -1.5rem 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--sage-soft); min-height: 210px; display: flex; align-items: flex-end; justify-content: center; padding: 1.1rem 1.1rem 0; overflow: hidden; }
.card-photo img { max-height: 195px; width: auto; max-width: 90%; object-fit: contain; }
.service-cards .service-card:nth-child(2) .card-photo { background: #FCEAD9; }
.service-cards .service-card:nth-child(3) .card-photo { background: var(--cream); }
.icon-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); display: inline-flex; align-items: center; justify-content: center; margin-top: -32px; position: relative; border: 3px solid var(--surface); }
.service-cards .service-card:nth-child(2) .icon-dot { background: var(--peach); }
.service-cards .service-card:nth-child(3) .icon-dot { background: var(--apricot); }
.card h3, .service-card h3 { font-size: 1.35rem; margin-top: 0.6rem; }
.card .price, .service-card .price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--accent); margin: 0.3rem 0 0.1rem; }
.card .meta, .service-card .meta { font-size: 0.85rem; color: var(--muted); }
.card p, .service-card p { margin: 0.5rem 0 0.75rem; font-size: 0.98rem; }

/* How it works */
.how-panel { background: var(--cream); border-radius: 32px; padding: 2.5rem 1.5rem; }
.steps { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.step { text-align: center; max-width: 260px; }
.step .icon-dot { margin-top: 0; border-color: var(--cream); }
.dot-sage { background: var(--sage); }
.dot-peach { background: var(--peach); }
.dot-apricot { background: var(--apricot); }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--accent); margin-top: 0.7rem; }
.step h3 { font-size: 1.25rem; margin-top: 0.1rem; }
.step p { font-size: 0.95rem; color: var(--muted); margin-top: 0.25rem; }
.step-arrow { width: 96px; transform: rotate(90deg); }
.step-arrow.flip { transform: rotate(90deg) scaleY(-1); }
.promo { margin-top: 2.5rem; border-top: 2px dashed rgba(59, 42, 31, 0.15); padding-top: 2.25rem; display: grid; gap: 1.75rem; align-items: center; }
.promo-copy p { color: var(--muted); margin: 0.5rem 0 1.25rem; max-width: 44ch; }
.promo-art { position: relative; min-height: 240px; }
.blob-promo { width: 92%; top: 0; left: 4%; transform: rotate(10deg); }
.promo-dog-img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 92%; width: auto; filter: drop-shadow(0 14px 24px rgba(59, 42, 31, 0.22)); z-index: 2; }

/* Benefits: light, spacious, no heavy cards */
.benefit-grid { list-style: none; display: grid; gap: 2rem 2.5rem; }
.benefit-grid li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; }
.benefit-grid img { grid-row: 1 / 3; width: 42px; }
.benefit-grid h3 { font-size: 1.08rem; }
.benefit-grid p { font-size: 0.92rem; color: var(--muted); grid-column: 2; }

/* Products: boutique pastel merchandising */
.products { overflow: hidden; }
.products-pawbg { bottom: -80px; left: -100px; transform: rotate(24deg); }
.product-row { display: grid; gap: 1.25rem; }
.product { border-radius: var(--radius); padding: 1.4rem 1.4rem 1.6rem; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.p-sage { background: var(--sage-soft); }
.p-peach { background: var(--peach); }
.p-apricot { background: var(--apricot); }
.p-cream { background: var(--cream); }
.product-img { display: block; margin: 0.4rem auto 0; height: 200px; width: auto; filter: drop-shadow(0 10px 18px rgba(59, 42, 31, 0.14)); }
.product h3 { font-size: 1.15rem; margin-top: 0.9rem; }
.product p { font-size: 0.92rem; color: var(--muted); margin: 0.35rem 0 0.6rem; }

/* Testimonials */
.testimonials .t-heart-1 { top: 3.5rem; left: 4%; transform: rotate(-16deg); }
.testimonials .t-heart-2 { bottom: 2.5rem; right: 5%; transform: rotate(12deg); width: 32px; }
.reviews-grid { display: grid; gap: 1.25rem; }
blockquote { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem; font-size: 1.02rem; box-shadow: var(--shadow-soft); }
.av-review { width: 46px; height: 46px; border-radius: 50%; background: var(--peach); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; }
blockquote footer { margin-top: 0.85rem; font-size: 0.9rem; font-weight: 700; color: var(--muted); }

/* Splits and contact (inner pages) */
.split { display: grid; gap: 2rem; }
.contact-list { list-style: none; display: grid; gap: 0.9rem; margin: 1.25rem 0 1.75rem; }
.contact-list li { border-left: 3px solid var(--peach); padding-left: 0.9rem; }
.contact-list strong { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact-list a { font-size: 1.15rem; }

/* Inner-page hero (subpages reuse .hero without the grid) */
.hero h1:not(.display) { font-size: clamp(2.1rem, 6.5vw, 3rem); font-weight: 800; max-width: 20ch; }
.hero > .wrap > p, .hero .wrap > p { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); max-width: 52ch; }

/* CTA band: the loud moment */
.cta-band, section.band.cta-band { background: linear-gradient(135deg, var(--orange-bright) 0%, var(--accent) 100%); color: var(--accent-ink); text-align: center; border-color: transparent; padding: 4rem 0; }
.cta-band h2 { color: var(--accent-ink); max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 1.25rem; background: var(--surface); color: var(--accent); box-shadow: 0 6px 20px rgba(59, 42, 31, 0.25); }
.cta-band .btn:hover { background: var(--bg); color: var(--accent); }

/* Footer: scalloped, designed, warm */
footer.site { background: var(--cream); position: relative; margin-top: 3.5rem; padding: 3rem 0 2rem; font-size: 0.95rem; }
.foot-scallop { position: absolute; top: -20px; left: 0; right: 0; height: 22px; background: radial-gradient(circle at 14px 22px, var(--cream) 13px, transparent 13.8px); background-size: 28px 22px; background-repeat: repeat-x; }
.foot-grid { display: grid; gap: 2rem; }
.foot-brand .logo { margin-bottom: 0.9rem; }
.foot-tagline { color: var(--muted); margin-bottom: 1.2rem; max-width: 30ch; }
.foot-col h3 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.foot-col ul { list-style: none; display: grid; gap: 0.45rem; }
.foot-col a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-col a:hover { color: var(--accent); }
.foot-badge { display: flex; align-items: flex-start; }
.foot-legal { border-top: 1px solid rgba(59, 42, 31, 0.12); margin-top: 2.25rem; padding-top: 1.25rem; color: var(--muted); }
.foot-legal .credit { font-size: 0.82rem; }
.foot-legal a { color: var(--muted); }
.demo-note { margin-top: 0.5rem; font-size: 0.82rem; font-style: italic; }

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

/* Desktop */
@media (min-width: 760px) {
  .menu-btn { display: none; }
  .header-in { padding: 0.85rem 1.25rem; }
  nav { display: flex !important; position: static; flex-direction: row; align-items: center; gap: 1.7rem; background: none; border: 0; padding: 0; box-shadow: none; flex: 1; justify-content: center; }
  nav a { border-bottom: 0; padding: 0.2rem 0; font-size: 0.92rem; }
  nav a.active::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 3px; border-radius: 2px; background: var(--orange-bright); }
  nav a.nav-cta { margin: 0 0 0 1rem; padding: 0.65rem 1.3rem; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
  .hero-art { min-height: 460px; }
  .cards, .service-cards { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  section { padding: 4.25rem 0; }
  .how-panel { padding: 3.5rem 3rem; }
  .steps { flex-direction: row; justify-content: center; align-items: flex-start; gap: 0.5rem; }
  .step-arrow { transform: rotate(0) translateY(14px); }
  .step-arrow.flip { transform: scaleY(-1) translateY(-34px); }
  .promo { grid-template-columns: 1.1fr 0.9fr; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .product-row { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 0.8fr 1fr auto; gap: 2.5rem; }
  .cta-band, section.band.cta-band { padding: 5rem 0; }
}

@media (min-width: 460px) and (max-width: 759px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .product-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
