/* Christy’s Schnauzer Heaven: the one stylesheet (public site + admin).
   "Fresh and natural" look in terracotta and sand. Every color, radius and shadow comes from the tokens below (see DESIGN.md). */

/* ---------- tokens ---------- */
:root {
  --bg: #FCF7F2;
  --surface: #FFFFFF;
  --sand: #F4ECE3;
  --stone: #E2D5C8;
  --line: #EDE3D9;
  --ink: #2A2420;
  --ink-soft: #6B5F57;
  --accent: #B4552F;
  --accent-deep: #94421F;
  --accent-ink: #9A4727;
  --clay: #D98B69;
  --clay-soft: #F7E2D5;
  --clay-on-dark: #F0B191;
  --warm: #D29A3A;
  --warm-ink: #7A5512;
  --warm-soft: #FBEFD9;
  --ok: #3F6B4A;
  --ok-soft: #E3EFE5;
  --danger: #A3342B;
  --danger-soft: #F8E7E4;
  --on-dark: #E3D7CD;
  --ink-a60: rgba(42, 36, 32, .55);
  --white-a90: rgba(255, 255, 255, .9);
  --white-a10: rgba(255, 255, 255, .1);
  --white-a16: rgba(255, 255, 255, .16);
  --scrim-strong: rgba(30, 24, 20, .86);
  --scrim-mid: rgba(30, 24, 20, .55);
  --scrim-soft: rgba(30, 24, 20, .22);
  --header-h: 73px;
  /* logo colors */
  --logo-fur: #FFFBF6;
  --logo-merle: #B8A496;
  --logo-merle-soft: #C2AC9C;
  --logo-merle-dark: #8F7A6C;
  --logo-merle-line: #9C8676;
  --logo-eye: #4C86C8;
  --logo-nose: #5A3B31;

  --font-head: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  --r-round: 50%;

  --shadow: 0 10px 30px -18px rgba(42, 36, 32, .22);
  --shadow-lift: 0 16px 36px -18px rgba(42, 36, 32, .3);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --container: 1200px;
  --gutter: 16px;
  --nav-h: 72px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; font-weight: 400; line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4, .h1 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; margin: 0 0 var(--s4); color: var(--ink); }
h1, .h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
/* Young Serif has no italic: accent words are colored instead. */
h1 em, h2 em, h3 em, .h1 em { font-style: normal; color: var(--accent-ink); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }
button, input, select, textarea { font: inherit; color: inherit; }
/* "hidden" always wins, even over components that set their own display (e.g. the admin screens). */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--clay-soft); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--surface); padding: var(--s2) var(--s4); border-radius: var(--r-md);
}
.skip-link:focus { top: var(--s4); color: var(--surface); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: var(--s8) 0; position: relative; }
@media (min-width: 1024px) { .section { padding: var(--s9) 0; } }
.section--sand { background: var(--sand); }
.section--paper { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--surface); }
.section--dark .lead, .section--dark .muted { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--clay-on-dark); }
.section--dark a:not(.btn) { color: var(--surface); }
.section__head { max-width: 720px; margin-bottom: var(--s7); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .rule { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-body); font-weight: 600; font-size: .88rem; line-height: 1.5; color: var(--accent-ink);
  margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-round); background: var(--clay); flex: none; }
.eyebrow__num { display: none; }
.rule { width: 56px; height: 3px; border: 0; border-radius: var(--r-pill); background: var(--clay); margin: var(--s4) 0; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s4); }
.prose { max-width: 66ch; }
.prose h2 { margin-top: var(--s7); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: var(--s6); }
.prose li { margin-bottom: var(--s2); }

.grid { display: grid; gap: var(--s5); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.05fr .95fr; gap: var(--s8); } .split--reverse > :first-child { order: 2; } }

