/* ============================================================================
   Amerge Residency 2026 — "Game Studios" deck
   Dark editorial Amerge base (dominant) + subtle co-op RPG / platformer UI layer.
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Press+Start+2P&display=swap');

:root{
  /* brand */
  --ink:#0A0A0A; --ink2:#121211; --panel:#16150F; --panel2:#1C1B14;
  --fg:#F5F5F0; --dim:#9A9A95; --dim2:#6E6E68;
  --line:rgba(245,245,240,.14); --line2:rgba(245,245,240,.30);
  --yellow:#FFFC52; --yellow-deep:#EBE73A; --blue:#3366FF;
  /* small retro accent set — used sparingly */
  --px-green:#7CE26B; --px-cyan:#4FD6E0; --px-magenta:#FF5DAE; --coin:#FFC93C; --danger:#FF6B5B;

  /* type scale @1920x1080 */
  --type-hero:148px; --type-title:74px; --type-headline:60px; --type-subtitle:42px;
  --type-lead:36px; --type-body:31px; --type-small:25px; --type-eyebrow:24px; --type-hud:16px;

  --pad-x:96px; --pad-y:74px; --gap:40px;

  --font-disp:'Outfit',system-ui,sans-serif;
  --font-body:'Poppins',system-ui,sans-serif;
  --font-pixel:'Press Start 2P','Courier New',monospace;
}

