.footer {
    height: 500px;
    background-color: var(--bg-dark);
    color: var(--text);

    position: sticky;
    width: 100%;

    left: 0;
    bottom: 0;

    z-index: 1;
}

.footer-container {
    padding: var(--space-48) var(--section-padding-horizontal) var(--space-12) var(--section-padding-horizontal);
}

.footer-content {
    width: 100%;
    height: 100%;
    padding: 0;
    max-width: var(--section-max-width);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.footer-social {
    display: flex;
    gap: var(--space-12);
}

.footer-name p {
    font-size: 128px;
    font-weight: bold;
    text-align: center;

    /* Gradient text (bottom to top) */
    background: linear-gradient(to top, hsl(0, 0%, 30%) 0%, hsl(0, 0%, 40%) 5%, hsl(0, 0%, 50%) 10%, hsl(0, 0%, 100%) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {

  .footer {
    height: auto;
    position: static;
  }

  .footer-container {
    padding: var(--space-32) var(--section-padding-horizontal) var(--space-24);
  }

  .footer-content {
    gap: var(--space-24);
    justify-content: flex-start;
  }

  /* stack rows, but do NOT center-align */
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-12);
    text-align: left;
  }

  .footer-column {
    align-items: flex-start;
    gap: var(--space-16);
  }

  .footer-social {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* ONLY the brand name is centered */
  .footer-name {
    width: 100%;
  }

  .footer-name p {
    font-size: clamp(48px, 18vw, 72px);
    line-height: 1;
    text-align: center;
  }

  .footer-meta small {
    font-size: 12px;
    opacity: 0.7;
  }
}
