/* =========================================
   FOOTER — the page ends at the meadow
   The island's flower foreground closes the site: heavily scrimmed at
   the top so the links stay readable, blooming toward the bottom edge.
   ========================================= */
.site-footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg,
      transparent,
      rgba(215, 168, 79, 0.4),
      rgba(127, 164, 107, 0.35),
      transparent) 1;
  background:
    linear-gradient(180deg,
      var(--charcoal) 0%,
      rgba(16, 25, 20, 0.86) 34%,
      rgba(16, 25, 20, 0.42) 72%,
      rgba(16, 25, 20, 0.18) 100%),
    url(../images/meadow-strip.webp) center bottom / cover no-repeat;
}

/* Giant masthead reprise, Hildén&Kaira-style: the name spans the
   footer above the meadow */
.site-footer-wordmark {
  padding: clamp(3.5rem, 9vh, 7rem) clamp(1rem, 3vw, 3rem) 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(4rem, 17vw, 20rem);
  line-height: 0.85;
  letter-spacing: -0.055em;
  text-align: center;
  color: #f4ead7;
  text-shadow: 0 2px 30px rgba(16, 25, 20, 0.55);
  user-select: none;
}

.site-footer-wordmark-ast {
  display: inline-block;
  vertical-align: super;
  margin-left: 0.02em;
  font-size: 0.34em;
  line-height: 1;
  letter-spacing: 0;
  color: var(--accent-bright);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4rem) clamp(1.5rem, 6vw, 7rem) clamp(4.5rem, 9vh, 7rem);
}

.site-footer-copy,
.site-footer-links a {
  text-shadow: 0 1px 10px rgba(16, 25, 20, 0.7);
}

.site-footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.6rem;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color var(--dur-fast) ease;
}

.site-footer-links a:hover {
  color: var(--accent-bright);
}

.site-footer-star {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--ink-faint);
  opacity: 0.5;
  cursor: pointer;
  transition: color 0.22s ease,
    opacity 0.22s ease,
    transform 0.3s var(--ease-lux);
}

.site-footer-star:hover {
  color: var(--accent-bright);
  opacity: 1;
  transform: rotate(90deg) scale(1.25);
}

.site-footer-star--lit {
  color: var(--accent-bright);
  opacity: 1;
  text-shadow: 0 0 12px rgba(200, 169, 106, 0.6);
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-footer-links {
    gap: 0 1.1rem;
  }
}
