/* Footer — the brand signature, not another content section. Black, minimal, and
   quiet after the Drive photograph. Navigation links reuse .site-nav__link from the
   header so both stay in step.

   Desktop only for now; responsive tuning is a later pass. */

.site-footer {
  padding-block: clamp(2.5rem, 5vh, 3.5rem) 0;
  background-color: var(--zh-black);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vh, 3rem);
}

/* Identity ---------------------------------------------------------------- */

.site-footer__home {
  display: inline-block;
}

.site-footer__logo {
  width: auto;
  /* Noticeably larger than the header's 3.2rem, without becoming a graphic. */
  height: 4.5rem;
}

.site-footer__tagline {
  margin: 1.75rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.75);
}

.site-footer__location {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

/* Navigation and actions -------------------------------------------------- */

.site-footer__list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The header's link padding is sized for its mobile dropdown; the footer list is
   a stacked column, so it sits tighter. */
.site-footer .site-nav__link {
  padding-block: 0.1rem;
}

.site-footer__action {
  display: inline-block;
  margin-top: 1.5rem;
  /* 19px: small, but above the size where red on black drops below AA contrast. */
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--zh-red);
}

.site-footer__action:hover,
.site-footer__action:focus-visible {
  color: var(--zh-white);
}

/* Social and contact ------------------------------------------------------ */

.site-footer__social {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.site-footer__label {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.45);
}

.site-footer__link {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--zh-white);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--zh-red);
}

/* Utility bar ------------------------------------------------------------- */

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.4);
}

/* Below the desktop breakpoint the three columns stack in hierarchy order:
   identity, navigation, social. */
@media (max-width: 59.9375rem) {
  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(1.5rem, 4vh, 2.25rem);
  }

  /* Comfortable touch targets — the desktop list is tightened for a dense column. */
  .site-footer .site-nav__link {
    padding-block: 0.5rem;
  }

  .site-footer__list {
    gap: 0;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
