/* ==========================================================================
   Margie's Pets — sample redesign concept
   Self-contained stylesheet. System fonts only, no external resources.
   ========================================================================== */

:root {
  /* Palette: warm creams + deep teal accent + honey gold */
  --cream-50: #fffdf8;
  --cream-100: #fbf6ee;
  --cream-200: #f4ead9;
  --cream-300: #e9dac2;
  --sand: #d8c4a5;
  --ink: #2e2724;
  --ink-soft: #5a4f49;
  --ink-mute: #6f635c;
  --teal-900: #123a39;
  --teal-800: #174645;
  --teal-700: #1f5856;
  --teal-600: #2a6f6c;
  --teal-100: #dcebe8;
  --gold: #d9a441;
  --gold-soft: #f3e2bd;
  --blush: #f2c8bc;
  --sample: #8a5a12;
  --sample-bg: #fff4dc;
  --sample-border: #e6c27a;

  /* Type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, Cambria, "Times New Roman", serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h1: clamp(2.15rem, 1.6rem + 2.6vw, 3.6rem);

  /* Space scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1.125rem, 0.75rem + 2vw, 2rem);
  --max: 72rem;
  --measure: 65ch;

  /* Shape + depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(46, 39, 36, 0.06), 0 2px 6px rgba(46, 39, 36, 0.05);
  --shadow-md: 0 2px 4px rgba(46, 39, 36, 0.05), 0 10px 28px -6px rgba(46, 39, 36, 0.14);
  --shadow-lg: 0 4px 8px rgba(46, 39, 36, 0.05), 0 22px 48px -12px rgba(46, 39, 36, 0.22);

  /* Motion — shared easing everywhere */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 640ms;
  --stagger: 80ms;

}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-100);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
strong { font-weight: 650; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--teal-900); }

:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
}
.cta-band :focus-visible,
.site-footer :focus-visible,
.demo-bar :focus-visible { outline-color: var(--gold); }

::selection { background: var(--gold-soft); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--teal-700);
  color: #fff;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus-visible { top: var(--s-3); color: #fff; outline-color: var(--gold); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--cream-200); }
.section--white { background: var(--cream-50); }
.section--teal {
  background: var(--teal-800);
  color: #eef5f3;
}
.section--teal h2, .section--teal h3 { color: #fff; }
.section--teal a { color: #fff; }

.section-head {
  max-width: 44rem;
  margin-bottom: var(--s-7);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--fs-lg); }
.section--teal .section-head p { color: #cfe2de; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.section--teal .eyebrow { color: var(--gold-soft); }

.lead { font-size: var(--fs-lg); color: var(--ink-soft); max-width: var(--measure); }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--teal-800);
  border-color: currentColor;
  box-shadow: none;
}
.btn--ghost:hover { background: var(--teal-100); color: var(--teal-900); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--teal-800); }
.btn--light:hover { background: var(--cream-100); color: var(--teal-900); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Demo banner + header ---------- */
.demo-bar {
  background: var(--teal-900);
  color: #d7e7e4;
  font-size: var(--fs-xs);
  text-align: center;
  padding: 0.45rem var(--gutter);
  line-height: 1.4;
}
.demo-bar strong { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-color: rgba(46, 39, 36, 0.08);
  box-shadow: 0 6px 24px -14px rgba(46, 39, 36, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand img { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border: 1.5px solid var(--cream-300);
  border-radius: 999px;
  background: var(--cream-50);
  color: var(--ink);
  font: 600 0.95rem/1 var(--font-sans);
  cursor: pointer;
  flex: none;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 999px;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-nav a:hover { background: var(--cream-200); color: var(--teal-900); }
.site-nav a[aria-current="page"] { color: var(--teal-700); background: var(--teal-100); }
.site-nav .nav-cta a { background: var(--teal-700); color: #fff; }
.site-nav .nav-cta a:hover { background: var(--teal-800); color: #fff; }
.site-nav .nav-cta a[aria-current="page"] { background: var(--teal-900); color: #fff; }

/* Mobile nav (default) */
@media (max-width: 1023.98px) {
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--cream-50);
    border-bottom: 1px solid var(--cream-300);
    box-shadow: 0 18px 30px -18px rgba(46, 39, 36, 0.35);
    padding: var(--s-3) var(--gutter) var(--s-5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }
  .site-nav ul { display: grid; gap: var(--s-1); }
  .site-nav a { padding: 0.8rem 1rem; border-radius: var(--r-sm); }
  .site-nav .nav-cta { margin-top: var(--s-2); }
  .site-nav .nav-cta a { text-align: center; border-radius: 999px; }
  /* no-JS fallback: show nav inline */
  .no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 var(--s-3); }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 0.15rem; }
  .site-nav a { padding: 0.55rem 0.85rem; }
  .site-nav .nav-cta { margin-left: var(--s-2); }
  .site-nav .nav-cta a { padding: 0.6rem 1.15rem; }
}
@media (max-width: 519.98px) {
  .brand-tag { display: none; }
}
@media (max-width: 380px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0 0.8rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 7rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(217, 164, 65, 0.18), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(31, 88, 86, 0.12), transparent 60%),
    var(--cream-100);
}
.hero-grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-6); }
}
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: italic;
  color: var(--teal-700);
}
.hero .lead { margin-bottom: var(--s-6); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-badges svg { width: 1rem; height: 1rem; color: var(--teal-700); flex: none; }

.hero-art {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
  aspect-ratio: 1;
}
.hero-blob {
  position: absolute;
  inset: 6%;
  border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
  background: linear-gradient(150deg, var(--teal-600), var(--teal-800));
  box-shadow: var(--shadow-lg);
}
.hero-blob::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: inherit;
  border: 2px dashed rgba(255, 255, 255, 0.22);
}
.hero-pup {
  position: absolute;
  width: 64%;
  left: 18%;
  top: 14%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.25));
}
.hero-pup--small {
  width: 34%;
  left: auto;
  right: -2%;
  top: auto;
  bottom: 2%;
  background: var(--cream-50);
  border-radius: 50%;
  padding: 4%;
  box-shadow: var(--shadow-md);
  filter: none;
}
.hero-anniv {
  position: absolute;
  left: -1%;
  bottom: 8%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--cream-50);
  line-height: 1;
}
.hero-anniv b { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); display: block; }
.hero-anniv span { font-size: clamp(0.6rem, 0.5rem + 0.4vw, 0.75rem); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-top: 0.25rem; }
.paw-float {
  position: absolute;
  width: 9%;
  opacity: 0.85;
  color: var(--gold);
}
.paw-float--1 { top: 2%; right: 12%; transform: rotate(18deg); }
.paw-float--2 { top: 16%; left: 2%; width: 7%; transform: rotate(-22deg); color: var(--teal-600); opacity: 0.5; }
.art-caption {
  margin-top: var(--s-3);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
}

