/*
  About 04 — Priya Anand, 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: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #475569;
  --border: #e2e8f0;
  --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;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Motion — disabled entirely under reduced motion; every element already
   renders at its final, fully visible state outside this media query. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-fade {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes al-row {
    from {
      opacity: 0;
      transform: translateX(-14px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .about__intro {
    animation: al-fade 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .about__row {
    animation: al-row 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

.about {
  background-color: var(--background);
  padding: clamp(4rem, 3rem + 3vw, 6rem) 1rem;
}

.about__inner {
  margin: 0 auto;
  width: 100%;
  max-width: 34rem;
}

.about__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about__avatar {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

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

.about__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about__role {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
}

.about__bio {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.about__rows {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.about__row-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.875rem 1rem;
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}

.about__row-link:hover {
  border-color: rgba(57, 255, 20, 0.4);
  background-color: var(--muted);
}

.about__row-link:hover .about__row-arrow {
  transform: translateX(4px);
  color: var(--card-foreground);
}

.about__row-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.about__row-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--muted);
  color: var(--card-foreground);
}

.about__row-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.about__row-text {
  min-width: 0;
  flex: 1;
}

.about__row-platform {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-foreground);
}

.about__row-handle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.about__row-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition:
    transform 200ms ease-out,
    color 150ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .about__row-arrow {
    transition: none;
  }
}

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

  .about__name {
    font-size: 1.25rem;
  }

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