/* =============================================================================
   ABOUT PAGE STYLES
   ============================================================================= */

/* ── Bio Section ─────────────────────────────────────────────────────────────── */
.bio-section {
  padding-block: var(--sp-3xl);
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.bio-visual {
  position: relative;
}
.bio-avatar {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-bright);
  position: relative;
  overflow: hidden;
}
.bio-avatar-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bio-badge-card {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  width: calc(100% - 3rem);
  z-index: 2;
}
.bio-badge-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.bio-badge-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* Available dot */
.available-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}
.available-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Content */
.bio-content .label { margin-bottom: 0.75rem; }
.bio-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.bio-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.bio-content p:last-of-type { margin-bottom: 2rem; }

/* ── Stats ───────────────────────────────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.about-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.about-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stat span { font-size: 0.75rem; color: var(--text-subtle); font-weight: 500; }

/* ── Skills Section ─────────────────────────────────────────────────────────── */
.skills-section {
  padding-block: var(--sp-3xl);
  background: linear-gradient(to bottom, transparent, rgba(59,111,245,0.025), transparent);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-category {
  padding: 2rem;
}
.skill-category-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.skill-category h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.skill-item {}
.skill-name {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.skill-pct {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 500;
}
.skill-bar {
  height: 4px;
  background: var(--surface-high);
  border-radius: var(--r-full);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  /* width is set inline per skill (e.g. style="width:95%") */
}
/* JS adds .animated to trigger the reveal */
.skill-fill.animated { transform: scaleX(1); }

/* ── Process Section ────────────────────────────────────────────────────────── */
.process-section {
  padding-block: var(--sp-3xl);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.process-step {
  padding: 2rem;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Tools ───────────────────────────────────────────────────────────────────── */
.tools-section {
  padding-block: var(--sp-3xl);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.tool-chip {
  padding: 1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base) var(--ease);
  cursor: default;
}
.tool-chip:hover {
  background: var(--surface-md);
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.tool-chip-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-base);
}
.tool-chip:hover .tool-chip-icon img { opacity: 1; }
.tool-chip-name { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .bio-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bio-avatar { aspect-ratio: 4/5; max-width: 400px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
