/* ============================================================
   Beyond the Paw — redesign stylesheet
   Aesthetic: warm editorial. Cream ground, plum depth, orange spark.
   Fonts: Fraunces (display) + Hanken Grotesk (body)
   ============================================================ */

:root {
  /* palette — Beyond the Paw brand: lime green + hot pink */
  --cream:      #fbfaf6;   /* soft near-white ground */
  --cream-2:    #eef3e6;   /* faint green tint */
  --plum:       #1d3325;   /* deep pine (dark ground / headings) */
  --plum-2:     #2c4a36;   /* lighter pine */
  --orange:     #8cc63f;   /* PRIMARY = brand green */
  --orange-deep:#6fa82d;   /* green hover */
  --pink:       #e6177f;   /* ACCENT = brand pink */
  --pink-deep:  #c41069;   /* pink hover */
  --ink:        #24302a;   /* warm near-black, green-tinted */
  --muted:      #5f6b62;
  --line:       #e2e7da;
  --white:      #ffffff;

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px -22px rgba(29, 51, 37, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(29, 51, 37, 0.3);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  overflow-x: hidden;
  /* subtle grain */
  background-image:
    radial-gradient(circle at 18% -10%, rgba(140,198,63,0.10), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(29,51,37,0.08), transparent 40%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; color: var(--plum); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem); }
.eyebrow {
  font-family: var(--body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink);
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--pink); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 0.95rem 1.6rem; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: var(--plum); box-shadow: 0 10px 24px -10px rgba(140,198,63,.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(140,198,63,.85); }
.btn-ghost { background: transparent; color: var(--plum); border-color: rgba(29,51,37,.25); }
.btn-ghost:hover { border-color: var(--plum); transform: translateY(-3px); }
.btn-light { background: var(--cream); color: var(--plum); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--plum); }
.brand .pawmark { width: 38px; height: 38px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a { padding: 0.5rem 0.9rem; border-radius: 100px; font-weight: 600; font-size: 0.97rem; color: var(--ink); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--cream-2); color: var(--plum); }
.nav-cta { margin-left: 0.4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; color: var(--plum); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 1rem + 5vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 .accent { color: var(--pink); }
.hero .lead { max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-meta { display: flex; gap: 1.6rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-meta .stat { }
.hero-meta .num { font-family: var(--display); font-size: 1.9rem; color: var(--plum); font-weight: 600; line-height: 1; }
.hero-meta .label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* blobby image frame */
.hero-art { position: relative; }
.blob {
  position: relative; aspect-ratio: 4/5; width: 100%;
  border-radius: 58% 42% 47% 53% / 46% 51% 49% 54%;
  background: linear-gradient(150deg, var(--plum), var(--plum-2));
  box-shadow: var(--shadow); overflow: hidden;
}
.blob::after { /* spark ring */
  content:""; position: absolute; inset: -8px; border-radius: inherit;
  border: 2px dashed rgba(230,23,127,.45); z-index: -1;
}
.hero-art .badge {
  position: absolute; bottom: 6%; left: -6%;
  background: var(--orange); color: var(--plum); font-family: var(--display);
  font-weight: 600; padding: 0.9rem 1.3rem; border-radius: 16px; box-shadow: var(--shadow-sm);
  font-size: 1.05rem; line-height: 1.2;
}

/* photo slots — designer placeholders the owner replaces */
.photo-slot {
  width: 100%; height: 100%; min-height: 220px;
  display: grid; place-content: center; text-align: center; gap: .5rem;
  color: rgba(253,248,240,.85); padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px);
}
.photo-slot svg { width: 42px; height: 42px; margin-inline: auto; opacity: .9; }
.photo-slot .ps-title { font-family: var(--display); font-size: 1.15rem; }
.photo-slot .ps-hint { font-size: .82rem; opacity: .8; max-width: 26ch; margin-inline: auto; }

/* ---------- about strip ---------- */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about-art .blob { aspect-ratio: 1/1; border-radius: 47% 53% 60% 40% / 54% 47% 53% 46%; }

/* ---------- pillars ---------- */
.pillars { background: var(--plum); color: var(--cream); }
.pillars h2 { color: var(--cream); }
.pillars .eyebrow { color: var(--pink); }
.pillars .lead { color: rgba(253,248,240,.7); }
/* CTA band sits on a green→pink gradient: force light text */
.cta-band .eyebrow { color: rgba(255,255,255,.92); }
.cta-band .eyebrow::before { background: rgba(255,255,255,.7); }
.cta-band .lead { color: rgba(255,255,255,.92) !important; }
.cta-band .btn-light { background: var(--white); color: var(--plum); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.8rem; }
.pillar {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.8rem; transition: transform .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(140,198,63,.5); }
.pillar .icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(140,198,63,.15); display: grid; place-content: center; margin-bottom: 1.1rem; }
.pillar .icon svg { width: 26px; height: 26px; color: var(--orange); }
.pillar h3 { color: var(--cream); margin-bottom: .5rem; }
.pillar p { color: rgba(253,248,240,.7); font-size: .98rem; }

/* ---------- services list ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.9rem 1.8rem; margin-top: 2.2rem; }
.svc-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.svc-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.svc-item .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--plum); display: grid; place-content: center; }
.svc-item .tick svg { width: 16px; height: 16px; }
.svc-item span { font-weight: 600; color: var(--ink); }

/* ---------- generic prose (about/legal) ---------- */
.prose { max-width: 70ch; }
.prose p { margin-top: 1.1rem; color: #463f38; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; color: var(--plum-2); }
.cpd { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: .7rem; margin-top: 1.4rem; }
.cpd li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; }
.cpd li b { color: var(--plum); display: block; font-family: var(--display); }
.cpd li span { font-size: .9rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact-card { background: var(--plum); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.8rem,3vw,2.8rem); }
.contact-card h2 { color: var(--cream); }
.contact-card a { color: var(--cream); }
.contact-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(140,198,63,.18); display: grid; place-content: center; }
.contact-row .ic svg { width: 22px; height: 22px; color: var(--orange); }
.contact-row .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(253,248,240,.6); }
.contact-row .v { font-family: var(--display); font-size: 1.2rem; }
.area-note { margin-top: 1.4rem; font-size: .92rem; color: rgba(253,248,240,.75); background: rgba(255,255,255,.05); padding: .9rem 1.1rem; border-radius: 12px; border-left: 3px solid var(--orange); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem,3vw,2.8rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; color: var(--plum); }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(140,198,63,.2); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- CTA banner ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--pink)); border-radius: var(--radius-lg); padding: clamp(2.2rem,4vw,3.5rem); text-align: center; color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band .btn-primary { background: var(--plum); color: var(--white); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--plum-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--plum); color: rgba(253,248,240,.75); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: var(--display); color: var(--cream); font-size: 1.05rem; margin-bottom: 1rem; font-weight: 600; }
.site-footer a:hover { color: var(--orange); }
.site-footer .brand { color: var(--cream); margin-bottom: .8rem; }
.logo-chip { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 14px; box-shadow: var(--shadow-sm); }
.logo-chip img { display: block; }
/* full-width photo banner */
.banner img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.banner figcaption { text-align: center; color: var(--muted); font-style: italic; margin-top: 1rem; font-family: var(--display); font-size: 1.1rem; }
.footer-links li { margin-bottom: .55rem; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-content: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; color: var(--cream); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom a { margin-left: 1.2rem; }

/* ---------- entrance animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; } .reveal.d4 { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-art { order: -1; }
  .pillar-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .8rem 1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .hero-art .badge { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
