@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 32px, var(--content-width));
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    min-height: 390px;
    grid-template-columns: minmax(0, 1.1fr) minmax(210px, 0.9fr);
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 64px);
  }

  .avatar-placeholder {
    width: 190px;
    height: 190px;
    font-size: 100px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .message-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .steam-card {
    flex-wrap: wrap;
  }

  .button-steam {
    margin-left: 76px;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 76px;
  }

  .page-shell {
    width: min(100% - 26px, var(--content-width));
  }

  .site-header {
    min-height: 58px;
    gap: 10px;
    padding: 8px 11px;
  }

  .brand {
    gap: 8px;
    font-size: 13px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    gap: 11px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .theme-toggle {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    padding: 9px;
  }

  .theme-label {
    display: none;
  }

  .hero {
    min-height: unset;
    grid-template-columns: 1fr;
    padding-top: 68px;
    padding-bottom: 15px;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-size: clamp(41px, 12vw, 58px);
  }

  .hero-description {
    max-width: 440px;
  }

  .hero-art {
    position: absolute;
    top: 24px;
    right: 0;
    width: 160px;
    height: 180px;
    opacity: 0.26;
  }

  .avatar-glow {
    width: 160px;
    height: 160px;
  }

  .avatar-placeholder {
    width: 128px;
    height: 128px;
    border-radius: 38px;
    font-size: 74px;
  }

  .orbit-one {
    width: 146px;
    height: 146px;
  }

  .orbit-two {
    width: 166px;
    height: 166px;
  }

  .floating-chip,
  .art-caption {
    display: none;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 9px;
  }

  .button {
    min-height: 43px;
    padding: 0 13px;
    font-size: 11px;
  }

  .section-block {
    margin-top: 70px;
  }

  .section-heading {
    align-items: flex-end;
  }

  .section-heading h2,
  .message-intro h2 {
    font-size: 31px;
  }

  .section-aside {
    max-width: 120px;
    font-size: 10px;
    text-align: right;
  }

  .content-card {
    padding: 23px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-preview {
    min-height: 170px;
  }

  .project-details {
    padding: 4px 2px 2px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .steam-card {
    gap: 16px;
    padding: 21px;
  }

  .steam-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .steam-copy {
    flex-basis: calc(100% - 62px);
  }

  .button-steam {
    margin-left: 0;
  }

  .message-form {
    padding: 18px;
  }

  .form-controls {
    align-items: flex-start;
  }

  .submit-button {
    padding: 0 12px;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
    padding-bottom: 30px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .main-nav {
    gap: 8px;
  }

  .main-nav a {
    font-size: 9px;
  }

  .brand {
    font-size: 12px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
}
