/* ============================================================
   Faithfully Yours Labradors, LLC — Site Styles
   Palette: deep forest green, warm cream, soft gold, charcoal
   ============================================================ */

:root {
  --forest: #1e3a2f;
  --forest-deep: #142820;
  --forest-mid: #2d5545;
  --forest-soft: #3d6b56;
  --cream: #f7f3ea;
  --cream-dark: #ebe4d6;
  --cream-warm: #faf7f1;
  --gold: #c4a35a;
  --gold-soft: #d4b87a;
  --gold-muted: #a88b45;
  /* Sky blue from brand logo rings — accent alongside gold */
  --sky: #3d9fd8;
  --sky-soft: #6bb5e0;
  --sky-muted: #2e7fad;
  --charcoal: #2a2a28;
  --charcoal-soft: #4a4a46;
  --muted: #6b6b64;
  --white: #ffffff;
  --border: rgba(30, 58, 47, 0.12);
  --shadow: 0 4px 24px rgba(20, 40, 32, 0.08);
  --shadow-lg: 0 12px 40px rgba(20, 40, 32, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 80px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream-warm);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--forest-deep);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.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;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest-deep);
  flex-shrink: 0;
}

.logo:hover { opacity: 0.92; }

.logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  /* Never recolor — brand is black + sky blue on white */
  background: transparent;
}

.logo-llc {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-end;
  margin-bottom: 0.35rem;
}

.footer-brand .logo-img {
  height: 64px;
  max-width: 200px;
  /* Logo sits on dark footer — white plate behind for legibility */
  background: var(--white);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--forest);
}

.nav-toggle svg { display: block; width: 22px; height: 22px; }

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  color: var(--charcoal-soft);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover {
  background: var(--cream-dark);
  color: var(--forest);
}

.site-nav a[aria-current="page"] {
  background: var(--forest);
  color: var(--cream);
}

.site-nav a[aria-current="page"]:hover {
  background: var(--forest-mid);
  color: var(--cream);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--forest-deep);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 55%, var(--forest-mid) 100%);
  color: var(--cream);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/paw.svg");
  background-repeat: no-repeat;
  background-position: 92% 80%;
  background-size: 180px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-soft);
  margin-bottom: 1rem;
}

.hero-eyebrow .paw-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-soft);
  margin-bottom: 1.25rem;
}

.hero-lead {
  color: rgba(247, 243, 234, 0.88);
  max-width: 36em;
  font-size: 1.05rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.hero-silhouette {
  width: min(100%, 340px);
  color: rgba(247, 243, 234, 0.18);
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.hero .btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--forest-deep);
}

.hero .btn-secondary {
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.45);
}

.hero .btn-secondary:hover {
  background: rgba(247, 243, 234, 0.12);
  color: var(--cream);
  border-color: var(--cream);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-header .eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--muted);
}

.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  text-align: center;
}

.page-hero h1 { color: var(--cream); margin-bottom: 0.4rem; }
.page-hero p {
  color: rgba(247, 243, 234, 0.85);
  max-width: 36rem;
  margin-inline: auto;
}

/* ---------- Highlight cards ---------- */
.highlights {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .highlights { grid-template-columns: repeat(3, 1fr); }
}

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(30, 58, 47, 0.08);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg { width: 24px; height: 24px; }

.highlight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Intro / prose ---------- */
.intro-block {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .intro-block { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.prose {
  max-width: 42rem;
}

.prose .lede {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
}

.placeholder-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: rgba(196, 163, 90, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
}

.placeholder-note strong {
  color: var(--forest);
}

.accent-panel {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.accent-panel .panel-paw {
  position: absolute;
  width: 120px;
  opacity: 0.08;
  right: -10px;
  bottom: -10px;
  color: var(--cream);
}

.accent-panel h3 { color: var(--cream); }
.accent-panel p { color: rgba(247, 243, 234, 0.85); }

.cta-band {
  background: linear-gradient(120deg, var(--forest-deep), var(--forest-mid));
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.cta-band h2 { color: var(--cream); }
.cta-band p {
  color: rgba(247, 243, 234, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

/* ---------- Dog cards ---------- */
.dogs-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .dogs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .dogs-grid { grid-template-columns: repeat(3, 1fr); }
}

.dog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.dog-photo {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, var(--cream-dark) 0%, #ddd6c8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--forest-soft);
  position: relative;
}

.dog-photo svg {
  width: 72px;
  height: 72px;
  opacity: 0.45;
}

.dog-photo-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.dog-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dog-body h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.dog-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.dog-body p {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  flex: 1;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(30, 58, 47, 0.08);
  color: var(--forest);
  margin-top: 1rem;
  align-self: flex-start;
}

.badge-soon {
  background: rgba(196, 163, 90, 0.18);
  color: var(--gold-muted);
}

/* ---------- Pedigrees ---------- */
.pedigree-slots {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .pedigree-slots { grid-template-columns: repeat(2, 1fr); }
}

.pedigree-slot {
  background: var(--white);
  border: 2px dashed rgba(30, 58, 47, 0.22);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: border-color var(--transition), background var(--transition);
}

.pedigree-slot:hover {
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.04);
}

.pedigree-slot .slot-icon {
  width: 48px;
  height: 48px;
  color: var(--forest-soft);
  opacity: 0.6;
}

.pedigree-slot h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pedigree-slot p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 22rem;
}

.pedigree-slot code {
  font-size: 0.78rem;
  background: var(--cream-dark);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--charcoal-soft);
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.empty-state .empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--gold);
  opacity: 0.85;
}

.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--muted); }

