* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #ffffff;
  color: #171717;
}

.featured {
  padding: 4rem 1rem;
}

.layout {
  margin: 0 auto;
  max-width: 72rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

.media {
  order: 1;
}

.mask {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #f5f5f5;
}

.mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  order: 2;
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fbbf24;
}

.stars svg {
  width: 1rem;
  height: 1rem;
}

.quote {
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #171717;
}

.author {
  margin: 2rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author__rule {
  width: 2.5rem;
  height: 1px;
  background: #d4d4d4;
}

.author__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
}

.author__role {
  margin: 0;
  font-size: 0.875rem;
  color: #737373;
}

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

  .quote {
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  }
}

/*
 * Testimonials 02 — "image mask reveal" animation identity. Same
 * canonical keyframes as `Testimonials02.tailwind.css`; see script.js for
 * the IntersectionObserver that adds `is-visible` once.
 */
@keyframes al-testimonials02-wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes al-testimonials02-fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .al-testimonials02.al-testimonials02-js .mask {
    clip-path: inset(0 100% 0 0);
  }

  .al-testimonials02.al-testimonials02-js.is-visible .mask {
    animation: al-testimonials02-wipe 800ms cubic-bezier(0.65, 0, 0.35, 1) both;
  }

  .al-testimonials02.al-testimonials02-js .content {
    opacity: 0;
    transform: translateY(16px);
  }

  .al-testimonials02.al-testimonials02-js.is-visible .content {
    animation: al-testimonials02-fade 600ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
  }
}