/* Page hero (interior pages) */
.page-hero {
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(217, 164, 65, 0.16), transparent 60%),
    var(--cream-100);
  border-bottom: 1px solid var(--cream-300);
}
.page-hero h1 { margin-bottom: var(--s-4); }
.page-hero .lead { margin: 0; }
.breadcrumb {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--sand); }
.breadcrumb a { color: var(--ink-mute); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--cream-50);
  border: 1px solid rgba(46, 39, 36, 0.07);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (min-width: 600px) { .card { padding: var(--s-6); } }
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 88, 86, 0.18);
}
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--ink-soft); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: var(--s-4);
}
.icon-badge svg { width: 1.6rem; height: 1.6rem; }
.icon-badge--gold { background: var(--gold-soft); color: #8a5f12; }

/* Numbered steps (home: how to get one) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; }
.step-num::before {
  content: counter(step);
}
.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--teal-700);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--s-4);
}

/* Guarantee summary panel */
.promise {
  display: grid;
  gap: var(--s-6);
  background: var(--cream-50);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46, 39, 36, 0.06);
}
@media (min-width: 900px) { .promise { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.promise-seal {
  display: grid;
  place-items: center;
}
.seal {
  width: min(100%, 15rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--teal-600), var(--teal-800));
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), inset 0 0 0 8px rgba(255, 255, 255, 0.08);
  position: relative;
}
.seal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
}
.seal b { font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; display: block; }
.seal span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; display: block; margin-top: 0.4rem; color: #d7e9e5; }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); }
.check-list li { position: relative; padding-left: 2.1rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5856' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* ---------- Puppy placeholder art ---------- */
.ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.7), transparent 45%),
    linear-gradient(145deg, var(--cream-200), var(--cream-300));
  display: grid;
  place-items: center;
}
.ph::before {
  /* subtle paw-print pattern */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%232e2724'%3E%3Cellipse cx='32' cy='43' rx='14' ry='12'/%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-22 13 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5' transform='rotate(-6 25 15)'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5' transform='rotate(6 39 15)'/%3E%3Cellipse cx='51' cy='27' rx='6' ry='8' transform='rotate(22 51 27)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 34px 34px;
  background-position: 0 0;
  transform: rotate(-12deg) scale(1.4);
}
.ph img { position: relative; width: 46%; opacity: 0.92; transition: transform var(--dur-slow) var(--ease); }
.ph--teal { background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.5), transparent 45%), linear-gradient(145deg, #e3efec, #c9dfda); }
.ph--gold { background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.6), transparent 45%), linear-gradient(145deg, #f8ecd2, #efd9a8); }
.ph--blush { background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.6), transparent 45%), linear-gradient(145deg, #f9e6df, #efcfc4); }
.ph-label {
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  z-index: 1;
}
.ph-paw { position: relative; width: 28%; color: var(--ink); opacity: 0.18; }

/* Sample label chip */
.sample-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--sample-bg);
  border: 1px solid var(--sample-border);
  color: var(--sample);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.sample-chip::before {
  content: "";
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

/* Sample text callout — clearly marks non-verified copy */
.sample-note {
  border: 1.5px dashed var(--sample-border);
  background: var(--sample-bg);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  color: #5d4210;
  font-size: var(--fs-sm);
}
.sample-note > .sample-chip { margin-bottom: var(--s-2); }
.sample-block {
  border: 1.5px dashed var(--sample-border);
  border-radius: var(--r-lg);
  background: linear-gradient(var(--cream-50), var(--cream-50)) padding-box;
  padding: var(--s-6) var(--s-5);
  position: relative;
}
@media (min-width: 600px) { .sample-block { padding: var(--s-6); } }
.sample-block > .sample-chip { margin-bottom: var(--s-3); }
.sample-block .sample-foot {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--sample);
  font-style: italic;
}

