/* ===== Voices — horizontal swipe carousel ===== */
.voices-section {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.voices-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(200, 168, 104, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(200, 168, 104, 0.04), transparent 60%);
  pointer-events: none;
}
.voices-section .section-inner { position: relative; z-index: 1; }

/* Carousel container */
.voices-carousel {
  position: relative;
  margin-top: 56px;
  /* Bleed past container edges so cards can scroll fully */
  margin-left: calc(-1 * clamp(20px, 5vw, 48px));
  margin-right: calc(-1 * clamp(20px, 5vw, 48px));
}

/* Track */
.voices-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px clamp(20px, 5vw, 48px) 24px;
  cursor: grab;
  scroll-padding-left: clamp(20px, 5vw, 48px);
}
.voices-track::-webkit-scrollbar { display: none; }
.voices-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.voices-track.dragging .voice-card {
  pointer-events: none;
}

/* Card */
.voice-card {
  position: relative;
  flex: 0 0 clamp(280px, 32vw, 420px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s, opacity 0.4s;
  transform: scale(0.97);
  opacity: 0.78;
}
.voice-card.active {
  transform: scale(1);
  opacity: 1;
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(200, 168, 104, 0.18),
    0 24px 60px -20px rgba(0, 0, 0, 0.65),
    0 8px 28px -8px rgba(200, 168, 104, 0.18);
}
.voice-card:hover {
  transform: scale(1);
  opacity: 1;
  border-color: var(--accent);
}

/* Thumbnail */
.voice-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  overflow: hidden;
}
.voice-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.7s var(--ease);
}
.voice-card.active .voice-thumb-img,
.voice-card:hover .voice-thumb-img {
  transform: scale(1.04);
}
.voice-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 9, 7, 0.55) 100%);
  pointer-events: none;
}

/* Corner brackets */
.voice-thumb-corners {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 2;
}
.voice-thumb-corners .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
  opacity: 0.85;
}
.voice-thumb-corners .corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.voice-thumb-corners .corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.voice-thumb-corners .corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.voice-thumb-corners .corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Play button overlay */
.voice-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-0);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.4s var(--ease);
}
.voice-thumb-play svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.voice-card:hover .voice-thumb-play,
.voice-card.active .voice-thumb-play {
  transform: scale(1.08);
  color: var(--accent-bright);
}

/* Duration badge */
.voice-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-0);
  background: rgba(10, 9, 7, 0.78);
  border: 1px solid var(--line-strong);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* Index counter */
.voice-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.voice-index i {
  font-style: italic;
  color: var(--accent);
}

/* Info section */
.voice-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.voice-headline {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink-0);
  margin: 0;
}
.voice-result-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.voice-result {
  display: inline-block;
  font-family: var(--serif-jp);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 2px;
}
.voice-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.voice-meta-text {
  font-family: var(--serif-jp);
}
.voice-name {
  font-family: var(--serif-en);
  font-style: italic;
}

/* Arrow buttons (desktop) */
.voice-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 9, 7, 0.85);
  color: var(--ink-1);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s, opacity 0.3s;
  margin-top: -60px; /* Visually centered on the thumbnail, not the card */
}
.voice-arrow svg { width: 22px; height: 22px; }
.voice-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(10, 9, 7, 0.95);
  transform: translateY(-50%) scale(1.05);
}
.voice-arrow.disabled {
  opacity: 0;
  pointer-events: none;
}
.voice-arrow-prev {
  left: clamp(20px, 5vw, 48px);
  transform: translateY(-50%) translateX(-50%);
}
.voice-arrow-next {
  right: clamp(20px, 5vw, 48px);
  transform: translateY(-50%) translateX(50%);
}
.voice-arrow-prev:hover { transform: translateY(-50%) translateX(-50%) scale(1.05); }
.voice-arrow-next:hover { transform: translateY(-50%) translateX(50%) scale(1.05); }

@media (max-width: 768px) {
  .voice-arrow { display: none; }
}

/* Pagination dots */
.voices-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.voice-dot {
  width: 32px;
  height: 2px;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.4s, width 0.4s;
}
.voice-dot.active {
  background: var(--accent);
  width: 48px;
}
.voice-dot:hover { background: var(--ink-3); }
.voice-dot.active:hover { background: var(--accent); }

/* Hint */
.voices-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.voices-hint-arrow {
  color: var(--accent);
  display: inline-block;
  animation: hintPulse 2s ease-in-out infinite;
}
.voices-hint-arrow:last-child {
  animation-delay: 1s;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-2px); }
}
.voices-hint-arrow:last-child {
  animation-name: hintPulseRight;
}
@keyframes hintPulseRight {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}

/* CTA — Watch all on YouTube */
.voices-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}
.voices-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 18px 32px 18px 36px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink-0);
  background: linear-gradient(135deg, rgba(200, 168, 104, 0.04), rgba(200, 168, 104, 0.10));
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), color 0.3s, transform 0.3s var(--ease);
}
.voices-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.voices-cta-btn:hover { color: var(--bg-0); transform: translateY(-2px); }
.voices-cta-btn:hover::before { transform: translateX(0); }
.voices-cta-label,
.voices-cta-arrow { position: relative; z-index: 1; }
.voices-cta-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}
.voices-cta-label i {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  transition: color 0.3s;
}
.voices-cta-btn:hover .voices-cta-label i { color: var(--bg-0); }
.voices-cta-label span {
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.voices-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: color 0.3s, transform 0.4s var(--ease);
}
.voices-cta-arrow svg { width: 22px; height: 22px; }
.voices-cta-btn:hover .voices-cta-arrow {
  color: var(--bg-0);
  transform: translateX(4px);
}
.voices-cta-meta {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* Mobile */
@media (max-width: 600px) {
  .voices-carousel { margin-top: 40px; }
  .voice-card { flex-basis: 78vw; }
  .voice-info { padding: 18px 18px 20px; }
  .voice-headline { font-size: 15px; }
  .voice-thumb-play svg { width: 46px; height: 46px; }
  .voices-hint { font-size: 11px; }
  .voices-cta-btn { padding: 16px 24px 16px 28px; gap: 16px; }
  .voices-cta-label span { font-size: 14px; }
}
