/* Mobile layout repairs for the portfolio. */
.site-footer > p {
  font-size: 0;
}

.site-footer > p::after {
  content: "Designed & built by Gabriella · 2026";
  font-size: .68rem;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-shell,
  .hero,
  .hero-copy,
  .hero-dek,
  .hero-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero {
    overflow: hidden;
  }

  .hero-name {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: normal;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1rem;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    max-width: 100%;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    padding-inline: 1.35rem;
  }

  .hero-actions .text-link {
    margin-left: .1rem;
  }

  .project-image img.portfolio-heirloom-preview {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: top center !important;
    transform: none !important;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .85rem 1rem;
    align-items: center;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
