/* ==========================================================================
   MAJESTIC AMERICAN BULLIES — SHARED STYLESHEET
   Single stylesheet for all 128 pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --bg:            #0D0D0D;
  --bg-raised:     #151515;
  --bg-card:       #1A1A1A;
  --bg-inset:      #111111;

  --accent:        #9B59B6;
  --accent-soft:   #B07CC9;
  --accent-deep:   #6E3E86;
  --accent-glow:   rgba(155, 89, 182, 0.28);
  --accent-faint:  rgba(155, 89, 182, 0.10);

  --text:          #F2F0F4;
  --text-muted:    #A9A4AE;
  --text-dim:      #7C7783;

  --line:          #262229;
  --line-strong:   #363040;

  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     20px;

  --shadow:        0 4px 24px rgba(0, 0, 0, 0.55);
  --shadow-lift:   0 14px 44px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--accent-glow);

  --wrap:          1240px;
  --wrap-narrow:   860px;

  --font-head:     'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:     'Lato', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); margin-top: 0.4em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
h4 { font-size: 1.12rem; }

p  { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.35em; }
li { margin-bottom: 0.5em; }

strong, b { color: #fff; font-weight: 700; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow { max-width: var(--wrap-narrow); }

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt   { background: var(--bg-raised); border-block: 1px solid var(--line); }

.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head p { color: var(--text-muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.76rem;   /* 12.16px — floor for legibility */
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}

.lede { font-size: 1.12rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   4. HEADER + NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  /* Must be allowed to shrink. As a non-shrinking flex item it pushed the
     menu button past the viewport edge on 320px screens, which is what
     produced the 12px horizontal wobble on every page. min-width:0 lets a
     flex item shrink below its content width. */
  min-width: 0;
  flex-shrink: 1;
}
.brand-text { min-width: 0; }
.brand:hover { color: #fff; text-decoration: none; }
/* The logo artwork carries its own dark ground, so it sits directly on the
   header with no plate behind it. */
.brand-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  border-radius: 6px;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: #fff; text-decoration: none; }

.nav-cta {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: #fff;
  width: 42px; height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px var(--accent-glow);
}
.btn--primary:hover { background: var(--accent-soft); color: #fff; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; }

.btn--sm { padding: 11px 22px; font-size: 0.88rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 460px at 12% -10%, rgba(155, 89, 182, 0.20), transparent 62%),
    radial-gradient(700px 420px at 92% 8%, rgba(110, 62, 134, 0.16), transparent 60%),
    var(--bg);
}

/* Interior pages sit under a breadcrumb — less top air than the homepage. */
.hero--page { padding: 60px 0 62px; }

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent-soft); }

