/* ---------- Stat tiles ---------- */
.stat-tile img { width: 120px; height: 100px; margin: 0 auto 24px; }
.stat-tile h3 { font-size: 20px; letter-spacing: 0.04em; margin-bottom: 16px; color: var(--color-text-muted-heading); }
.stat-tile p { font-size: 15px; color: var(--color-text-muted-dark); max-width: 200px; margin: 0 auto; }

/* ---------- Video placeholder ---------- */
.video-placeholder {
  position: relative;
  overflow: hidden;
  background: #000;
}
.video-placeholder .video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder .video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder.is-playing .video-poster,
.video-placeholder.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
}
.video-placeholder--auto .video-poster { display: none; }
.video-placeholder .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder .play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--color-bg-dark);
  margin-left: 4px;
}
.video-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--color-text-light);
  font-size: 14px;
  letter-spacing: 0.05em;
}

#sir-owens-video {
  position: relative;
  max-width: 900px;
  margin: 40px auto 100px;
}
#sir-owens-video .video-placeholder { width: 100%; aspect-ratio: 16 / 9; }
.wax-seal--video-corner {
  position: absolute;
  bottom: -75px;
  right: -105px;
  width: 180px;
}
.carousel-card .video-poster,
.carousel-card .video-embed { aspect-ratio: 16 / 10; }
.breeding-card .video-placeholder { aspect-ratio: 16 / 9; }

/* ---------- Carousel controls ---------- */
.carousel-btn {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-near-black);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.carousel-btn img { width: 100%; height: 100%; }
.carousel-btn:hover { opacity: 1; background: none; }
.carousel-caption { font-family: var(--font-script); font-size: 40px; color: var(--color-text-near-black); }

/* ---------- Gallery controls (desktop) ---------- */
/* Full-width translucent bar across the bottom of the gallery. */
.gallery-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.5);
}
.gallery-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
/* White arrows, with a soft shadow so they stay legible over pale photos. */
.gallery-btn img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
.gallery-btn:hover { opacity: 1; background: none; }
/* Slick's dot list, re-parented into the bar (no slick-theme.css is loaded,
   so every dot style below is ours). */
.gallery-dots .slick-dots {
  position: static;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-dots .slick-dots li { width: auto; height: auto; margin: 0; }
.gallery-dots .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  font-size: 0;
  line-height: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gallery-dots .slick-dots li button::before { content: none; }
.gallery-dots .slick-dots li button:hover { background: rgba(255, 255, 255, 0.7); }
.gallery-dots .slick-dots li.slick-active button { background: #fff; transform: scale(1.3); }

/* ---------- Slick center mode ---------- */
.carousel-track .slick-slide.carousel-card {
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.88);
}
.carousel-track .slick-slide.carousel-card.slick-current {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Breeding illustration ---------- */
.breeding-illustration { max-width: 400px; width: 100%; margin: 16px auto; display: block; }

/* ---------- Scroll to top ---------- */
.scroll-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  border: none;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.scroll-to-top-arrow path { fill: currentColor; }
.scroll-to-top:hover .scroll-to-top-arrow {
  animation: scroll-to-top-slide-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.scroll-to-top-text {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  position: absolute;
  bottom: -26px;
  color: var(--color-accent);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-to-top:hover .scroll-to-top-text {
  opacity: 1;
}

@keyframes scroll-to-top-slide-in {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.lightbox-viewport {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 80px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.lightbox-image {
  width: 100%;
  max-width: none;
  height: auto;
  flex: none;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  transition: width 0.25s ease;
  cursor: zoom-in;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 40px;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
  z-index: 1;
}
.lightbox-zoom-controls {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 1;
}
.lightbox-zoom-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text-near-black);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Links ---------- */
.contact-block a:not(.contact-link):hover,
.vet-records a:hover { text-decoration: underline; }
