/* ==========================================================================
   Testimonials / Voices — 2026 cinematic-dark rebuild
   Mirrors home.css §F (home-testimonials) + portfolio.css systems.
   Ink canvas, hairline rules, mono eyebrows, italic display, red accent.
   Editorial full-page list — no slider, all quotes laid out down the page.
   ========================================================================== */

.testimonials-page {
  background: var(--ink);
  color: var(--on-black);
  font-family: var(--font-body);
}

/* ==================== HERO (cinematic, video-bg) ==================== */

.voices-hero {
  background: var(--ink);
  color: var(--on-black);
  padding: 0;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: stretch;
}

.voices-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 144px 32px 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 70vh;
}

.voices-hero__inner > * {
  max-width: 38ch;
}

.voices-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 11px/1 var(--font-mono);
  color: var(--red);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.voices-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red);
  opacity: 0.7;
}

.voices-hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-black);
  margin: 0 0 28px;
}

.voices-hero__headline em {
  font-style: italic;
  color: var(--on-black);
}

.voices-hero__lede {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--on-black-mute);
  margin: 0 0 20px;
}

.voices-hero__detail {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-black-mute);
  margin: 0;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .voices-hero__inner {
    padding: 112px 24px 72px;
    min-height: 60vh;
  }
  .voices-hero__inner > * {
    max-width: 100%;
  }
}

/* ==================== EDITORIAL LIST ==================== */

.voices-list {
  background: var(--ink);
  color: var(--on-black);
  padding: 128px 0 144px;
  position: relative;
  overflow: hidden;
}

/* subtle red ambient pulse, matches home-testimonials */
.voices-list::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 60% 45% at 50% 30%,
    rgba(200, 16, 46, 0.05) 0%,
    transparent 65%
  );
  animation: voices-page-pulse 8s ease-in-out infinite;
}

@keyframes voices-page-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .voices-list::before { animation: none; opacity: 0.7; }
}

.voices-list__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.voices-list__header {
  text-align: center;
  margin: 0 auto 96px;
  max-width: 720px;
}

.voices-list__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--red);
  margin: 0 0 24px;
}

.voices-list__eyebrow-rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
  opacity: 0.7;
}

.voices-list__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-black);
  margin: 0 0 24px;
}

.voices-list__headline em {
  font-style: italic;
}

.voices-list__lede {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--on-black-mute);
  margin: 0;
}

.voices-list__loading {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-black-mute);
  padding: 64px 0;
  opacity: 0.7;
}

.voices-list__empty {
  text-align: center;
  padding: 64px 0;
}

.voices-list__empty-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--on-black);
  margin: 0 0 12px;
}

.voices-list__empty-title em {
  font-style: italic;
}

.voices-list__empty-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--on-black-mute);
  margin: 0;
}

/* ==================== INDIVIDUAL VOICE ITEMS ==================== */

.voices-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.voices-item {
  position: relative;
  padding: 80px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  align-items: start;
}

.voices-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.voices-item:last-child {
  padding-bottom: 0;
}

.voices-item__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--red);
  opacity: 0.85;
  padding-top: 14px;
  text-align: left;
}

.voices-item__quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.voices-item__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);   /* 24-34px oversized pull-quote */
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--on-black);
  margin: 0;
  max-width: 36ch;
  text-shadow: 0 0 60px rgba(200, 16, 46, 0.06);
}

.voices-item__cite {
  grid-column: 2;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 241, 232, 0.10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-style: normal;
  color: var(--on-black-mute);
  max-width: 60ch;
}

.voices-item__name {
  color: var(--red);
  font-style: normal;
  margin-right: 14px;
}

.voices-item__cite-sep {
  color: var(--on-black);
  opacity: 0.30;
  margin: 0 14px;
}

.voices-item__meta {
  color: var(--on-black-mute);
}

@media (max-width: 768px) {
  .voices-list {
    padding: 96px 0 112px;
  }
  .voices-list__header {
    margin-bottom: 64px;
  }
  .voices-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 56px 0;
  }
  .voices-item__num {
    padding-top: 0;
  }
  .voices-item__cite {
    grid-column: 1;
    margin-top: 24px;
  }
}

/* ==================== CTA (mirror portfolio-cta) ==================== */

.voices-cta {
  background: var(--ink);
  color: var(--on-black);
  padding: 144px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.voices-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.voices-cta__eyebrow {
  font: 500 11px/1 var(--font-mono);
  color: var(--red);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.voices-cta__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-black);
  margin: 0 0 24px;
}

.voices-cta__headline em {
  font-style: italic;
}

.voices-cta__copy {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-black-mute);
  margin: 0 auto 32px;
  max-width: 56ch;
}

.voices-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-black);
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid rgba(245, 241, 232, 0.20);
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.voices-cta__link:hover,
.voices-cta__link:focus-visible {
  border-color: var(--red);
  color: var(--red);
  background: rgba(200, 16, 46, 0.06);
  outline: none;
}

@media (max-width: 768px) {
  .voices-cta {
    padding: 112px 0;
  }
}

