/* Sitewide promo popup (src/components/PromoPopup.astro): white polaroid card, page dimmed behind. */
.promo { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(28, 30, 16, .55); opacity: 0; transition: opacity .35s ease; }
.promo[hidden] { display: none; }
.promo.is-open { opacity: 1; }
.promo__card { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; padding: 16px 16px 22px; text-align: center; color: var(--espresso); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); transform: translateY(18px) rotate(-1deg); transition: transform .45s cubic-bezier(.2, .9, .3, 1.2); outline: none; }
.promo.is-open .promo__card { transform: rotate(-1deg); }
.promo__fan { position: relative; aspect-ratio: 10 / 4.6; margin: 10px 6px 0; }
.promo__fan img { position: absolute; width: var(--w); height: auto; transform: rotate(var(--r)); transform-origin: 50% 100%; filter: drop-shadow(0 1.2px 1.8px rgba(20, 22, 10, .35)) drop-shadow(0 6px 11px rgba(20, 22, 10, .45)); }
.promo__x { position: absolute; z-index: 1; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(44, 42, 30, .07); color: var(--espresso); font-size: 18px; line-height: 30px; cursor: pointer; }
.promo__x:hover { background: rgba(44, 42, 30, .14); }
.promo__x:focus-visible, .promo__btn:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.promo__script { font-family: var(--font-script); font-size: 26px; line-height: 1; color: #b8862b; margin: 18px 0 4px; }
.promo__title { font-family: var(--font-display); font-size: 32px; line-height: 1.02; margin: 0 0 8px; }
.promo__text { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--bark); margin: 0 auto 16px; max-width: 340px; text-wrap: balance; }
.promo__btn { display: inline-block; background: var(--sunny); color: var(--espresso); font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-radius: 999px; padding: 12px 34px; }
.promo__btn:hover { filter: brightness(1.04); }
body.promo-open { overflow: hidden; }
@media (max-width: 480px) {
  .promo__title { font-size: 28px; }
  .promo__script { font-size: 23px; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo, .promo__card { transition: none; }
}
