/* ========================================
   Morning Fire Retrievers — Dark Ember Editorial
   Warm, dark, fire-themed, photography-forward
   ======================================== */

:root {
  /* Backgrounds */
  --bg-dark: #1B1511;
  --bg-dark-alt: #221A14;
  --bg-dark-card: #2A2018;
  --bg-dark-elevated: #33271E;

  /* Text */
  --text-light: #EDE5DA;
  --text-medium: #B8A898;
  --text-muted: #8A7B6B;
  --text-dark: #2A1D13;

  /* Primary Accent — Morning Fire Ember */
  --fire-800: #6B2E14;
  --fire-700: #8B3A1A;
  --fire-600: #A84820;
  --fire-500: #C45A2A;
  --fire-400: #D4714A;

  /* Warm Accent — Sunrise Amber */
  --amber-700: #8A6B14;
  --amber-600: #B8861E;
  --amber-500: #CFA033;
  --amber-400: #DAB34A;
  --amber-300: #E6C96E;

  /* Borders & Shadows */
  --border-dark: rgba(255,255,255,0.06);
  --border-dark-accent: rgba(207,160,51,0.12);
  --shadow-dark: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-dark-lg: 0 8px 40px rgba(0,0,0,0.4);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  background: var(--bg-dark);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fire-400); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--fire-500); }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--fire-600);
  color: #fff;
  border-color: var(--fire-600);
}
.btn-primary:hover {
  background: var(--fire-500);
  border-color: var(--fire-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(168, 72, 32, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--fire-400);
  border-color: var(--fire-600);
}
.btn-outline:hover {
  background: var(--fire-600);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--fire-600);
  color: #fff;
  border-color: var(--fire-600);
}
.btn-gold:hover {
  background: var(--fire-500);
  border-color: var(--fire-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(168, 72, 32, 0.4);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 0.9rem; }
.btn-disabled { opacity: 0.5; cursor: default; }
.btn-disabled:hover { transform: none; box-shadow: none; }

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 21, 17, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-light);
  flex-shrink: 0;
}
.logo-link:hover { color: var(--amber-400); }
.logo-img { height: 40px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-link {
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  transition: all 0.2s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--amber-400); }
.header-contact {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.3rem clamp(1rem, 3vw, 2rem);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-contact a { color: rgba(255,255,255,0.5); }
.header-contact a:hover { color: var(--amber-400); }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  position: absolute;
  left: 5px;
}
.hamburger { top: 15px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ========================================
   Homepage Body
   ======================================== */
.homepage-body {
  background: url('/images/hero-bg.webp') center top / cover no-repeat fixed;
  color: var(--text-light);
}
@supports not (background-image: url('/images/hero-bg.webp')) {
  .homepage-body { background-image: url('/images/hero-bg.jpg'); }
}

/* ========================================
   Hero — Contained cinematic banner
   ======================================== */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
  background: transparent;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(27,21,17,0.3) 0%, rgba(27,21,17,0.45) 50%, rgba(27,21,17,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 30px rgba(0,0,0,0.5);
  opacity: 0;
  animation: hero-in 0.7s ease-out 0.15s forwards;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
  opacity: 0;
  animation: hero-in 0.7s ease-out 0.4s forwards;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Hunter Callout — standalone section
   ======================================== */
.hunter-callout {
  background: rgba(34,26,20,0.65);
  border-top: 2px solid var(--amber-500);
  border-bottom: 2px solid var(--amber-500);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.callout-inner {
  max-width: 820px;
  margin: 0 auto;
}
.callout-text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  color: var(--text-medium);
  line-height: 1.75;
  margin: 0;
}
.callout-text .callout-punch {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--amber-400);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ========================================
   Parents Section
   ======================================== */
.parents-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  background: rgba(27,21,17,0.65);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-rule {
  width: 50px;
  height: 3px;
  background: var(--amber-500);
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}
.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.parent-card {
  background: var(--bg-dark-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark-accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.parent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark-lg);
  border-color: rgba(207,160,51,0.25);
}
.parent-photo {
  position: relative;
  overflow: hidden;
}
.parent-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease);
}
.parent-card:hover .parent-photo img {
  transform: scale(1.03);
}
.parent-details {
  padding: 1.5rem;
}
.parent-role {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-500);
  display: block;
  margin-bottom: 0.25rem;
}
.parent-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 0.15rem;
  line-height: 1.15;
}
.parent-fullname {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.parent-highlights {
  list-style: none;
  margin-bottom: 1.25rem;
}
.parent-highlights li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border-dark);
}
.parent-highlights li:last-child { border-bottom: none; }
.parent-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fire-500);
}
.parent-actions {
  display: flex;
  gap: 0.6rem;
}
.parent-actions .btn { flex: 1; }

/* ========================================
   Content Panels
   ======================================== */
