#site-footer {
  padding: 0 4.5vw 30px;
  overflow: hidden;
  border-top: 1px solid #9f7a49;
  background: #1f1915;
  color: #f7f0e7;
}

.footer-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: clamp(48px, 9vw, 150px);
  padding: clamp(72px, 7vw, 108px) 0 clamp(58px, 6vw, 88px);
  border-bottom: 1px solid rgba(231, 214, 191, 0.22);
}

.footer-invitation .eyebrow,
#site-footer .footer-main .eyebrow {
  margin-bottom: 20px;
  color: #c4a573;
}

.footer-invitation h2 {
  margin: 0;
  color: #f8f3ec;
  letter-spacing: -0.055em;
  font-size: clamp(58px, 6.7vw, 104px);
  line-height: 0.82;
}

.footer-invitation h2 em {
  margin-left: 0.72em;
  color: #d1b181;
  font-weight: 400;
}

.footer-invitation-copy {
  padding-bottom: 4px;
}

.footer-invitation-copy > p {
  max-width: 460px;
  margin: 0 0 30px;
  color: #cfc4b8;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.58;
}

.footer-primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 15px 18px;
  border: 1px solid #c4a573;
  background: #c4a573;
  color: #1f1915;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 9px;
  cursor: pointer;
  transition: background-color 240ms ease, color 240ms ease, transform 240ms ease;
}

.footer-primary-action:hover {
  background: transparent;
  color: #f8f3ec;
  transform: translateY(-2px);
}

.footer-primary-action:focus-visible,
.footer-main a:focus-visible,
.footer-main button:focus-visible,
.footer-bottom a:focus-visible {
  outline: 2px solid #d5b985;
  outline-offset: 5px;
}

#site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 1.3fr) minmax(160px, 0.55fr) minmax(180px, 0.62fr) minmax(230px, 0.82fr);
  gap: clamp(36px, 5vw, 82px);
  padding: clamp(50px, 5vw, 76px) 0 clamp(54px, 5vw, 74px);
}

.footer-brand .footer-logo,
.footer-main > .footer-brand > img.footer-logo {
  width: min(100%, 410px);
  filter: none;
}

#site-footer .footer-brand > p {
  max-width: 350px;
  margin: 28px 0 0;
  color: #a99e93;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.footer-links,
.footer-service,
.footer-promise {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a,
.footer-service button,
#site-footer .footer-service > p:not(.eyebrow) {
  position: relative;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #d8cec3;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.footer-links a,
.footer-service button {
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-service button:hover {
  color: #fff;
  transform: translateX(4px);
}

#site-footer .footer-service > p:not(.eyebrow) {
  max-width: 230px;
  margin-top: 13px;
  padding-top: 16px;
  border-top: 1px solid rgba(231, 214, 191, 0.17);
  color: #9e9287;
  font-size: 13px;
}

.footer-promise ol {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-promise li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(231, 214, 191, 0.17);
  color: #d8cec3;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
}

.footer-promise li:first-child {
  border-top: 0;
  padding-top: 7px;
}

.footer-promise li span {
  color: #b8915c;
  font-style: italic;
}

#site-footer .footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding-top: 23px;
  border-top: 1px solid rgba(231, 214, 191, 0.22);
  color: #9b9085;
  font-size: 8.5px;
  line-height: 1.65;
}

#site-footer .footer-bottom p {
  margin: 0;
}

#site-footer .footer-bottom p:nth-child(2) {
  max-width: 720px;
  justify-self: center;
  text-align: center;
}

.footer-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c4a573;
  white-space: nowrap;
}

.footer-bottom > a .cta-arrow {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  transform: rotate(-90deg);
}

.footer-bottom > a img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(76%) sepia(26%) saturate(671%) hue-rotate(357deg) brightness(87%) contrast(83%);
}

@media (max-width: 980px) {
  #site-footer .footer-main {
    grid-template-columns: 1.35fr 0.7fr 0.9fr;
  }

  .footer-promise {
    grid-column: 2 / -1;
  }

  .footer-promise ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .footer-promise li,
  .footer-promise li:first-child {
    border-top: 1px solid rgba(231, 214, 191, 0.17);
    padding-top: 11px;
  }
}

@media (max-width: 700px) {
  #site-footer {
    padding: 0 22px 24px;
  }

  .footer-invitation {
    display: block;
    padding: 66px 0 54px;
  }

  .footer-invitation h2 {
    max-width: 330px;
    font-size: clamp(52px, 15vw, 66px);
    line-height: 0.86;
  }

  .footer-invitation h2 em {
    margin-left: 0.22em;
  }

  .footer-invitation-copy {
    margin-top: 38px;
  }

  .footer-invitation-copy > p {
    font-size: 16px;
  }

  .footer-primary-action {
    width: 100%;
  }

  #site-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 46px 24px;
    padding: 50px 0 56px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .footer-logo,
  .footer-main > .footer-brand > img.footer-logo {
    width: min(100%, 330px);
  }

  #site-footer .footer-brand > p {
    margin-top: 22px;
  }

  .footer-promise {
    grid-column: 1 / -1;
  }

  .footer-promise ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #site-footer .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #site-footer .footer-bottom p:nth-child(2) {
    justify-self: start;
    text-align: left;
  }

  .footer-bottom > a {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-primary-action,
  .footer-links a,
  .footer-service button {
    transition: none;
  }
}
