/*
  About 20 — 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: #f5f5f5;
  --muted-foreground: #737373;
  --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;
}

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.
   "Underline draw": the emphasized word's SVG underline path uses the
   pathLength="1" technique so its stroke draws itself left-to-right. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes al-draw {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }

  .about__eyebrow,
  .about__heading,
  .about__intro,
  .about__item,
  .about__photo {
    animation: al-up 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .about__heading {
    animation-delay: 80ms;
  }
  .about__intro {
    animation-delay: 180ms;
  }
  .about__item:nth-child(1) {
    animation-delay: 260ms;
  }
  .about__item:nth-child(2) {
    animation-delay: 350ms;
  }
  .about__item:nth-child(3) {
    animation-delay: 440ms;
  }
  .about__item:nth-child(4) {
    animation-delay: 530ms;
  }
  .about__photo {
    animation-duration: 800ms;
    animation-delay: 220ms;
  }

  .about__underline path {
    stroke-dasharray: 1;
    animation: al-draw 650ms cubic-bezier(0.65, 0, 0.35, 1) 620ms both;
  }
}

.about {
  padding: clamp(4rem, 3rem + 4vw, 6rem) clamp(1rem, 0.3rem + 3vw, 2rem);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.about__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.about__heading {
  margin: 0.75rem 0 0;
  font-size: clamp(1.875rem, 1.5rem + 1.9vw, 2.75rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.about__emphasis {
  position: relative;
  display: inline-block;
}

.about__underline {
  position: absolute;
  inset-inline: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 0.625rem;
  pointer-events: none;
}

.about__intro {
  margin: 1.5rem 0 0;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.about__list {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background-color: var(--muted);
  color: var(--foreground);
}

.about__icon svg {
  width: 20px;
  height: 20px;
}

.about__item h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.about__item p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.about__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

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

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .about__photo {
    aspect-ratio: 5 / 6;
  }
}