/* ---------- icons in soft circles ---------- */
.icon-circle, .tile__icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-round); background: var(--clay-soft); color: var(--accent-ink);
}
.icon-circle svg, .tile__icon svg { width: 24px; height: 24px; }
.icon-circle--small { width: 36px; height: 36px; }
.icon-circle--small svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--surface); --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5); border-radius: var(--r-md);
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); }
.btn--primary:hover { --btn-bg: var(--accent-deep); --btn-bd: var(--accent-deep); }
.btn--secondary { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--stone); }
.btn--secondary:hover { --btn-bg: var(--clay-soft); --btn-bd: var(--clay); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--accent-ink); --btn-bd: transparent; padding: var(--s2) var(--s1);
  text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 5px;
  white-space: normal; text-align: left; line-height: 1.5;
}
.btn--ghost:hover { --btn-fg: var(--accent-deep); }
.btn--small { min-height: 40px; padding: 0 var(--s4); font-size: .92rem; border-radius: var(--r-sm); }
.btn--block { width: 100%; white-space: normal; text-align: center; padding-top: var(--s2); padding-bottom: var(--s2); line-height: 1.4; }
.btn--danger { --btn-bg: var(--surface); --btn-fg: var(--danger); --btn-bd: var(--danger); }
.btn--danger:hover { --btn-bg: var(--danger); --btn-fg: var(--surface); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (max-width: 639px) { .btn { white-space: normal; text-align: center; line-height: 1.4; padding-top: var(--s2); padding-bottom: var(--s2); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- tags, pills, chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill); background: var(--clay-soft); color: var(--accent-ink);
  font-weight: 600; font-size: .85rem; line-height: 1.3; white-space: nowrap;
}
/* A small check mark drawn with borders. */
.tag::before { content: ""; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); flex: none; }
.tag--solid { background: var(--surface); box-shadow: var(--shadow); }
.tag--sample { background: var(--warm-soft); color: var(--warm-ink); border: 1px dashed var(--warm); font-size: .72rem; padding: 2px 8px; }
.tag--sample::before { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 600; line-height: 1.4; background: var(--surface); color: var(--ink); white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: var(--r-round); background: currentColor; opacity: .75; }
.pill--available, .pill--ready, .pill--approved { background: var(--ok-soft); color: var(--ok); }
.pill--pending, .pill--reserved, .pill--born, .pill--new { background: var(--warm-soft); color: var(--warm-ink); }
.pill--sold, .pill--closed, .pill--declined { background: var(--sand); color: var(--ink-soft); }
.pill--expected, .pill--contacted { background: var(--clay-soft); color: var(--accent-ink); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s4);
  border: 1px solid var(--stone); border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { background: var(--clay-soft); border-color: var(--clay); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.chip__count { font-size: .9em; opacity: .75; font-weight: 500; }
.chip__remove { border: 0; background: none; padding: 0; cursor: pointer; font-size: 1.1rem; line-height: 1; color: inherit; }

/* ---------- small line drawing used in photo placeholders and empty states ---------- */
.sj-bg { fill: var(--clay-soft); }
.sj-line { stroke: var(--ink); }
.sj-eye { fill: var(--ink); }
.sj-nose { fill: var(--accent); }

/* ---------- logo mark: fluffy blue-eyed merle puppy (drawn from the owner's photo) ---------- */
.lg-bg { fill: var(--clay-soft); }
.lg-line { stroke: var(--ink); }
.lg-ear { fill: var(--logo-merle); }
.lg-fur { fill: var(--logo-fur); }
.lg-patch { fill: var(--logo-merle-dark); }
.lg-merle { fill: var(--logo-merle-soft); }
.lg-brow { stroke: var(--logo-merle-line); }
.lg-eye { fill: var(--logo-eye); stroke: var(--ink); stroke-width: 1.1; }
.lg-pupil { fill: var(--ink); }
.lg-shine { fill: var(--surface); }
.lg-nose { fill: var(--logo-nose); }

/* ---------- nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
/* The blur sits on a pseudo-element: on the header itself it would trap the fixed mobile menu inside the bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white-a90);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.announcement {
  margin: 0; padding: 8px var(--gutter); background: var(--accent); color: var(--surface); text-align: center;
  font-size: .9rem; font-weight: 600;
}
.announcement[hidden] { display: none; }
.nav {
  max-width: var(--container); margin: 0 auto; min-height: var(--nav-h); padding: 0 var(--gutter);
  display: flex; align-items: center; gap: var(--s3);
}
.logo {
  order: -1; display: inline-flex; align-items: center; gap: var(--s2); margin-right: auto;
  font-family: var(--font-head); font-size: 1.4rem; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo__mark { width: 44px; height: 44px; flex: none; }
/* The full name is long: on phones it gets smaller and may wrap onto two lines. */
@media (max-width: 639px) {
  .logo { font-size: 1.12rem; white-space: normal; min-width: 0; line-height: 1.1; }
  .logo__mark { width: 38px; height: 38px; }
}
@media (min-width: 1024px) and (max-width: 1199px) { .logo { font-size: 1.2rem; } .nav__link, .nav__toggle { padding: 0 var(--s2); } }
.logo__accent { color: var(--accent-ink); }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 2px; }
.nav__right { display: none; align-items: center; gap: var(--s3); }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 42px; padding: 0 var(--s3);
  border: 0; border-radius: var(--r-pill); background: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__toggle:hover { background: var(--clay-soft); color: var(--ink); }
.nav__link[aria-current="page"], .nav__toggle.is-current { background: var(--clay-soft); color: var(--accent-ink); }
.nav__toggle svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; padding: var(--s2);
  list-style: none; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}
.nav__dropdown[hidden] { display: none; }
.nav__dropdown a {
  display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav__dropdown a:hover, .nav__dropdown a[aria-current="page"] { background: var(--clay-soft); color: var(--accent-ink); }
.nav__cta { display: none; }
.nav__menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--stone); border-radius: var(--r-md); background: var(--surface); cursor: pointer; color: var(--ink);
}
.nav__menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .nav { gap: var(--s4); }
  .nav__links { display: flex; }
  .nav__right { display: flex; }
  .nav__cta { display: inline-flex; margin-left: var(--s2); }
  .nav__menu-btn { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 0 var(--gutter) var(--s7);
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); }
.mobile-menu__list { list-style: none; margin: var(--s3) 0 var(--s6); padding: 0; }
.mobile-menu__list a {
  display: block; padding: var(--s3) var(--s2); font-family: var(--font-head); font-size: 1.7rem; line-height: 1.25;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu__list .mobile-menu__sub a { font-family: var(--font-body); font-size: 1.02rem; font-weight: 500; padding-left: var(--s5); color: var(--ink-soft); }
.mobile-menu__list a[aria-current="page"] { color: var(--accent-ink); }
body.menu-open { overflow: hidden; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin: var(--s5) 0 var(--s3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--clay); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding: var(--s4) 0 var(--s7); position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: var(--s3); }

/* ---------- home hero ---------- */
.hero { padding: var(--s6) 0 var(--s8); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--s8); } .hero { padding: var(--s8) 0 var(--s9); } }
.hero__title { margin-bottom: var(--s4); }
/* The search phrase stays inside the h1 (for Google) but reads as a small label above the welcome line. */
.hero__kicker {
  display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.4; color: var(--accent-ink);
}
.hero__kicker::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-round); background: var(--clay); flex: none; }
.hero .lead { margin-bottom: var(--s5); }
.hero__tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }

