@font-face {
  font-family: "Novarese";
  src: url("../assets/fonts/Novarese-BoldItalic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > * { flex-shrink: 0; }
.site-footer { margin-top: auto; }
.site-footer {
  background: #fffef7;
  color: #252221;
  font: 400 clamp(.875rem, 1.4vw, 1rem)/1.45 Montserrat, Arial, sans-serif;
}
.site-footer::after {
  content: "";
  display: block;
  height: clamp(3px, .45vw, 7px);
  background: linear-gradient(to right, #1a2c6f 90%, #d1a545 90%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 43fr 27fr 21fr;
  column-gap: 4.5%;
  padding: clamp(1.25rem, 2.2vw, 2rem) 9.4%;
}
.footer-about img { display: block; width: clamp(5rem, 8vw, 6rem); height: auto; }
.footer-about p { margin: .75rem 0 0; }
.site-footer h2 { margin: .25rem 0 .85rem; font: italic bold 1.05em Novarese, Georgia, serif; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer nav li + li { margin-top: .5rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a[href]:hover { color: #805818; text-decoration: underline; }
.site-footer a[href]:focus-visible { outline: 2px solid #1a2c6f; outline-offset: 3px; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { display: grid; place-items: center; width: clamp(1.75rem, 3.4vw, 2.5rem); aspect-ratio: 1; }
.footer-social img { display: block; width: 84%; height: auto; }
@media (max-width: 44rem) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding: 1.25rem 6%; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: 42ch; margin-top: 1rem; }
  .site-footer h2 { margin: 0 0 1rem; }
  .site-footer nav li + li { margin-top: .5rem; }
  .footer-social { gap: .5rem; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: no-preference) {
  .primary-nav a, .footer-inner nav a {
    background-image: linear-gradient(currentColor,currentColor);
    background-size: 0 1px;
    background-position: left calc(100% - .45em);
    background-repeat: no-repeat;
    transition: background-size .22s ease-out;
  }
  .footer-inner nav a { background-position: left bottom; }
  .primary-nav a:focus-visible, .footer-inner nav a:focus-visible { background-size: 100% 1px; }
  .footer-inner.is-visible { animation: footer-enter .6s cubic-bezier(.2,.7,.3,1); }
}
@keyframes footer-enter { from { opacity: .72; transform: translateY(10px); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .primary-nav a:hover, .site-footer .footer-inner nav a:hover {
    text-decoration: none; background-size: 100% 1px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .heading-in-view { animation: heading-fade-in 1.6s ease-in-out; }
}
@keyframes heading-fade-in { from { opacity: 0; } to { opacity: 1; } }
