nav a {
  position: relative;
}

section[id] {
  scroll-margin-top: 118px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

nav a.active {
  color: var(--gold);
  font-weight: 700;
}

nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: '';
}

.about-closing .btn.ivory {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
  background: var(--ivory);
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(23, 21, 15, .18);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.about-closing .btn.ivory span {
  color: var(--gold);
  font-weight: 700;
}

.about-closing .btn.ivory:hover,
.about-closing .btn.ivory:focus-visible {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

.about-closing .btn.ivory:hover span,
.about-closing .btn.ivory:focus-visible span {
  color: var(--gold2);
}

.site-toast {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 32px));
  padding: 20px 22px;
  border: 1px solid #d7c38e;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--dark);
  box-shadow: 0 18px 55px rgba(23, 21, 15, .24);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.site-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-toast strong,
.site-toast span {
  display: block;
}

.site-toast strong {
  margin-bottom: 5px;
  font: 700 20px 'Playfair Display', serif;
  color: var(--gold);
}

.site-toast span {
  font-size: 13px;
  line-height: 1.55;
  color: #5f594e;
}

@media (max-width: 900px) {
  nav a.active::after {
    bottom: -5px;
  }
}

@media (max-width: 620px) {
  section[id] {
    scroll-margin-top: 92px;
  }

  .site-toast {
    right: 16px;
    bottom: 16px;
  }
}
