/* ──────────────────────────────────────────
   FOOTER
   Centered composition with hero-style ornament and subtle ambient glow.
   Layout zones (top → bottom):
     1. logo + ornament tagline
     2. navigation row (wraps on narrow widths)
     3. hairline divider
     4. meta row (copyright + credit)
─────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--dark);
  padding: 56px 32px 36px;
  overflow: hidden;
  border-top: 1px solid var(--light-ghost);
}

/* ── Subtle ambient glow from the top edge ─ */
.footer-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 100vh;
  background: radial-gradient(ellipse at center top,
    rgba(196, 186, 176, 0.07),
    rgba(196, 186, 176, 0.02) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* ──────────────────────────────────────────
   BRAND BLOCK — logo + ornament tagline
─────────────────────────────────────────── */
.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  /* logo's bottom margin now provides the spacing to the nav directly,
     since the ornament tagline was removed. */
  margin: 0 auto 40px;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.6s var(--ease-out-quint);
}
.footer-logo:hover { transform: scale(1.05); }

/* ──────────────────────────────────────────
   NAVIGATION ROW
─────────────────────────────────────────── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
  margin-bottom: 72px;
}
.footer-link {
  position: relative;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.4s ease;
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--light);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease-out-quint);
}
.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ──────────────────────────────────────────
   HAIRLINE DIVIDER (gradient fade on both ends)
─────────────────────────────────────────── */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    var(--light-faint) 30%,
    var(--light-faint) 70%,
    transparent);
  margin: 0 0 28px;
}

/* ──────────────────────────────────────────
   META ROW — copyright + credit
─────────────────────────────────────────── */
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--light-dim);
  text-align: left;
}
.footer-credit a {
  color: var(--light);
  text-decoration: none;
  border-bottom: 1px solid var(--light-faint);
  padding-bottom: 1px;
  transition: border-color 0.4s ease;
}
.footer-credit a:hover { border-color: var(--light); }

/* ──────────────────────────────────────────
   RESPONSIVE — mobile footer
   Lives here (not in responsive.css) so every page picks it up.
─────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer { padding: 40px 20px 24px; }
  .footer-logo { width: 56px; height: 56px; margin-bottom: 28px; }
  .footer-nav {
    gap: 14px 22px;
    margin-bottom: 44px;
  }
  .footer-link { font-size: 11px; letter-spacing: 0.15em; }
  .footer-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 11px;
  }
}