/* Full-screen photo hero: the photo sits behind the text, with a dark wash at the bottom (and left on wide screens) so the text stays readable. */
.hero--photo {
  min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end;
  padding: var(--s9) 0 var(--s7); background: var(--ink); isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 63%; }
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--scrim-strong) 0%, var(--scrim-mid) 48%, var(--scrim-soft) 72%, transparent 100%);
}
/* Phones and tablets: the puppies show in the top part of the screen, then the photo fades into a dark band that holds the text. */
@media (max-width: 899px) {
  .hero--photo { padding-top: min(44svh, 420px); }
  .hero__bg { height: min(64svh, 600px); object-position: 50% 30%; }
  .hero--photo::after {
    background: linear-gradient(to bottom, transparent 0, transparent min(26svh, 250px), var(--scrim-mid) min(42svh, 400px), var(--ink) min(62svh, 590px));
  }
}
@media (min-width: 900px) {
  .hero--photo::after {
    background:
      linear-gradient(90deg, var(--scrim-mid) 0%, var(--scrim-soft) 45%, transparent 70%),
      linear-gradient(to top, var(--scrim-strong) 0%, var(--scrim-mid) 40%, transparent 75%);
  }
}
.hero__content { width: 100%; }
.hero__content > div { max-width: 640px; }
.hero--photo .hero__title { color: var(--surface); font-size: clamp(2.3rem, 5.4vw, 3.6rem); text-shadow: 0 2px 18px var(--scrim-mid); }
.hero--photo .hero__title em { color: var(--clay-on-dark); }
.hero--photo .hero__kicker { color: var(--clay-on-dark); }
.hero--photo .lead { color: var(--on-dark); text-shadow: 0 1px 10px var(--scrim-strong); }
.hero--photo .btn--ghost { --btn-fg: var(--surface); }
.hero--photo .btn--ghost:hover { --btn-fg: var(--clay-on-dark); }
.hero--photo .tag { background: var(--white-a16); color: var(--surface); backdrop-filter: blur(6px); }

/* Photo on a soft blob, with a small round photo overlapping one corner. */
.offset-photo { position: relative; max-width: 460px; width: 100%; margin: 0 auto; padding: var(--s4) var(--s4) var(--s6) var(--s6); }
.offset-photo::before {
  content: ""; position: absolute; inset: 0 0 var(--s2) var(--s3); background: var(--clay-soft);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
}
.offset-photo__main { position: relative; z-index: 1; }
.offset-photo__main .media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow-lift); }
.offset-photo__small { position: absolute; z-index: 2; width: 38%; left: 0; bottom: 0; border: 6px solid var(--bg); border-radius: var(--r-round); overflow: hidden; }
.offset-photo__small .media { aspect-ratio: 1 / 1; border-radius: var(--r-round); }
.offset-photo__tag { position: absolute; z-index: 3; top: var(--s6); right: 0; }

/* ---------- road (dotted route line) ---------- */
.road {
  height: 4px; border: 0; margin: var(--s7) auto; max-width: var(--container);
  background: radial-gradient(circle, var(--clay) 2px, transparent 2.5px) 0 50% / 14px 4px repeat-x;
}
.road--short { max-width: 140px; margin: var(--s4) 0; }