*{box-sizing:border-box;}
deck-stage:not(:defined){visibility:hidden;}
html,body{margin:0;background:#000;}
deck-stage{background:#000;}

section{
  background:var(--ink);
  color:var(--fg);
  font-family:var(--font-body);
  overflow:hidden;
}
/* faint pixel-grid texture so the dark ground reads as a "game world" without shouting */
section::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(124,226,107,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(124,226,107,.05) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:radial-gradient(125% 125% at 50% 30%,#000 32%,transparent 94%);
}
.frame{position:absolute;inset:0;display:flex;flex-direction:column;
  padding:var(--pad-y) var(--pad-x);z-index:1;}

/* ---- top / bottom HUD chrome ---------------------------------------------- */
.hud-top{display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;}
.hud-top .wm{font-family:var(--font-disp);font-weight:800;font-size:22px;
  letter-spacing:.2em;text-transform:uppercase;color:var(--fg);}
.hud-top .wm b{color:var(--yellow);font-weight:800;}
.hud-top .rt{font-family:var(--font-disp);font-weight:500;font-size:15px;
  letter-spacing:.32em;text-transform:uppercase;color:var(--dim);}

.hud-foot{display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;
  gap:28px;padding-top:24px;}
.hud-foot .lvl{font-family:var(--font-pixel);font-size:13px;color:var(--yellow);
  letter-spacing:.02em;white-space:nowrap;}
.hud-foot .run{font-family:var(--font-disp);font-size:14px;font-weight:500;
  letter-spacing:.3em;text-transform:uppercase;color:var(--dim2);white-space:nowrap;}
.hud-foot .track{flex:1;height:8px;background:rgba(245,245,240,.08);
  border:1px solid var(--line);border-radius:2px;display:flex;gap:2px;padding:1px;}
.hud-foot .track i{flex:1;border-radius:1px;background:transparent;}
.hud-foot .track i.on{background:var(--yellow);}

/* main body region between chrome */
.body{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;
  min-height:0;padding:28px 0;}

/* ---- type helpers --------------------------------------------------------- */
.eyebrow{font-family:var(--font-disp);font-weight:600;font-size:var(--type-eyebrow);
  letter-spacing:.24em;text-transform:uppercase;color:var(--dim);
  display:inline-flex;align-items:center;gap:16px;}
.eyebrow::before{content:"";width:13px;height:13px;background:var(--yellow);
  transform:rotate(45deg);box-shadow:3px 3px 0 rgba(0,0,0,.5);flex:0 0 auto;}
.eyebrow .acc{color:var(--yellow);}

.headline{font-family:var(--font-disp);font-weight:900;text-transform:uppercase;
  line-height:.94;letter-spacing:-.02em;color:var(--fg);margin:0;}
.title{font-family:var(--font-disp);font-weight:800;line-height:1.02;
  letter-spacing:-.015em;margin:0;color:var(--fg);}
.acc{color:var(--yellow);}
.lead{font-family:var(--font-body);font-weight:300;color:var(--fg);line-height:1.5;}
.copy{font-family:var(--font-body);color:var(--dim);line-height:1.62;font-size:var(--type-body);}
.stat-num{font-family:var(--font-disp);font-weight:900;line-height:.88;
  letter-spacing:-.03em;color:var(--yellow);}
.stat-label{font-family:var(--font-disp);font-weight:600;font-size:var(--type-small);
  letter-spacing:.16em;text-transform:uppercase;color:var(--dim);}
.hud-tag{font-family:var(--font-pixel);font-size:var(--type-hud);color:var(--yellow);
  letter-spacing:.01em;text-transform:uppercase;line-height:1.4;}

/* ---- pixel UI panel ------------------------------------------------------- */
.panel{position:relative;background:var(--panel);border:2px solid var(--line2);
  border-radius:3px;padding:34px 34px 32px;
  box-shadow:7px 7px 0 rgba(0,0,0,.5);}
.panel.accent{border-color:var(--yellow);}
.panel.accent::after,.panel.accent::before{content:"";position:absolute;width:7px;height:7px;
  background:var(--yellow);}
.panel.accent::before{top:-2px;left:-2px;}
.panel.accent::after{bottom:-2px;right:-2px;}
.panel .pnum{font-family:var(--font-pixel);font-size:12px;color:var(--dim2);}
.panel h3{font-family:var(--font-disp);font-weight:700;font-size:30px;line-height:1.18;
  letter-spacing:-.01em;color:var(--fg);margin:14px 0 12px;}
.panel p{font-family:var(--font-body);font-size:var(--type-small);line-height:1.5;
  color:var(--dim);margin:0;}

/* icon chip — lucide item icon in a pixel frame */
.chip{width:58px;height:58px;display:flex;align-items:center;justify-content:center;
  background:var(--ink2);border:2px solid var(--line2);border-radius:3px;color:var(--yellow);
  box-shadow:3px 3px 0 rgba(0,0,0,.5);flex:0 0 auto;}
.chip svg{width:30px;height:30px;stroke-width:2;}
.chip.danger{color:var(--danger);} .chip.green{color:var(--px-green);}
.chip.cyan{color:var(--px-cyan);} .chip.blue{color:var(--blue);}

/* ---- segmented HP / XP / stat bar ---------------------------------------- */
.bar{display:flex;gap:3px;height:16px;width:100%;}
.bar i{flex:1;background:rgba(245,245,240,.10);border-radius:1px;}
.bar i.on{background:var(--yellow);}
.bar.green i.on{background:var(--px-green);}
.bar.drain i.on{background:var(--danger);}
.bar-row{display:flex;align-items:center;gap:18px;}
.bar-row .k{font-family:var(--font-pixel);font-size:13px;color:var(--dim);
  letter-spacing:.01em;white-space:nowrap;min-width:96px;}
.bar-row .v{font-family:var(--font-disp);font-weight:700;color:var(--fg);white-space:nowrap;}

.artist-hp{display:flex;align-items:center;gap:18px;max-width:1280px;}
.artist-hp .hp-label{font-family:var(--font-pixel);font-size:13px;color:var(--dim);
  letter-spacing:.01em;white-space:nowrap;min-width:112px;}
.hp-track{--hp-end:100%;--hp-final:var(--yellow);position:relative;flex:1;height:22px;
  background:rgba(245,245,240,.08);border:2px solid var(--line2);border-radius:3px;
  box-shadow:4px 4px 0 rgba(0,0,0,.45);overflow:hidden;}
.hp-track::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 2px),rgba(10,10,10,.55) calc(10% - 2px) 10%);}
.hp-fill{position:absolute;left:2px;top:2px;bottom:2px;width:calc(var(--hp-end) - 4px);
  background:var(--hp-final);box-shadow:0 0 18px color-mix(in srgb,var(--hp-final) 65%,transparent);}
.hp-readout{font-family:var(--font-disp);font-weight:800;font-size:22px;color:var(--hp-final);
  min-width:138px;text-align:right;white-space:nowrap;}
