/* ============================================
   REVOLUTION VOICE PAGE STYLES — revolution-voice.css
   Requires theme.css to be loaded first.
   ============================================ */

/* ════════════════════════════════════
   HERO  (identical to other pages)
════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: clamp(480px, 55vw, 713px);
  overflow: hidden;
  background: #1a0505;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.75);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(180, 60, 0, 0.30) 0%,
    rgba(20, 5, 5, 0.55) 100%
  );
}

.hero__content {
  position: absolute;
  bottom: clamp(40px, 8%, 100px);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 980px;
  text-align: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.21;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.50);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════
   SECTION HEADER
════════════════════════════════════ */
.voices-section {
  padding-block: var(--section-gap);
}

.voices-section__header {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.voices-heading {
  font-family: var(--font-body);
  font-size: clamp(23px, 3.5vw, 35px);
  font-weight: 600;
  color: var(--color-crimson);
  line-height: 1.5;
  margin-bottom: 16px;
}

.voices-subheading {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  color: var(--color-crimson);
  line-height: 1.5;
  max-width: 860px;
}

/* ════════════════════════════════════
   VOICE CARD GRID
════════════════════════════════════ */
.voices-grid-wrapper {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

/* ── Individual voice card ── */
.voice-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Image thumbnail */
.voice-card__image-wrap {
  width: 100%;
  aspect-ratio: 418 / 325;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-gray-card);
  /* shimmer while loading */
  background-image: linear-gradient(
    90deg,
    #d9d9d9 25%,
    #e8e8e8 50%,
    #d9d9d9 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  flex-shrink: 0;
}

.voice-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.voice-card:hover .voice-card__image-wrap img {
  transform: scale(1.04);
}

/* Stop shimmer once image is loaded */
.voice-card__image-wrap.loaded {
  background-image: none;
  animation: none;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Name + location row */
.voice-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.voice-card__name {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  color: var(--color-ink);
}

.voice-card__location {
  font-family: var(--font-body);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  color: var(--color-ink);
}

/* Quote text */
.voice-card__quote {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--color-crimson);
  line-height: 1.5;
}

/* Hover lift on whole card */
.voice-card {
  transition: transform var(--transition-smooth);
}

.voice-card:hover {
  transform: translateY(-4px);
}

/* Stagger reveal delays */
.voice-card:nth-child(1)  { animation-delay: 0.05s; }
.voice-card:nth-child(2)  { animation-delay: 0.10s; }
.voice-card:nth-child(3)  { animation-delay: 0.15s; }
.voice-card:nth-child(4)  { animation-delay: 0.20s; }
.voice-card:nth-child(5)  { animation-delay: 0.25s; }
.voice-card:nth-child(6)  { animation-delay: 0.30s; }
.voice-card:nth-child(7)  { animation-delay: 0.35s; }
.voice-card:nth-child(8)  { animation-delay: 0.40s; }
.voice-card:nth-child(9)  { animation-delay: 0.45s; }
.voice-card:nth-child(10) { animation-delay: 0.50s; }
.voice-card:nth-child(11) { animation-delay: 0.55s; }
.voice-card:nth-child(12) { animation-delay: 0.60s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .voices-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 70vw;
    min-height: 320px;
  }

  .hero__headline {
    font-size: clamp(28px, 8vw, 42px);
  }
}
