/* ALIYA — editorial footer */

.site-footer {
  --footer-ivory: #f4f1ea;
  --footer-sage: #9aa38f;
  --footer-muted: rgb(244 241 234 / 0.52);
  --footer-line: rgb(244 241 234 / 0.1);
  position: relative;
  overflow: hidden;
  color: var(--footer-ivory);
  background:
    radial-gradient(120% 90% at 12% -10%, rgb(72 88 118 / 0.22), transparent 58%),
    radial-gradient(80% 70% at 88% 0%, rgb(42 58 92 / 0.18), transparent 62%),
    linear-gradient(
      165deg,
      #1a1f28 0%,
      #121a2a 42%,
      #0d1422 100%
    );
  border-top: 1px solid var(--footer-line);
}

.site-footer__watermark {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -0.12em;
  transform: translateX(-46%);
  font-family: var(--font-serif);
  font-size: clamp(7.5rem, 20vw, 17rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.88;
  text-transform: uppercase;
  color: rgb(244 241 234 / 0.03);
  white-space: nowrap;
  user-select: none;
}

.site-footer__atmosphere {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(55% 42% at 78% 18%, rgb(214 220 232 / 0.07), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.03), transparent 28%);
  opacity: 0.9;
}

.site-footer__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: var(--editorial-noise);
  mix-blend-mode: soft-light;
}

.site-footer__container {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(1.35rem, 2.8vw, 2rem);
}

.site-footer__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 26rem;
}

.site-footer__logo,
.brand-logo--footer {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  color: var(--footer-ivory);
}

.brand-logo--footer .brand-logo__img--footer {
  width: auto;
  max-width: 11.25rem;
  height: auto;
  max-height: 2.75rem;
}

.site-footer__logo:focus,
.brand-logo--footer:focus {
  outline: none;
}

.site-footer__logo:focus-visible,
.brand-logo--footer:focus-visible {
  outline: 1px solid rgb(244 241 234 / 0.55);
  outline-offset: 6px;
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgb(154 163 143 / 0.9);
}

.site-footer__description {
  margin: 0.1rem 0 0;
  max-width: 16.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.62;
  color: var(--footer-muted);
}

.site-footer__col--nav .site-footer__col-title,
.site-footer__col--connect .site-footer__col-title {
  margin: 0 0 0.6rem;
}

.site-footer__col-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgb(154 163 143 / 0.88);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-decoration: none;
  color: rgb(244 241 234 / 0.74);
  transition: color 0.22s ease;
}

.site-footer__link:hover {
  color: var(--footer-ivory);
}

.site-footer__link:focus {
  outline: none;
}

.site-footer__link:focus-visible {
  outline: 1px solid rgb(244 241 234 / 0.45);
  outline-offset: 3px;
}

.site-footer__col--connect {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__connect-text {
  margin: -0.2rem 0 0;
  max-width: 14rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--footer-muted);
}

.site-footer__ask {
  width: fit-content;
  margin: 0.05rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--footer-ivory);
  text-decoration: underline;
  text-decoration-color: rgb(154 163 143 / 0.55);
  text-underline-offset: 0.22em;
  cursor: pointer;
  transition:
    color 0.22s ease,
    text-decoration-color 0.22s ease;
}

.site-footer__ask:hover {
  color: #fff;
  text-decoration-color: rgb(244 241 234 / 0.75);
}

.site-footer__ask:focus {
  outline: none;
}

.site-footer__ask:focus-visible {
  outline: 1px solid rgb(244 241 234 / 0.45);
  outline-offset: 3px;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  color: rgb(244 241 234 / 0.54);
  transition: color 0.22s ease;
}

.site-footer__social-link:hover {
  color: var(--footer-ivory);
}

.site-footer__social-link:hover .site-footer__social-arrow {
  color: var(--footer-sage);
}

.site-footer__social-link:focus {
  outline: none;
}

.site-footer__social-link:focus-visible {
  outline: 1px solid rgb(244 241 234 / 0.45);
  outline-offset: 3px;
}

.site-footer__social-arrow {
  display: inline-block;
  margin-left: 0.12em;
  font-size: 0.92em;
  line-height: 1;
  color: rgb(154 163 143 / 0.72);
  transition: color 0.22s ease;
}

.site-footer__link--support {
  margin-top: 0.05rem;
  font-size: 0.8125rem;
  color: rgb(244 241 234 / 0.62);
}

.site-footer__support-note {
  margin: clamp(1.35rem, 2.8vw, 1.85rem) 0 0;
  padding-top: clamp(0.85rem, 1.8vw, 1.15rem);
  border-top: 1px solid var(--footer-line);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: clamp(1.35rem, 2.8vw, 1.85rem);
  padding-top: clamp(0.85rem, 1.8vw, 1.15rem);
  border-top: 1px solid var(--footer-line);
}

.site-footer__copyright-line {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgb(244 241 234 / 0.38);
}

.site-footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.45rem;
}

.site-footer__legal-dot {
  color: rgb(244 241 234 / 0.22);
  font-size: 0.6875rem;
  line-height: 1;
}

.site-footer__legal-link {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  line-height: 1.45;
  text-decoration: none;
  color: rgb(244 241 234 / 0.38);
  transition: color 0.22s ease;
}

.site-footer__legal-link:hover {
  color: rgb(244 241 234 / 0.68);
}

.site-footer__legal-link:focus {
  outline: none;
}

.site-footer__legal-link:focus-visible {
  outline: 1px solid rgb(244 241 234 / 0.45);
  outline-offset: 3px;
}

@media (min-width: 40rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 0.72fr));
    gap: clamp(1rem, 2vw, 1.65rem);
    align-items: start;
  }

  .site-footer__col--brand {
    grid-column: auto;
    max-width: none;
    padding-right: 1.5rem;
  }

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (max-width: 24.375rem) {
  .site-footer__legal-nav {
    gap: 0.22rem 0.35rem;
  }
}
