/* ==========================================================
   About 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;
}

/* line-art scene behind the top part of the page */
#scene {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 760px;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.page { position: relative; z-index: 2; }

/* ---------- Title ---------- */
.top { padding: 36px var(--pad-x) 0; text-align: center; }
.eyebrow { color: var(--muted); font-size: 16px; font-weight: 300; margin-bottom: 26px; }
.eyebrow.center { text-align: center; color: var(--accent); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
h1 {
  color: var(--text);
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
}

/* ---------- Glass card ---------- */
.card {
  max-width: 660px;
  margin: clamp(70px, 8.5vw, 120px) auto 0;
  padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px) clamp(10px, 2vw, 20px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(14, 14, 18, .62);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}
.sign {
  margin-bottom: 36px;
  text-align: center;
  color: #fff;
  font-family: 'Mea Culpa', cursive;
  font-size: clamp(56px, 8vw, 84px);
  line-height: 1;
}
.card p {
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.55;
}

/* ---------- Quote rows ---------- */
.voices { padding: clamp(80px, 10vw, 130px) 0 0; }
.voices h2 {
  margin-bottom: clamp(30px, 5vw, 56px);
  text-align: center;
  color: var(--text);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -.02em;
}

.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; }

/* ---------- Back button ---------- */
.back-wrap { padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 100px); 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); }

@media (prefers-reduced-motion: reduce) { .lane { animation: none; } }
@media (max-width: 760px) {
  #scene { height: 640px; }
  .q { min-height: 170px; }
  .q blockquote { font-size: 15px; }
}