.hp-damage-50 .hp-track{--hp-end:50%;--hp-final:var(--danger);}
.hp-damage-30 .hp-track{--hp-end:30%;--hp-final:#9B1C16;}
.hp-damage-4step .hp-track{--hp-end:50%;--hp-final:var(--danger);}
.hp-damage-3step .hp-track{--hp-end:20%;--hp-final:#5B0505;}
.hp-heal-4step .hp-track,.hp-power-up-3step .hp-track{--hp-end:100%;--hp-final:var(--yellow);}
.hp-heal-100 .hp-track,.hp-power-up .hp-track{--hp-end:100%;--hp-final:var(--yellow);}
.hp-heal-100 .hp-readout,.hp-power-up .hp-readout,.hp-heal-4step .hp-readout,.hp-power-up-3step .hp-readout{color:var(--yellow);}

/* ---- character / roster card --------------------------------------------- */
.roster{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.char{position:relative;background:var(--panel);border:2px solid var(--line2);
  border-radius:3px;overflow:hidden;box-shadow:6px 6px 0 rgba(0,0,0,.5);
  display:flex;flex-direction:column;}
.char .ph{position:relative;aspect-ratio:2.15/1;overflow:hidden;background:var(--ink2);
  border-bottom:2px solid var(--line2);}
.char .ph img{width:100%;height:100%;object-fit:cover;display:block;
  object-position:center 28%;filter:saturate(1.02) contrast(1.02);}
.char .ph .role{position:absolute;left:11px;bottom:11px;font-family:var(--font-pixel);
  font-size:9px;color:#0A0A0A;background:var(--yellow);padding:5px 7px;border-radius:2px;
  letter-spacing:.01em;box-shadow:2px 2px 0 rgba(0,0,0,.5);}
.char .ph .lvl{position:absolute;right:11px;top:11px;font-family:var(--font-pixel);
  font-size:9px;color:var(--yellow);background:rgba(10,10,10,.78);padding:5px 7px;
  border:1px solid var(--line2);border-radius:2px;}
.char .meta{padding:14px 18px 15px;display:flex;flex-direction:column;gap:6px;flex:1;}
.char .nm{font-family:var(--font-disp);font-weight:800;font-size:23px;letter-spacing:-.01em;
  color:var(--fg);line-height:1.15;}
.char .cr{font-family:var(--font-body);font-size:18px;line-height:1.35;color:var(--dim);}
.char .st{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:6px;}
.char .st .pts{font-family:var(--font-pixel);font-size:10px;color:var(--coin);white-space:nowrap;
  letter-spacing:.01em;}
/* locked / TBA character */
.char.locked .ph{display:flex;align-items:center;justify-content:center;
  background:repeating-linear-gradient(45deg,#171610 0 14px,#1C1B14 14px 28px);}
.char.locked .ph .q{font-family:var(--font-pixel);font-size:34px;color:var(--dim2);}

/* ---- floating terrain platforms (divider garnish, low contrast) ----------- */
.terrain{position:absolute;left:0;right:0;bottom:0;height:230px;pointer-events:none;
  z-index:0;overflow:hidden;}
.plat{position:absolute;background:#16150D;border-top:7px solid var(--px-green);
  border-radius:3px;box-shadow:inset 0 -16px 0 rgba(0,0,0,.4),6px 6px 0 rgba(0,0,0,.55);
  opacity:.85;}
.coin{position:absolute;width:16px;height:16px;border-radius:50%;background:var(--coin);
  box-shadow:0 0 0 2px rgba(10,10,10,.6),0 0 16px rgba(255,201,60,.7);opacity:.95;}
.flag{position:absolute;width:4px;height:40px;background:var(--dim);opacity:.6;}
.flag::after{content:"";position:absolute;left:4px;top:0;width:26px;height:18px;
  background:var(--yellow);clip-path:polygon(0 0,100% 0,75% 50%,100% 100%,0 100%);opacity:.9;}

/* dotted workflow path */
.path-dot{stroke:var(--line2);stroke-width:3;stroke-dasharray:2 12;stroke-linecap:round;fill:none;}

/* full-bleed image divider helpers */
.bleed{position:absolute;inset:0;z-index:0;}
.bleed img{width:100%;height:100%;object-fit:cover;}
.scrim{position:absolute;inset:0;z-index:0;}

/* generic small list */
.qlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;}
.qlist li{display:flex;align-items:flex-start;gap:14px;font-family:var(--font-body);
  font-size:var(--type-small);color:var(--fg);line-height:1.4;}
.qlist li::before{content:"";width:11px;height:11px;background:var(--yellow);
  transform:rotate(45deg);margin-top:7px;flex:0 0 auto;box-shadow:2px 2px 0 rgba(0,0,0,.5);}
.qlist.dim li{color:var(--dim);} .qlist.dim li::before{background:var(--dim);}

hr.rule{height:1px;background:var(--line);border:0;margin:0;}

/* layout grids */
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.grid4 .panel h3{font-size:27px;} .grid4 .panel p{font-size:23px;}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.three-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.mini{display:flex;align-items:center;gap:18px;background:var(--panel);border:2px solid var(--line);
  border-radius:3px;padding:20px 22px;box-shadow:5px 5px 0 rgba(0,0,0,.45);}
.mini b{font-family:var(--font-disp);font-weight:600;font-size:23px;color:var(--fg);line-height:1.25;}

/* party tags (player classes) */
.party-tag{font-family:var(--font-disp);font-weight:600;font-size:22px;color:var(--fg);
  background:var(--panel);border:2px solid var(--line2);border-radius:3px;padding:12px 20px;
  box-shadow:4px 4px 0 rgba(0,0,0,.45);letter-spacing:.01em;}
.party-tag::before{content:"◆ ";color:var(--yellow);font-size:14px;}

/* chapter / quest-log cards (agenda) */
.chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;position:relative;}
.chap{position:relative;background:var(--panel);border:2px solid var(--line2);border-radius:3px;
  padding:44px 38px 40px;box-shadow:7px 7px 0 rgba(0,0,0,.5);display:flex;flex-direction:column;gap:20px;}
.chap .cn{font-family:var(--font-pixel);font-size:38px;color:var(--yellow);line-height:1;}
.chap h3{font-family:var(--font-disp);font-weight:800;font-size:36px;color:var(--fg);margin:0;line-height:1.05;letter-spacing:-.01em;}
.chap p{font-family:var(--font-body);font-size:23px;color:var(--dim);margin:0;line-height:1.45;}
.chap .node{position:absolute;top:-9px;left:38px;width:16px;height:16px;background:var(--yellow);
  transform:rotate(45deg);box-shadow:3px 3px 0 rgba(0,0,0,.5);}

/* achievement badge tiles (brands) */
.badges{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.badge{background:var(--panel);border:2px solid var(--line2);border-radius:3px;padding:34px 30px 32px;
  box-shadow:6px 6px 0 rgba(0,0,0,.5);display:flex;flex-direction:column;gap:18px;align-items:flex-start;}
.badge b{font-family:var(--font-disp);font-weight:800;font-size:30px;color:var(--fg);line-height:1.05;}
.badge .sub{font-family:var(--font-body);font-size:21px;color:var(--dim);line-height:1.4;}

/* property gallery (level map of tiles) */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:14px;flex:1;min-height:0;}
.gtile{position:relative;overflow:hidden;border:2px solid var(--line2);border-radius:3px;
  box-shadow:4px 4px 0 rgba(0,0,0,.5);background:var(--ink2);}
.gtile img{width:100%;height:100%;object-fit:cover;display:block;}
.gtile.feat{grid-column:span 2;grid-row:span 2;}
.gtile .tag{position:absolute;left:11px;bottom:11px;font-family:var(--font-pixel);font-size:9px;
  color:#0A0A0A;background:var(--yellow);padding:5px 7px;border-radius:2px;box-shadow:2px 2px 0 rgba(0,0,0,.5);}

/* flow diagram (workflow path) */
.flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:18px;align-items:stretch;}
.fnode{background:var(--panel);border:2px solid var(--line2);border-radius:3px;padding:30px 30px 28px;
  box-shadow:7px 7px 0 rgba(0,0,0,.5);display:flex;flex-direction:column;gap:14px;}
.fnode.accent{border-color:var(--yellow);}
.fnode h4{font-family:var(--font-disp);font-weight:800;font-size:30px;color:var(--fg);margin:0;line-height:1.05;}
.fnode p{font-family:var(--font-body);font-size:20px;color:var(--dim);margin:0;line-height:1.4;}
.fconn{display:flex;align-items:center;justify-content:center;color:var(--yellow);align-self:center;}
.fconn svg{width:42px;height:42px;stroke-width:2.5;}

/* token inventory grid */
.tokgrid{display:grid;grid-template-columns:repeat(20,1fr);gap:5px;}
.tokgrid i{aspect-ratio:1;border-radius:2px;background:rgba(245,245,240,.09);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.4);}
.tok-mm{background:var(--yellow)!important;} .tok-tr{background:var(--px-cyan)!important;}
.tok-sp{background:var(--px-magenta)!important;}
.legend{display:flex;flex-direction:column;gap:14px;}
.legrow{display:flex;align-items:center;gap:14px;}
.legrow .sw{width:20px;height:20px;border-radius:3px;flex:0 0 auto;box-shadow:2px 2px 0 rgba(0,0,0,.5);}
.legrow .lk{font-family:var(--font-disp);font-weight:700;font-size:22px;color:var(--fg);}
.legrow .lv{font-family:var(--font-disp);font-weight:900;font-size:30px;color:var(--yellow);margin-left:auto;
  font-variant-numeric:tabular-nums;}
.legrow .ls{font-family:var(--font-pixel);font-size:10px;color:var(--dim);}

/* location stat chips */
.locstat{background:rgba(16,15,11,.72);border:2px solid var(--line2);border-radius:3px;
  padding:20px 30px 22px;box-shadow:5px 5px 0 rgba(0,0,0,.5);display:flex;flex-direction:column;gap:6px;
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);}
.locstat .n{font-family:var(--font-disp);font-weight:900;font-size:58px;color:var(--yellow);line-height:.88;}
.locstat .l{font-family:var(--font-disp);font-weight:600;font-size:18px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--dim);}

