/* Compact, three-column site footer. Loaded last to replace legacy treatments. */
.site-footer {
  position: relative;
  padding: 40px 0 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 0, rgba(36, 129, 166, .14), transparent 30%),
    var(--color-ink, #010626);
  border-top: 1px solid rgba(242, 202, 80, .25);
  color: var(--color-white, #fff);
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 0;
  width: min(180px, 22vw);
  height: 1px;
  background: var(--color-gold, #f2ca50);
  content: "";
}

.site-footer .footer-main,
.site-footer .footer-main--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.site-footer .footer-brand,
.site-footer .footer-col {
  position: relative;
  grid-column: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-footer .footer-col::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: calc(clamp(28px, 4.5vw, 64px) / -2);
  width: 1px;
  background: rgba(255, 255, 255, .1);
  content: "";
}

.site-footer .footer-brand__logo { display: inline-block; }

.site-footer .footer-brand img {
  width: 180px;
  height: auto;
}

.site-footer .footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  color: rgba(205, 214, 226, .84);
  font-size: .94rem;
  line-height: 1.65;
}

.site-footer .footer-col h2 {
  margin: 2px 0 16px;
  color: var(--color-gold, #f2ca50);
  font-family: var(--body, Futura, "Century Gothic", Arial, sans-serif);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer .footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-col a {
  color: rgba(214, 222, 233, .82);
  font-size: .94rem;
  line-height: 1.55;
}

.site-footer .footer-nav a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 3px 0;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.site-footer .footer-contact__list {
  display: grid;
  gap: 5px;
  margin: 0;
  font-style: normal;
}

.site-footer .footer-contact__list > a,
.site-footer .footer-contact__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 5px 0;
  border: 0;
}

.site-footer .footer-contact__list > a > i,
.site-footer .footer-contact__item > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--color-gold, #f2ca50);
  font-size: .76rem;
}

.site-footer .footer-contact__list span,
.site-footer .footer-contact__list small {
  display: block;
  min-width: 0;
}

.site-footer .footer-contact__list span {
  overflow-wrap: anywhere;
  color: rgba(224, 230, 238, .88);
  font-size: .88rem;
  line-height: 1.45;
}

.site-footer .footer-contact__list span a {
  display: block;
  margin-right: 0;
  color: inherit;
  font-size: inherit;
  white-space: nowrap;
}

.site-footer .footer-contact__list small {
  margin-bottom: 2px;
  color: rgba(170, 185, 205, .82);
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer .footer-contact__list a:hover,
.site-footer .footer-contact__list a:focus-visible { color: #fff; }

.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.site-footer .footer-social a {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus-visible {
  background: var(--color-gold, #f2ca50);
  border-color: var(--color-gold, #f2ca50);
  color: var(--color-ink, #010626);
  transform: translateY(-2px);
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(170, 185, 205, .76);
  font-size: .8rem;
  line-height: 1.55;
}

.site-footer .footer-bottom p { margin: 0; }
.site-footer .footer-bottom div { display: flex; gap: 20px; margin: 0; }
.site-footer .footer-bottom a { color: inherit; transition: color .2s ease; }
.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus-visible { color: #fff; }

@media (max-width: 900px) {
  .site-footer { padding-top: 36px; }

  .site-footer .footer-main,
  .site-footer .footer-main--three { gap: 24px; }

  .site-footer .footer-col::before { left: -12px; }
}

@media (max-width: 640px) {
  .site-footer { padding: 32px 0 16px; }

  .site-footer .footer-main,
  .site-footer .footer-main--three {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer .footer-col {
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .site-footer .footer-col::before { display: none; }
  .site-footer .footer-brand p { max-width: 420px; margin-top: 12px; }

  .site-footer .footer-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 20px;
  }

  .site-footer .footer-contact__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 18px;
  }

  .site-footer .footer-contact__item:last-child { grid-column: 1 / -1; }

  .site-footer .footer-bottom {
    align-items: center;
    margin-top: 22px;
  }
}

@media (max-width: 420px) {
  .site-footer .footer-contact__list { grid-template-columns: 1fr; }
  .site-footer .footer-contact__item:last-child { grid-column: auto; }
  .site-footer .footer-bottom { display: grid; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a { transition: none !important; }
}
