/* =========================================================================
   The Rich Woman Masterclass · webinar presentation (Haley's funnel brand)
   Fixed 1600x900 canvas, scaled to fit any screen so nothing ever overflows.
   ========================================================================= */
@font-face { font-family: "Playfair Display"; src: url("../assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../assets/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../assets/fonts/playfair-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../assets/fonts/playfair-display-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #fbf7f2; --blush: #f6e3e6; --blush-2: #f1d4d9; --lav: #a898c3; --lav-soft: #ece6f5;
  --ink: #231c2b; --muted: #6a6073; --faint: #8d8396; --accent: #6b53a0; --accent-2: #8a74bd; --accent-deep: #4f3a7d;
  --night: #221a2d; --night-2: #33274a; --cream: #fbf7f2; --gold: #c9a25c;
  --display: "Playfair Display", Georgia, serif; --sans: "Outfit", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { overflow: hidden; background: #120e17; font-family: var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; user-select: none; }
#stage { position: fixed; inset: 0; display: grid; place-items: center; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.frame { position: relative; width: 1600px; height: 900px; overflow: hidden; transform-origin: center center; transform: scale(var(--s, 1)); flex: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(241, 212, 217, 0.9), transparent 70%), radial-gradient(50% 60% at 5% 95%, rgba(168, 152, 195, 0.28), transparent 70%), var(--bg); }
.frame.dark { background: radial-gradient(60% 70% at 80% 0%, rgba(138, 116, 189, 0.45), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(233, 201, 210, 0.16), transparent 70%), var(--night); color: var(--cream); }
.frame.blush { background: radial-gradient(70% 80% at 50% 0%, #fff, transparent 70%), linear-gradient(160deg, var(--blush), var(--lav-soft)); }

#bar { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 5; background: linear-gradient(90deg, var(--lav), var(--accent)); transition: width 0.3s ease; }
#counter { position: fixed; right: 16px; bottom: 14px; z-index: 5; font: 500 13px/1 var(--sans); color: rgba(255, 255, 255, 0.55); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
#hint { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5; font: 500 13px/1 var(--sans); color: rgba(255, 255, 255, 0.5); letter-spacing: 0.06em; transition: opacity 0.6s ease; }

/* ----------------------------- type ----------------------------- */
.k { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.dark .k { color: #c9b6ec; }
.h { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
.h em { font-style: italic; color: var(--accent); }
.dark .h em { color: #e9c9d2; }
.h-xl { font-size: 112px; } .h-l { font-size: 84px; } .h-m { font-size: 64px; } .h-s { font-size: 48px; }
.sub { font-size: 34px; line-height: 1.4; color: var(--muted); margin: 0; font-weight: 400; }
.dark .sub { color: #d7cde0; }
.center { text-align: center; }
.mark { position: absolute; left: 64px; bottom: 50px; height: 40px; opacity: 0.9; }
.spark { width: 34px; height: 34px; color: var(--lav); }

/* layouts */
.pad { position: absolute; inset: 0; padding: 96px 120px; display: flex; flex-direction: column; justify-content: center; }
.stack > * + * { margin-top: 32px; }
.stack-l > * + * { margin-top: 56px; }

/* photos */
.full { position: absolute; inset: 0; }
.full img { width: 100%; height: 100%; object-fit: cover; }
.full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34, 26, 45, 0.78) 0%, rgba(34, 26, 45, 0.35) 42%, transparent 70%); }
.full.r::after { background: linear-gradient(270deg, rgba(34, 26, 45, 0.78) 0%, rgba(34, 26, 45, 0.35) 42%, transparent 70%); }
.full.b::after { background: linear-gradient(0deg, rgba(34, 26, 45, 0.85) 0%, rgba(34, 26, 45, 0.25) 45%, transparent 70%); }
.cap { position: absolute; z-index: 2; color: #fff; max-width: 760px; }
.cap .h { color: #fff; } .cap .sub { color: rgba(255, 255, 255, 0.86); margin-top: 22px; } .cap .k { color: #e9c9d2; }
.cap.l { left: 110px; top: 50%; transform: translateY(-50%); }
.cap.rr { right: 110px; top: 50%; transform: translateY(-50%); text-align: right; }
.cap.bl { left: 110px; bottom: 96px; }
.cap.bc { left: 0; right: 0; bottom: 92px; margin: auto; text-align: center; max-width: 1200px; }

.split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.split .ph { position: relative; overflow: hidden; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.split .tx { display: flex; flex-direction: column; justify-content: center; padding: 0 110px; }
.split.rev .ph { order: 2; }

.framed { border-radius: 28px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(35, 28, 43, 0.6); border: 10px solid #fff; }
.framed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid { background: #fff; padding: 18px 18px 70px; box-shadow: 0 40px 70px -40px rgba(35, 28, 43, 0.55); border-radius: 6px; position: relative; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid .pc { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--display); font-style: italic; font-size: 28px; color: var(--muted); }

.row { display: flex; align-items: center; gap: 72px; }
.grow { flex: 1; }

/* cards, chips */
.card { background: rgba(255, 255, 255, 0.85); border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(79, 58, 125, 0.45); border: 1px solid rgba(35, 28, 43, 0.06); }
.dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: #fff; font-size: 24px; font-weight: 500; color: var(--accent-deep); box-shadow: 0 10px 24px -16px rgba(79, 58, 125, 0.5); }

/* divider */
.div-n { font-family: var(--display); font-style: italic; font-size: 260px; line-height: 0.8; color: rgba(201, 182, 236, 0.22); position: absolute; right: 90px; bottom: 40px; }

/* myth / truth */
.mt { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.mt > div { display: flex; flex-direction: column; justify-content: center; padding: 0 100px; gap: 30px; }
.mt .myth { background: #efe8ea; color: #8d8396; }
.mt .myth .h { color: #9a8f9f; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(194, 65, 75, 0.55); }
.mt .truth { background: var(--night); color: var(--cream); }
.mt .truth .h { color: #fff; }
.mt .lbl { font-size: 22px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px; }
.mt .myth .lbl { color: #b5545d; } .mt .truth .lbl { color: #c9b6ec; }
.mt .lbl svg { width: 30px; height: 30px; }

/* quiz */
.quiz { display: flex; gap: 40px; justify-content: center; margin-top: 64px; }
.qopt { width: 360px; height: 150px; border-radius: 28px; display: grid; place-items: center; font-family: var(--display); font-size: 60px; background: #fff; box-shadow: 0 30px 60px -40px rgba(79, 58, 125, 0.5); border: 2px solid transparent; }
.qopt.right { border-color: var(--accent); color: var(--accent); }
.qopt.wrong { color: #b9b0be; }

/* quote / proof */
.qcard { padding: 56px 60px; max-width: 920px; }
.qcard p { font-family: var(--display); font-size: 46px; line-height: 1.3; margin: 0; color: var(--ink); }
.who { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
.who img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3); }
.who b { display: block; font-size: 30px; font-weight: 600; } .who span { font-size: 24px; color: var(--muted); }
.stars { color: var(--gold); font-size: 30px; letter-spacing: 6px; }

/* big numbers */
.num { font-family: var(--display); font-weight: 500; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.num-xl { font-size: 220px; } .num-l { font-size: 150px; } .num-m { font-size: 96px; }

/* nodes (agenda / steps) */
.nodes { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.nodes svg.link { position: absolute; left: 0; right: 0; top: 70px; width: 100%; height: 6px; overflow: visible; }
.node { position: relative; width: 300px; text-align: center; }
.node .dot { width: 140px; height: 140px; margin: 0 auto 30px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff, var(--blush) 75%); box-shadow: 0 24px 50px -26px rgba(79, 58, 125, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.9); color: var(--accent); font-family: var(--display); font-size: 54px; }
.node .dot svg { width: 56px; height: 56px; }
.node h4 { font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1.15; margin: 0 0 12px; }
.node p { margin: 0; font-size: 24px; line-height: 1.4; color: var(--muted); }
.dark .node p { color: #d7cde0; }
.node.on .dot { background: radial-gradient(circle at 30% 25%, #a998d2, var(--accent) 75%); color: #fff; }

/* bars */
.bars { display: flex; align-items: flex-end; gap: 80px; height: 460px; }
.bar { width: 220px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar .col { width: 100%; border-radius: 22px 22px 8px 8px; background: linear-gradient(180deg, var(--accent-2), var(--accent-deep)); transform-origin: bottom; }
.bar.dim .col { background: linear-gradient(180deg, #ddd3e5, #c6bacf); }
.bar .v { font-family: var(--display); font-size: 54px; margin-bottom: 18px; }
.bar .l { font-size: 24px; color: var(--muted); margin-top: 20px; text-align: center; line-height: 1.3; }

/* stack (offer) */
.stack-list { display: grid; gap: 18px; width: 1060px; }
.si { display: flex; align-items: center; gap: 28px; padding: 22px 30px; border-radius: 22px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 32px; color: #fff; }
.si .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(201, 182, 236, 0.2); color: #e9c9d2; flex: none; }
.si .ic svg { width: 30px; height: 30px; }
.si.new { background: rgba(201, 182, 236, 0.18); border-color: rgba(201, 182, 236, 0.5); }
.si .tag { margin-left: auto; font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; color: #1a1420; background: #e9c9d2; padding: 8px 14px; border-radius: 999px; font-weight: 600; }

/* phone / ui mocks */
.phone { width: 400px; height: 820px; border-radius: 64px; background: #111; padding: 16px; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, 0.65), inset 0 0 0 2px #333; position: relative; }
.phone .scr { width: 100%; height: 100%; border-radius: 50px; overflow: hidden; position: relative; background: #fff; }
.phone .notch { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: 120px; height: 34px; border-radius: 20px; background: #000; z-index: 3; }

/* animations (fire on mount, replay on every visit) */
@keyframes up { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.7); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes strike { from { width: 0; } to { width: 100%; } }
.a-up { animation: up 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
.a-fade { animation: fade 1s ease both; animation-delay: var(--d, 0s); }
.a-zoom img { animation: zoom 6s ease-out both; }
.a-grow { animation: grow 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
.a-growx { transform-origin: left; animation: growx 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
.a-pop { animation: pop 0.7s var(--ease) both; animation-delay: var(--d, 0s); }
.a-draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: draw 1.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
html.reduced .a-up, html.reduced .a-fade, html.reduced .a-zoom img, html.reduced .a-grow, html.reduced .a-growx, html.reduced .a-pop { animation: none; }
html.reduced .a-draw { animation: none; stroke-dashoffset: 0; }