/* service split (custom music / clearance / technical) */
.svc-split{display:grid;grid-template-columns:1.05fr 1fr;gap:72px;align-items:start;}
.qlist.two{display:grid;grid-template-columns:1fr 1fr;gap:18px 40px;}
.qlist.two li{font-size:27px;}
.svc-note{background:var(--panel);border:2px solid var(--line2);border-radius:3px;
  padding:34px 36px 36px;box-shadow:7px 7px 0 rgba(0,0,0,.5);display:flex;flex-direction:column;gap:20px;}
.svc-note p{font-family:var(--font-body);font-size:28px;line-height:1.5;color:var(--dim);margin:0;}

/* closing contact */
.contact{display:flex;flex-direction:column;gap:4px;}
.contact .cname{font-family:var(--font-disp);font-weight:800;font-size:30px;color:var(--fg);}
.contact .crole{font-family:var(--font-body);font-size:20px;color:var(--dim);}

/* ---- entrance ---------------------------------------------------------------
   Content is visible at rest (no timeline-dependent hidden start state, so it
   never blanks in print / throttled / snapshot contexts). A subtle, safe rise
   is applied only via a keyframe that ends visible AND starts near-visible. ---- */
.anim{opacity:1;transform:none;}
@media (prefers-reduced-motion:no-preference){
  [data-deck-active] .anim{animation:rise-in .5s cubic-bezier(.16,1,.3,1) both;}
  [data-deck-active] .anim.d1{animation-delay:.05s;}
  [data-deck-active] .anim.d2{animation-delay:.10s;}
  [data-deck-active] .anim.d3{animation-delay:.16s;}
  [data-deck-active] .anim.d4{animation-delay:.22s;}
  [data-deck-active] .anim.d5{animation-delay:.28s;}
  [data-deck-active] .anim.d6{animation-delay:.34s;}
}
/* starts at full opacity so a frozen/pending first frame is still readable;
   the motion is a gentle upward settle, not a fade-from-nothing. */