/* No bullets — plain spaced text, divider rules between items */
.hero-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 26px;
}
.hero-sub span { display: inline-flex; align-items: center; gap: 26px; }
.hero-sub span + span::before {
  content: "";
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

.hero p.lede { max-width: 720px; font-size: 1.16rem; }

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}
.hero-phone a { color: #fff; }
.hero-phone small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.trust-strip div {
  flex: 1 1 190px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.trust-strip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.34rem;
  color: #fff;
  line-height: 1.2;
}
.trust-strip span { font-size: 0.85rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   7. PUPPY GRID + CARDS
   -------------------------------------------------------------------------- */
/* Note above a filtered grid explaining the ordering */
.grid-note {
  margin: -14px 0 26px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Shown where a page has no matching puppies — better than padding the grid
   with dogs the visitor did not search for. */
.empty-grid {
  padding: 34px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.empty-grid p { color: var(--text-muted); }
.empty-grid p strong { color: #fff; font-size: 1.12rem; }
.empty-grid .btn-row { margin-top: 22px; }

.puppy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.puppy-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.puppy-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-lift);
}

.puppy-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-inset);
}
/* contain, never cover — the whole photo is always visible, never cropped */
.puppy-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.puppy-card:hover .puppy-card__media img { transform: scale(1.03); }

.puppy-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent-deep);
  color: var(--accent-soft);
  font-family: var(--font-head);
  font-size: 0.75rem;   /* 12px floor */
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.puppy-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.puppy-card__name {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.puppy-card__color {
  font-size: 0.92rem;
  color: var(--accent-soft);
  margin: 0 0 14px;
  font-weight: 700;
}

.puppy-card__meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.puppy-card__meta li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}
.puppy-card__meta li:last-child { margin-bottom: 0; }
.puppy-card__meta span { color: #fff; font-weight: 700; }
/* Size class is the main thing buyers filter on — give it the accent. */
.puppy-card__meta li:first-child span { color: var(--accent-soft); }

.puppy-card__price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.puppy-card .btn { margin-top: auto; width: 100%; }


/* Reserved state — applied at runtime from /status.json by the admin panel,
   so availability can change without regenerating 128 pages. */
.puppy-card.is-reserved { opacity: 0.62; }
.puppy-card.is-reserved .puppy-card__tag {
  background: var(--line-strong);
  color: var(--text-muted);
}
.btn--disabled {
  background: var(--line-strong) !important;
  color: var(--text-dim) !important;
  box-shadow: none !important;
  cursor: default;
  pointer-events: none;
}


/* The rest of the litter, shown below the matching puppies on colour pages —
   clearly fenced off so it cannot be mistaken for the coat searched for. */
.other-puppies {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}
.other-puppies h3 { margin-bottom: 6px; }
.other-puppies > p { color: var(--text-muted); margin-bottom: 26px; }

/* --------------------------------------------------------------------------
   8. LINK GRIDS (browse by type / color / state / guides)
   -------------------------------------------------------------------------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.link-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.link-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.link-tile {
  display: block;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.link-tile:hover {
  border-color: var(--accent);
  background: var(--accent-faint);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.link-tile small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 3px;
  font-weight: 400;
}

.link-tile--state { font-size: 0.88rem; padding: 13px 15px; }

/* --------------------------------------------------------------------------
   9. FEATURE / VALUE CARDS
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p:last-child { margin-bottom: 0; }
.feature-card p { color: var(--text-muted); font-size: 0.97rem; }

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-faint);
  border: 1px solid var(--accent-deep);
  color: var(--accent-soft);
  font-size: 1.25rem;
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   10. TABLES
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 30px;
  border: 1px solid var(--accent-deep);
  border-radius: var(--radius);
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 520px;
}

thead th {
  background: var(--accent-faint);
  font-family: var(--font-head);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-soft);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--accent-deep);
  white-space: nowrap;
}

tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(155, 89, 182, 0.045); }
tbody td:first-child { color: #fff; font-weight: 700; }

/* --------------------------------------------------------------------------
   11. HIGHLIGHT / CALLOUT BOXES
   -------------------------------------------------------------------------- */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--accent-deep);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 0 0 30px;
}
.callout h3 { margin-bottom: 10px; font-size: 1.16rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.3em; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--text-muted);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-soft);
  font-weight: 700;
}
.checklist strong { color: #fff; }

/* --------------------------------------------------------------------------
   11b. FAMILY / HANDOVER PHOTOS
   -------------------------------------------------------------------------- */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.family-photo {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.family-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
/* contain, not cover — same rule as the puppy cards. A fixed 320px height
   with object-fit:cover was clipping ~30% off these portrait photos on
   narrower columns. The whole photo stays visible at every width. */
.family-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  background: var(--bg-inset);
}
.family-photo figcaption {
  padding: 15px 18px 17px;
  font-size: 0.89rem;
  line-height: 1.55;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   12. TESTIMONIALS
   -------------------------------------------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.review-card__stars {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 14px;
}
.review-card blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}
.review-card cite {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 600;
  font-size: 0.94rem;
  color: #fff;
}
.review-card cite small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  padding: 11px 24px;
  margin-bottom: 34px;
}
.rating-summary strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}
.rating-summary span { font-size: 0.88rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. FAQ (native accordion)
   -------------------------------------------------------------------------- */
.faq { max-width: 900px; }

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq details[open] { border-color: var(--accent-deep); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 56px 19px 24px;
  position: relative;
  font-family: var(--font-head);
  font-size: 1.03rem;
  font-weight: 600;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-soft);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent-soft); }

