/* ==========================================================================
   Home page — hero, welcome, livestock trio, quote band, testimonials, blog teaser
   ========================================================================== */

/* This file assumes css/base.css is loaded first (design tokens + shared
   section/eyebrow/section-title/text-link utilities live there). */

/* ---- Hero ---- */
.home-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, rgba(20,13,5,0.92), rgba(20,13,5,0.65), rgba(20,13,5,0.3));
}
.home-hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(20,13,5,0.85), transparent 45%, rgba(20,13,5,0.4));
}
.home-hero-inner { position: relative; z-index: 2; padding: 9rem 0 7rem; }
.home-hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(242,169,59,0.6);
  background: rgba(36,24,9,0.4);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--gold);
  backdrop-filter: blur(4px);
}
.home-hero-kicker svg { width: 14px; height: 14px; }
.home-hero-title {
  margin-top: 1.5rem;
  max-width: 46rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  color: var(--cream);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.home-hero-title span { color: var(--gold); }
.home-hero-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.15rem; line-height: 1.7; color: rgba(250,243,227,0.97); text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
@media (min-width: 640px) { .home-hero-lead { font-size: 1.25rem; } }
.home-hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.home-stats {
  position: absolute; inset-inline: 0; bottom: 0;
  z-index: 2;
  border-top: 1px solid rgba(250,243,227,0.2);
  background: rgba(36,24,9,0.55);
  backdrop-filter: blur(8px);
}
.home-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .home-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.home-stat {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(250,243,227,0.15);
}
.home-stats-grid .home-stat:last-child,
.home-stats-grid .home-stat:nth-child(2) { border-right: none; }
@media (min-width: 768px) { .home-stats-grid .home-stat:nth-child(2) { border-right: 1px solid rgba(250,243,227,0.15); } }
.home-stat-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; color: var(--gold); }
@media (min-width: 640px) { .home-stat-value { font-size: 2rem; } }
.home-stat-label { margin-top: 0.25rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(250,243,227,0.75); }

/* ---- Welcome ---- */
.welcome-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .welcome-grid { grid-template-columns: repeat(2, 1fr); } }
.welcome-media { position: relative; }
.welcome-image { overflow: hidden; border-radius: var(--radius-2xl); box-shadow: 0 30px 60px -20px rgba(36,24,9,0.35); }
.welcome-image img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform 0.7s ease; }
.welcome-image:hover img { transform: scale(1.05); }
.welcome-badge {
  position: absolute; bottom: -1.75rem; right: -0.5rem;
  border-radius: var(--radius-xl);
  background: var(--acacia);
  color: var(--cream);
  padding: 1.15rem 1.4rem;
  box-shadow: 0 25px 40px -15px rgba(36,24,9,0.4);
  animation: float-slow 6s ease-in-out infinite;
}
@media (min-width: 640px) { .welcome-badge { right: -1.75rem; } }
.welcome-badge-year { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; }
.welcome-badge-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(250,243,227,0.8); }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.welcome-features { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.welcome-feature {
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.9rem; background: var(--sand);
  padding: 0.85rem 1rem;
  text-align: center;
}
.welcome-feature span { font-size: 0.875rem; font-weight: 700; color: var(--ink); }

/* ---- Livestock trio ---- */
.livestock-trio { background: var(--ink); padding: 6rem 0; }
.trio-grid { margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .trio-grid { grid-template-columns: repeat(3, 1fr); } }
.trio-card { display: block; overflow: hidden; border-radius: var(--radius-xl); background: var(--cream); box-shadow: 0 25px 50px -20px rgba(0,0,0,0.5); }
.trio-media { position: relative; overflow: hidden; }
.trio-media img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform 0.7s ease; }
.trio-card:hover .trio-media img { transform: scale(1.1); }
.trio-tag {
  position: absolute; left: 1rem; top: 1rem;
  border-radius: 999px; background: var(--sunset); color: var(--cream);
  padding: 0.3rem 0.9rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.trio-body { padding: 1.75rem; }
.trio-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--ink); }
.trio-breeds { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--acacia); }
.trio-tagline { margin-top: 0.75rem; color: rgba(36,24,9,0.7); }
.trio-body .text-link { margin-top: 1.25rem; }
.trio-card:hover .text-link { color: var(--sunset); }

/* ---- Quote band ---- */
.quote-band { position: relative; overflow: hidden; }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.quote-band::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(20,13,5,0.72); }
.quote-band-inner { position: relative; z-index: 2; padding: 7rem 0; text-align: center; max-width: 56rem; }
.quote-text { font-family: var(--font-display); font-weight: 900; line-height: 1.4; color: var(--cream); font-size: clamp(1.5rem, 3vw, 2.5rem); text-shadow: 0 3px 16px rgba(0,0,0,0.55); }
.quote-attribution { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* ---- Testimonials ---- */
.testimonial-grid { margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  height: 100%; display: flex; flex-direction: column;
  border-radius: var(--radius-xl); border: 2px solid rgba(204,129,56,0.2);
  background: var(--cream); padding: 2rem; box-shadow: 0 15px 30px -15px rgba(36,24,9,0.15);
}
.quote-mark { font-family: var(--font-display); font-size: 3.75rem; line-height: 1; color: var(--gold); }
.testimonial-card blockquote { margin: 0.5rem 0 0; flex: 1; font-size: 1.125rem; line-height: 1.7; color: rgba(36,24,9,0.8); }
.testimonial-card figcaption { margin-top: 1.5rem; border-top: 1px solid rgba(204,129,56,0.2); padding-top: 1rem; }
.testimonial-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.testimonial-role { font-size: 0.875rem; font-weight: 600; color: var(--acacia); }

/* ---- Blog teaser ---- */
.blog-teaser { background: var(--sand); padding: 6rem 0; }
.blog-teaser-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.blog-teaser-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .blog-teaser-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-teaser-card { display: block; overflow: hidden; border-radius: var(--radius-xl); background: var(--cream); box-shadow: 0 15px 30px -15px rgba(36,24,9,0.2); }
.blog-teaser-media { overflow: hidden; }
.blog-teaser-media img { aspect-ratio: 16/10; width: 100%; object-fit: cover; transition: transform 0.7s ease; }
.blog-teaser-card:hover .blog-teaser-media img { transform: scale(1.1); }
.blog-teaser-body { padding: 1.5rem; }
.blog-teaser-meta { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sunset); }
.blog-teaser-body h3 { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.blog-teaser-card:hover .blog-teaser-body h3 { color: var(--russet); }
.blog-teaser-excerpt {
  margin-top: 0.5rem; font-size: 0.9rem; color: rgba(36,24,9,0.65);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
