
@font-face {
  font-family: pr-right-serif-reg;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://lp.mindspace.me/wp-content/uploads/useanyfont/6569PR-Right-Serif-Reg.woff2') format('woff2');
}
#ms-beyond-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(24, 14, 6, 0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: ms-beyond-fade 0.7s ease 0.35s forwards;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes ms-beyond-fade { to { opacity: 1; } }
#ms-beyond-modal {
  background: #1C1108;
  border-radius: 3px;
  max-width: 760px;
  width: 100%;
  padding: 0;
  text-align: center;
  direction: rtl;
  position: relative;
  transform: translateY(28px);
  animation: ms-beyond-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
  box-shadow: 0 32px 100px rgba(0,0,0,0.6);
  display: flex;
  overflow: hidden;
}
@keyframes ms-beyond-rise { to { transform: translateY(0); } }
#ms-beyond-image {
  flex: 0 0 42%;
  position: relative;
  min-height: 440px;
}
#ms-beyond-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#ms-beyond-content {
  flex: 1;
  padding: 52px 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  #ms-beyond-overlay { padding: 12px; }
  #ms-beyond-modal { flex-direction: column; max-width: 340px; border-radius: 10px; }
  #ms-beyond-image { flex: 0 0 140px; min-height: 140px; }
  #ms-beyond-content { padding: 22px 20px 20px; }
}
@media (max-width: 480px) {
  #ms-beyond-modal { padding: 0; }
  #ms-beyond-title { font-size: 28px; }
  #ms-beyond-title-sub { font-size: 14px; margin-bottom: 18px; }
  #ms-beyond-label { font-size: 10px; margin-bottom: 14px; }
  #ms-beyond-body { font-size: 13px; margin-bottom: 22px; }
  #ms-beyond-cta { font-size: 13px; padding: 11px 22px; }
  #ms-beyond-divider { margin-bottom: 16px; }
}
#ms-beyond-label {
  font-family: "Heebo", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A7055;
  margin-bottom: 24px;
}
#ms-beyond-title {
  font-family: pr-right-serif-reg, Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F0E5CE;
  margin-bottom: 10px;
}
#ms-beyond-title-sub {
  font-family: pr-right-serif-reg, Georgia, serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(18px, 3.5vw, 26px);
  color: #C4AD8A;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
#ms-beyond-divider {
  width: 40px;
  height: 1px;
  background: #3A2818;
  margin: 0 auto 28px;
}
#ms-beyond-body {
  font-family: "Heebo", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #A89070;
  margin-bottom: 44px;
}
#ms-beyond-body strong {
  color: #E8D8B8;
  font-weight: 500;
}
#ms-beyond-cta {
  font-family: "Heebo", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1C3830;
  background: #C2DCE8;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
#ms-beyond-cta:hover {
  background: #AECFDE;
  transform: translateY(-1px);
}
#ms-beyond-close {
  font-family: "Heebo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.18em;
  padding: 8px 16px;
  transition: color 0.25s;
  display: block;
  margin: 0 auto;
  text-transform: uppercase;
}
#ms-beyond-close:hover { color: rgba(255,255,255,0.7); }
#ms-beyond-close-x {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
}
#ms-beyond-close-x:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}
@media (max-width: 480px) {
  #ms-beyond-modal { padding: 48px 24px 40px; }
  #ms-beyond-title { font-size: 38px; }
}
