/* ── ABOUT US ── */
#about {
  padding: 100px max(40px, 5vw);
  position: relative;
  z-index: 3;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: hidden;
}

.ab-w {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}

.ab-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ab-right {
  display: flex;
  flex-direction: column;
}

.ab-right .ab-terminal {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ab-right .ab-log {
  flex: 1;
}

/* NEW ABOUT HEADINGS */
.ab-hero-title {
  font-family: 'Bebas Neue', monospace;
  font-size: clamp(36px, 5vw, 72px);
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.ab-mission-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(14px, 1.8vw, 22px);
  color: var(--acid);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}


.ab-p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 2;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 540px;
}

.ab-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: center;
}

.ab-stat {
  text-align: center;
}

.ab-num {
  font-family: 'Bebas Neue', monospace;
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.35);
}

.ab-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 3px;
  margin-top: 4px;
}

/* RIGHT TERMINAL CARD */


.ab-terminal {
  border: 1px solid rgba(200, 255, 0, 0.18);
  background: #000;
  max-width: 100%;
  overflow-x: auto;
}

.ab-term-bar {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ab-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ab-dot.r {
  background: #ff5f57;
}

.ab-dot.y {
  background: #febc2e;
}

.ab-dot.g {
  background: var(--acid);
}

.ab-term-title {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.60);
  margin-left: 8px;
  letter-spacing: 2px;
}

.ab-log {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* TECH STACK LOG LINES — instant reveal on viewport */
.ab-line {
  font-size: 12px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0;
  max-width: fit-content;
  white-space: nowrap;
}

/* Observer class — fade in all lines at once */
.ab-line.type-in {
  opacity: 1;
  animation: ab-fadein 0.4s ease forwards;
}

/* Last line gets a small blinking cursor after it */
.ab-line.is-last::after {
  content: '▍';
  color: var(--acid);
  font-size: 11px;
  margin-left: 4px;
  animation: bl 0.7s step-end infinite;
}

@keyframes ab-fadein {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ab-ok {
  color: var(--acid);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 1px 5px;
  border: 1px solid rgba(200, 255, 0, 0.3);
  flex-shrink: 0;
  margin-top: 3px;
}

.ab-warn {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 1px 5px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── LIGHT MODE — section grey, terminal stays dark ── */
body.light-mode #about {
  background: #e2e2e2;
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .ab-p {
  color: rgba(0, 0, 0, 0.7);
}

body.light-mode .ab-stats {
  border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .ab-num {
  color: var(--orange);
  text-shadow: none;
}

body.light-mode .ab-lbl {
  color: rgba(0, 0, 0, 0.45);
}

/* ab-terminal — force dark bg so white text stays readable in light mode */
body.light-mode .ab-terminal {
  background: #111118;
  border-color: rgba(200, 255, 0, 0.15);
}

body.light-mode .ab-term-bar {
  background: rgba(0, 0, 0, 0.6);
}

@media(max-width:960px) {
  #about {
    padding: 72px 20px;
    overflow-x: hidden;
  }

  .ab-w {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }

  .ab-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .ab-terminal {
    overflow-x: hidden;
    max-width: 100%;
  }

  .ab-line {
    white-space: normal;
    word-break: break-word;
  }

  .ab-hero-title {
    font-size: clamp(30px, 9vw, 52px);
  }

  .ab-mission-label {
    font-size: clamp(13px, 3.5vw, 18px);
  }
}

@media(max-width:640px) {
  #about {
    padding: 64px 16px;
    overflow-x: hidden;
  }

  .ab-num {
    font-size: 48px;
  }

  .ab-p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 100%;
  }

  .ab-log {
    padding: 20px 16px;
  }

  .ab-line {
    font-size: 11px;
    line-height: 2.2;
    white-space: normal;
    word-break: break-word;
  }

  .ab-w {
    gap: 48px;
  }

}

@media(max-width:480px) {
  .ab-stats {
    gap: 16px;
  }

  .ab-num {
    font-size: 38px;
  }
}