/* ---------- route timeline ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); position: relative; counter-reset: route; }
.route::before {
  content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 4px;
  background: radial-gradient(circle, var(--clay) 2px, transparent 2.5px) 50% 0 / 4px 14px repeat-y;
}
.route__step { position: relative; padding-left: 76px; counter-increment: route; }
.route__step::before {
  content: counter(route); position: absolute; left: 0; top: 0; width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: var(--r-round); background: var(--surface); box-shadow: inset 0 0 0 2px var(--clay-soft), var(--shadow);
  font-family: var(--font-head); font-size: 1.35rem; color: var(--accent-ink);
}
.route__step h3 { margin-bottom: var(--s1); padding-top: var(--s2); }
.route__step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 1024px) {
  .route { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .route::before {
    left: 27px; right: 27px; top: 25px; bottom: auto; width: auto; height: 4px;
    background: radial-gradient(circle, var(--clay) 2px, transparent 2.5px) 0 50% / 14px 4px repeat-x;
  }
  .route__step { padding-left: 0; padding-top: 76px; }
  .route__step h3 { padding-top: 0; }
}

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.card, .card--link { color: inherit; text-decoration: none; }
a.card:hover, .card--link:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__media { position: relative; padding: var(--s2) var(--s2) 0; }
.card__media .media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.card__media .media--square { aspect-ratio: 1 / 1; }
.card__badges { position: absolute; top: var(--s4); left: var(--s4); right: var(--s4); display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); pointer-events: none; }
.card__body { padding: var(--s4) var(--s5) var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.card__title { font-family: var(--font-head); font-size: 1.45rem; margin: 0; line-height: 1.2; }
.card__facts { display: flex; flex-wrap: wrap; gap: 2px var(--s3); color: var(--ink-soft); font-size: .92rem; margin: 0; padding: 0; list-style: none; }
.card__facts li + li::before { content: "·"; margin-right: var(--s3); color: var(--clay); }
.card__price {
  margin-top: auto; padding-top: var(--s3);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2); font-weight: 600;
}
.card__price .muted { font-weight: 500; }
.card--sold { opacity: .72; }
/* Home page "Meet the parents": two big cards, centered. */
/* 1 to 3 cards, centered: side by side on wide screens, stacked on phones. */
.home-parents { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s5); }
.home-parents > * { flex: 1 1 260px; max-width: 360px; }
.home-parents > .empty { flex-basis: 100%; max-width: none; }
/* Puppy cards: the title link covers the whole card; buttons inside (Call / Message) sit above it. */
.card__stretch { color: inherit; text-decoration: none; }
.card__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__stretch:focus-visible { outline: none; }
.card:has(.card__stretch:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Call / Message buttons (puppy cards, puppy page, contact details, footer) */
.contact-btns { display: flex; flex-wrap: wrap; gap: var(--s2); position: relative; z-index: 2; }
.contact-btns .btn { flex: 1 1 0; min-width: 0; }
.card .contact-btns { margin-top: var(--s2); }
.puppy-contact { margin-top: var(--s4); max-width: 360px; }
.contact-list .contact-btns { margin-top: var(--s2); max-width: 300px; }
.contact-list .contact-btns a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.contact-list .contact-btns .btn--primary { color: var(--surface); }
.contact-list .contact-btns .btn--secondary { color: var(--ink); }
.site-footer .contact-btns { margin-top: var(--s1); max-width: 260px; }
.site-footer .contact-btns .btn--primary { color: var(--surface); }
.site-footer .contact-btns .btn--secondary { --btn-bg: transparent; --btn-bd: var(--on-dark); color: var(--surface); }
.site-footer .contact-btns .btn--secondary:hover { --btn-bg: var(--white-a10); }
.site-footer .contact-btns a:hover { text-decoration: none; }
.card--soft { box-shadow: none; }

/* breed card */
.breed-card { display: grid; gap: var(--s4); padding: var(--s2) var(--s2) var(--s5); }
.breed-card > :not(.media) { padding: 0 var(--s4); }
.breed-card .media { border-radius: var(--r-md); }
.breed-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin: 0; }
.breed-card__facts div { background: var(--sand); border-radius: var(--r-md); padding: var(--s2) var(--s3); }
.breed-card__facts dt { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.breed-card__facts dd { margin: 0; font-weight: 600; font-size: .98rem; }
.breed-card .btn { margin: 0 var(--s4); width: auto; padding: var(--s2) var(--s4); }

/* feature tiles / bento */
.tile { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.tile__icon { margin-bottom: var(--s4); }
.tile h3 { margin-bottom: var(--s2); }
.tile p { color: var(--ink-soft); }
.tile p:last-child { margin-bottom: 0; }
.bento { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > * { grid-column: span 3; } }
@media (min-width: 1024px) {
  .bento > .bento__wide { grid-column: span 4; }
  .bento > .bento__narrow { grid-column: span 2; }
}
.bento__tile { padding: var(--s6); position: relative; overflow: hidden; min-height: 220px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; }
.bento__tile--sand { background: var(--sand); border-color: transparent; }
.bento__tile--mist { background: var(--clay-soft); border-color: transparent; }
.bento__tile--dark { background: var(--ink); color: var(--surface); border-color: transparent; }
.bento__tile--dark h3 { color: var(--surface); }
.bento__tile--dark p { color: var(--on-dark); }
.bento__tile--dark a:not(.btn) { color: var(--clay-on-dark); }
.bento__tile h3 { font-size: 1.7rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--s5) var(--s3); background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); }
.stat__num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; display: block; margin-bottom: var(--s2); color: var(--accent-ink); }
.stat__label { color: var(--ink-soft); font-size: .92rem; }

/* ---------- media + placeholder ---------- */
.media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); border-radius: var(--r-md); }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 9; }
.media--round { border-radius: var(--r-round); aspect-ratio: 1 / 1; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2);
  padding: var(--s4); text-align: center; color: var(--ink-soft); background: var(--sand);
}
.ph--mist { background: var(--clay-soft); }
.ph--paper { background: var(--surface); }
.ph--gold { background: var(--warm-soft); }
.ph__icon { width: 34%; max-width: 110px; min-width: 40px; }
.ph__icon .sj-bg { fill: transparent; }
.ph__icon .sj-line { stroke: var(--clay); }
.ph__icon .sj-eye, .ph__icon .sj-nose { fill: var(--clay); }
.ph__label { font-size: .85rem; font-weight: 600; line-height: 1.4; max-width: 26ch; }
.media--round .ph__label, .avatar .ph__label { display: none; }

