/*
 * Reusable corporate footer.
 * Load this file after style.css. The footer stays in document flow and
 * therefore cannot cover the page content.
 */
:root {
  --footer-ink: #f7f5ef;
  --footer-muted: #aaa69c;
  --footer-line: rgba(201, 168, 76, .24);
  --footer-gold: var(--color-accent, #c9a84c);
  --footer-gold-hover: var(--color-accent-hover, #e0bf62);
  --footer-black: var(--color-black, #070707);
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
}

body > main,
body > .main-content,
body > .pub-main {
  flex: 1 0 auto !important;
  width: 100%;
}

body > footer.site-footer,
.site-footer {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  clear: both;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  margin: clamp(180px, 24vw, 360px) 0 0 !important;
  padding: 34px clamp(18px, 4vw, 56px) 18px;
  overflow: visible;
  z-index: 2;
  color: var(--footer-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 168, 76, .11), transparent 32%),
    linear-gradient(145deg, #0d0d0d 0%, var(--footer-black) 58%, #11100d 100%);
  border-top: 1px solid var(--footer-line);
  font-family: var(--font-secondary, Inter, Arial, sans-serif);
}

.extra-content + .site-footer {
  margin-top: clamp(100px, 13vw, 180px) !important;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer__brand {
  max-width: none;
  margin-bottom: 24px;
}

.site-footer__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--footer-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.site-footer__brand h2 {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  color: var(--footer-ink);
  font-family: var(--font-primary, Georgia, serif);
  font-size: clamp(18px, 3.2vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.site-footer__brand p {
  margin: 8px 0 0;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px clamp(24px, 4vw, 52px);
  padding: 22px 0;
  border-top: 1px solid var(--footer-line);
  border-bottom: 1px solid var(--footer-line);
}

.site-footer__section h3 {
  margin: 0 0 9px;
  color: var(--footer-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer__section address,
.site-footer__section p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.site-footer__contact,
.site-footer__socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.site-footer a {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--footer-gold-hover);
}

.site-footer__newsletter {
  display: flex;
  gap: 6px;
}

.site-footer__newsletter input {
  min-width: 0;
  width: 100%;
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  outline: none;
  color: var(--footer-ink);
  background: rgba(255, 255, 255, .055);
}

.site-footer__newsletter input:focus {
  border-color: var(--footer-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .12);
}

.site-footer__newsletter button,
.site-footer__language-button {
  border: 1px solid var(--footer-gold);
  border-radius: 2px;
  color: #111;
  background: var(--footer-gold);
  font-weight: 700;
  cursor: pointer;
}

.site-footer__newsletter button {
  height: 36px;
  padding: 0 12px;
}

.site-footer__newsletter button:hover,
.site-footer__language-button:hover {
  background: var(--footer-gold-hover);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 92px;
  padding-top: 18px;
}

.site-footer__bottom > p {
  width: 100%;
  margin: 0;
  color: #807d75;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  letter-spacing: .035em;
  text-align: center;
  white-space: nowrap;
}

.site-footer__language {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--footer-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer__language-label {
  flex: 0 0 auto;
  color: var(--footer-gold);
}

.site-footer__language-select {
  flex: 0 0 auto;
  display: inline-block !important;
  min-width: 128px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(201, 168, 76, .7);
  border-radius: 3px;
  color: var(--footer-ink);
  background: rgba(255, 255, 255, .07);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  appearance: auto !important;
  color-scheme: dark;
}

.site-footer__language-select:hover,
.site-footer__language-select:focus {
  border-color: var(--footer-gold-hover);
  color: var(--footer-ink);
  background: var(--footer-gold-hover);
  outline: none;
}

.site-footer__language-select option {
  color: #111;
  background: #fff;
}

.site-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px) {
  html,
  body {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: 100svh !important;
  }

  body > main,
  body > .main-content,
  body > .pub-main {
    flex: 1 0 auto !important;
  }

  .site-footer {
    margin-top: 120px !important;
    padding: 30px 16px 16px;
  }

  .site-footer__inner,
  .site-footer__grid,
  .site-footer__section {
    width: 100%;
    min-width: 0;
  }

  .extra-content + .site-footer {
    margin-top: 80px !important;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__newsletter {
    width: 100%;
    flex-direction: column;
  }

  .site-footer__newsletter input {
    width: 100%;
  }

  .site-footer__newsletter button {
    width: 100%;
  }

  .site-footer__language {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer__language-select {
    max-width: 62%;
  }

  .site-footer__bottom {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
  }

  .site-footer__bottom > p {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}