/* === about.css === */
/* =========================================================
   === ABOUT (REFINED + CLEAN)
   ========================================================= */

.section--about{
  padding: clamp(18px, 3vw, 34px) 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 100%);
}


.card--about::before{
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.30;
}

/* === TOP: 2 columns === */
.about-top{
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

/* Left: lighter */
.about-left .lead{
  color: rgba(7,19,15,0.68);
  max-width: 46ch;
}

/* Right copy */
.about-right{
  max-width: 72ch;
  padding-top: 36px;
}
.about-right p{
  margin: 0 0 16px;
  color: rgba(7,19,15,0.72);
  line-height: 1.85;
  font-size: 15px;
}
.about-right p:last-child{ margin-bottom: 0; }

/* Badges are shared utilities in ui.css */

/* Stats row */
.about-stats{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* Shared widget surface */
.wstat, .wchart, .wspark{
  border-radius: 16px;
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(0,0,0,.06);
}

.wstat{ padding: 10px 12px; }
.wstat__k{
  font-size: 11.5px;
  color: rgba(7,19,15,.52);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wstat__v{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

/* === BOTTOM: widgets === */
.about-bottom{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.about-bottom .wchart{ grid-column: span 8; padding: 12px; }
.about-bottom .wspark{ grid-column: span 4; padding: 12px; }

/* Headings */
.wchart__k, .wspark__k{
  font-size: 11.5px;
  color: rgba(7,19,15,.52);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Focus bar with REAL gaps */
.segbar{
  height: 12px;
  padding: 2px;
  gap: 3px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: rgba(0,0,0,.08);
}
.segbar > span{
  width: var(--w);
  border-radius: 999px;
}
.segbar > span:nth-child(1){ background: rgba(0,90,187,.75); }
.segbar > span:nth-child(2){ background: rgba(0,90,187,.55); }
.segbar > span:nth-child(3){ background: rgba(0,90,187,.40); }
.segbar > span:nth-child(4){ background: rgba(0,90,187,.28); }

/* Legend aligned to segment widths */
.segbar__legend{
  display: flex;
  gap: 3px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(7,19,15,.60);
}
.segbar__legend span{
  text-align: center;
  padding: 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.segbar__legend span:nth-child(1){ flex: 0 0 38%; }
.segbar__legend span:nth-child(2){ flex: 0 0 22%; }
.segbar__legend span:nth-child(3){ flex: 0 0 20%; }
.segbar__legend span:nth-child(4){ flex: 0 0 20%; }

/* Activity bars */
.spark{
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 54px;
  padding-top: 4px;
}
.spark i{
  width: 8px;
  height: var(--h);
  border-radius: 999px;
  background: rgba(254,214,0,.75);
  border: 1px solid rgba(254,214,0,.35);
}