/* ---------- skeleton, empty, error states ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--sand) 0%, var(--surface) 50%, var(--sand) 100%);
  background-size: 200% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--r-lg);
}
.skeleton-card { height: 400px; }
.skeleton-line { height: 14px; margin-bottom: var(--s2); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty {
  text-align: center; padding: var(--s7) var(--s5); border: 2px dashed var(--stone); border-radius: var(--r-xl); background: var(--surface);
  grid-column: 1 / -1;
}
.empty__icon { width: 72px; margin: 0 auto var(--s3); }
.empty__icon .sj-bg { fill: var(--clay-soft); }
.empty__icon .sj-line { stroke: var(--accent-ink); }
.empty h3 { margin-bottom: var(--s2); }
.notice { padding: var(--s4) var(--s5); border-radius: var(--r-lg); background: var(--clay-soft); color: var(--ink); }
.notice--warn { background: var(--warm-soft); }
.notice--ok { background: var(--ok-soft); color: var(--ok); }
.notice--error { background: var(--danger-soft); color: var(--danger); }

/* ---------- reviews ---------- */
.review { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: var(--s3); }
.avatar {
  width: 46px; height: 46px; border-radius: var(--r-round); flex: none; overflow: hidden; position: relative;
  display: grid; place-items: center; background: var(--clay-soft); color: var(--accent-ink);
  font-family: var(--font-head); font-size: 1.05rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name { font-weight: 700; line-height: 1.25; }
.review__item { font-size: .88rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: var(--warm); }
.stars svg { width: 18px; height: 18px; }
.stars .is-off { color: var(--stone); }
.review__text { margin: 0; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--accent-ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review--compact .review__text.is-clamped { -webkit-line-clamp: 4; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.rating-summary__num { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--accent-ink); }

/* ---------- slider + lightbox ---------- */
.slider { position: relative; }
.slider__track { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--sand); touch-action: pan-y; }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); }
.slider__slide.is-active { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: var(--r-round);
  border: 0; background: var(--white-a90); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn--prev { left: var(--s2); }
.slider__btn--next { right: var(--s2); }
.slider__meta { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s2); }
.slider__dots { display: flex; gap: 6px; }
.slider__dot { width: 9px; height: 9px; border-radius: var(--r-round); border: 0; background: var(--stone); padding: 0; cursor: pointer; }
.slider__dot.is-active { background: var(--accent); }
.slider__count { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: var(--s7) var(--s4); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: var(--r-round); border: 0; background: var(--white-a10);
  color: var(--surface); display: grid; place-items: center; cursor: pointer;
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: var(--accent); }
.lightbox__btn:focus-visible { outline-color: var(--clay-on-dark); }
.lightbox__close { top: var(--s4); right: var(--s4); }
.lightbox__prev { left: var(--s4); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--s4); top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: var(--s4); left: 0; right: 0; text-align: center; color: var(--on-dark); font-size: .92rem; padding: 0 var(--s7); }

/* gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid__item { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg); overflow: hidden; display: block; width: 100%; }
.gallery-grid__item .media { border-radius: var(--r-lg); transition: transform .4s var(--ease); }
.gallery-grid__item:hover .media { transform: scale(1.03); }

/* ---------- accordion (FAQ) ---------- */
.accordion { display: grid; gap: var(--s2); }
.accordion__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.accordion__item[hidden] { display: none; }
.accordion__q { margin: 0; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.accordion__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); text-align: left;
  padding: var(--s4) var(--s5); border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink); line-height: 1.4;
}
.accordion__btn:hover { color: var(--accent-ink); }
.accordion__icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--r-round); background: var(--clay-soft); color: var(--accent-ink);
  display: grid; place-items: center; transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.accordion__icon svg { width: 16px; height: 16px; }
.accordion__btn[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--accent); color: var(--surface); }
.accordion__a { padding: 0 var(--s5) var(--s5); color: var(--ink-soft); }
.accordion__a[hidden] { display: none; }
.accordion__a p:last-child { margin-bottom: 0; }
mark { background: var(--clay-soft); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s5); }
.form__row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: 6px; }
.field label, .field legend, .label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--accent-ink); }
.field__hint { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--stone); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--clay); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--clay-soft); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; font-weight: 600; }
.field__error:empty { display: none; }
/* An unanswered choice question: outline its options in red so it stands out. */
.field.has-error .option span { border-color: var(--danger); }
/* "Almost there…" message right above the Next button on multi-step forms. */
.form-step-msg { margin: 0 0 var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: .95rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: flex; flex-wrap: wrap; gap: var(--s2); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 var(--s4); border: 1px solid var(--stone); border-radius: var(--r-pill);
  background: var(--surface); font-weight: 500; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.option input:checked + span { border-color: var(--accent); background: var(--clay-soft); color: var(--accent-ink); font-weight: 600; }
.option input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: var(--s4) var(--s5); border-radius: var(--r-md); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--ok-soft); color: var(--ok); }
.form-status--error { background: var(--danger-soft); color: var(--danger); }
.form-success { text-align: center; padding: var(--s7) var(--s5); background: var(--ok-soft); border-radius: var(--r-xl); }
.form-success h3 { margin-bottom: var(--s2); }
.progress { height: 8px; border-radius: var(--r-pill); background: var(--sand); overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--accent); border-radius: var(--r-pill); transition: width .3s var(--ease); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: var(--s7); } }

/* star input */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: var(--stone); }
.star-input label svg { width: 32px; height: 32px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--warm); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