.faq details > div {
  padding: 0 24px 22px;
  color: var(--text-muted);
}
.faq details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. CTA BLOCK
   -------------------------------------------------------------------------- */
.cta-block {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-deep);
  padding: 56px 44px;
  text-align: center;
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(155, 89, 182, 0.22), transparent 68%),
    var(--bg-card);
}
.cta-block h2 { margin-bottom: 14px; }
.cta-block p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 1.06rem;
}
.cta-block .btn-row { justify-content: center; }
.cta-block .cta-phone {
  margin-top: 22px;
  font-size: 0.94rem;
  color: var(--text-dim);
}
.cta-block .cta-phone a {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
}

/* --------------------------------------------------------------------------
   14b. CONTACT FORM
   -------------------------------------------------------------------------- */
.form-wrap { max-width: 820px; }

.contact-form .field { margin: 0 0 18px; }

/* Two fields side by side on desktop, stacked on mobile. */
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.contact-form label span { color: var(--accent-soft); }
.contact-form label small {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
}

/* Honeypot. Positioned off-screen rather than display:none — some bots skip
   fields that are display:none, which defeats the point of the trap. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Required location block — same styling as the optional qualifiers but
   flagged so it does not read as skippable. */
.qualifiers--location { border-left-color: var(--accent-soft); }

/* Optional qualification block — visually separated so it reads as "extra,
   helpful" rather than as more required work. */
.qualifiers {
  margin: 6px 0 24px;
  padding: 22px 22px 6px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-inset);
}
.qualifiers legend {
  padding: 0 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.qualifiers legend small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-top: 3px;
}
.qualifiers .field { margin-bottom: 16px; }

.contact-form select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  cursor: pointer;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint);
}
.contact-form option { background: var(--bg-card); color: var(--text); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-inset);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 150px; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }

.contact-form button[type="submit"] { border: none; cursor: pointer; font-size: 0.95rem; }

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---- puppy contract ---------------------------------------------------- */
.form-wrap--wide { max-width: 960px; }

.terms-block .terms-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding: 18px 20px;
  margin-bottom: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
  /* Make it obvious the box scrolls */
  box-shadow: inset 0 -14px 14px -14px rgba(0, 0, 0, 0.8);
}
.terms-scroll h4 {
  margin: 18px 0 8px;
  font-size: 0.98rem;
  color: var(--accent-soft);
}
.terms-scroll h4:first-child { margin-top: 0; }
.terms-scroll ul { margin: 0 0 0 1.1em; }
.terms-scroll li { margin-bottom: 8px; line-height: 1.6; }

.accept-row { display: grid; gap: 10px; }
.accept-row .check input { accent-color: var(--accent); width: 18px; height: 18px; }

/* Signature pad */
.sigwrap { position: relative; margin-top: 8px; }
.sigpad {
  display: block;
  width: 100%;
  height: 220px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: crosshair;
  touch-action: none;          /* stop the page scrolling while signing */
}
.sigpad__hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #9a9aa2;
  font-size: 1rem;
}
.sigclear { position: absolute; right: 12px; bottom: 12px; }

.contract-form fieldset { margin-bottom: 22px; }

@media (max-width: 620px) {
  .sigpad { height: 180px; }
  .terms-block .terms-scroll { max-height: 260px; }
}