/* ---------- Puppy cards (available puppies page) ---------- */
.pup-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-3);
  overflow: hidden;
}
.pup-card .ph { border-radius: calc(var(--r-lg) - 8px); }
.pup-card:hover .ph img { transform: scale(1.05) rotate(-2deg); }
.pup-body { padding: var(--s-5) var(--s-3) var(--s-3); display: flex; flex-direction: column; flex: 1; }
.pup-body h3 { margin-bottom: var(--s-3); }
.pup-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem var(--s-4);
  margin: 0 0 var(--s-4);
  font-size: var(--fs-sm);
}
.pup-meta dt { color: var(--ink-mute); font-weight: 600; }
.pup-meta dd { margin: 0; color: var(--ink-soft); font-style: italic; }
.pup-includes {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  list-style: none; padding: 0; margin: 0 0 var(--s-5);
}
.pup-includes li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-800);
}
.pup-body .btn { margin-top: auto; width: 100%; }

/* ---------- Past puppies strip + gallery ---------- */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 1fr);
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--s-2) var(--s-1) var(--s-4);
  margin-inline: calc(var(--s-1) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}
.strip > * { scroll-snap-align: start; }
@media (min-width: 900px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }

.frame {
  margin: 0;
  background: var(--cream-50);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-2) var(--s-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46, 39, 36, 0.06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.frame:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow-md); }
.frame:nth-child(even):hover { transform: translateY(-4px) rotate(0.6deg); }
.frame .ph { aspect-ratio: 1; border-radius: calc(var(--r-md) - 6px); }
.frame figcaption {
  padding: var(--s-3) var(--s-2) 0;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.4;
}
.frame figcaption strong { display: block; color: var(--ink); font-size: 0.95rem; }

.gallery {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 600px) { .gallery { gap: var(--s-5); } }
.gallery .frame--wide { grid-column: span 1; }
@media (min-width: 768px) {
  .gallery .frame--wide { grid-column: span 2; }
  .gallery .frame--wide .ph { aspect-ratio: 2 / 1; }
}

/* ---------- Facts / definition list ---------- */
.fact-list { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.fact {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--s-3);
  align-items: start;
}
.fact-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-700);
}
.fact-icon svg { width: 1.25rem; height: 1.25rem; }
.fact-t { font-weight: 700; color: var(--ink); line-height: 1.3; }
.fact-d { margin: 0.15rem 0 0; color: var(--ink-soft); overflow-wrap: anywhere; }