/* dropzone */
.dropzone {
  display: block; position: relative; border: 2px dashed var(--stone); border-radius: var(--r-lg); background: var(--bg); padding: var(--s5);
  text-align: center; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.dropzone:focus-within { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.dropzone:hover, .dropzone.is-over { background: var(--clay-soft); border-color: var(--clay); }
.dropzone input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone__thumbs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); justify-content: center; }
.thumb { position: relative; width: 84px; height: 84px; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--sand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__remove {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: var(--r-round); border: 0;
  background: var(--ink); color: var(--surface); display: grid; place-items: center; cursor: pointer; line-height: 1; padding: 0;
}
.thumb--cover { border-color: var(--accent); }
.thumb__tag { position: absolute; bottom: 4px; left: 4px; font-size: .66rem; font-weight: 700; background: var(--surface); color: var(--accent-ink); border-radius: var(--r-pill); padding: 1px 6px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: var(--s3) var(--s4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .85rem; font-weight: 600; color: var(--ink-soft); background: var(--bg); }
.table tr:last-child td, .table tr:last-child th { border-bottom: 0; }
.table .thumb { width: 52px; height: 52px; }
.facts-table th { font-size: .95rem; font-weight: 500; color: var(--ink-soft); width: 40%; background: none; }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: var(--ink-a60); }
.modal[hidden] { display: none; }
.modal__box {
  width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto; background: var(--bg);
  border-radius: var(--r-xl) var(--r-xl) 0 0; padding: var(--s5); box-shadow: var(--shadow-lift);
}
@media (min-width: 768px) { .modal { align-items: center; padding: var(--s5); } .modal__box { border-radius: var(--r-xl); padding: var(--s6); } }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s5); }
.modal__head h2 { font-size: 1.6rem; margin: 0; }
.modal__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--r-round); border: 1px solid var(--stone); background: var(--surface);
  display: inline-grid; place-items: center; cursor: pointer; flex: none; color: var(--ink);
}
.icon-btn:hover { background: var(--clay-soft); border-color: var(--clay); }
.icon-btn svg { width: 18px; height: 18px; }

.toasts { position: fixed; bottom: var(--s4); left: 50%; transform: translateX(-50%); z-index: 95; display: grid; gap: var(--s2); width: min(92vw, 420px); }
.toast {
  padding: var(--s3) var(--s5); border-radius: var(--r-lg); background: var(--ink); color: var(--surface);
  box-shadow: var(--shadow-lift); font-weight: 500; animation: toast-in .3s var(--ease);
}
.toast--ok { background: var(--accent-deep); }
.toast--error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- listings toolbar + filter sheet ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.toolbar__count { font-weight: 700; }
.toolbar__sort { display: flex; align-items: center; gap: var(--s2); }
.toolbar__sort .select { min-height: 42px; width: auto; }
.filters-btn { display: inline-flex; }
@media (min-width: 1024px) { .filters-btn { display: none; } }
.listing-layout { display: grid; gap: var(--s5); }
@media (min-width: 1024px) { .listing-layout { grid-template-columns: 260px 1fr; gap: var(--s7); align-items: start; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: grid; gap: var(--s5); position: sticky; top: calc(var(--nav-h) + 24px); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); } }
.filters.is-open {
  display: grid; gap: var(--s5); position: fixed; inset: auto 0 0 0; z-index: 70; max-height: 85vh; overflow-y: auto;
  background: var(--bg); padding: var(--s5); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--shadow-lift);
}
.filters__group h2, .filters__group h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s2); }
.filters__close { display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 1024px) { .filters__close, .filters__apply { display: none; } }
.backdrop { position: fixed; inset: 0; z-index: 65; background: var(--ink-a60); }
.backdrop[hidden] { display: none; }

/* ---------- detail page ---------- */
.detail { display: grid; gap: var(--s6); }
@media (min-width: 1024px) { .detail { grid-template-columns: 1.1fr .9fr; gap: var(--s8); align-items: start; } .detail__info { position: sticky; top: calc(var(--nav-h) + 24px); } }
.gallery-main .media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); cursor: zoom-in; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); margin-top: var(--s3); }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-md); overflow: hidden; background: none; cursor: pointer; opacity: .75; transition: opacity .2s var(--ease); }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.gallery-thumbs .media { border-radius: 0; aspect-ratio: 1 / 1; }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: var(--s9); background: var(--ink); color: var(--surface); padding: var(--s8) 0 var(--s5); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.site-footer :focus-visible { outline-color: var(--clay-on-dark); }
.site-footer a { color: var(--surface); text-decoration: none; }
.site-footer a:hover { color: var(--clay-on-dark); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__brand { display: flex; align-items: center; gap: var(--s3); font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.1; margin-bottom: var(--s4); color: var(--surface); }
.site-footer__brand span { color: var(--clay-on-dark); }
.site-footer__brand .logo__mark { width: 52px; height: 52px; }
.site-footer h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--clay-on-dark); margin-bottom: var(--s3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.site-footer p { color: var(--on-dark); }
.site-footer__contact a { font-weight: 600; overflow-wrap: anywhere; }
.site-footer__contact a[href^="tel:"] { white-space: nowrap; overflow-wrap: normal; }
.site-footer__grid > * { min-width: 0; }
.site-footer__rule { height: 4px; margin: var(--s6) 0 var(--s4); background: radial-gradient(circle, var(--clay) 2px, transparent 2.5px) 0 50% / 14px 4px repeat-x; opacity: .7; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: .88rem; color: var(--on-dark); }
.socials { display: flex; gap: var(--s2); margin-top: var(--s4); }
.socials a { width: 40px; height: 40px; border-radius: var(--r-round); background: var(--white-a10); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--clay-soft); padding: var(--s7) var(--s5); text-align: center; }
@media (min-width: 768px) { .cta-band { padding: var(--s8) var(--s7); } }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: var(--surface); opacity: .55; pointer-events: none; }
.cta-band::before { width: 220px; height: 200px; left: -70px; top: -70px; }
.cta-band::after { width: 260px; height: 220px; right: -90px; bottom: -110px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--ink-soft); }
.cta-band .eyebrow { justify-content: center; }
.cta-band .btn-row { justify-content: center; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- admin shell ---------- */
.admin-body { background: var(--bg); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: var(--s5) var(--gutter); }
.admin-login .form-card { width: 100%; max-width: 460px; }
.admin { min-height: 100vh; display: grid; grid-template-columns: 1fr; padding-bottom: 76px; }
@media (min-width: 1024px) { .admin { grid-template-columns: 250px 1fr; padding-bottom: 0; } }
.admin__side {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--ink); color: var(--surface);
  display: flex; overflow-x: auto; padding: var(--s2);
}
@media (min-width: 1024px) {
  .admin__side { position: sticky; top: 0; height: 100vh; flex-direction: column; padding: var(--s5) var(--s3); gap: 2px; overflow-y: auto; }
}
.admin__brand { display: none; font-family: var(--font-head); font-size: 1.4rem; padding: 0 var(--s3) var(--s5); }
@media (min-width: 1024px) { .admin__brand { display: block; } }
.admin__brand em { font-style: normal; color: var(--clay-on-dark); }
.admin__nav-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; padding: var(--s2);
  border: 0; border-radius: var(--r-md); background: none; color: var(--surface); font-size: .72rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