@keyframes rise-in{from{transform:translateY(16px);}to{transform:none;}}

/* ---- tweak hooks ---------------------------------------------------------- */
body.no-decor .terrain{display:none;}
body.no-decor section::before{display:none;}
body.no-pixhud .lvl,body.no-pixhud .hud-tag,body.no-pixhud .chap .cn,
body.no-pixhud .char .role,body.no-pixhud .char .pts,body.no-pixhud .char.locked .ph .q,
body.no-pixhud .press,body.no-pixhud .legrow .ls,body.no-pixhud .panel .pnum{
  font-family:var(--font-disp)!important;letter-spacing:.02em!important;}

/* ---- gameplay screen (slide 2) -------------------------------------------- */
.gamescreen{position:relative;border:2px solid var(--line2);border-radius:4px;
  box-shadow:8px 8px 0 rgba(0,0,0,.5);background:#0c0c0c;overflow:hidden;
  display:flex;align-items:center;justify-content:center;}
.gamescreen img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
.screen-tab{position:absolute;left:14px;top:14px;z-index:2;font-family:var(--font-pixel);
  font-size:11px;color:var(--yellow);background:rgba(10,10,10,.82);border:1px solid var(--line2);
  padding:6px 9px;border-radius:2px;letter-spacing:.02em;}

/* ---- logo wall (placements) ----------------------------------------------- */
.logowall{display:flex;align-items:center;justify-content:center;}
.logowall img{max-width:100%;max-height:100%;object-fit:contain;display:block;}

/* ---- footer game HUD coins ------------------------------------------------ */
.hud-foot .coins{font-family:var(--font-pixel);font-size:12px;color:var(--coin);
  letter-spacing:.02em;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;}
.hud-foot .coins .gem{color:var(--px-cyan);}
body.no-pixhud .hud-foot .coins{font-family:var(--font-disp)!important;}

/* ---- value-flow diagram (slide 18) ---------------------------------------- */
.hl{display:inline-block;background:var(--yellow);color:var(--ink);font-family:var(--font-disp);
  font-weight:900;font-size:46px;padding:6px 18px;border-radius:3px;box-shadow:5px 5px 0 rgba(0,0,0,.5);
  line-height:1;}
.vflow{position:relative;width:100%;height:632px;}
.vflow svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible;}
.vbox{position:absolute;z-index:2;display:flex;flex-direction:column;justify-content:center;
  border-radius:3px;padding:12px 22px;box-shadow:6px 6px 0 rgba(0,0,0,.5);}
