/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  UNWIND WITH ANU · QUOTE POPUP                              */
/*                                                              */
/*  Desktop: a small card, bottom-LEFT. Calls to action on this */
/*  site sit on the right — the assessment band, the hero       */
/*  button — so the left is the one corner that collides with   */
/*  nothing. It also pairs with .is-ducked in the script, which */
/*  slides the card away entirely if a button ever ends up      */
/*  underneath it.                                              */
/*                                                              */
/*  Mobile: a card at the bottom of the screen. Google treats a */
/*  popup that covers the main content on mobile as an          */
/*  intrusive interstitial and can demote the page for it, so   */
/*  this never covers more than a strip.                        */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.uwa-pop {
  position: fixed;
  inset: auto auto 0 0;          /* bottom-left */
  z-index: 9000;
  padding: 0 20px 20px;
  pointer-events: none;          /* only the card is clickable */
}

.uwa-pop__card {
  pointer-events: auto;
  position: relative;
  width: min(360px, calc(100vw - 40px));
  background: #FFFFFF;
  border: 1px solid rgba(51, 80, 46, .18);
  border-left: 3px solid #B0872F;
  border-radius: 16px;
  padding: 22px 24px 20px;
  box-shadow: 0 2px 0 rgba(51,80,46,.08),
              0 24px 48px -18px rgba(23, 35, 18, .34);

  opacity: 0;
  transform: translateY(14px);
  transition: opacity .26s ease, transform .26s cubic-bezier(.4,0,.2,1);
}
.uwa-pop.is-in .uwa-pop__card { opacity: 1; transform: none; }

/* Ducked: a button is where the card would be. Slide it out rather
   than hiding it, so it returns in place once the button scrolls by. */
.uwa-pop.is-ducked { pointer-events: none; }
.uwa-pop.is-ducked .uwa-pop__card {
  opacity: 0;
  transform: translateY(115%);
  pointer-events: none;
  /* Leaves fast so it is never half-covering a button; returns at the
     normal pace so it does not snap back into view distractingly. */
  transition: opacity .11s ease, transform .14s cubic-bezier(.4,0,1,1);
}

@media (prefers-reduced-motion: reduce) {
  .uwa-pop__card { transition: opacity .2s ease; }
  .uwa-pop.is-ducked .uwa-pop__card { transform: none; }
}

.uwa-pop__x {
  position: absolute; top: 8px; right: 10px;
  background: none; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: #9AA595;
  padding: 4px 8px; border-radius: 8px;
}
.uwa-pop__x:hover { color: #33502E; background: rgba(51,80,46,.07); }

.uwa-pop__k {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: #8B6A20; margin-bottom: 10px;
}

.uwa-pop__q {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.24rem; line-height: 1.42; color: #22331C;
  margin: 0 0 12px; font-style: normal;
}

.uwa-pop__by {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px; color: #6E7A68; margin-bottom: 14px;
}

.uwa-pop__go {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12.5px; font-weight: 600;
  color: #33502E; text-decoration: underline;
  text-underline-offset: 3px;
}
.uwa-pop__go:hover { color: #8B6A20; }

@media (max-width: 620px) {
  .uwa-pop { inset: auto 0 0 0; padding: 0 12px 12px; }
  .uwa-pop__card { width: 100%; padding: 18px 20px 16px; border-radius: 14px; }
  .uwa-pop__q { font-size: 1.14rem; }
}

/* Someone who has asked their browser to reduce motion gets no slide. */
@media (prefers-reduced-motion: reduce) {
  .uwa-pop__card { transition: opacity .2s ease; transform: none; }
}