/* ==========================================================================
   POLISH PASS — oversized italic Fraunces pull-quotes
   - hairline separator drawn between voices, red ledger on the index column
   - cite line: red name, mono caps separator, hover settle
   - opening / closing fraunces quote glyphs as decorative red accent
   ========================================================================== */

/* Decorative italic open-quote glyph anchored to first item */
.voices-list__items {
  counter-reset: voice;
}

.voices-item {
  counter-increment: voice;
}

.voices-item__num::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.7;
}

/* Oversized opening quote glyph behind the pull-quote (decorative only) */
.voices-item__quote {
  position: relative;
}

.voices-item__quote::before {
  content: "\201C"; /* opening curly double-quote */
  position: absolute;
  top: -28px;
  left: -8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4.5rem, 8vw, 5rem);
  line-height: 1;
  color: var(--red);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.voices-item__quote p {
  position: relative;
  z-index: 1;
}

/* Cite line refinements — red name, hairline rule above pulses on hover */
.voices-item:hover .voices-item__cite,
.voices-item:focus-within .voices-item__cite {
  border-top-color: rgba(200, 16, 46, 0.35);
  transition: border-top-color 600ms ease;
}

.voices-item__cite {
  transition: border-top-color 600ms ease;
}

.voices-item__name {
  transition: letter-spacing 500ms ease, text-shadow 700ms ease;
  letter-spacing: 0.16em;
}

.voices-item:hover .voices-item__name,
.voices-item:focus-within .voices-item__name {
  letter-spacing: 0.20em;
  text-shadow: 0 0 18px rgba(200, 16, 46, 0.30);
}

/* Stronger hairline rhythm between quotes */
.voices-item {
  border-top-color: rgba(245, 241, 232, 0.10);
  transition: background 700ms ease;
}

.voices-item:hover,
.voices-item:focus-within {
  background: linear-gradient(
    to right,
    rgba(200, 16, 46, 0.025) 0%,
    transparent 60%
  );
}

@media (max-width: 768px) {
  .voices-item__quote::before {
    top: -18px;
    left: -4px;
    font-size: clamp(3rem, 12vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voices-list::before { animation: none; opacity: 0.7; }
  .voices-item,
  .voices-item__cite,
  .voices-item__name {
    transition: none;
  }
}

/* ==========================================================================
   ART DIRECTION — quote card border glow + amplified opening quotation mark.
   Adapted to the actual HTML class names (.voices-item / .voices-item__quote /
   .voices-item__cite / .voices-item__name).
   ========================================================================== */

/* Border glow treatment on each voice item */
.voices-item {
  border: 1px solid rgba(245, 241, 232, 0.08);
  /* keep the existing top-border; also add sides + bottom */
  padding: 48px 40px 40px;
  margin-bottom: 1px;
  background: rgba(10, 10, 10, 0.55);
  transition:
    border-color 500ms ease-out,
    box-shadow 600ms ease-out,
    background 700ms ease;
}

/* First item already has border-top: 0 — restore subtle top border for the
   card treatment to work on all items */
.voices-item:first-child {
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  padding-top: 48px;
}

.voices-item:hover,
.voices-item:focus-within {
  border-color: rgba(200, 16, 46, 0.35);
  box-shadow: 0 0 24px rgba(200, 16, 46, 0.10);
  background: linear-gradient(
    to right,
    rgba(200, 16, 46, 0.03) 0%,
    transparent 60%
  );
}

/* Amplify the existing opening quote mark opacity on hover */
.voices-item__quote::before {
  /* bump base opacity from 0.18 to make the hover delta more legible */
  opacity: 0.10;
  transition: opacity 500ms ease-out;
  font-size: clamp(5rem, 9rem, 5rem);
  top: -20px;
  left: -4px;
}

.voices-item:hover .voices-item__quote::before,
.voices-item:focus-within .voices-item__quote::before {
  opacity: 0.22;
}

/* Quote text — ensure italic Fraunces display font */
.voices-item__quote p {
  font-style: italic;
}

/* Attribution name — red mono caps (reinforces existing color) */
.voices-item__name {
  color: var(--red);
  font: 500 var(--text-xs)/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-style: normal;
}

/* Role / company — muted body */
.voices-item__meta {
  color: var(--on-black-mute);
  font: 400 var(--text-xs)/1.4 var(--font-body);
}

@media (prefers-reduced-motion: reduce) {
  .voices-item__quote::before {
    transition: none;
  }
}

@media (max-width: 768px) {
  .voices-item {
    padding: 36px 24px 32px;
  }
  .voices-item:first-child {
    padding-top: 36px;
  }
}

/* ==========================================================================
   ART DIRECTION — testimonials hero overlay
   Letters scattered across frame → heavy bottom (text), lighter top (letters).
   ========================================================================== */

.voices-hero .section-bg-overlay {
    background:
        linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.40) 50%, rgba(10, 10, 10, 0.12) 100%),
        linear-gradient(to right, rgba(10, 10, 10, 0.50) 0%, transparent 60%);
}