.vbox.white{background:#F5F5F0;color:#0A0A0A;border:2px solid #F5F5F0;}
.vbox.yellow{background:var(--yellow);color:#0A0A0A;border:2px solid var(--yellow);}
.vbox .bx{font-family:var(--font-disp);font-weight:900;font-size:30px;line-height:1.04;}
.vbox .bt{font-family:var(--font-disp);font-weight:900;font-size:40px;line-height:.96;}
.vbox .bs{font-family:var(--font-disp);font-weight:700;font-size:24px;line-height:1.05;}
.vcoin{position:absolute;z-index:3;border-radius:50%;background:#0A0A0A;border:3px solid var(--yellow);
  display:flex;align-items:center;justify-content:center;font-family:var(--font-disp);
  font-weight:900;color:var(--yellow);box-shadow:0 0 18px rgba(255,201,60,.45);}
.vlabel{position:absolute;z-index:3;font-family:var(--font-disp);font-weight:700;color:var(--fg);}
.vflows{position:absolute;z-index:2;}
.vflows .ttl{font-family:var(--font-disp);font-weight:800;font-size:26px;color:var(--fg);}
.vflows ul{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:9px;}
.vflows li{font-family:var(--font-body);font-size:25px;color:var(--fg);display:flex;gap:11px;align-items:center;}
.vflows li::before{content:"";width:9px;height:9px;background:var(--yellow);border-radius:50%;flex:0 0 auto;}

/* ---- column-major token grid (slide 19) ----------------------------------- */
.tokgrid.colmajor{grid-template-columns:repeat(20,1fr);grid-template-rows:repeat(5,1fr);
  grid-auto-flow:column;}

/* ---- slide 2 simplified co-op schematic ----------------------------------- */
.quest{display:flex;align-items:center;gap:20px;background:var(--panel);border:2px solid var(--yellow);
  border-radius:4px;padding:15px 24px;box-shadow:6px 6px 0 rgba(0,0,0,.5);position:relative;overflow:hidden;}
.quest .qi{width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:var(--yellow);flex:0 0 auto;}
.quest .qi svg{width:30px;height:30px;}
.quest .qx{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;}
.quest .qx b{font-family:var(--font-pixel);font-size:12px;color:var(--yellow);letter-spacing:.03em;}
.quest .qx span{font-family:var(--font-disp);font-weight:600;font-size:27px;color:var(--fg);display:inline-block;white-space:nowrap;}
.quest .qs{font-family:var(--font-pixel);font-size:12px;color:var(--px-cyan);white-space:nowrap;flex:0 0 auto;min-width:174px;text-align:right;}
.quest .complete-label{display:inline-block;color:var(--yellow);opacity:0;}
.quest .progress-label{display:inline-block;}
.quest .checks{display:inline-flex;gap:6px;align-items:center;margin-left:5px;}
.quest .checks i{width:10px;height:6px;border-left:2px solid var(--yellow);border-bottom:2px solid var(--yellow);
  transform:rotate(-45deg);display:block;box-shadow:0 0 8px rgba(255,252,82,.45);}
.quest .qbar{position:absolute;left:668px;right:24px;bottom:13px;height:5px;background:var(--px-cyan);
  box-shadow:0 0 12px rgba(79,214,224,.72);transform-origin:left center;}
.g2flow{display:grid;grid-template-columns:0.92fr auto 1.85fr auto 0.92fr;align-items:stretch;gap:16px;}
.g2node{background:var(--panel);border:2px solid var(--line2);border-radius:4px;padding:22px 20px;
  box-shadow:6px 6px 0 rgba(0,0,0,.5);display:flex;flex-direction:column;gap:13px;align-items:flex-start;justify-content:center;}
.g2node.accent{border-color:var(--yellow);}
.g2node .g2nm{font-family:var(--font-disp);font-weight:800;font-size:27px;color:var(--fg);line-height:1.16;}
.coinchip{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-pixel);font-size:11px;
  color:var(--coin);background:var(--ink2);border:1px solid var(--line2);border-radius:3px;padding:7px 10px;}
.coinchip svg{width:17px;height:17px;}
.g2conn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--yellow);}
.g2conn span{font-family:var(--font-pixel);font-size:9px;color:var(--dim);white-space:nowrap;text-align:center;}
.g2conn svg{width:38px;height:38px;}
.g2team{background:var(--panel2);border:2px solid var(--yellow);border-radius:4px;padding:18px 18px 20px;
  box-shadow:6px 6px 0 rgba(0,0,0,.5);}
.g2team .g2tt{display:block;font-family:var(--font-pixel);font-size:13px;color:var(--yellow);
  text-align:center;letter-spacing:.05em;margin-bottom:15px;}
