/*
  About 06 — Julia Kessler, 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;
}

/* 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-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes al-photo {
    from {
      opacity: 0;
      transform: scale(0.97);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes al-card {
    from {
      opacity: 0;
      transform: translateY(14px) scale(0.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

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

  .about__photo {
    animation: al-photo 800ms cubic-bezier(0.16, 1, 0.3, 1) 140ms both;
  }

  .about__card {
    animation: al-card 600ms 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: 72rem;
}

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

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

.about__name {
  margin: 0.75rem 0 0;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.about__photo {
  margin: 0 auto;
  width: 100%;
  max-width: 24rem;
}

.about__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--muted);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.2);
}

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

.about__values {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about__card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
}

.about__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(57, 255, 20, 0.1);
  color: var(--card-foreground);
}

.about__card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.about__card-title {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--card-foreground);
}

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

@media (min-width: 640px) {
  .about__values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about__intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 3.5rem;
  }

  .about__photo {
    margin: 0;
  }

  .about__values {
    margin-top: 4rem;
    gap: 1.25rem;
  }
}
