/* ═══════════════════ LAUNCH POPUP — "We're live" (Lumart, 3 Dec) ═══════════════════
   Companion to inc/launch-popup.php + js/launch-popup.js.
   z-index 110: above the cart drawer (100/101) and the product sticky bar (90).
   Explicit resets on the button and heading: style.css and custom.css style
   bare button/h2. */

.lpop[hidden] { display: none; }
.lpop {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lpop__scrim {
  position: absolute; inset: 0; background: rgba(12, 12, 13, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.32s ease;
}
.lpop__card {
  position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 0;
  width: 100%; max-width: 980px; max-height: calc(100dvh - 48px); overflow: auto;
  padding: 24px; border-radius: 28px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 80px rgba(12, 12, 13, 0.28);
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lpop.is-open .lpop__scrim { opacity: 1; }
.lpop.is-open .lpop__card { opacity: 1; transform: none; }

html.lpop-is-open { overflow: hidden; }
.lpop__card:focus { outline: none; }

.lpop__media {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 440px;
  background: #e9e6e1;
}
.lpop__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%; display: block;
}
.lpop__badge {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(12, 12, 13, 0.42); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1;
}
.lpop__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.lpop__content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 36px;
}
.lpop__title {
  font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--ink);
  margin: 0 0 16px; text-wrap: balance;
}
.lpop__body { max-width: 400px; margin: 0 0 32px; }
.lpop__body p {
  font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--ink-soft);
  margin: 0 0 10px; text-wrap: pretty;
}
.lpop__body p:last-child { margin-bottom: 0; }
.lpop__cta { min-width: 220px; }
.lpop__cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.lpop__close {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  width: 40px; height: 40px; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(12, 12, 13, 0.06); color: var(--ink);
  transition: background 0.18s ease;
}
.lpop__close:hover,
.lpop__close:focus { background: rgba(12, 12, 13, 0.12); color: var(--ink); }
.lpop__close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lpop__close svg { width: 20px; height: 20px; display: block; }

/* Phone: photo on top, text below, the card scrolls if the screen is short */
@media (max-width: 767px) {
  .lpop { padding: 16px; }
  .lpop__card {
    grid-template-columns: 1fr; padding: 12px; border-radius: 24px;
    max-height: calc(100dvh - 32px);
  }
  .lpop__media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .lpop__badge { top: 12px; left: 12px; font-size: 13px; }
  .lpop__close {
    top: 22px; right: 22px; background: rgba(255, 255, 255, 0.9);
  }
  .lpop__close:hover,
  .lpop__close:focus { background: #fff; }
  .lpop__content { padding: 24px 12px 16px; }
  .lpop__title { font-size: 28px; margin-bottom: 12px; }
  .lpop__body { margin-bottom: 24px; }
  .lpop__body p { font-size: 16px; }
  .lpop__cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .lpop__scrim, .lpop__card { transition: none; }
  .lpop__card { transform: none; }
}
/* Last line: who to email (Lumart, 3 Dec). */
.lpop__body .lpop__more { font-size: .9em; opacity: .8; }
.lpop__body .lpop__more a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
