/* =========================================================
   Our Dogs — Sires & Dams
   ========================================================= */

/* ---------- HERO ---------- */
.our-dogs-hero{
  position:relative;
  padding:120px 0 88px;
  background:#0f0d0b;
  color:#fbf7ec;
  overflow:hidden;
  isolation:isolate;
}
.our-dogs-hero__bg{
  position:absolute;inset:0;
  background:url('./assets/enzo-pasture-sit.jpg?v=20260720a') 60% 70%/cover no-repeat;
  opacity:.55;
  filter:saturate(.8) contrast(1.08) brightness(.75);
  z-index:-2;
}
.our-dogs-hero__scrim{
  position:absolute;inset:0;
  background: linear-gradient(180deg, rgba(15,13,11,.75) 0%, rgba(15,13,11,.55) 40%, rgba(15,13,11,.9) 100%);
  z-index:-1;
}
.our-dogs-hero__inner{ max-width:900px; }
.our-dogs-hero__eyebrow{
  font-family:'Bebas Neue', Impact, sans-serif;
  letter-spacing:.34em;
  font-size:.9rem;
  color:#c9a96e;
  margin-bottom:22px;
}
.our-dogs-hero__title{
  font-family:'Playfair Display', serif;
  font-weight:900;
  font-size:clamp(2.6rem, 5.5vw, 4.6rem);
  line-height:1.02;
  letter-spacing:-.02em;
  margin:0 0 26px;
  color:#fbf7ec !important;
}
.our-dogs-hero__title em{
  font-style:italic;
  font-weight:600;
  color:#c9a96e;
}
.our-dogs-hero__lede{
  font-size:1.18rem;
  line-height:1.55;
  color:#e8dfc9;
  max-width:720px;
  margin:0;
}

/* ---------- TAB ROW ---------- */
.our-dogs-tabs{
  background:#fbf7ec;
  border-bottom:1px solid rgba(15,13,11,.08);
  padding:32px 0 0;
  position:sticky;
  top:0;
  z-index:20;
}
.tab-row{
  display:flex;
  gap:0;
  border-bottom:1px solid rgba(15,13,11,.1);
}
.tab{
  background:transparent;
  border:0;
  border-bottom:3px solid transparent;
  padding:18px 32px 20px;
  cursor:pointer;
  font-family:'Bebas Neue', Impact, sans-serif;
  letter-spacing:.28em;
  font-size:1.05rem;
  color:#5a4a3d;
  transition: color .2s ease, border-color .2s ease;
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:60px;
}
.tab:hover{ color:#0a0705; }
.tab.is-active{
  color:#0a0705;
  border-bottom-color:#8b1414;
}
.tab__count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:22px;
  padding:0 8px;
  background:rgba(15,13,11,.08);
  color:#0a0705;
  font-family:'Inter', sans-serif;
  font-weight:700;
  font-size:.78rem;
  letter-spacing:0;
  border-radius:11px;
}
.tab.is-active .tab__count{
  background:#8b1414;
  color:#fbf7ec;
}

/* ---------- PANELS ---------- */
.our-dogs-panels{
  background:#fbf7ec;
  padding:64px 0 96px;
}
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }
.dogs-grid{
  display:flex;
  flex-direction:column;
  gap:64px;
}

/* ---------- DOG CARD ---------- */
.dog-card{
  background:#fbf7ec;
  border:1px solid rgba(15,13,11,.1);
  border-radius:3px;
  overflow:hidden;
  box-shadow: 0 28px 72px -34px rgba(15,13,11,.28);
  display:grid;
  grid-template-columns: minmax(360px, 48%) 1fr;
  gap:0;
}
.dog-card__portrait{
  min-height:560px;
  background-color:#1a1410;
}
.dog-card__body{
  padding:56px 56px 44px;
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0; /* allow grid child to shrink so long words wrap instead of overflowing */
}
.dog-card__body p,
.dog-card__bio,
.dog-card__bio p{
  overflow-wrap:break-word;
  word-wrap:break-word;
  hyphens:auto;
  max-width:100%;
}
.dog-card__eyebrow{
  font-family:'Bebas Neue', Impact, sans-serif;
  letter-spacing:.32em;
  font-size:.82rem;
  color:#8b1414;
}
.dog-card__name{
  font-family:'Playfair Display', serif;
  font-weight:900 !important;
  font-style:normal !important;
  font-size:clamp(2.6rem, 4.6vw, 3.8rem);
  line-height:1;
  letter-spacing:-.015em;
  margin:0;
  color:#0a0705 !important;
}
.dog-card__facts{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px 0 6px;
  border-top:1px solid rgba(15,13,11,.1);
  border-bottom:1px solid rgba(15,13,11,.1);
  margin:4px 0 4px;
  padding:16px 0;
}
.dog-card__meta-row{
  display:flex;
  gap:14px;
  align-items:baseline;
  font-size:.95rem;
  line-height:1.5;
}
.dog-card__meta-label{
  font-family:'Bebas Neue', Impact, sans-serif;
  letter-spacing:.22em;
  font-size:.72rem;
  color:#8b6a3a;
  min-width:130px;
  text-transform:uppercase;
}
.dog-card__meta-value{
  color:#0a0705;
  font-weight:600;
}
.dog-card__bio{
  font-size:1.05rem;
  line-height:1.6;
  color:#3a2f26;
  margin:0;
}
.dog-card__bio p{
  margin:0 0 var(--space-4);
}
.dog-card__bio p:last-child{ margin-bottom:0; }

