﻿
.site-footer {
  position: relative;
  background: #080808;
  border-top: 1px solid var(--gold-dim);
  padding: 44px 24px 28px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.site-footer::after {
  content: "YE";
  position: absolute;
  right: 48px;
  bottom: -20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 14rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.018;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 32px;
  text-align: center;
  padding-bottom: 48px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(201, 169, 106, 0.1);
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  font-family: "Jost", sans-serif;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-glow);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
  gap: 12px;
}

.footer-copy {
  font-family: "Jost", sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(242, 237, 228, 0.3);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: "Jost", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.3);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ===== Mobile-first responsive layers ===== */
@media (min-width: 600px) {
  .site-footer {
    padding: 52px 36px 32px;
  }

  .footer-bottom {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

  .footer-legal {
    gap: 28px;
  }
}

@media (min-width: 901px) {
  .site-footer {
    padding: 64px 60px 36px;
  }

  .footer-top {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    gap: 48px;
    text-align: left;
  }

  .footer-nav {
    gap: 36px;
  }
}