/* Result banners after a submission */
.form-status {
  padding: 20px 22px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
}
.form-status h3 { margin-bottom: 8px; font-size: 1.14rem; }
.form-status p:last-child, .form-status ul:last-child { margin-bottom: 0; }
.form-status ul { margin: 0 0 0 1.1em; color: var(--text-muted); }
.form-status--ok { border-left-color: #4CAF7D; }
.form-status--ok h3 { color: #6FD79F; }
.form-status--error { border-left-color: #D9534F; }
.form-status--error h3 { color: #F08B88; }

/* --------------------------------------------------------------------------
   15. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-dim);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumb li { margin: 0; display: flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb [aria-current] { color: var(--text); }

/* --------------------------------------------------------------------------
   16. ARTICLE BODY (blog + info pages)
   -------------------------------------------------------------------------- */
.article > h2 {
  margin-top: 2em;
  padding-top: 0.35em;
  border-top: 1px solid var(--line);
}
.article > h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article > h3 { margin-top: 1.7em; }
.article p, .article li { color: var(--text-muted); }
.article strong { color: #fff; }
.article ul, .article ol { margin: 0 0 1.3em 1.2em; }
.article li { margin-bottom: 0.5em; }

/* Author byline — E-E-A-T block at the head of every guide */
.byline {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 2.2em;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.byline__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.byline strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: #fff;
}
.byline small { display: block; font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 16px;
}
.footer-col h4 + h4 { margin-top: 28px; }

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.87rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent-soft); text-decoration: underline; }

.footer-states {
  columns: 2;
  column-gap: 20px;
}
.footer-states li { break-inside: avoid; }

.footer-brand {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand p { margin: 0; color: var(--text-dim); font-size: 0.86rem; max-width: 460px; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.88rem;
}
.footer-contact a { color: #fff; font-family: var(--font-head); font-weight: 600; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.footer-legal a { color: var(--text-dim); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* --------------------------------------------------------------------------
   18. UTILITIES
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  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: -9999px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE — 4 col → 2 col → 1 col
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .link-grid--5, .link-grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: block; }

  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .site-header.open .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
  }
  .site-header.open .nav .nav-cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: none;
  }

  .puppy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .link-grid, .link-grid--3, .link-grid--5, .link-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; }

  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }

  .feature-grid, .feature-grid--2, .feature-grid--4 { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-states { columns: 2; }

  .cta-block { padding: 40px 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav-cta { width: auto; }

  .trust-strip div { flex: 1 1 100%; }
}

@media (max-width: 620px) {
  /* Nothing may be forced wider than the screen. Long unbroken strings —
     an email address, a slug in a URL — are the usual cause of a page that
     scrolls sideways a few pixels. */
  .article, .article p, .article li, .callout, .footer-brand,
  .form-status, .empty-grid, .byline small { overflow-wrap: anywhere; }

  /* Nothing below 12px on a phone. 0.75rem of a 16px root is exactly 12px,
     so this is the floor for every small-text element on the site. */
  small,
  .eyebrow,
  .hero-sub,
  .puppy-card__meta,
  .puppy-card__tag,
  .link-tile small,
  .byline small,
  .form-note,
  .footer-col h4,
  .breadcrumb { font-size: 0.79rem; }

  /* iOS zooms the whole page when a focused control is under 16px. */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }

  /* Footer is ~120 links in a dense list — 17px rows are hard to hit.
     Padding brings them to a comfortable target without doubling the
     footer's height the way a full 44px row would. */
  .footer-col li { margin-bottom: 0; }
  .footer-col li a { display: block; padding: 7px 0; }
  .footer-states li a { padding: 6px 0; }
  .footer-legal nav a { display: inline-block; padding: 6px 0; }
}

@media (max-width: 430px) {
  /* Reclaim header width so the menu button always fits. */
  .header-bar { gap: 10px; height: 66px; }
  .brand { gap: 9px; font-size: 0.95rem; }
  .brand-logo { height: 40px; }
  .brand-text small { display: none; }   /* tagline is the first thing to go */
  .site-header.open .nav { top: 66px; }
}

@media (max-width: 420px) {
  .puppy-grid { grid-template-columns: 1fr; }
  .link-grid, .link-grid--3, .link-grid--5, .link-grid--6 { grid-template-columns: 1fr; }
  .footer-states { columns: 1; }
}

@media (max-width: 360px) {
  /* Smallest phones still in use. Drop the wordmark entirely and keep the
     logo — the logo already carries the brand name in its artwork. */
  .brand-text { display: none; }
  .wrap { padding: 0 14px; }
}

/* --------------------------------------------------------------------------
   20. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-block, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
