/*
  About 21 — standalone HTML/CSS implementation.
  No build step, no framework, no external dependency: copy this file and
  index.html into any project and open it as-is.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted-foreground: #737373;
  --muted-foreground-90: #7a7a7a;
  --brand: #39ff14;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
}

/* Motion — disabled entirely under reduced motion; every element already
   renders at its final, fully visible state outside this media query.
   "Profile card scale-in": the whole content block settles as a single
   unified reveal, no separate avatar pop. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-scale-in {
    from {
      opacity: 0;
      transform: scale(0.97);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .about__card {
    animation: al-scale-in 750ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

.about {
  display: flex;
  justify-content: center;
  padding: clamp(6rem, 5rem + 4vw, 10rem) 1rem;
}

.about__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 24rem;
  text-align: center;
}

.about__avatar {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 999px;
}

.about__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__name {
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.about__role {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.about__bio {
  margin: 1.25rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground-90);
}

.about__cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  text-underline-offset: 4px;
  transition: color 150ms ease;
}

.about__cta:hover {
  color: var(--brand);
  text-decoration: underline;
}

.about__cta:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.about__cta svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .about__avatar {
    width: 6rem;
    height: 6rem;
  }

  .about__name {
    font-size: 1.875rem;
  }

  .about__role {
    font-size: 1rem;
  }
}