@media (min-width: 1024px) { .admin__nav-btn { flex-direction: row; gap: var(--s3); font-size: .95rem; padding: var(--s3); min-width: 0; text-align: left; } }
.admin__nav-btn svg { width: 20px; height: 20px; flex: none; }
.admin__nav-btn span:not(.admin__badge) { pointer-events: none; }
.admin__nav-btn:hover { background: var(--white-a10); color: var(--clay-on-dark); }
.admin__nav-btn[aria-current="page"] { background: var(--surface); color: var(--ink); }
.admin__nav-btn:focus-visible { outline-color: var(--clay-on-dark); }
.admin__badge { background: var(--clay-on-dark); color: var(--ink); border-radius: var(--r-pill); font-size: .7rem; font-weight: 700; padding: 0 7px; margin-left: auto; }
.admin__main { padding: var(--s5) var(--gutter) var(--s7); min-width: 0; }
@media (min-width: 1024px) { .admin__main { padding: var(--s6) var(--s7); } }
.admin__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.admin__top h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0; }
.admin__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--line); }
.admin-h2 { font-size: 1.4rem; margin-bottom: var(--s4); }
.admin-section + .admin-section { margin-top: var(--s7); }
.admin-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
@media (min-width: 1024px) { .admin-tiles { grid-template-columns: repeat(4, 1fr); } }
.admin-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow); }
a.admin-tile { color: inherit; text-decoration: none; transition: transform .2s var(--ease); }
a.admin-tile:hover { transform: translateY(-2px); color: inherit; }
.admin-tile__num { font-family: var(--font-head); font-size: 2.3rem; line-height: 1; color: var(--accent-ink); }
.admin-tile__label { color: var(--ink-soft); font-size: .92rem; }
.admin-banner { margin-bottom: var(--s5); }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s5); }
.admin-toolbar .input { flex: 1 1 240px; max-width: 420px; }
.admin-toolbar .select { width: auto; }
.admin-list { display: grid; gap: var(--s2); }
.admin-row {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.admin-row__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
@media (min-width: 768px) { .admin-row { grid-template-columns: auto 1fr auto; } .admin-row__actions { grid-column: auto; } }
.admin-row--inbox { grid-template-columns: 1fr; }
@media (min-width: 768px) { .admin-row--inbox { grid-template-columns: 1fr auto; } }
.admin-row__title { font-weight: 700; }
.admin-row__meta { font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s2); }
.admin-row__thumb { width: 56px; }
.admin-row__thumb .media { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
.admin-row__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r-round); background: var(--clay-soft); color: var(--accent-ink); }
.admin-row__icon svg { width: 24px; height: 24px; }
.admin-row__actions .icon-btn { width: 38px; height: 38px; }
.admin-row__actions .icon-btn[disabled] { opacity: .35; cursor: default; }
.drag-handle { cursor: grab; color: var(--ink-soft); }
.admin-dash { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1024px) { .admin-dash { grid-template-columns: 1fr 1fr; } }
.admin-review { display: grid; gap: var(--s3); align-content: start; }
.admin-review > .pill { justify-self: start; }
.admin-gallery { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.admin-gallery__item { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; gap: var(--s2); padding-bottom: var(--s3); }
.admin-gallery__item .media { border-radius: 0; }
.admin-gallery__item figcaption { display: grid; padding: 0 var(--s3); }
.admin-gallery__item .admin-row__actions { padding: 0 var(--s3); }
.editor-grid { display: grid; gap: var(--s4) var(--s5); }
@media (min-width: 640px) { .editor-grid { grid-template-columns: 1fr 1fr; } .editor-grid .field--wide { grid-column: 1 / -1; } }
.detail-list { margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
@media (min-width: 640px) { .detail-list { grid-template-columns: 1fr 1fr; } }
.detail-list dt { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.detail-list dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.im-list { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-bottom: var(--s3); }
.im-list:empty { display: none; }
.im-item { display: grid; gap: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s2); cursor: grab; }
.im-item__img { position: relative; }
.im-item .input { min-height: 38px; padding: 6px 10px; font-size: .88rem; }
.im-item__btns { display: flex; gap: 4px; justify-content: flex-end; }
.im-item__btns .icon-btn { width: 34px; height: 34px; }

/* ---------- page parts ---------- */
.section__foot { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.section__foot--center { justify-content: center; }
.text-cols { display: grid; gap: var(--s5); }
@media (min-width: 1024px) { .text-cols { grid-template-columns: .9fr 1.1fr; gap: var(--s8); } }
.link-list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s2); }
.link-list a { font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--accent-ink); }
.link-list a:hover { text-decoration: underline; }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: var(--r-round); background: var(--clay-soft); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 7px); width: 8px; height: 4px; border: solid var(--accent-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--s3); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); align-items: start; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.steps > li::before { content: counter(step); width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-round); background: var(--clay-soft); font-family: var(--font-head); font-size: 1.2rem; color: var(--accent-ink); }
.steps h3 { margin-bottom: var(--s1); }
.steps p { margin: 0; color: var(--ink-soft); }
.summary-box { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
@media (min-width: 768px) { .summary-box { padding: var(--s6); } }
.summary-box .checklist { margin: 0; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare th, .compare td { padding: var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-size: 1.35rem; font-weight: 400; line-height: 1.2; background: var(--clay-soft); color: var(--accent-ink); }
.compare tbody th { font-size: .9rem; font-weight: 600; color: var(--ink-soft); width: 26%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) {
  .compare th, .compare td { padding: var(--s3) var(--s2); font-size: .9rem; line-height: 1.5; }
  .compare thead th { font-size: 1.1rem; }
  .compare tbody th { font-size: .8rem; }
}
.policy { max-width: 70ch; }
.policy h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: var(--s7); }
.policy h2:first-child { margin-top: 0; }
.policy .updated { font-size: .88rem; color: var(--ink-soft); }
/* A value the owner still has to confirm (listed in PLACEHOLDERS.md). */
.tbd { background: var(--warm-soft); outline: 1px dashed var(--warm); outline-offset: 1px; border-radius: 3px; padding: 0 4px; }
.not-found { text-align: center; padding: var(--s8) 0; }
.not-found .face { width: 110px; margin: 0 auto var(--s4); }
.not-found .link-list { justify-content: center; }

/* forms: steps, contact details */
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s5); }
.form-step[hidden] { display: none; }
.form-steps { display: grid; gap: var(--s2); margin-bottom: var(--s2); }
.form-steps__label { margin: 0; font-size: .92rem; font-weight: 700; color: var(--accent-ink); }
.form-nav { justify-content: space-between; padding-top: var(--s4); border-top: 1px solid var(--line); }
.form-nav [data-step-next], .form-nav [type="submit"] { margin-left: auto; }
.contact-list { margin: 0; display: grid; gap: var(--s4); }
.contact-list dt { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.contact-list dd { margin: 2px 0 0; overflow-wrap: anywhere; min-width: 0; }
.contact-list a { font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--accent-ink); }
.contact-list a:hover { text-decoration: underline; }