/* ---------- Guarantee page Q&A blocks ---------- */
.answer-grid { display: grid; gap: var(--s-4); }
.answer {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  background: var(--cream-50);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid rgba(46, 39, 36, 0.07);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .answer { grid-template-columns: 15rem 1fr; gap: var(--s-6); padding: var(--s-6); }
}
.answer-q {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--teal-800);
}
.answer-short {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.answer p { color: var(--ink-soft); }

.quote-block {
  margin: 0;
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6);
  border-left: 4px solid var(--gold);
  background: var(--cream-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}
.quote-block p { margin-bottom: var(--s-3); }

/* ---------- Accordion (FAQ) ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq-item {
  background: var(--cream-50);
  border: 1px solid rgba(46, 39, 36, 0.08);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-item:hover { border-color: rgba(31, 88, 86, 0.22); }
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: rgba(31, 88, 86, 0.22); }
.faq-item h3 { margin: 0; font-size: 1.08rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; }
.faq-trigger {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  color: var(--ink);
  border-radius: var(--r-md);
  line-height: 1.4;
}
.faq-trigger:focus-visible { outline: 3px solid var(--teal-600); outline-offset: -3px; }
.faq-icon {
  flex: none;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--teal-100);
  position: relative;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--teal-700);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--teal-700); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-in-out);
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner > div { padding: 0 var(--s-5) var(--s-5); color: var(--ink-soft); }
.faq-source { display: block; margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--ink-mute); }
/* No-JS: panels stay open */
.no-js .faq-panel { grid-template-rows: 1fr; }
.no-js .faq-icon { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact-card { position: sticky; top: 6rem; }
@media (max-width: 899.98px) { .contact-card { position: static; } }
.contact-big {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--teal-800);
  text-decoration: none;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.contact-big:hover { color: var(--teal-900); text-decoration: underline; }

.form { display: grid; gap: var(--s-4); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-weight: 650; font-size: var(--fs-sm); }
.field .hint { font-size: var(--fs-xs); color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem;
  min-height: 3rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sand); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(42, 111, 108, 0.18);
  border-radius: var(--r-sm);
}
.form-status {
  display: none;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--teal-100);
  color: var(--teal-900);
  border: 1px solid rgba(31, 88, 86, 0.25);
}
.form-status.is-visible { display: block; animation: rise var(--dur-slow) var(--ease) both; }
.form-status a { color: var(--teal-900); font-weight: 650; }

