/* ==========================================================
   Our Audience page — Kalpokotha
   ========================================================== */
:root {
  --bg: #000;
  --text: #d4d4d8;
  --bright: #e4e4e7;
  --muted: #a1a1aa;
  --border: #26262c;
  --accent: #6366f1;
  --pad-x: clamp(20px, 7vw, 100px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  overflow-x: hidden;
}

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.page { position: relative; z-index: 2; }

/* ---------- 1. Two rows of quotes ---------- */
.voices {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0 clamp(50px, 7vw, 90px);
}
.row {
  overflow: hidden;
  margin-bottom: 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.lane {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-right: 20px;
  animation: var(--dir) var(--dur, 60s) linear infinite;
}
.lane.rtl { --dir: toLeft; }
.lane.ltr { --dir: toRight; }
.row:hover .lane { animation-play-state: paused; }

@keyframes toLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes toRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.q {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(260px, 26vw, 360px);
  min-height: 190px;
  padding: 24px 24px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(14, 14, 18, .8);
  transition: border-color .3s;
}
.q:hover { border-color: #3b3b8f; }
.q .mark { color: var(--accent); font-size: 40px; line-height: .6; height: 20px; }
.q blockquote { margin: 12px 0 18px; color: var(--bright); font-size: 17px; line-height: 1.4; }
.q b { display: block; color: #a5b4fc; font-size: 14px; font-weight: 500; }
.q span { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }

/* ---------- 2. Our Audience ---------- */
.audience { padding: 0 var(--pad-x); }
.audience h2 {
  text-align: center;
  color: var(--text);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -.02em;
}
.lead {
  margin: 12px 0 clamp(30px, 5vw, 56px);
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  max-width: 1000px;
  margin: 0 auto;
}
.country {
  padding: 14px 14px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(14, 14, 18, .78);
  text-align: center;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease, border-color .3s;
  transition-delay: var(--d, 0s);
}
.country.show { opacity: 1; transform: none; }
.country.show:hover { transform: translateY(-4px); border-color: #3b3b8f; transition-delay: 0s; }

.art {                                   /* black panel that holds the country drawing */
  overflow: hidden;
  border: 1px solid #1c1c22;
  border-radius: 12px;
  background: #050507;
}
.art canvas { display: block; width: 100%; aspect-ratio: 4 / 3; }

.country h3 {
  margin-top: 16px;
  color: var(--bright);
  font-size: 19px;
  font-weight: 500;
}

/* ---------- 3. Back button ---------- */
.back-wrap { padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.back {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid #2a2a30;
  border-radius: 14px;
  background: rgba(24, 24, 28, .8);
  color: var(--bright);
  font-size: 16px;
  text-decoration: none;
  transition: border-color .3s, background .3s, transform .3s;
}
.back:hover { border-color: #3b3b8f; background: rgba(40, 40, 80, .5); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .voices { min-height: 70vh; padding-top: 50px; }
  .q { min-height: 170px; }
  .q blockquote { font-size: 15px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .country { padding: 10px 10px 16px; border-radius: 16px; }
  .country h3 { margin-top: 12px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .lane { animation: none; }
  .country { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}