
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    display: none;
  }

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

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

  .skills-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skills-float-row {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  #nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s;
    transform-origin: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu a {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color 0.2s;
  }

  .mobile-menu a:hover {
    color: var(--gray);
  }

  #logo-wrap {
    width: 72px;
    height: 72px;
  }

  .hero-scroll-hint {
    bottom: 1.5rem;
  }

  #about {
    padding: 6rem 0;
  }

  #projects {
    padding: 5rem 0;
  }

  .project-card {
    padding: 1.75rem;
  }

  .project-card h3 {
    font-size: 1.5rem;
  }

  #skills {
    padding: 5rem 0 6rem;
  }

  .skills-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skills-float-row {
    height: 200px;
  }

  #press {
    padding: 5rem 0;
  }

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

  #contact {
    padding: 4rem 0 3rem;
  }

  .footer-links-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .hero-cta {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
  }

  .project-features {
    gap: 0.4rem;
  }

  .feature-pill {
    font-size: 0.68rem;
  }
}

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

  #logo-img {
    animation: none !important;
  }

  .logo-shadow {
    animation: none !important;
  }

  .hero-inner {
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

.nav-toggle {
  display: none;
}

.mobile-menu {
  display: flex;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
