/* ─── Responsive Breakpoints ───
   All media queries consolidated here for clarity.
   Breakpoints: 650px (sm), 900px (md) */

/* ── Reduced Motion (WCAG 2.2 §6.5) ── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-scroll-line {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-overline,
  .hero-name,
  .hero-divider,
  .hero-tagline,
  .hero-scroll {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .about-image.reveal {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }

  .testimonial-dot,
  .testimonial-dot.active {
    transition: none;
  }
}

/* ── Tablet (max-width: 900px) ── */

@media (max-width: 900px) {
  section {
    padding: var(--space-12) var(--space-6);
  }

  #testimonials {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  #contact {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .about {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 3/4;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-5);
    text-align: center;
  }
}

/* ── Mobile (max-width: 650px) ── */

@media (max-width: 650px) {
  /* Navigation */
  nav {
    padding: 1rem 1.25rem;
  }

  nav.scrolled {
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Sections */
  section {
    padding: var(--space-8) 1.25rem;
  }

  #testimonials {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  #contact {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  /* Hero */
  .hero {
    padding: var(--space-6) 1.25rem;
    min-height: 90vh;
  }

  .hero-signature {
    width: clamp(220px, 65vw, 320px);
  }

  .hero-name {
    margin-bottom: 1.5rem;
  }

  .hero-overline {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .hero-divider {
    width: 40px;
  }

  /* About */
  .about-image {
    max-width: 100%;
    aspect-ratio: 3/4;
  }

  .about-image::after {
    inset: 0.5rem;
  }

  .about-text p:first-of-type::first-letter {
    font-size: 3.5rem;
  }

  .about-languages {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .about-image-label {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.5rem;
  }

  /* Section headings */
  .section-overline {
    font-size: 0.55rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  /* Services */
  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-number {
    font-size: 3.5rem;
  }

  /* Testimonials */
  .testimonial-carousel {
    min-height: 220px;
  }

  .testimonial-quote::before {
    font-size: 5rem;
    top: -2rem;
    left: -0.5rem;
  }

  /* Contact */
  .contact-email {
    font-size: 1.1rem;
  }

  /* Footer */
  .footer-inner {
    padding: 0 0.5rem;
  }

  .social-links {
    gap: 1rem;
  }
}

/* ── Small phones (max-width: 380px) ── */

@media (max-width: 380px) {
  .hero-signature {
    width: 200px;
  }

  .hero-tagline {
    font-size: 0.8rem;
  }

  .about-text p {
    font-size: 0.85rem;
  }

  .service-desc {
    font-size: 0.8rem;
  }
}