.g2members{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.g2mem{background:var(--ink2);border:2px solid var(--line2);border-radius:3px;padding:18px 12px;
  display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;}
.g2mem b{font-family:var(--font-disp);font-weight:700;font-size:22px;color:var(--fg);line-height:1.1;}
.g2mem .bar{width:78%;height:11px;}

/* ---- token / revenue distribution (slide 20) ------------------------------ */
.tdist{position:relative;width:100%;height:660px;}
.tdist svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible;}
.tgrp{position:absolute;z-index:2;display:flex;align-items:center;gap:26px;}
.tgcol{display:flex;flex-direction:column;gap:7px;}
.tgh{font-family:var(--font-disp);font-weight:800;font-size:23px;color:var(--yellow);}
.tcoins{display:grid;grid-template-columns:repeat(10,17px);gap:4px;width:max-content;}
.tcoins i{width:17px;height:17px;border-radius:50%;background:#0A0A0A;border:2px solid var(--yellow);
  display:flex;align-items:center;justify-content:center;font-family:var(--font-disp);font-weight:700;
  font-size:8px;color:var(--yellow);}
.trole{font-family:var(--font-disp);font-weight:800;font-size:24px;color:var(--fg);margin-top:3px;}
.tamt{font-family:var(--font-disp);font-weight:900;font-size:44px;color:var(--fg);}
.tcyltxt{position:absolute;z-index:3;font-family:var(--font-disp);font-weight:900;font-size:48px;color:var(--fg);}
.trev{position:absolute;z-index:2;display:flex;flex-direction:column;gap:22px;align-items:flex-start;}
.revchip{display:inline-flex;align-items:center;gap:0;font-family:var(--font-disp);font-weight:800;
  font-size:24px;color:var(--fg);}
.revchip .ri{width:46px;height:46px;display:flex;align-items:center;justify-content:center;color:var(--yellow);
  background:var(--ink2);border:2px solid var(--line2);border-radius:3px;flex:0 0 auto;}
.revchip .ri svg{width:26px;height:26px;}
.revchip .revcopy{display:flex;align-items:center;gap:14px;min-width:0;}
.revlogo{display:block;max-width:148px;max-height:40px;object-fit:contain;}
.revlogo.ascap{max-width:154px;max-height:44px;}
.revlogo.spotify{max-width:150px;}
.revlogo.riot{max-width:118px;max-height:44px;}