.content-panel {
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem);
  background: rgba(27,21,17,0.65);
}
.panel-inner {
  max-width: 820px;
  margin: 0 auto;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border-dark);
}
.panel-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--amber-400);
  text-align: center;
  margin-bottom: 0.4rem;
}
.panel-rule {
  width: 40px;
  height: 3px;
  background: var(--amber-500);
  border-radius: 2px;
  margin: 0 auto 1.75rem;
}
.panel-inner .prose {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.85;
}
.panel-inner .prose a {
  color: var(--fire-400);
  text-decoration: underline;
  text-decoration-color: rgba(212, 113, 74, 0.3);
  text-underline-offset: 2px;
}
.panel-inner .prose a:hover {
  color: var(--fire-500);
  text-decoration-color: var(--fire-500);
}

/* ========================================
   About Dog — Cinematic Profile
   ======================================== */
.about-dog-page {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* --- Cinematic Hero --- */
.dog-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  max-height: 550px;
  overflow: hidden;
  background: var(--bg-dark);
}
.dog-hero-bg { position: absolute; inset: 0; }
.dog-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top 20%;
}
.dog-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg-dark) 0%, rgba(27,21,17,0.6) 30%, rgba(27,21,17,0.1) 55%, transparent 75%),
    linear-gradient(to right, rgba(27,21,17,0.3) 0%, transparent 40%);
  pointer-events: none;
}
.dog-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 clamp(2rem, 5vw, 5rem) 2rem;
  max-width: 1200px;
}
.dog-hero-role {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-400);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: dog-hero-in 0.6s ease-out 0.15s forwards;
}
.dog-hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.9;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 20px rgba(0,0,0,0.4);
  opacity: 0;
  animation: dog-hero-in 0.6s ease-out 0.3s forwards;
}
.dog-hero-fullname {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.6);
  margin: 0;
  opacity: 0;
  animation: dog-hero-in 0.6s ease-out 0.45s forwards;
}
@keyframes dog-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Stat Strip --- */
.dog-stats {
  background: var(--fire-700);
  border-top: 3px solid var(--amber-500);
}
.stats-strip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
  min-width: 130px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-of-type { border-right: none; }
.stat-divider { display: none; }
.stat-headline {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.stat-detail {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-year {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--amber-400);
  letter-spacing: 0.1em;
  margin-top: 0.1rem;
}

/* --- Pull-Quote Descriptors --- */
.dog-quote {
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background: var(--bg-dark);
}
.quote-inner { max-width: 750px; margin: 0 auto; }
.quote-rule {
  height: 1px;
  background: var(--border-dark-accent);
  margin: 0 auto;
  max-width: 300px;
}
.quote-words {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  color: var(--text-light);
  line-height: 1.8;
  padding: 1.5rem 0;
  margin: 0;
}
.quote-sep {
  color: var(--amber-500);
  font-style: normal;
  margin: 0 0.15em;
  opacity: 0.6;
}
.quote-attr {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --- Editorial Story --- */
.dog-story {
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
  background: var(--bg-dark);
}
.story-container { max-width: 700px; margin: 0 auto; }
.story-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--amber-400);
  text-align: center;
  margin-bottom: 0.5rem;
}
.story-divider {
  width: 40px;
  height: 3px;
  background: var(--amber-500);
  border-radius: 2px;
  margin: 0 auto 2rem;
}
.story-text {
  color: var(--text-medium);
  font-size: 1.02rem;
  line-height: 1.9;
}
.story-text p { margin-bottom: 1.4em; }
.story-text p:last-child { margin-bottom: 0; }
.story-text p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.78;
  padding-right: 0.08em;
  padding-top: 0.04em;
  color: var(--fire-500);
  font-weight: 700;
}
.story-text a {
  color: var(--fire-400);
  text-decoration: underline;
  text-decoration-color: rgba(212, 113, 74, 0.3);
  text-underline-offset: 2px;
}
.story-text a:hover { text-decoration-color: var(--fire-400); }

/* --- Bloodline / Heritage --- */
.dog-bloodline {
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
  background: var(--bg-dark);
}
.bloodline-container,
.prev-breedings-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark-accent);
  border-radius: 12px;
  padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
}
.bloodline-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--amber-400);
  text-align: center;
  margin-bottom: 0.5rem;
}
.bloodline-entries { display: flex; flex-direction: column; }
.bloodline-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.bloodline-row:last-child { border-bottom: none; }
.bloodline-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-500);
  min-width: 72px;
  flex-shrink: 0;
}
.bloodline-line {
  flex: 0 0 20px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.bloodline-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.4;
}
a.bloodline-name {
  color: var(--fire-400);
  text-decoration: underline;
  text-decoration-color: rgba(212, 113, 74, 0.25);
  text-underline-offset: 2px;
}
a.bloodline-name:hover { color: var(--fire-500); text-decoration-color: var(--fire-500); }
.bloodline-cta {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
}

