/* Build to $1M+ Live Investing Class: deck skin (tokens come from ../assets/brand.css)
   Every slide is a fixed 1600x900 frame scaled to fit the viewport (letterboxed). */

html, body { height: 100%; }
body { background: #0E0812; color: var(--ink); font-family: var(--sans); overflow: hidden; display: block; }
#stage { position: fixed; inset: 0; background: #0E0812; }
.slide {
  position: absolute; inset: auto; left: 50%; top: 50%; width: 1600px; height: 900px;
  transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: 50% 50%;
  overflow: hidden; background: var(--bg); color: var(--ink);
}
#bar { background: var(--accent-hot); opacity: 1; height: 3px; }
#counter { color: #fff; opacity: .45; font-family: var(--sans); font-size: 12px; }

/* ------------------------------------------------------------------ canvases */
.fr { position: absolute; inset: 0; }
.light { background:
  radial-gradient(900px 520px at 50% -8%, rgba(255, 0, 153, .16), transparent 70%),
  radial-gradient(700px 420px at 85% 110%, rgba(255, 0, 153, .07), transparent 70%),
  repeating-linear-gradient(0deg, rgba(26, 16, 32, .03) 0 1px, transparent 1px 56px),
  var(--bg); }
.blush { background:
  radial-gradient(900px 520px at 50% -10%, rgba(255, 0, 153, .2), transparent 70%),
  var(--bg-2); }
.dark { background:
  radial-gradient(900px 560px at 50% -10%, rgba(255, 0, 153, .30), transparent 70%),
  radial-gradient(600px 400px at 90% 115%, rgba(45, 226, 210, .08), transparent 70%),
  var(--plum); color: var(--on-plum); }
.pink { background:
  radial-gradient(900px 600px at 30% 0%, rgba(255, 255, 255, .18), transparent 70%),
  var(--accent); color: #fff; }

.pad { position: absolute; inset: 0; padding: 88px 104px; display: flex; flex-direction: column; justify-content: center; }
.center { align-items: center; text-align: center; }

/* ------------------------------------------------------------------ type */
.ey { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 28px; }
.dark .ey { color: var(--accent-on-dark); }
.pink .ey { color: #fff; opacity: .85; }
.h { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; line-height: .98; margin: 0; }
.xl { font-size: 116px; }
.l { font-size: 88px; }
.m { font-size: 66px; line-height: 1.02; }
.s { font-size: 48px; line-height: 1.05; }
.xs { font-size: 36px; line-height: 1.1; }
.h em { font-style: normal; color: var(--accent); }
.dark .h em { color: var(--accent-on-dark); }
.pink .h em { color: var(--plum); }
.lead { font-size: 30px; line-height: 1.4; font-weight: 500; margin: 36px 0 0; max-width: 30em; color: var(--muted); }
.dark .lead { color: var(--on-plum-2); }
.pink .lead { color: #fff; opacity: .92; }
.center .lead { margin-left: auto; margin-right: auto; }
.note { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: .01em; }
.dark .note { color: var(--on-plum-2); }
.pinkt { color: var(--accent); }
.dark .pinkt { color: var(--accent-on-dark); }
.num { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ logo */
.logo { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); height: 36px; opacity: .9; }
.corner-logo { position: absolute; right: 48px; top: 40px; height: 30px; }

/* ------------------------------------------------------------------ photo layouts */
.ph { position: absolute; top: 0; bottom: 0; width: 44%; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.r { right: 0; } .ph.l { left: 0; }
.ph.r::before, .ph.l::before { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.ph.r::before { left: -1px; background: linear-gradient(90deg, var(--bg), transparent); }
.ph.l::before { right: -1px; background: linear-gradient(270deg, var(--bg), transparent); }
.dark .ph.r::before { background: linear-gradient(90deg, var(--plum), transparent); }
.dark .ph.l::before { background: linear-gradient(270deg, var(--plum), transparent); }
.txt { position: absolute; top: 0; bottom: 0; width: 56%; padding: 88px 80px 88px 104px; display: flex; flex-direction: column; justify-content: center; }
.txt.r { right: 0; padding: 88px 104px 88px 80px; }
.txt.l { left: 0; }

.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed .scrim { position: absolute; inset: 0; }
.bleed .cap { position: absolute; max-width: 760px; color: #fff; }
.bleed .cap .lead { color: rgba(255, 255, 255, .9); }

.polaroid { background: #fff; padding: 16px 16px 56px; border-radius: 6px; box-shadow: 0 30px 70px -30px rgba(26, 16, 32, .45); }
.polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.framed { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.framed img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ cards */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--hair-soft); }
.dark .card { background: var(--plum-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.row { display: flex; gap: 32px; }

/* wins grid: equal tiles, contain-fit, never cropped */
.wins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: 100%; }
.wins .t { background: #fff; border-radius: 16px; height: 300px; padding: 14px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); border: 1px solid var(--hair-soft); }
.wins .t img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.wins.three { grid-template-columns: repeat(3, 1fr); }
.wins.three .t { height: 420px; }

/* video thumbs (click to play) */
.vids { display: flex; gap: 48px; justify-content: center; width: 100%; }
.vid { width: 640px; text-align: center; }
.vid .box { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow); cursor: pointer; }
.vid .box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.vid .play::after { content: ""; border-left: 30px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; margin-left: 8px; }
.vid .nm { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 34px; margin: 26px 0 6px; letter-spacing: .02em; }
.vid .rs { font-size: 22px; color: var(--muted); font-weight: 500; }
.dark .vid .rs { color: var(--on-plum-2); }

/* chat prompt */
.bubble { display: inline-flex; align-items: center; gap: 18px; background: var(--accent); color: #fff; border-radius: 40px 40px 40px 10px; padding: 26px 44px; font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 64px; letter-spacing: .01em; box-shadow: 0 30px 60px -30px rgba(209, 0, 111, .7); }
.dark .bubble { background: var(--accent-hot); }

/* myth / truth */
.mt { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; margin-top: 56px; }
.mt .c { border-radius: 24px; padding: 48px 52px; min-height: 380px; display: flex; flex-direction: column; }
.mt .myth { background: #F1E9EE; color: #7A6E7E; }
.mt .myth .k { color: #8E8291; }
.mt .myth p { text-decoration: line-through; text-decoration-color: rgba(209, 0, 111, .55); text-decoration-thickness: 3px; }
.mt .truth { background: var(--plum); color: var(--on-plum); box-shadow: var(--shadow); }
.mt .truth .k { color: var(--accent-on-dark); }
.mt .k { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 28px; }
.mt p { margin: 0; font-size: 40px; line-height: 1.22; font-weight: 600; font-family: var(--sans); }

/* divider */
.divnum { font-family: var(--display); font-weight: 700; font-size: 380px; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255, 79, 168, .45); position: absolute; right: 90px; bottom: 60px; }

/* stack (offer) */
.stk { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 1100px; }
.stk .it { display: flex; align-items: center; gap: 26px; padding: 20px 30px; border-radius: 18px; background: var(--plum-2); border: 1px solid rgba(255, 255, 255, .07); color: var(--on-plum); font-size: 27px; font-weight: 600; }
.stk .it .ix { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-family: var(--display); font-size: 24px; flex: none; }
.stk .it .sub { display: block; font-size: 19px; font-weight: 500; color: var(--on-plum-2); margin-top: 4px; }
.stk .it.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.stk .it.on .ix { background: #fff; color: var(--accent); }
.stk .it.on .sub { color: rgba(255, 255, 255, .88); }
.stk .it.dim { opacity: .5; }
.stk .flag { margin-left: auto; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; background: var(--spark); color: var(--plum); padding: 8px 14px; border-radius: 30px; font-weight: 700; white-space: nowrap; }

/* nodes (pillars, flows) */
.nodes { display: flex; align-items: stretch; justify-content: center; position: relative; width: 100%; gap: 0; }
.node { flex: 1; position: relative; text-align: center; padding: 0 22px; }
.node .dot { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 30px; display: grid; place-items: center; background: #fff; border: 3px solid var(--accent); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 44px; position: relative; z-index: 2; box-shadow: 0 16px 40px -18px rgba(209, 0, 111, .6); }
.dark .node .dot { background: var(--plum); }
.node.hot .dot { background: var(--accent); color: #fff; }
.node h3 { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 34px; line-height: 1.05; margin: 0 0 14px; }
.node p { font-size: 20px; line-height: 1.45; margin: 0; color: var(--muted); font-weight: 500; }
.dark .node p { color: var(--on-plum-2); }
.nodes .wire { position: absolute; top: 48px; left: 16.6%; right: 16.6%; height: 3px; background: linear-gradient(90deg, var(--accent-hot), var(--accent)); z-index: 1; transform-origin: left; animation: grow 1.1s var(--ease) .2s both; }

/* stat tiles */
.tiles { display: flex; gap: 28px; justify-content: center; width: 100%; }
.tile { flex: 1; max-width: 440px; padding: 44px 30px 40px; text-align: center; border-radius: 24px; }
.tile .num { font-size: 104px; line-height: 1; color: var(--accent); }
.dark .tile .num { color: var(--accent-on-dark); }
.tile .lb { font-size: 22px; font-weight: 600; margin-top: 16px; line-height: 1.35; }

/* charts */
svg.chart { overflow: visible; }
svg text { font-family: var(--sans); }
.axis { stroke: var(--hair); stroke-width: 1; }
.dark .axis { stroke: rgba(255, 255, 255, .12); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .3s forwards; }
.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: rise 1.1s var(--ease) both; }
.barh { transform-box: fill-box; transform-origin: 0 50%; animation: grow 1.1s var(--ease) both; }
.fade { animation: fade .8s var(--ease) both; }
.up { animation: up .9s var(--ease) both; }
.pop { animation: pop .7s var(--ease) both; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: scale(1); } }
html.reduced .draw { animation: none; stroke-dashoffset: 0; }
html.reduced .bar, html.reduced .barh, html.reduced .fade, html.reduced .up, html.reduced .pop, html.reduced .nodes .wire { animation: none; }

/* notes panel (press N) */
#notes { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(14, 8, 18, .94); color: #F7EEF4; font-family: var(--sans); font-size: 16px; line-height: 1.55; padding: 16px 22px 20px; display: none; border-top: 2px solid var(--accent-hot); max-height: 40vh; overflow: auto; }
#notes.on { display: block; }
#notes b { color: #FF4FA8; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 6px; }
#hint { position: fixed; left: 14px; bottom: 10px; z-index: 6; color: #fff; opacity: .35; font-family: var(--sans); font-size: 11px; letter-spacing: .06em; }
.pink .ph.r::before { background: linear-gradient(90deg, var(--accent), transparent); }
.pink .ph.l::before { background: linear-gradient(270deg, var(--accent), transparent); }
.blush .ph.r::before { background: linear-gradient(90deg, var(--bg-2), transparent); }
.blush .ph.l::before { background: linear-gradient(270deg, var(--bg-2), transparent); }
.wins.four .t { height: 470px; }
@media (max-width: 700px) { #hint { display: none; } }