.dog-card .alum-card__gallery{
  grid-column: 1 / -1;
  padding:36px 48px 48px;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap:24px;
  justify-items:center;
  border-top:1px solid rgba(15,13,11,.1);
  background:#f4ecd8;
}

/* Photo gallery (real photos, above the TikTok gallery) */
.dog-gallery{
  grid-column: 1 / -1;
  padding:32px 48px 40px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap:20px;
  border-top:1px solid rgba(15,13,11,.1);
  background:#fbf7ec;
}
.dog-gallery__item{
  margin:0;
  border-radius:3px;
  overflow:hidden;
  background:#1a1410;
  box-shadow: 0 20px 48px -30px rgba(15,13,11,.35);
}
.dog-gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  aspect-ratio: 4/5;
}
html[data-theme="dark"] .dog-gallery{ background:#1a1410; border-color:rgba(251,247,236,.08); }
@media (max-width: 900px){
  .dog-gallery{ padding:24px 20px 32px; }
}

/* ---------- EMPTY STATE (Dams) ---------- */
.dogs-grid--empty{
  display:block;
}
.dogs-empty{
  background:#fbf7ec;
  border:1px dashed rgba(139,20,20,.3);
  border-radius:3px;
  padding:80px 56px;
  text-align:center;
  max-width:640px;
  margin:0 auto;
}
.dogs-empty__eyebrow{
  font-family:'Bebas Neue', Impact, sans-serif;
  letter-spacing:.32em;
  font-size:.82rem;
  color:#8b1414;
  margin-bottom:18px;
}
.dogs-empty__title{
  font-family:'Playfair Display', serif;
  font-weight:900 !important;
  font-style:normal !important;
  font-size:clamp(1.9rem, 3.2vw, 2.4rem);
  line-height:1.1;
  letter-spacing:-.01em;
  margin:0 0 16px;
  color:#0a0705 !important;
}
.dogs-empty__text{
  font-size:1.02rem;
  line-height:1.6;
  color:#3a2f26;
  margin:0 0 28px;
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}

/* ---------- DARK THEME ---------- */
html[data-theme="dark"] .our-dogs-tabs{ background:#1a1410; border-bottom-color:rgba(251,247,236,.08); }
html[data-theme="dark"] .tab-row{ border-bottom-color:rgba(251,247,236,.12); }
html[data-theme="dark"] .tab{ color:#c9b8a3; }
html[data-theme="dark"] .tab:hover, html[data-theme="dark"] .tab.is-active{ color:#fbf7ec; }
html[data-theme="dark"] .tab__count{ background:rgba(251,247,236,.1); color:#fbf7ec; }
html[data-theme="dark"] .our-dogs-panels{ background:#1a1410; }
html[data-theme="dark"] .dog-card{ background:#241b15; border-color:rgba(251,247,236,.08); }
html[data-theme="dark"] .dog-card__body{ color:#e8dfc9; }
html[data-theme="dark"] .dog-card__name{ color:#fbf7ec !important; }
html[data-theme="dark"] .dog-card__facts{ border-color:rgba(251,247,236,.12); }
html[data-theme="dark"] .dog-card__meta-value{ color:#fbf7ec; }
html[data-theme="dark"] .dog-card__bio{ color:#c9b8a3; }
html[data-theme="dark"] .dog-card .alum-card__gallery{ background:#0f0d0b; border-color:rgba(251,247,236,.08); }
html[data-theme="dark"] .dogs-empty{ background:#241b15; }
html[data-theme="dark"] .dogs-empty__title{ color:#fbf7ec !important; }
html[data-theme="dark"] .dogs-empty__text{ color:#c9b8a3; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px){
  .dog-card{
    grid-template-columns: minmax(0, 1fr);
  }
  .dog-card__portrait{
    min-height:420px;
    aspect-ratio: 4/5;
  }
  .dog-card__body{ padding:36px 28px 28px; }
  .dog-card__meta-label{ min-width:110px; font-size:.68rem; }
  .dog-card .alum-card__gallery{ padding:28px 20px 36px; }
  .tab{ padding:16px 22px 18px; letter-spacing:.22em; font-size:.98rem; }
  .our-dogs-hero{ padding:88px 0 64px; }
}

@media (max-width: 520px){
  .dog-card__meta-row{ flex-direction:column; gap:2px; align-items:flex-start; }
  .dog-card__meta-label{ min-width:0; }
  .dogs-empty{ padding:56px 28px; }
}

/* ==================================================
   Growth Teaser (Enzo card &rarr; enzo.html)
   ================================================== */
.growth-teaser{
  display:block;
  margin-top:28px;
  padding:24px 24px 22px;
  background:linear-gradient(180deg, #0d0906 0%, #14100b 100%);
  border:1px solid rgba(201,169,110,0.22);
  border-radius:6px;
  color:#fbf7ec !important;
  text-decoration:none;
  transition:border-color .25s ease, transform .25s ease;
  position:relative;
  overflow:hidden;
}
.growth-teaser::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 90% 20%, rgba(201,169,110,0.08), transparent 55%);
  pointer-events:none;
}
.growth-teaser:hover{ border-color:rgba(201,169,110,0.55); transform:translateY(-1px); }
.growth-teaser:hover .growth-teaser__cta{ color:#c9a96e !important; letter-spacing:.22em; }

.growth-teaser__head{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:16px; margin-bottom:18px;
  position:relative; z-index:1;
}
.growth-teaser__eyebrow{
  font-family:"Bebas Neue", sans-serif;
  font-size:.72rem;
  letter-spacing:.32em;
  color:#c9a96e !important;
  text-transform:uppercase;
}
.growth-teaser__label{
  font-family:"Playfair Display", serif;
  font-style:italic;
  font-size:1.5rem;
  color:#fbf7ec !important;
  line-height:1.15;
  flex:1 1 auto;
}
.growth-teaser__cta{
  font-family:"Bebas Neue", sans-serif;
  font-size:.7rem;
  letter-spacing:.2em;
  color:#fbf7ec !important;
  text-transform:uppercase;
  white-space:nowrap;
  transition:color .2s ease, letter-spacing .2s ease;
}

.growth-teaser__strip{
  display:flex; align-items:center; gap:14px;
  position:relative; z-index:1;
}
.growth-teaser__tile{
  flex:1 1 0;
  aspect-ratio: 1 / 1;
  border-radius:4px;
  overflow:hidden;
  position:relative;
  background:#0a0705;
  border:1px solid rgba(251,247,236,0.08);
}
.growth-teaser__tile img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}
.growth-teaser:hover .growth-teaser__tile img{ transform:scale(1.04); }
.growth-teaser__stage{
  position:absolute; left:8px; bottom:6px;
  font-family:"Bebas Neue", sans-serif;
  font-size:.62rem;
  letter-spacing:.22em;
  color:#fbf7ec !important;
  text-transform:uppercase;
  text-shadow:0 1px 4px rgba(0,0,0,.85);
}
.growth-teaser__arrow{
  flex:0 0 auto;
  color:#c9a96e !important;
  font-family:"Bebas Neue", sans-serif;
  font-size:1.1rem;
  line-height:1;
  opacity:.75;
}

@media (max-width: 640px){
  .growth-teaser{ padding:20px 18px; }
  .growth-teaser__head{ flex-direction:column; gap:6px; align-items:flex-start; margin-bottom:14px; }
  .growth-teaser__strip{ gap:8px; }
  .growth-teaser__arrow{ font-size:.9rem; }
  .growth-teaser__stage{ font-size:.55rem; letter-spacing:.18em; }
}