.upload-guide {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.upload-guide h3 { margin-bottom: 0.75rem; }
.upload-guide ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--charcoal-soft);
}
.upload-guide li { margin-bottom: 0.5rem; }
.upload-guide li:last-child { margin-bottom: 0; }
.upload-guide code {
  font-size: 0.85em;
  background: var(--cream-dark);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-info {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h2 { color: var(--cream); }
.contact-info p { color: rgba(247, 243, 234, 0.85); }

.info-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.info-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(247, 243, 234, 0.15);
}

.info-list li:last-child { border-bottom: 1px solid rgba(247, 243, 234, 0.15); }

.info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}

.info-value {
  font-size: 1.05rem;
  color: var(--cream);
}

.info-value .placeholder-inline {
  opacity: 0.7;
  font-style: italic;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest-deep);
  margin-bottom: 0.4rem;
}

.form-group .hint {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(30, 58, 47, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30, 58, 47, 0.12);
  outline: none;
  background: var(--white);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ---------- About story ---------- */
.story-blocks {
  display: grid;
  gap: 1.5rem;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.story-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.story-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-item {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.value-item h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--forest);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--forest-deep);
  color: rgba(247, 243, 234, 0.8);
  padding: 2.5rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .logo-name { color: var(--cream); }
.footer-brand .logo-llc { color: rgba(247, 243, 234, 0.55); }
.footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: rgba(247, 243, 234, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 243, 234, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(247, 243, 234, 0.55);
}

.footer-bottom .paw-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 0.3rem;
  color: var(--gold);
  opacity: 0.7;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
    opacity: 1;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

}

/* ---------- Utility ---------- */
main { flex: 1; }

.gold-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

.section-header .gold-rule { margin-left: auto; margin-right: auto; }


/* ---------- Real logo mobile ---------- */
@media (max-width: 767px) {
  .logo-img { height: 48px; max-width: min(170px, 48vw); }
  .logo-llc { display: none; }
}

/* ---------- Dog fact list ---------- */
.dog-facts {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}
.dog-facts li {
  display: flex;
  gap: 0.4rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--border);
}
.dog-facts li:last-child { border-bottom: 0; }
.dog-facts .label {
  font-weight: 600;
  color: var(--forest);
  min-width: 5.5rem;
  flex-shrink: 0;
}
.dog-facts code, .akc-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  letter-spacing: 0.02em;
}
.badge-kennel {
  background: rgba(61, 159, 216, 0.15);
  color: var(--sky-muted);
}
.badge-yellow { background: rgba(196, 163, 90, 0.2); color: var(--gold-muted); }
.badge-black { background: rgba(42, 42, 40, 0.1); color: var(--charcoal); }

/* ---------- Pedigree gallery ---------- */
.pedigree-gallery {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .pedigree-gallery { grid-template-columns: repeat(2, 1fr); }
}
.pedigree-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pedigree-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.pedigree-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.pedigree-thumb {
  display: block;
  background: var(--cream-dark);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.pedigree-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.pedigree-card:hover .pedigree-thumb img {
  transform: scale(1.03);
}
.pedigree-thumb .zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  background: rgba(20, 40, 32, 0.75);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.pedigree-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 24, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  color: var(--cream);
  text-align: center;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background: var(--white);
  color: var(--forest-deep);
  border: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
}
.lightbox-close:hover { background: var(--sky); color: var(--white); }

.section-header .eyebrow { color: var(--sky-muted); }
.info-label { color: var(--sky-soft) !important; }