/* --- Previous Breedings --- */
.dog-prev-breedings {
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
  background: var(--bg-dark);
}
.prev-note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.prev-list { display: flex; flex-direction: column; gap: 0.5rem; }
.prev-link {
  display: block;
  padding: 0.75rem 1.2rem;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark-accent);
  border-radius: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--fire-400);
  transition: all 0.2s var(--ease);
}
.prev-link:hover {
  background: rgba(168, 72, 32, 0.1);
  border-color: var(--fire-500);
  transform: translateX(4px);
}

/* --- Action Buttons --- */
.dog-actions {
  padding: 1rem clamp(1.5rem, 5vw, 4rem) 4rem;
  background: var(--bg-dark);
}
.actions-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.dog-actions .btn { min-width: 190px; }

/* ========================================
   Gallery Page
   ======================================== */
.gallery-page {
  padding: 3rem 0 4rem;
  background: var(--bg-dark);
  color: var(--text-light);
}
.gallery-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.gallery-page .page-title { color: #fff; }
.gallery-page .page-subtitle { color: var(--text-muted); font-family: var(--font-display); font-style: italic; }
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-dark-accent);
  transition: all 0.25s var(--ease);
  background: var(--bg-dark-card);
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-dark-lg);
  border-color: var(--amber-500);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.video-item video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-dark-accent);
}
.gallery-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(27, 21, 17, 0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2.5rem;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 1rem; right: 1.5rem; font-size: 2rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ========================================
   Single Page Content
   ======================================== */
.page-content {
  padding: 3rem 0 4rem;
  background: var(--bg-dark);
  color: var(--text-light);
}
.page-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.page-content .prose { line-height: 1.9; color: var(--text-medium); }
.page-title { margin-bottom: 0.5rem; color: #fff; }
.page-subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.page-content .prose img {
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-dark-accent);
}
.page-content .prose ul { margin: 1rem 0 1.5rem 1.5rem; }
.page-content .prose li { margin-bottom: 0.4rem; color: var(--text-medium); }
.page-content .prose a {
  color: var(--fire-400);
  text-decoration: underline;
  text-decoration-color: rgba(212, 113, 74, 0.3);
  text-underline-offset: 2px;
}
.page-content .prose a:hover { text-decoration-color: var(--fire-400); }
.page-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-list { display: grid; gap: 1rem; margin-top: 2rem; }
.page-list-item {
  display: block;
  padding: 1.25rem;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark-accent);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}
.page-list-item:hover { border-color: var(--fire-500); transform: translateX(4px); }
.page-list-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; color: #fff; }
.page-list-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ========================================
   Health Page
   ======================================== */
.health-note-page {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark-accent);
  border-radius: 8px;
}
.health-note-page p { color: var(--text-medium); }
.doc-links { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }
.health-btn-wrap { text-align: center; margin: 1.5rem 0; }

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 3px solid var(--fire-700);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  text-align: center;
}
.footer-brand { margin-bottom: 1.5rem; }
.footer-logo { height: 55px; margin: 0 auto 0.75rem; opacity: 0.8; }
.footer-brand h3 { font-size: 1.3rem; color: var(--text-light); font-weight: 600; }
.footer-contact { margin-bottom: 1.5rem; }
.footer-contact p { margin-bottom: 0.4rem; }
.footer-contact a { color: rgba(255,255,255,0.5); font-size: 0.95rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--amber-400); }
.footer-copy {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark-alt);
    flex-direction: column;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-dark);
    z-index: 200;
  }
  .main-nav.open { display: flex; }
  .nav-link {
    padding: 0.85rem 1rem;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-dark);
  }
  .nav-link:last-child { border-bottom: none; }
  .header-contact { justify-content: center; text-align: center; }

  .hero { min-height: 45vh; }
  .parents-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .parent-photo img { aspect-ratio: 1 / 1; object-position: top 20%; }
  .parent-actions { flex-direction: column; }

  .dog-hero { height: 55vh; min-height: 350px; }
  .dog-hero-overlay { padding: 0 1.5rem 1.5rem; }
  .dog-hero-name { font-size: clamp(2.5rem, 12vw, 4.5rem); }
  .stats-strip { flex-wrap: wrap; }
  .stat-item {
    flex: 1 1 45%;
    min-width: 0;
    padding: 1rem 0.8rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .quote-words { font-size: clamp(1.15rem, 4.5vw, 1.5rem); }
  .story-text p:first-of-type::first-letter { font-size: 3em; }
  .bloodline-row { flex-wrap: wrap; }
  .bloodline-line { display: none; }
  .bloodline-label { min-width: auto; }
  .actions-container { flex-direction: column; }
  .dog-actions .btn { min-width: auto; }
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
  .video-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 0.95rem; }
  .hero { min-height: 40vh; padding: 2.5rem 1.25rem; }
  .callout-text .callout-punch { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .parents-grid { max-width: 100%; }
  .parent-photo img { aspect-ratio: 3/4; }
  .parent-name { font-size: 1.4rem; }
  .dog-hero { height: 45vh; min-height: 300px; }
  .stat-item { flex: 1 1 100%; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}
