/* Shared by the Astro pages and the standalone design previews. */
footer.site-footer {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(320px, 44svh, 500px);
  margin: 0;
  padding: 40px 0 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 18%, #dba98b26, transparent 62%),
    linear-gradient(125deg, #111 0%, #241a17 30%, #71432f 76%, #211713 100%);
  color: #f0e1ce;
  font: 400 15px/1.6 Satoshi, Arial, sans-serif;
}
footer.site-footer[data-reveal="true"] { position: sticky; bottom: 0; }
footer.site-footer::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dba98b 12%, #dba98b 50%, #dba98b 88%, transparent);
  opacity: .5;
  transform: none;
  box-shadow: none;
  transition: none;
}
/* The gradient moves behind the stationary links and wordmark. */
footer.site-footer::after {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background: inherit;
  transform-origin: 75% 50%;
  animation: site-footer-breathe 16s ease-in-out infinite;
}
@keyframes site-footer-breathe {
  0%, 100% { transform: translate(-1.5%, 0) scale(1); opacity: .72; }
  50% { transform: translate(1.5%, -1%) scale(1.08); opacity: 1; }
}
.site-footer .site-footer__top {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(24px, 3vw, 64px);
}
.site-footer .site-footer__copyright {
  margin: 0;
  color: #f0e1ce;
  text-align: left;
}
.site-footer .site-footer__links {
  display: contents;
  margin: 0;
  padding: 0;
  text-align: left;
}
.site-footer .site-footer__column,
.site-footer .site-footer__actions,
.site-footer .site-footer__copyright {
  display: grid;
  align-content: start;
  gap: 4px;
}
.site-footer .site-footer__actions { justify-self: end; margin: 0; padding: 0; }
.site-footer .site-footer__links a,
.site-footer .site-footer__actions a,
.site-footer .site-footer__copyright span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  color: #f0e1ce;
  font: 500 11px/1.5 Satoshi, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .3s;
}
.site-footer .site-footer__top-link {
  gap: 8px;
  white-space: nowrap;
}
.site-footer .site-footer__links a,
.site-footer .site-footer__actions a {
  position: relative;
  justify-self: start;
  max-width: 100%;
  transition: color .3s ease, text-shadow .3s ease;
}
.site-footer .site-footer__links a::after,
.site-footer .site-footer__actions a::after {
  content: '';
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.site-footer .site-footer__links a:hover,
.site-footer .site-footer__actions a:hover,
.site-footer .site-footer__links a:focus-visible,
.site-footer .site-footer__actions a:focus-visible {
  color: #dba98b;
  text-shadow: 0 0 10px #dba98b55;
}
.site-footer .site-footer__links a:hover::after,
.site-footer .site-footer__actions a:hover::after,
.site-footer .site-footer__links a:focus-visible::after,
.site-footer .site-footer__actions a:focus-visible::after {
  transform: scaleX(1);
  opacity: .8;
}
.site-footer a:focus-visible { outline: 2px solid #dba98b; outline-offset: 5px; border-radius: 2px; }
.site-footer .site-footer__wordmark {
  display: block;
  width: 100%;
  margin: 72px 0 0;
  padding: 0;
  color: #f0e1ce;
  border: 0;
  line-height: 0;
  text-decoration: none;
}
.site-footer .site-footer__wordmark svg { display: block; width: 100%; height: auto; margin: 0; overflow: visible; fill: #f0e1ce; }
.site-footer .site-footer__wordmark text { font: 400 100px Coconat, Georgia, serif; letter-spacing: -.055em; }
@media (max-width: 760px) {
  footer.site-footer, footer.site-footer[data-reveal="true"] { position: relative; min-height: 320px; padding-top: 32px; }
  .site-footer .site-footer__top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .site-footer .site-footer__actions { grid-column: 2; grid-row: 1; justify-self:start; }
  .site-footer .site-footer__links { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(2,minmax(0,1fr)); justify-self: stretch; gap: 0 16px; }
  .site-footer .site-footer__column { display: contents; }
  .site-footer .site-footer__column:first-child a { grid-column: 1; }
  .site-footer .site-footer__column:last-child a { grid-column: 2; }
  .site-footer .site-footer__column a:nth-child(1) { grid-row: 1; }
  .site-footer .site-footer__column a:nth-child(2) { grid-row: 2; }
  .site-footer .site-footer__column a:nth-child(3) { grid-row: 3; }
  .site-footer .site-footer__links a, .site-footer .site-footer__actions a, .site-footer .site-footer__copyright span { min-height: 32px; }
  .site-footer .site-footer__wordmark { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  footer.site-footer[data-reveal="true"] { position: relative; }
  footer.site-footer::after { animation: none; }
  .site-footer .site-footer__links a,
  .site-footer .site-footer__actions a,
  .site-footer .site-footer__links a::after,
  .site-footer .site-footer__actions a::after { transition: none; }
}

/* Uncover the stationary footer only in the space below the final content. */
.site-footer-reveal-trigger { display: block; height: 0; margin: 0; padding: 0; border: 0; pointer-events: none; }
footer.site-footer.is-scroll-reveal {
  position: sticky;
  bottom: 0;
  clip-path: inset(var(--footer-reveal-clip, 100%) 0 0);
}
footer.site-footer.is-static-footer { position: relative; clip-path: none; }
