@media (max-width: 1100px) {
  .hero__content,
  .about-layout,
  .case-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 560px;
  }

  .media-frame {
    position: relative;
    top: auto;
    min-height: 360px;
  }

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

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

  #skills .section-copy {
    max-width: 760px;
  }

  #skills .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 68px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 54px);
  }

  .hero__content {
    gap: 22px;
  }

  .hero__content > div:first-child {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero__signals,
  .grid-2,
  .grid-3,
  .grid-4,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(3.85rem, 17vw, 6.9rem);
  }

  .hero-visual {
    min-height: 520px;
    width: 100%;
    max-width: none;
  }

  .profile-orbit {
    inset: 11% 2% 14% 5%;
  }

  .profile-placeholder {
    inset: 76px 32px 96px;
  }

  .floating-panel--ads {
    top: -34px;
    right: 1%;
  }

  .brand__logo {
    width: 148px;
    max-height: 46px;
  }

  .floating-panel {
    width: 210px;
  }

  .floating-panel--code {
    left: 0;
    bottom: 12%;
  }

  .hero__badge {
    right: 0;
    bottom: 2%;
    width: min(230px, 62vw);
    padding: 12px;
    transform: rotate(2deg);
  }

  .project-card:nth-child(2),
  .project-card:nth-child(3) {
    margin-top: 0;
  }

  .skill-tabs,
  .project-filters {
    width: 100%;
  }

  .chip {
    flex: 1 1 auto;
  }

  #skills .skill-tabs {
    justify-content: flex-start;
    border-radius: var(--radius-md);
  }

  #skills .skill-tabs .chip {
    flex: 1 1 calc(50% - 10px);
    padding: 0 12px;
    font-size: 0.68rem;
  }

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

  #skills .skill-card {
    min-height: 250px;
  }

  #skills .skill-card .muted {
    min-height: auto;
  }

  .skill-modal-grid {
    grid-template-columns: 1fr;
  }

  .scroll-cue {
    display: none;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
