/* ============================================================
   ABOUT.CSS
   Pinned cinematic scroll scene — 4 stages, word-by-word reveal.
   ============================================================ */

/* ── PIN MECHANICS ── */
#about {
  position: relative;
}

#about-pin-container {
  position: relative;
  /* height = 4 * 100vh, set in JS to match STAGES */
}

#about-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* ── LEFT: VISUAL PANEL ── */
#about-visual-panel {
  position: relative;
  overflow: visible;
  border-right: none;
}

.about-visual-bg {
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse at 40% 50%, #08191a 0%, #07100f 50%, var(--black) 100%);
  will-change: transform;
}

#about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--black) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Panel tag (top-left) */
.about-panel-tag {
  position: absolute;
  top: 36px;
  left: var(--page-pad);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Big ghost number */
.about-panel-number {
  position: absolute;
  bottom: 36px;
  left: var(--page-pad);
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(90px, 16vw, 200px);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(45, 226, 230, 0.15);
  color: transparent;
  letter-spacing: -0.03em;
  user-select: none;
  will-change: transform;
  transition: opacity 0.5s var(--ease-out-expo);
}

/* Stage labels — bottom right of visual panel */
.about-stage-labels {
  position: absolute;
  bottom: 40px;
  right: 32px;
  z-index: 3;
}

.stage-lbl {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease-out-expo),
              transform 0.45s var(--ease-out-expo);
  white-space: nowrap;
}
.stage-lbl.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── RIGHT: CONTENT PANEL ── */
#about-content-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px var(--page-pad);
}

/* Progress rail — right edge */
.about-progress-rail {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--gray-2);
}
.about-progress-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--amber);
  transition: height 0.06s linear;
}

/* Stage dots — top right */
.about-stage-dots {
  position: absolute;
  top: 40px;
  right: var(--page-pad);
  display: flex;
  gap: 8px;
}
.sdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gray-3);
  cursor: none;
  border: none;
  padding: 0;
  transition: background 0.4s, transform 0.4s;
}
.sdot.active {
  background: var(--amber);
  transform: scale(1.5);
}

/* ── STAGE BLOCKS ── */
.about-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px var(--page-pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out-expo);
}
.about-stage.active {
  opacity: 1;
  pointer-events: all;
}

/* Eyebrow within stages */
.stage-eyebrow {
  margin-bottom: 24px;
}

/* ── SCRUB TEXT ── */
.stage-scrub-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 38px);
  line-height: 1.4;
  color: var(--offwhite);
}

/* Each word is a span injected by JS */
.stage-scrub-text .word {
  display: inline;
  color: rgba(240, 235, 226, 0.14);
  transition: color 0.25s var(--ease-out-expo);
}
.stage-scrub-text .word.lit   { color: var(--offwhite); }
.stage-scrub-text .word.amber { color: var(--amber); }

/* ── STATS ── */
.stage-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}
.stage-stats.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--offwhite);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num span { color: var(--amber); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-top: 6px;
}

/* ── MANIFESTO ── */
.manifesto-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 68px);
  letter-spacing: 0.04em;
  color: var(--offwhite);
  line-height: 1;
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.7s var(--ease-out-expo),
              opacity 0.7s var(--ease-out-expo);
}

.mline.accent-line { color: var(--amber); }

.about-stage.active .mline          { transform: translateX(0); opacity: 1; }
.about-stage.active .mline:nth-child(2) { transition-delay: 0.1s; }
.about-stage.active .mline:nth-child(3) { transition-delay: 0.2s; }
.about-stage.active .mline:nth-child(4) { transition-delay: 0.3s; }

.manifesto-sub {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--offwhite);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s 0.5s var(--ease-out-expo),
              transform 0.6s 0.5s var(--ease-out-expo);
}
.about-stage.active .manifesto-sub {
  opacity: 0.6;
  transform: translateY(0);
}

/* ── SKILLS LIST ── */
.skills-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-2);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
}

.about-stage.active .skill-row { opacity: 1; transform: translateX(0); }
.about-stage.active .skill-row:nth-child(1) { transition-delay: 0.05s; }
.about-stage.active .skill-row:nth-child(2) { transition-delay: 0.11s; }
.about-stage.active .skill-row:nth-child(3) { transition-delay: 0.17s; }
.about-stage.active .skill-row:nth-child(4) { transition-delay: 0.23s; }
.about-stage.active .skill-row:nth-child(5) { transition-delay: 0.29s; }

.skill-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--offwhite);
}

.skill-bar-wrap {
  width: 130px;
  height: 1px;
  background: var(--gray-3);
  position: relative;
  overflow: visible;
}

.skill-bar {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0%;
  background: var(--amber);
  transition: width 1s 0.3s var(--ease-out-expo);
}
.about-stage.active .skill-bar { width: var(--skill-w); }