/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .hero__image-tag {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 1rem);
    text-align: center;
  }

  .hero__badge,
  .hero__actions,
  .hero__social {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__social {
    justify-content: center;
  }

  .hero__image-col {
    order: -1;
  }

  .hero__image-wrap {
    width: min(240px, 60vw);
  }

  .hero__image-ring--outer { inset: -16px; }
  .hero__image-ring--mid   { inset: -6px; }

  /* Projects */
  .projects-pin { height: auto; }

  .projects-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 2rem;
    height: auto;
    gap: 2rem;
  }

  .project-card {
    width: 100%;
    height: auto;
    min-height: 50vh;
  }

  .projects__instruction { display: none; }

  /* Skills */
  .skills__grid { grid-template-columns: 1fr; }

  /* About */
  .about__grid { grid-template-columns: 1fr; }

  /* Hero title */
  .hero__title { font-size: max(3rem, 14vw); }

  /* Contact */
  .contact__title { font-size: max(2.5rem, 11vw); }
}

@media (min-width: 1920px) {
  html { font-size: 18px; }
  .hero__grid, .about__grid, .skills__grid, .projects__header {
    max-width: 1600px;
  }
}
