/*
  About 19 — 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;
  --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: #0a0a0a;
  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.
   "Diagonal clip-path wipe": the hero photo starts clipped to a thin,
   tilted sliver near the left edge and expands into the full rectangle. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-wipe {
    from {
      clip-path: polygon(0% 0%, 12% 0%, -12% 100%, 0% 100%);
    }
    to {
      clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
  }

  @keyframes al-zoom {
    from {
      transform: scale(1.1);
    }
    to {
      transform: scale(1);
    }
  }

  @keyframes al-up {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .about__mask {
    animation: al-wipe 1050ms cubic-bezier(0.65, 0, 0.35, 1) both;
  }

  .about__img {
    animation: al-zoom 1400ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .about__overlay {
    animation: al-up 700ms cubic-bezier(0.16, 1, 0.3, 1) 1150ms both;
  }

  .about__swatch {
    animation: al-up 700ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both;
  }
}

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

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

.about__mask {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
  border-radius: 1.5rem;
}

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

.about__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15) 55%, transparent);
}

.about__overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
}

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

.about__name {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.about__positioning {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

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

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

.about__swatch-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

@media (min-width: 640px) {
  .about__mask {
    min-height: 520px;
  }

  .about__overlay {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: stretch;
  }

  .about__mask {
    min-height: 600px;
  }

  .about__overlay {
    padding: 2.5rem;
  }

  .about__swatch {
    aspect-ratio: auto;
    height: 100%;
  }
}
