.about-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.about-hero {
  margin-bottom: 48px;
}

.about-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .3s ease;
  will-change: transform;
}

.about-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.avatar-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #000000, #0ea5e9, #000000, #0ea5e9, #000000, #0ea5e9);
  flex-shrink: 0;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.about-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.5px;
  border: 3px solid var(--surface);
}

.about-intro {
  flex: 1;
  overflow: hidden;
}

.about-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.4px;
  margin-bottom: 4px;
  clip-path: inset(0 100% 0 0);
  animation: name-sweep .75s cubic-bezier(.77,0,.18,1) .1s forwards;
}

@keyframes name-sweep {
  to { clip-path: inset(0 0% 0 0); }
}

.about-role {
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: rise-in .45s ease .6s forwards;
}

.about-tagline {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 20px;
  min-height: 1.65em;
}

.about-tagline .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink .7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.about-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise-in .4s ease 1.1s forwards;
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}

.about-link--linkedin {
  background: #0a66c2;
  color: #fff;
}

.about-link--linkedin:hover {
  background: #004182;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,102,194,.3);
}

.about-link--tool {
  background: var(--surface-3);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.about-link--tool:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}

.about-card[data-reveal="left"]  { transform: translateX(-36px); }
.about-card[data-reveal="right"] { transform: translateX(36px); }
.about-card[data-reveal="up"]    { transform: translateY(28px); }

.about-card.revealed {
  opacity: 1;
  transform: none;
}

.about-card--wide {
  grid-column: 1 / -1;
}

.card-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-card p {
  font-size: .925rem;
  color: var(--text-2);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .35s ease, transform .35s ease;
}

.feature-list li.revealed {
  opacity: 1;
  transform: none;
}

.feature-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
  width: 28px;
  text-align: center;
}

.feature-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-list li strong {
  font-size: .9rem;
  color: var(--text);
  font-weight: 600;
}

.feature-list li span {
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.55;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(26,86,219,.15);
  opacity: 0;
  transform: scale(.45);
  transition: opacity .4s ease, transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-badge.revealed {
  opacity: 1;
  transform: scale(1);
}

.contact-cta {
  display: inline-block;
  margin-top: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: letter-spacing .2s ease;
}

.contact-cta:hover {
  letter-spacing: .03em;
  text-decoration: underline;
}

.about-footer {
  margin-top: 56px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about-footer p {
  font-size: .9rem;
  color: var(--text-2);
}

.about-footer strong {
  color: var(--text);
}

.about-footer-sub {
  font-size: .8rem !important;
  color: var(--text-3) !important;
  margin-top: 4px;
}

body.dark .tech-badge {
  background: rgba(26,86,219,.15);
  border-color: rgba(26,86,219,.2);
}

body.dark .about-avatar {
  border-color: #1e293b;
}

@media (max-width: 680px) {
  .about-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
  }

  .about-tagline {
    max-width: 100%;
  }

  .about-links {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card--wide {
    grid-column: 1;
  }

  .about-card[data-reveal="left"],
  .about-card[data-reveal="right"] {
    transform: translateY(24px);
  }
}