.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(31, 88, 86, 0.06), rgba(31, 88, 86, 0.06)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(46, 39, 36, 0.05) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(46, 39, 36, 0.05) 38px 40px),
    var(--cream-200);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s-5);
  border: 1px solid rgba(46, 39, 36, 0.07);
}
.addr { font-style: normal; }
.map-pin {
  display: block;
  width: 3rem; height: 3rem;
  margin: 0 auto var(--s-2);
  color: var(--teal-700);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.25rem + 3vw, 3.75rem);
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #e6f1ef;
  display: grid;
  gap: var(--s-5);
  align-items: center;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-band p { color: #cfe2de; }
.cta-band a:not(.btn) { color: #fff; }
.cta-band::after {
  content: "";
  position: absolute;
  right: -3rem; bottom: -4rem;
  width: 16rem; height: 16rem;
  opacity: 0.08;
  background: url("../img/paw.svg") center / contain no-repeat;
  filter: invert(1);
  transform: rotate(-18deg);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9cfc7;
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-sm);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-tag { color: #b8aca4; }
.footer-brand p { margin-top: var(--s-4); max-width: 22rem; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--s-3);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-links a { text-decoration: none; color: #e9e1da; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.footer-contact { font-style: normal; display: grid; gap: 0.4rem; overflow-wrap: anywhere; }
.footer-note {
  padding-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  color: #b8aca4;
  font-size: var(--fs-xs);
}
.footer-note p { margin: 0; max-width: 46rem; }
.footer-note strong { color: #fff; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.notfound img { width: min(55vw, 12rem); margin: 0 auto var(--s-5); }
.notfound .btn-row { justify-content: center; }

/* ---------- Misc ---------- */
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
.break-any { overflow-wrap: anywhere; }
.divider-paws {
  display: flex; justify-content: center; gap: var(--s-3);
  color: var(--sand);
  margin-block: var(--s-6);
}
.divider-paws svg { width: 1rem; height: 1rem; }
.center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-mute); }
.small { font-size: var(--fs-sm); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .card--hover:hover, .btn:hover, .frame:hover, .frame:nth-child(even):hover { transform: none; }
  .pup-card:hover .ph img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .demo-bar, .nav-toggle, .cta-band, .form { display: none !important; }
  body { background: #fff; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.notfound .lead { margin-inline: auto; }

/* ==========================================================================
   Real puppies on the public Puppies page (rendered by server.py from the
   staff database). Never uses the "Sample" style.
   ========================================================================== */
.pup-photos { display: grid; gap: 0.4rem; }
.pup-photo-main {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden;
  background: var(--cream-200);
}
.pup-photo-main img, .pup-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pup-thumbs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem;
}
.pup-thumbs a {
  display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--cream-200);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pup-thumbs a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pup-flag {
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: var(--cream-50); color: var(--ink-soft);
  font-size: 0.75rem; font-weight: 700; line-height: 1.3;
}
.pup-body h3 { overflow-wrap: anywhere; }
.pup-meta--real dd { font-style: normal; color: var(--ink); overflow-wrap: anywhere; }
.pup-status {
  display: inline-block; align-self: flex-start;
  margin: 0 0 var(--s-3);
  padding: 0.2rem 0.7rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  background: var(--cream-200); color: var(--ink-soft);
}
.pup-status--available { background: var(--teal-100); color: var(--teal-900); }
.pup-status--reserved { background: var(--gold-soft); color: #6b4a0e; }
.pup-status--placed { background: #ece6df; color: var(--ink-soft); }

/* ==========================================================================
   Staff area (server.py). Same palette, type and shapes as the public site.
   ========================================================================== */
.btn--sm { min-height: 2.5rem; padding: 0.45rem 0.95rem; font-size: 0.92rem; }
.btn--danger { --btn-bg: #9b2c1f; --btn-fg: #fff; }
.btn--danger:hover { background: #7c2217; color: #fff; }

.staff-header { position: static; }
.staff-header .header-inner { flex-wrap: wrap; padding-block: var(--s-3); }
.staff-tag { display: block; color: var(--teal-700); }
.staff-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2);
}
.staff-nav a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.staff-nav a:hover { background: var(--cream-200); color: var(--teal-900); }
.staff-nav form { margin: 0; }

.staff-main { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); min-height: 60vh; }
.staff-main h1 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem); margin-bottom: var(--s-4); overflow-wrap: anywhere; }
.staff-card { margin-bottom: var(--s-5); }
.staff-login { max-width: 30rem; margin-inline: auto; }
.staff-confirm h1 { font-size: var(--fs-h2); }

.staff-msg {
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
  border: 1px solid rgba(31, 88, 86, 0.25);
  background: var(--teal-100);
  color: var(--teal-900);
  overflow-wrap: anywhere;
}
.staff-msg p { margin: 0; font-weight: 650; }
.staff-msg ul { margin: var(--s-2) 0 0; }
.staff-msg--warn { background: var(--sample-bg); border-color: var(--sample-border); color: #5d4210; }
.staff-msg--error { background: #fbe9e5; border-color: #e3a89c; color: #7a2116; }

.field-error { margin: 0; color: #9b2c1f; font-size: var(--fs-sm); font-weight: 650; }
.field [aria-invalid="true"] { border-color: #c0503f; }
.field input[type="file"] { padding: 0.6rem; background: var(--cream-50); }
.field input[type="date"] { min-width: 0; display: block; }
.req { font-weight: 400; color: var(--ink-mute); }

.staff-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s-4); margin-bottom: var(--s-5);
}
.staff-head h1 { margin-bottom: var(--s-2); }
.staff-head .lead { margin: 0; }

.staff-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.staff-pup {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--s-3) var(--s-4);
  align-items: center;
  padding: var(--s-4);
}
@media (min-width: 600px) { .staff-pup { grid-template-columns: 5.5rem minmax(0, 1fr) auto; padding: var(--s-4) var(--s-5); } }
.staff-thumb { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--cream-200); }
.staff-thumb img { width: 100%; height: 100%; object-fit: cover; }
.staff-thumb img.staff-thumb--none { object-fit: contain; padding: 18%; }
.staff-pup-info { min-width: 0; overflow-wrap: anywhere; }
.staff-pup-info h2 { margin: 0 0 var(--s-1); }
.staff-pup-info .pup-status { margin-bottom: var(--s-1); }
.staff-pup-info p:last-child { margin: 0; }
.staff-pup-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 600px) { .staff-pup-actions { grid-column: auto; justify-content: flex-end; } }

.staff-photos {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr)); gap: var(--s-4);
}
.staff-photo { position: relative; display: grid; gap: var(--s-2); min-width: 0; }
.staff-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); background: var(--cream-200); }
.staff-photo .btn { width: 100%; white-space: normal; }
.staff-photo form { margin: 0; }
.staff-photo-tag {
  position: absolute; left: 0.4rem; top: 0.4rem;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  background: var(--teal-700); color: #fff; font-size: 0.72rem; font-weight: 700;
}

.staff-footer { background: var(--ink); color: #d9cfc7; padding-block: var(--s-5); font-size: var(--fs-sm); }
.staff-footer p { margin: 0; }
.staff-footer a, .staff-footer strong { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .pup-thumbs a:hover { transform: none; }
}
/* Long puppy names (no spaces) must wrap inside buttons instead of overflowing on narrow screens. */
.staff-main .btn, .pup-card--real .pup-body .btn { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
