/* homepage welcome offer: the pop-up and the countdown bubble */
.wo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(30, 28, 24, .48); animation: woIn .3s ease; }
.wo[hidden], .wo-bubble[hidden] { display: none; }
body.wo-open { overflow: hidden; }
.wo-card { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 380px); max-width: 720px; width: 100%; max-height: calc(100dvh - 32px); overflow: auto; border-radius: 20px; background: #fffdf9; box-shadow: 0 15px 35px rgba(30, 24, 16, .28); }
.wo-art { background: #f4f0e7; display: grid; place-items: center; }
.wo-art video, .wo-art img { display: block; width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.wo-body { display: grid; gap: 12px; align-content: center; padding: 32px 28px; }
.wo-k { margin: 0; font: 600 12px/1.4 var(--sans, 'DM Sans', system-ui); letter-spacing: .12em; text-transform: uppercase; color: #5f6b46; }
.wo-body h2 { margin: 0; font: 400 32px/1.15 var(--serif, Georgia, serif); color: #302e29; }
.wo-pct { display: block; font-size: 48px; color: #5f6b46; font-style: italic; }
.wo-lead { margin: 0; font-size: 15px; line-height: 1.6; color: #5f5a50; }
.wo-timer { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: #5f5a50; }
.wo-timer b { font: 600 28px/1 var(--sans, system-ui); font-variant-numeric: lining-nums tabular-nums; color: #9f2f22; }
.wo-go { justify-self: start; }
.wo-login { font-size: 14px; color: #5f6b46; }
.wo-fine { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #8a8478; }
.wo-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 253, 249, .9); font: 400 26px/1 var(--sans, system-ui); color: #302e29; cursor: pointer; z-index: 1; }
.wo-x:hover { background: #f3eee4; }
.wo-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 76px; height: 76px; border-radius: 50%; border: 0; display: grid; place-items: center; align-content: center; gap: 2px; background: #5f6b46; color: #fffdf9; box-shadow: 0 10px 24px rgba(30, 24, 16, .3); cursor: pointer; animation: woPulse 2.4s ease-in-out infinite; }
.wo-bubble b { font: 700 20px/1 var(--sans, system-ui); }
.wo-bubble span { font: 600 13px/1 var(--sans, system-ui); font-variant-numeric: lining-nums tabular-nums; }
@keyframes woIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes woPulse { 0%, 100% { box-shadow: 0 10px 24px rgba(30, 24, 16, .3), 0 0 0 0 rgba(95, 107, 70, .45); } 50% { box-shadow: 0 10px 24px rgba(30, 24, 16, .3), 0 0 0 12px rgba(95, 107, 70, 0); } }
@media (max-width: 640px) {
  .wo-card { grid-template-columns: 1fr; max-width: 420px; }
  .wo-art video, .wo-art img { max-height: 240px; }
  .wo-body { padding: 20px 20px 24px; gap: 10px; }
  .wo-body h2 { font-size: 26px; } .wo-pct { font-size: 38px; }
  .wo-bubble { right: 16px; bottom: 16px; width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) { .wo, .wo-bubble { animation: none; } }

/* ---- phones (mobile UI/UX pass, 2026-10-18) ---- */
.wo { padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.wo-card { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.wo-x { width: 44px; height: 44px; }                               /* 44 px tap target on every screen */
.wo-login { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
@media (max-width: 640px) {
  /* one column as a plain block so the close button can stay pinned while the card scrolls on short phones */
  .wo-card { display: block; max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .wo-x { position: sticky; top: 8px; display: block; margin: 8px 8px -52px auto; box-shadow: 0 2px 8px rgba(30, 24, 16, .18); }
  .wo-art video, .wo-art img { max-height: min(240px, 30dvh); }
  .wo-go { justify-self: stretch; width: 100%; min-height: 52px; font-size: 15px; font-weight: 600; }
  .wo-login { justify-self: center; font-size: 15px; padding: 0 8px; }
  .wo-lead { font-size: 16px; line-height: 1.55; }
  .wo-fine { font-size: 13px; }
  .wo-timer { font-size: 15px; }
  .wo-bubble { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
}
/* every number at full height, also in the serif (Cormorant's default "old-style" digits made the 1 shorter than the 999): owner, 2026-10-23 */
*, *::before, *::after { font-feature-settings: "lnum" 1 !important; }   /* !important: every "font: …" shorthand resets font-feature-settings and font-variant; this still adds to tabular-nums */

/* owner 2026-10-24: the corner offer is a rectangle that says what it is ("10% OFF for First Time Buyer") and gently grows and shrinks in a loop */
.wo-bubble { width: auto; height: auto; min-width: 0; padding: 10px 16px 9px; border-radius: 14px; gap: 3px; text-align: center; transform-origin: 100% 100%; animation: woGrow 2.6s ease-in-out infinite; }
.wo-bubble b { font: 700 18px/1.1 var(--sans, system-ui); letter-spacing: .01em; }
.wo-bubble small { font: 600 11px/1.2 var(--sans, system-ui); letter-spacing: .02em; opacity: .92; white-space: nowrap; }
.wo-bubble span { margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 253, 249, .16); font-size: 12px; }
@keyframes woGrow { 0%, 100% { transform: scale(1); box-shadow: 0 10px 24px rgba(30, 24, 16, .3); } 50% { transform: scale(1.08); box-shadow: 0 14px 30px rgba(30, 24, 16, .34), 0 0 0 8px rgba(95, 107, 70, .14); } }
@media (max-width: 640px) { .wo-bubble { width: auto; height: auto; padding: 9px 14px 8px; } .wo-bubble b { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .wo-bubble { animation: none; } }