/* Footer social */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
  list-style: none;
  padding: 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.footer-social .tbd {
  opacity: 0.55;
  font-size: 0.85rem;
}

/* Footer logo plate — keep brand colors readable on dark footer */
.footer-brand .logo-img {
  height: 64px;
  max-width: 200px;
  background: var(--white);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
}


/* ---------- Photo gallery ---------- */
.photo-gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .photo-gallery.gallery-wide { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-dark);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(transparent, rgba(20,40,32,0.75));
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
}
.gallery-note {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}
.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0 0;
  list-style: none;
  padding: 0;
}
.color-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(30,58,47,0.08);
  color: var(--forest);
}
.color-chips .chip-white { background: #f5f5f0; border: 1px solid var(--border); }
.color-chips .chip-yellow { background: #f0e0a8; }
.color-chips .chip-fox { background: #c45a2d; color: #fff; }
.color-chips .chip-choc { background: #5c3a21; color: #fff; }
.color-chips .chip-black { background: #1a1a1a; color: #fff; }

.muted-note { font-size: 0.8rem; opacity: 0.75; }
.footer-social, .footer-social { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.footer-social a { color: var(--sky-soft); text-decoration: none; font-weight: 500; }
.footer-social a:hover { color: var(--gold-soft); }
.tbd { opacity: 0.55; font-size: 0.9rem; }

/* Aliases if pages mix naming */
.site-header { /* already defined */ }
.dogs-grid { /* already */ }

.lightbox[hidden] { display: none !important; }
.lightbox.is-open { display: flex !important; }


/* ---------- Compatibility aliases ---------- */
.gallery-caption { /* used in markup */ }
.photo-gallery .gallery-caption,
.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(transparent, rgba(20,40,32,0.78));
  color: var(--cream, #f7f3ea);
  font-size: 0.78rem;
  font-weight: 500;
}
.gallery-note {
  text-align: center;
  color: var(--muted, #6b6b64);
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
}
.section-alt { background: var(--cream, #f7f3ea); }
.btn-row, .button-row {
  display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem;
}
.muted-note { font-size: 0.8rem; opacity: 0.75; }
.badge-kennel {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(61, 159, 216, 0.18);
  color: var(--sky-muted, #2e7fad);
  margin-top: 0.75rem;
}
.badge-yellow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(196, 163, 90, 0.22);
  color: var(--gold-muted, #a88b45);
  margin-top: 0.75rem;
}
.badge-black {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(42,42,40,0.12);
  color: var(--charcoal, #2a2a28);
  margin-top: 0.75rem;
}
.dog-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--cream-dark, #ebe4d6), #ddd6c8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--forest-soft, #3d6b56);
}
.dog-photo img { width: 72px; height: 72px; opacity: 0.45; }
.dog-photo-label { font-size: 0.8rem; color: var(--muted, #6b6b64); }
.dog-body { padding: 1.25rem 1.35rem 1.5rem; }
.dog-meta { font-size: 0.85rem; color: var(--muted, #6b6b64); margin-bottom: 0.75rem; }
.dog-facts { list-style: none; margin: 0 0 0.85rem; padding: 0; font-size: 0.88rem; }
.dog-facts li { display: flex; gap: 0.45rem; padding: 0.2rem 0; border-bottom: 1px solid var(--border, rgba(30,58,47,0.12)); }
.dog-facts .label { font-weight: 600; color: var(--forest, #1e3a2f); min-width: 5.2rem; }
.akc-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.86em; }
.dogs-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .dogs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dogs-grid { grid-template-columns: repeat(3, 1fr); } }
.dog-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, rgba(30,58,47,0.12));
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 4px 24px rgba(20,40,32,0.08));
  display: flex; flex-direction: column;
}
.pedigree-gallery {
  display: grid; gap: 1.5rem;
}
@media (min-width: 700px) { .pedigree-gallery { grid-template-columns: repeat(2, 1fr); } }
.pedigree-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, rgba(30,58,47,0.12));
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 4px 24px rgba(20,40,32,0.08));
}
.pedigree-thumb {
  display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ddd6c8;
}
.pedigree-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.pedigree-card:hover .pedigree-thumb img { transform: scale(1.03); }
.zoom-hint {
  position: absolute; right: 0.65rem; bottom: 0.65rem;
  background: rgba(20,40,32,0.75); color: var(--cream, #f7f3ea);
  font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.55rem; border-radius: 999px;
}
.pedigree-card-body { padding: 1.15rem 1.25rem 1.35rem; }
.pedigree-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.color-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0 0;
}
.color-chips li {
  font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(30,58,47,0.08); color: var(--forest, #1e3a2f);
}
