/* ════════════════════════════════════════════════════
   RESPONSIVE — Breakpoints & mobile adaptations
   css/responsive.css
   ════════════════════════════════════════════════════ */

/* ── Tablet / Large mobile ── */
@media (max-width: 1024px) {
  .container,
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero__content {
    gap: 3rem;
  }

  .hero__name {
    font-size: clamp(3.5rem, 7vw, 6rem);
  }

  .research__areas {
    grid-template-columns: repeat(2, 1fr);
  }

  .math__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research__header,
  .math__header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Tablet ── */
@media (max-width: 900px) {
  :root {
    --space-4xl: 5rem;
    --space-3xl: 3.5rem;
  }

  .navbar {
    padding: 0 1.5rem;
  }

  .navbar__menu {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 2.5rem) 1.5rem 4rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }

  .hero__right {
    order: -1;
  }

  .hero__photo {
    width: 280px;
    height: 360px;
  }

  .hero__photo-badge {
    width: 100px;
    height: 100px;
    bottom: -18px;
    right: -18px;
  }

  .hero__photo-badge-year {
    font-size: 1.75rem;
  }

  .hero__bg-text {
    display: none;
  }

  .hero__scroll-cue {
    display: none;
  }

  .section,
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .about__grid,
  .research__media,
  .soaply__grid,
  .math__header,
  .mentor__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .research__areas,
  .soaply__features {
    grid-template-columns: 1fr 1fr;
  }

  .math__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__copy {
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 2.5rem;
  }

  .hero__name {
    font-size: 3.25rem;
    line-height: 0.95;
  }

  .hero__desc {
    font-size: 0.95rem;
  }

  .hero__stats {
    gap: 1.25rem;
  }

  .hstat__num {
    font-size: 1.75rem;
  }

  .hero__photo {
    width: 240px;
    height: 320px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about__grid {
    gap: 2rem;
  }

  .research__areas,
  .math__grid,
  .soaply__features {
    grid-template-columns: 1fr;
  }

  .skills {
    gap: 0.5rem;
  }

  .paper-download {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .paper-download__btn {
    width: 100%;
    justify-content: center;
  }

  .contact__links {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-btn {
    justify-content: center;
  }

  .quote-card p {
    font-size: 1rem;
  }

  .anand-card img {
    height: 320px;
  }

  .research-photo img {
    height: 280px;
  }
}

/* ── Small mobile ── */
@media (max-width: 380px) {
  .hero__name {
    font-size: 2.75rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

/* ── Print styles ── */
@media print {
  .cursor,
  .cursor-ring,
  .navbar,
  .mobile-nav,
  .hero__scroll-cue,
  .scroll-progress,
  .loader {
    display: none !important;
  }

  body {
    cursor: auto;
    background: white;
    color: black;
  }
}