@media (prefers-reduced-motion:no-preference){
  [data-deck-active] .seq-quest{animation:quest-screen-in .28s steps(2,end) both;}
  [data-deck-active] .seq-quest .qx span{animation:quest-type 1.15s steps(48,end) .18s both;}
  [data-deck-active] .seq-quest .qbar{animation:quest-progress 1.5s linear .28s both;}
  [data-deck-active] .seq-quest .progress-label{animation:status-blink .55s steps(2,end) .4s 9,progress-hide .01s linear 5.35s both;}
  [data-deck-active] .seq-quest .complete-label{animation:complete-show .01s linear 5.35s both,complete-pulse .55s steps(2,end) 5.35s 3;}
  [data-deck-active] .seq-customer{animation:game-pop .42s cubic-bezier(.16,1,.3,1) 1.85s both;}
  [data-deck-active] .seq-send{animation:arrow-draw .38s cubic-bezier(.16,1,.3,1) 2.2s both;}
  [data-deck-active] .seq-team{animation:game-pop .46s cubic-bezier(.16,1,.3,1) 3.05s both;}
  [data-deck-active] .seq-deliver{animation:arrow-draw .38s cubic-bezier(.16,1,.3,1) 4.15s both;}
  [data-deck-active] .seq-delivered{animation:game-pop .46s cubic-bezier(.16,1,.3,1) 4.55s both;}

  [data-deck-active] .hp-card{animation:game-pop .45s cubic-bezier(.16,1,.3,1) both;}
  [data-deck-active] .hp-card.step1{animation-delay:.35s;}
  [data-deck-active] .hp-card.step2{animation-delay:1.75s;}
  [data-deck-active] .hp-card.step3{animation-delay:3.15s;}
  [data-deck-active] .hp-card.step4{animation-delay:4.55s;}
  [data-deck-active] .hp-seq-3 .hp-card.step1{animation-delay:.35s;}
  [data-deck-active] .hp-seq-3 .hp-card.step2{animation-delay:2.2s;}
  [data-deck-active] .hp-seq-3 .hp-card.step3{animation-delay:4.15s;}
  [data-deck-active] .hp-seq-heal .hp-card.step1{animation-delay:.35s;}
  [data-deck-active] .hp-seq-heal .hp-card.step2{animation-delay:1.85s;}
  [data-deck-active] .hp-seq-heal .hp-card.step3{animation-delay:3.35s;}
  [data-deck-active] .hp-seq-heal .hp-card.step4{animation-delay:4.85s;}
  [data-deck-active] .hp-seq-power .hp-card.step1{animation-delay:.35s;}
  [data-deck-active] .hp-seq-power .hp-card.step2{animation-delay:1.9s;}
  [data-deck-active] .hp-seq-power .hp-card.step3{animation-delay:3.45s;}
  [data-deck-active] .hp-damage-4step .hp-fill{animation:hp-damage-4step 5.4s steps(1,end) .2s both;}
  [data-deck-active] .hp-damage-3step .hp-fill{animation:hp-damage-3step 6s steps(1,end) .15s both;}
  [data-deck-active] .hp-damage-3step .hp-track{animation:hp-flash-red .7s steps(2,end) 5.5s 3 both;}
  [data-deck-active] .hp-heal-4step .hp-fill{animation:hp-heal-4step 6s steps(1,end) .2s both;}
  [data-deck-active] .hp-heal-4step .hp-track{animation:hp-flash .7s steps(2,end) 5.45s 3 both;}
  [data-deck-active] .hp-power-up-3step .hp-fill{animation:hp-power-up-3step 4.9s steps(1,end) .25s both;}
  [data-deck-active] .hp-power-up-3step .hp-track{animation:hp-flash .7s steps(2,end) 4.65s 3 both;}
}
@keyframes quest-screen-in{from{opacity:0;clip-path:inset(0 100% 0 0);}to{opacity:1;clip-path:inset(0);}}
@keyframes quest-type{from{max-width:0;}to{max-width:780px;}}
@keyframes quest-progress{from{transform:scaleX(0);}to{transform:scaleX(1);}}
@keyframes status-blink{50%{opacity:.15;}}
@keyframes progress-hide{to{opacity:0;}}
@keyframes complete-show{to{opacity:1;}}
@keyframes complete-pulse{50%{opacity:.35;}}
@keyframes game-pop{from{opacity:0;transform:translateY(14px) scale(.98);filter:brightness(.7);}to{opacity:1;transform:none;filter:none;}}
@keyframes arrow-draw{from{opacity:0;transform:translateX(-18px) scaleX(.6);}to{opacity:1;transform:none;}}
@keyframes hp-damage-4step{
  0%{width:calc(100% - 4px);background:var(--yellow);}
  25%{width:calc(90% - 4px);background:#FFD55B;}
  50%{width:calc(80% - 4px);background:var(--coin);}
  75%{width:calc(60% - 4px);background:#E46A22;}
  100%{width:calc(50% - 4px);background:var(--danger);}
}
@keyframes hp-damage-3step{
  0%{width:calc(50% - 4px);background:var(--danger);}
  33%{width:calc(40% - 4px);background:#D33226;}
  66%{width:calc(30% - 4px);background:#9B1C16;}
  100%{width:calc(20% - 4px);background:#5B0505;}
}
@keyframes hp-heal-4step{
  0%{width:calc(20% - 4px);background:#5B0505;}
  25%{width:calc(30% - 4px);background:#9B1C16;}
  50%{width:calc(50% - 4px);background:var(--danger);}
  75%{width:calc(75% - 4px);background:var(--coin);}
  100%{width:calc(100% - 4px);background:var(--yellow);}
}
@keyframes hp-power-up-3step{
  0%{width:calc(50% - 4px);background:var(--coin);}
  33%{width:calc(68% - 4px);background:var(--coin);}
  66%{width:calc(86% - 4px);background:var(--yellow-deep);}
  100%{width:calc(100% - 4px);background:var(--yellow);}
}
@keyframes hp-flash{
  0%,100%{box-shadow:4px 4px 0 rgba(0,0,0,.45),0 0 0 rgba(255,252,82,0);}
  50%{box-shadow:4px 4px 0 rgba(0,0,0,.45),0 0 32px rgba(255,252,82,.95);}
}
@keyframes hp-flash-red{
  0%,100%{box-shadow:4px 4px 0 rgba(0,0,0,.45),0 0 0 rgba(91,5,5,0);}
  50%{box-shadow:4px 4px 0 rgba(0,0,0,.45),0 0 30px rgba(255,65,65,.72);}
}

/* ---- location inset photo (slide 14) -------------------------------------- */
.locinset{position:absolute;right:var(--pad-x);bottom:120px;width:500px;aspect-ratio:16/10;
  border:3px solid var(--yellow);border-radius:4px;overflow:hidden;box-shadow:8px 8px 0 rgba(0,0,0,.6);z-index:3;}
.locinset img{width:100%;height:100%;object-fit:cover;display:block;}
.locinset .tag{position:absolute;left:12px;bottom:12px;font-family:var(--font-pixel);font-size:10px;
  color:#0A0A0A;background:var(--yellow);padding:5px 8px;border-radius:2px;box-shadow:2px 2px 0 rgba(0,0,0,.5);}