/* breed pages */
.breed-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin: var(--s5) 0; }
@media (min-width: 640px) { .breed-facts { grid-template-columns: repeat(4, 1fr); } }
.breed-facts div { padding: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.breed-facts dt { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.breed-facts dd { margin: 2px 0 0; font-weight: 700; line-height: 1.3; }
.breed-body { margin: 0 auto; }
.breed-body h2:first-child { margin-top: 0; }

/* puppies hub filters */
.filters__group { display: grid; gap: var(--s2); }
.filters__group .options { gap: var(--s2); }
.filters__group .option span { min-height: 40px; padding: 0 var(--s4); font-size: .92rem; }
.filters__links { display: grid; gap: var(--s1); }
.filters__links a { font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s5); }
.active-filters:empty { display: none; }
.active-filters .chip { cursor: default; background: var(--clay-soft); border-color: transparent; }

/* puppy profile */
.puppy-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.puppy-head + h1 { margin-bottom: var(--s2); }
.puppy-breed { font-weight: 600; color: var(--ink-soft); margin-bottom: var(--s4); }
.puppy-price { font-family: var(--font-head); font-size: 1.9rem; line-height: 1.15; margin: var(--s4) 0; color: var(--accent-ink); }
.puppy-price .muted { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.puppy-video { margin-top: var(--s4); }
.puppy-video video, .puppy-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); background: var(--ink); }
.parent-mini { display: flex; gap: var(--s3); align-items: center; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: inherit; }
.parent-mini:hover { border-color: var(--clay); color: inherit; }
.parent-mini .media { width: 56px; flex: none; }
.parent-mini__role { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.parent-mini__name { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.2; }

/* parents, litters, gallery */
.parents-group + .parents-group { margin-top: var(--s8); }
.parents-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.parents-group__head h2 { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.litter-card .card__body { gap: var(--s3); }
.litter-card__parents { display: grid; gap: var(--s2); margin: var(--s2) 0; }
@media (min-width: 640px) { .litter-card__parents { grid-template-columns: 1fr 1fr; } }
.gallery-figure { margin: 0; }
.gallery-figure figcaption { font-size: .9rem; color: var(--ink-soft); padding-top: var(--s2); }

/* FAQ page */
.faq-tools { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.faq-search { position: relative; max-width: 560px; }
.faq-search .input { padding-left: 46px; min-height: 54px; border-radius: var(--r-pill); }
.faq-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); pointer-events: none; }
.faq-group + .faq-group { margin-top: var(--s7); }
.faq-group__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--s4); }
.faq-group[hidden], [data-faq-item][hidden] { display: none; }
.faq-layout { display: grid; gap: var(--s6); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 300px; gap: var(--s8); align-items: start; } .faq-layout__aside { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- style guide helpers ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s3); }
.swatch { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); font-size: .85rem; }
.swatch__color { height: 72px; border-bottom: 1px solid var(--line); }
.swatch__info { padding: var(--s2) var(--s3); }
.sg-block { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.sg-block > h2 { font-size: 1.7rem; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  a.card:hover, .gallery-grid__item:hover .media { transform: none; }
}
