body.modal-open {
  overflow: hidden;
}

.social-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.social-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 32, 31, 0.65);
  backdrop-filter: blur(3px);
}

.modal-card {
  position: relative;
  width: min(100%, 470px);
  padding: 48px;
  background: #f6f2ea;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.social-modal[aria-hidden="false"] .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  right: 17px;
  top: 12px;
  border: 0;
  background: transparent;
  color: #163b3a;
  font: 400 31px/1 sans-serif;
  cursor: pointer;
}

.modal-star {
  font-size: 25px;
  color: #e87d60;
}

.modal-card .eyebrow {
  margin-top: 18px;
  margin-bottom: 16px;
}

.modal-card h2 {
  font: 600 43px/0.98 "Playfair Display", serif;
  letter-spacing: -2.5px;
  margin: 0;
}

.modal-card h2 em {
  color: #e87d60;
}

.modal-card > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.65;
  color: #59645e;
  margin: 22px 0 25px;
}

.social-links {
  border-top: 1px solid rgba(22, 59, 58, 0.2);
}

.social-links a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(22, 59, 58, 0.2);
  color: #163b3a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.social-links b {
  color: #e87d60;
  font-size: 17px;
}
