/* =====  LIVE ANIMALS PAGE  ===== */

.page-hero {
  padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(circle at 80% 20%, var(--color-primary-soft), transparent 50%),
    radial-gradient(circle at 20% 80%, var(--color-accent-soft), transparent 50%),
    var(--color-bg);
  text-align: center;
}

.page-hero-inner { max-width: 880px; margin: 0 auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--s-8);
  transition: color var(--t-fast), transform var(--t-fast);
  font-weight: 500;
}
.back-link:hover { color: var(--color-primary); transform: translateX(-3px); }

.page-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--s-4);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--s-6);
}
.page-title em { font-style: italic; color: var(--color-primary); }

.page-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--s-10);
}

.page-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}

/* =====  FILTER PILLS  ===== */
.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 40;
  padding: var(--s-4) 0;
  background: rgba(246, 239, 225, 0.97);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.filter-inner {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.filter-inner::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.filter-pill:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}
.filter-pill.active {
  background: #22513a;
  color: #fdf9ee;
  border-color: #22513a;
}

/* =====  GALLERY GRID  ===== */
.gallery {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
  background: var(--color-surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: clamp(16px, 2vw, 24px);
}

.g-card {
  grid-column: span 4;
  grid-row: span 1;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-bg);
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), opacity 0.3s ease;
}
.g-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(20, 20, 10, 0.22);
}
.g-card.hidden {
  display: none;
}

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 6; }

.g-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.g-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 20, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.g-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.g-card:hover .g-img img { transform: scale(1.06); }

.g-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(16px, 2vw, 26px);
  z-index: 2;
  color: #fdf9ee;
}
.g-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #d9a96c;
  margin-bottom: 8px;
}
.g-info h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.1;
  color: #fdf9ee;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.g-info p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e3d9c4;
  max-width: 38ch;
}

/* =====  PROCESS  ===== */
.process {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--color-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(40px, 6vw, 64px);
}

.process-step {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -20px rgba(20,20,10,0.18);
}

.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--s-5);
  opacity: 0.85;
}
.process-step h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* =====  RESPONSIVE  ===== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 240px;
  }
  .g-card { grid-column: span 3; }
  .g-wide { grid-column: span 6; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .filter-bar { top: 64px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .g-card,
  .g-tall,
  .g-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .g-tall { grid-row: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .page-hero-cta { flex-direction: column; }
  .page-hero-cta .btn { width: 100%; }
}
