/* Shared website footer: exact brand statements in normal document flow. */
.has-site-footer { min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; }
.has-site-footer > main,
.has-site-footer > #demo-app { flex:1 0 auto; min-width:0; }
.has-site-footer > .site-footer { margin-top:auto; flex-shrink:0; }
.site-footer .footer-tagline {
  margin:25px 0 20px;
  font-family:Cormorant,Georgia,serif;
  font-size:24px;
  line-height:1.25;
  color:var(--forest);
}
.site-footer .footer-tagline-primary { display:block; }
.site-footer .footer-tagline-secondary {
  display:block;
  margin-top:14px;
  font-family:VilloreSans,Arial,sans-serif;
  font-size:13px;
  line-height:1.65;
  letter-spacing:.045em;
}
.site-footer--compact { padding-block:32px; }
.site-footer--compact .footer-tagline { margin:0; }
@media (max-width:1023px) {
  .site-footer--compact { padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)); }
}

/* Dark Oak closing surface: shared background, artwork and approved white foreground; layout and type stay intact. */
body.has-site-footer > footer.site-footer {
  background-color: #2E231C;
  background-image:
    url('/assets/footer/wood-growth-rings.svg?v=d533d16d6764'),
    url('/assets/footer/oak-fiber.svg'),
    radial-gradient(ellipse at 20% 0%, #B89A7216, #B89A7200 72%),
    linear-gradient(180deg, #2E231C 0%, #271C15 54%, #150F0B 100%);
  background-position: right center, left top, center, center;
  background-size: cover, 256px 256px, cover, cover;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}
body.has-site-footer > footer.site-footer::before,
body.has-site-footer > footer.site-footer::after {
  content: none;
  background-image: none;
}
/* Approved white foregrounds are local to the shared closing footer. */
body.has-site-footer > footer.site-footer,
body.has-site-footer > footer.site-footer :is(a, p, small, span, .footer-bottom) {
  color: #FFFFFF;
}
body.has-site-footer > footer.site-footer :is(a, summary):focus-visible {
  outline-color: #FFFFFF;
}
@media (forced-colors: active) {
  body.has-site-footer > footer.site-footer {
    background: Canvas;
    color: CanvasText;
  }
  body.has-site-footer > footer.site-footer :is(p, small, span, .footer-bottom) {
    color: CanvasText;
  }
  body.has-site-footer > footer.site-footer a:any-link {
    color: LinkText;
  }
  body.has-site-footer > footer.site-footer :is(a, summary):focus-visible {
    outline-color: Highlight;
  }
}
