/* WonderLumen Interactive studio site, built on Lumen (WL-BRAND-001, @wonderlumen/ui/lumen 0.5.0 tokens).
   Signature colours are for branding only; text, actions and status use the semantic tokens. */
@font-face{font-family:Inter;src:url(/fonts/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{
  --wl-midnight:#0B1B2B;--wl-aqua:#39E6D0;--wl-blue:#3B82F6;--wl-violet:#8B5CF6;
  --wl-bg:#F5F7FA;--wl-surface:#FFFFFF;--wl-soft:#E8EDF4;--wl-text:#10263A;--wl-muted:#516578;
  --wl-border:#D5DEE7;--wl-rule:#77889A;--wl-action:#174DA6;--wl-action-hover:#123D85;--wl-on-action:#FFFFFF;--wl-focus:#174DA6;
  --wl-info:#174DA6;--wl-shadow:0 14px 46px #0B1B2B12;
  /* dark (midnight) regions */
  --d-bg:#0B1B2B;--d-surface:#13273A;--d-soft:#1B3348;--d-text:#F5F7FA;--d-muted:#A8BDCF;--d-border:#30475B;--d-rule:#8196A8;--d-action:#39E6D0;--d-action-hover:#6BEEDC;--d-on-action:#0B1B2B;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
@media (prefers-color-scheme:dark){
  :root{--wl-bg:#0B1B2B;--wl-surface:#13273A;--wl-soft:#1B3348;--wl-text:#F5F7FA;--wl-muted:#A8BDCF;--wl-border:#30475B;--wl-rule:#8196A8;
    --wl-action:#39E6D0;--wl-action-hover:#6BEEDC;--wl-on-action:#0B1B2B;--wl-focus:#39E6D0;--wl-info:#A5C9FF;--wl-shadow:0 14px 46px #00000030}
  .contact{border:1px solid var(--d-border);background:var(--d-surface)}
}
*{box-sizing:border-box;min-width:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{margin:0;background:var(--wl-bg);color:var(--wl-text);font:400 16px/1.55 var(--sans);font-feature-settings:"cv11","ss01";overflow-x:clip}
img,svg{display:block;max-width:100%;height:auto}
a{color:var(--wl-action);text-underline-offset:3px}
a:hover{color:var(--wl-action-hover)}
:focus-visible{outline:3px solid var(--wl-focus);outline-offset:4px;border-radius:4px}
.wrap{max-width:1180px;margin:0 auto;padding:0 max(5vw,20px)}
h1,h2,h3{margin:0;color:inherit}
h1{font-size:clamp(2.4rem,1.6rem + 3.2vw,4.1rem);line-height:1.04;font-weight:760;letter-spacing:-.035em;text-wrap:balance}
h2{font-size:clamp(1.75rem,1.35rem + 1.3vw,2.3rem);line-height:1.1;font-weight:750;letter-spacing:-.03em;text-wrap:balance}
h3{font-size:1.15rem;line-height:1.3;font-weight:700;letter-spacing:-.01em}
p{margin:0}
.lead{font-size:clamp(1.05rem,1rem + .35vw,1.25rem);line-height:1.55;color:var(--wl-muted)}
.skip{position:absolute;left:-999px;top:8px;background:var(--wl-surface);padding:10px 14px;border-radius:10px;z-index:20}
.skip:focus{left:12px}

/* buttons (Lumen wl-btn) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:10px;border:1px solid var(--wl-rule);background:var(--wl-surface);color:var(--wl-text);font-weight:650;text-decoration:none;transition:background 120ms,transform 120ms}
.btn:hover{background:var(--wl-soft);color:var(--wl-text)}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--wl-action);border-color:var(--wl-action);color:var(--wl-on-action)}
.btn.primary:hover{background:var(--wl-action-hover);border-color:var(--wl-action-hover);color:var(--wl-on-action)}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* midnight regions */
.night{background:var(--d-bg);color:var(--d-text);--wl-focus:#39E6D0}
.night a{color:var(--d-action)}
.night .lead,.night .muted{color:var(--d-muted)}
.night .btn{background:transparent;border-color:var(--d-rule);color:var(--d-text)}
.night .btn:hover{background:var(--d-soft)}
.night .btn.primary{background:var(--d-action);border-color:var(--d-action);color:var(--d-on-action)}
.night .btn.primary:hover{background:var(--d-action-hover);border-color:var(--d-action-hover)}

/* header */
.top{position:sticky;top:0;z-index:10;background:#0B1B2BF2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid #30475B80}
.top .wrap{display:flex;align-items:center;gap:20px;min-height:68px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand .mk{width:56px}
.brand .wm{width:150px}
.top nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:4px 22px}
.top nav a{color:var(--d-muted);text-decoration:none;font-weight:600;font-size:15px;padding:10px 0}
.top nav a:hover,.top nav a[aria-current]{color:var(--d-text)}
.top nav a[aria-current]{box-shadow:inset 0 -2px var(--d-action)}

/* hero */
.hero{position:relative;overflow:hidden;padding:clamp(48px,7vw,96px) 0 clamp(56px,8vw,112px)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,4vw,64px);align-items:center}
.hero h1{margin:22px 0 20px}
.hero .lead{max-width:34em;margin-bottom:30px}
.hero .pre{display:flex;align-items:center;gap:14px}
.hero .pre img{width:112px}
.kicker{font-size:14px;font-weight:650;color:var(--d-muted)}
.art{width:100%;aspect-ratio:1/1;max-width:540px;justify-self:end}
.art .ray{fill:none;stroke:#0B1B2B;stroke-width:4}
.halo{position:absolute;inset:auto -20% -60% auto;width:70vw;height:70vw;max-width:900px;max-height:900px;border-radius:50%;background:radial-gradient(closest-side,#22B9F61f,#506DF50d 55%,transparent 72%);pointer-events:none}

/* sections */
section{padding:clamp(56px,8vw,104px) 0}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:32px}
.sec-head p{max-width:34em}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:650;color:var(--wl-muted);margin-bottom:12px}
.eyebrow:before{content:"";width:18px;height:3px;border-radius:2px;background:linear-gradient(90deg,#08E9E7,#22B9F6,#A05CF8)}

/* game card */
.game{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);border:1px solid var(--wl-border);border-radius:20px;overflow:hidden;background:var(--wl-surface)}
.game .pic{position:relative;background:#FFF1E2;display:grid;place-items:center;padding:32px;min-height:340px}
.game .pic .logo{position:absolute;left:24px;top:22px;width:150px}
.game .pic .pip{width:min(300px,80%);filter:drop-shadow(0 18px 28px #8a5a3a33)}
.game .txt{padding:clamp(24px,3.5vw,44px);display:flex;flex-direction:column;gap:14px;justify-content:center}
.game .txt p{color:var(--wl-muted)}
.pill{display:inline-flex;gap:7px;align-items:center;align-self:flex-start;font-weight:650;font-size:13px;padding:4px 10px;border-radius:20px;background:var(--wl-soft);color:var(--wl-info)}
.pill:before{content:"◆";font-size:10px}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:6px 0 4px;padding:0;list-style:none}
.facts li{border:1px solid var(--wl-border);border-radius:12px;padding:12px 14px;font-size:14px;color:var(--wl-muted)}
.facts b{display:block;color:var(--wl-text);font-size:15px}
.next{margin-top:18px;border:1px dashed var(--wl-rule);border-radius:14px;padding:18px 22px;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;color:var(--wl-muted)}
.next b{color:var(--wl-text)}

/* principles */
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.panel{background:var(--wl-surface);border:1px solid var(--wl-border);border-radius:14px;padding:24px}
.panel p{color:var(--wl-muted);margin-top:8px;font-size:15px}
.glyph{width:40px;height:40px;margin-bottom:16px}
.glyph path,.glyph circle,.glyph rect{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* about + contact */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.split .copy p+p{margin-top:14px}
.contact{border-radius:20px;padding:clamp(24px,3.5vw,40px);display:flex;flex-direction:column;gap:14px}
.contact .mail{font-size:clamp(1.15rem,1rem + .6vw,1.5rem);font-weight:700;letter-spacing:-.01em;word-break:break-all}
.contact .muted{font-size:15px}

/* footer */
footer.foot{padding:48px 0 56px}
footer.foot .wrap{display:grid;grid-template-columns:auto 1fr;gap:24px 48px;align-items:start}
footer.foot .wm{width:170px;margin-bottom:12px}
footer.foot small{color:var(--d-muted);font-size:14px;display:block;max-width:26em}
footer.foot nav{display:flex;flex-wrap:wrap;gap:10px 28px;justify-content:flex-end}
footer.foot nav a{color:var(--d-text);text-decoration:none;font-weight:600;font-size:15px}
footer.foot nav a:hover{color:var(--d-action)}

/* support + prose pages */
.page-hero{padding:clamp(40px,6vw,72px) 0 clamp(32px,5vw,56px)}
.page-hero h1{font-size:clamp(2.1rem,1.5rem + 2.4vw,3.2rem);margin-bottom:14px}
.narrow{max-width:780px}
.help-card{display:flex;gap:18px;align-items:center;border:1px solid var(--wl-border);background:var(--wl-surface);border-radius:14px;padding:16px 18px;margin:28px 0 8px}
.help-card img{width:56px;border-radius:12px}
.help-card p{color:var(--wl-muted);font-size:15px}
details{background:var(--wl-surface);border:1px solid var(--wl-border);border-radius:12px;margin:10px 0}
summary{cursor:pointer;font-weight:650;padding:16px 52px 16px 20px;list-style:none;position:relative;min-height:44px}
summary::-webkit-details-marker{display:none}
summary:after{content:"";position:absolute;right:20px;top:50%;width:10px;height:10px;margin-top:-7px;border:solid var(--wl-muted);border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform 180ms}
details[open] summary:after{transform:rotate(-135deg);margin-top:-2px}
details>div{padding:0 20px 18px;color:var(--wl-muted)}
details>div p+p{margin-top:10px}
.banner{border-left:3px solid var(--wl-info);padding:12px 16px;background:var(--wl-soft);border-radius:8px;font-size:15px}

/* motion: the one signature arrival, first contact only */
.wl-motion-mark{animation:wl-arrive 650ms cubic-bezier(.2,.7,.25,1) both}
.wl-motion-halo{animation:wl-halo 650ms ease-out both}
@keyframes wl-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes wl-halo{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media (max-width:900px){
  .hero .wrap,.game,.split{grid-template-columns:minmax(0,1fr)}
  .art{max-width:360px;justify-self:center;order:-1}
  .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .game .pic{min-height:280px}
  footer.foot .wrap{grid-template-columns:minmax(0,1fr)}
  footer.foot nav{justify-content:flex-start}
}
@media (max-width:600px){
  .top .wrap{min-height:60px;gap:12px}
  .brand .wm{display:none}
  .top nav{gap:4px 16px}
  .top nav a{font-size:14px}
  .grid4{grid-template-columns:minmax(0,1fr)}
  .facts{grid-template-columns:minmax(0,1fr)}
  .art{max-width:280px}
  .hero .pre img{width:88px}
}

/* ===== home v2: live hero, intro film, moving Pip ===== */
.hero2{position:relative;min-height:min(100svh,980px);display:flex;align-items:center;overflow:hidden;isolation:isolate;padding:clamp(40px,6vw,80px) 0 clamp(80px,9vw,120px)}
#field{position:absolute;inset:0;width:100%;height:100%;z-index:-1;display:block}
.hero2:after{content:"";position:absolute;inset:auto 0 0 0;height:120px;background:linear-gradient(#0B1B2B00,#0B1B2B);z-index:-1;pointer-events:none}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,5vw,80px);align-items:center;width:100%}
.hero-mark{width:clamp(120px,14vw,190px);margin-bottom:28px}
.hero2 h1{font-size:clamp(2.6rem,1.4rem + 4.4vw,5.2rem);line-height:1.02;letter-spacing:-.04em;max-width:13ch;margin:0 0 22px}
.hero2 .lead{max-width:32em;margin-bottom:32px;color:var(--d-muted)}
.hero-blocks{position:relative;width:100%;max-width:460px;aspect-ratio:430/780;justify-self:end;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:372fr 384fr;gap:clamp(10px,1.2vw,18px)}
.hero-blocks div{border-radius:clamp(16px,2vw,28px);position:relative;overflow:hidden}
.hero-blocks .aq{grid-column:1/3;background:#39E6D0}
.hero-blocks .bl{background:#3B82F6}
.hero-blocks .vi{background:#8B5CF6}
.hero-blocks svg{position:absolute;inset:0;width:100%;height:100%}
.hero-blocks .ray{fill:none;stroke:#0B1B2B;stroke-opacity:.26;stroke-width:6}
.hero-blocks div{animation:wl-halo 650ms ease-out both}
.hero-blocks .bl{animation-delay:120ms}.hero-blocks .vi{animation-delay:240ms}
.scroll-cue{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--d-muted)!important;text-decoration:none;font-size:13px;font-weight:600;min-height:44px;justify-content:flex-end}
.scroll-cue:after{content:"";width:2px;height:26px;border-radius:2px;background:linear-gradient(#39E6D0,#39E6D000)}
.motion-btn{position:absolute;right:max(5vw,20px);bottom:22px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border-radius:10px;border:1px solid #8196A866;background:#0B1B2BB3;color:var(--d-text);font:600 13px/1 var(--sans);cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.motion-btn:hover{background:#1B3348}
.motion-btn svg{width:14px;height:14px}
.motion-btn .i-play{display:none}.motion-btn[aria-pressed=true] .i-play{display:block}.motion-btn[aria-pressed=true] .i-pause{display:none}

.film-band{padding:clamp(40px,6vw,88px) 0 clamp(64px,8vw,112px)}
.film-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:28px}
.film-head p{max-width:30em;color:var(--d-muted)}
.film{position:relative;border-radius:20px;overflow:hidden;border:1px solid var(--d-border);background:#0B1B2B;aspect-ratio:16/9}
.film video{display:block;width:100%;height:100%;object-fit:cover}
.play{position:absolute;inset:0;margin:auto;width:max-content;height:max-content;display:inline-flex;align-items:center;gap:12px;padding:16px 26px 16px 20px;border-radius:999px;border:0;background:#39E6D0;color:#0B1B2B;font:700 17px/1 var(--sans);cursor:pointer;box-shadow:0 14px 46px #00000040;transition:transform 120ms,background 120ms}
.play:hover{background:#6BEEDC;transform:scale(1.03)}
.play svg{width:22px;height:22px}

.phone{position:relative;width:min(250px,62%);aspect-ratio:360/780;border-radius:36px;background:#2B2320;padding:10px;box-shadow:0 24px 50px #8a5a3a40}
.phone video{display:block;width:100%;height:100%;object-fit:cover;border-radius:27px;background:#fff8f1}
.game .pic{gap:20px}
.game .pic .logo{position:static;width:150px;align-self:start}

/* reveals: visible by default, animated only when JS and motion allow */
.reveal-on [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity 280ms ease-out,transform 280ms ease-out;transition-delay:calc(var(--d,0) * 80ms)}
.reveal-on [data-reveal].in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal-on [data-reveal]{opacity:1;transform:none}}

@media (max-width:900px){
  .hero-grid{grid-template-columns:minmax(0,1fr)}
  .hero-blocks{max-width:300px;justify-self:start;aspect-ratio:430/560;grid-template-rows:260fr 280fr;order:2}
  .hero2{min-height:auto;padding-top:48px}
  .motion-btn{position:static;margin-top:28px}
  .scroll-cue{display:none}
  .game .pic{flex-direction:column;display:flex;align-items:center}
}
@media (max-width:600px){.hero-blocks{display:none}.hero2 h1{max-width:none}.play{font-size:15px;padding:12px 20px 12px 16px}}
/* hero sizing refinements */
.hero2 h1{font-size:clamp(2.5rem,1.3rem + 3.6vw,4.6rem);max-width:15ch}
.hero-blocks{width:auto;max-width:100%;height:min(60svh,580px);aspect-ratio:430/760}
@media (max-width:900px){.hero-blocks{height:auto;width:min(300px,70%);aspect-ratio:430/560}}
@media (max-width:900px){.hero2{flex-direction:column;align-items:stretch;padding-bottom:96px}.motion-btn{position:absolute;right:max(5vw,20px);bottom:22px;margin:0}}
