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

:root {
  --color-brand: #39ff14;
  --color-brand-foreground: #252525;
  --color-foreground: #252525;
  --color-background: #ffffff;
  --color-border: #e4e4e4;
  --color-muted: #f7f7f7;
  --color-muted-foreground: #8d8d8d;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: 1.5;
}

.about10 {
  background: var(--color-background);
  padding: 4rem 1rem;
}

.about10__inner {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

.about10__intro {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

.about10__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--color-muted);
}

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

.about10__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about10__badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.about10__heading {
  margin: 1.25rem 0 0;
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-foreground);
}

.about10__bio {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted-foreground);
}

.about10__quote-block {
  margin: 4rem auto 0;
  max-width: 44rem;
  text-align: center;
}

.about10__mark {
  width: 2.5rem;
  height: auto;
  color: var(--color-brand);
}

.about10__quote {
  margin: 0.75rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-foreground);
}

.about10__attribution {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.about10__attribution-name {
  font-weight: 600;
  color: var(--color-foreground);
}

@media (min-width: 640px) {
  .about10__mark {
    width: 3rem;
  }

  .about10__quote {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .about10 {
    padding: 6rem 2rem;
  }

  .about10__intro {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }

  .about10__photo-wrap {
    margin: 0;
  }

  .about10__quote-block {
    margin-top: 5rem;
  }
}

/* Motion — a single IntersectionObserver in script.js watches the section
   and adds `is-visible` once; the quote block then plays its own slower,
   staged sequence (mark, then quote, then attribution), each on a longer
   `animation-delay` than the last. The `.about10--js` gate means the
   pending/hidden state below only applies once JavaScript has actually
   attached the observer — without JS every element sits at full opacity,
   so nothing here depends on JS to become visible. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-about10-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes al-about10-mark-in {
    from {
      opacity: 0;
      transform: scale(0.6);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes al-about10-quote-in {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .about10--js .about10__reveal {
    opacity: 0;
    transform: translateY(16px);
  }

  .about10--js.is-visible .about10__reveal {
    animation: al-about10-up 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .about10--js .about10__mark {
    opacity: 0;
    transform: scale(0.6);
  }

  .about10--js.is-visible .about10__mark {
    animation: al-about10-mark-in 650ms cubic-bezier(0.34, 1.35, 0.64, 1) 220ms both;
  }

  .about10--js .about10__quote {
    opacity: 0;
  }

  .about10--js.is-visible .about10__quote {
    animation: al-about10-quote-in 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .about10--js .about10__attribution {
    opacity: 0;
  }

  .about10--js.is-visible .about10__attribution {
    animation: al-about10-quote-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
