.vn-footer {
  --vn-footer-forest: #122f28;
  --vn-footer-cream: #f2e4d5;
  --vn-footer-terra: #ec9f7c;
  --vn-footer-gold: #d3b47d;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse at 4% 0, #21473a 0%, transparent 54%),
    radial-gradient(ellipse at 92% 104%, #294b39 0%, transparent 56%),
    var(--vn-footer-forest);
  color: var(--vn-footer-cream);
  font: 500 15px/1.4 'DM Sans', Arial, sans-serif;
}

.vn-footer::before,
.vn-footer::after {
  position: absolute;
  z-index: -1;
  content: '';
  pointer-events: none;
  border: 1px solid #d3b47d37;
  border-radius: 48% 52% 59% 41% / 38% 40% 60% 62%;
}

.vn-footer::before {
  inset: auto auto -75px -195px;
  width: clamp(420px, 53vw, 820px);
  height: 220px;
  transform: rotate(-19deg);
  box-shadow: 0 9px 0 -8px #d3b47d47, 0 23px 0 -22px #d3b47d37;
}

.vn-footer::after {
  inset: -220px -125px auto auto;
  width: 480px;
  height: 390px;
  transform: rotate(26deg);
  box-shadow: 0 15px 0 -14px #d3b47d44;
}

.vn-footer__inner {
  container-type: inline-size;
  width: min(1328px, calc(100% - clamp(36px, 9vw, 128px)));
  margin-inline: auto;
  padding-block-start: clamp(25px, 3.7vw, 48px);
}

.vn-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  padding-block-end: clamp(20px, 2.6vw, 34px);
}

.vn-footer__brand .custom-logo-link {
  display: inline-flex;
  justify-content: center;
  width: 119px;
  max-width: 100%;
}

.vn-footer__brand .custom-logo-link .custom-logo {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.vn-footer .vn-footer__headline {
  margin: 12px 0 0;
  color: var(--vn-footer-cream);
  font: 700 clamp(36px, 4.05vw, 61px)/.99 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.075em;
}

.vn-footer__headline span {
  display: block;
  color: var(--vn-footer-terra);
}

.vn-footer__groups {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(17px, 2.5vw, 44px);
  padding-block-start: 12px;
}

.vn-footer__group h3 {
  margin: 0 0 10px;
  color: var(--vn-footer-gold);
  font: 700 12px/1.25 'DM Sans', Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vn-footer .vn-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vn-footer .vn-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-block: 3px;
  color: var(--vn-footer-cream);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.vn-footer .vn-footer__links a:is(:hover, :focus-visible, [aria-current='page']) {
  color: var(--vn-footer-terra);
  text-decoration-color: currentColor;
}

.vn-footer .vn-footer__links .vn-footer__contact-link { gap: 7px; }
.vn-footer__contact-link span { color: var(--vn-footer-terra); }

.vn-footer a:focus-visible {
  outline: 2px solid var(--vn-footer-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.vn-footer__wordmark {
  border-block: 1px solid #d3b47d59;
  padding-block: .055em .08em;
  color: var(--vn-footer-cream);
  font: 700 clamp(35px, 15.48cqw, 202px)/.86 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.05em;
  text-align: center;
  white-space: nowrap;
}

.vn-footer .vn-footer__copyright {
  margin: 0;
  padding-block: 14px 17px;
  color: var(--vn-footer-gold);
  font-size: 12px;
}

/* The immersive homepage already contains its prototype footer. */
.vn-immersive-home .vn-experience .site-footer { display: none; }

@media (scripting: enabled) {
  .vn-immersive-home:has(#entry:not([hidden])) .vn-footer { visibility: hidden; }
}

@media (max-width: 860px) {
  .vn-footer__top { grid-template-columns: 1fr; }
  .vn-footer__brand { display: flex; align-items: center; gap: 20px; }
  .vn-footer__groups { padding-block-start: 0; }
  .vn-footer .vn-footer__headline { margin: 0; font-size: clamp(39px, 7vw, 60px); }
}

@media (max-width: 540px) {
  .vn-footer__top { gap: 24px; }
  .vn-footer__brand { display: block; }
  .vn-footer .vn-footer__headline { margin-block-start: 7px; }
  .vn-footer__groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .vn-footer__brand .custom-logo-link { width: 104px; }
  .vn-footer__brand .custom-logo-link .custom-logo { height: 70px; }
  .vn-footer__group h3 { margin-bottom: 3px; }
  .vn-footer .vn-footer__links a { min-height: 44px; }
  .vn-footer__contact { grid-column: 1 / -1; }
  .vn-footer__contact .vn-footer__links { display: flex; flex-wrap: wrap; column-gap: 20px; }
  .vn-footer__contact .vn-footer__links li:first-child { flex-basis: 100%; }
  .vn-footer::after { right: -270px; }
}

@media (prefers-reduced-motion: no-preference) {
  .vn-footer .vn-footer__links a { transition: color 160ms ease, text-decoration-color 160ms ease; }
}
